/* Group B first-screen restyle — bangvapesonline.com
   Announcement + header + brand hero + trust 4-up (yururi/VAPEMUSE airy).
   Loaded after storefront.css. Does not restyle below-fold modules yet. */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: var(--track-display);
  line-height: var(--leading-display);
  font-weight: 700;
  text-transform: none;
}
p { font-family: var(--font-text); }

/* —— Announcement (purple bar, yururi tell) —— */
.warning-bar {
  background: #1a1218;
  color: #f3d6d6;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem var(--pad);
}
.promo-bar {
  background: var(--announce);
  color: var(--announce-ink);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.65rem var(--pad);
  border: 0;
}

/* —— Sparse white header: logo left, nav+cart flush right —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  line-height: 0;
  color: var(--ink, #111);
  flex-shrink: 0;
}
.logo img {
  height: auto;
  width: clamp(110px, 28vw, 160px);
  max-width: 160px;
  filter: none;
  display: block;
}
@media (min-width: 900px) {
  .logo img {
    width: 160px;
    max-width: 160px;
    height: auto;
  }
}
.logo-text {
  display: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #111);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .logo-text { display: none; }
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.35rem);
  margin-left: auto;
  min-width: 0;
}
.site-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
  font-size: 14px;
  font-weight: 600;
}
.site-header-nav a {
  color: var(--ink);
  opacity: 0.78;
  padding: 0.25rem 0;
  white-space: nowrap;
}
.site-header-nav a:hover,
.site-header-nav a.is-active {
  color: var(--ink);
  opacity: 1;
}
/* Distinct cart button (not a text nav link) */
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  background: var(--paper);
  color: #fff !important;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  position: relative;
}
.header-cart:hover {
  background: var(--accent);
  color: #fff !important;
}
.header-cart-icon {
  display: block;
  flex-shrink: 0;
}
.header-cart-label {
  white-space: nowrap;
}
.header-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.header-cart:hover .header-cart-badge {
  background: #fff;
  color: var(--accent);
}
/* legacy class if any page still refs it */
.header-cta {
  background: var(--paper);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; order: 1; }
  .header-cart { order: 2; }
  .site-header-nav {
    display: none;
    order: 3;
  }
  .site-header-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    padding: 1rem var(--pad) 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.85rem;
    z-index: 60;
  }
  .header-right {
    position: static;
    flex-wrap: wrap;
  }
  .header-cart-label { display: none; }
  .header-cart {
    padding: 0.55rem 0.7rem;
  }
}

/* Buttons — flat near-black primary (yururi), crimson hover */
.btn, button.btn, a.btn {
  text-transform: none;
  letter-spacing: 0;
  border-radius: 999px;
  font-size: 14px;
  padding: 0.9rem 1.4rem;
}
.btn-gold, .btn-primary {
  background: var(--paper);
  color: #fff !important;
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-outline {
  background: var(--surface);
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

/* —— Brand hero: full-width carousel + intro stacked below —— */
.hero-object {
  display: none !important; /* replaced by .brand-hero */
}
.brand-hero,
.brand-hero--stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(1.25rem, 3vw, 2rem);
  background: transparent;
  min-height: auto;
  overflow-x: clip;
  box-sizing: border-box;
}
.brand-hero-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--field);
  border-radius: 0;
  min-height: clamp(220px, 34vw, 480px);
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: stretch;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.brand-hero-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: none;
}
.brand-hero-copy {
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max, none);
  margin: 0 auto;
  padding: clamp(1.05rem, 2.2vw, 1.6rem) 0 0;
  text-align: left;
  box-sizing: border-box;
  min-width: 0;
}
.brand-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #5a5563);
  letter-spacing: 0.06em;
}
.brand-hero-copy h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--ink);
  text-transform: none;
  max-width: 14em;
}
.brand-hero-copy .lede {
  font-size: 15px;
  line-height: 1.8;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  color: var(--ink, #141414);
  margin: 0 0 1rem;
  max-width: min(40rem, 100%);
}
.brand-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  justify-content: flex-start;
}
.brand-hero-actions .btn-primary,
.brand-hero-actions a.btn-primary {
  background: #c62828 !important;
  color: #fff !important;
  border: 0 !important;
}
.brand-hero-actions .btn-primary:hover,
.brand-hero-actions a.btn-primary:hover {
  background: #b71c1c !important;
  color: #fff !important;
}
.brand-hero-actions .btn-outline,
.brand-hero-actions a.btn-outline {
  background: transparent !important;
  color: var(--ink, #141414) !important;
  border: 1px solid var(--ink, #141414) !important;
}
.brand-hero-actions .btn-outline:hover,
.brand-hero-actions a.btn-outline:hover {
  background: var(--field, #f4f2f8) !important;
}
.brand-hero-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0;
  max-width: min(48rem, 100%);
  text-align: left;
}
.brand-hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: var(--ink, #141414);
  line-height: 1.45;
}
.brand-hero-checks li::before {
  content: none;
}
.brand-hero-checks li:not(:last-child)::after {
  content: "・";
  margin: 0 0.55rem;
  color: var(--muted, #5a5563);
  opacity: 0.75;
}
/* Chip / fact pill removed from markup — purge dead rules */
.brand-hero-chip,
.brand-hero-fact,
.brand-hero-copy .brand-hero-fact {
  display: none !important;
}
@media (max-width: 820px) {
  .brand-hero,
  .brand-hero--stack {
    padding-top: 0;
  }
  .brand-hero-media {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }
  .brand-hero-copy {
    padding-top: 1.1rem;
    text-align: left;
  }
  .brand-hero-copy h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    max-width: none;
  }
  .brand-hero-copy .lede {
    max-width: none;
  }
  .brand-hero-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .brand-hero-actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
    justify-content: center;
  }
  .brand-hero-checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    max-width: none;
  }
  .brand-hero-checks li:not(:last-child)::after {
    content: none;
    margin: 0;
  }
  .brand-hero-checks li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    background: var(--accent, #c62828);
    border-radius: 50%;
  }
}

