/* Uphet E-Commerce — klasik online mağaza vitrini */

:root {
    --ec-bg: #f3f4f6;
    --ec-bg-soft: #ffffff;
    --ec-card-bg: #ffffff;
    --ec-ink: #1f2937;
    --ec-muted: #6b7280;
    --ec-line: #e5e7eb;
    --ec-line-strong: #d1d5db;
    --ec-dark: #1f2937;
    --ec-sale: #dc2626;
    --ec-accent: #1e3a5f;
    --ec-accent-text: #ffffff;
    --ec-header-bg: #ffffff;
    --ec-footer-bg: #111827;
    --ec-footer-color: #f3f4f6;
    --ec-cart-badge: #dc2626;
    --ec-hero-bg: #1e3a5f;
    --ec-hero-text: #ffffff;
    --ec-trust-bg: #ffffff;
    --ec-chip-active-bg: #1e3a5f;
    --ec-chip-active-text: #ffffff;
    --ec-announce-bg: #121212;
    --ec-announce-color: #ffffff;
    --ec-font: "Inter", system-ui, -apple-system, sans-serif;
    --ec-wrap: 1280px;
    --ec-header-h: 72px;
    --ec-radius: 6px;
    --ec-sidebar-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ec-body {
    margin: 0;
    font-family: var(--ec-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ec-ink);
    background: var(--ec-bg);
    -webkit-font-smoothing: antialiased;
}

/* Gölge yok; tüm vitrin bileşenlerinde sabit köşe yarıçapı */
.ec-body :where([class^="ec-"], [class*=" ec-"]) {
    box-shadow: none;
}

/* Tarayıcı serif / tema kalıntılarını sıfırla — tek Inter ailesi */
.ec-body,
.ec-body button,
.ec-body input,
.ec-body select,
.ec-body textarea {
    font-family: var(--ec-font);
}

.ec-body h1,
.ec-body h2,
.ec-body h3,
.ec-body h4,
.ec-body h5,
.ec-body h6 {
    font-family: var(--ec-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-body strong,
.ec-body b {
    font-weight: 600;
}

.ec-body .ec-summary-row strong {
    font-weight: inherit;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.ec-wrap {
    width: min(var(--ec-wrap), calc(100% - 40px));
    margin-inline: auto;
}

/* ——— Header ——— */
.ec-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--ec-header-bg) 92%, transparent);
    border-bottom: 1px solid var(--ec-line);
    backdrop-filter: blur(10px);
}

.ec-header__core {
    display: grid;
    gap: 0;
}

.ec-announce {
    background: var(--ec-announce-bg);
    color: var(--ec-announce-color);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-bottom: 1px solid color-mix(in srgb, var(--ec-announce-color) 12%, transparent);
}

.ec-announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 36px;
    padding: 6px 0;
}

.ec-announce__text {
    opacity: 0.95;
}

.ec-announce__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.85;
}

.ec-announce__link:hover {
    opacity: 1;
}

.ec-header__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search tools";
    align-items: center;
    gap: 12px 20px;
    min-height: var(--ec-header-h);
    padding: 12px 0;
}

.ec-header__sub {
    display: none;
    background: var(--ec-bg);
    border-top: 1px solid color-mix(in srgb, var(--ec-line) 80%, transparent);
}

.ec-header__sub-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 4px 0;
}

.ec-header__brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ec-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    max-width: 100%;
    padding: 4px 0;
}

.ec-logo__mark {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--ec-accent) 10%, var(--ec-card-bg));
    border: 1px solid color-mix(in srgb, var(--ec-accent) 22%, var(--ec-line));
    position: relative;
}

.ec-logo__mark::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 4px;
    background: var(--ec-accent);
}

.ec-logo__text {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-logo:hover .ec-logo__text {
    color: var(--ec-accent);
}

.ec-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.ec-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--ec-radius);
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ec-muted);
    white-space: nowrap;
    transition: color .15s, background .15s;
}

.ec-nav__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--ec-accent);
    transform: scaleX(0);
    transition: transform .15s ease;
}

.ec-nav__link:hover {
    color: var(--ec-ink);
    background: color-mix(in srgb, var(--ec-ink) 4%, transparent);
}

.ec-nav__link.is-active {
    color: var(--ec-ink);
    font-weight: 600;
    background: transparent;
}

.ec-nav__link.is-active::after {
    transform: scaleX(1);
}

.ec-header-search {
    grid-area: search;
    display: none;
    min-width: 0;
    width: 100%;
    max-width: 520px;
    justify-self: center;
}

.ec-header-search__field {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px 0 0;
    border: 1px solid var(--ec-line);
    border-radius: 999px;
    background: var(--ec-card-bg);
    overflow: hidden;
    transition: border-color .15s, background .15s;
    cursor: text;
}

.ec-header-search__field:focus-within {
    border-color: color-mix(in srgb, var(--ec-accent) 45%, var(--ec-line));
    background: var(--ec-header-bg);
}

.ec-header-search__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    color: var(--ec-muted);
}

.ec-header-search input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 14px;
    color: var(--ec-ink);
}

