
/* ===== Shared chrome overrides for v0 themes ===== */
body { background: var(--bg); color: var(--ink); font-family: var(--font-text); }
.promo-bar { background: var(--announce); color: var(--announce-ink); }
.site-header { background: var(--v0-primary); color: var(--accent-ink); border-bottom: 0; }
.site-header .logo img { filter: brightness(0) invert(1); max-height: 40px; width: auto; }
.site-header-nav a { color: rgba(255,255,255,.92) !important; font-weight: 700; }
.site-header-nav a:hover, .site-header-nav a.is-active { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { color: #fff !important; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.header-cart { background: var(--paper); color: var(--v0-ink-fg) !important; border-radius: 10px; padding: .45rem .85rem; gap: .5rem; }
.header-cart:hover { filter: brightness(1.1); color: var(--v0-ink-fg) !important; }
.header-cart-badge { background: var(--v0-accent); color: var(--v0-accent-ink, #fff); border-radius: 999px; min-width: 1.35rem; height: 1.35rem; display:inline-grid; place-items:center; font-size: .75rem; font-weight: 800; }
.btn-primary, .btn-gold, .btn-add { background: var(--v0-primary) !important; color: var(--accent-ink) !important; border-radius: var(--radius-sm); }
.btn-primary:hover, .btn-add:hover, .btn-gold:hover { filter: brightness(1.08); color: #fff !important; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink) !important; background: transparent; border-radius: 999px; }
.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.product-card .price-now, .product-card .price { color: var(--ink); }
.site-footer { background: var(--paper); color: var(--v0-ink-fg); }
.footer-card { background: transparent; color: var(--v0-ink-fg); }
.footer-card a { color: rgba(255,255,255,.8); }
.footer-card a:hover { color: #fff; }
.footer-card h3 { color: #fff; text-transform: none; }
.footer-imprint, .age-footer-note { color: rgba(255,255,255,.55); }
.line-fab { background: #06C755; }
.v0-wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.v0-display { font-family: var(--font-display); font-weight: var(--weight-display, 800); letter-spacing: var(--track-display); line-height: var(--leading-display); }
@keyframes v0-rise { from { opacity:0; transform: translateY(14px);} to { opacity:1; transform:none;} }
.v0-rise { animation: v0-rise .65s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .v0-rise { animation: none; } }


/* ===== BLUE Ice Cool theme ===== */
body.theme-ice .site-header { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); }
body.theme-ice .site-header .logo img { filter: none; }
body.theme-ice .site-header-nav a { color: rgba(13,24,48,.8) !important; font-weight:500; }
body.theme-ice .site-header-nav a:hover, body.theme-ice .site-header-nav a.is-active { color: var(--v0-primary) !important; text-decoration:none; }
body.theme-ice .nav-toggle { color: var(--ink) !important; border-color: var(--line); }
body.theme-ice .header-cart { background: var(--paper); color: #fff !important; border-radius:999px; }
body.theme-ice .header-cart-badge { background: var(--v0-accent); }
body.theme-ice .logo-badge { display:inline-flex; align-items:center; margin-left:.35rem; background: var(--v0-primary); color:#fff; border-radius:999px; padding:.15rem .45rem; font-size:.65rem; font-weight:800; letter-spacing:.04em; }

.ice-hero { padding: 2rem 0 3rem; }
.ice-hero-grid { display:grid; gap:2rem; align-items:center; }
@media (min-width:1000px){ .ice-hero-grid { grid-template-columns: 1fr 1fr; } }
.ice-hero-copy { display:flex; flex-direction:column; gap:1.5rem; }
.ice-chip { width:fit-content; display:inline-flex; align-items:center; gap:.4rem; border:1px solid color-mix(in srgb, var(--v0-primary) 30%, transparent); background: var(--surface); color: var(--v0-primary); border-radius:999px; padding:.3rem .75rem; font-size:.75rem; font-weight:700; }
.ice-hero-copy h1 { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size: clamp(2.4rem, 6vw, 4rem); margin:0; letter-spacing: var(--track-display); line-height: var(--leading-display); }
.ice-hero-copy h1 .hi { color: var(--v0-primary); }
.ice-level { background: var(--surface); border-radius:1rem; padding:1.15rem; box-shadow: 0 1px 0 var(--line); border:1px solid var(--line); display:flex; flex-direction:column; gap:1rem; }
.ice-level-top { display:flex; justify-content:space-between; gap:1rem; align-items:center; }
.ice-level-top strong { font-size:.875rem; }
.ice-level-top span { font-size:.875rem; color: var(--muted); }
.ice-bars { display:grid; grid-template-columns: repeat(5,1fr); gap:.5rem; align-items:end; }
.ice-bars button { background:none; border:0; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:.4rem; padding:0; }
.ice-bars .bar { width:100%; border-radius:6px; background: var(--field); transition: background .25s; }
.ice-bars button.is-on .bar, .ice-bars button.is-fill .bar { background: var(--v0-primary); }
.ice-bars .n { font-size:.75rem; font-weight:700; color: var(--muted); }
.ice-bars button.is-on .n { color: var(--v0-primary); }
.ice-level-note { margin:0; font-size:.875rem; color: var(--muted); line-height:1.6; }
.ice-cta-row { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.ice-cta-row .btn-solid { display:inline-flex; align-items:center; gap:.4rem; background: var(--v0-primary); color:#fff; border-radius:999px; padding:.85rem 1.4rem; font-weight:700; font-size:.875rem; }
.ice-cta-row .price { font-size:.875rem; color: var(--muted); }
.ice-cta-row .price b { font-size:1.15rem; color: var(--ink); }
.ice-hero-visual { position:relative; }
.ice-hero-frame { position:relative; aspect-ratio:1; overflow:hidden; border-radius:1.5rem; background: var(--field); }
.ice-hero-frame img { width:100%; height:100%; object-fit:cover; display:block; }
.ice-lv-badge { position:absolute; top:1.15rem; left:1.15rem; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(6px); border-radius:1rem; padding:.5rem .9rem; display:flex; align-items:baseline; gap:.25rem; }
.ice-lv-badge .big { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size:2rem; color: var(--v0-primary); letter-spacing: var(--track-display); }
.ice-lv-badge .sm { font-size:.7rem; font-weight:700; color: var(--muted); }
.ice-specs { display:grid; grid-template-columns: repeat(3,1fr); gap:.75rem; margin-top:1rem; }
.ice-specs div { background: var(--surface); border:1px solid var(--line); border-radius:1rem; padding:.75rem 1rem; }
.ice-specs .v { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size:1.25rem; letter-spacing: var(--track-display); }
.ice-specs .u { font-size:.7rem; color: var(--muted); }

.ice-featured { padding: 1rem 0 2rem; }
.ice-featured-grid { display:grid; gap:1.25rem; list-style:none; margin:0; padding:0; }
@media (min-width:800px){ .ice-featured-grid { grid-template-columns: 1fr 1fr; } }
.ice-feat { display:grid; grid-template-columns: 3fr 2fr; overflow:hidden; border-radius:1.5rem; min-height:14rem; color:#fff; text-decoration:none; }
.ice-feat.tone-a { background: var(--v0-primary); }
.ice-feat.tone-b { background: var(--v0-accent); }
.ice-feat-body { padding:1.5rem; display:flex; flex-direction:column; justify-content:space-between; gap:1.5rem; }
.ice-feat .tag { width:fit-content; background: rgba(255,255,255,.2); border-radius:999px; padding:.25rem .65rem; font-size:.7rem; font-weight:700; }
.ice-feat h3 { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size:1.35rem; margin:.5rem 0; line-height:1.3; letter-spacing: var(--track-display); }
.ice-feat p { margin:0; font-size:.875rem; opacity:.92; line-height:1.55; }
.ice-feat-bottom { display:flex; justify-content:space-between; align-items:center; }
.ice-feat .yen { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size:1.2rem; letter-spacing: var(--track-display); }
.ice-feat .go { width:2.4rem; height:2.4rem; border-radius:50%; background: var(--surface); color: var(--ink); display:grid; place-items:center; font-size:1.1rem; transition: transform .2s; }
.ice-feat:hover .go { transform: rotate(45deg); }
.ice-feat-img { min-height:10rem; }
.ice-feat-img img { width:100%; height:100%; object-fit:cover; display:block; }

.ice-products { padding: 2.5rem 0 3rem; }
.ice-products-head { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:flex-end; }
.ice-products-head .k { font-size:.7rem; font-weight:800; letter-spacing:.12em; color: var(--v0-primary); margin:0; }
.ice-products-head h2 { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin:.25rem 0 0; letter-spacing: var(--track-display); line-height: var(--leading-display); }
.ice-filters { display:flex; flex-wrap:wrap; gap:.5rem; }
.ice-filters button { border:0; border-radius:999px; padding:.5rem 1rem; font-size:.875rem; font-weight:500; cursor:pointer; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ice-filters button.is-on { background: var(--paper); color:#fff; box-shadow:none; }
.ice-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:1rem; list-style:none; margin:1.75rem 0 0; padding:0; }
@media (min-width:1000px){ .ice-grid { grid-template-columns: repeat(4,1fr); gap:1.25rem; } }
.ice-card { background: var(--surface); border-radius:1rem; overflow:hidden; border:1px solid var(--line); display:flex; flex-direction:column; transition: box-shadow .2s; }
.ice-card:hover { box-shadow: 0 10px 28px rgba(13,24,48,.08); }
.ice-card-img { position:relative; aspect-ratio:4/5; background: var(--field); overflow:hidden; }
.ice-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .45s; }
.ice-card:hover .ice-card-img img { transform: scale(1.05); }
.ice-card-img .series { position:absolute; top:.75rem; left:.75rem; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(4px); border-radius:999px; padding:.2rem .55rem; font-size:.65rem; font-weight:700; }
.ice-card-body { padding:1rem; display:flex; flex-direction:column; gap:.65rem; flex:1; }
.ice-card-body h3 { font-size:.875rem; margin:0; line-height:1.35; }
.ice-card-body h3 a { color: inherit; }
.ice-card-body .meta { font-size:.72rem; color: var(--muted); margin:0; line-height:1.45; }
.ice-card-row { margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:.5rem; }
.ice-card-row .yen { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size:1.05rem; letter-spacing: var(--track-display); }
.ice-card-row .yen small { font-family: var(--font-text); font-size:.65rem; font-weight:400; color: var(--muted); margin-left:.2rem; }
.ice-card-row .add { width:2.4rem; height:2.4rem; border-radius:50%; border:0; background: var(--v0-accent); color:#fff; display:grid; place-items:center; cursor:pointer; font-size:1.1rem; }
.ice-card-row .add.is-on { background: var(--v0-primary); }

.ice-flowfaq { background: var(--paper); color: var(--v0-ink-fg); padding: 3.5rem 0; }
.ice-flowfaq-grid { display:grid; gap:2.5rem; }
@media (min-width:1000px){ .ice-flowfaq-grid { grid-template-columns: 1fr 1fr; gap:3rem; } }
.ice-flowfaq .k { font-size:.7rem; font-weight:800; letter-spacing:.12em; color: var(--v0-accent); margin:0 0 .35rem; }
.ice-flowfaq h2 { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size: clamp(1.6rem, 3vw, 2.1rem); margin:0 0 .5rem; letter-spacing: var(--track-display); }
.ice-flowfaq .lede { color: rgba(238,242,246,.7); font-size:.875rem; margin:0 0 1.25rem; line-height:1.65; }
.ice-steps { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.65rem; }
.ice-steps li { display:flex; gap:1rem; padding:1.15rem; border-radius:1rem; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); }
.ice-steps .ico { width:2.6rem; height:2.6rem; border-radius:50%; background: var(--v0-primary); display:grid; place-items:center; flex-shrink:0; font-weight:800; }
.ice-steps h3 { margin:0 0 .25rem; font-size:.95rem; }
.ice-steps h3 .st { font-size:.7rem; color: rgba(238,242,246,.5); margin-right:.4rem; }
.ice-steps p { margin:0; font-size:.875rem; color: rgba(238,242,246,.7); line-height:1.55; }
.ice-faq details { border-bottom:1px solid rgba(255,255,255,.15); }
.ice-faq summary { list-style:none; cursor:pointer; padding:1.15rem 0; display:flex; justify-content:space-between; gap:1rem; font-weight:500; }
.ice-faq summary::-webkit-details-marker { display:none; }
.ice-faq details p { margin:0; padding:0 0 1.15rem; font-size:.875rem; color: rgba(238,242,246,.7); line-height:1.6; }
.ice-faq summary::after { content:"▾"; opacity:.7; }
.ice-faq details[open] summary::after { transform: rotate(180deg); }

.ice-news { padding: 3rem 0; }
.ice-news-head { display:flex; justify-content:space-between; align-items:flex-end; }
.ice-news-head h2 { font-family: var(--font-display); font-weight: var(--weight-display, 800); font-size: clamp(1.6rem, 3vw, 2.1rem); margin:0; letter-spacing: var(--track-display); }
.ice-news-head a { color: var(--v0-primary); font-size:.875rem; font-weight:500; }
.ice-news-list { list-style:none; margin:1.5rem 0 0; padding:0; }
.ice-news-list li { border-top:1px solid var(--line); }
.ice-news-list li:last-child { border-bottom:1px solid var(--line); }
.ice-news-list a { display:flex; flex-direction:column; gap:.5rem; padding:1.15rem 0; }
@media (min-width:800px){ .ice-news-list a { flex-direction:row; align-items:center; gap:1.5rem; } }
.ice-news-list .meta { display:flex; gap:.65rem; align-items:center; font-size:.75rem; color: var(--muted); min-width:11rem; }
.ice-news-list .tag { background: var(--surface); border:1px solid var(--line); border-radius:999px; padding:.1rem .45rem; font-weight:700; color: var(--ink); }
.ice-news-list .ttl { flex:1; font-weight:500; }
.ice-news-list a:hover .ttl { color: var(--v0-primary); }

body.theme-ice .footer-line-qr-col { background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:1rem; padding:1.25rem; }
body.theme-ice .footer-line-qr-kicker { color: var(--v0-accent); font-size:.7rem; font-weight:800; letter-spacing:.12em; }

/* ===== Hover / active / focus contrast fixes (2026-10-31) =====
   Keep WCAG-ish readable pairs: white on solid primary/dark; dark ink on yellow/coral/light.
   Also stop storefront a:hover from flipping solid CTA text to accent-on-accent. */
.btn-primary, .btn-gold, .btn-add,
a.btn-primary, a.btn-gold, a.btn-add {
  background: var(--v0-primary) !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-gold:hover, .btn-add:hover,
.btn-primary:active, .btn-gold:active, .btn-add:active,
.btn-primary:focus-visible, .btn-gold:focus-visible, .btn-add:focus-visible,
a.btn-primary:hover, a.btn-gold:hover, a.btn-add:hover,
a.btn-primary:active, a.btn-gold:active, a.btn-add:active,
a.btn-primary:focus-visible, a.btn-gold:focus-visible, a.btn-add:focus-visible {
  background: var(--v0-primary) !important;
  color: #fff !important;
  filter: brightness(1.08);
}
.btn-outline, a.btn-outline, .btn-ghost, a.btn-ghost,
.btn-outline:hover, a.btn-outline:hover, .btn-ghost:hover, a.btn-ghost:hover,
.btn-outline:active, a.btn-outline:active, .btn-ghost:active, a.btn-ghost:active,
.btn-outline:focus-visible, a.btn-outline:focus-visible,
.btn-ghost:focus-visible, a.btn-ghost:focus-visible {
  color: var(--ink) !important;
}
.btn-outline:hover, a.btn-outline:hover,
.btn-outline:active, a.btn-outline:active {
  background: var(--field, #f0f0f0) !important;
  border-color: var(--ink) !important;
}
.header-cart-badge {
  background: var(--v0-accent);
  color: var(--v0-accent-ink, #fff) !important;
}
.header-cart:hover .header-cart-badge {
  /* group-b flips badge to white plate — keep accent ink readable */
  background: #fff !important;
  color: var(--v0-primary) !important;
}
.footer-card a:hover, .footer-card a:active, .footer-card a:focus-visible {
  color: #fff !important;
}
/* Mobile open nav sits on light surface — never keep desktop white nav text */
@media (max-width: 820px) {
  .site-header-nav.is-open a {
    color: var(--ink) !important;
    opacity: 1;
  }
  .site-header-nav.is-open a:hover,
  .site-header-nav.is-open a.is-active,
  .site-header-nav.is-open a:focus-visible,
  .site-header-nav.is-open a:active {
    color: var(--v0-primary) !important;
  }
  .nav-toggle:hover, .nav-toggle:active, .nav-toggle:focus-visible {
    color: #fff !important;
  }
}

/* BLUE Ice Cool — coral accent uses dark ink; primary solids stay white */
body.theme-ice .header-cart-badge,
body.theme-ice .header-cart .header-cart-badge {
  background: var(--v0-accent) !important;
  color: var(--v0-accent-ink, #0d1830) !important;
}
body.theme-ice .header-cart:hover,
body.theme-ice .header-cart:active,
body.theme-ice .header-cart:focus-visible {
  background: var(--v0-primary) !important;
  color: #fff !important;
  filter: none;
}
body.theme-ice .header-cart:hover .header-cart-badge,
body.theme-ice .header-cart:active .header-cart-badge {
  background: #fff !important;
  color: var(--v0-primary) !important;
}
.ice-cta-row .btn-solid, .ice-cta-row a.btn-solid,
.ice-cta-row .btn-solid:hover, .ice-cta-row a.btn-solid:hover,
.ice-cta-row .btn-solid:active, .ice-cta-row a.btn-solid:active,
.ice-cta-row .btn-solid:focus-visible, .ice-cta-row a.btn-solid:focus-visible {
  background: var(--v0-primary) !important;
  color: #fff !important;
}
.ice-cta-row .btn-solid:hover, .ice-cta-row a.btn-solid:hover,
.ice-cta-row .btn-solid:active, .ice-cta-row a.btn-solid:active {
  filter: brightness(1.08);
}
/* Featured cards: tone-a primary → white; tone-b coral → dark ink (incl. hover) */
.ice-feat.tone-a, .ice-feat.tone-a:hover, .ice-feat.tone-a:active, .ice-feat.tone-a:focus-visible {
  color: #fff !important;
}
.ice-feat.tone-b, .ice-feat.tone-b:hover, .ice-feat.tone-b:active, .ice-feat.tone-b:focus-visible {
  color: var(--v0-accent-ink, #0d1830) !important;
}
.ice-feat.tone-b .tag {
  background: rgba(13, 24, 48, 0.12);
  color: inherit;
}
.ice-card-row .add,
.ice-card-row .add:hover,
.ice-card-row .add:active,
.ice-card-row .add:focus-visible {
  background: var(--v0-accent) !important;
  color: var(--v0-accent-ink, #0d1830) !important;
}
.ice-card-row .add.is-on,
.ice-card-row .add.is-on:hover,
.ice-card-row .add.is-on:active {
  background: var(--v0-primary) !important;
  color: #fff !important;
}
.ice-filters button:hover, .ice-filters button:focus-visible {
  color: var(--ink) !important;
  background: var(--surface);
}
.ice-filters button.is-on,
.ice-filters button.is-on:hover,
.ice-filters button.is-on:active {
  background: var(--paper) !important;
  color: #fff !important;
}
.ice-news-list a:hover .ttl,
.ice-news-list a:active .ttl,
.ice-news-list a:focus-visible .ttl {
  color: var(--v0-primary) !important;
}
body.theme-ice .site-header-nav a:hover,
body.theme-ice .site-header-nav a.is-active,
body.theme-ice .site-header-nav a:focus-visible,
body.theme-ice .site-header-nav a:active {
  color: var(--v0-primary) !important;
}
/* Ice mobile drawer already light; shared rule uses ink — reinforce primary hover */
@media (max-width: 820px) {
  body.theme-ice .nav-toggle {
    color: var(--ink) !important;
    border-color: var(--line);
  }
  body.theme-ice .nav-toggle:hover,
  body.theme-ice .nav-toggle:active,
  body.theme-ice .nav-toggle:focus-visible {
    color: var(--ink) !important;
  }
}

