/* ============================================================
   DUKKAN  �  style.css
   ���� ����� ����� ��� ����� ������
============================================================ */
:root {
    --cream: #FBF4E4;
    --cream-card: #F3EAD4;
    --ink: #141414;
    --ink-soft: #5b5850;
    --red: #C4231E;
    --red-bright: #D62828;
    --maroon-deep: #3a0808;
    --gold: #E0A82E;
    --black: #141414;
    --font-display: 'Poppins',system-ui,sans-serif;
    --font-body: 'Inter',system-ui,sans-serif;
    --container: 1280px;
    --radius: 16px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    margin: 0;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    max-width: 100%
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 40px
}

/* ============================================================
   LOGO  +  ���� 3D  (����� ��� �������� ���������)
============================================================ */
.logo {
    display: inline-block;
    perspective: 800px
}

    .logo img {
        height: 100px;
        width: auto;
        transform-style: preserve-3d;
        animation: logo3d 5.5s ease-in-out infinite;
        filter: drop-shadow(0 7px 12px rgba(0,0,0,.20));
        transition: transform .18s ease, filter .3s ease
    }

    .logo.tilting img {
        animation: none
    }

@keyframes logo3d {
    0% {
        transform: rotateY(-17deg) rotateX(7deg) translateZ(0)
    }

    50% {
        transform: rotateY( 17deg) rotateX(-5deg) translateZ(22px)
    }

    100% {
        transform: rotateY(-17deg) rotateX(7deg) translateZ(0)
    }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid rgba(20,20,20,.06)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px
}

.main-nav {
    display: flex;
    gap: 40px
}

    .main-nav a {
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -.2px;
        color: var(--ink);
        transition: color .2s
    }

        .main-nav a:hover {
            color: var(--red)
        }

.header-actions {
    display: flex;
    gap: 22px;
    align-items: center
}

.icon-btn {
    color: var(--ink);
    display: grid;
    place-items: center;
    transition: color .2s,transform .2s
}

    .icon-btn:hover {
        color: var(--red);
        transform: translateY(-1px)
    }

    .icon-btn svg {
        width: 22px;
        height: 22px
    }

.menu-toggle {
    display: none
}
    /* ���� ��������� ��� */
    .menu-toggle svg {
        width: 26px;
        height: 26px
    }

/* ============================================================
   HERO  �  ����� ������� (���� ? ���� ? ����)
============================================================ */
.hero {
    position: relative;
    min-height: min(760px,86vh);
    overflow: hidden;
    isolation: isolate;
    --hero-fg: #FBF4E4;
    --btn-bg: #EFE7D3;
    --btn-fg: #141414;
    --hero-tone: rgba(48,6,6,.5)
}
/* ��� �� NEW COLLECTION */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2
}

    .hero-bg .bg-layer {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .9s var(--ease)
    }

.bg-layer.crimson {
    background: radial-gradient(120% 120% at 62% 42%,#C4231E 0%,#8a1414 42%,#4a0b0b 74%,#2c0606 100%)
}

.bg-layer.black {
    background: radial-gradient(120% 120% at 62% 42%,#3a3a3a 0%,#1d1d1d 48%,#0b0b0b 100%)
}

.bg-layer.white {
    background: radial-gradient(120% 120% at 62% 42%,#ffffff 0%,#f4eede 52%,#e7dfca 100%)
}

.hero[data-theme="crimson"] .bg-layer.crimson {
    opacity: 1
}

.hero[data-theme="black"] .bg-layer.black {
    opacity: 1
}

.hero[data-theme="white"] .bg-layer.white {
    opacity: 1
}

.hero[data-theme="black"] {
    --hero-tone: rgba(255,255,255,.08)
}

.hero[data-theme="white"] {
    --hero-fg: #141414;
    --btn-bg: #141414;
    --btn-fg: #FBF4E4;
    --hero-tone: rgba(0,0,0,.10)
}

.hero-inner {
    position: relative;
    height: 100%;
    min-height: inherit;
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center
}

.hero-copy {
    padding: 40px 0;
    color: var(--hero-fg);
    transition: color .9s var(--ease)
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(42px,5.4vw,76px);
    line-height: 1.02;
    letter-spacing: -1.5px
}

.hero-text {
    margin-top: 26px;
    max-width: 480px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--hero-fg);
    opacity: .82;
    transition: color .9s var(--ease)
}

.hero-cta {
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    padding: 15px 16px 15px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: background .9s var(--ease),color .9s var(--ease),transform .25s
}

    .hero-cta:hover {
        transform: translateY(-2px)
    }

    .hero-cta .chev {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0,0,0,.14);
        display: grid;
        place-items: center
    }

.hero[data-theme="white"] .hero-cta .chev {
    background: rgba(255,255,255,.18)
}

.hero-cta .chev svg {
    width: 16px;
    height: 16px
}

/* �� �������� NEW COLLECTION (���� ��� ��������) */
.mobile-copy {
    display: none;
    text-align: left;
    line-height: .9
}

    .mobile-copy .line1, .mobile-copy .line2 {
        display: block;
        font-family: var(--font-display);
        font-weight: 800;
        color: var(--hero-tone);
        transition: color .9s var(--ease)
    }

    .mobile-copy .line1 {
        font-size: clamp(58px,24vw,120px);
        letter-spacing: -2px
    }

    .mobile-copy .line2 {
        font-size: clamp(26px,12vw,64px);
        white-space: nowrap;
        max-width: 100%
    }

/* ����� ������� */
.hero-stage {
    position: relative;
    height: 100%;
    min-height: inherit
}

.shirt {
    position: absolute;
    filter: drop-shadow(0 26px 40px rgba(0,0,0,.34));
    will-change: transform,opacity
}

    .shirt img, .shirt svg {
        width: 100%;
        height: auto;
        display: block
    }

    .shirt.main {
        width: 380px;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        transition: opacity .55s var(--ease),transform .9s var(--ease);
        z-index: 2
    }

    .shirt.preview {
        width: 118px;
        bottom: 24px;
        right: 12px;
        transition: transform .9s var(--ease),opacity .5s var(--ease);
        z-index: 1
    }

.hero.swapping .shirt.main {
    opacity: 0;
    transform: translate(-50%,-50%) scale(.9)
}

.hero.swapping .shirt.preview {
    transform: translate(var(--swap-x,0),var(--swap-y,0)) scale(var(--swap-s,1));
    z-index: 3
}

.hero.no-anim .shirt.main, .hero.no-anim .shirt.preview {
    transition: none !important
}

/* ============================================================
   SECTIONS ��������  (����� ��� �������� ���������)
============================================================ */
.section {
    padding: 88px 0
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 38px
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px,3.4vw,40px);
    letter-spacing: -.5px
}