.ec-header-search input:focus {
    outline: none;
}

.ec-header-search input::placeholder {
    color: var(--ec-muted);
}

.ec-header-search__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 36px;
    margin-right: 2px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: var(--ec-accent);
    color: var(--ec-accent-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
}

.ec-header-search__btn-icon {
    display: none;
}

.ec-header-search__btn:hover {
    opacity: 0.94;
}

.ec-menu-toggle {
    display: none;
    flex-shrink: 0;
}

.ec-header__tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-self: end;
}

.ec-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--ec-ink);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.ec-icon-btn:hover,
.ec-icon-btn.is-active {
    background: var(--ec-bg);
    border-color: var(--ec-line);
}

.ec-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px 0 12px;
    border: 1px solid var(--ec-line);
    border-radius: 999px;
    background: var(--ec-card-bg);
    color: var(--ec-ink);
    transition: border-color .15s, background .15s, color .15s;
}

.ec-cart-link:hover,
.ec-cart-link.is-active {
    border-color: color-mix(in srgb, var(--ec-accent) 40%, var(--ec-line));
    background: color-mix(in srgb, var(--ec-accent) 7%, var(--ec-card-bg));
    color: var(--ec-accent);
}

.ec-cart-link__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
}

.ec-cart-link__label {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ec-cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid var(--ec-header-bg);
    border-radius: 999px;
    background: var(--ec-cart-badge);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    display: grid;
    place-items: center;
    line-height: 1;
}

.ec-search-bar {
    border-top: 1px solid var(--ec-line);
    background: var(--ec-bg-soft);
    padding: 12px 0;
}

.ec-search-bar[hidden] { display: none; }

.ec-search-bar__form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}

.ec-search-bar__form input {
    flex: 1;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    font: inherit;
    background: var(--ec-card-bg);
}

.ec-search-bar__form input:focus {
    outline: none;
    border-color: var(--ec-accent);
}

.ec-trust-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    min-width: 0;
}

.ec-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: var(--ec-muted);
    letter-spacing: 0;
    white-space: nowrap;
}

.ec-trust-chip svg {
    flex-shrink: 0;
    color: var(--ec-accent);
    opacity: 0.9;
}

.ec-trust-mobile {
    display: none;
    border-top: 1px solid color-mix(in srgb, var(--ec-line) 80%, transparent);
    background: var(--ec-bg);
    padding: 10px 0;
}

.ec-trust-mobile .ec-trust-strip {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
}

.ec-trust-mobile .ec-trust-strip::-webkit-scrollbar {
    display: none;
}

.ec-trust-mobile .ec-trust-chip {
    flex-shrink: 0;
}

@media (min-width: 900px) {
    :root {
        --ec-header-h: 64px;
    }

    .ec-header-search {
        display: block;
    }

    .ec-header__tools [data-ec-search-toggle] {
        display: none;
    }

    .ec-menu-toggle {
        display: none;
    }

    .ec-header__sub {
        display: block;
    }

    .ec-cart-link__label {
        display: inline;
    }
}

@media (min-width: 900px) and (max-width: 1080px) {
    .ec-header-search {
        max-width: 360px;
    }

    .ec-header-search__btn-text {
        display: none;
    }

    .ec-header-search__btn {
        width: 36px;
        padding: 0;
    }

    .ec-header-search__btn-icon {
        display: block;
    }

    .ec-trust-strip {
        gap: 10px;
    }

    .ec-trust-chip {
        font-size: 11px;
    }
}

@media (max-width: 899px) {
    .ec-header__row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand tools";
        gap: 8px;
        min-height: 56px;
        padding: 8px 0;
    }

    .ec-menu-toggle {
        display: inline-flex;
    }

    .ec-header__brand {
        justify-self: stretch;
    }

    .ec-logo__text {
        font-size: 1rem;
    }

    .ec-header-search,
    .ec-header__sub {
        display: none;
    }

    .ec-trust-mobile {
        display: block;
    }

    .ec-header__tools {
        gap: 2px;
    }

    .ec-cart-link {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-color: var(--ec-line);
        background: var(--ec-card-bg);
        border-radius: 999px;
    }

    .ec-cart-link:hover,
    .ec-cart-link.is-active {
        border-color: var(--ec-line);
        background: var(--ec-bg);
        color: var(--ec-ink);
    }

    .ec-cart-link__label {
        display: none;
    }

    .ec-icon-btn {
        width: 44px;
        height: 44px;
    }

    :root {
        --ec-header-h: 56px;
    }
}

@media (max-width: 768px) {
    .ec-announce__inner {
        min-height: 32px;
        font-size: 11px;
    }
}

/* ——— Mobile nav drawer ——— */
.ec-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 280;
    pointer-events: none;
}

.ec-nav-drawer.is-open {
    pointer-events: auto;
}

.ec-nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity .25s ease;
}

.ec-nav-drawer.is-open .ec-nav-drawer__backdrop {
    opacity: 1;
}

.ec-nav-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--ec-card-bg);
    border-right: 1px solid var(--ec-line);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.32, .72, 0, 1);
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.ec-nav-drawer.is-open .ec-nav-drawer__panel {
    transform: translateX(0);
}

