/* ===== CHOC — shared stylesheet ===== */

/* Soft cross-fade between pages (Home / Featured / Classic / Gym / Embroidery).
   Progressive enhancement: browsers without support just navigate normally. */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .45s;
    animation-timing-function: cubic-bezier(.2,.7,.2,1);
}

:root {
    --white: #ffffff;
    --bone: #ffffff;
    --grey-100: #e3e3e1;
    --grey-300: #b8b8b6;
    --grey-500: #7a7a78;
    --grey-700: #4a4a48;
    /* Navy stands in for black everywhere on the site. */
    --ink: #2B4270;
    --gold: #D98CB3;
    --gold-light: #EDC2DC;
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

/* Subtle radial gold glow background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(184,150,90,.08), transparent 55%),
      radial-gradient(circle at 80% 75%, rgba(184,150,90,.05), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* Fine grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,.012) 0px,
            rgba(0,0,0,.012) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    z-index: 1;
}

.page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 40px 48px;
}
/* Lookbook has 4 top-level sections instead of the usual 3 (header/hero/
   content/footer), so the shared auto-1fr-auto rows would hand the hero
   section the flexible row instead of the book. Give the book that row. */
.page--lookbook { grid-template-rows: auto auto 1fr auto; }

/* Closed-for-now homepage: blurred product grid sitting behind everything */
.closed-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('back soon bg.png') center / cover no-repeat;
    filter: blur(7px);
    transform: scale(1.15);
    opacity: .4;
    pointer-events: none;
}

/* ===== SITE HEADER / NAV ===== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-bottom: 6px;
}
.top-bar .gold-text { color: var(--gold); }

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    row-gap: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.brand-mark img {
    height: 30px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.site-nav a {
    font-size: 10.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--grey-500);
    text-decoration: none;
    font-weight: 500;
    transition: color .25s var(--ease);
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.header-right {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-shrink: 0;
}
.header-right .est {
    font-size: 10.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--grey-500);
    font-weight: 500;
    white-space: nowrap;
}

.cart-btn {
    background: none;
    border: 0;
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--grey-500);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .25s var(--ease);
}
.cart-btn:hover { color: var(--ink); }
.cart-count {
    background: var(--gold);
    color: var(--white);
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    letter-spacing: 0;
    padding: 0 5px;
}

/* ===== HOME HERO ===== */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 36px;
    padding: 40px 20px;
}

.logo-wrap {
    opacity: 0;
    transform: translateY(20px);
    animation: rise 1.1s var(--ease) .1s forwards;
}
.logo-wrap img {
    width: 220px;
    max-width: 60vw;
    height: auto;
    display: block;
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: rise 1.1s var(--ease) .35s forwards;
}
.divider .line {
    width: 60px;
    height: 1px;
    background: var(--grey-300);
}
.divider .diamond {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 0;
}

.brand-name {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.05;
    letter-spacing: .02em;
    color: var(--ink);
    opacity: 0;
    animation: rise 1.1s var(--ease) .5s forwards;
}
.brand-name .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.tagline {
    font-size: 11px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--grey-500);
    font-weight: 500;
    opacity: 0;
    animation: rise 1.1s var(--ease) .7s forwards;
}

.hero-socials {
    display: flex;
    gap: 28px;
    opacity: 0;
    animation: rise 1.1s var(--ease) .85s forwards;
}
.hero-socials a {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--grey-500);
    text-decoration: none;
    transition: color .25s var(--ease);
}
.hero-socials a:hover { color: var(--gold); }

@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== COLLECTION TILES (home page navigation into the collections) ===== */
.collection-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 10px auto 0;
    width: 100%;
    padding: 0 48px 60px;
    position: relative;
    z-index: 2;
}
.tile {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--white);
    border: 1px solid var(--grey-100);
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    animation: rise 1s var(--ease) forwards;
    transition: border-color .3s var(--ease), transform .35s var(--ease);
}
.tile:hover { border-color: var(--gold); transform: translateY(-3px); }