.view-all {
    color: var(--red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .4px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: gap .2s
}

    .view-all:hover {
        gap: 13px
    }

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
    mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)
}

.marquee-track {
    display: flex;
    gap: 26px;
    width: max-content;
    animation: scrollX 34s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

/* Not enough products to loop endlessly — show a single centered row instead
   of a sparse track sliding across a mostly-empty container. */
.marquee.is-static {
    -webkit-mask-image: none;
    mask-image: none
}

.marquee.is-static .marquee-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    animation: none
}

@keyframes scrollX {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.product {
    width: 236px;
    flex: 0 0 auto
}

.product-img {
    aspect-ratio: 1/1.02;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg,#eee6d2,#ddd3ba)
}

    .product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--ease)
    }

.product:hover .product-img img {
    transform: scale(1.06)
}

.product-name {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink)
}

.product-price {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--red)
}

/* Trending marquee -> static 2-column grid on phones */
@media (max-width:768px) {
    .marquee {
        -webkit-mask-image: none;
        mask-image: none
    }

    .marquee-track,
    .marquee.is-static .marquee-track {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 16px;
        animation: none
    }

    .marquee .product {
        width: calc(50% - 8px)
    }

    .product-name {
        margin-top: 10px;
        font-size: 14px
    }
}

.explore-head {
    text-align: center;
    margin-bottom: 44px
}

.eyebrow {
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase
}

.explore-head .section-title {
    margin-top: 10px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px
}

.category-card {
    position: relative;
    aspect-ratio: 3/3.6;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    box-shadow: 0 18px 40px rgba(20,20,20,.10)
}

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s var(--ease)
    }

    .category-card:hover img {
        transform: scale(1.07)
    }

    .category-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.15) 45%,transparent 70%)
    }

.category-meta {
    position: absolute;
    left: 26px;
    bottom: 24px;
    z-index: 2;
    color: #fff
}

    .category-meta h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 24px
    }

    .category-meta span {
        display: inline-flex;
        gap: 7px;
        align-items: center;
        font-size: 14px;
        opacity: .85;
        margin-top: 4px
    }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: var(--black);
    color: #cfc9bd;
    padding: 70px 0 40px;
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    align-items: start
}

.footer-logo {
    perspective: 800px
}

    .footer-logo img {
        height: 120px;
        filter: drop-shadow(0 8px 16px rgba(0,0,0,.5))
    }

.footer-col h4 {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px
}

.footer-col a {
    display: block;
    font-size: 15px;
    color: #b7b1a4;
    margin-bottom: 14px;
    transition: color .2s
}

    .footer-col a:hover {
        color: #fff
    }

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    color: #7d786d
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:1024px) {
    .container {
        padding-inline: 28px
    }

    .main-nav {
        gap: 30px
    }

    .shirt.main {
        width: 300px
    }
}

@media (max-width:768px) {
    /* ---- ������ ���������: ������ ���� ������� ������� ������ ��� nav ������ ����� ---- */
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        row-gap: 10px;
        padding-block: 12px
    }

    .logo {
        margin-right: auto
    }

        .logo img {
            height: 44px
        }

    .header-actions {
        gap: 16px
    }

    /* Hamburger button: visible on mobile, opens/closes the nav */
    .menu-toggle {
        display: grid;
        order: -1;
        width: 40px;
        height: 40px
    }

    /* Nav is a slide-down panel, hidden until .open is toggled by JS */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
        background: var(--cream);
        border-bottom: 1px solid rgba(20,20,20,.06);
        box-shadow: 0 16px 28px rgba(20,20,20,.08);
        opacity: 0;
        visibility: hidden;
        transition: max-height .3s var(--ease), opacity .25s var(--ease)
    }

        .main-nav.open {
            max-height: 360px;
            opacity: 1;
            visibility: visible;
            padding: 10px 0 18px
        }

        .main-nav a {
            width: 100%;
            padding: 12px 0;
            text-align: center;
            border: none;
            border-bottom: 1px solid rgba(20,20,20,.06);
            font-size: 17px
        }

        .main-nav a:last-child {
            border-bottom: none
        }

    /* ---- ������ ������: NEW COLLECTION + ������� ��� ��� ---- */
    .hero {
        min-height: auto
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-block: 38px 30px
    }

    .desktop-copy {
        display: none
    }

    .mobile-copy {
        display: block;
        padding: 8px 0 0
    }

    .hero-stage {
        height: 500px;
        margin-top: 6px
    }

    .shirt.main {
        width: 238px;
        top: 42%
    }
    /* ������� ����� ��� (����� ���� transform ���� �������� ����� ��) */
    .shirt.preview {
        width: 80px;
        left: calc(50% - 40px);
        right: auto;
        bottom: 14px;
        top: auto
    }

    .section {
        padding: 60px 0
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .category-card {
        aspect-ratio: 16/10
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .footer-logo {
        grid-column: 1/-1;
        margin-bottom: 8px
    }
}

/* ============================================================
   SMALL PHONES (iPhone SE/mini, small Android, ~320-400px)
============================================================ */
@media (max-width:400px) {
    .container {
        padding-inline: 16px
    }

    .main-nav {
        gap: 4px 14px
    }

        .main-nav a {
            font-size: 14px
        }

    .header-inner {
        row-gap: 6px
    }

    .logo img {
        height: 38px
    }

    .hero-cta {
        padding: 12px 14px 12px 18px;
        font-size: 14px;
        gap: 10px
    }

    .hero-text {
        font-size: 15px
    }

    .mobile-copy .line1 {
        font-size: clamp(46px,20vw,90px)
    }

    .mobile-copy .line2 {
        font-size: clamp(20px,9.5vw,44px)
    }

    .hero-stage {
        height: 400px
    }

    .shirt.main {
        width: 200px
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .footer-logo {
        grid-column: auto
    }
}

@media (prefers-reduced-motion:reduce) {
    .marquee-track {
        animation: none
    }

    .shirt, .hero-bg .bg-layer, .logo img {
        transition: none;
        animation: none
    }
}

/* ============================================================
   HEADER BADGES  +  ������ �����  (�����)
============================================================ */
.icon-btn {
    position: relative
}

.badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border-radius: 10px;
    display: none;
    place-items: center
}

.main-nav a.active {
    color: var(--red)
}

/* ============================================================
   SHOP PAGE
============================================================ */
.shop {
    padding: 56px 0 96px
}

.shop-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px,6vw,72px);
    letter-spacing: -1.5px;
    line-height: 1
}