.ec-nav-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--ec-line);
    flex-shrink: 0;
    background: var(--ec-header-bg);
}

.ec-nav-drawer__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-nav-drawer__sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--ec-muted);
}

.ec-nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -6px -6px 0 0;
    border: none;
    border-radius: var(--ec-radius);
    background: transparent;
    color: var(--ec-ink);
    cursor: pointer;
}

.ec-nav-drawer__close:hover {
    background: var(--ec-bg);
}

.ec-nav-drawer__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.ec-nav-drawer__search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.ec-nav-drawer__search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    font: inherit;
    font-size: 16px;
    background: var(--ec-bg);
    color: var(--ec-ink);
}

.ec-nav-drawer__search input:focus {
    outline: none;
    border-color: var(--ec-accent);
}

.ec-nav-drawer__links {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
}

.ec-nav-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-bg);
    font-size: 15px;
    font-weight: 500;
    color: var(--ec-ink);
}

.ec-nav-drawer__link:hover {
    border-color: var(--ec-accent);
    color: var(--ec-accent);
}

.ec-nav-drawer__link.is-active {
    background: color-mix(in srgb, var(--ec-accent) 10%, var(--ec-card-bg));
    border-color: var(--ec-accent);
    color: var(--ec-accent);
    font-weight: 600;
}

.ec-nav-drawer__section-title {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ec-muted);
}

.ec-nav-drawer__cats {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    overflow: hidden;
}

.ec-nav-drawer__cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid var(--ec-line);
    font-size: 14px;
    font-weight: 500;
    color: var(--ec-muted);
    background: var(--ec-card-bg);
}

.ec-nav-drawer__cats li:last-child a {
    border-bottom: none;
}

.ec-nav-drawer__cats a:hover {
    background: var(--ec-bg);
    color: var(--ec-ink);
}

.ec-nav-drawer__cats a.is-active {
    background: color-mix(in srgb, var(--ec-accent) 10%, var(--ec-card-bg));
    color: var(--ec-accent);
    font-weight: 600;
}

.ec-nav-drawer__cat-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--ec-muted);
    background: var(--ec-bg);
    padding: 2px 8px;
    border-radius: var(--ec-radius);
}

.ec-nav-drawer__cats a.is-active .ec-nav-drawer__cat-count {
    color: var(--ec-accent);
    background: color-mix(in srgb, var(--ec-accent) 12%, var(--ec-card-bg));
}

body.ec-nav-drawer-open {
    overflow: hidden;
}

@media (min-width: 900px) {
    .ec-nav-drawer {
        display: none;
    }
}

/* ——— Buttons ——— */
.ec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--ec-radius);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, background .15s;
    text-decoration: none;
}

.ec-btn:hover { opacity: 0.88; }

.ec-btn--dark {
    background: var(--ec-accent);
    color: var(--ec-accent-text);
    border-color: var(--ec-accent);
}

.ec-btn--light {
    background: var(--ec-card-bg);
    color: var(--ec-hero-bg);
    border-color: var(--ec-card-bg);
}

.ec-btn--outline {
    background: var(--ec-card-bg);
    border-color: var(--ec-line-strong);
    color: var(--ec-ink);
}

.ec-btn--outline:hover {
    border-color: var(--ec-ink);
    opacity: 1;
}

.ec-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--ec-muted);
}

.ec-btn--ghost:hover {
    color: var(--ec-ink);
    opacity: 1;
}

.ec-btn--block { width: 100%; }

.ec-btn--lg { min-height: 48px; font-size: 15px; }

.ec-btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }

.ec-btn:disabled,
.ec-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ——— Collection / store ——— */
.ec-main { padding-bottom: 64px; }

.ec-breadcrumbs {
    padding: 14px 0 0;
    font-size: 13px;
    color: var(--ec-muted);
}

@media (min-width: 900px) {
    .ec-breadcrumbs {
        padding: 18px 0 4px;
    }

    .ec-breadcrumbs .ec-wrap ol {
        padding: 10px 14px;
        background: var(--ec-card-bg);
        border: 1px solid var(--ec-line);
        border-radius: var(--ec-radius);
    }
}

.ec-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-breadcrumbs li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--ec-line-strong);
}

.ec-breadcrumbs a:hover {
    color: var(--ec-accent);
}

.ec-breadcrumbs [aria-current="page"] {
    color: var(--ec-ink);
    font-weight: 500;
}

.ec-store-banner {
    margin: 16px 0 28px;
    background: var(--ec-hero-bg);
    color: var(--ec-hero-text);
    border-radius: var(--ec-radius);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ec-hero-bg) 85%, var(--ec-ink));
}

.ec-store-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 32px;
}

@media (min-width: 900px) {
    .ec-store-banner {
        margin: 20px 0 32px;
    }

    .ec-store-banner__inner {
        padding: 44px 40px;
    }

    .ec-store-banner__content {
        border-left: 4px solid var(--ec-hero-text);
        padding-left: 24px;
    }

    .ec-store-banner__stats {
        flex-direction: row;
        gap: 16px;
    }

    .ec-store-banner__stat {
        min-width: 110px;
    }
}

