/* Amity Photography — public design system
   Editorial: warm cream breaks, crisp white content, watercolor-purple type,
   rose-red CTA accents — drawn straight from the logo's watercolor palette. */

:root {
    /* ── Core base colors ─────────────────────────────────────────── */
    --bg-white: #ffffff;
    --text-black: #1a1a1a;

    /* ── Amity logo color palette (brand source of truth) ─────────── */
    --amity-watercolor-purple: #7a5266;          /* logo bubble / headers / primary CTA */
    --amity-rose-red:          #b84a4c;          /* logo roses / CTA hover + accents */
    --amity-soft-cream:        #fdf5f2;          /* watercolor-paper section breaks */

    /* ── UI / utility colors ──────────────────────────────────────── */
    --amity-accent-light: #e5cfd5;               /* light frame borders */
    --amity-shadow: rgba(122, 82, 102, 0.15);    /* watercolor-purple soft shadow */

    /* Neutrals */
    --muted: #6b7280;
    --border-color: #e0e0e0;
    --line: var(--border-color);
    --gray-light: var(--amity-soft-cream);

    /* Brand gradient (watercolor purple → rose red) for the hero wordmark
       and nav underline — solid colors carry the CTAs per brand spec. */
    --grad: linear-gradient(135deg, var(--amity-watercolor-purple), var(--amity-rose-red));
    --grad-soft: linear-gradient(135deg, rgba(122,82,102,.10), rgba(184,74,76,.08));

    /* Semantic aliases mapped onto the brand palette so existing rules
       re-theme from the tokens above rather than any hard-coded hex. */
    --white:   var(--bg-white);
    --ink:     var(--text-black);
    --black:   #0a0a0a;
    --violet:  var(--amity-watercolor-purple);
    --fuchsia: var(--amity-accent-light);
    --magenta: var(--amity-rose-red);

    --maxw: 1200px;
    --header-h: 220px;                           /* full (un-scrolled) fixed-header height; drives page top-offsets */
    --radius: 14px;
    --gap-gallery: 36px;                         /* generous negative space */
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Space Grotesk', var(--font);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--amity-watercolor-purple); }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── Header / nav ─────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px;
    padding: 22px 24px 16px;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), padding .3s var(--ease), gap .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); padding: 12px 24px 10px; gap: 10px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; display: flex; align-items: center; justify-content: center; }
.brand img { height: 140px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 96px; }
.brand .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; gap: 34px; align-items: center; justify-content: center; }
.nav a { font-size: .95rem; font-weight: 500; position: relative; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--grad); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    font-family: var(--font);
}
.btn-primary { background: var(--amity-watercolor-purple); color: #fff; box-shadow: 0 8px 24px var(--amity-shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.btn-primary:hover { background: var(--amity-rose-red); transform: translateY(-2px); box-shadow: 0 14px 34px var(--amity-shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    position: relative; padding: 120px 24px 80px;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(60% 50% at 50% 0%, rgba(122,82,102,.12), transparent 70%),
                radial-gradient(50% 50% at 80% 90%, rgba(184,74,76,.10), transparent 70%);
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); margin-bottom: 22px; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); max-width: 620px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 110px 0; }
/* Warm cream break between sections — mimics the watercolor paper of the
   logo art, keeping main content areas on crisp white. */
.section--tint { background: var(--amity-soft-cream); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ── Album / photo grids ──────────────────────────────────────── */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.album-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4/5; background: var(--amity-soft-cream); cursor: pointer;
    border: 1px solid transparent;
    box-shadow: 0 6px 20px var(--amity-shadow);
    transition: box-shadow .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px var(--amity-shadow); border-color: var(--amity-accent-light); }
