/* Sici Boutique · storefront. White pages with fuchsia, sunny yellow and sea teal; pastel tiles.
   Works left-to-right and right-to-left. */
:root {
    --ink: #23213a; --muted: #6c6880; --line: #ece9f2; --soft: #f8f6fb; --paper: #fff;
    --fuchsia: #e0367a; --fuchsia-dark: #b8245f; --sun: #ffb703; --teal: #0f8b8d;
    --lilac: #efe8ff; --mint: #dcf4ec; --peach: #ffe6d5; --sky: #e2f0fb; --blush: #fde4ee;
    --ok: #13795b; --err: #c2263b;
    --wrap: 1240px; --r-sm: 10px; --r: 16px; --r-lg: 26px;
    --display: "Bricolage Grotesque", "Readex Pro", system-ui, sans-serif;
    --body: "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15.5px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--body); letter-spacing: 0; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.page { padding-top: 22px; padding-bottom: 70px; min-height: 60vh; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.err-text { color: var(--err); display: block; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
    background: var(--fuchsia); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--fuchsia-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; background: var(--muted); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #f4a300; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; }

/* Top of the page */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .86rem; padding: 8px 14px; }
.announce strong { color: var(--sun); font-weight: 600; }
.preview-bar { background: var(--sun); color: var(--ink); text-align: center; font-size: .85rem; padding: 6px 12px; }
.preview-bar a { color: inherit; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--display); text-decoration: none; white-space: nowrap; color: var(--ink); }
[dir="rtl"] .brand { font-family: var(--body); font-weight: 700; }
.logo-mark { width: 1.55em; height: 1.55em; flex: none; color: var(--fuchsia); }
.search { flex: 1; max-width: 520px; margin-inline-start: auto; position: relative; }
.search input { width: 100%; min-height: 46px; border: 2px solid var(--line); border-radius: 999px; padding: 0 18px 0 46px; background: var(--soft); font: inherit; color: inherit; }
[dir="rtl"] .search input { padding: 0 46px 0 18px; }
.search input:focus { outline: none; border-color: var(--fuchsia); background: #fff; }
.search svg { position: absolute; top: 50%; inset-inline-start: 16px; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.lang { text-decoration: none; font-size: .92rem; font-weight: 600; padding: 8px 10px; border-radius: 999px; }
.lang:hover { background: var(--soft); }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; padding: 0 8px; border-radius: 999px; text-decoration: none; font: inherit; font-weight: 600; }
.icon-btn:hover { background: var(--soft); }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bag-count { position: absolute; top: 3px; inset-inline-start: 26px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--fuchsia); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; font-weight: 700; }
.bag-count[hidden] { display: none; }
.menu-toggle { display: none; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.cat-nav a { flex: none; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.cat-nav a:hover, .cat-nav a.current { background: var(--lilac); }
.cat-nav a.sale-link { color: var(--fuchsia); font-weight: 700; }
.cat-nav a.sale-link:hover { background: var(--blush); }

.flash { padding: 12px 16px; border-radius: var(--r-sm); margin: 0 0 20px; }
.flash.ok { background: var(--mint); color: var(--ok); }
.flash.err { background: var(--blush); color: var(--err); }
.flash a { font-weight: 700; color: inherit; }

/* Home: banner */
.banner { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--fuchsia); color: #fff; min-height: 440px; margin-bottom: 30px; }
.banner-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.banner-copy h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1; margin: 0 0 12px; }
.banner-copy p { font-size: 1.1rem; margin: 0 0 22px; max-width: 30em; opacity: .95; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.banner-photo { position: relative; background: var(--sun); min-height: 300px; }
.banner-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #ffd166 0 26%, transparent 27%), radial-gradient(circle at 75% 75%, var(--teal) 0 22%, transparent 23%), var(--sun); }
.collage img { position: absolute; width: 38%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: 0 18px 40px rgba(35, 33, 58, .25); border: 6px solid #fff; }
.collage img:nth-child(1) { transform: translate(-58%, -6%) rotate(-7deg); }
.collage img:nth-child(2) { transform: translate(0, 4%) rotate(2deg); z-index: 2; }
.collage img:nth-child(3) { transform: translate(58%, -4%) rotate(8deg); }
.collage .no-photos { font: 800 5rem/1 var(--display); color: var(--ink); opacity: .2; }

/* Home: category tiles, a strip of round photos */
.tiles { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 26px; scrollbar-width: thin; }
.tile { flex: none; width: 112px; text-align: center; text-decoration: none; font-weight: 600; font-size: .95rem; }
.tile span.round { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; background: var(--lilac); transition: transform .2s; }
.tile:nth-child(4n+2) span.round { background: var(--mint); }
.tile:nth-child(4n+3) span.round { background: var(--peach); }
.tile:nth-child(4n+4) span.round { background: var(--sky); }
.tile:hover span.round { transform: scale(1.05); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .letter { font: 800 2.4rem/1 var(--display); color: var(--ink); opacity: .5; }

/* Home: what you can count on */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.perk { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--soft); text-decoration: none; }
.perk svg.i { width: 30px; height: 30px; color: var(--teal); }
.perk strong { display: block; }
.perk span { font-size: .88rem; color: var(--muted); }
a.perk:hover { background: var(--mint); }

/* Rows of products */
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.row-head h2 { margin: 0; }
.row-head a { font-weight: 600; color: var(--fuchsia); text-decoration: none; }
.row-head a:hover { text-decoration: underline; }
section.products { margin-bottom: 48px; }
section.sale-row { background: var(--blush); border-radius: var(--r-lg); padding: 26px 22px 10px; }
section.sale-row h2 { color: var(--fuchsia-dark); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.scroller > * { scroll-snap-align: start; }

/* Product card: photos of each color side by side, swiped or stepped with the arrows */
.card { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-media { position: relative; margin-bottom: 8px; }
.card-img { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.card.sold-out .slides img { filter: grayscale(.6); opacity: .7; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink);
    font: 700 1.3rem/1 var(--body); cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(35,33,58,.18); opacity: 0; transition: opacity .15s; padding: 0 0 3px; }
.slide-btn.prev { inset-inline-start: 8px; }
.slide-btn.next { inset-inline-end: 8px; }
.card-media:hover .slide-btn, .slide-btn:focus-visible { opacity: 1; }
@media (hover: none) { .slide-btn { display: none; } }
.card-text { text-decoration: none; display: grid; gap: 3px; }
.no-img { display: grid; place-items: center; width: 100%; height: 100%; font: 800 3rem var(--display); color: #c9c2dc; background: var(--lilac); }
.no-img.big { aspect-ratio: 3 / 4; font-size: 6rem; border-radius: var(--r); }
.tags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 1; }
.tag { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.tag.off { background: var(--fuchsia); color: #fff; }
.tag.new { background: var(--teal); color: #fff; }
.tag.out { background: var(--ink); color: #fff; }
.card-name { font-size: .97rem; line-height: 1.35; }
.card-price { font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.card-price.on-sale { color: var(--fuchsia); }
.card-price s, .price s { color: var(--muted); font-weight: 400; font-size: .9em; }
.dots { display: flex; gap: 6px; margin-top: 5px; align-items: center; }
.dots button, .dots span { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); border: 0; padding: 0; }
.dots button { cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; }
.dots button.on { outline-color: var(--ink); }
.dots em { font-style: normal; font-size: .78rem; color: var(--muted); }

/* Listing */
.listing-head { margin-bottom: 6px; }
.crumbs { font-size: .875rem; color: var(--muted); margin: 0 0 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fuchsia); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.chips a { text-decoration: none; background: var(--lilac); border-radius: 999px; padding: 7px 16px; font-weight: 500; }
.chips a:nth-child(3n+2) { background: var(--mint); }
.chips a:nth-child(3n+3) { background: var(--peach); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; padding: 12px; border-radius: var(--r); background: var(--soft); align-items: center; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; }
.filters .count { margin-inline-start: auto; color: var(--muted); font-size: .9rem; }
select, input[type="number"], input[type="text"], input[type="tel"], input[type="email"], input:not([type]), textarea {
    font: inherit; color: inherit; background: #fff; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; min-height: 46px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--fuchsia); }
textarea { resize: vertical; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--r); }
.pages { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; }
.pages a { font-weight: 600; color: var(--fuchsia); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; margin-bottom: 56px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 3 / 4; grid-column: 2; grid-row: 1; }
.gallery-main .slides img { object-fit: cover; }
.gallery-main .slide-btn { width: 44px; height: 44px; font-size: 1.6rem; }
.gallery-main:hover .slide-btn { opacity: 1; }
.thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .gallery-main { grid-column: 1; }
.thumbs button { width: 76px; aspect-ratio: 3 / 4; padding: 0; border: 3px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--fuchsia); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { margin-top: 4px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.price { font-size: 1.55rem; font-weight: 700; margin: 0 0 6px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price.on-sale { color: var(--fuchsia); }
.price .tag { font-size: .8rem; }
.choice { border: 0; padding: 0; margin: 20px 0; }
.choice legend { font-weight: 600; margin-bottom: 10px; }
.choice legend span { font-weight: 400; color: var(--muted); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch > span:not(.sr) { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 3px solid transparent; outline-offset: 3px; cursor: pointer; }
.swatch input:checked + span { outline-color: var(--fuchsia); }
.swatch input:focus-visible + span, .size input:focus-visible + span { outline: 3px solid var(--sun); }
.size span { display: grid; place-items: center; min-width: 56px; height: 46px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 600; background: #fff; }
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size.out span, .swatch.out span:not(.sr) { opacity: .35; text-decoration: line-through; }
.stock-note { min-height: 1.5em; color: var(--teal); font-weight: 600; margin: 0 0 6px; }
.qty-row { display: flex; align-items: end; gap: 12px; }
.qty-row label { display: grid; gap: 4px; font-size: .85rem; }
.qty-row input { width: 84px; }
.qty-row .btn { flex: 1; min-height: 52px; font-size: 1.02rem; }
.info-box { margin: 22px 0; display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r); background: var(--soft); }
.info-box div { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.info-box svg.i { color: var(--teal); }
.description { margin: 20px 0; color: #45425a; }
.description h2 { font-size: 1.05rem; }

/* Bag */
.bag-lines { list-style: none; padding: 0; margin: 0 0 24px; }
.bag-line { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--soft); margin-bottom: 12px; }
.bag-img { display: block; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.bag-img img { width: 100%; height: 100%; object-fit: cover; }
.bag-info { display: grid; gap: 2px; }
.bag-info a { text-decoration: none; }
.bag-summary { max-width: 400px; margin-inline-start: auto; display: grid; gap: 12px; text-align: center; padding: 20px; border-radius: var(--r); box-shadow: inset 0 0 0 2px var(--line); }
.bag-summary p:first-child { display: flex; justify-content: space-between; font-size: 1.15rem; margin: 0; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.checkout fieldset { border: 0; border-radius: var(--r); background: var(--soft); padding: 20px 22px 10px; margin: 0 0 18px; }
.checkout legend { float: left; width: 100%; font: 700 1.15rem var(--display); margin-bottom: 12px; padding: 0; }
[dir="rtl"] .checkout legend { float: right; font-family: var(--body); }
.checkout legend + * { clear: both; }
.checkout label { display: grid; gap: 6px; margin-bottom: 14px; font-size: .95rem; font-weight: 500; }
.pay-option { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--fuchsia); }
.pay-option input { margin-top: 5px; accent-color: var(--fuchsia); }
.pay-option > span { display: grid; gap: 4px; }
.pay-details { white-space: normal; font-size: .9rem; color: #45425a; font-weight: 400; }
.checkout-summary { position: sticky; top: 140px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); border-radius: var(--r); padding: 22px; }
.checkout-summary ul { list-style: none; padding: 0; margin: 0 0 12px; }
.checkout-summary li, .checkout-summary p, .sum { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.grand { font-size: 1.2rem; padding-top: 10px; border-top: 2px solid var(--line); }
.checkout-summary .btn { margin-top: 12px; }

/* Order page */
.thanks { text-align: center; padding: 34px 16px; border-radius: var(--r-lg); background: var(--mint); margin-bottom: 26px; }
.thanks h1 { color: var(--ok); }
.steps { display: flex; list-style: none; padding: 0; margin: 10px 0 28px; }
.steps li { flex: 1; text-align: center; font-size: .85rem; color: var(--muted); position: relative; padding-top: 32px; }
.steps li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 14px; left: 50%; right: -50%; height: 3px; background: var(--line); }
[dir="rtl"] .steps li::after { left: -50%; right: 50%; }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done::before, .steps li.done::after { background: var(--teal); }
.box { background: var(--soft); border-radius: var(--r); padding: 20px 22px; margin-bottom: 20px; }
.box.pay { background: var(--peach); }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.order-items img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form label { display: grid; gap: 6px; flex: 1; min-width: 220px; }

/* My orders */
.my-orders { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.my-order { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--soft); text-decoration: none; }
.my-order:hover { background: var(--lilac); }
.my-order-img { display: block; width: 64px; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.my-order-img img { width: 100%; height: 100%; object-fit: cover; }
.my-order-info { display: grid; gap: 2px; }
.status-pill { font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--butter, #fff3cf); color: #8a5a00; white-space: nowrap; }
.status-pill.st-confirmed { background: var(--lilac); color: #5b3fa8; }
.status-pill.st-shipped { background: var(--sky); color: #24598a; }
.status-pill.st-delivered { background: var(--mint); color: var(--ok); }
.status-pill.st-cancelled { background: var(--blush); color: var(--err); }
.find-order h2 { font-size: 1.15rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Accounts */
.auth-card { max-width: 440px; margin: 10px auto 30px; padding: 28px 26px; border-radius: var(--r-lg); background: var(--soft); }
.auth-card h1 { font-size: 1.9rem; }
.stack-form { display: grid; gap: 4px; }
.stack-form label { display: grid; gap: 6px; margin-bottom: 10px; font-weight: 500; font-size: .95rem; }
.stack-form .btn { margin-top: 6px; }
.auth-switch { text-align: center; margin: 14px 0 0; font-size: .92rem; }
.auth-switch a, .account-hint a { color: var(--fuchsia); font-weight: 600; }
.account-hint { background: var(--lilac); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 18px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-head form { margin: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.saved-addresses { display: grid; gap: 8px; margin-bottom: 14px; }
.check-line { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 500; }
.check-line input[type="checkbox"] { accent-color: var(--fuchsia); width: 18px; height: 18px; }
.inline-input { min-height: 38px !important; padding: 6px 10px !important; max-width: 160px; }
.address-row { border-top: 1px solid var(--line); padding: 12px 0; }
.address-row summary { cursor: pointer; }
.address-row .tag { margin-inline-start: 6px; font-size: .7rem; }
.address-row .stack-form { margin-top: 12px; }
.address-row form + form { margin-top: 6px; }
.address-row.add summary { color: var(--fuchsia); }
.row-actions { display: flex; gap: 10px; }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #d9d6e6; padding: 46px 0 30px; margin-top: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .logo-mark { color: var(--sun); }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .85rem; }

/* Phone bottom bar */
.bottom-bar { display: none; }

/* Coming soon */
body.soon { display: grid; place-items: center; min-height: 100vh; text-align: center; color: #fff; padding: 24px;
    background: radial-gradient(circle at 15% 20%, var(--sun) 0 12%, transparent 12.5%), radial-gradient(circle at 85% 80%, var(--teal) 0 14%, transparent 14.5%), var(--fuchsia); }
.soon h1 { font-size: clamp(2.8rem, 10vw, 5.4rem); margin: 0; }
.soon-mark .logo-mark { width: 84px; height: 84px; margin: 0 auto 12px; display: block; color: #fff; }
.soon-line { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; padding: 6px 18px; border-radius: 999px; margin: 14px 0; }
.soon .contact { display: flex; gap: 16px; justify-content: center; margin: 22px 0; }
.soon a { color: #fff; font-weight: 600; }

@media (max-width: 1000px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .scroller { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 760px) {
    body { padding-bottom: 66px; }
    .header-row { gap: 6px; min-height: 60px; flex-wrap: wrap; }
    .brand { flex: 1; font-size: 1.3rem; }
    .search { order: 5; flex-basis: 100%; max-width: none; margin: 0 0 10px; }
    .bag-label { display: none; }
    .my-orders-link { display: none; }
    .my-order { grid-template-columns: 54px 1fr; }
    .my-order .status-pill { grid-column: 2; justify-self: start; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
    .scroller { grid-auto-columns: 44%; gap: 12px; }
    .banner { grid-template-columns: 1fr; min-height: 0; }
    .banner-photo { order: -1; min-height: 300px; }
    .tile { width: 84px; font-size: .85rem; }
    .tile span.round { width: 84px; height: 84px; }
    .perks { grid-template-columns: 1fr; gap: 8px; }
    .product, .checkout { grid-template-columns: 1fr; gap: 22px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-main { grid-column: 1; }
    .thumbs { flex-direction: row; grid-row: 2; overflow-x: auto; }
    .thumbs button { flex: 0 0 64px; width: 64px; }
    .qty-row { position: sticky; bottom: 66px; background: #fff; padding: 10px 0; z-index: 5; }
    .checkout-summary { position: static; }
    .bag-line { grid-template-columns: 76px 1fr auto; }
    .bag-total { grid-column: 2 / -1; text-align: end; }
    .bag-summary { max-width: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
    .bottom-bar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--muted); position: relative; }
    .bottom-bar a.on { color: var(--fuchsia); }
    .bottom-bar .bag-count { inset-inline-start: calc(50% + 4px); top: -2px; }
}