.ec-store-banner__content h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ec-store-banner__content p {
    margin: 0 0 18px;
    font-size: 15px;
    opacity: 0.92;
    max-width: 48ch;
}

.ec-store-banner__stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.ec-store-banner__stat {
    min-width: 120px;
    padding: 14px 18px;
    border: 1px solid color-mix(in srgb, var(--ec-hero-text) 25%, transparent);
    border-radius: var(--ec-radius);
    text-align: center;
    background: color-mix(in srgb, var(--ec-hero-text) 8%, transparent);
}

.ec-store-banner__stat strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
}

.ec-store-banner__stat span {
    font-size: 12px;
    opacity: 0.85;
}

.ec-store-layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    align-items: flex-start;
    margin-top: 12px;
}

.ec-store-sidebar {
    flex: 0 0 var(--ec-sidebar-w);
    width: var(--ec-sidebar-w);
    min-width: 0;
    position: sticky;
    top: calc(var(--ec-header-h) + 16px);
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    padding: 18px 16px;
}

.ec-store-main {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.ec-store-main__head {
    margin-bottom: 16px;
}

@media (min-width: 900px) {
    .ec-cat-slider {
        padding: 28px;
        margin-bottom: 32px;
    }

    .ec-page-head {
        padding: 18px 24px;
    }

    .ec-collection-bar__count {
        margin-bottom: 20px;
    }

    .ec-store-main__head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 12px;
    }

    .ec-store-main__head .ec-page-head {
        flex: 1;
        margin-bottom: 0;
    }

    .ec-store-main__head .ec-collection-bar {
        flex: 0 0 auto;
        margin-bottom: 0;
        padding: 0;
        border: none;
        background: transparent;
    }

    .ec-store-sidebar__list a.is-active {
        border-left: 3px solid var(--ec-accent);
        padding-left: 9px;
    }
}

.ec-store-sidebar__title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ec-line);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ec-store-sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-store-sidebar__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--ec-radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--ec-muted);
    transition: background .15s, color .15s;
}

.ec-store-sidebar__list a:hover {
    background: var(--ec-bg);
    color: var(--ec-ink);
}

.ec-store-sidebar__list a.is-active {
    background: color-mix(in srgb, var(--ec-accent) 12%, var(--ec-card-bg));
    color: var(--ec-accent);
    font-weight: 600;
}

.ec-store-sidebar__count {
    font-size: 12px;
    font-weight: 500;
    color: var(--ec-muted);
    background: var(--ec-bg);
    padding: 2px 8px;
    border-radius: var(--ec-radius);
}

.ec-store-sidebar__list a.is-active .ec-store-sidebar__count {
    background: color-mix(in srgb, var(--ec-accent) 15%, var(--ec-card-bg));
    color: var(--ec-accent);
}

.ec-page-head {
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    padding: 20px 22px;
    margin-bottom: 16px;
}

.ec-page-head h1 {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-page-head p {
    margin: 0;
    font-size: 14px;
    color: var(--ec-muted);
}

.ec-section-label {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ——— Category slider ——— */
.ec-cat-slider {
    margin: 0 0 28px;
    padding: 22px;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
}

.ec-cat-slider__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ec-cat-slider__title {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-cat-slider__sub {
    margin: 0;
    font-size: 13px;
    color: var(--ec-muted);
}

.ec-cat-slider__nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.ec-cat-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-bg);
    color: var(--ec-ink);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.ec-cat-slider__btn:hover:not(:disabled) {
    border-color: var(--ec-ink);
    background: var(--ec-bg-soft);
}

.ec-cat-slider__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ec-cat-slider__viewport {
    overflow: hidden;
    margin-inline: -4px;
    padding-inline: 4px;
}

.ec-cat-slider__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.ec-cat-slider__track::-webkit-scrollbar {
    display: none;
}

.ec-cat-slide {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
}

.ec-cat-slide__link {
    display: block;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    overflow: hidden;
    height: 100%;
    transition: border-color .15s;
}

.ec-cat-slide__link:hover {
    border-color: var(--ec-accent);
}

.ec-cat-slide__media {
    aspect-ratio: 16 / 10;
    background: var(--ec-bg-soft);
    overflow: hidden;
}

.ec-cat-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ec-cat-slide__link:hover .ec-cat-slide__media img {
    transform: scale(1.04);
}

.ec-cat-slide__ph {
    width: 100%;
    height: 100%;
    background: var(--ec-bg);
}

.ec-cat-slide__body {
    padding: 14px 16px 16px;
}

.ec-cat-slide__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-cat-slide__desc {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ec-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ec-cat-slide__meta {
    font-size: 12px;
    font-weight: 500;
    color: var(--ec-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ——— Category archive hero ——— */
.ec-category-hero {
    display: grid;
    grid-template-columns: minmax(0, 320px) 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px;
    margin-bottom: 20px;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
}

.ec-category-hero__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--ec-radius);
    overflow: hidden;
    background: var(--ec-bg-soft);
    border: 1px solid var(--ec-line);
}

.ec-category-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-category-hero__ph {
    width: 100%;
    height: 100%;
    background: var(--ec-bg);
}

.ec-category-hero__back {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ec-muted);
}

.ec-category-hero__back:hover {
    color: var(--ec-ink);
}

.ec-category-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ec-category-hero p {
    margin: 0 0 12px;
    color: var(--ec-muted);
    font-size: 14px;
    line-height: 1.55;
    max-width: 52ch;
}

.ec-category-hero__count {
    font-size: 13px;
    font-weight: 500;
    color: var(--ec-muted);
}

.ec-collection-head {
    padding: 40px 0 24px;
    text-align: center;
    border-bottom: 1px solid var(--ec-line);
    margin-bottom: 24px;
}

.ec-collection-head h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ec-collection-head p {
    margin: 0;
    color: var(--ec-muted);
    font-size: 14px;
}

.ec-collection-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
}

.ec-collection-bar__count {
    font-size: 13px;
    color: var(--ec-muted);
    margin-bottom: 16px;
    padding: 0 4px;
}

.ec-chips {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.ec-chips--mobile {
    display: flex;
}

@media (min-width: 900px) {
    .ec-store-layout .ec-chips--mobile {
        display: none;
    }
}

@media (max-width: 899px) {
    .ec-store-layout {
        flex-direction: column;
        gap: 0;
    }

    .ec-store-sidebar {
        display: none;
    }

    .ec-chips--mobile {
        display: flex;
    }
}

.ec-chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--ec-muted);
    background: var(--ec-bg);
    transition: border-color .15s, color .15s, background .15s;
}