/* —— Trust 4-up (title + one line, pale field cards) —— */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  width: calc(100% - 2 * var(--pad)); max-width: var(--max, none);
  margin: 0 auto 0.5rem;
  padding: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.trust-strip > div,
.trust-card {
  background: var(--field-soft);
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 13px;
  position: relative;
}
.trust-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  letter-spacing: 0;
}
.trust-card span,
.trust-card p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.55;
}
.trust-card::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  bottom: 0.85rem;
  width: 28px;
  height: 2px;
  background: var(--announce);
  opacity: 0.55;
}
.trust-card {
  padding-bottom: 1.55rem;
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .trust-strip { grid-template-columns: 1fr; }
}

/* Keep age-gate blur targets working with new hero */
body.age-locked .brand-hero { filter: blur(6px); pointer-events: none; user-select: none; }

/* Mobile nav — restate after earlier rules */
@media (max-width: 820px) {
  .site-header-nav { display: none; }
  .site-header-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    padding: 1rem var(--pad) 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.85rem;
    z-index: 60;
  }
  .nav-toggle { display: inline-block; }
  .logo-text { display: none; }
  .header-cart-label { display: none; }
}

/* —— Nofog: how-stack big-kanji panels (boss 灰蒙蒙 reject) —— */
.how-stack .how-panel {
  background: #ffffff;
}
.how-stack .how-panel::before,
.how-stack .how-panel::after {
  content: none !important;
  display: none !important;
}
.how-panel img {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.how-verb {
  position: relative;
  z-index: 2;
  top: auto;
  color: #ffffff !important;
  background: #141414 !important;
  display: inline-block;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  padding: 0.28em 0.55em;
  border-radius: 16px;
  /* crimson accent edge on solid dark pill */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 -3px 0 #c62828;
}
.how-note {
  background: #ffffff !important;
  color: #141414 !important;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Ensure how layout still centers the pill over vivid art */
.how-stack .how-panel {
  display: grid;
  place-items: center;
}

/* —— Compact 3-step how strip (boss: no giant product banners) —— */
.how-stack { display: none !important; } /* legacy full-bleed panels retired */

.how-steps {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  background: #ffffff;
}
.how-steps .section-head {
  margin-bottom: 1.25rem;
}
.how-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  counter-reset: none;
}
.how-step-card {
  background: var(--field-soft, #efeaf7);
  border: 1px solid transparent;
  border-radius: var(--radius, 12px);
  padding: 1.25rem 1.15rem 1.35rem;
  position: relative;
  min-height: 0;
}
.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent, #c62828);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.how-step-title {
  margin: 0 0 0.4rem;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink, #141414);
  line-height: 1.2;
}
.how-step-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #5a5563);
}
.how-step-card::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  bottom: 0.9rem;
  width: 28px;
  height: 2px;
  background: var(--announce, #5c2d91);
  opacity: 0.5;
}
.how-step-card {
  padding-bottom: 1.65rem;
}
@media (max-width: 820px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}


