/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================================
   ASEILO storefront — editorial, calm, premium. Light-first, theme-aware.
   Brand colours live here as tokens (swappable). The utility classes used by
   checkout/order (.container .card .stack .row .grid2 button input .steps .err
   .ok .muted .total .badge .spinner .skeleton) are PRESERVED below.
   ============================================================================ */
:root {
  --bg: #fdfcfa;          /* warm white */
  --surface: #f5f2ec;     /* off-white / paper */
  --surface-2: #efeae1;
  --border: #e6e1d7;      /* warm hairline */
  --text: #1c1b19;        /* charcoal / sumi */
  --muted: #7c766b;       /* warm grey */
  --accent: #2f3a33;      /* deep muted green — used sparingly */
  --accent-hover: #263029;
  --accent-contrast: #fdfcfa;
  --danger: #a3392f;
  --success: #3f6b4a;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 720px;          /* checkout column width (unchanged) */
  --maxw-wide: 1160px;    /* brand pages */
  --space: 16px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Light-only brand theme: ASEILO stays warm-white regardless of the OS dark-mode setting.
   color-scheme:light also keeps form controls / scrollbars light. (The Medusa Admin theme is
   separate and untouched.) */
:root { color-scheme: light; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- layout ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--space); }
.wide { max-width: var(--maxw-wide); margin: 0 auto; padding-left: clamp(16px, 5vw, 40px); padding-right: clamp(16px, 5vw, 40px); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }
.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 52ch; line-height: 1.7; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- header ---- */
.site-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.1) blur(8px); backdrop-filter: saturate(1.1) blur(8px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.14em; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-link { font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; transition: all .2s var(--ease); }
.icon-link:hover { color: var(--text); border-color: var(--text); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 0; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px clamp(16px,5vw,40px); font-size: 16px; }
  .nav-toggle { display: inline-flex; background: transparent; border: 1px solid var(--border); color: var(--text); width: auto; padding: 8px 12px; }
}

/* ---- language switch (small pill group) ---- */
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.lang button { width: auto; min-width: 34px; padding: 5px 10px; font-size: 12px; font-weight: 600; background: transparent; color: var(--muted); border: none; border-radius: 999px; }
.lang button[aria-current="true"] { background: var(--text); color: var(--bg); }

/* ---- hero ---- */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); }
.hero-inner { display: grid; grid-gap: 22px; gap: 22px; padding: clamp(40px, 8vw, 92px) clamp(24px, 6vw, 72px); max-width: 620px; }
.hero .display { font-size: clamp(34px, 6.4vw, 64px); }
.hero .lede { color: var(--text); opacity: 0.72; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---- buttons (base preserved; new sizes/variants added) ---- */
button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-contrast);
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; width: 100%;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button.secondary { background: transparent; color: var(--text); border-color: var(--border); }
button.secondary:hover { border-color: var(--text); background: transparent; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
/* link-button: same look as <button> but usable on <a> */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; text-align: center;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-contrast);
  padding: 12px 20px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn.secondary:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn-lg { padding: 15px 30px; font-size: 15px; letter-spacing: 0.02em; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- product grid + card ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-gap: clamp(18px, 3vw, 32px); gap: clamp(18px, 3vw, 32px); }
.product-card { display: block; group: card; }
.product-card .thumb { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.035); }
.product-card .p-title { font-family: var(--serif); font-size: 17px; margin: 14px 0 2px; }
.product-card .p-sub { font-size: 13px; color: var(--muted); }
.product-card .p-price { font-size: 14px; margin-top: 6px; }

/* elegant image placeholder when no photo exists yet */
.ph { width: 100%; height: 100%; display: grid; place-items: center; background:
  radial-gradient(120% 120% at 30% 20%, var(--surface-2), var(--surface));
  color: var(--muted); }
.ph .mono { font-family: var(--serif); font-size: clamp(28px, 6vw, 56px); letter-spacing: 0.1em; opacity: 0.5; }

/* ---- PDP ---- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; grid-gap: clamp(28px, 5vw, 64px); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }
.pdp-media { position: -webkit-sticky; position: sticky; top: 92px; }
.pdp-media .frame { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.pdp-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-media .thumb-btn { width: 64px; height: 64px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); cursor: pointer; }
.pdp-media .thumb-btn.on { border-color: var(--text); }
.pdp-media .thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .pdp-media { position: static; } }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.4vw, 40px); line-height: 1.15; margin: 0 0 8px; }
.pdp-price { font-size: 20px; margin: 18px 0; }
.pdp-desc { color: var(--muted); line-height: 1.75; }
.detail-list { border-top: 1px solid var(--border); margin-top: 28px; }
.detail-list .drow { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.detail-list .drow dt { color: var(--muted); }
.subblock { margin-top: 30px; }
.subblock h2 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 8px; }

/* ---- story / editorial band ---- */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-gap: clamp(20px, 4vw, 48px); gap: clamp(20px, 4vw, 48px); }
.story h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 0 0 8px; }
.story p { color: var(--muted); font-size: 15px; margin: 0; }
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-gap: 32px; gap: 32px; padding: clamp(40px,6vw,72px) 0 28px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand { font-size: 20px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 18px 0 40px; font-size: 12px; color: var(--muted); }

/* ============================================================================
   PRESERVED utility classes (checkout / order pages depend on these)
   ============================================================================ */
h1 { font-size: 24px; margin: 0 0 8px; }
h2 { font-size: 18px; margin: 24px 0 8px; }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.stack > * + * { margin-top: 12px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
input, select { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: 15px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; gap: 12px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.err { color: var(--danger); font-size: 14px; }
.ok { color: var(--success); font-size: 14px; }
.total { font-weight: 700; font-size: 18px; }
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.steps .on { color: var(--text); font-weight: 600; }
.skeleton { background: linear-gradient(90deg, var(--surface), var(--border), var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; height: 16px; }
@keyframes sk { to { background-position: -200% 0; } }