/* Corner brackets — draw in on hover, like a museum placard or viewfinder */
.tile::before {
    content: '';
    position: absolute;
    inset: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s var(--ease), inset .35s var(--ease);
    background:
        linear-gradient(to right, var(--gold) 1px, transparent 1px) top left / 16px 16px no-repeat,
        linear-gradient(to bottom, var(--gold) 1px, transparent 1px) top left / 16px 16px no-repeat,
        linear-gradient(to left, var(--gold) 1px, transparent 1px) top right / 16px 16px no-repeat,
        linear-gradient(to bottom, var(--gold) 1px, transparent 1px) top right / 16px 16px no-repeat,
        linear-gradient(to right, var(--gold) 1px, transparent 1px) bottom left / 16px 16px no-repeat,
        linear-gradient(to top, var(--gold) 1px, transparent 1px) bottom left / 16px 16px no-repeat,
        linear-gradient(to left, var(--gold) 1px, transparent 1px) bottom right / 16px 16px no-repeat,
        linear-gradient(to top, var(--gold) 1px, transparent 1px) bottom right / 16px 16px no-repeat;
}
.tile:hover::before { opacity: 1; inset: 12px; }
.tile:nth-child(1) { animation-delay: .85s; }
.tile:nth-child(2) { animation-delay: .95s; }
.tile:nth-child(3) { animation-delay: 1.05s; }
.tile:nth-child(4) { animation-delay: 1.15s; }
.tile-inner {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 12px; padding: 24px;
}
.tile-eyebrow {
    font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
}
.tile-name {
    font-family: var(--serif); font-size: clamp(20px, 2.3vw, 27px);
    font-weight: 300; color: var(--ink); letter-spacing: .01em;
}
.tile-cta {
    font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--grey-500); transition: color .25s var(--ease);
    margin-top: 4px;
}
.tile:hover .tile-cta { color: var(--gold); }

/* ===== COLLECTION PAGE HERO (title + rule, used on every collection page) ===== */
.page-hero {
    text-align: center;
    padding: 70px 20px 20px;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.page-hero .eyebrow {
    font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.page-hero h1 {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(32px, 5vw, 50px); color: var(--ink);
    letter-spacing: .01em; margin-bottom: 26px;
}
.page-hero .rule {
    width: 48px; height: 1px; background: var(--gold);
    margin: 0 auto 30px; opacity: .75;
}
.page-hero p {
    font-size: 13.5px; line-height: 1.9; color: var(--grey-700);
}
/* Tighter variant for pages where the content below needs the room (e.g. the lookbook) */
.page-hero.compact { padding: 28px 20px 6px; }
.page-hero.compact .eyebrow { margin-bottom: 10px; }
.page-hero.compact h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.page-hero.compact .rule { margin-bottom: 14px; }

/* ===== EMPTY / COMING SOON STATE (collection pages before products are added) ===== */
.empty-state {
    text-align: center;
    padding: 30px 20px 110px;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.empty-state .coming-soon {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(19px, 2.2vw, 24px);
    color: var(--grey-700);
    letter-spacing: .01em;
    margin-bottom: 16px;
}
.empty-state .coming-soon .accent {
    color: var(--gold);
    font-style: normal;
}
.empty-state .note {
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--grey-500);
    line-height: 1.8;
}
.empty-state .note a { color: var(--gold); text-decoration: none; }
.empty-state .note a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--grey-500);
    font-weight: 500;
}
footer .socials { display: flex; gap: 26px; }
footer a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
footer a:hover { color: var(--gold); }

/* ===== COLLECTION (product grid — used once products are added to a page) ===== */
.collection {
    position: relative;
    z-index: 2;
    padding: 40px 48px 90px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.collection-head {
    text-align: center;
    margin-bottom: 50px;
}
.collection-head h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: .02em;
    color: var(--ink);
}
.collection-head .rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 18px auto 0;
}
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
/* Wider row that fits 4 items at the same image size as the 3-up rows */
.collection.wide { max-width: 1580px; }
.collection.wide .products { grid-template-columns: repeat(4, 1fr); }
.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--white);
    border: 1px solid var(--grey-100);
    cursor: zoom-in;
}
.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}
/* Products with only front/back shots (no left/right angle available) */
.thumbs.thumbs-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--white);
    border: 1px solid var(--grey-100);
    cursor: pointer;
    opacity: .6;
    transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.thumb:hover { opacity: 1; }