.shop-count {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 16px
}

.shop-tools {
    display: flex;
    gap: 16px;
    margin: 34px 0 42px;
    flex-wrap: wrap
}

.search-box {
    flex: 1;
    min-width: 240px;
    position: relative
}

    .search-box svg {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: var(--ink-soft)
    }

    .search-box input {
        width: 100%;
        height: 58px;
        padding: 0 20px 0 52px;
        border: 1px solid rgba(20,20,20,.14);
        border-radius: 14px;
        background: #fff;
        font-family: inherit;
        font-size: 15px;
        color: var(--ink);
        outline: none;
        transition: border .2s,box-shadow .2s
    }

        .search-box input::placeholder {
            color: #a29d90
        }

        .search-box input:focus {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(196,35,30,.12)
        }

.select-wrap {
    position: relative
}

    .select-wrap select {
        height: 58px;
        padding: 0 46px 0 20px;
        border: 1px solid rgba(20,20,20,.14);
        border-radius: 14px;
        background: #fff;
        font-family: inherit;
        font-size: 15px;
        font-weight: 500;
        color: var(--ink);
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        outline: none;
        min-width: 190px;
        transition: border .2s
    }

        .select-wrap select:focus {
            border-color: var(--red)
        }

    .select-wrap::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--ink-soft);
        border-bottom: 2px solid var(--ink-soft);
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 34px 24px
}

.p-card {
    position: relative
}

.p-media {
    position: relative;
    aspect-ratio: 1/1.16;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg,#eee6d2,#ddd3ba)
}

    .p-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--ease)
    }

.p-card:hover .p-media img {
    transform: scale(1.05)
}

.p-card.sold .p-media img {
    opacity: .72
}

.fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.16);
    transition: transform .18s
}

    .fav-btn:hover {
        transform: scale(1.09)
    }

    .fav-btn svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #141414;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: .2s
    }

    .fav-btn.active svg {
        fill: var(--red);
        stroke: var(--red)
    }

.sold-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #141414;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: .3px
}

.add-btn {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 46px;
    border: none;
    border-radius: 11px;
    background: #141414;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s var(--ease),transform .25s var(--ease),background .2s
}

.p-card:hover .add-btn {
    opacity: 1;
    transform: none
}

.add-btn:hover {
    background: var(--red)
}

.add-btn.added {
    background: #1f7a3d
}

.p-info {
    margin-top: 16px
}

.p-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline
}

.p-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink)
}

.p-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap
}

.p-swatches {
    display: flex;
    gap: 9px;
    margin-top: 13px
}

.swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.18);
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .15s
}

    .swatch.active {
        outline-color: var(--ink)
    }

.no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 70px 0;
    color: var(--ink-soft);
    font-size: 17px
}

@media (max-width:1024px) {
    .product-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:768px) {
    .shop {
        padding: 36px 0 70px
    }

    .shop-tools {
        flex-direction: column;
        gap: 12px
    }

    .search-box, .select-wrap select {
        min-width: 0;
        width: 100%
    }

    .product-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 24px 16px
    }

    .add-btn {
        opacity: 1;
        transform: none;
        height: 42px
    }
    /* ��������� ���� ������ */
}

@media (max-width:460px) {
    .product-grid {
        grid-template-columns: 1fr
    }
}

/* ============================================================
   CATEGORIES PAGE
============================================================ */
.categories-page {
    padding: 70px 0 96px
}

    .categories-page .explore-head {
        margin-bottom: 52px
    }

.cat-title {
    font-family: var(--font-display);
    font-weight: 800;
    text-align: center;
    font-size: clamp(40px,6vw,80px);
    letter-spacing: -2px;
    line-height: 1.03;
    margin-top: 12px
}

.categories-page .category-card {
    aspect-ratio: 3/4
}

.categories-page .category-meta {
    left: 32px;
    bottom: 30px
}

    .categories-page .category-meta h3 {
        font-size: 30px
    }

    .categories-page .category-meta span {
        font-size: 15px;
        margin-top: 6px
    }

@media (max-width:768px) {
    .categories-page {
        padding: 44px 0 70px
    }

        .categories-page .category-grid {
            grid-template-columns: 1fr;
            gap: 20px
        }

        .categories-page .category-card {
            aspect-ratio: 16/11
        }
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact {
    padding: 72px 0 100px
}

.contact-head {
    text-align: center;
    margin-bottom: 64px
}

.contact-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(44px,7vw,88px);
    letter-spacing: -2px;
    line-height: 1;
    margin-top: 12px
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: start
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 38px;
    padding-top: 6px
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase
}

    .info-label svg {
        width: 17px;
        height: 17px;
        color: var(--red)
    }

.info-value {
    display: inline-block;
    margin-top: 12px;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    transition: color .2s
}

a.info-value:hover {
    color: var(--red)
}

.contact-form {
    background: #fff;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(20,20,20,.07)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.field {
    margin-bottom: 22px
}

    .field label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--ink)
    }

    .field input, .field textarea {
        width: 100%;
        border: 1px solid rgba(20,20,20,.14);
        border-radius: 12px;
        background: var(--cream);
        padding: 14px 16px;
        font-family: inherit;
        font-size: 15px;
        color: var(--ink);
        outline: none;
        transition: border .2s,box-shadow .2s,background .2s
    }

        .field input::placeholder, .field textarea::placeholder {
            color: #a29d90
        }

    .field textarea {
        min-height: 150px;
        resize: vertical
    }

        .field input:focus, .field textarea:focus {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(196,35,30,.12);
            background: #fff
        }

.send-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background .2s,transform .2s
}

    .send-btn:hover {
        background: var(--red);
        transform: translateY(-2px)
    }

