/* ============================================================
   ShopCart — Shopify Buy Button aesthetic
   Fonts: Fraunces (display) · DM Sans (body)
   ============================================================ */

/* ---------- RESET & TOKENS ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --c-bg:        #FAFAF8;
    --c-surface:   #FFFFFF;
    --c-ink:       #1A1A1A;
    --c-ink-muted: #6B6B6B;
    --c-border:    #E8E8E4;
    --c-accent:    #1A1A1A;
    --c-accent-fg: #FFFFFF;
    --c-sale:      #C0392B;
    --c-green:     #1A7F4B;

    --r-card:   12px;
    --r-btn:    6px;
    --shadow-card: 0 2px 12px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
    --shadow-drawer: -4px 0 40px rgba(0,0,0,.12);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --drawer-w: 400px;
    --header-h: 64px;
    --trans: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

/*body {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}*/

/* ---------- BUTTONS ---------- */
.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--r-btn);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--trans);
    text-decoration: none;
    white-space: nowrap;
}
.sc-btn--primary {
    background: var(--c-accent);
    color: var(--c-accent-fg);
    border-color: var(--c-accent);
}
.sc-btn--primary:hover { background: #333; border-color: #333; }
.sc-btn--outline {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-border);
}
.sc-btn--outline:hover { border-color: var(--c-ink); }
.sc-btn--full { width: 100%; }
.sc-btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- HEADER ---------- */
.sc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(250,250,248,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
}
.sc-header__inner {
    max-width: 1280px;
    margin: auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}
.sc-header__logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--c-ink);
    text-decoration: none;
    letter-spacing: -.01em;
    margin-right: auto;
}
.sc-header__nav { display: flex; gap: 28px; }
.sc-header__nav a {
    font-size: 14px;
    color: var(--c-ink-muted);
    text-decoration: none;
    transition: color var(--trans);
}
.sc-header__nav a:hover { color: var(--c-ink); }
.sc-cart-trigger {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-ink);
    padding: 6px;
    display: flex;
    align-items: center;
    transition: opacity var(--trans);
}
.sc-cart-trigger:hover { opacity: .7; }
.sc-cart-trigger__count {
    position: absolute;
    top: -2px; right: -4px;
    background: var(--c-ink);
    color: var(--c-accent-fg);
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transform: scale(.6);
    transition: all var(--trans);
}
.sc-cart-trigger__count.visible {
    opacity: 1;
    transform: scale(1);
}

/* ---------- HERO ---------- */
.sc-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #F0EDE8;
}
.sc-hero__bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1469334031218-e382a71b716b?w=1400&q=80') center/cover no-repeat;
    opacity: .28;
}
.sc-hero__content {
    position: relative;
    max-width: 1280px;
    margin: auto;
    padding: 80px 32px;
}
.sc-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-ink-muted);
    margin-bottom: 16px;
}
.sc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 88px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.sc-hero__title em { font-style: italic; }
.sc-hero__sub {
    font-size: 17px;
    color: var(--c-ink-muted);
    margin-bottom: 36px;
    max-width: 360px;
}

/* ---------- SECTIONS ---------- */
.sc-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
}
.sc-section__head {
    margin-bottom: 40px;
}
.sc-section__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.sc-section__sub {
    margin-top: 8px;
    color: var(--c-ink-muted);
    font-size: 15px;
}

/* ---------- COLLECTION GRID CONTAINER ---------- */
/* This is the [collection="N"] div */
div[collection] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
div[collection].loading {
    min-height: 300px;
    position: relative;
}
div[collection].loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f0efed 25%, #e8e7e4 50%, #f0efed 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--r-card);
}
@keyframes shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ---------- PRODUCT CARD ---------- */
.sc-card {
    background: var(--c-surface);
    border-radius: var(--r-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--trans), box-shadow var(--trans);
    cursor: pointer;
}
.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
}

.sc-card__media {
    position: relative;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background: #F2F0EC;
}
.sc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.sc-card:hover .sc-card__img { transform: scale(1.04); }
.sc-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--c-sale);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
}
.sc-card__quick {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--trans);
}
.sc-card:hover .sc-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.sc-card__body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.sc-card__vendor {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink-muted);
    margin-bottom: 4px;
}
.sc-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.3;
    flex: 1;
    margin-bottom: 12px;
}
.sc-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.sc-card__price-current { font-weight: 500; font-size: 15px; }
.sc-card__price-current.sale { color: var(--c-sale); }
.sc-card__price-compare {
    font-size: 13px;
    color: var(--c-ink-muted);
    text-decoration: line-through;
}
.sc-card__add {
    width: 100%;
}

