/* ==========================================================================
   NESTLY — Product (PDP) + Pre-order
   Extends styles.css — relies on its design tokens (:root) and shared
   components (.btn, .site-header, .trust-strip, .specs-*, .faq, .site-footer).
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    padding: var(--space-lg) 0 0;
    background: var(--bg);
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    font-size: 0.825rem;
    color: var(--ink-500);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--space-xs); }
.breadcrumb a { color: var(--ink-500); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--sage-700); }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 500; }
.breadcrumb .sep { color: var(--ink-300); }

/* ==========================================================================
   PDP — main two-column layout
   ========================================================================== */
.pdp {
    background: var(--bg);
    padding: var(--space-xl) 0 var(--space-3xl);
}

.pdp-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* ---------- Gallery ---------- */
.pdp-gallery {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.gallery-main {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--sage-100) 100%);
    box-shadow: var(--shadow-lg);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.35s var(--ease);
}

.gallery-swatch-dot {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem 0.45rem 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.gallery-swatch-dot .dot-chip {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gallery-tag {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: var(--ink-900);
    color: var(--cream-50);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}
.gallery-tag svg { width: 13px; height: 13px; }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50), var(--sage-100));
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
    padding: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--sage-600); }
.gallery-thumb:focus-visible { outline: 2px solid var(--sage-600); outline-offset: 2px; }

/* ==========================================================================
   BUY BOX
   ========================================================================== */
.buy-box { max-width: 520px; }

.buy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: var(--sage-50);
    color: var(--sage-700);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}
.buy-eyebrow .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage-400);
    box-shadow: 0 0 0 0 rgba(94, 137, 66, 0.5);
    animation: buy-pulse 2s infinite;
}
@keyframes buy-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(94, 137, 66, 0.45); }
    70%  { box-shadow: 0 0 0 7px rgba(94, 137, 66, 0); }
    100% { box-shadow: 0 0 0 0 rgba(94, 137, 66, 0); }
}

.buy-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: var(--space-sm);
}

.buy-sub {
    font-size: 1.05rem;
    color: var(--ink-500);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.buy-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    color: var(--ink-500);
}
.buy-rating .stars { color: var(--sage-500); letter-spacing: 0.12em; font-size: 0.95rem; }

/* ---------- Price ---------- */
.buy-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xs);
}
.price-now {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
.price-was {
    font-size: 1.1rem;
    color: var(--ink-300);
    text-decoration: line-through;
}
.price-save {
    padding: 0.25rem 0.6rem;
    background: var(--sage-100);
    color: var(--sage-700);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.price-note {
    font-size: 0.82rem;
    color: var(--ink-500);
    margin-bottom: var(--space-lg);
}

/* ---------- Option block (shared) ---------- */
.option-block { margin-bottom: var(--space-lg); }
.option-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}
.option-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-700);
}
.option-value { font-size: 0.9rem; color: var(--ink-900); font-weight: 500; }

/* ---------- Color swatches ---------- */
.swatch-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.swatch {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65), 0 2px 6px rgba(28, 31, 28, 0.12);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] {
    border-color: var(--ink-900);
    transform: translateY(-2px);
}
.swatch[aria-pressed="true"]::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--ink-300);
}
.swatch:focus-visible { outline: 2px solid var(--sage-600); outline-offset: 3px; }

/* ---------- Add-on toggle ---------- */
.addon {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.addon:hover { border-color: var(--sage-300); }
.addon.is-on { border-color: var(--sage-600); background: var(--sage-50); }
.addon-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 1.5px solid var(--ink-300);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.addon.is-on .addon-check { background: var(--sage-600); border-color: var(--sage-600); }
.addon-check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity 0.2s; }
.addon.is-on .addon-check svg { opacity: 1; }
.addon-body { flex: 1; min-width: 0; }
.addon-body strong { display: block; font-size: 0.95rem; color: var(--ink-900); font-weight: 600; }
.addon-body span { font-size: 0.85rem; color: var(--ink-500); }
.addon-price { font-weight: 600; color: var(--sage-700); font-size: 0.95rem; white-space: nowrap; }