.album-card:hover img { transform: scale(1.06); }
.album-card .meta h3 { color: #fff; }
.album-card .meta {
    position: absolute; inset: auto 0 0 0; padding: 26px 22px 20px; color: #fff;
    background: linear-gradient(to top, rgba(10,10,20,.78), transparent);
}
.album-card .meta h3 { font-size: 1.3rem; }
.album-card .meta span { font-size: .85rem; opacity: .85; }
.album-card .badge {
    position: absolute; top: 14px; left: 14px; background: var(--grad); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px;
}

/* ── Editorial masonry gallery ─────────────────────────────────────
   Robust CSS-Grid masonry. A tiny base row unit (--row) plus a per-tile
   `grid-row-end: span N` (computed in gallery.js from each image's height)
   packs the grid tightly while keeping columns crisply aligned. Landscape
   frames span two columns for an asymmetric, editorial rhythm. The large
   --gap-gallery gives the layout lots of breathing room. Degrades to a
   single readable column on phones. */
.masonry {
    --row: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: var(--row);
    grid-auto-flow: row dense;
    column-gap: var(--gap-gallery);
    row-gap: 0;            /* vertical spacing comes from each tile's padding so
                              gaps stay uniform regardless of row-span rounding */
    align-items: start;
}
/* The bottom padding IS the vertical gutter; it's measured into the row span
   so columns pack with even, generous whitespace. */
.masonry .tile { grid-row-end: span 60; padding-bottom: var(--gap-gallery); }
.masonry .tile--wide { grid-column: span 2; }
.masonry .tile .frame {
    border-radius: 12px; overflow: hidden; background: var(--amity-soft-cream);
    border: 1px solid transparent;
    transition: box-shadow .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.masonry .tile .frame img { width: 100%; display: block; transition: transform .8s var(--ease); }
.masonry .tile:hover .frame { box-shadow: 0 18px 40px var(--amity-shadow); border-color: var(--amity-accent-light); transform: translateY(-4px); }
.masonry .tile:hover .frame img { transform: scale(1.04); }
/* Story caption directly below the frame — clean, minimalist, black. */
.masonry .tile .tile-cap {
    padding: 14px 2px 0; font-size: .92rem; font-weight: 500;
    letter-spacing: -.01em; color: var(--text-black); line-height: 1.45;
}

/* ── Justified-rows gallery (homepage showcase) ───────────────────
   Flickr/Lightroom-style contact sheet: every row is the same height,
   image widths vary to preserve aspect ratio, tight uniform gaps, the
   block runs nearly edge-to-edge. gallery.js measures each image and
   sets the exact per-tile width/height; the CSS flex defaults keep a
   sane uniform grid if the JS never runs. */
.gallery-wide { max-width: 1640px; margin: 0 auto; padding: 0 24px; }
.justified {
    --jg-gap: 12px;
    display: flex; flex-wrap: wrap; gap: var(--jg-gap);
    align-items: flex-start;
}
.justified .tile {
    /* pre-JS fallback: uniform-ish row of cover thumbnails */
    flex: 1 1 280px; height: 280px;
    display: block; overflow: hidden; border-radius: 6px;
    background: var(--amity-accent-light);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    transition: box-shadow .4s var(--ease);
}
.justified .tile img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .7s var(--ease), filter .45s var(--ease);
}
.justified .tile:hover { box-shadow: 0 14px 30px var(--amity-shadow); }
.justified .tile:hover img { transform: scale(1.045); }

/* ── Reveal animation base states (GSAP toggles these) ────────── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* ── Contact form ─────────────────────────────────────────────── */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
    font-size: 1rem; font-family: var(--font); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--amity-shadow);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: auto; }
.required { color: var(--magenta); }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; font-size: .95rem; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── Tags: search cloud, active/add chips, per-photo tags ─────── */
.tagcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px; border-radius: 999px;
    border: 1.5px solid var(--amity-accent-light); background: #fff;
    color: var(--violet); font-weight: 600; font-size: .92rem;
    text-decoration: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.tag-chip:hover { border-color: var(--violet); box-shadow: 0 6px 16px var(--amity-shadow); transform: translateY(-1px); }