/* ---------- CART DRAWER ---------- */
.sc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--trans);
}
.sc-drawer-overlay.open { opacity: 1; pointer-events: all; }

.sc-drawer {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: var(--drawer-w);
    max-width: 95vw;
    background: var(--c-surface);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-drawer);
}
.sc-drawer.open { transform: translateX(0); }

.sc-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--c-border);
}
.sc-drawer__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.01em;
}
.sc-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-ink-muted);
    padding: 6px;
    border-radius: 6px;
    transition: all var(--trans);
}
.sc-drawer__close:hover { background: var(--c-border); color: var(--c-ink); }

.sc-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.sc-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 24px;
    color: var(--c-ink-muted);
    text-align: center;
}
.sc-drawer__empty p { font-size: 15px; }

/* Cart line item */
.sc-line {
    display: flex;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--c-border);
    align-items: flex-start;
    animation: slideIn .2s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}
.sc-line__img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: #F2F0EC;
    flex-shrink: 0;
}
.sc-line__info { flex: 1; min-width: 0; }
.sc-line__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sc-line__price {
    font-size: 13px;
    color: var(--c-ink-muted);
    margin-bottom: 10px;
}
.sc-line__controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--c-border);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}
.sc-line__qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    color: var(--c-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans);
}
.sc-line__qty-btn:hover { background: var(--c-bg); }
.sc-line__qty {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    border-left: 1.5px solid var(--c-border);
    border-right: 1.5px solid var(--c-border);
    line-height: 32px;
}
.sc-line__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.sc-line__total { font-size: 14px; font-weight: 500; }
.sc-line__remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-ink-muted);
    font-size: 12px;
    letter-spacing: .04em;
    text-decoration: underline;
    padding: 0;
    transition: color var(--trans);
}
.sc-line__remove:hover { color: var(--c-sale); }

.sc-drawer__footer {
    padding: 20px 24px 32px;
    border-top: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sc-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 500;
}
.sc-drawer__note {
    font-size: 12px;
    color: var(--c-ink-muted);
    text-align: center;
}

/* ---------- QUICK VIEW MODAL ---------- */
.sc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--trans);
}
.sc-modal-overlay.open { opacity: 1; pointer-events: all; }
.sc-modal {
    background: var(--c-surface);
    border-radius: 16px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(.95) translateY(8px);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.sc-modal-overlay.open .sc-modal { transform: scale(1) translateY(0); }
.sc-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--c-bg);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ink-muted);
    z-index: 1;
    transition: all var(--trans);
}
.sc-modal__close:hover { background: var(--c-border); color: var(--c-ink); }

.sc-modal__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.sc-modal__media {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
    background: #F2F0EC;
}
.sc-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-modal__info {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sc-modal__vendor {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink-muted);
}
.sc-modal__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.sc-modal__price {
    font-size: 20px;
    font-weight: 500;
}
.sc-modal__price .compare {
    font-size: 14px;
    color: var(--c-ink-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 10px;
}
.sc-modal__desc {
    font-size: 14px;
    color: var(--c-ink-muted);
    line-height: 1.7;
    flex: 1;
}

/* ---------- TOAST ---------- */
.sc-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--c-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.sc-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- MAIN WRAPPER ---------- */
.sc-main { min-height: 100vh; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
    :root { --drawer-w: 100vw; }
    .sc-header__inner { padding: 0 20px; }
    .sc-header__nav { display: none; }
    .sc-section { padding: 48px 20px; }
    div[collection] { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sc-modal__inner { grid-template-columns: 1fr; }
    .sc-modal__media { border-radius: 16px 16px 0 0; aspect-ratio: 4/3; }
    .sc-modal__info { padding: 24px; }
    .sc-hero__content { padding: 60px 20px; }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.co-wrap {
    display: grid;
    grid-template-columns: 640px 400px;
    justify-content: center;
    min-height: calc(100vh - var(--header-h));
    gap: 0;
}

/* ---- Left column ---- */
.co-form-col {
    padding: 56px 64px 80px 80px;
    border-right: 1px solid var(--c-border);
    max-width: 680px;
    width: 100%;
    justify-self: end;
    box-sizing: border-box;
}

.co-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-ink-muted);
    text-decoration: none;
    margin-bottom: 40px;
    transition: color var(--trans);
}
.co-back:hover { color: var(--c-ink); }

.co-section { margin-bottom: 40px; }
.co-section__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
}

