@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Shippori+Mincho:wght@600;700;800&family=Space+Mono:wght@400;700&display=swap');
:root {
  --bg-hinoki: #FBF8F3;
  --bg-washi: #F4EFE6;
  --bg-card: #FFFFFF;
  --nori-ink: #1C1917;
  --muted-stone: #57534E;
  --urushi-red: #C83E2B;
  --matcha-green: #3F6A4E;
  --yuzu-amber: #D97706;
  --wood-border: #DFD5C5;
  --font-display: 'Shippori Mincho', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-hinoki); color: var(--nori-ink); line-height: 1.62; }
body { overflow-x: hidden; }
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--urushi-red); outline-offset: 3px; }

/* UNIQUE HEADER: URUSHI LACQUERWARE & FUROSHIKI KNOT TOPBAR WITH WASHOKU 4:3:2:1 BAR */
.urushi-furoshiki-header {
  background: var(--bg-hinoki); border-bottom: 3px solid var(--nori-ink);
  position: sticky; top: 0; z-index: 1000;
}
.washoku-ratio-ribbon {
  background: var(--nori-ink); color: #FBF8F3; padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 0.69rem;
}
.ratio-segments {
  display: flex; align-items: center; gap: 6px;
}
.r-pill {
  padding: 2px 8px; border-radius: 3px; font-weight: 700; font-size: 0.65rem;
}
.r-4 { background: #F5F5F4; color: #1C1917; }
.r-3 { background: var(--urushi-red); color: #FFF; }
.r-2 { background: var(--matcha-green); color: #FFF; }
.r-1 { background: var(--yuzu-amber); color: #FFF; }

.urushi-header-row {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hanko-brand {
  display: flex; align-items: center; gap: 12px;
}
.hanko-stamp {
  width: 42px; height: 42px; border-radius: 8px; background: var(--urushi-red); color: #FFF;
  border: 2px solid var(--nori-ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  box-shadow: 3px 3px 0 var(--nori-ink);
}
.bento-nav { display: flex; align-items: center; gap: 6px; }
.bento-link, .bento-drop-btn {
  min-height: 44px; padding: 8px 14px; border-radius: 8px;
  background: transparent; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600; color: var(--nori-ink);
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.bento-link:hover, .bento-drop-btn:hover {
  background: var(--bg-washi); border-color: var(--nori-ink);
}
.bento-drop { position: relative; }
.bento-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 275px; background: #FFF;
  border: 2px solid var(--nori-ink); border-radius: 12px; padding: 8px;
  display: none; flex-direction: column; gap: 4px; box-shadow: 6px 6px 0 var(--nori-ink);
}
.bento-drop:hover .bento-drop-menu, .bento-drop:focus-within .bento-drop-menu { display: flex; }
.bento-drop-menu a {
  padding: 9px 12px; font-size: 0.82rem; font-weight: 500; border-radius: 6px;
}
.bento-drop-menu a:hover { background: var(--urushi-red); color: #FFF; }

.furoshiki-cta {
  background: var(--urushi-red); color: #FFF; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.76rem; min-height: 44px; padding: 10px 18px; border-radius: 8px;
  border: 2px solid var(--nori-ink); box-shadow: 3px 3px 0 var(--nori-ink);
  display: inline-flex; align-items: center; gap: 6px;
}
#mobileMenuToggle {
  display: none; min-height: 44px; padding: 8px 14px; background: var(--nori-ink); color: #FFF;
  font-family: var(--font-mono); font-weight: 700; border: none; border-radius: 8px; cursor: pointer;
}
#mobileDrawer {
  display: none; position: fixed; inset: 0; background: var(--bg-hinoki); color: var(--nori-ink); z-index: 1050;
  padding: 28px; flex-direction: column; gap: 10px; overflow-y: auto;
}
#mobileDrawer.open { display: flex; }
#mobileDrawer a { padding: 12px; border-bottom: 1px solid var(--wood-border); font-weight: 600; }

/* UNIQUE FIRST SCREEN: 5-COMPARTMENT SHOKADO OBENTO & KYARABEN COMPOSER */
.shokado-bento-composer-stage {
  max-width: 1380px; margin: 24px auto 44px; padding: 0 24px;
}
.lacquer-tray-frame {
  background: #FFF; border: 4px solid var(--nori-ink); border-radius: 22px;
  box-shadow: 12px 12px 0 var(--urushi-red); overflow: hidden;
}
.bento-style-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-washi);
  border-bottom: 3px solid var(--nori-ink);
}
.bento-tab-btn {
  min-height: 66px; padding: 12px 16px; border: none; border-right: 2px solid var(--nori-ink);
  background: transparent; text-align: left; cursor: pointer; transition: all 0.2s;
}
.bento-tab-btn:last-child { border-right: none; }
.bento-tab-btn.active { background: var(--urushi-red); color: #FFF; }
.bento-tab-btn small {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; opacity: 0.88;
}
.bento-tab-btn strong {
  font-family: var(--font-display); font-size: 1.02rem;
}

.shokado-tray-body {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; padding: 32px; align-items: center;
}
.kicker-matcha {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  background: var(--matcha-green); color: #FFF; padding: 4px 12px; border-radius: 6px; margin-bottom: 12px;
}
.hero-title { font-size: clamp(1.95rem, 3vw, 2.8rem); margin-bottom: 14px; }
.compartment-5-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0;
  background: var(--nori-ink); padding: 10px; border-radius: 14px; border: 3px solid var(--urushi-red);
}
.comp-cell {
  background: var(--bg-hinoki); border-radius: 8px; padding: 11px 13px;
}
.comp-cell.wide { grid-column: span 2; background: #FFF; border-left: 4px solid var(--matcha-green); }
.comp-cell span {
  display: block; font-family: var(--font-mono); font-size: 0.65rem; color: var(--urushi-red); font-weight: 700;
}
.comp-cell strong { font-size: 0.88rem; color: var(--nori-ink); }

.bento-photo-box {
  position: relative; border-radius: 16px; overflow: hidden; border: 3px solid var(--nori-ink);
}
.bento-photo-box img { width: 100%; height: 410px; object-fit: cover; }
.bento-price-tag {
  position: absolute; bottom: 16px; right: 16px; background: var(--bg-hinoki); color: var(--nori-ink);
  border: 2px solid var(--nori-ink); box-shadow: 4px 4px 0 var(--urushi-red);
  padding: 10px 16px; border-radius: 10px; font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem;
}

.section-block, .section-alt { max-width: 1340px; margin: 0 auto; padding: 58px 24px; }
.section-alt {
  content-visibility: auto; contain-intrinsic-size: auto 520px;
  background: #FFF; border: 2px solid var(--nori-ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--wood-border); margin-bottom: 38px;
}
.section-title { font-size: clamp(1.7rem, 2.5vw, 2.35rem); margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 24px; }
.card-bento {
  background: var(--bg-hinoki); border: 2px solid var(--nori-ink); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-bento img { width: 100%; height: 215px; object-fit: cover; border-bottom: 2px solid var(--nori-ink); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.btn-primary, .btn-outline, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 20px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.btn-primary {
  background: var(--urushi-red); color: #FFF; border: 2px solid var(--nori-ink);
  box-shadow: 3px 3px 0 var(--nori-ink);
}
.btn-outline {
  background: #FFF; color: var(--nori-ink); border: 2px solid var(--nori-ink);
}

.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; margin-top: 22px; }
.calc-box { background: var(--bg-hinoki); border: 2px solid var(--nori-ink); border-radius: 16px; padding: 24px; }
.control-group { margin-bottom: 14px; }
.control-group label { display: block; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; margin-bottom: 6px; }
.form-input, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px;
  border: 2px solid var(--nori-ink); background: #FFF; font-family: var(--font-sans); color: var(--nori-ink);
}
.form-input:user-valid { border-color: #10B981; }
.form-input:user-invalid { border-color: #EF4444; }
.price-big { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--urushi-red); margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 12px; border: 2px solid var(--nori-ink); text-align: left; }
.spec-table th { background: var(--nori-ink); color: #FFF; font-family: var(--font-mono); font-size: 0.74rem; }

.accordion-item { border: 2px solid var(--nori-ink); border-radius: 12px; margin-bottom: 10px; background: #FFF; }
.accordion-header {
  width: 100%; min-height: 48px; padding: 14px 18px; background: none; border: none;
  color: var(--nori-ink); font-weight: 700; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-body { padding: 0 18px 16px; display: none; color: var(--muted-stone); font-size: 0.9rem; }
.accordion-item.open .accordion-body { display: block; }

.site-footer {
  content-visibility: auto; contain-intrinsic-size: auto 420px;
  background: var(--nori-ink); color: #E7E5E4; padding: 54px 24px; margin-top: 44px;
}
.footer-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.cookie-banner {
  position: fixed; bottom: 18px; right: 20px; max-width: 430px; background: #FFF; color: var(--nori-ink);
  border: 3px solid var(--nori-ink); box-shadow: 6px 6px 0 var(--urushi-red); border-radius: 12px; padding: 16px; z-index: 995; font-size: 0.8rem;
}
@media (max-width: 1040px) {
  .bento-nav, .washoku-ratio-ribbon { display: none; }
  #mobileMenuToggle { display: inline-flex; align-items: center; }
  .bento-style-tabs { grid-template-columns: repeat(2, 1fr); }
  .shokado-tray-body, .calc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RADICAL REDESIGN 2: JAPANESE NOREN CURTAIN & 5-COMPARTMENT WOODEN BENTO BOX */
.noren-curtain-masthead {
  background: #231712; color: #FAF4EA; border-bottom: 6px solid #B8332A; position: sticky; top: 0; z-index: 1000;
}
.noren-flaps-grid {
  max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 18px 8px;
}
.noren-flap {
  background: #31211B; border-bottom: 3px solid #D99B26; border-radius: 0 0 10px 10px;
  padding: 10px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 62px; transition: transform 0.2s;
}
.noren-flap:hover { background: #3E2A22; }
.noren-flap-center {
  background: #B8332A; border-bottom-color: #FAF4EA;
}
.bento-wooden-tray-hero {
  max-width: 1360px; margin: 28px auto 48px; padding: 0 24px;
}
.hinoki-outer-lacquer-box {
  background: #1E1410; border: 10px solid #8E241D; border-radius: 18px; padding: 14px;
  box-shadow: 0 28px 60px rgba(30,20,16,0.28);
  display: grid; grid-template-columns: 84px 1.25fr 0.95fr; gap: 14px;
}
.tategaki-wood-strip {
  background: #F5E9D6; border-radius: 10px; padding: 20px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  border: 2px solid #D99B26;
}
.tategaki-vertical-text {
  writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; color: #8E241D; letter-spacing: 0.14em;
}
.bento-main-compartment {
  background: #FDF9F1; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  border: 2px solid #3A261E;
}
.bento-menu-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.bento-pill-btn {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid #8E241D; background: #FFF;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: #8E241D; cursor: pointer;
}
.bento-pill-btn.active { background: #8E241D; color: #FFF; }
.bento-right-dividers {
  display: grid; grid-template-rows: 250px 1fr 1fr; gap: 14px;
}
.bento-photo-compartment {
  position: relative; border-radius: 12px; overflow: hidden; border: 3px solid #D99B26; background: #000;
}
.bento-photo-compartment img { width: 100%; height: 100%; object-fit: cover; }
.bento-sub-dish-compartment {
  background: #2B1D17; color: #FAF4EA; border-radius: 12px; padding: 16px 18px;
  border-left: 5px solid #D99B26; display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
@media (max-width: 1040px) {
  .noren-flaps-grid { grid-template-columns: 1fr auto; padding: 8px 16px; }
  .noren-flap:not(.noren-flap-center) { display: none; }
  .hinoki-outer-lacquer-box { grid-template-columns: 1fr; }
  .tategaki-wood-strip { display: none; }
}

/* COOKIE_DIFF_APPLIED */
.cookie-banner { left: 20px !important; right: auto !important; bottom: 16px !important; max-width: 360px !important; background: #231712 !important; color: #FAF4EA !important; border: 2px solid #D99B26 !important; border-radius: 10px !important; padding: 12px 16px !important; }

/* COOKIE POS FIX */
.lgpd-banner { right: 24px !important; left: auto !important; bottom: 16px !important; max-width: 410px !important; }

/* COOKIE BANNER RIGHT DOCK */
#cookieBanner, .cookie-banner { right: 24px !important; left: auto !important; bottom: 16px !important; max-width: 410px !important; }