.ec-chip-link:hover {
    border-color: var(--ec-accent);
    color: var(--ec-accent);
}

.ec-chip-link.is-active {
    background: var(--ec-chip-active-bg);
    border-color: var(--ec-chip-active-bg);
    color: var(--ec-chip-active-text);
}

.ec-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ec-muted);
}

.ec-sort select {
    min-height: 36px;
    padding: 0 28px 0 12px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    font: inherit;
    background: var(--ec-bg);
    cursor: pointer;
}

.ec-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    width: 100%;
}

@media (min-width: 900px) {
    .ec-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .ec-card:hover {
        border-color: var(--ec-accent);
    }
}

@media (min-width: 1200px) {
    .ec-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

/* ——— Product card ——— */
.ec-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    overflow: hidden;
    transition: border-color .15s;
}

.ec-card:hover {
    border-color: var(--ec-line-strong);
}

.ec-card__media-wrap {
    position: relative;
    margin-bottom: 0;
}

.ec-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--ec-bg);
    overflow: hidden;
    border-radius: 0;
}

.ec-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ec-card:hover .ec-card__media img {
    transform: scale(1.03);
}

.ec-card__ph {
    width: 100%;
    height: 100%;
    background: var(--ec-bg);
}

.ec-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--ec-radius);
}

.ec-label--sold { background: var(--ec-ink); color: #fff; }
.ec-label--sale { background: var(--ec-sale); color: #fff; border: none; }

.ec-card__body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ec-card__quick {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    min-height: 40px;
    border: none;
    border-radius: var(--ec-radius);
    background: var(--ec-accent);
    color: var(--ec-accent-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
}

.ec-card:hover .ec-card__quick,
.ec-card__quick:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .ec-card__quick { opacity: 1; transform: none; }
}

.ec-card__vendor {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ec-muted);
    margin-bottom: 4px;
}

.ec-card__title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.ec-card__title a:hover { text-decoration: underline; text-underline-offset: 2px; }

.ec-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ec-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--ec-ink);
}

.ec-price--compare {
    font-weight: 400;
    color: var(--ec-muted);
    text-decoration: line-through;
    font-size: 13px;
}

/* ——— Product detail ——— */
.ec-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--ec-muted);
    padding: 20px 0 0;
}

.ec-breadcrumb a:hover { color: var(--ec-ink); text-decoration: underline; }

.ec-pdp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 24px 0 48px;
    align-items: start;
}

.ec-pdp__gallery {
    aspect-ratio: 1 / 1;
    background: var(--ec-bg-soft);
    overflow: hidden;
    border-radius: var(--ec-radius);
}

.ec-pdp__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-pdp__gallery-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--ec-muted);
    font-size: 13px;
}

.ec-pdp__vendor {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ec-muted);
    margin-bottom: 8px;
}

.ec-pdp h1 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.ec-pdp__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ec-line);
}

.ec-pdp__price-row .ec-price { font-size: 1.25rem; }

