/* ─── MIRAI Homepage ─── */
/* Global horizontal lockdown + kill Storefront parent paddings (must come first) */
html, body { overflow-x:hidden !important; max-width:100vw !important; margin:0 !important; padding:0 !important; }
#page, #content, .col-full, .site-content { overflow-x:hidden !important; max-width:100vw !important; padding-left:0 !important; padding-right:0 !important; margin-left:0 !important; margin-right:0 !important; }

.mh-home { color:#111; font-family:"Poppins","Noto Sans JP",system-ui,sans-serif; max-width:100vw; overflow-x:hidden; width:100vw; }
.mh-home * { box-sizing:border-box; }

.mh-section-title { text-align:center; font-size:clamp(22px,5vw,30px); font-weight:800; margin:0 0 8px; color:#111; }
.mh-section-sub { text-align:center; font-size:14px; color:#666; margin:0 0 28px; }

/* HERO BANNERS — true edge-to-edge */
.mh-hero {
  display:block;
  width:100vw;
  max-width:100vw;
  margin:0;
  line-height:0;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  overflow:hidden;
}
.mh-hero img { width:100vw; max-width:100vw; height:auto; display:block; }

/* FEATURED PRODUCT */
.mh-featured { background:#fff; padding:48px 16px; }
.mh-product-grid { max-width:420px; margin:0 auto; display:grid; gap:16px; }
.mh-product-card { display:block; background:#fff; text-decoration:none; color:inherit; border:1px solid #eee; border-radius:12px; overflow:hidden; transition:transform .2s, box-shadow .2s; }
.mh-product-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.08); }
.mh-product-card__img-wrap { position:relative; background:#f5f5f7; aspect-ratio:1/1; overflow:hidden; }
.mh-product-card__img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.mh-product-card__badge { position:absolute; top:10px; right:10px; background:#D42B2B; color:#fff; font-weight:700; font-size:11px; padding:5px 10px; border-radius:4px; z-index:2; }
.mh-product-card__body { padding:16px; }
.mh-product-card__title { font-size:14px; font-weight:700; line-height:1.4; color:#111; margin:0 0 6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mh-product-card__rating { font-size:12px; color:#FFB400; letter-spacing:1px; margin-bottom:6px; }
.mh-product-card__rating span { color:#555; letter-spacing:.02em; margin-left:4px; }
.mh-product-card__price { display:flex; align-items:baseline; gap:8px; margin-bottom:10px; }
.mh-product-card__sale { font-size:20px; font-weight:900; color:#D42B2B; }
.mh-product-card__regular { font-size:13px; color:#999; text-decoration:line-through; }
.mh-product-card__cta { display:inline-block; font-size:13px; color:#D42B2B; font-weight:700; }

/* TICKER */
.mh-ticker { background:#D42B2B; color:#fff; overflow:hidden; padding:16px 0; width:100vw; max-width:100vw; }
.mh-ticker__track { display:flex; align-items:center; gap:36px; white-space:nowrap; width:max-content; animation:mh-ticker-move 60s linear infinite; will-change:transform; }
.mh-ticker__item, .mh-ticker__sep { flex-shrink:0; }
.mh-ticker__item { font-size:15px; font-weight:700; letter-spacing:.08em; color:#fff; }
.mh-ticker__sep { color:rgba(255,255,255,.5); }
@keyframes mh-ticker-move { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* CATEGORIES */
.mh-categories { background:#fff; padding:48px 16px; }
.mh-cat-grid { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mh-cat-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:20px 16px; text-decoration:none; color:inherit; text-align:center; position:relative; transition:transform .2s, box-shadow .2s, border-color .2s; }
.mh-cat-card:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,.06); border-color:#ddd; }
.mh-cat-card__icon { font-size:38px; margin-bottom:8px; }
.mh-cat-card h3 { font-size:14px; font-weight:700; color:#111; margin:0 0 6px; }
.mh-cat-card p { font-size:12px; color:#666; margin:0; line-height:1.5; }
.mh-cat-card__tag { display:inline-block; margin-top:8px; background:#f0f0f0; color:#666; font-size:10px; padding:2px 8px; border-radius:10px; font-weight:600; }
.mh-cat-card--soon { opacity:.65; }

/* FAQ */
.mh-faq { background:#fff; padding:48px 10px 60px; max-width:780px; margin:0 auto; }
.mh-faq__list { max-width:680px; margin:0 auto; }
.mh-faq__item { border-bottom:1px solid #e5e5e5; padding:0; margin:0; }
.mh-faq__item summary { display:flex; align-items:center; gap:14px; cursor:pointer; padding:20px 8px; font-weight:500; font-size:15px; color:#111; list-style:none; user-select:none; min-height:54px; }
.mh-faq__item summary::-webkit-details-marker { display:none; }
.mh-faq__check { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border:1.5px solid #111; border-radius:3px; flex-shrink:0; font-size:14px; font-weight:700; color:#111; background:#fff; }
.mh-faq__check::before { content:"✓"; }
.mh-faq__item[open] .mh-faq__check { background:#D42B2B; border-color:#D42B2B; color:#fff; }
.mh-faq__caret { margin-left:auto; font-size:22px; color:#666; transition:transform .25s; line-height:1; }
.mh-faq__item[open] .mh-faq__caret { transform:rotate(45deg); color:#D42B2B; }
.mh-faq__item p { color:#555; font-size:14px; margin:0; padding:0 8px 20px 44px; line-height:1.8; }

/* NEWSLETTER */
.mh-newsletter { background:linear-gradient(135deg,#1a1a1a 0%,#2a2a2a 100%); color:#fff; padding:60px 16px; }
.mh-newsletter__inner { max-width:520px; margin:0 auto; text-align:center; }
.mh-newsletter h2 { font-size:clamp(20px,5vw,28px); font-weight:800; color:#fff; margin:0 0 8px; }
.mh-newsletter p { font-size:14px; color:#ccc; margin:0 0 24px; }
.mh-newsletter__form { display:flex; gap:8px; margin-bottom:14px; }
.mh-newsletter__form input { flex:1; padding:14px 16px; border:none; border-radius:6px; font-size:15px; font-family:inherit; background:#fff; color:#111; outline:none; }
.mh-newsletter__form button { background:#D42B2B; color:#fff; border:none; border-radius:6px; padding:14px 24px; font-weight:800; font-size:14px; cursor:pointer; transition:background .15s; white-space:nowrap; }
.mh-newsletter__form button:hover:not(:disabled) { background:#b21f1f; }
.mh-newsletter__form button:disabled { background:#666; cursor:default; }
.mh-newsletter small { font-size:11px; color:#aaa; }
.mh-newsletter small a { color:#fff; text-decoration:underline; }

@media (min-width:640px) {
  .mh-cat-grid { grid-template-columns:repeat(4,1fr); }
  .mh-featured { padding:60px 24px; }
  .mh-categories { padding:60px 24px; }
}

@media (max-width:560px) {
  .mh-newsletter__form { flex-direction:column; }
}