/* ---------- Quantity + total row ---------- */
.qty-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    background: var(--bg-alt);
    overflow: hidden;
}
.qty-stepper button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ink-900);
    transition: background 0.2s;
}
.qty-stepper button:hover:not(:disabled) { background: var(--sage-100); }
.qty-stepper button:disabled { color: var(--ink-300); cursor: not-allowed; }
.qty-value {
    min-width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink-900);
}
.total-line { text-align: right; }
.total-line .total-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-500);
}
.total-line .total-amount {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--ink-900);
}

/* ---------- Primary actions ---------- */
.buy-actions { display: grid; gap: var(--space-sm); }
.btn-block { width: 100%; padding: 1.1rem 1.6rem; font-size: 1rem; }
.buy-actions .btn-primary { box-shadow: var(--shadow-md); }

.pay-later-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ink-500);
    line-height: 1.5;
    margin-top: var(--space-2xs);
}
.pay-later-note svg { width: 16px; height: 16px; color: var(--sage-600); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Reassurance row ---------- */
.reassure {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--ink-100);
}
.reassure-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--ink-700);
    line-height: 1.35;
}
.reassure-item svg { width: 22px; height: 22px; color: var(--sage-600); }

/* ==========================================================================
   IN THE BOX
   ========================================================================== */
.in-box { background: var(--sage-50); }
.box-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.box-item {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.box-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.box-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-50);
    border-radius: 14px;
    color: var(--sage-600);
}
.box-icon svg { width: 26px; height: 26px; }
.box-item h3 { font-size: 1rem; margin-bottom: var(--space-2xs); }
.box-item p { font-size: 0.85rem; color: var(--ink-500); line-height: 1.45; }

/* ==========================================================================
   LIFESTYLE — "Made for real life"
   ========================================================================== */
.lifestyle { background: var(--bg-alt); }

.lifestyle-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-3xl);
    align-items: center;
}

.lifestyle-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 2;
}
.lifestyle-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.lifestyle-caption {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}
.lifestyle-caption svg { width: 13px; height: 13px; color: var(--sage-600); }

.lifestyle-copy { max-width: 460px; }
.lifestyle-copy h2 { margin: var(--space-md) 0 var(--space-lg); }

.context-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}
.context-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: var(--bg);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--ink-700);
    font-weight: 500;
}
.context-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage-400);
    flex: 0 0 auto;
}

@media (max-width: 960px) {
    .lifestyle-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
    .lifestyle-copy { max-width: none; }
}

/* ==========================================================================
   HOW PRE-ORDER WORKS
   ========================================================================== */
.preorder-how { background: var(--bg); }
.how-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}
.how-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}
.how-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink-900);
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}
.how-card h3 { font-size: 1.15rem; margin-bottom: var(--space-xs); }
.how-card p { font-size: 0.92rem; color: var(--ink-500); line-height: 1.55; }
.how-card .when {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sage-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Honest positioning note ---------- */
.honest-note {
    margin-top: var(--space-2xl);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-xl);
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    border-radius: var(--radius-lg);
}
.honest-note .honest-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 12px;
    color: var(--sage-600);
}
.honest-note .honest-icon svg { width: 24px; height: 24px; }
.honest-note h4 { text-transform: none; letter-spacing: -0.01em; font-size: 1.05rem; color: var(--ink-900); margin-bottom: 4px; }
.honest-note p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.55; }

/* ==========================================================================
   STICKY MOBILE BUY BAR
   ========================================================================== */
.sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 0.7rem clamp(1rem, 4vw, 1.5rem);
    background: rgba(251, 249, 245, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--ink-100);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
    padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .sb-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-buy .sb-name { font-size: 0.8rem; color: var(--ink-500); }
.sticky-buy .sb-price { font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink-900); }
.sticky-buy .btn { flex: 0 0 auto; padding: 0.85rem 1.4rem; }

/* ==========================================================================
   PRE-ORDER DRAWER
   ========================================================================== */
.preorder-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 17, 9, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.preorder-overlay.is-open { opacity: 1; visibility: visible; }

.preorder-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    width: min(440px, 100vw);
    background: var(--bg);
    box-shadow: -20px 0 60px rgba(15, 17, 9, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overscroll-behavior: contain;
}
.preorder-drawer.is-open { transform: translateX(0); }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--ink-100);
    flex: 0 0 auto;
}
.drawer-head h2 { font-size: 1.3rem; font-weight: 400; }
.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-700);
    transition: background 0.2s;
}
.drawer-close:hover { background: var(--bg-alt); }
.drawer-close svg { width: 20px; height: 20px; }

.drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Order summary card inside drawer */
.summary-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}
.summary-product {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--ink-100);
}
.summary-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: var(--shadow-sm);
}
.summary-product .sp-name { font-weight: 600; color: var(--ink-900); font-size: 0.95rem; }
.summary-product .sp-meta { font-size: 0.82rem; color: var(--ink-500); }
.summary-product .sp-meta .sp-chip {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.summary-lines { display: flex; flex-direction: column; gap: var(--space-xs); }
.summary-lines .s-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--ink-700);
}
.summary-lines .s-row .free { color: var(--sage-700); font-weight: 600; }
.summary-lines .s-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--ink-100);
    font-weight: 600;
    color: var(--ink-900);
}
.summary-lines .s-total .amount { font-family: var(--font-serif); font-size: 1.3rem; }

.due-today {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--sage-50);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--sage-700);
    font-weight: 600;
}

/* Form */
.drawer-form { display: flex; flex-direction: column; gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.field label .opt { color: var(--ink-300); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input,
.field select {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink-900);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--sage-400);
    box-shadow: 0 0 0 3px rgba(94, 137, 66, 0.12);
    background: var(--bg);
}
.field input::placeholder { color: var(--ink-300); }
.field input[aria-invalid="true"] { border-color: #c0533f; }
.field .field-error {
    font-size: 0.78rem;
    color: #c0533f;
    display: none;
}
.field input[aria-invalid="true"] ~ .field-error { display: block; }

.consent {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--ink-500);
    line-height: 1.45;
}
.consent input { margin-top: 3px; accent-color: var(--sage-600); width: 16px; height: 16px; flex: 0 0 auto; }
.consent a { color: var(--sage-700); text-decoration: underline; }

.drawer-foot {
    flex: 0 0 auto;
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--ink-100);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.drawer-foot .foot-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.9rem;
    color: var(--ink-500);
}
.drawer-foot .foot-total strong { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink-900); font-weight: 400; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .secure-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--ink-500);
}
.drawer-foot .secure-line svg { width: 13px; height: 13px; color: var(--sage-600); }

/* Confirmation state */
.confirm {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}
.confirm-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sage-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-700);
    animation: confirm-pop 0.5s var(--ease);
}
@keyframes confirm-pop {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.confirm-check svg { width: 36px; height: 36px; }
.confirm h2 { font-size: 1.6rem; font-weight: 400; }
.confirm > p { font-size: 0.95rem; color: var(--ink-500); max-width: 32ch; }
.confirm-ref {
    width: 100%;
    margin-top: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-alt);
    border: 1px dashed var(--ink-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.confirm-ref .ref-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); }
.confirm-ref .ref-code { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink-900); letter-spacing: 0.02em; }
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--sage-700);
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.copy-btn:hover { background: var(--sage-50); }
.copy-btn svg { width: 14px; height: 14px; }

.confirm-next {
    width: 100%;
    text-align: left;
    margin-top: var(--space-xs);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.confirm-next li {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--ink-700);
    line-height: 1.45;
}
.confirm-next svg { width: 18px; height: 18px; color: var(--sage-600); flex: 0 0 auto; margin-top: 1px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .pdp-main { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .pdp-gallery { position: static; top: auto; }
    .buy-box { max-width: none; }
    .box-grid { grid-template-columns: repeat(3, 1fr); }
    .how-cards { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 640px) {
    .pdp { padding-top: var(--space-md); }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: var(--space-xs); }
    .box-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .honest-note { grid-template-columns: 1fr; gap: var(--space-md); text-align: left; }
    .reassure { gap: var(--space-sm); }
    .reassure-item { font-size: 0.72rem; }
    .sticky-buy { display: flex; }
    /* Give the page bottom room so the sticky bar never covers the footer */
    .site-footer { padding-bottom: calc(var(--space-xl) + 72px); }
    .preorder-drawer { width: 100vw; }
    .field-row { grid-template-columns: 1fr; }
    .buy-title { font-size: 1.9rem; }
}

@media (max-width: 400px) {
    .box-grid { grid-template-columns: 1fr 1fr; }
    .reassure { grid-template-columns: 1fr; gap: var(--space-xs); }
    .reassure-item { flex-direction: row; justify-content: flex-start; gap: var(--space-sm); text-align: left; }
}