.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #e8f5ec;
    color: #1f7a3d;
    font-weight: 600;
    font-size: 14px
}

    .form-success.show {
        display: block
    }

@media (max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

@media (max-width:768px) {
    .contact {
        padding: 44px 0 70px
    }

    .contact-head {
        margin-bottom: 44px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .contact-form {
        padding: 24px
    }
}

/* ============================================================
   CART PAGE
============================================================ */
.cart-page {
    padding: 56px 0 96px;
    min-height: calc(100vh - 78px)
}

.cart-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px,6vw,72px);
    letter-spacing: -1.5px;
    margin-bottom: 44px
}

.cart-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start
}

.cart-items {
    background: transparent
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-soft)
}

    .cart-empty p {
        font-size: 18px;
        margin-bottom: 20px
    }

.empty-cta {
    display: inline-block;
    padding: 14px 24px;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    transition: background .2s
}

    .empty-cta:hover {
        background: var(--red)
    }

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 14px;
    margin-bottom: 16px;
    align-items: center
}

.cart-item-img {
    width: 120px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg,#eee6d2,#ddd3ba)
}

    .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.cart-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px
}

.cart-item-meta {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 14px
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(20,20,20,.14);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s,border .2s;
    display: grid;
    place-items: center
}

    .qty-btn:hover {
        border-color: var(--red);
        background: #fff
    }

.qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid rgba(20,20,20,.14);
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    font-weight: 600
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap
}

.cart-item-remove {
    cursor: pointer;
    color: var(--ink-soft);
    transition: color .2s;
    text-decoration: underline;
    font-size: 13px
}

    .cart-item-remove:hover {
        color: var(--red)
    }

.order-summary {
    background: #fff;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 100px
}

    .order-summary h2 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 24px;
        color: var(--ink)
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(20,20,20,.06);
    font-size: 15px;
    color: var(--ink-soft)
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink)
}

    .summary-total span:last-child {
        color: var(--red)
    }

.checkout-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 24px;
    transition: background .2s,transform .2s
}

    .checkout-btn:hover {
        background: var(--red);
        transform: translateY(-2px)
    }

@media (max-width:1024px) {
    .cart-grid {
        grid-template-columns: 1fr
    }

    .order-summary {
        position: relative;
        top: 0
    }
}

@media (max-width:768px) {
    .cart-page {
        padding: 36px 0 70px
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 16px
    }

    .cart-item-img {
        width: 90px;
        height: 110px
    }

    .order-summary {
        padding: 24px
    }
}

/* ============================================================
   CART PAGE � UPDATED
============================================================ */
.cart-page {
    padding: 56px 0 96px;
    min-height: calc(100vh - 78px)
}

.cart-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px,6vw,72px);
    letter-spacing: -1.5px;
    margin-bottom: 44px
}

/* Empty State */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    padding: 60px 40px
}

.empty-icon {
    margin-bottom: 28px
}

    .empty-icon svg {
        width: 120px;
        height: 120px;
        color: var(--red);
        opacity: .3;
        stroke-width: 1.2
    }

.cart-empty-state h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 38px;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -.5px
}

.cart-empty-state p {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 32px
}

.empty-cta {
    display: inline-block;
    padding: 16px 32px;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .4px;
    transition: background .2s,transform .2s
}

    .empty-cta:hover {
        background: var(--red);
        transform: translateY(-2px)
    }

/* Cart with Items */
.cart-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start
}

.cart-items {
    background: transparent
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 14px;
    margin-bottom: 16px;
    align-items: center
}

.cart-item-img {
    width: 120px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg,#eee6d2,#ddd3ba)
}

    .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.cart-item-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px
}

.cart-item-meta {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 14px
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(20,20,20,.14);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s,border .2s;
    display: grid;
    place-items: center
}

    .qty-btn:hover {
        border-color: var(--red);
        background: #fff
    }

.qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid rgba(20,20,20,.14);
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    font-weight: 600
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap
}

.cart-item-remove {
    cursor: pointer;
    color: var(--ink-soft);
    transition: color .2s;
    text-decoration: underline;
    font-size: 13px
}

    .cart-item-remove:hover {
        color: var(--red)
    }

.order-summary {
    background: #fff;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 100px
}

    .order-summary h2 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 24px;
        color: var(--ink)
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(20,20,20,.06);
    font-size: 15px;
    color: var(--ink-soft)
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink)
}

    .summary-total span:last-child {
        color: var(--red)
    }

.checkout-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 24px;
    transition: background .2s,transform .2s
}

    .checkout-btn:hover {
        background: var(--red);
        transform: translateY(-2px)
    }

@media (max-width:1024px) {
    .cart-grid {
        grid-template-columns: 1fr
    }

    .order-summary {
        position: relative;
        top: 0
    }
}

@media (max-width:768px) {
    .cart-page {
        padding: 36px 0 70px
    }

    .cart-empty-state {
        min-height: 400px;
        padding: 40px 20px
    }

    .empty-icon svg {
        width: 100px;
        height: 100px
    }

    .cart-empty-state h2 {
        font-size: 28px
    }

    .cart-empty-state p {
        font-size: 15px
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 16px
    }

    .cart-item-img {
        width: 90px;
        height: 110px
    }

    .order-summary {
        padding: 24px
    }
}

/* ============================================================
   FAVORITES PAGE
============================================================ */
.favorites-page {
    padding: 56px 0 96px;
    min-height: calc(100vh - 78px)
}

.favorites-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px,6vw,72px);
    letter-spacing: -1.5px;
    margin-bottom: 44px
}

/* Empty State */
.favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    padding: 60px 40px
}

    .favorites-empty .empty-icon {
        margin-bottom: 28px
    }

        .favorites-empty .empty-icon svg {
            width: 120px;
            height: 120px;
            color: var(--red);
            opacity: .3;
            stroke-width: 1.2
        }

    .favorites-empty h2 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 38px;
        color: var(--ink);
        margin-bottom: 14px;
        letter-spacing: -.5px
    }

    .favorites-empty p {
        font-size: 16px;
        color: var(--ink-soft);
        max-width: 480px;
        line-height: 1.7;
        margin-bottom: 32px
    }

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 34px 24px
}

.fav-card {
    position: relative
}

.fav-card-img {
    position: relative;
    aspect-ratio: 1/1.2;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg,#eee6d2,#ddd3ba);
    margin-bottom: 16px
}

    .fav-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--ease)
    }

