/* =========================================================
   Extras: wishlist, reviews, deals, gift cards, swipe gallery,
   phone tab bar + sheets, install banner, animations
   ========================================================= */

/* ---------- product cards: heart + stars ---------- */
.card-wrap { position: relative; display: flex; min-width: 0; }
.card-wrap > .product-card { flex: 1 1 auto; min-width: 0; position: relative; overflow: hidden; }
.card-wrap .product-price-row { padding-right: 40px; }
.wish-form { margin: 0; }
.card-wrap .wish-form { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.wish-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(0,0,0,0.35); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--steel-edge); transition: color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.wish-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.wish-btn:hover { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.wish-btn.is-saved { color: var(--red); }
.wish-btn.is-saved svg { fill: currentColor; }
.wish-btn:focus-visible { outline: 2px solid var(--steel-hi); outline-offset: 2px; }
.wish-btn-text { width: auto; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; gap: 6px; display: inline-flex; align-items: center; font: 600 0.85rem var(--font-body); }
.buy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.stars { display: inline-block; line-height: 1; font-size: 0.95rem; letter-spacing: 2px; white-space: nowrap;
  background: linear-gradient(90deg, #f5c542 calc(var(--rating, 0) / 5 * 100%), #44464f 0);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: '\2605\2605\2605\2605\2605'; }
.stars.big { font-size: 1.4rem; }
.card-rating { display: inline-flex; align-items: center; gap: 6px; }
.card-rating .stars { font-size: 0.8rem; letter-spacing: 1px; }
.rating-line { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 8px; color: var(--muted); }
.rating-line:hover { color: var(--text); }

/* ---------- swipe gallery ---------- */
.gallery-track {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.product-media .gallery-slide { flex: 0 0 100%; width: 100%; min-width: 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-track:focus-visible { box-shadow: inset 0 0 0 2px var(--steel-hi); }
.gallery-arrow {
  position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 0; cursor: pointer; z-index: 2;
  background: rgba(10,10,13,0.6); color: var(--text); font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--steel-edge); opacity: 0; transition: opacity .2s ease;
}
.gallery-arrow.prev { left: 12px; } .gallery-arrow.next { right: 12px; }
.product-media:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow[hidden] { display: none; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: none; justify-content: center; gap: 6px; pointer-events: none; z-index: 2; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: width .2s ease, background .2s ease; }
.gallery-dots span.active { width: 20px; border-radius: 4px; background: var(--red); }
@media (hover: none) { .gallery-arrow { display: none; } }

/* ---------- reviews ---------- */
.reviews { margin: 8px 0 56px; scroll-margin-top: 90px; }
.reviews-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.reviews-summary { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.reviews-score { font: 800 2.6rem/1 var(--font-head); }
.reviews-bars { display: grid; gap: 4px; margin-bottom: 8px; }
.reviews-bar { display: grid; grid-template-columns: 28px 1fr 24px; align-items: center; gap: 8px; }
.reviews-bar .bar { height: 6px; background: var(--card-border); overflow: hidden; }
.reviews-bar .bar span { display: block; height: 100%; background: #f5c542; }
.review-form { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--card-border); padding-top: 14px; margin-top: 4px; }
.review-form input[type=text], .review-form textarea {
  width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--card-border); color: var(--text); font: inherit; border-radius: 0;
}
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--red); }
.star-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input legend { width: 100%; margin-bottom: 4px; font-weight: 600; float: left; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.9rem; line-height: 1; color: #44464f; cursor: pointer; padding: 2px; min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; transition: color .1s ease; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5c542; }
.star-input input:focus-visible + label { outline: 2px solid var(--steel-hi); outline-offset: 1px; }
.reviews-list { display: flex; flex-direction: column; }
.review { padding: 16px 0; border-bottom: 1px solid var(--card-border); }
.review:first-child { padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-body { margin: 8px 0; white-space: pre-line; overflow-wrap: anywhere; }
.review-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.verified { color: var(--success); }
.verified::before { content: '\2713 '; }

/* ---------- deals ---------- */
.page-head-deals { --head: var(--red); }
.deal-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 40px; }
.deal-code { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.deal-kicker { color: var(--red); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; }
.deal-value { font: 800 1.35rem var(--font-head); }
.deal-copy {
  align-self: flex-start; margin: 4px 0; padding: 8px 14px; cursor: pointer; font: 700 1rem ui-monospace, Consolas, monospace; letter-spacing: .06em;
  color: var(--text); background: rgba(var(--accent-rgb), 0.08); border: 1px dashed rgba(var(--accent-rgb), 0.7);
}
.deal-copy:hover { background: rgba(var(--accent-rgb), 0.16); }
a.deal-gift:hover { box-shadow: inset 0 0 0 1px var(--red), inset 0 1px 0 rgba(255,255,255,0.06); }

/* ---------- gift codes on the order page ---------- */
.gift-codes { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.gift-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gift-code code { font: 700 1.05rem ui-monospace, Consolas, monospace; letter-spacing: .08em; padding: 8px 12px; background: rgba(var(--accent-rgb), 0.08); border: 1px dashed rgba(var(--accent-rgb), 0.7); }
.gift-code .deal-copy { margin: 0; font: 600 0.85rem var(--font-body); letter-spacing: 0; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--steel-edge); }

.account-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }

/* ---------- header wishlist ---------- */
.nav-wish { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-wish-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wish-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: var(--on-accent); font-size: 0.7rem; font-weight: 700; display: inline-grid; place-items: center; }
.wish-count[hidden], .install-link[hidden] { display: none; }
.nav-wish .wish-count { position: absolute; top: -8px; right: -10px; }

/* ---------- phone tab bar, sheets, drawer ---------- */
.tab-bar, .sheet-backdrop, .install-banner { display: none; }
.sheet[hidden], .sheet-backdrop[hidden], .install-banner[hidden], .toast[hidden] { display: none !important; }

.sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity .25s ease; }
.sheet-backdrop.open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; margin: 0 auto; max-width: 560px;
  background: linear-gradient(170deg, var(--steel-1), var(--steel-2));
  box-shadow: 0 -20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.sheet.open { transform: none; }
html.sheet-open { overflow: hidden; }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--steel-edge); margin: 0 auto 10px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.drawer-head strong { font-family: var(--font-head); font-size: 1rem; }
.drawer-head strong::before { content: '\2713'; color: var(--success); margin-right: 8px; }
.drawer-head .sheet-close { font-size: 1.8rem; line-height: 1; width: 44px; height: 44px; }
.drawer-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 12px; }
.drawer-img { width: 76px; height: 76px; object-fit: cover; display: block; background: var(--bg-alt); }
.drawer-name { font-weight: 700; overflow-wrap: anywhere; }
.drawer-price { font-size: 1.05rem; margin-top: 2px; }
.drawer-ship { margin: 0 0 12px; color: var(--success); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-actions .btn { text-align: center; padding-left: 10px; padding-right: 10px; }
.drawer-keep { display: block; width: 100%; text-align: center; padding: 14px 0 2px; color: var(--muted); }

.search-sheet-form { display: flex; gap: 8px; }
.search-sheet-form input { flex: 1; min-width: 0; padding: 12px 14px; font-size: 16px; background: var(--bg); color: var(--text); border: 1px solid var(--card-border); border-radius: 0; }
.search-sheet-form input:focus { outline: none; border-color: var(--red); }
.search-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.search-quick a { padding: 8px 12px; font-size: 0.88rem; box-shadow: inset 0 0 0 1px var(--steel-edge); }
.search-quick a:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.search-sheet .sheet-close { display: block; width: 100%; padding: 12px 0 0; color: var(--muted); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 16px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 10px 16px; background: #f2f2f5; color: #0a0a0d; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.cart-badge.bump { animation: badgeBump .4s ease; }
@keyframes badgeBump { 40% { transform: scale(1.35); } }

@media (max-width: 760px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mobile-actions .cart-link { display: none; }
  .nav-wish-text { position: static; width: auto; height: auto; clip: auto; }
  .nav-wish .wish-count { position: static; margin-left: auto; }
  .main-nav .install-link { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--card-border); width: 100%; text-align: left; color: var(--red); }

  .tab-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--card-border);
  }
  .tab-bar a, .tab-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0;
    background: none; border: 0; padding: 0; color: var(--muted); font: 600 0.68rem var(--font-body); cursor: pointer; position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .tab-bar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tab-bar .active { color: var(--text); }
  .tab-bar .active svg { stroke: var(--red); }
  .tab-bar .active::before { content: ''; position: absolute; top: -1px; left: 30%; right: 30%; height: 2px; background: var(--red); }
  .tab-icon { position: relative; display: inline-flex; }
  .tab-badge { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; font-size: 0.65rem; padding: 0 4px; display: inline-grid; place-items: center; }
  .tab-badge[hidden] { display: none; }

  /* sticky add-to-cart sits on top of the tab bar */
  .sticky-buy { bottom: calc(62px + env(safe-area-inset-bottom)); padding-bottom: 10px; z-index: 65; }
  body.has-sticky-buy .site-footer { padding-bottom: 96px; }

  .install-banner {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 75;
    align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(160deg, var(--steel-1), var(--steel-2));
    box-shadow: 0 14px 40px rgba(0,0,0,.6), inset 0 0 0 1px var(--steel-edge);
    transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
  }
  .install-banner.show { transform: none; opacity: 1; }
  .install-banner img { border-radius: 9px; flex: 0 0 40px; }
  .install-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
  .install-banner .install-dismiss { font-size: 1.5rem; width: 36px; height: 36px; color: var(--muted); }
  .install-go[hidden] { display: none; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }

  .gallery-dots { display: flex; }
  .product-gallery .gallery-thumbs { display: none; }
  .reviews-layout { grid-template-columns: 1fr; gap: 20px; }
  .card-wrap .wish-form { right: 8px; bottom: 8px; }
  .card-wrap .wish-btn { width: 32px; height: 32px; }
  .card-wrap .product-price-row { padding-right: 34px; }
  .drawer-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .deal-strip { grid-template-columns: 1fr; }
}