.thumb.active {
    opacity: 1;
    border-color: var(--gold);
}
.product-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-top: 20px;
    letter-spacing: .01em;
}
.product-price {
    font-size: 13px;
    letter-spacing: .14em;
    color: var(--grey-700);
    margin-top: 6px;
}
.add-btn {
    margin-top: 18px;
    padding: 13px 32px;
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease);
}
.add-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ===== SIZE MODAL ===== */
.size-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 27, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.size-overlay.open { opacity: 1; visibility: visible; }
.size-modal {
    background: var(--bone);
    width: min(420px, 100%);
    padding: 40px 36px 36px;
    text-align: center;
    position: relative;
    transform: translateY(14px);
    transition: transform .35s var(--ease);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.size-overlay.open .size-modal { transform: translateY(0); }
.size-modal .close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: 0;
    font-size: 22px;
    line-height: 1;
    color: var(--grey-500);
    cursor: pointer;
    transition: color .25s var(--ease);
}
.size-modal .close:hover { color: var(--ink); }
.size-modal .eyebrow {
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.size-modal h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 28px;
    color: var(--ink);
    margin-top: 8px;
}
.size-modal .prompt {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin: 22px 0 16px;
}
.size-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
/* Products with a size range other than the standard 5 (e.g. XS-2XL) */
.size-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.size-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.size-grid button {
    padding: 14px 0;
    background: var(--white);
    border: 1px solid var(--grey-300);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--ink);
    cursor: pointer;
    transition: all .25s var(--ease);
}
.size-grid button:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}
.size-grid button.selected {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.size-confirm {
    margin-top: 22px;
    width: 100%;
    padding: 15px 0;
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.size-confirm:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
}
.size-confirm:disabled {
    opacity: .35;
    cursor: not-allowed;
}
@media (max-width: 420px) {
    .size-grid,
    .size-grid.cols-6,
    .size-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== IMAGE LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 27, .82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: min(90vw, 900px);
    max-height: 90vh;
    object-fit: contain;
    background: var(--white);
    transform: scale(.96);
    transition: transform .35s var(--ease);
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
    position: fixed;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity .25s var(--ease), color .25s var(--ease);
}
.lightbox-close:hover { opacity: 1; color: var(--gold-light); }

/* ===== INFO MODALS (Sizing / Materials / Terms) ===== */
.info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 27, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.info-overlay.open { opacity: 1; visibility: visible; }
.info-modal {
    background: var(--bone);
    width: min(680px, 100%);
    max-height: 86vh;
    overflow-y: auto;
    padding: 48px 46px 44px;
    position: relative;
    text-align: left;
    transform: translateY(14px);
    transition: transform .35s var(--ease);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.info-overlay.open .info-modal { transform: translateY(0); }
.info-modal .close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: 0;
    font-size: 24px;
    line-height: 1;
    color: var(--grey-500);
    cursor: pointer;
    transition: color .25s var(--ease);
}
.info-modal .close:hover { color: var(--ink); }
.info-modal .eyebrow {
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.info-modal h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 30px;
    color: var(--ink);
    margin: 8px 0 4px;
}
.info-modal h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 20px;
    color: var(--ink);
    margin: 28px 0 10px;
}
.info-modal p,
.info-modal li {
    font-size: 13px;
    line-height: 1.7;
    color: var(--grey-700);
    font-weight: 300;
}
.info-modal p { margin-bottom: 10px; }
.info-modal ul { margin: 0 0 10px 18px; }
.info-modal li { margin-bottom: 4px; }
.info-modal strong { font-weight: 500; color: var(--ink); }
.info-modal a { color: var(--gold); text-decoration: none; }
.info-modal a:hover { text-decoration: underline; }
.info-modal .note {
    background: var(--white);
    border-left: 2px solid var(--gold);
    padding: 12px 16px;
    margin: 14px 0;
    font-size: 12.5px;
}
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 4px;
    font-size: 12.5px;
}
.size-table th,
.size-table td {
    border: 1px solid var(--grey-100);
    padding: 8px 10px;
    text-align: center;
    color: var(--grey-700);
    font-weight: 300;
}
.size-table th {
    background: var(--white);
    color: var(--ink);
    font-weight: 500;
    letter-spacing: .04em;
}
.size-cap {
    font-size: 11px;
    color: var(--grey-500);
    margin-top: 6px;
    font-style: italic;
}
@media (max-width: 640px) {
    .info-modal { padding: 40px 24px 32px; }
    .size-table th, .size-table td { padding: 6px 5px; font-size: 11px; }
}