/* —— Yellow/gold star ratings (sitewide) —— */
.stars,
.product-row-card-stars,
.product-review-card .stars,
[aria-label*="stars"] .stars {
  color: #F5C518 !important;
  letter-spacing: 0.06em;
  font-size: 14px;
  line-height: 1;
}
.stars {
  color: #F5C518 !important;
}

/* —— Floating LINE FAB (bottom-right) —— */
.line-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: #06C755;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
  line-height: 1;
}
.line-fab:hover {
  background: #05b34c;
  color: #fff !important;
}
.line-fab-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.line-fab-text {
  letter-spacing: 0.02em;
}
body.age-locked .line-fab {
  filter: blur(6px);
  pointer-events: none;
}
@media (max-width: 520px) {
  .line-fab {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    padding: 0.7rem;
  }
  .line-fab-text { display: none; }
}


/* Promo bar two-line segments */
.promo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  line-height: 1.45;
}
.promo-bar-line { white-space: normal; }
.promo-bar-sep { opacity: 0.85; }
@media (max-width: 640px) {
  .promo-bar {
    flex-direction: column;
    gap: 0.25rem;
  }
  .promo-bar-sep { display: none; }
}


/* Footer logo (dark footer — white mark OK directly) */
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  line-height: 0;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Age gate logo — dark pill so white-on-black mark stays visible on light card */
.age-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 0 1rem;
}
.age-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: none;
}
.age-card {
  border-radius: 16px;
}


/* —— Brand hero carousel (full-width banner) —— */
.brand-hero-media {
  position: relative;
  overflow: hidden;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: stretch;
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: stretch;
}
.hero-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: none;
  place-items: stretch;
  padding: 0;
}
.hero-carousel-slide.is-active {
  display: grid;
}
.hero-carousel-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
  filter: none;
  display: block;
}
.hero-carousel-slot-label {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
}
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(20,20,20,.12));
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink, #141414);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-carousel-btn:hover {
  background: #fff;
  border-color: var(--accent, #c62828);
  color: var(--accent, #c62828);
}
.hero-carousel-prev { left: 0.55rem; }
.hero-carousel-next { right: 0.55rem; }
.hero-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.hero-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(20, 20, 20, 0.25);
  cursor: pointer;
}
.hero-carousel-dot.is-active {
  background: var(--accent, #c62828);
  width: 1.15rem;
}
/* Chip/fact no longer overlay the carousel */
.brand-hero-media .brand-hero-chip { display: none !important; }
@media (max-width: 820px) {
  .hero-carousel-track { min-height: 180px; }
  .hero-carousel-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}


/* —— 当店が選ばれる理由 (PDP / fulfill accordion) —— */
.why-us { margin: 0; }
.why-us--embed { padding: 0.25rem 0 0.5rem; }
.why-us-intro { margin: 0 0 1.25rem; }
.why-us-sub { color: var(--muted, #666); font-size: 14px; margin: 0.35rem 0 0; max-width: 36rem; }
.why-us-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.why-us-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e8e8e8);
  border-radius: 14px;
  overflow: hidden;
}
.why-us-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  overflow: hidden;
}
.why-us-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-us-photo-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee 0%, #f7f7f7 50%, #e9e9e9 100%);
}
.why-us-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.why-us-body { padding: 0 1rem 1.15rem; }
.why-us-body h3 {
  margin: 0 0 0.4rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.why-us-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted, #555);
}
@media (max-width: 820px) {
  .why-us-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Cart/checkout: full width desktop; single column mobile (boss 2026-10-24) */
.cart-page .split.cart-layout,
.split.cart-layout {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
}
@media (min-width: 901px) {
  .cart-page .split.cart-layout,
  .split.cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
    gap: 1.5rem 2.5rem !important;
  }
}
@media (max-width: 900px) {
  .cart-page .split.cart-layout,
  .split.cart-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .cart-summary { position: static !important; width: 100% !important; }
}

/* —— Boss visual fix 2026-10-26: product cards gap + side inset; FAQ/CTA image shrink —— */