/* ---------- animations ---------- */
/* Scroll reveal: classes are added by /js/store.js only when motion is on. */
html[data-motion="full"] .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
html[data-motion="subtle"] .reveal { opacity: 0; transition: opacity .6s ease var(--d, 0ms); }
html .reveal.in { opacity: 1; transform: none; }

@media (hover: hover) {
  html:not([data-motion="off"]) .product-thumb img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  html:not([data-motion="off"]) .product-card:hover .product-thumb img { transform: scale(1.05); }
  html[data-motion="full"] .product-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.09) 50%, transparent 65%);
    transform: translateX(-110%); transition: transform .75s ease;
  }
  html[data-motion="full"] .product-card:hover::after { transform: translateX(110%); }
  html[data-motion="full"] .section-plate { transition: box-shadow .2s ease, transform .25s ease; }
  html[data-motion="full"] .section-plate:hover { transform: translateY(-4px); }
  html:not([data-motion="off"]) .section-art { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  html:not([data-motion="off"]) .section-plate { overflow: hidden; }
  html:not([data-motion="off"]) .section-plate:hover .section-art { transform: scale(1.05); }
  html[data-motion="full"] .btn-primary { position: relative; overflow: hidden; }
  html[data-motion="full"] .btn-primary::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: translateX(-120%); transition: transform .6s ease;
  }
  html[data-motion="full"] .btn-primary:hover::after { transform: translateX(260%); }
  html:not([data-motion="off"]) .wish-btn:hover { transform: scale(1.08); }
}
html[data-motion="full"] .wish-btn.is-saved svg { animation: heartPop .35s ease; }
@keyframes heartPop { 50% { transform: scale(1.3); } }

