:root {
  color-scheme: light;
  --page: #f8faf0;
  --white: #fffefa;
  --ink: #1a3427;
  --muted: #586659;
  --green: #246348;
  --line: #dce4d6;
  --lime: #dceca9;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-decoration: none; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #2a7755; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
svg { width: 1.2em; height: 1.2em; display: block; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; padding: 12px; z-index: 5; background: white; }
.announcement { background: #1c4836; color: #f6f9ed; text-align: center; font-size: .82rem; font-weight: 650; letter-spacing: .075em; padding: 8px 12px; }
.announcement span { color: #a1c19d; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: none; }
.brand strong { font-size: 1.41rem; letter-spacing: -.025em; line-height: 1.05; font-weight: 850; }
.brand-mark { width: 40px; height: 40px; background: #dceca9; border-radius: 13px; display: grid; place-items: center; font-size: 23px; }
nav, .header-actions { display: flex; align-items: center; }
nav { gap: clamp(16px, 3vw, 42px); font-size: .96rem; font-weight: 650; }
nav a:hover, .footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.header-actions { gap: 9px; }
.icon-button, .bag-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; min-height: 43px; padding: 8px 13px; }
.icon-button { width: 43px; padding: 0; font-size: 1.12rem; }
.icon-button:hover, .bag-button:hover, .button.outline:hover { background: #e9efdf; }
.bag-button { font-size: .91rem; font-weight: 750; }
.bag-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 4px; border-radius: 99px; background: var(--lime); font-size: .75rem; }
.hero { margin-top: 29px; min-height: 400px; display: grid; grid-template-columns: .98fr 1.02fr; background: #e5efc6; border: 1px solid #d7e4b7; border-radius: 26px; overflow: hidden; }
.hero-copy { position: relative; padding: clamp(30px, 4.1vw, 57px); align-self: center; }
.hero-caption { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid #9eaf73; border-radius: 90px; color: #365333; font-size: .84rem; font-weight: 750; }
.hero h1 { font-size: clamp(2.65rem, 4.55vw, 4.4rem); line-height: 1.18; letter-spacing: -.025em; margin-top: 15px; font-weight: 900; }
.hero h1 span { color: var(--green); }
.hero p { font-size: 1.02rem; max-width: 40ch; margin: 17px 0 23px; line-height: 1.7; color: #425746; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; min-height: 46px; border-radius: 999px; padding: 10px 20px; font-weight: 750; line-height: 1.2; }
.button.primary { background: #215b43; color: #fff; }
.button.primary:hover:not(:disabled) { background: #163b2c; }
.button.outline { background: var(--white); border-color: var(--line); }
.hero-photo { position: relative; min-height: 100%; background: #acd4bd url('/images/hero.jpg') center 52% / cover no-repeat; }
.photo-tag { position: absolute; right: 17px; bottom: 16px; border: 1px solid #ffffff9e; border-radius: 100px; background: #f8faeeeF; padding: 8px 12px; color: #254636; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.photo-tag span { margin-right: 3px; }
.destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 17px; }
.destination { position: relative; isolation: isolate; min-width: 0; padding: 15px 19px; display: flex; gap: 13px; align-items: center; text-align: left; border: 1px solid #23402b22; border-radius: 16px; overflow: hidden; }
.destination:hover { border-color: #23402b80; }
.destination.japan { background: #ffe4db; }
.destination.korea { background: #ebe3fb; }
.destination.thailand { background: #faedbe; }
.flag { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid #ffffffbd; background: #fff9; border-radius: 50%; font-size: 1.38rem; }
.destination strong { display: block; font-size: 1.18rem; margin-bottom: 3px; }
.destination small { display: block; font-size: .83rem; color: #445344; white-space: nowrap; }
.shop { margin-top: 45px; padding-bottom: 46px; min-height: 330px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
h2 { font-weight: 900; font-size: clamp(1.65rem, 2.8vw, 2.2rem); letter-spacing: -.015em; }
.section-heading p { margin-top: 7px; color: var(--muted); }
.currency { color: var(--muted); white-space: nowrap; font-size: .83rem; padding-bottom: 2px; }
.filters, .filter-controls, .tabs { display: flex; align-items: center; gap: 8px; }
.filters { justify-content: space-between; margin: 18px 0; gap: 12px; flex-wrap: wrap; }
.tabs { flex-wrap: wrap; }
.tab, .field { border: 1px solid var(--line); border-radius: 90px; background: var(--white); font-size: .9rem; padding: 9px 14px; min-height: 41px; }
.tab { font-weight: 700; }
.tab[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: white; }
.tab:hover:not([aria-pressed=true]) { background: #edf2e4; }
.field { display: flex; align-items: center; gap: 7px; position: relative; }
.field:focus-within { outline: 2px solid #2a7755; outline-offset: 2px; }
.field input, .field select { background: none; color: var(--ink); border: 0; padding: 0; min-width: 0; outline: 0; }
.field input { width: 123px; }
.field select { appearance: none; padding-inline-end: 22px; cursor: pointer; }
.select-field { padding-block: 0; }
.select-field select { min-height: 39px; }
.select-field > span:last-child { position: absolute; right: 12px; pointer-events: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { border: 1px solid var(--line); background: var(--white); border-radius: 18px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.product-card:hover { border-color: #a6bba8; box-shadow: 0 6px 21px #34452a0c; }
.product-art { position: relative; width: 100%; height: auto; padding: 0; aspect-ratio: 1.48; border: 0; overflow: hidden; background: var(--art-color); display: block; border-radius: 0; }
.product-art::before { content: ""; position: absolute; inset: 0; background-image: url('/images/products.jpg'); background-repeat: no-repeat; background-size: 300% auto; background-position: var(--art-x) var(--art-y); }
.product-art-label { position: absolute; top: 11px; left: 11px; z-index: 1; display: inline-flex; gap: 5px; align-items: center; color: #2e4436; background: #fffefaed; border-radius: 999px; padding: 5px 9px; font-size: .78rem; font-weight: 750; }
.product-info { padding: 14px 15px 15px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-maker { color: var(--muted); letter-spacing: .095em; font-size: .72rem; font-weight: 800; }
.product-info h3 { font-size: 1.14rem; font-weight: 850; overflow-wrap: anywhere; }
.product-title { border: 0; background: transparent; padding: 0; text-align: left; font-weight: inherit; }
.product-title:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.product-size { font-size: .9rem; color: var(--muted); }
.product-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding-top: 9px; }
.price { color: #1b593d; font-size: 1.25rem; font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.add-button { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 100px; border: 1px solid #cbdbab; background: #e6efc9; font-size: 1.13rem; flex: none; }
.add-button:hover { color: white; background: var(--green); border-color: var(--green); }
.empty-results { text-align: center; padding: 49px 8px; border: 1px dashed #b5c5ab; border-radius: 18px; color: var(--muted); }
.empty-results button { margin-top: 15px; }
.help { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; margin-bottom: 42px; background: #ebf1de; padding: clamp(22px, 4vw, 42px); border: 1px solid #dde8cd; border-radius: 20px; }
.help-star { font-size: 1.8rem; color: var(--green); display: block; margin-bottom: 7px; }
.help-list { display: grid; gap: 10px; }
.help details { background: var(--white); border: 1px solid #dce4d2; border-radius: 12px; padding: 13px 15px; }
.help summary { cursor: pointer; font-weight: 750; }
.help details p { color: var(--muted); margin-top: 9px; line-height: 1.7; font-size: .94rem; }
.footer { background: #e7eddb; border-top: 1px solid #d8e3cb; color: #3c5342; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 17px; min-height: 90px; padding-block: 15px; font-size: .9rem; }
.stripe-label strong { color: #5149af; font-size: 1.12rem; }
dialog { margin: auto; color: var(--ink); border: 1px solid var(--line); background: var(--white); padding: 0; }
dialog::backdrop { background: #14261c84; }
body:has(dialog[open]) { overflow: hidden; }
.drawer { margin: 0 0 0 auto; width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%; }
.drawer[open] { display: flex; flex-direction: column; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.dialog-top h2 { font-size: 1.55rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 0 20px; }
.empty-cart { min-height: 200px; height: 100%; display: grid; align-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.empty-cart > svg { font-size: 2.15rem; color: var(--green); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 11px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line .product-art { aspect-ratio: 1; border-radius: 8px; }
.cart-line .product-art::before { background-position: var(--art-x) var(--square-y); }
.cart-line h3 { font-size: .96rem; line-height: 1.35; }
.cart-line p { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.line-total { white-space: nowrap; font-size: .92rem; }
.quantity { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.quantity button { background: #f0f4e9; border: 1px solid var(--line); border-radius: 7px; min-width: 30px; min-height: 30px; display: grid; place-items: center; padding: 0; }
.quantity button:hover:not(:disabled) { background: #e0ead0; }
.quantity output { min-width: 19px; text-align: center; font-size: .87rem; }
.quantity .remove { border: 0; background: none; color: var(--muted); font-size: .83rem; padding: 0 5px; }
.cart-summary { padding: 16px 20px 20px; background: #f5f8ef; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-size: .92rem; }
.cart-summary .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 11px; font-size: 1.13rem; }
.cart-summary p { color: var(--muted); font-size: .85rem; margin: 8px 0; min-height: 1.2em; }
.cart-summary p[data-error=true] { color: #8e302c; }
.checkout-button { width: 100%; }
.detail { border-radius: 19px; width: min(670px, calc(100% - 28px)); max-width: 100%; max-height: calc(100% - 40px); }
.detail-close { position: absolute; top: 10px; right: 10px; z-index: 2; }
#detail-body { display: grid; grid-template-columns: .85fr 1fr; align-items: stretch; }
#detail-body .product-art { width: 100%; height: 100%; aspect-ratio: 1; }
#detail-body .product-art::before { background-position: var(--art-x) var(--square-y); background-size: auto 300%; }
.detail-info { min-width: 0; padding: 35px 22px 25px; display: grid; align-content: center; gap: 9px; }
.detail-info h2 { font-size: 1.5rem; line-height: 1.22; }
.detail-info p { font-size: .91rem; line-height: 1.55; color: var(--muted); }
.reference { padding: 10px; border-radius: 9px; background: #edf2e3; }
.reference strong, .reference a { display: block; font-size: .85rem; }
.reference a { color: #215c41; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.detail-info .button { width: 100%; margin-top: 3px; }
.toast { position: fixed; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); color: white; background: #204c38; padding: 11px 17px; border-radius: 999px; font-size: .92rem; max-width: calc(100% - 24px); box-shadow: 0 4px 15px #213e2c21; }
.toast:empty { display: none; }
.payment-message { margin-top: 18px; border: 1px solid #cadbb0; background: #eaf1d8; border-radius: 12px; padding: 14px; line-height: 1.6; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: 340px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .header-inner { min-height: 64px; gap: 9px; }
  .header nav { display: none; }
  .bag-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .announcement { font-size: .72rem; letter-spacing: .02em; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; border-radius: 18px; }
  .hero-copy { padding: 22px; }
  .hero h1 { font-size: clamp(2.36rem, 9vw, 3.2rem); }
  .hero p { margin: 11px 0 16px; }
  .hero-photo { min-height: 235px; background-position: center 47%; }
  .destinations { gap: 6px; margin-top: 10px; }
  .destination { flex-direction: column; align-items: flex-start; gap: 6px; border-radius: 12px; padding: 9px; }
  .destination strong { font-size: .99rem; }
  .destination small { white-space: normal; font-size: .77rem; }
  .flag { width: 33px; height: 33px; font-size: 1.06rem; }
  .shop { margin-top: 32px; }
  .section-heading { align-items: start; flex-direction: column; gap: 6px; }
  .section-heading p { font-size: .93rem; }
  .tabs { gap: 6px; }
  .tab { padding-inline: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { border-radius: 11px; }
  .product-art-label { top: 6px; left: 6px; font-size: .7rem; }
  .product-info { padding: 9px; gap: 4px; }
  .product-info h3 { font-size: .96rem; }
  .product-size { font-size: .79rem; }
  .price { font-size: 1.02rem; }
  .help { grid-template-columns: 1fr; gap: 17px; }
  #detail-body { grid-template-columns: 1fr; }
  #detail-body .product-art { height: auto; max-height: 230px; aspect-ratio: 1.7; }
  #detail-body .product-art::before { background-position: var(--art-x) var(--art-y); background-size: 300% auto; }
  .detail-info { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