/* Product grid: visible gap between cards; never flush to viewport edges */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(0.85rem, 2.2vw, 1.35rem) !important;
  box-sizing: border-box;
}
section.container .product-grid,
.shop-main .product-grid,
.shop-layout .product-grid {
  width: 100%;
  max-width: 100%;
}
/* Reinforce section side inset (belt if .container width ever collapses) */
section.container.section {
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  /* width already calc(100% - 2*pad) via .container */
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    column-gap: 0.75rem !important;
    row-gap: 0.85rem !important;
  }
  /* Extra horizontal breathing room on narrow screens */
  section.container.section,
  section.container {
    width: calc(100% - 2 * max(var(--pad), 16px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
}
.product-card {
  border-radius: var(--radius, 12px);
  overflow: hidden;
  border: 1px solid var(--line, rgba(20,20,20,0.1));
  background: var(--surface, #fff);
}
.product-card .product-card-media,
.product-card .thumb {
  border-radius: 0;
}

/* Showcase: unified twin cards — image / text / same CTAs */
.showcase-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem) !important;
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max, none);
  margin-inline: auto;
  padding: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
}
.showcase-head {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
}
.showcase-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--ink, #141414);
  text-transform: none;
  max-width: none;
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}
.showcase-panel {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: var(--field, #f4f2f8) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.showcase-panel img {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  background: var(--field, #f4f2f8);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-sizing: border-box;
  pointer-events: none;
}
.showcase-meta {
  position: relative !important;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0.85rem;
  padding: 0 1.15rem 1.25rem;
  margin-top: auto;
}
.showcase-info .name,
.showcase-meta .name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  max-width: none;
  color: var(--ink, #141414);
}
.showcase-info .price,
.showcase-meta .price {
  font-size: 15px;
  color: var(--muted, #5a5563);
  margin-top: 0.2rem;
}
.showcase-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.showcase-actions .btn-primary,
.showcase-actions a.btn-primary {
  background: #c62828 !important;
  color: #fff !important;
  border: 0 !important;
}
.showcase-actions .btn-primary:hover,
.showcase-actions a.btn-primary:hover {
  background: #b71c1c !important;
}
.showcase-actions .btn-outline,
.showcase-actions a.btn-outline {
  background: transparent !important;
  color: var(--ink, #141414) !important;
  border: 1px solid var(--ink, #141414) !important;
}
@media (max-width: 820px) {
  .showcase-split {
    grid-template-columns: 1fr;
    width: calc(100% - 2 * var(--pad));
    gap: 0.75rem !important;
  }
  .showcase-panel { min-height: 0 !important; }
}

/* FAQ right column: constrain tall pink device — no edge-to-edge dominate */
.faq-split {
  align-items: stretch;
}
.faq-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: min(520px, 100%);
  margin-inline: auto;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  box-sizing: border-box;
  background: #fff;
  border-radius: calc(var(--radius, 12px) + 4px);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.06);
}
.faq-photo img.tall,
.faq-photo img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  max-height: min(640px, 72vh) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: var(--radius, 12px) !important;
  background: #fff;
  box-shadow: none;
}
.faq-photo img.square { display: none !important; }
@media (max-width: 820px) {
  .faq-photo {
    max-width: min(420px, 100%);
    padding: 0.75rem;
  }
  .faq-photo img.tall,
  .faq-photo img {
    max-height: min(480px, 58vh) !important;
  }
}

/* CTA「届いてから払う。」: text left, lifestyle image RIGHT (desktop) */
.cta-object {
  min-height: auto !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  gap: clamp(1.25rem, 3vw, 2.5rem) !important;
  align-items: center !important;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) !important;
  overflow: hidden;
  box-sizing: border-box;
}
.cta-object-copy {
  order: 1 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.cta-object-media {
  order: 2 !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  max-width: min(520px, 100%) !important;
  margin-inline: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  border-radius: calc(var(--radius, 12px) + 4px) !important;
  background: #fff !important;
  padding: clamp(0.85rem, 2vw, 1.35rem) !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.06);
}
.cta-object-media .cta-carousel {
  position: relative;
  width: 100%;
}
.cta-object-media .cta-carousel-track {
  position: relative;
  width: 100%;
  min-height: min(420px, 56vh);
  display: grid;
  place-items: center;
}
.cta-object-media .cta-carousel-slide {
  grid-area: 1 / 1;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}