.fav-card:hover .fav-card-img img {
    transform: scale(1.05)
}

.fav-heart-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.16);
    cursor: pointer;
    border: none;
    transition: transform .18s
}

    .fav-heart-btn:hover {
        transform: scale(1.09)
    }

    .fav-heart-btn svg {
        width: 20px;
        height: 20px;
        fill: var(--red);
        stroke: var(--red);
        stroke-width: 2
    }

.fav-card-info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline
}

.fav-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink)
}

.fav-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--red)
}

.fav-add-btn {
    width: 100%;
    height: 46px;
    margin-top: 12px;
    border: none;
    border-radius: 11px;
    background: #141414;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s,transform .2s
}

    .fav-add-btn:hover {
        background: var(--red);
        transform: translateY(-2px)
    }

@media (max-width:1024px) {
    .favorites-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:768px) {
    .favorites-page {
        padding: 36px 0 70px
    }

    .favorites-empty {
        min-height: 400px;
        padding: 40px 20px
    }

        .favorites-empty .empty-icon svg {
            width: 100px;
            height: 100px
        }

        .favorites-empty h2 {
            font-size: 28px
        }

        .favorites-empty p {
            font-size: 15px
        }

    .favorites-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 24px 16px
    }
}

@media (max-width:460px) {
    .favorites-grid {
        grid-template-columns: 1fr
    }
}

/* ============================================================
   SEARCH MODAL
============================================================ */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(3px)
}

    .search-modal.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
        animation: fadeIn .2s
    }

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.search-modal-content {
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    overflow: hidden
}

.search-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(20,20,20,.08);
    display: flex;
    justify-content: space-between;
    align-items: center
}

    .search-modal-header h2 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 20px;
        color: var(--ink)
    }

.search-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    transition: color .2s
}

    .search-modal-close:hover {
        color: var(--ink)
    }

    .search-modal-close svg {
        width: 20px;
        height: 20px
    }

.search-modal-body {
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto
}

.search-modal-input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(20,20,20,.12);
    border-radius: 14px;
    padding: 0 20px;
    font-size: 16px;
    font-family: inherit;
    margin-bottom: 24px;
    transition: border-color .2s,box-shadow .2s
}

    .search-modal-input:focus {
        outline: none;
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(196,35,30,.1)
    }

.search-modal-results {
    display: grid;
    gap: 12px
}

.search-modal-item {
    padding: 16px;
    border: 1px solid rgba(20,20,20,.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s
}

    .search-modal-item:hover {
        background: rgba(20,20,20,.02);
        border-color: var(--red)
    }

.search-modal-item-name {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px
}

.search-modal-item-meta {
    font-size: 13px;
    color: var(--ink-soft)
}

.search-modal-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-soft)
}

    .search-modal-empty svg {
        width: 60px;
        height: 60px;
        opacity: .3;
        margin-bottom: 12px
    }

@media (max-width:768px) {
    .search-modal {
        padding-top: 40px
    }

    .search-modal-content {
        width: 95%;
        max-width: none;
        border-radius: 16px
    }

    .search-modal-header {
        padding: 16px 20px
    }

    .search-modal-body {
        padding: 20px;
        max-height: 70vh
    }
}

/* ============================================================
   SHOP CATEGORY PAGES (tshirts / pants / shirts)
   ����� ����� (scp = shop-category-page) ���� �� ������ �� categories.html
============================================================ */
.scp-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 56px;
    overflow: hidden
}

    .scp-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .scp-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,rgba(20,20,20,.62),rgba(196,35,30,.42))
    }

.scp-hero-inner {
    position: relative;
    z-index: 2
}

.scp-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px
}

.scp-title {
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1
}

@media (max-width:768px) {
    .scp-hero {
        height: 200px;
        margin-bottom: 36px
    }

    .scp-title {
        font-size: 34px
    }
}

.scp-layout {
    padding: 0 0 90px
}

.scp-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 44px;
    align-items: start
}

/* ������� */
.scp-filters {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(20,20,20,.08);
    box-shadow: 0 10px 30px rgba(20,20,20,.05)
}

.scp-filters-head {
    display: flex;
    justify-content: space-between;
    align-items: center
}

    .scp-filters-head h2 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 17px;
        color: var(--ink);
        margin: 0
    }

.scp-clear {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--red);
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .3px;
    transition: opacity .2s
}

    .scp-clear:hover {
        opacity: .65
    }

.scp-fgroup {
    display: flex;
    flex-direction: column;
    gap: 13px
}

.scp-ftitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink-soft);
    letter-spacing: 1px;
    margin: 0
}

.scp-search {
    position: relative;
    display: flex;
    align-items: center
}

    .scp-search svg {
        position: absolute;
        left: 12px;
        width: 16px;
        height: 16px;
        color: var(--ink-soft);
        pointer-events: none
    }

    .scp-search input {
        width: 100%;
        height: 42px;
        border: 1px solid rgba(20,20,20,.14);
        border-radius: 11px;
        padding: 0 12px 0 38px;
        font-size: 14px;
        font-family: inherit;
        transition: border-color .2s,box-shadow .2s
    }

        .scp-search input:focus {
            outline: none;
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(196,35,30,.08)
        }

.scp-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .scp-colors input {
        display: none
    }

    .scp-colors label {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
        border: 2px solid transparent;
        box-shadow: 0 2px 8px rgba(0,0,0,.12);
        transition: transform .18s,border-color .18s;
        position: relative
    }

        .scp-colors label:hover {
            transform: scale(1.1)
        }

    .scp-colors input:checked + label {
        border-color: var(--ink);
        transform: scale(1.12)
    }

        .scp-colors input:checked + label::after {
            content: "?";
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            color: #fff;
            font-size: 14px;
            font-weight: 800;
            text-shadow: 0 1px 3px rgba(0,0,0,.6)
        }

.scp-sizes, .scp-avail {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

    .scp-sizes input, .scp-avail input {
        display: none
    }

    .scp-sizes label, .scp-avail label {
        padding: 9px 15px;
        border: 1px solid rgba(20,20,20,.16);
        border-radius: 9px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all .18s;
        user-select: none
    }

        .scp-sizes label:hover, .scp-avail label:hover {
            border-color: var(--ink)
        }

    .scp-sizes input:checked + label, .scp-avail input:checked + label {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink)
    }