/* ===== CART DRAWER ===== */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(28,28,27,.35);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1000;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%;
    width: 420px; max-width: 90vw;
    background: var(--bone);
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 1001;
    display: flex; flex-direction: column;
    font-family: 'Inter', sans-serif;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 28px 18px;
    border-bottom: 1px solid var(--grey-100);
}
.cart-drawer__head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300; font-size: 26px; letter-spacing: .02em;
    color: var(--ink); margin: 0;
}
.cart-drawer__close {
    background: none; border: 0; font-size: 26px; line-height: 1;
    color: var(--ink); cursor: pointer;
}
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 12px 28px; }
.cart-empty {
    color: var(--grey-500); font-size: 13px; text-align: center;
    padding: 60px 0; letter-spacing: .04em;
}
.cart-line {
    display: flex; gap: 14px; padding: 18px 0;
    border-bottom: 1px solid var(--grey-100);
}
.cart-line img {
    width: 64px; height: 64px; object-fit: cover;
    background: var(--white); border: 1px solid var(--grey-100); flex-shrink: 0;
}
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name {
    font-size: 13px; color: var(--ink); font-weight: 500;
    letter-spacing: .02em; margin: 0 0 4px;
}
.cart-line__size {
    font-size: 11px; color: var(--grey-500); letter-spacing: .1em;
    text-transform: uppercase; margin: 0 0 10px;
}
.cart-line__row { display: flex; align-items: center; justify-content: space-between; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--grey-300); }
.qty-stepper button {
    width: 26px; height: 26px; background: none; border: 0;
    font-size: 15px; color: var(--ink); cursor: pointer; line-height: 1;
}
.qty-stepper span { min-width: 26px; text-align: center; font-size: 12px; }
.cart-line__price { font-size: 13px; color: var(--ink); }
.cart-line__remove {
    background: none; border: 0; font-size: 10.5px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--grey-500); cursor: pointer;
    margin-top: 8px; padding: 0;
}
.cart-line__remove:hover { color: var(--ink); }
.cart-drawer__foot { padding: 20px 28px 28px; border-top: 1px solid var(--grey-100); }
.cart-subtotal {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 6px;
}
.cart-subtotal span:first-child {
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500);
}
.cart-subtotal span:last-child {
    font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--ink);
}
.cart-shipping {
    font-size: 11px; color: var(--grey-500); letter-spacing: .06em; margin-bottom: 18px;
}
.cart-checkout {
    width: 100%; padding: 16px; background: var(--gold); color: var(--white);
    border: 0; font-family: 'Inter', sans-serif; font-size: 11px;
    letter-spacing: .28em; text-transform: uppercase; cursor: pointer;
    transition: background .25s ease;
}
.cart-checkout:hover { background: #8e6f3d; }
.cart-checkout:disabled { background: var(--grey-300); cursor: not-allowed; }

/* ===== EMBEDDED CHECKOUT OVERLAY ===== */
.co-overlay {
    position: fixed; inset: 0; background: var(--bone);
    z-index: 2000; overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.co-overlay.open { opacity: 1; visibility: visible; }
.co-head {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 560px; margin: 0 auto; padding: 22px 24px 18px;
}
.co-back {
    background: none; border: 0; font-family: 'Inter', sans-serif;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--grey-500); cursor: pointer; transition: color .2s ease;
}
.co-back:hover { color: var(--ink); }
.co-title {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: 22px; color: var(--ink);
}
.co-spacer { width: 90px; }
#embedded-checkout {
    max-width: 560px; margin: 0 auto; padding: 8px 24px 60px;
}

/* ===== LOOKBOOK ===== */
.lookbook {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; padding: 0 24px 24px;
}
.lookbook-stage {
    position: relative;
    width: 100%;
    perspective: 2400px;
    perspective-origin: 50% 45%;
}
.lookbook-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--grey-300);
    background: var(--bone); color: var(--ink);
    font-size: 17px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s, opacity .2s;
    z-index: 30;
}
.lookbook-arrow.left { left: -6px; }
.lookbook-arrow.right { right: -6px; }
.lookbook-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.lookbook-arrow:disabled { opacity: .3; cursor: default; }
.lookbook-book {
    --paper: #f6f2e8;
    --paper-ink: #18140f;
    --paper-ink-soft: #5b5344;
    position: relative;
    width: min(100%, 1200px, calc(82vh * 1.4142));
    aspect-ratio: 1.4142;
    margin: 0 auto;
}