.co-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.co-row--3 { grid-template-columns: 1fr 1fr 1fr; }

.co-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.co-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c-ink-muted);
}
.co-input {
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-btn);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--c-ink);
    background: var(--c-surface);
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
    width: 100%;
}
.co-input:focus {
    border-color: var(--c-ink);
    box-shadow: 0 0 0 3px rgba(26,26,26,.08);
}
.co-input[readonly] {
    background: var(--c-bg);
    color: var(--c-ink-muted);
    cursor: not-allowed;
}
.co-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.co-error {
    font-size: 12px;
    color: var(--c-sale);
    margin-top: 2px;
}
/* Highlight invalid fields */
.input-validation-error { border-color: var(--c-sale) !important; }

.co-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}
.co-submit {
    min-width: 180px;
}
.co-submit__spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.co-spin { animation: spin .7s linear infinite; }

/* ---- Right column: order summary ---- */
.co-summary-col {
    background: #F5F4F1;
    padding: 56px 48px 80px 48px;
}
.co-summary {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.co-summary__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -.01em;
    margin-bottom: 24px;
}
.co-summary__items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.co-summary__line {
    display: flex;
    align-items: center;
    gap: 14px;
}
.co-summary__img-wrap {
    position: relative;
    flex-shrink: 0;
}
.co-summary__img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--c-border);
    border: 1px solid var(--c-border);
}
.co-summary__qty {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--c-ink-muted);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.co-summary__line-info { flex: 1; min-width: 0; }
.co-summary__line-title {
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.co-summary__line-total { font-size: 14px; font-weight: 500; flex-shrink: 0; }
.co-summary__divider { height: 1px; background: var(--c-border); margin: 16px 0; }
.co-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--c-ink-muted);
    margin-bottom: 8px;
}
.co-summary__row--total {
    font-size: 17px;
    font-weight: 600;
    color: var(--c-ink);
    margin-top: 4px;
}
.co-summary__free { color: var(--c-green); font-weight: 500; }

/* ============================================================
   ORDER CONFIRMATION PAGE
   ============================================================ */

.conf-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 32px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Animated tick */
.conf-tick {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
}
.conf-tick__svg { width: 72px; height: 72px; }
.conf-tick__circle {
    stroke: var(--c-green);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawCircle .6s ease forwards;
}
.conf-tick__check {
    stroke: var(--c-green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck .4s ease .55s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }

.conf-eyebrow {
    font-size: 13px;
    color: var(--c-ink-muted);
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.conf-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.conf-sub {
    font-size: 15px;
    color: var(--c-ink-muted);
    max-width: 420px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Details card */
.conf-card {
    width: 100%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    margin-bottom: 36px;
}
.conf-card__section { padding: 24px 28px; }
.conf-card__heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-ink-muted);
    margin-bottom: 10px;
}
.conf-card__body { font-size: 14px; line-height: 1.8; color: var(--c-ink); }
.conf-card__divider { height: 1px; background: var(--c-border); }

.conf-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}
.conf-line__img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--c-border);
    flex-shrink: 0;
}
.conf-line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conf-line__title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conf-line__meta  { font-size: 12px; color: var(--c-ink-muted); }
.conf-line__total { font-size: 14px; font-weight: 500; flex-shrink: 0; }

.conf-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--c-ink-muted);
    margin-bottom: 8px;
}
.conf-total-row--grand {
    font-size: 17px;
    font-weight: 600;
    color: var(--c-ink);
    margin-top: 6px;
    margin-bottom: 0;
}
.conf-actions { display: flex; gap: 16px; }

/* ---- Checkout responsive ---- */
@media (max-width: 900px) {
    .co-wrap { grid-template-columns: 1fr; }
    .co-summary-col { order: -1; padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--c-border); }
    .co-summary { position: static; }
    .co-form-col { padding: 40px 24px 60px; max-width: 100%; justify-self: stretch; border-right: none; }
    .co-row--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .co-row, .co-row--3 { grid-template-columns: 1fr; }
    .co-actions { flex-direction: column; }
    .co-submit { width: 100%; }
}