.scp-price-val {
    font-weight: 700;
    color: var(--red)
}

.scp-slider {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(20,20,20,.12);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin-top: 4px
}

    .scp-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--red);
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(196,35,30,.35)
    }

    .scp-slider::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--red);
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 8px rgba(196,35,30,.35)
    }

/* �������� */
.scp-products {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 400px
}

.scp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(20,20,20,.08)
}

.scp-count {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
    font-weight: 500
}

.scp-plist {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    align-items: start
}

.scp-card {
    display: flex;
    flex-direction: column;
    gap: 13px
}

    .scp-card.sold {
        opacity: .62
    }

.scp-media {
    position: relative;
    aspect-ratio: 3/3.7;
    background: #efefef;
    border-radius: 13px;
    overflow: hidden
}

    .scp-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s var(--ease)
    }

.scp-card:hover .scp-media img {
    transform: scale(1.05)
}

.scp-sold-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--ink);
    color: #fff;
    padding: 6px 13px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    z-index: 2
}

.scp-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
    transition: transform .18s
}

    .scp-fav svg {
        width: 22px;
        height: 22px;
        stroke: var(--ink-soft);
        fill: none;
        stroke-width: 2;
        transition: all .2s
    }

    .scp-fav.active svg {
        fill: var(--red);
        stroke: var(--red)
    }

    .scp-fav:hover {
        transform: scale(1.1)
    }

.scp-add {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 44px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s var(--ease);
    z-index: 3
}

.scp-card:hover .scp-add {
    opacity: 1;
    transform: translateY(0)
}

.scp-add:hover {
    background: var(--red)
}

.scp-add.added {
    background: var(--red);
    opacity: 1;
    transform: translateY(0)
}

.scp-info {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.scp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px
}

.scp-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.3
}

.scp-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap
}

.scp-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.scp-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .18s,border-color .18s;
    box-shadow: 0 1px 4px rgba(0,0,0,.15)
}

    .scp-swatch:hover {
        transform: scale(1.18)
    }

    .scp-swatch.active {
        border-color: var(--ink);
        box-shadow: 0 0 0 2px #fff,0 0 0 3px var(--ink)
    }

.scp-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
    color: var(--ink-soft);
    font-size: 16px
}

/* ������: �� ����� ������� */
.scp-filter-toggle {
    display: none;
    width: 100%;
    height: 48px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px
}

    .scp-filter-toggle svg {
        width: 18px;
        height: 18px
    }

@media (max-width:1024px) {
    .scp-grid {
        grid-template-columns: 200px 1fr;
        gap: 30px
    }

    .scp-plist {
        grid-template-columns: repeat(2,1fr);
        gap: 22px
    }

    .scp-filters {
        padding: 20px
    }
}

@media (max-width:768px) {
    .scp-grid {
        grid-template-columns: 1fr;
        gap: 0
    }

    .scp-filter-toggle {
        display: flex
    }

    .scp-filters {
        position: relative;
        top: auto;
        margin-bottom: 26px;
        display: none
    }

        .scp-filters.open {
            display: flex
        }

    .scp-plist {
        grid-template-columns: repeat(2,1fr);
        gap: 16px
    }

    .scp-name {
        font-size: 14px
    }

    .scp-price {
        font-size: 14px
    }

    .scp-add {
        opacity: 1;
        transform: translateY(0);
        height: 40px;
        font-size: 13px
    }
}

@media (max-width:460px) {
    .scp-plist {
        grid-template-columns: 1fr
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE (product.html) � pdp
============================================================ */
.pdp {
    padding: 36px 0 90px
}

.pdp-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 32px;
    transition: color .2s
}

    .pdp-back:hover {
        color: var(--red)
    }

    .pdp-back svg {
        width: 18px;
        height: 18px
    }

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start
}

/* ������ (����) */
.pdp-gallery {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    align-items: start
}

.pdp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 610px;
    overflow-y: auto;
    padding-right: 4px
}

    .pdp-thumbs::-webkit-scrollbar {
        width: 5px
    }

    .pdp-thumbs::-webkit-scrollbar-thumb {
        background: rgba(20,20,20,.15);
        border-radius: 10px
    }

.pdp-thumb {
    width: 88px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    background: #efefef
}

    .pdp-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .pdp-thumb.active {
        border-color: var(--ink)
    }

.pdp-main-img {
    aspect-ratio: 1/1.15;
    border-radius: 16px;
    overflow: hidden;
    background: #efefef
}

    .pdp-main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

/* �������� (����) */
.pdp-info {
    display: flex;
    flex-direction: column
}

.pdp-name {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0 0 20px
}

.pdp-price-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px
}

.pdp-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--red)
}

.pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    color: #1a8a4a
}

    .pdp-stock::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #1a8a4a
    }

    .pdp-stock.out {
        color: var(--ink-soft)
    }

        .pdp-stock.out::before {
            background: var(--ink-soft)
        }

.pdp-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 34px;
    max-width: 90%
}

.pdp-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px
}

.pdp-colors {
    display: flex;
    gap: 14px;
    margin-bottom: 32px
}

.pdp-color {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .18s,border-color .18s;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    position: relative
}

    .pdp-color:hover {
        transform: scale(1.08)
    }

    .pdp-color.active {
        border-color: var(--ink);
        box-shadow: 0 0 0 2px #fff,0 0 0 4px var(--ink)
    }

.pdp-sizes {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap
}

.pdp-size {
    min-width: 64px;
    height: 52px;
    padding: 0 18px;
    border: 1.5px solid rgba(20,20,20,.18);
    border-radius: 50px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    display: grid;
    place-items: center
}

    .pdp-size:hover {
        border-color: var(--ink)
    }

    .pdp-size.active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink)
    }

    .pdp-size.unavailable {
        color: rgba(20,20,20,.35);
        border-color: rgba(20,20,20,.1);
        background: repeating-linear-gradient(135deg,#fff,#fff 4px,#f2efe6 4px,#f2efe6 8px);
        text-decoration: line-through;
    }

        .pdp-size.unavailable.active {
            background: rgba(20,20,20,.35);
            color: #fff;
            border-color: rgba(20,20,20,.35);
        }

.pdp-actions {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 40px;
    flex-wrap: wrap
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(20,20,20,.18);
    border-radius: 12px;
    overflow: hidden;
    height: 60px
}

    .pdp-qty button {
        width: 52px;
        height: 100%;
        font-size: 22px;
        color: var(--ink);
        display: grid;
        place-items: center;
        transition: background .2s
    }

        .pdp-qty button:hover {
            background: rgba(20,20,20,.05)
        }

    .pdp-qty input {
        width: 56px;
        height: 100%;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        border: none;
        outline: none;
        font-family: inherit;
        -moz-appearance: textfield
    }

        .pdp-qty input::-webkit-outer-spin-button, .pdp-qty input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0
        }