.ec-pdp__status {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.ec-pdp__status.is-in { color: #067647; }
.ec-pdp__status.is-out { color: var(--ec-sale); }

.ec-pdp__desc {
    color: var(--ec-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
    white-space: pre-line;
}

.ec-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ec-line-strong);
    border-radius: var(--ec-radius);
    margin-bottom: 16px;
}

.ec-qty button {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: var(--ec-ink);
}

.ec-qty input {
    width: 48px;
    border: none;
    border-left: 1px solid var(--ec-line);
    border-right: 1px solid var(--ec-line);
    text-align: center;
    font: inherit;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}

.ec-qty input::-webkit-outer-spin-button,
.ec-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.ec-pdp__actions {
    display: grid;
    gap: 10px;
    max-width: 420px;
}

.ec-related {
    padding-top: 48px;
    border-top: 1px solid var(--ec-line);
}

.ec-related h2 {
    margin: 0 0 20px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ——— Cart & checkout ——— */
.ec-page-title {
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--ec-line);
    margin-bottom: 32px;
}

.ec-page-title h1 {
    margin: 0 0 4px;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ec-page-title p {
    margin: 0;
    font-size: 14px;
    color: var(--ec-muted);
}

.ec-checkout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.ec-panel {
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    padding: 24px;
    background: #fff;
}

.ec-panel h2 {
    margin: 0 0 20px;
    font-size: 1rem;
    font-weight: 600;
}

.ec-panel--sticky {
    position: sticky;
    top: calc(var(--ec-header-h) + 24px);
}

.ec-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.ec-cart-table th,
.ec-cart-table td {
    padding: 16px 0;
    border-bottom: 1px solid var(--ec-line);
    text-align: left;
    vertical-align: middle;
}

.ec-cart-table th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ec-muted);
    padding-top: 0;
}

.ec-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ec-cart-item__thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: var(--ec-bg-soft);
    overflow: hidden;
    border-radius: var(--ec-radius);
}

.ec-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.ec-cart-item__name {
    font-weight: 500;
    font-size: 14px;
}

.ec-cart-item__name:hover { text-decoration: underline; }

.ec-cart-remove {
    border: none;
    background: none;
    color: var(--ec-muted);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.ec-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

.ec-summary-row.total {
    border-top: 1px solid var(--ec-line);
    margin-top: 8px;
    padding-top: 16px;
    font-weight: 600;
    font-size: 15px;
}

.ec-form-grid { display: grid; gap: 16px; }

.ec-form-grid.two { grid-template-columns: 1fr 1fr; }

.ec-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ec-ink);
}

.ec-field input,
.ec-field textarea,
.ec-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--ec-line-strong);
    border-radius: var(--ec-radius);
    font: inherit;
    background: #fff;
}

.ec-field textarea { min-height: 100px; resize: vertical; }

.ec-field input:focus,
.ec-field textarea:focus {
    outline: none;
    border-color: var(--ec-ink);
}

.ec-pay-list { display: grid; gap: 8px; margin-bottom: 20px; }

.ec-pay-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    cursor: pointer;
}

.ec-pay-opt:has(input:checked) {
    border-color: var(--ec-ink);
}

.ec-pay-opt input { margin-top: 2px; accent-color: var(--ec-ink); }

.ec-pay-opt strong { display: block; font-size: 14px; margin-bottom: 2px; }
.ec-pay-opt span { font-size: 13px; color: var(--ec-muted); }

.ec-pay-opt__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ec-accent);
    vertical-align: middle;
}

.ec-pay-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--ec-line);
    border-radius: var(--ec-radius);
    color: var(--ec-muted);
    font-size: 14px;
    text-align: center;
}

.ec-checkout__section-title {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.ec-empty {
    text-align: center;
    padding: 64px 24px;
    background: var(--ec-card-bg);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
}

.ec-empty svg { margin: 0 auto 16px; color: var(--ec-muted); }

.ec-empty h2 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 600;
}

.ec-empty p {
    margin: 0 0 20px;
    color: var(--ec-muted);
    font-size: 14px;
}

.ec-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    z-index: 200;
    background: var(--ec-ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--ec-radius);
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}

.ec-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ——— Cart drawer ——— */
.ec-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
}

.ec-cart-drawer.is-open {
    pointer-events: auto;
}

.ec-cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity .25s ease;
}

.ec-cart-drawer.is-open .ec-cart-drawer__backdrop {
    opacity: 1;
}

.ec-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100%;
    background: var(--ec-bg);
    border-left: 1px solid var(--ec-line);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.32, .72, 0, 1);
}

.ec-cart-drawer.is-open .ec-cart-drawer__panel {
    transform: translateX(0);
}

.ec-cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ec-line);
    flex-shrink: 0;
}

.ec-cart-drawer__head h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ec-cart-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--ec-radius);
    background: transparent;
    color: var(--ec-ink);
    cursor: pointer;
}

.ec-cart-drawer__close:hover {
    background: var(--ec-bg-soft);
}

.ec-cart-drawer__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 20px 0;
    padding: 12px 14px;
    border-radius: var(--ec-radius);
    background: color-mix(in srgb, #2a9d4e 12%, var(--ec-bg));
    border: 1px solid color-mix(in srgb, #2a9d4e 25%, var(--ec-line));
    color: #067647;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.ec-cart-drawer__notice svg {
    flex-shrink: 0;
}

.ec-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.ec-cart-drawer__empty {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 12px;
    padding: 48px 16px;
    color: var(--ec-muted);
}

.ec-cart-drawer__empty h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--ec-ink);
}