.tag-chip .cnt { font-size: .78rem; font-weight: 600; color: var(--muted); }
.tag-chip.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.tag-chip.is-active .cnt { color: rgba(255,255,255,.85); font-size: 1rem; }
.tag-chip.is-add { border-style: dashed; color: var(--muted); background: transparent; }
.tag-chip.is-add:hover { color: var(--violet); }
.tag-filterbox { padding: 13px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 1rem; width: 100%; max-width: 380px; }
.tag-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag-mode { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); }
.tag-mode.is-on { color: #fff; background: var(--violet); border-color: var(--violet); }
.photo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.photo-tags a { font-size: .74rem; color: var(--muted); text-decoration: none; background: var(--amity-soft-cream); padding: 2px 9px; border-radius: 999px; }
.photo-tags a:hover { color: var(--violet); }

/* ── Newsletter / footer ──────────────────────────────────────── */
.newsletter { background: var(--grad-soft); border-radius: 24px; padding: 56px 40px; text-align: center; }
.newsletter h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 26px auto 0; }
.newsletter input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 1rem; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0; margin-top: 80px; color: var(--muted); }
.site-footer .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer .foot-nav { display: flex; gap: 22px; }
.site-footer a:hover { color: var(--ink); }

/* ── Lightbox ─────────────────────────────────────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(8,8,14,.94);
    display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox .close { position: absolute; top: 22px; right: 28px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: 0; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 760px) {
    :root { --header-h: 112px; }
    .site-header { flex-direction: row; justify-content: center; gap: 0; padding: 14px 20px; }
    .site-header.scrolled { padding: 10px 20px; }
    .brand img { height: 84px; }
    .site-header.scrolled .brand img { height: 72px; }
    .nav-toggle { display: block; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
    .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: #fff; padding: 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease); }
    .nav.open { transform: none; }
    .field-row { grid-template-columns: 1fr; }
    .newsletter form { flex-direction: column; }
}

/* Editorial grid: fewer columns + tighter gaps as the viewport narrows. */
@media (max-width: 980px) {
    .masonry { grid-template-columns: repeat(2, 1fr); --gap-gallery: 28px; }
}
@media (max-width: 560px) {
    .masonry { grid-template-columns: 1fr; --gap-gallery: 22px; }
    .masonry .tile--wide { grid-column: span 1; }
}
@media (max-width: 760px) {
    .gallery-wide { padding: 0 12px; }
    .justified { --jg-gap: 8px; }
}

/* ── Stepped contact form ─────────────────────────────────────────
   Progressive enhancement: by default (no JS) every step is visible and the
   form is a normal stacked form. JS adds `.is-stepped` to the form and
   `.is-on` to the stepper to switch on the one-step-at-a-time experience. */
.stepper { display: none; gap: 10px; margin-bottom: 34px; }
.stepper.is-on { display: flex; }
.stepper .step-dot {
    flex: 1; display: flex; flex-direction: column; gap: 8px;
    font-size: .8rem; font-weight: 600; color: var(--muted);
}
.stepper .step-dot .bar { height: 4px; border-radius: 999px; background: var(--line); transition: background .35s var(--ease); }
.stepper .step-dot.is-active { color: var(--ink); }
.stepper .step-dot.is-active .bar,
.stepper .step-dot.is-done .bar { background: var(--grad); }

/* No-JS: hide the step nav buttons (they'd be inert) — the submit still works. */
[data-next], [data-back] { display: none; }
.is-stepped [data-next], .is-stepped [data-back] { display: inline-flex; }

