/* Customer storefront. Admin retains its separate dark workspace. */
:root {
  color-scheme: dark;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Arial, Helvetica, sans-serif;
  --bg: #0d0e10;
  --bg-alt: #121316;
  --panel: #18191c;
  --panel-solid: #18191c;
  --panel-2: #222327;
  --line: #2b2d31;
  --line-strong: #414349;
  --text: #f2f2f3;
  --muted: #aaaab0;
  --dim: #a0a1a8;
  --accent: #f2f2f3;
  --accent-hover: #e4e4e4;
  --accent-soft: #222327;
  --green: #f2f2f3;
  --star: #f2f2f3;
  --danger: #ff6b6b;
  --radius: 4px;
  --radius-sm: 3px;
  --maxw: 1180px;
  --shadow: 0 12px 32px #0d0e101a;
  --glow: none;
}
body { font-size: 16px; line-height: 1.6; }
::selection { background: #414349; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); }
.site-header { background: #0d0e10; color: #f2f2f3; backdrop-filter: none; border: 0; }
.site-header .wrap { height: 76px; gap: 32px; }
.brand { font-size: 21px; letter-spacing: -.045em; }
.brand .mark { width: 30px; height: 30px; border-radius: 3px; box-shadow: none; }
.site-header .nav { gap: 20px; }
.site-header .nav a { color: #aaaab0; padding: 24px 0; border-radius: 0; border-bottom: 3px solid transparent; }
.site-header .nav a.active { color: #f2f2f3; border-bottom-color: #f2f2f3; background: none; box-shadow: none; }
.site-header .nav a:hover { color: #f2f2f3; background: none; }
.site-header .icon-btn, .site-header .btn-login { color: #f2f2f3; border-color: #414349; border-radius: 3px; }
.site-header .icon-btn:hover, .site-header .btn-login:hover { background: #222327; }
.site-header .cart-count { color: #0d0e10; background: var(--panel); box-shadow: 0 0 0 2px #0d0e10; }
.site-header .acct > summary { color: #f2f2f3; }
.site-header .acct-menu { color: var(--text); }
.btn { font-size: 15px; border-radius: 3px; min-height: 44px; box-shadow: none; }
.btn-primary, .btn-primary:hover:not(:disabled) { color: #f2f2f3; box-shadow: none; }
.btn-ghost:hover:not(:disabled) { border-color: var(--text); }
.skip-link { color: #f2f2f3; }
.shop-intro { padding-top: 42px; padding-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.shop-label { font: 700 12px/1.4 var(--font-body); letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.shop-intro h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 12px; }
.shop-intro > div > p:last-child { color: var(--muted); margin: 0; }
.shop-help, .text-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.shop-help { padding-bottom: 4px; white-space: nowrap; }
.shop-catalog { padding-bottom: 24px; }
.shop-catalog .spotlight { margin: 0; padding: 0; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; border: 0; background: none; border-radius: 0; align-items: start; }
.spot-media { min-width: 0; padding: 0; background: none; }
.gallery, .spot-media .gallery { border: 1px solid var(--line); border-radius: 3px; }
.gallery .main, .spot-media .gallery .main { background: #151619; aspect-ratio: 10/8; min-height: 0; padding: 0; }
.gallery .main img, .spot-media .main img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: none; border-radius: 0; }
.spot-buy { padding: 6px 0 0; }
.spot-kicker { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.spot-title { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 12px; }
.spot-rating { font-size: 14px; margin-bottom: 20px; }
.buybox, .spot-buy .buybox { padding: 22px; box-shadow: none; border-radius: 3px; }
.spot-buy .buybox { border: 0; padding: 0; }
.buybox .amount { font-family: var(--font-body); font-size: 32px; letter-spacing: -.035em; }
.save { color: #f2f2f3; background: #222327; border: 0; border-radius: 3px; font-size: 13px; }
.stock-line { font-size: 14px; padding: 14px 0; }
.stock-line .dot { box-shadow: none; }
.qty-row { padding: 16px 0; font-size: 14px; }
.stepper button, .stepper input { height: 44px; }
.stepper button { width: 44px; }
.buy-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-actions .btn { padding: 12px; font-size: 14px; }
.perks { margin: 16px 0 0; padding: 14px 0 0; gap: 6px; }
.perks li { font-size: 14px; }
.perks svg { display: none; }
.purchase-links { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; font-size: 14px; }
.purchase-links a { text-decoration: underline; text-underline-offset: 4px; }
.spot-about { grid-template-columns: 1.12fr 1fr; gap: 48px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.spot-about h3 { font-size: 16px; margin: 0 0 10px; }
.spot-about p { font-size: 15px; }
.seller-note { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-top: 38px; padding-bottom: 38px; margin-top: 20px; position: relative; }
.seller-note::before { content: ''; position: absolute; inset: 0 var(--gutter); background: var(--bg-alt); z-index: -1; }
.seller-note > div { padding: 0 28px; }
.seller-note h2, .shop-questions h2 { font-size: 27px; letter-spacing: -.035em; line-height: 1.2; margin: 0; }
.seller-note p:not(.shop-label) { margin: 0 0 12px; color: var(--muted); }
.home-section { padding-top: 44px; padding-bottom: 12px; }
.sec-head, .sec-head.is-center { text-align: left; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sec-head h2 { font-size: 27px; letter-spacing: -.035em; }
.sec-sub { font-size: 14px; }
.reviews { gap: 24px; }
.review { background: var(--panel); border: 0; border-top: 2px solid var(--line); border-radius: 0; padding: 20px 0; box-shadow: none; }
.review > p { font-size: 16px; }
.shop-questions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-top: 50px; padding-bottom: 20px; }
.shop-questions h2 { margin-bottom: 22px; }
.faq { max-width: none; margin: 0; }
.q { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; margin: 0; }
.q summary { padding: 18px 0; font-size: 16px; }
.q:first-child summary { padding-top: 0; }
.q p { padding: 0 0 18px; margin: 0; font-size: 15px; }
.q a { text-decoration: underline; }
.site-footer { margin-top: 40px; padding-top: 38px; background: var(--bg-alt); }
.foot-links h4, .foot-links a, .foot-brand p, .contact-row, .contact-note { font-size: 14px; }
.foot-links h4 { text-transform: none; letter-spacing: 0; color: var(--text); }
.foot-legal { font-size: 12px; }
.contact-note { color: var(--muted); }
.finder { border-top: 1px solid var(--line); padding-top: 20px; }
.search-row { background: var(--panel); border-color: var(--line-strong); border-radius: 3px; }
.search-row input { font-size: 16px; }
.chip { border-radius: 3px; font-size: 14px; min-height: 42px; }
.chip.is-active { color: #f2f2f3; background: var(--accent); border-color: var(--accent); }
.pgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pcard { border: 0; border-radius: 0; background: none; }
.pcard:hover { transform: none; box-shadow: none; }
.pcard-media { aspect-ratio: 10/8; padding: 0; background: var(--bg-alt); border: 1px solid var(--line); }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; filter: none; }
.pcard-body { padding: 16px 0; gap: 10px; }
.pcard-title { font-size: 18px; }
.ptag { background: none; border: 0; border-radius: 0; padding: 0 10px 0 0; font-size: 13px; }
.pcard-price { background: none; border: 0; padding: 0; font: 700 20px var(--font-body); }
.pcard-price .was, .pcard-stock, .pcard-action { font-size: 14px; }
.pcard-action { padding-top: 12px; color: var(--accent); }
.page-head { text-align: left; padding: 30px 0 24px; margin-bottom: 28px; }
.page-head h1, .product-title { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.035em; }
.page-head p { margin-left: 0; }
.page-head h1 span { color: var(--text); }
.product { gap: 32px; }
.product .gallery .main img { max-height: none !important; }
.crumbs { flex-wrap: wrap; font-size: 14px; }
.tab, .tab-panel, .hint, .fine, .co-label, .co-fine, .checkout-caution, .checkout-steps li { font-size: 14px; }
.tab-panel p { white-space: pre-line; }
.panel-block, .co-pad { box-shadow: none; }
.drawer, .sidenav { background: var(--panel); }
.drawer .fine, .drawer .li-meta { color: var(--muted); }
.drawer .total-row { color: var(--text); }
.drawer-scrim { background: #0d0e1066; backdrop-filter: none; }
.toast { background: #0d0e10; color: #f2f2f3; border-color: #0d0e10; }
.thumb { padding: 0; background: var(--bg-alt); border-radius: 3px; }
.gw-card, .gw-panel, .gw-hero { box-shadow: none; border-radius: 3px; }
.gw-flag { color: #f2f2f3; }
@media (max-width: 900px) {
  .site-header .wrap { height: 64px; gap: 12px; }
  .shop-intro { padding-top: 28px; }
  .shop-catalog .spotlight, .spot-about { gap: 24px; }
  .seller-note, .shop-questions { gap: 24px; }
  .buy-actions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .shop-intro { display: block; padding-bottom: 24px; }
  .shop-intro h1 { font-size: 32px; }
  .shop-help { display: inline-block; margin-top: 16px; }
  .shop-catalog .spotlight, .spot-about, .seller-note, .shop-questions { grid-template-columns: 1fr; }
  .spot-buy { padding-top: 0; }
  .spot-title { font-size: 28px; }
  .gallery .main, .spot-media .gallery .main { aspect-ratio: 10/7; }
  .seller-note { padding-top: 28px; padding-bottom: 28px; }
  .seller-note > div { padding: 0 20px; }
  .seller-note, .shop-questions { gap: 20px; }
  .shop-questions { padding-top: 36px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .pcard-title { font-size: 16px; }
  .pcard-price { font-size: 18px; }
  .pcard-foot { align-items: flex-start; flex-direction: column; }
  .sec-head { align-items: flex-start; flex-direction: column; }
  .foot-top { gap: 28px; }
  .product > div:last-child { position: static; }
  .purchase-links { flex-direction: column; }
  .site-header .brand { font-size: 19px; }
}
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .site-header .btn-login { padding: 7px 10px; }
  .site-header .brand { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Override the original element-qualified FAQ and pagination states. */
details.q, details.q[open] { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
details.q summary { padding: 18px 0; font-size: 16px; }
details.q:first-child summary { padding-top: 0; }
details.q p { padding: 0 0 18px; font-size: 15px; }
.pill-tab.is-active, .page-btn.is-active { background: var(--accent); color: #f2f2f3; }
.spot-media { border: 0; }
.gw-note.is-warn { color: var(--danger); }
.contact-banner { background: var(--bg-alt); box-shadow: none; }
@media (max-width: 350px) {
  .site-header .brand .mark { display: none; }
  .pgrid { grid-template-columns: 1fr; }
}

/* Catalog: all items share a consistent image, title, price and stock layout. */
.btn-primary, .btn-primary:hover:not(:disabled), .chip.is-active,
.pill-tab.is-active, .page-btn.is-active, .skip-link, .gw-flag { color: #0d0e10; }
.site-header .cart-count { color: #0d0e10; background: #f2f2f3; }
.shop-intro { padding-top: 30px; padding-bottom: 26px; }
.shop-intro h1 { font-size: clamp(28px, 4vw, 38px); }
.shop-catalog .finder { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.shop-catalog .search-row { width: min(300px, 100%); margin: 0; }
.shop-catalog .chips { flex: 1; justify-content: flex-end; }
.shop-catalog .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
.pcard:hover { border-color: var(--line-strong); }
.pcard-media { border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4/3; padding: 12px; background: #121316; }
.pcard-body { padding: 18px; }
.pcard-title { font-size: 17px; min-height: 2.7em; }
.pcard-stock { font-size: 13px; }
.catalog-category { font-size: 12px; color: var(--muted); }
.result-count { margin: 16px 0; font-size: 14px; }
.shop-catalog .pcard-action { color: var(--text); }
@media (max-width: 760px) {
  .shop-catalog .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .shop-catalog .finder { align-items: stretch; flex-direction: column; }
  .shop-catalog .search-row { width: 100%; }
  .shop-catalog .chips { justify-content: flex-start; }
  .pcard-body { padding: 12px; }
}
@media (max-width: 360px) { .shop-catalog .pgrid { grid-template-columns: 1fr; } }
/* A short review preview directly beneath the catalog. */
.shop-reviews { padding-top: 28px; padding-bottom: 28px; }
.shop-reviews .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shop-reviews .review { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 0; background: var(--panel); }
.shop-reviews .review > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; margin: 12px 16px 16px; padding: 0; font-size: 15px; }
.shop-reviews .review .top { flex-wrap: wrap; gap: 8px; }
.shop-reviews .review .who { margin-top: auto; font-size: 13px; }
@media (max-width: 760px) { .shop-reviews .reviews { grid-template-columns: 1fr; } }
/* Phone layout: compact navigation, bounded filters and readable product rows. */
.shop-catalog { padding-top: 0; }
.shop-catalog .finder { margin-top: 0; }
@media (max-width: 760px) {
  .site-header .wrap { height: 60px; }
  .site-header .icon-btn { width: 44px; height: 44px; flex: 0 0 44px; }
  .site-header .brand { margin-right: auto; }
  .shop-intro { padding-top: 22px; padding-bottom: 22px; }
  .shop-intro .shop-label { display: none; }
  .shop-intro h1 { font-size: 29px; margin-bottom: 8px; overflow-wrap: anywhere; }
  .shop-intro > div > p:last-child { font-size: 14px; line-height: 1.5; }
  .shop-help { margin-top: 12px; }
  .shop-catalog .finder { position: static; margin: 0 0 12px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; gap: 10px; min-width: 0; }
  .shop-catalog .search-row { width: 100%; padding: 10px 12px; }
  .shop-catalog .finder .chips { width: 100%; min-width: 0; max-width: 100%; margin: 0; gap: 8px; padding: 0 0 4px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .shop-catalog .chip { min-height: 44px; padding: 9px 13px; font-size: 14px; }
  .result-count { margin: 10px 0 14px; }
  .shop-reviews .sec-head { gap: 10px; }
  .shop-reviews .sec-head h2 { font-size: 24px; }
  .shop-reviews .reviews { gap: 12px; }
  .shop-reviews .review { min-height: 0; }
  .shop-reviews .review .top { padding: 12px 14px 0; font-size: 12px; }
  .shop-reviews .review .who { padding: 10px 14px; flex-wrap: wrap; }
  .seller-note { margin-top: 8px; }
  .seller-note h2, .shop-questions h2 { font-size: 24px; }
  .seller-note p:not(.shop-label), .shop-questions p { font-size: 15px; }
  .shop-questions { padding-top: 30px; }
  .foot-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; width: 100%; }
  .foot-bottom { gap: 16px; }
  .foot-legal { margin-left: 0; gap: 8px; }
  .drawer, .sidenav { max-width: 100vw; width: min(390px,100vw); }
  .product { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .product-title { font-size: 28px; }
  .product-sub { margin-bottom: 20px; }
  .product .buybox { padding: 18px; }
  .checkout-grid { grid-template-columns: minmax(0,1fr); }
  .checkout-grid > aside { position: static; }
  .checkout-steps { gap: 5px; }
  .checkout-steps li { padding: 10px 7px; font-size: 13px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .shop-catalog .pgrid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .shop-catalog .pcard { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: stretch; }
  .shop-catalog .pcard-media { aspect-ratio: auto; min-height: 150px; padding: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
  .shop-catalog .pcard-media img { width: 100%; height: auto; max-height: 150px; object-fit: contain; }
  .shop-catalog .pcard-body { padding: 12px; gap: 6px; min-width: 0; }
  .shop-catalog .pcard-title { font-size: 16px; min-height: 0; display: block; overflow: visible; line-height: 1.35; }
  .shop-catalog .catalog-category { font-size: 12px; }
  .shop-catalog .pcard-tags { display: none; }
  .shop-catalog .pcard-foot { flex-direction: row; align-items: center; gap: 5px 10px; }
  .shop-catalog .pcard-price { font-size: 18px; }
  .shop-catalog .pcard-price .was { font-size: 12px; }
  .shop-catalog .pcard-stock { font-size: 12px; }
  .shop-catalog .pcard-action { font-size: 13px; padding-top: 8px; }
}
@media (max-width: 350px) {
  .shop-catalog .pcard { grid-template-columns: 88px minmax(0,1fr); }
  .shop-catalog .pcard-body { padding: 10px; }
}
@media (max-width: 760px) {
  /* Keep the purchase controls above the long description on phones. */
  .product > div:first-child { display: contents; }
  .product > div:first-child > .gallery { order: 0; }
  .product > div:last-child { order: 1; }
  .product > div:first-child > .tabs { order: 2; margin-top: 0; }
  .product > div:first-child > .tab-panel { order: 3; }
}
/* Crisp liquid lettering: only the nearby letters move, with a soft red tint. */
.shop-intro .ripple-title { position: relative; display: inline-block; isolation: isolate; }
.ripple-title__text { position: relative; display: inline-block; white-space: nowrap; }
.liquid-letter { display: inline-block; transform-origin: 50% 70%; }
.ripple-title__surface { display: none; }
@media (prefers-reduced-motion: reduce), (hover: none) {
  .liquid-letter { transform: none !important; color: inherit !important; text-shadow: none !important; }
}
/* Product names keep normal word wrapping and a single accessible label. */
.liquid-title { position: relative; }
.liquid-word { display: inline-block; white-space: nowrap; }
.liquid-title-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pcard-title.liquid-title { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
/* Inline text runs inherit the surrounding typography and retain word wrapping. */
.liquid-text-run { position: relative; }
.liquid-text-run .liquid-word { max-width: 100%; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .liquid-text-run .liquid-word, .liquid-text-run .liquid-letter { display: inline; }
}
/* Inline-block animated letters must carry the old-price strikethrough. */
.was .liquid-letter { text-decoration: line-through; text-decoration-color: currentColor; text-decoration-thickness: 1px; }

/* MelonVault palette, based on the watermelon mark. */
:root {
  --bg: #101713;
  --bg-alt: #172019;
  --panel: #1c2720;
  --panel-solid: #1c2720;
  --panel-2: #263229;
  --line: #344439;
  --line-strong: #526b54;
  --accent: #f17b69;
  --accent-hover: #ff9a88;
  --accent-soft: #3a2725;
  --green: #b9ce77;
  --star: #f39575;
}
.site-header { background: #101713; }
.site-header .nav a.active { border-bottom-color: var(--accent); }
.site-header .cart-count { background: var(--accent); }
.shop-label { color: var(--green); }
.brand .mark, .brand .mark img { image-rendering: pixelated; }
::selection { background: #913e38; color: #fff; }