/* Owner Panel previews for the animation setting */
.look-mini.m-full i, .look-mini.m-subtle i, .look-mini.m-off i { position: absolute; left: 14px; right: 40%; top: 14px; bottom: 14px; background: var(--red); opacity: .8; }
.look-mini[class*="m-"]::before { display: none; }
.look-mini.m-full i { animation: miniSlide 2.2s ease-in-out infinite; }
.look-mini.m-subtle i { animation: miniFade 2.2s ease-in-out infinite; }
@keyframes miniSlide { 0%, 15% { transform: translateY(12px); opacity: 0; } 45%, 100% { transform: none; opacity: .8; } }
@keyframes miniFade { 0%, 15% { opacity: 0; } 45%, 100% { opacity: .8; } }

html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.gallery-dots[hidden], .gallery-thumbs[hidden], .tab-badge[hidden], .cart-badge[hidden] { display: none !important; }

/* Phone tables: cells with several lines stack under their label; long emails wrap. */
@media (max-width: 760px) {
  .data-table.stackable td { min-width: 0; overflow-wrap: anywhere; }
  .data-table.stackable td:has(br) { display: block; text-align: left; }
  .data-table.stackable td:has(br)::before { display: block; margin-bottom: 4px; }
  .table-wrap:has(> .data-table:not(.stackable)) { overflow-x: auto; }
}

/* New Apex Development logo: wide wordmark in the header and footer */
.site-header .logo-img { height: 46px; width: auto; }
.footer-logo-img { height: 72px; width: auto; }
@media (max-width: 760px) { .site-header .logo-img { height: 40px; } }