.cta-object-media .cta-carousel-slide.is-active {
  display: flex;
}
.cta-object-media .cta-carousel-slide img,
.cta-object-media img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  max-height: min(520px, 68vh) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: var(--radius, 12px) !important;
  background: #fff !important;
  margin: 0 !important;
  border: 0 !important;
}
.cta-object-media .cta-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #141414;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.cta-object-media .cta-carousel-btn:hover { background: #fff; }
.cta-object-media .cta-carousel-prev { left: 0.35rem; }
.cta-object-media .cta-carousel-next { right: 0.35rem; }
.cta-object-media .cta-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.cta-object-media .cta-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20,20,20,0.25);
  cursor: pointer;
}
.cta-object-media .cta-carousel-dot.is-active {
  background: #c62828;
  width: 1rem;
}
@media (max-width: 820px) {
  .cta-object {
    grid-template-columns: 1fr !important;
    padding: 1.75rem var(--pad) !important;
    gap: 1.25rem !important;
  }
  .cta-object-copy { order: 1 !important; }
  .cta-object-media {
    order: 2 !important;
    max-width: min(420px, 100%) !important;
    padding: 0.75rem !important;
  }
  .cta-object-media img {
    max-height: min(420px, 56vh) !important;
  }
}


/* —— Boss BUG 2026-10-26 + hero-stack 2026-10-27: overflow-x clip (no h-scroll) —— */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
main#main,
.brand-hero {
  max-width: 100%;
  box-sizing: border-box;
}
.trust-strip,
.showcase-split,
.faq-split,
.cta-object,
section.container,
.container {
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max, none);
  margin-inline: auto;
  box-sizing: border-box;
}
.brand-hero,
.brand-hero--stack {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip;
  min-width: 0;
}
.brand-hero-media {
  min-width: 0;
  max-width: 100%;
}
.brand-hero-copy {
  min-width: 0;
  max-width: var(--max, none);
}
.brand-hero-media {
  overflow: hidden !important;
  width: 100%;
  box-sizing: border-box;
}
.hero-carousel,
.hero-carousel-track,
.hero-carousel-slide,
.hero-carousel-link {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.brand-hero-media img,
.hero-carousel-slide img {
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.brand-hero-chip {
  display: none !important;
}

/* —— Boss 2026-10-26: product detail body images full content width —— */
.product-description img,
.product-description figure,
.product-description figure img,
.product-body img,
.product-body figure,
.product-body figure img,
.product-detail-content img,
.product-prose img,
.prose.product-description img,
article.product .product-description img,
.product-info .product-description img,
.product-desc img,
.product-long-desc img,
.entry-content.product-description img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: 0;
  margin-right: 0;
}
.product-description figure,
.product-body figure {
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
}

/* Boss 2026-10-26: 人気の商品 left-thumb right-text */
/* Boss 2026-10-27: 3-line title, no overlap; thumb no radius / no bg */
.widget-top-rated .top-rated-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.widget-top-rated .top-rated-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 72px;
}
.widget-top-rated .top-rated-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  padding: 0; /* override .shop-sidebar a padding */
  box-sizing: border-box;
}
.widget-top-rated .top-rated-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
}
.widget-top-rated .top-rated-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.widget-top-rated .top-rated-name {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  display: -webkit-box !important; /* beat .shop-sidebar a { display:block } */
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.4em * 3);
  padding: 0; /* override .shop-sidebar a padding — prevents overlap */
}
.widget-top-rated .top-rated-price {
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: var(--muted, #666);
  white-space: nowrap;
  margin-top: 0.1rem;
}
.widget-top-rated h3 {
  font-size: 14px;
  margin: 0 0 0.75rem;
}

/* Boss 2026-10-27: mobile (~390px) title area full 3 lines (desktop 3-line PASS kept) */
@media (max-width: 900px) {
  .widget-top-rated .top-rated-item {
    min-height: 96px;
    align-items: flex-start;
  }
  .widget-top-rated .top-rated-name {
    font-size: 12px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: calc(1.5em * 3);
    max-height: calc(1.5em * 3);
  }
  .widget-top-rated .top-rated-thumb {
    border-radius: 0;
    background: transparent;
    background-color: transparent;
  }
  .widget-top-rated .top-rated-thumb img {
    border-radius: 0;
    background: transparent;
    background-color: transparent;
  }
}
/* Boss 2026-10-26: hide shop sort + result-count (pagination stays) */
.shop-toolbar form#sort-form,
.shop-toolbar form#sort-form-cat,
.shop-toolbar > span {
  display: none !important;
}

/* Boss 2026-10-26: cart / add-to-cart red CTAs */
.btn-add,
.btn.btn-add,
.product-card .btn-add,
.inline-add .btn-add,
.btn-add-cart,
.btn.btn-add-cart,
.btn-gold.btn-add-cart,
.qty-row .btn-add-cart,
.cart-summary .btn-gold,
.cart-summary .btn-primary,
.cart-summary a.btn-gold,
a.btn-gold.btn-block,
.btn-gold.btn-block {
  background: #c62828 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
}
.btn-add:hover,
.btn.btn-add:hover,
.product-card .btn-add:hover,
.inline-add .btn-add:hover,
.btn-add-cart:hover,
.btn.btn-add-cart:hover,
.btn-gold.btn-add-cart:hover,
.qty-row .btn-add-cart:hover,
.cart-summary .btn-gold:hover,
.cart-summary .btn-primary:hover,
.cart-summary a.btn-gold:hover,
a.btn-gold.btn-block:hover,
.btn-gold.btn-block:hover {
  background: #b71c1c !important;
  color: #fff !important;
}


/* —— Boss 2026-10-27: FAQ stack = intro top + FAQ grid bottom (no lifestyle image) —— */
.faq-photo { display: none !important; }
.faq-split {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(1.75rem, 3vw, 2.5rem) !important;
  align-items: stretch !important;
}
.faq-intro {
  align-self: stretch;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  /* horizontal inset removed so kicker/H1 share --pad with .faq-body / よくある質問 */
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  box-sizing: border-box;
  min-width: 0;
}
.faq-intro-kicker {
  margin: 0 0 0.4rem;
  margin-left: 0;
  padding: 0;
  padding-left: 0;
  text-indent: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #5a5563);
  letter-spacing: 0.02em; /* was 0.06em — keep tiny track, first glyph stays on left edge */
}
.faq-intro-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--ink);
  text-transform: none;
  font-weight: 700;
}
.faq-intro-lede {
  font-size: 15px;
  line-height: 1.8;
  word-break: normal;
  color: var(--ink, #141414);
  margin: 0 0 1.1rem;
  white-space: nowrap; /* desktop >=821: one continuous visual line */
}
@media (max-width: 820px) {
  .faq-intro-lede {
    white-space: normal; /* mobile: natural wrap, no overflow */
  }
}
.faq-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}
.faq-intro-actions .btn-primary,
.faq-intro-actions a.btn-primary {
  background: #c62828 !important;
  color: #fff !important;
  border: 0 !important;
}
.faq-intro-actions .btn-primary:hover,
.faq-intro-actions a.btn-primary:hover {
  background: #b71c1c !important;
}
.faq-intro-actions .btn-outline,
.faq-intro-actions a.btn-outline {
  background: transparent !important;
  color: var(--ink, #141414) !important;
  border: 1px solid var(--ink, #141414) !important;
}
.faq-intro-checks {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.15rem;
}
.faq-intro-checks li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink, #141414);
  line-height: 1.45;
}
.faq-intro-checks li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  flex-shrink: 0;
  background: var(--accent, #c62828);
  border-radius: 50%;
}
.faq-body {
  min-width: 0;
  width: 100%;
}
/* FAQ accordion: 3 per row on desktop */
.faq-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 1.5rem !important;
  align-items: start !important;
}
.faq-list details {
  min-width: 0;
  border: 0;
  border-bottom: none;
}
.faq-list-more { display: none; }
@media (max-width: 820px) {
  .faq-list {
    grid-template-columns: 1fr !important;
  }
  .faq-intro-actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
    justify-content: center;
  }
}
.brand-hero--stack .brand-hero-copy { display: none !important; }


/* —— Boss 2026-10-27: FAQ list red marker before each question —— */
.faq-list summary {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-start !important;
}
.faq-list summary::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: #c62828;
  border-radius: 2px;
}
.faq-list summary::after {
  margin-left: auto;
  flex-shrink: 0;
}

/* —— Boss 2026-10-27: FAQ answer left-align with question text (not red ■) —— */
.faq-list details > p {
  padding-left: calc(0.55rem + 0.65rem) !important; /* marker width + summary gap = 1.2rem */
  margin: 0.6rem 0 0; /* keep storefront top margin */
}