.ec-cart-drawer__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ec-line);
}

.ec-cart-drawer__item.is-highlight {
    animation: ec-drawer-highlight .6s ease;
}

@keyframes ec-drawer-highlight {
    0% { background: color-mix(in srgb, var(--ec-accent) 8%, var(--ec-bg)); }
    100% { background: transparent; }
}

.ec-cart-drawer__item-thumb {
    aspect-ratio: 1;
    background: var(--ec-bg-soft);
    border-radius: var(--ec-radius);
    overflow: hidden;
}

.ec-cart-drawer__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-cart-drawer__item-name {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--ec-ink);
}

.ec-cart-drawer__item-name:hover {
    text-decoration: underline;
}

.ec-cart-drawer__item-meta {
    font-size: 13px;
    color: var(--ec-muted);
    margin-bottom: 10px;
}

.ec-cart-drawer__item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ec-cart-drawer__item .ec-qty {
    max-width: 120px;
}

.ec-cart-drawer__item-price {
    font-weight: 600;
    font-size: 14px;
}

.ec-cart-drawer__remove {
    margin-top: 8px;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12px;
    color: var(--ec-muted);
    cursor: pointer;
    text-decoration: underline;
}

.ec-cart-drawer__foot {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--ec-line);
    display: grid;
    gap: 8px;
    flex-shrink: 0;
    background: var(--ec-bg);
}

.ec-cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
    font-size: 14px;
}

.ec-cart-drawer__subtotal strong {
    font-size: 1rem;
    font-weight: 600;
}

body.ec-cart-drawer-open {
    overflow: hidden;
}

/* ——— Store filter drawer (şablon 2/3/4) ——— */
.ec-t2-filter-btn,
.ec-t3-filter-btn,
.ec-t4-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    margin-bottom: 16px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-card-bg);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ec-t2-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 260;
    pointer-events: none;
}

.ec-t2-filter-drawer.is-open {
    pointer-events: auto;
}

.ec-t2-filter-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity .2s;
}

.ec-t2-filter-drawer.is-open .ec-t2-filter-drawer__backdrop {
    opacity: 1;
}

.ec-t2-filter-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--ec-line);
    background: var(--ec-card-bg);
    transform: translateX(-100%);
    transition: transform .22s ease;
}

.ec-t2-filter-drawer.is-open .ec-t2-filter-drawer__panel {
    transform: translateX(0);
}

.ec-t2-filter-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--ec-line);
}

.ec-t2-filter-drawer__head h2 {
    margin: 0;
    font-size: 1rem;
}

.ec-t2-filter-drawer__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: transparent;
    cursor: pointer;
}

.ec-t2-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

body.ec-t2-filter-open {
    overflow: hidden;
}

/* ——— Footer ——— */
.ec-footer {
    margin-top: auto;
    border-top: 1px solid var(--ec-line);
    background: var(--ec-footer-bg);
    color: var(--ec-footer-color);
}

.ec-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px 24px;
    padding: 44px 0 36px;
}

.ec-footer__col-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ec-footer-color);
}

.ec-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ec-footer__col a {
    font-size: 13px;
    color: color-mix(in srgb, var(--ec-footer-color) 80%, transparent);
    font-weight: 500;
}

.ec-footer__col a:hover { color: var(--ec-footer-color); }

.ec-footer__brand strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: inherit;
}

.ec-footer__brand p {
    margin: 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--ec-footer-color) 75%, transparent);
    max-width: 32ch;
}

.ec-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ec-footer__links a {
    font-size: 13px;
    color: color-mix(in srgb, var(--ec-footer-color) 80%, transparent);
    font-weight: 500;
}

.ec-footer__links a:hover { color: var(--ec-footer-color); }

.ec-footer__copy {
    border-top: 1px solid color-mix(in srgb, var(--ec-footer-color) 15%, transparent);
    padding: 16px 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--ec-footer-color) 65%, transparent);
}

.ec-footer--minimal .ec-footer__inner--minimal {
    grid-template-columns: 1fr;
    padding: 28px 0 20px;
}

.ec-footer--minimal .ec-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.ec-footer--minimal .ec-footer__brand {
    flex: 1 1 200px;
    min-width: 0;
}

.ec-footer--minimal .ec-footer__links {
    flex: 1 1 280px;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .ec-footer--minimal .ec-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .ec-footer--minimal .ec-footer__links {
        justify-content: flex-start;
    }
}

/* ——— Checkout payment frame ——— */
.ec-wrap--narrow {
    width: min(640px, calc(100% - 32px));
    margin-inline: auto;
}

.ec-alert {
    padding: 12px 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.ec-alert--error {
    border-color: color-mix(in srgb, #c0392b 40%, var(--ec-line));
    background: color-mix(in srgb, #c0392b 8%, var(--ec-panel));
    color: var(--ec-text);
}

.ec-checkout__error {
    margin: 0;
    font-size: 14px;
    color: #c0392b;
}

.ec-payment-frame {
    margin-top: 20px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-panel);
    overflow: hidden;
}

.ec-payment-frame__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--ec-line);
}