/* ---- closed cover: a single page, sits on its own, full-bleed image ---- */
.lb-cover-box {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    aspect-ratio: 0.7071;
    z-index: 5;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 40px 60px rgba(0,0,0,.45);
    transition: opacity .4s ease, transform .4s ease;
}
.lb-cover-box.is-hidden {
    opacity: 0; pointer-events: none;
    transform: translate(-50%, -50%) scale(.94);
}
.lb-cover-box img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- open spread: two facing pages ---- */
.lb-spread {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    opacity: 0;
    transition: opacity .4s ease;
    box-shadow: 0 40px 60px rgba(0,0,0,.45);
}
.lb-spread.is-visible { opacity: 1; }
.lb-spine {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 12px;
    margin-left: -6px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.35) 45%, rgba(0,0,0,.35) 55%, transparent);
    z-index: 10; pointer-events: none;
}
.lb-slot {
    position: absolute; top: 0; bottom: 0; width: 50%;
}
.lb-slot.left { left: 0; }
.lb-slot.right { left: 50%; }
.lb-flip {
    position: absolute; top: 0; bottom: 0; width: 50%;
    transform-style: preserve-3d;
    transition: transform .85s var(--ease);
    z-index: -1;
}
.lb-flip-fwd { left: 50%; transform-origin: left center; }
.lb-flip-back { left: 0; transform-origin: right center; }
.lb-face {
    position: absolute; inset: 0;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.lb-face.back { transform: rotateY(180deg); }

/* ---- page surfaces (shared by static slots and flipping faces) ---- */
.lb-paper, .lb-backcover {
    position: absolute; inset: 0;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: inset 3px 0 6px rgba(0,0,0,.08), 0 2px 14px rgba(0,0,0,.35);
    transition: box-shadow .85s;
}
.lb-flip.is-turning .lb-paper,
.lb-flip.is-turning .lb-backcover {
    box-shadow: inset 3px 0 6px rgba(0,0,0,.08), -14px 6px 22px rgba(0,0,0,.5);
}
.lb-paper { background: var(--paper); border-radius: 2px 6px 6px 2px; }
.lb-slot.left .lb-paper, .lb-flip-back .lb-paper { border-radius: 6px 2px 2px 6px; }

/* faint cream wash + hairline grain, laid over every photographic/scanned page */
.lb-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px),
        rgba(246,242,232,.16);
}

.lb-backcover {
    background: linear-gradient(160deg, #1b1712, #0f0d0a 60%);
    align-items: center; justify-content: center; text-align: center;
    gap: 14px; padding: 10% 8%; color: var(--paper);
}
.lb-backcover img { width: 26%; opacity: .9; }
.lb-backcover p {
    font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--gold-light); margin: 0;
}
.lb-backcover .lb-site {
    font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: #736a5b;
}

.lb-doc {
    background: #fff;
    align-items: center; justify-content: center;
}
.lb-doc img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lb-page { padding: 6% 6% 0; }
.lb-photo {
    position: relative;
    flex: 1; display: flex; align-items: center; justify-content: center;
    background: #ece6d6; border: 1px solid rgba(0,0,0,.06); overflow: hidden;
}
.lb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.lb-caption { padding: 5% 2% 6%; text-align: center; position: relative; }
.lb-caption .lb-num {
    font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.lb-caption .lb-name {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(12px, 3.2vw, 14px); color: var(--paper-ink); margin-top: 3px;
}
.lb-caption .lb-coll {
    font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-ink-soft); margin-top: 2px;
}
.lookbook-counter {
    font-size: 11px; letter-spacing: .12em; color: var(--grey-500);
    min-width: 58px; text-align: center; font-variant-numeric: tabular-nums;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .top-bar {
        flex-wrap: wrap;
        row-gap: 16px;
        justify-content: center;
    }
    .header-left {
        width: 100%;
        justify-content: center;
    }
    .site-nav {
        width: 100%;
        justify-content: center;
        gap: 22px;
    }
}
@media (max-width: 640px) {
    body { overflow-y: auto; }
    .page { padding: 24px 22px; gap: 32px; }
    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .logo-wrap img { width: 160px; }
    .collection { padding: 20px 22px 70px; }
    .products { grid-template-columns: 1fr; gap: 44px; }
    .collection.wide .products { grid-template-columns: 1fr; }
    .collection-tiles { grid-template-columns: 1fr; padding: 0 22px 50px; gap: 18px; }
    .collection-tiles .tile { aspect-ratio: 16 / 9; }
    .page-hero { padding: 46px 16px 10px; }
    .empty-state { padding: 26px 16px 80px; }
}

@media (min-width: 641px) and (max-width: 1100px) {
    .collection.wide .products { grid-template-columns: repeat(2, 1fr); }
    .collection-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 641px) and (max-width: 880px) {
    .product-name { font-size: 18px; }
    .add-btn { padding: 12px 20px; letter-spacing: .18em; }
}