/* ---------- Halloween collection ---------- */
@font-face { font-family: 'Creepster'; src: url('/fonts/creepster.woff2') format('woff2'); font-display: swap; }
.page-head-halloween { background: radial-gradient(ellipse 60% 120% at 80% 0%, rgba(255,122,26,.28), transparent 60%), var(--bg-alt); }
.halloween-h1, .halloween-title { font-family: 'Creepster', var(--font-head); letter-spacing: .03em; color: #ff7a1a; font-weight: 400; }
.halloween-h1, .page-head-halloween h1.halloween-h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); color: #ff7a1a; }
.halloween-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.halloween-code .deal-copy { margin: 0; border-color: #ff7a1a; background: rgba(255,122,26,.12); }
.halloween-strip-section { padding-bottom: 0; }
.halloween-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; flex-wrap: wrap;
  background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(255,122,26,.30), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.halloween-strip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.halloween-kicker { color: #ff7a1a; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.halloween-title { font-size: 1.9rem; line-height: 1.1; }
.type-tag.tag-halloween { color: #ff8a2a; }
.section-bar a.tab-halloween { color: #ff8a2a; }
.section-bar a.tab-halloween.active { border-bottom-color: #ff7a1a; }
@media (max-width: 760px) { .halloween-strip .btn { width: 100%; text-align: center; } .halloween-title { font-size: 1.6rem; } }

/* ---------- delivery choice (cart + checkout) ---------- */
form.ship-options { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.ship-options h3 { font-size: 0.95rem; margin: 0; }
.ship-options > p { margin: 0; }
.ship-option { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--card-border); border-radius: 10px; cursor: pointer; background: var(--bg-alt); }
.ship-option.selected { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.ship-option input { accent-color: var(--red); width: 18px; height: 18px; flex: none; margin: 0; }
.ship-option-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ship-option-price { font-weight: 800; white-space: nowrap; }
.ship-free-note { color: var(--success); }
.summary-eta { margin: 2px 0 6px; }
.delivery-estimate { background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; }
.delivery-estimate .de-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
/* Owner Panel > Shipping */
.ship-admin-table { width: 100%; border-collapse: collapse; }
.ship-admin-row { display: grid; grid-template-columns: 1.4fr .8fr .6fr .6fr .8fr auto auto; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--card-border); }
.ship-admin-row label { font-size: .8rem; min-width: 0; }
.ship-admin-row input[type=text], .ship-admin-row input[type=number] { width: 100%; min-width: 0; }
.ship-admin-row .checkbox-label { white-space: nowrap; padding-bottom: 10px; }
@media (max-width: 760px) { .ship-admin-row { grid-template-columns: 1fr 1fr; } .ship-admin-row .ship-name { grid-column: 1 / -1; } }
.form label.ship-option, form .ship-option, .ship-options label.ship-option { flex-direction: row !important; align-items: center !important; text-align: left; }

/* ---------- phone-friendly pass: filter chips, show more, bigger tap targets ---------- */
[hidden] { display: none !important; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--card-border); background: var(--card); color: var(--text); font: 600 .9rem var(--font-body); cursor: pointer; white-space: nowrap; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip.active span { color: rgba(255, 255, 255, .8); }
.show-more { margin-top: 18px; min-height: 48px; }
.admin-filter { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 6px; }
.admin-filter input { min-height: 44px; }
@media (max-width: 760px) {
  .card-wrap .wish-btn { width: 40px; height: 40px; }
  .link-btn { min-height: 40px; padding: 8px 10px; }
  .btn-small { min-height: 40px; }
  .text-link { display: inline-block; padding: 9px 0; }
  details > summary { padding-top: 13px; padding-bottom: 13px; }
  .checkbox-label { min-height: 44px; align-items: center; }
  input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
  .type-tag, .mini-tag, .sale-tag { font-size: 11px; }
  .tab-bar a, .tab-bar button { font-size: 11.5px; }
  .coupon-form .btn, .coupon-form input { min-height: 44px; }
  .row-actions .btn { min-height: 40px; }
  .data-table td { font-size: .95rem; }
}
.admin-filter input[type=search] { background: var(--card); color: var(--text); border: 1px solid var(--card-border); border-radius: 10px; padding: 0 14px; font: 500 1rem var(--font-body); width: 100%; }
@media (max-width: 760px) {
  /* Owner Panel products: one compact row per product instead of a tall card */
  table.compact-mobile thead { display: none !important; }
  table.compact-mobile, table.compact-mobile tbody { display: block !important; width: 100% !important; }
  table.compact-mobile tr { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center;
    padding: 10px 12px !important; margin: 0 0 8px !important; position: relative; border: 1px solid var(--card-border); border-radius: 12px; background: var(--card); }
  table.compact-mobile tr[hidden] { display: none !important; }
  table.compact-mobile td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; text-align: left !important; position: static !important; }
  table.compact-mobile td::before { display: none !important; }
  table.compact-mobile td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  table.compact-mobile td:nth-child(1) .table-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
  table.compact-mobile td:nth-child(2) { grid-column: 2; grid-row: 1; font-size: .95rem; line-height: 1.25; }
  table.compact-mobile td:nth-child(2) .mini-tag { display: none; }
  table.compact-mobile td:nth-child(3), table.compact-mobile td:nth-child(5) { display: none !important; }
  table.compact-mobile td:nth-child(4) { grid-column: 2; grid-row: 2; font-size: .9rem; color: var(--muted); }
  table.compact-mobile td:nth-child(6) { grid-column: 2; grid-row: 2; justify-self: end; font-size: .85rem; }
  table.compact-mobile td:nth-child(7) { grid-column: 3; grid-row: 1 / span 2; border: 0 !important; margin: 0 !important; }
  table.compact-mobile td:nth-child(7) .btn { min-height: 44px; height: 44px; padding: 0 18px !important; display: inline-flex !important; align-items: center; justify-content: center; line-height: 1; }
  table.compact-mobile td:nth-child(7) .btn + .btn { display: none !important; }
}

/* November drop (fall / Thanksgiving / Black Friday) */
.page-head-november { background: radial-gradient(ellipse 60% 120% at 80% 0%, rgba(240,150,46,.26), transparent 60%), radial-gradient(ellipse 40% 90% at 10% 100%, rgba(139,58,28,.25), transparent 60%), var(--bg-alt); }
.november-h1, .november-title { font-family: var(--font-head); font-weight: 800; letter-spacing: .01em; color: #f0962e; text-transform: none; }
.november-h1, .page-head-november h1.november-h1 { font-size: clamp(2.2rem, 6.5vw, 3.3rem); }
.november-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.november-code .deal-copy { margin: 0; border-color: #f0962e; background: rgba(240,150,46,.12); }
.november-strip-section { padding-bottom: 0; }
.november-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; flex-wrap: wrap;
  background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(240,150,46,.28), transparent 60%), radial-gradient(ellipse 50% 120% at 0% 100%, rgba(139,58,28,.30), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.november-strip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.november-kicker { color: #f0962e; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.november-title { font-size: 1.7rem; line-height: 1.1; }
.type-tag.tag-november { color: #f0a24a; }
.section-bar a.tab-november { color: #f0a24a; }
.section-bar a.tab-november.active { border-bottom-color: #f0962e; }
@media (max-width: 760px) { .november-strip .btn { width: 100%; text-align: center; } .november-title { font-size: 1.4rem; } }

/* ---------- Owner Panel: Drops schedule ---------- */
.drops-now { margin: -6px 0 12px; }
.drops-timeline { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 8px; }
.drops-ev { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 14px; background: var(--card); border: 1px solid var(--card-border); border-left: 3px solid var(--muted); border-radius: 8px; padding: 10px 14px; }
.drops-ev-when, .drops-ev-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drops-ev-what span { overflow-wrap: anywhere; }
.drops-ev-open, .drops-mini .drops-ev-open { border-left-color: #3fb37f; }
.drops-ev-close, .drops-mini .drops-ev-close { border-left-color: #e0564c; }
.drops-ev-code, .drops-mini .drops-ev-code { border-left-color: #f5c542; }
.drops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 14px; }
.drops-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.drops-card.drops-ended { opacity: 0.7; }
.drops-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.drops-name { font-size: 1.1rem; }
.drops-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.drops-badge-live { background: rgba(63, 179, 127, 0.15); color: #3fb37f; }
.drops-badge-upcoming { background: rgba(240, 150, 46, 0.15); color: #f0962e; }
.drops-badge-ended { background: rgba(140, 140, 140, 0.15); color: var(--muted); }
.drops-count { margin: 0; font-weight: 600; }
.drops-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 0.88rem; }
.drops-facts dt { color: var(--muted); }
.drops-facts dd { margin: 0; overflow-wrap: anywhere; }
.drops-pics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.drops-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.drops-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) {
  .drops-ev { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .drops-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- December (Christmas) drop ---------- */
.page-head-december { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(227,52,63,.30), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(54,169,111,.24), transparent 62%), var(--bg-alt); }
.december-h1, .december-title, .december-gtitle { font-family: var(--font-head); font-weight: 800; letter-spacing: .01em; color: #f6f3ee; text-transform: none; }
.december-h1, .page-head-december h1.december-h1 { font-size: clamp(2.2rem, 6.5vw, 3.3rem); }
.december-h1::after { content: ''; display: block; width: 84px; height: 5px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, #e3343f 0 50%, #36a96f 50%); }
.december-kicker { color: #ff6b74; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.december-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.december-code .deal-copy { margin: 0; border-color: #e3343f; background: rgba(227,52,63,.14); }
.december-ship { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; font-size: .9rem; max-width: 720px; border: 1px solid; }
.december-ship.is-ok { border-color: rgba(54,169,111,.5); background: rgba(54,169,111,.12); }
.december-ship.is-late { border-color: rgba(233,196,92,.5); background: rgba(233,196,92,.10); }
.december-ship a { font-weight: 700; white-space: nowrap; }
.december-strip-section { padding-bottom: 0; }
.december-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; flex-wrap: wrap;
  background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(227,52,63,.30), transparent 60%), radial-gradient(ellipse 50% 120% at 0% 100%, rgba(54,169,111,.26), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.december-strip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.december-title { font-size: 1.7rem; line-height: 1.1; }
.type-tag.tag-december { color: #ff6b74; }
.section-bar a.tab-december { color: #ff6b74; }
.section-bar a.tab-december.active { border-bottom-color: #e3343f; }
@media (max-width: 760px) { .december-strip .btn { width: 100%; text-align: center; } .december-title { font-size: 1.4rem; } }

/* snowfall on the drop header */
.page-head.has-snow { position: relative; overflow: hidden; }
.page-head.has-snow > .container { position: relative; z-index: 1; }
.snowfall { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.snowfall i { position: absolute; top: -12px; border-radius: 50%; background: rgba(255,255,255,.85); opacity: .75; animation-name: snowfall; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes snowfall { from { transform: translate3d(0, -12px, 0); } to { transform: translate3d(var(--drift, 0), 420px, 0); } }
@media (prefers-reduced-motion: reduce) { .snowfall { display: none; } }

/* gift guide */
.guide-jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.guide-jump .chip { white-space: nowrap; text-decoration: none; }
.guide-section { scroll-margin-top: 90px; margin-top: 26px; }
.guide-title { font-size: 1.35rem; margin: 0 0 14px; }
.drops-warn { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: .85rem; border: 1px solid rgba(245,197,66,.5); background: rgba(245,197,66,.10); }

/* ---------- Owner Panel: drop editor ---------- */
.drop-form .order-card { margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.drop-form-h { margin: 0; font-size: 1rem; }
.drop-form textarea { width: 100%; }
.check-row { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; font-size: .92rem; }
.check-row input { width: auto !important; margin-top: 3px; flex: none; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix > span { display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--card-border); border-right: 0; border-radius: 8px 0 0 8px; color: var(--muted); background: var(--bg-alt); }
.input-prefix > input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; flex: 1; min-width: 0; }

/* ---------- Owner Panel: bulk product tools ---------- */
.bulk-bar { position: sticky; top: 8px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 12px;
  background: var(--card); border: 1px solid var(--red, #e8202f); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.bulk-bar[hidden] { display: none; }
.bulk-bar select, .bulk-bar input { width: auto; min-width: 0; max-width: 100%; }
.bulk-cell, .data-table th:first-child { width: 34px; }
.bulk-check, #bulk-all { width: 18px; height: 18px; }
@media (max-width: 600px) { .bulk-bar { top: 4px; } .bulk-bar select { flex: 1 1 100%; } }

/* ---------- Footer email sign-up ---------- */
.footer-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 22px 20px; margin-bottom: 26px;
  border: 1px solid var(--card-border); border-radius: 12px; background: var(--card); }
.footer-signup-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.footer-signup-form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; min-width: 0; }
.footer-signup-form .btn { flex: none; }
.footer-signup-form input[type=email] { flex: 1; min-width: 0; }
.footer-signup-msg { flex-basis: 100%; margin: 0; color: var(--success, #3fb37f); }
@media (max-width: 600px) { .footer-signup-form { flex-basis: 100%; max-width: none; } }

/* ---------- Owner Panel: email & sales ---------- */
.email-setup .setup-steps { margin: 0 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.test-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.test-form input { flex: 1 1 220px; min-width: 0; }
.email-toggles { display: flex; flex-direction: column; gap: 10px; }
.tiny-input { width: 64px !important; display: inline-block !important; padding: 2px 6px !important; margin: 0 4px; }
.sales-range { flex-wrap: wrap; }
.sales-range .chip { text-decoration: none; }
.sales-chart { display: flex; align-items: flex-end; gap: 3px; height: 200px; padding: 12px 10px 26px; border: 1px solid var(--card-border); border-radius: 10px; background: var(--card); overflow: hidden; }
.sales-bar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.sales-bar span { display: block; background: linear-gradient(180deg, #ff4a57, #b3121f); border-radius: 3px 3px 0 0; min-height: 0; }
.sales-bar em { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .65rem; color: var(--muted); white-space: nowrap; }
.sales-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; }
@media (max-width: 860px) { .sales-cols { grid-template-columns: minmax(0, 1fr); } }
.footer-signup-form input[type=email] { background: var(--bg-alt, #0f0f13); color: var(--text, #eee); border: 1px solid var(--card-border); border-radius: 8px; padding: 10px 12px; font: inherit; }

/* ---------- Phase 2: bundles, free gift, photo reviews, referrals, gift cards ---------- */
.bundle-box { margin: 26px 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.bundle-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bundle-save { background: rgba(63,179,127,.15); color: #3fb37f; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.bundle-form { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.bundle-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.bundle-item { display: flex; gap: 10px; align-items: center; flex: 1 1 220px; min-width: 0; padding: 8px; border: 1px solid var(--card-border); border-radius: 10px; background: var(--bg-alt); }
.bundle-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex: none; }
.bundle-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bundle-item-body select { padding: 4px 6px; font-size: .85rem; max-width: 100%; }
.bundle-plus { font-size: 1.4rem; color: var(--muted); }
@media (max-width: 600px) { .bundle-plus { display: none; } .bundle-item { flex-basis: 100%; } .bundle-form .btn { width: 100%; } }
.free-gift-hint { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: rgba(63,179,127,.10); border: 1px solid rgba(63,179,127,.35); }
.cart-item-free { border-style: dashed; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.review-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--card-border); }
.review-photos.small-photos img { width: 48px; height: 48px; }
.review-photo-input input { margin-top: 4px; max-width: 100%; }
.referral-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; margin: 16px 0; }
.referral-code { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.referral-code .deal-copy { margin: 0; }
.referral-credits { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dash-subscribe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; margin-bottom: 16px; }
.giftcard-strip { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 18px; text-decoration: none; color: inherit; flex-wrap: wrap; }
.giftcard-strip img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; }
.giftcard-strip > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; min-width: 0; }
.bundle-item-body select { background: var(--card, #15151a); color: var(--text, #eee); border: 1px solid var(--card-border); border-radius: 6px; }

/* ---------- Phase 3: search filters, tracking, size guide ---------- */
.shop-search { flex-wrap: wrap; }
.shop-filters { flex-basis: 100%; }
.shop-filters > summary { list-style: none; display: inline-flex; cursor: pointer; }
.shop-filters > summary::-webkit-details-marker { display: none; }
.shop-filters-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--card-border); border-radius: 10px; background: var(--card); }
.shop-filters-body label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-filters-body select, .shop-filters-body input[type=number] { width: 120px; max-width: 100%; }
.shop-filters-body .check-row { flex-direction: row; align-items: center; }
.shop-filters-actions { display: flex; align-items: center; gap: 12px; flex-basis: 100%; }
@media (max-width: 600px) { .shop-filters-body label { flex: 1 1 40%; } .shop-filters-body select, .shop-filters-body input[type=number] { width: 100%; } }
.narrow-container { max-width: 760px; }
.track-form { margin: 14px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.track-form .plan-edit-grid { width: 100%; }
.track-result { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.track-items { margin: 0; padding-left: 18px; }
.order-timeline { margin: 14px 0 18px; width: 100%; }
.order-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.order-timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-top: 2px; font-size: .78rem; color: var(--muted); min-width: 0; }
.order-timeline li::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--card-border); z-index: 0; }
.order-timeline li:first-child::before { display: none; }
.order-timeline li.done::before, .order-timeline li.now::before { background: #3fb37f; }
.ot-dot { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--card-border); background: var(--bg); position: relative; z-index: 1; }
.order-timeline li.done .ot-dot { background: #3fb37f; border-color: #3fb37f; }
.order-timeline li.now .ot-dot { border-color: #3fb37f; box-shadow: 0 0 0 4px rgba(63,179,127,.2); }
.order-timeline li.done, .order-timeline li.now { color: var(--text); }
.ot-label { overflow-wrap: anywhere; }
.ot-track { margin: 10px 0 0; }
@media (max-width: 520px) {
  .order-timeline ol { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .order-timeline li { flex-direction: row; text-align: left; gap: 10px; }
  .order-timeline li::before { left: 7px; top: -12px; width: 3px; height: 14px; }
  .ot-date { margin-left: auto; }
}
.size-guide-open { padding: 0; font-weight: 600; text-decoration: underline; }
.size-dialog { max-width: min(560px, calc(100vw - 24px)); width: 100%; border: 1px solid var(--card-border); border-radius: 14px; background: var(--card); color: var(--text); padding: 18px; }
.size-dialog::backdrop { background: rgba(0,0,0,.6); }
.size-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.size-dialog-head .link-btn { font-size: 1.6rem; line-height: 1; }
.size-chart { margin: 14px 0; }
.size-chart h3 { margin: 0 0 6px; }
.size-table td, .size-table th { text-align: center; white-space: nowrap; }
.size-table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: 10px; }
.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.size-table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.size-table th, .size-table td { padding: 8px 10px; border-bottom: 1px solid var(--card-border); }
.size-table tr:last-child td { border-bottom: 0; }

/* ---------- 2027 drop themes ---------- */
.page-head-january { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(124,196,255,.26), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(170,179,194,.18), transparent 62%), var(--bg-alt); }
.page-head-valentine { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(255,79,123,.30), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(163,23,31,.26), transparent 62%), var(--bg-alt); }
.page-head-stpatrick { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(60,207,107,.26), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(231,194,75,.22), transparent 62%), var(--bg-alt); }
.page-head-spring { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(184,242,106,.22), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(31,122,122,.30), transparent 62%), var(--bg-alt); }
.page-head-summer { background: radial-gradient(ellipse 60% 120% at 82% 0%, rgba(255,178,46,.30), transparent 60%), radial-gradient(ellipse 45% 100% at 8% 100%, rgba(240,122,94,.26), transparent 62%), var(--bg-alt); }
.january-h1, .january-title, .january-gtitle, .valentine-h1, .valentine-title, .valentine-gtitle, .stpatrick-h1, .stpatrick-title, .stpatrick-gtitle,
.spring-h1, .spring-title, .spring-gtitle, .summer-h1, .summer-title, .summer-gtitle { font-family: var(--font-head); font-weight: 800; letter-spacing: .01em; text-transform: none; color: #f6f3ee; }
.january-h1, .valentine-h1, .stpatrick-h1, .spring-h1, .summer-h1 { font-size: clamp(2.2rem, 6.5vw, 3.3rem); }
.january-h1::after, .valentine-h1::after, .stpatrick-h1::after, .spring-h1::after, .summer-h1::after { content: ''; display: block; width: 84px; height: 5px; margin-top: 10px; border-radius: 3px; }
.january-h1::after { background: linear-gradient(90deg, #7cc4ff 0 50%, #aab3c2 50%); }
.valentine-h1::after { background: linear-gradient(90deg, #ff4f7b 0 50%, #a3171f 50%); }
.stpatrick-h1::after { background: linear-gradient(90deg, #3ccf6b 0 50%, #e7c24b 50%); }
.spring-h1::after { background: linear-gradient(90deg, #b8f26a 0 50%, #1f7a7a 50%); }
.summer-h1::after { background: linear-gradient(90deg, #ffb22e 0 50%, #f07a5e 50%); }
.january-kicker { color: #7cc4ff; } .valentine-kicker { color: #ff7a9a; } .stpatrick-kicker { color: #3ccf6b; } .spring-kicker { color: #b8f26a; } .summer-kicker { color: #ffb22e; }
.january-kicker, .valentine-kicker, .stpatrick-kicker, .spring-kicker, .summer-kicker { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.january-code, .valentine-code, .stpatrick-code, .spring-code, .summer-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.january-code .deal-copy { margin: 0; border-color: #7cc4ff; background: rgba(124,196,255,.12); }
.valentine-code .deal-copy { margin: 0; border-color: #ff4f7b; background: rgba(255,79,123,.12); }
.stpatrick-code .deal-copy { margin: 0; border-color: #3ccf6b; background: rgba(60,207,107,.12); }
.spring-code .deal-copy { margin: 0; border-color: #b8f26a; background: rgba(184,242,106,.10); }
.summer-code .deal-copy { margin: 0; border-color: #ffb22e; background: rgba(255,178,46,.12); }
.january-strip-section, .valentine-strip-section, .stpatrick-strip-section, .spring-strip-section, .summer-strip-section { padding-bottom: 0; }
.january-strip, .valentine-strip, .stpatrick-strip, .spring-strip, .summer-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; flex-wrap: wrap; }
.january-strip { background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(124,196,255,.26), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.valentine-strip { background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(255,79,123,.30), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.stpatrick-strip { background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(60,207,107,.26), transparent 60%), radial-gradient(ellipse 50% 120% at 0% 100%, rgba(231,194,75,.22), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.spring-strip { background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(184,242,106,.22), transparent 60%), radial-gradient(ellipse 50% 120% at 0% 100%, rgba(31,122,122,.30), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.summer-strip { background: radial-gradient(ellipse 70% 140% at 100% 50%, rgba(255,178,46,.28), transparent 60%), radial-gradient(ellipse 50% 120% at 0% 100%, rgba(240,122,94,.26), transparent 60%), linear-gradient(160deg, var(--steel-1), var(--steel-2)); }
.january-strip-text, .valentine-strip-text, .stpatrick-strip-text, .spring-strip-text, .summer-strip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.january-title, .valentine-title, .stpatrick-title, .spring-title, .summer-title { font-size: 1.7rem; line-height: 1.1; }
.type-tag.tag-january { color: #7cc4ff; } .type-tag.tag-valentine { color: #ff7a9a; } .type-tag.tag-stpatrick { color: #3ccf6b; } .type-tag.tag-spring { color: #b8f26a; } .type-tag.tag-summer { color: #ffb22e; }
.section-bar a.tab-january { color: #7cc4ff; } .section-bar a.tab-valentine { color: #ff7a9a; } .section-bar a.tab-stpatrick { color: #3ccf6b; } .section-bar a.tab-spring { color: #b8f26a; } .section-bar a.tab-summer { color: #ffb22e; }
.section-bar a.tab-january.active { border-bottom-color: #7cc4ff; } .section-bar a.tab-valentine.active { border-bottom-color: #ff4f7b; } .section-bar a.tab-stpatrick.active { border-bottom-color: #3ccf6b; } .section-bar a.tab-spring.active { border-bottom-color: #b8f26a; } .section-bar a.tab-summer.active { border-bottom-color: #ffb22e; }
@media (max-width: 760px) { .january-strip .btn, .valentine-strip .btn, .stpatrick-strip .btn, .spring-strip .btn, .summer-strip .btn { width: 100%; text-align: center; } .january-title, .valentine-title, .stpatrick-title, .spring-title, .summer-title { font-size: 1.4rem; } }

/* ---------- Sign in with Google (follows Google's button guidelines: white, gray outline, full-color G) ---------- */
.gsi-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; margin-top: 20px;
  background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 22px; font-family: Roboto, Arial, sans-serif;
  font-weight: 500; font-size: 15px; letter-spacing: .25px; text-decoration: none; transition: background .15s, box-shadow .15s; }
.gsi-btn:hover { background: #f2f2f2; color: #1f1f1f; box-shadow: 0 1px 3px rgba(0,0,0,.3); text-decoration: none; }
.gsi-btn:focus-visible { outline: 3px solid #4285f4; outline-offset: 2px; }
.gsi-logo { width: 20px; height: 20px; flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 -4px; color: var(--muted, #9a9a9a); font-size: .82rem; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--card-border); }
.discord-name-card { padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 16px 0; }
.discord-name-row { display: flex; gap: 8px; flex: 1 1 240px; min-width: 0; max-width: 380px; box-sizing: border-box; }
.discord-name-row .btn { flex: none; }
.discord-name-card > div:first-child { flex: 1 1 240px; min-width: 0; }
.discord-name-row input { flex: 1; min-width: 0; background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: 8px; padding: 8px 12px; color: var(--text); font: inherit; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 2px; }
.copy-row code { word-break: break-all; background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: 6px; padding: 4px 8px; font-size: .82rem; }
.form label.checkbox-row { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.form label.checkbox-row input { width: auto; }