.ec-payment-frame__head h2 {
    margin: 0;
    font-size: 16px;
}

.ec-payment-frame__close {
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--ec-muted);
    padding: 0 4px;
}

.ec-payment-frame__body {
    padding: 14px;
    min-height: 420px;
}

.ec-payment-frame__body iframe {
    width: 100%;
    min-height: 420px;
    border: none;
}

.ec-thank-you h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.ec-thank-you__summary {
    margin: 20px 0;
    padding-top: 16px;
    border-top: 1px solid var(--ec-line);
}

.ec-thank-you__bank {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-bg);
}

.ec-thank-you__bank h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.ec-thank-you__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ec-muted {
    color: var(--ec-muted);
}

.ec-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--ec-line);
}

.ec-pagination__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ec-text);
    text-decoration: none;
}

.ec-pagination__link:hover:not(.is-disabled) {
    color: var(--ec-brand);
}

.ec-pagination__link.is-disabled {
    color: var(--ec-muted);
    cursor: default;
}

.ec-pagination__info {
    font-size: 13px;
    color: var(--ec-muted);
}

.ec-bank-hint {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    background: var(--ec-bg);
}

.ec-bank-hint h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.ec-btn.is-disabled,
a.ec-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.ec-thank-you__items,
.ec-thank-you__address {
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid var(--ec-line);
}

.ec-thank-you__items h2,
.ec-thank-you__address h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
    .ec-checkout { grid-template-columns: 1fr; }
    .ec-panel--sticky { position: static; }
    .ec-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .ec-wrap {
        width: min(var(--ec-wrap), calc(100% - 32px));
    }

    .ec-main {
        padding-bottom: 48px;
    }

    .ec-announce {
        font-size: 11px;
    }

    .ec-trust-strip {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ec-trust-strip::-webkit-scrollbar {
        display: none;
    }

    .ec-trust-chip {
        flex-shrink: 0;
    }

    .ec-breadcrumbs {
        padding-top: 12px;
        font-size: 12px;
    }

    .ec-breadcrumbs ol {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .ec-breadcrumbs ol::-webkit-scrollbar {
        display: none;
    }

    .ec-breadcrumbs li {
        flex-shrink: 0;
    }

    .ec-store-banner {
        margin: 12px 0 20px;
    }

    .ec-store-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 18px;
        gap: 16px;
    }

    .ec-store-banner__content h1 {
        font-size: 1.375rem;
    }

    .ec-store-banner__content p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .ec-store-banner__stats {
        flex-direction: row;
        width: 100%;
    }

    .ec-store-banner__stat {
        flex: 1;
        min-width: 0;
        padding: 12px 10px;
    }

    .ec-cat-slider {
        padding: 16px;
        margin-bottom: 20px;
    }

    .ec-cat-slider__head {
        align-items: center;
    }

    .ec-cat-slider__sub {
        display: none;
    }

    .ec-category-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
        margin-bottom: 16px;
    }

    .ec-category-hero__media {
        max-height: 200px;
        aspect-ratio: 16 / 9;
    }

    .ec-page-head {
        padding: 16px;
        margin-bottom: 12px;
    }

    .ec-page-head h1 {
        font-size: 1.125rem;
    }

    .ec-collection-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
        position: sticky;
        top: calc(var(--ec-header-h) - 8px);
        z-index: 20;
    }

    .ec-sort {
        width: 100%;
        justify-content: space-between;
    }

    .ec-sort select {
        flex: 1;
        max-width: none;
        min-height: 44px;
        font-size: 16px;
    }

    .ec-chips--mobile {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .ec-chips--mobile::-webkit-scrollbar {
        display: none;
    }

    .ec-chip-link {
        flex-shrink: 0;
        min-height: 36px;
    }

    .ec-cat-slide {
        flex: 0 0 min(240px, 82vw);
    }

    .ec-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .ec-card__body {
        padding: 10px 10px 12px;
    }

    .ec-card__title {
        font-size: 13px;
        line-height: 1.35;
    }

    .ec-card__quick {
        min-height: 44px;
        font-size: 12px;
    }

    .ec-pdp {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ec-form-grid.two { grid-template-columns: 1fr; }

    .ec-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0 28px;
    }

    .ec-cart-table thead { display: none; }

    .ec-cart-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--ec-line);
    }

    .ec-cart-table td {
        display: block;
        border: none;
        padding: 4px 0;
    }

    .ec-search-bar__form {
        max-width: none;
    }

    .ec-search-bar__form input {
        font-size: 16px;
        min-height: 44px;
    }

    .ec-btn {
        min-height: 48px;
    }

    .ec-empty {
        padding: 48px 16px;
    }
}

@media (max-width: 480px) {
    .ec-wrap { width: min(var(--ec-wrap), calc(100% - 24px)); }

    .ec-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .ec-store-banner__stat strong {
        font-size: 1.125rem;
    }

    .ec-label {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 380px) {
    .ec-product-grid {
        grid-template-columns: 1fr;
    }

    .ec-header__row {
        gap: 4px;
    }

    .ec-logo__text {
        font-size: 0.9375rem;
    }
}