.pdp-addcart {
    flex: 1;
    min-width: 200px;
    height: 60px;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background .2s
}

    .pdp-addcart:hover {
        background: var(--red)
    }

    .pdp-addcart.added {
        background: var(--red)
    }

.pdp-save {
    height: 60px;
    padding: 0 24px;
    border: 1.5px solid rgba(20,20,20,.18);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    transition: all .2s
}

    .pdp-save svg {
        width: 20px;
        height: 20px;
        stroke: var(--ink);
        fill: none;
        stroke-width: 2;
        transition: all .2s
    }

    .pdp-save:hover {
        border-color: var(--red)
    }

    .pdp-save.active {
        border-color: var(--red);
        color: var(--red)
    }

        .pdp-save.active svg {
            fill: var(--red);
            stroke: var(--red)
        }

.pdp-meta {
    display: flex;
    gap: 52px;
    padding-top: 32px;
    border-top: 1px solid rgba(20,20,20,.1)
}

.pdp-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .pdp-meta-item .k {
        font-size: 13px;
        color: var(--ink-soft)
    }

    .pdp-meta-item .v {
        font-size: 16px;
        font-weight: 700;
        color: var(--ink)
    }

.pdp-notfound {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1/-1
}

    .pdp-notfound h2 {
        font-family: var(--font-display);
        font-size: 28px;
        margin-bottom: 12px
    }

    .pdp-notfound a {
        color: var(--red);
        font-weight: 600
    }

@media (max-width:900px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .pdp-name {
        font-size: 34px
    }

    .pdp-desc {
        max-width: 100%
    }

    .pdp-meta {
        gap: 32px
    }
}

@media (max-width:560px) {
    .pdp {
        padding: 20px 0 70px
    }

    .pdp-back {
        margin-bottom: 20px
    }

    .pdp-gallery {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .pdp-main-img {
        order: 1;
        aspect-ratio: 1/1.1
    }

    .pdp-thumbs {
        flex-direction: row;
        order: 2;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 4px
    }

    .pdp-thumb {
        width: 62px;
        height: 78px;
        flex: 0 0 auto
    }

    .pdp-name {
        font-size: 28px;
        margin-bottom: 14px
    }

    .pdp-price-row {
        gap: 12px;
        margin-bottom: 20px;
        flex-wrap: wrap
    }

    .pdp-price {
        font-size: 25px
    }

    .pdp-desc {
        font-size: 15px;
        margin-bottom: 26px
    }

    .pdp-colors {
        gap: 12px;
        margin-bottom: 24px
    }

    .pdp-sizes {
        margin-bottom: 28px
    }

    .pdp-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 32px
    }

    .pdp-qty {
        width: auto;
        height: 54px;
        flex: 0 0 auto
    }

        .pdp-qty button {
            width: 44px;
            flex: 0 0 auto
        }

        .pdp-qty input {
            width: 46px;
            flex: 0 0 auto
        }

    .pdp-addcart {
        flex: 1 1 0;
        min-width: 0;
        height: 54px
    }

    .pdp-save {
        width: 100%;
        min-width: 0;
        height: 52px;
        justify-content: center
    }

    .pdp-meta {
        flex-wrap: wrap;
        gap: 24px;
        padding-top: 24px
    }
}

/* �� View ��� ������ */
.scp-view, .pv-view {
    position: absolute;
    left: 14px;
    bottom: 64px;
    right: 14px;
    height: 40px;
    background: #fff;
    color: var(--ink);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: grid;
    place-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s var(--ease);
    z-index: 3;
    border: 1.5px solid rgba(20,20,20,.12)
}

.scp-card:hover .scp-view {
    opacity: 1;
    transform: translateY(0)
}

.scp-view:hover {
    border-color: var(--ink)
}
/* �� ������ sold out� �� ��� view ���� ���� ��� add */
.scp-card.sold .scp-view {
    bottom: 14px
}

/* ����� ������ (������ + �����) */
.scp-imglink {
    display: block;
    width: 100%;
    height: 100%
}

.scp-name a {
    color: inherit;
    transition: color .2s
}

    .scp-name a:hover {
        color: var(--red)
    }

/* ����� ���� ����� (shop.html) */
.p-imglink {
    display: block;
    width: 100%;
    height: 100%
}

.p-name a {
    color: inherit;
    transition: color .2s
}

    .p-name a:hover {
        color: var(--red)
    }

.p-view {
    position: absolute;
    left: 12px;
    bottom: 60px;
    right: 12px;
    height: 38px;
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s var(--ease);
    z-index: 3;
    border: 1.5px solid rgba(20,20,20,.12)
}

.p-card:hover .p-view {
    opacity: 1;
    transform: translateY(0)
}

.p-view:hover {
    border-color: var(--ink)
}

.p-card.sold .p-view {
    bottom: 12px
}

/* ============================================================
   ABOUT PAGE (about.html)
============================================================ */
.about-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden
}

    .about-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .about-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(20,20,20,.62)
    }

.about-hero-inner {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 760px
}

.about-eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0 0 26px
}

.about-hero-sub {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0
}

@media (max-width:768px) {
    .about-hero {
        min-height: 440px
    }

    .about-hero-title {
        font-size: 56px
    }

    .about-hero-sub {
        font-size: 16px
    }

        .about-hero-sub br {
            display: none
        }
}

/* Brand story */
.about-story {
    padding: 100px 0
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.about-story-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/4.5;
    background: #efefef
}

    .about-story-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.about-tag {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px
}

.about-h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin: 0 0 26px
}

.about-story-text p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0
}

@media (max-width:900px) {
    .about-story {
        padding: 64px 0
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-h2 {
        font-size: 34px
    }

    .about-story-text p {
        font-size: 16px
    }
}

/* Mission / Vision */
.about-mv {
    padding: 0 0 110px
}

.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px
}