.is-stepped .form-step { display: none; }
.is-stepped .form-step.is-current { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.step-actions .spacer { flex: 1; }
.draft-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.draft-note b { color: var(--violet); }
.review-list:empty { display: none; }

.review-list { list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.review-list li { display: flex; gap: 16px; padding: 12px 16px; font-size: .95rem; }
.review-list li:nth-child(odd) { background: var(--gray-light); }
.review-list li .k { width: 130px; flex-shrink: 0; color: var(--muted); font-weight: 600; }
.review-list li .v { color: var(--ink); word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
    .form-step.is-current { animation: none; }
}

/* ── Print ordering ──────────────────────────────────────────────────── */
.btn-block { display: block; width: 100%; text-align: center; }
.print-order-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.po-photo { position: sticky; top: calc(var(--header-h) + 20px); }
.po-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 44px var(--amity-shadow); }
.po-photo .tile-cap { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.po-form fieldset { border: 1px solid var(--border-color); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.po-form legend { font-family: var(--font-display, var(--font)); font-weight: 700; padding: 0 8px; color: var(--violet); }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { flex: 1; min-width: 120px; }
.size-options { display: grid; gap: 10px; }
.size-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.size-opt:hover { border-color: var(--amity-accent-light); }
.size-opt:has(input:checked) { border-color: var(--amity-watercolor-purple); background: var(--grad-soft); }
.size-opt input { accent-color: var(--amity-watercolor-purple); width: 18px; height: 18px; }
.size-opt .so-body { flex: 1; display: flex; flex-direction: column; }
.size-opt .so-body strong { color: var(--ink); }
.size-opt .so-body em { color: var(--muted); font-size: .82rem; font-style: normal; }
.size-opt .so-price { font-weight: 700; color: var(--violet); }
.po-summary { background: var(--amity-soft-cream); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.po-line { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.po-line.po-total { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.po-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }
.order-print-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--violet); text-decoration: none; border: 1.5px solid var(--amity-accent-light); padding: 5px 12px; border-radius: 999px; transition: all .2s var(--ease); }
.order-print-btn:hover { background: var(--amity-watercolor-purple); color: #fff; border-color: var(--amity-watercolor-purple); }
.tile-actions { margin-top: 8px; }
@media (max-width: 760px) {
    .print-order-grid { grid-template-columns: 1fr; }
    .po-photo { position: static; }
}
.lightbox-order { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 60; background: #fff; color: var(--amity-watercolor-purple); font-weight: 700; font-size: .9rem; padding: 10px 22px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lightbox-order:hover { background: var(--amity-watercolor-purple); color: #fff; }

/* ── Cart & account ──────────────────────────────────────────────────── */
.nav-cart { position: relative; }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--amity-rose-red); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: middle; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 12px 16px; }
.cart-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cart-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cart-info strong { color: var(--ink); }
.cart-info .cart-sub { color: var(--muted); font-size: .85rem; }
.cart-info .cart-unit { color: var(--muted); font-size: .8rem; }
.cart-qty { display: flex; flex-direction: column; align-items: flex-start; }
.cart-qty label { font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.cart-qty input { width: 64px; padding: 6px 8px; border: 1.5px solid var(--border-color); border-radius: 8px; }
.cart-line { font-weight: 700; color: var(--ink); min-width: 80px; text-align: right; }
.cart-remove { background: none; border: none; color: #b0b0b0; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.cart-remove:hover { color: var(--amity-rose-red); }
.cart-summary { max-width: 360px; margin-left: auto; margin-top: 1.5rem; background: var(--amity-soft-cream); border-radius: 12px; padding: 18px 20px; }
@media (max-width: 640px) {
    .cart-row { flex-wrap: wrap; }
    .cart-info { flex-basis: calc(100% - 88px); }
    .cart-summary { max-width: none; }
}
.checkout-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; }
.addr-options { display: grid; gap: 10px; margin-bottom: 12px; }
.addr-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: 12px; cursor: pointer; }
.addr-opt:has(input:checked) { border-color: var(--amity-watercolor-purple); background: var(--grad-soft); }
.account-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.acct-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.acct-nav a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border-color); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.acct-nav a.active, .acct-nav a:hover { background: var(--amity-watercolor-purple); color: #fff; border-color: var(--amity-watercolor-purple); }