.mv-card {
    border-radius: 20px;
    padding: 56px 48px
}

.mv-light {
    background: #f5f2ea
}

.mv-dark {
    background: var(--ink)
}

.mv-tag {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px
}

.mv-tag-gold {
    color: var(--gold)
}

.mv-title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0 0 18px
}

.mv-light .mv-title {
    color: var(--ink)
}

.mv-dark .mv-title {
    color: #fff
}

.mv-card p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0
}

.mv-light p {
    color: var(--ink-soft)
}

.mv-dark p {
    color: rgba(255,255,255,.8)
}

@media (max-width:900px) {
    .about-mv {
        padding: 0 0 70px
    }

    .about-mv-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .mv-card {
        padding: 40px 32px
    }

    .mv-title {
        font-size: 28px
    }
}

/* ===== TRENDING NOW SECTION ===== */
.trending-section {
    padding: 80px 0;
    background: #fff
}

    .trending-section h2 {
        font-family: var(--font-display);
        font-size: 42px;
        font-weight: 800;
        text-align: center;
        margin-bottom: 60px;
        color: var(--ink)
    }

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px
}

.trending-item {
    text-decoration: none;
    color: inherit;
    transition: transform .3s, box-shadow .3s;
    border-radius: 12px;
    overflow: hidden;
    display: block
}

    .trending-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12)
    }

.trending-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 8px
}

    .trending-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

.trending-item:hover .trending-img img {
    transform: scale(1.05)
}

.trending-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--ink);
    line-height: 1.3
}

.trending-item .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    display: block
}

@media (max-width:1024px) {
    .trending-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px
    }
}

@media (max-width:768px) {
    .trending-section {
        padding: 60px 0
    }

        .trending-section h2 {
            font-size: 32px;
            margin-bottom: 40px
        }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }
}

@media (max-width:480px) {
    .trending-grid {
        grid-template-columns: 1fr
    }
}

/* ============================================================
   CHECKOUT PAGE (checkout.html)
============================================================ */
.checkout-main {
    padding: 40px 0 90px;
    min-height: 70vh
}

.checkout-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap
}

.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color .2s
}

    .checkout-back:hover {
        color: var(--red)
    }

    .checkout-back svg {
        width: 18px;
        height: 18px
    }

.checkout-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--ink);
    margin: 0
}

/* Two-column grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start
}

/* LEFT: form */
.checkout-section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 24px
}

.ck-field {
    margin-bottom: 22px
}

    .ck-field label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--ink);
        margin-bottom: 8px
    }

.ck-req {
    color: var(--red)
}

.ck-optional {
    color: var(--ink-soft);
    font-weight: 400;
    font-size: 13px
}

.ck-field input, .ck-field textarea, .ck-field select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e3ddd0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s,box-shadow .2s;
    outline: none
}

    .ck-field input:focus, .ck-field textarea:focus, .ck-field select:focus {
        border-color: var(--ink);
        box-shadow: 0 0 0 3px rgba(20,20,20,.06)
    }

    .ck-field input::placeholder, .ck-field textarea::placeholder {
        color: #b3ab9c
    }

.ck-field textarea {
    resize: vertical;
    min-height: 80px
}

.ck-field input.invalid, .ck-field select.invalid {
    border-color: var(--red)
}

.ck-select-wrap {
    position: relative
}

    .ck-select-wrap::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--ink-soft);
        border-bottom: 2px solid var(--ink-soft);
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none
    }

.ck-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px
}

.ck-error {
    display: none;
    color: var(--red);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500
}

    .ck-error.show {
        display: block
    }

/* RIGHT: sticky summary */
.checkout-summary-col {
    position: sticky;
    top: 100px
}

.checkout-summary {
    background: #f7f3ea;
    border-radius: 18px;
    padding: 32px 28px
}

.ck-items {
    margin-bottom: 22px;
    max-height: 320px;
    overflow-y: auto
}

.ck-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e1d3
}

    .ck-item:last-child {
        border-bottom: none
    }

.ck-item-img {
    position: relative;
    width: 56px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #efe9dc
}

    .ck-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.ck-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    padding: 0 5px
}

.ck-item-info {
    flex: 1;
    min-width: 0
}

.ck-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.ck-item-meta {
    font-size: 12px;
    color: var(--ink-soft);
    text-transform: capitalize;
    margin-top: 2px
}

.ck-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap
}

.ck-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: var(--ink-soft)
}

    .ck-line span:last-child {
        font-weight: 600;
        color: var(--ink)
    }

.ck-total {
    border-top: 2px solid var(--ink);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 19px
}

    .ck-total span {
        font-weight: 800 !important;
        color: var(--ink) !important;
        font-family: var(--font-display)
    }

.ck-place-btn {
    width: 100%;
    margin-top: 22px;
    padding: 16px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s,transform .15s
}

    .ck-place-btn:hover:not(:disabled) {
        background: var(--red)
    }

    .ck-place-btn:active:not(:disabled) {
        transform: scale(.98)
    }

    .ck-place-btn:disabled {
        opacity: .7;
        cursor: not-allowed
    }

.ck-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--ink-soft)
}

    .ck-secure svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0
    }

/* Empty state */
.checkout-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 80px 20px;
    text-align: center
}

    .checkout-empty p {
        font-size: 18px;
        color: var(--ink-soft);
        margin: 0
    }

.checkout-shop-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    transition: background .2s
}

    .checkout-shop-btn:hover {
        background: var(--red)
    }

/* Success state */
.checkout-success {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 70px 20px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto
}

.ck-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e9c4d;
    display: grid;
    place-items: center;
    margin-bottom: 6px
}

    .ck-success-icon svg {
        width: 40px;
        height: 40px
    }

.checkout-success h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
    margin: 0
}

.checkout-success p {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0
}

/* Responsive */
@media (max-width:900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .checkout-summary-col {
        position: static;
        order: -1
    }

    .checkout-title {
        font-size: 32px
    }

    .checkout-summary {
        padding: 26px 22px
    }
}

@media (max-width:560px) {
    .checkout-main {
        padding: 28px 0 60px
    }

    .checkout-head {
        gap: 14px;
        margin-bottom: 26px
    }
}
