/* RentoraExpo storefront */
:root {
  --bg: #f3efe6; --paper: #fbf8f2; --ink: #1d1a16; --ink-2: #3b362f; --muted: #6f675c; --line: #ddd4c4;
  --accent: #c8553d; --accent-d: #a8402b; --sage: #8fa89b; --mustard: #e3b448; --navy: #2f4a63;
  --tone0: #ebe2d1; --tone1: #e2e7de; --tone2: #f0e0d3; --tone3: #e1e5ea;
  --ok: #3f7d5a; --warn: #c08a1e; --bad: #b4412e;
  --r: 18px; --r-sm: 10px;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
em { font-style: italic; color: var(--accent); font-family: var(--serif); font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hero-grid > *, .shop-layout > *, .cart-layout > *, .pd-grid > *, .account-grid > *, .auth-wrap > *, .faq-grid > *, .split-grid > *, .section-head > * { min-width: 0; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.fine { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.hide-sm { }
.h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(29, 26, 22, .5); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(251, 248, 242, .5); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn.done { background: var(--ok); border-color: var(--ok); }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.link:disabled { opacity: .4; cursor: default; }
.link.danger { color: var(--bad); }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* top + header */
.demo-bar { background: var(--mustard); color: var(--ink); text-align: center; font-size: .82rem; padding: .45em 1em; font-weight: 600; }
.topbar { background: var(--ink); color: #e8e1d3; font-size: .8rem; text-align: center; padding: .55em 0; letter-spacing: .02em; }
.topbar .dot { margin: 0 .8em; color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { text-decoration: none; font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo-r { font-weight: 600; }
.logo-e { font-style: italic; color: var(--accent); font-weight: 400; margin-left: 1px; }
.logo.light { color: var(--paper); }
.main-nav { display: flex; gap: 1.8rem; align-items: center; margin-right: auto; }
.main-nav > a, .mega-toggle { text-decoration: none; font-weight: 600; font-size: .93rem; background: none; border: 0; padding: .4em 0; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: .4em; }
.main-nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: -24px; width: min(640px, 90vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; box-shadow: 0 30px 60px -30px rgba(29, 26, 22, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); }
.mega a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: .9rem; font-weight: 600; }
.mega a:hover { background: var(--tone0); }
.mega img { width: 44px; height: 33px; object-fit: contain; }
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.icon-link { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 600; font-size: .9rem; position: relative; }
.badge { position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.badge.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 1.8px; background: var(--ink); margin: 6px 0; transition: .3s var(--ease); }
.flash { padding: .9em 0; font-weight: 600; font-size: .92rem; }
.flash-success { background: #dfe9df; color: #244a33; }
.flash-error { background: #f4dcd5; color: #7c2a1b; }

/* reveal motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 400; letter-spacing: -.035em; line-height: .98; margin-bottom: .35em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }
body.ready .hero-title .line > span { transform: none; }
.date-search { margin-top: 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 8px; gap: 4px; box-shadow: 0 24px 50px -32px rgba(29, 26, 22, .45); }
.ds-field { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 14px; transition: background .2s; min-width: 0; }
.ds-field:hover, .ds-field:focus-within { background: var(--bg); }
.ds-field span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.ds-field select, .ds-field input { border: 0; background: transparent; padding: 2px 0; font-weight: 600; outline: none; width: 100%; min-width: 0; }
.date-search .btn { border-radius: 16px; }
.hero-art { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-art .tile { aspect-ratio: 4/3; border-radius: 22px; display: grid; place-items: center; padding: 10%; animation: float 7s ease-in-out infinite; opacity: 0; transform: scale(.9); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.ready .hero-art .tile { opacity: 1; transform: none; }
.hero-art .t0 { background: var(--tone2); transition-delay: .2s; }
.hero-art .t1 { background: var(--tone0); transition-delay: .3s; animation-delay: -2s; margin-top: 40px; }
.hero-art .t2 { background: var(--tone1); transition-delay: .4s; animation-delay: -4s; }
.hero-art .t3 { background: var(--tone3); transition-delay: .5s; animation-delay: -1s; margin-top: 40px; }
.hero-art .t4 { background: var(--tone0); transition-delay: .6s; animation-delay: -3s; }
.hero-art .t5 { background: var(--tone2); transition-delay: .7s; animation-delay: -5s; margin-top: 40px; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero-stamp { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.05; box-shadow: 0 16px 30px -12px rgba(168, 64, 43, .6); animation: spin 18s linear infinite; }
.hero-stamp::before { content: ''; position: absolute; inset: 7px; border: 1.5px dashed rgba(255, 255, 255, .6); border-radius: 50%; }
.hero-stamp span { animation: spin 18s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 50s linear infinite; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; font-size: .7em; align-self: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--muted); max-width: 30em; justify-self: end; margin: 0; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; }
.section-head h2 { margin: 0; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .45s var(--ease), border-color .3s, background .3s; }
.cat-card .cat-art { background: var(--tone0); border-radius: 12px; aspect-ratio: 4/3; display: grid; place-items: center; padding: 10%; transition: background .4s; overflow: hidden; }
.cat-card:nth-child(4n+2) .cat-art { background: var(--tone1); }
.cat-card:nth-child(4n+3) .cat-art { background: var(--tone2); }
.cat-card:nth-child(4n+4) .cat-art { background: var(--tone3); }
.cat-card img { transition: transform .6s var(--ease); }
.cat-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.cat-card:hover img { transform: scale(1.08) rotate(-2deg); }
.cat-meta h3 { margin: 0; font-size: 1.02rem; }
.cat-meta span { font-size: .82rem; color: var(--muted); }
.cat-card .arrow { position: absolute; right: 18px; bottom: 22px; transition: transform .35s var(--ease); }
.cat-card:hover .arrow { transform: translate(3px, -3px); color: var(--accent); }

/* how */
.how { background: var(--ink); color: var(--paper); }
.how .section-head p { color: #b9b0a1; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #3d382f; }
.steps li { padding: 28px 28px 8px 0; border-right: 1px solid #3d382f; margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 2.4rem; display: block; margin-bottom: 1.2rem; }
.steps p { color: #b9b0a1; font-size: .94rem; }

/* products */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.p-card { text-decoration: none; display: block; }
.p-media { position: relative; border-radius: var(--r); aspect-ratio: 4/3.4; background: var(--tone0); display: grid; place-items: center; padding: 12%; overflow: hidden; }
.p-media[data-tone="1"], [data-tone="1"] { background: var(--tone1); }
.p-media[data-tone="2"], [data-tone="2"] { background: var(--tone2); }
.p-media[data-tone="3"], [data-tone="3"] { background: var(--tone3); }
.p-media.photo { padding: 0; }
.p-media.photo img { width: 100%; height: 100%; object-fit: cover; }
.p-media img { transition: transform .8s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.06); }
.avail-chip { position: absolute; left: 12px; top: 12px; background: var(--paper); border-radius: 99px; padding: .35em .8em; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; gap: .45em; }
.avail-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.avail-chip.low::before { background: var(--warn); }
.avail-chip.out { color: var(--muted); } .avail-chip.out::before { background: var(--bad); }
.p-body { padding: 14px 4px 0; }
.p-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.p-body h3 { margin: .25em 0 .35em; font-size: 1.05rem; }
.p-meta { display: flex; align-items: baseline; gap: .7em; }
.p-price { font-weight: 800; }
.p-price small { font-weight: 500; color: var(--muted); }
.p-min { font-size: .78rem; color: var(--muted); }

/* split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { border-radius: 26px; padding: clamp(28px, 4vw, 56px); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0; }
.split-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.split-card .btn { margin-top: .5rem; }
.split-card p:not(.eyebrow) { max-width: 30em; }
.split-card.dark { background: var(--navy) url('../img/cat/event-chair.svg') no-repeat right -30px top -10px / 52%; color: var(--paper); }
.split-card.dark .eyebrow, .split-card.dark p { color: #c9d4de; }
.split-card.dark em { color: var(--mustard); }
.split-card.light { background: var(--tone2) url('../img/cat/sofa.svg') no-repeat right -20px top 0 / 50%; }
.split-card > div, .split-card .btn + .btn { }
.split-card .btn + .btn { margin-left: 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq .section-head { display: block; }
.faq .section-head p { justify-self: start; margin-top: 1rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { width: 18px; height: 18px; position: relative; flex: none; margin-top: 4px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: currentColor; transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq-list details p { color: var(--ink-2); padding-bottom: 20px; max-width: 42em; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 30px; margin-top: 40px; }
.footer-big { font-family: var(--serif); font-size: clamp(3rem, 10vw, 8.5rem); line-height: .92; letter-spacing: -.04em; margin-bottom: 64px; }
.footer-big em { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; border-top: 1px solid #3d382f; padding-top: 40px; }
.footer-grid h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #8e8576; margin-bottom: 1rem; font-family: var(--sans); font-weight: 700; }
.footer-grid a, .footer-grid span { display: block; text-decoration: none; color: #e4dccd; font-size: .92rem; margin-bottom: .5em; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .logo { display: inline-flex; font-size: 1.6rem; color: var(--paper); }
.footer-grid .logo span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.footer-grid .logo .logo-e { color: var(--accent); }
.muted-light { color: #a39a8b !important; max-width: 24em; margin-top: 1rem; }
.footer-base { display: flex; justify-content: space-between; color: #8e8576; font-size: .8rem; margin-top: 48px; }

/* shop */
.shop-hero { padding: 40px 0 28px; }
.shop-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 18px 0 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 60px; }
.filters { position: sticky; top: 92px; align-self: start; }
.filters h4 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 800; margin: 0 0 .6rem; }
.filter-dates { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 28px; display: grid; gap: 10px; }
.filter-dates .hint { font-size: .82rem; color: var(--muted); margin: -4px 0 4px; }
.filter-dates label { font-size: .8rem; font-weight: 700; display: grid; gap: 4px; }
.filter-dates .check { display: flex; gap: .5em; align-items: center; font-weight: 600; }
.filter-dates .clear { font-size: .82rem; text-align: center; }
input[type=date], input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], select, textarea { border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: .7em .85em; width: 100%; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 26, 22, .08); }
.cat-list { display: grid; }
.cat-list a { text-decoration: none; padding: .45em 0; font-size: .93rem; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; border-bottom: 1px solid transparent; transition: color .2s, padding .3s var(--ease); }
.cat-list a span { color: var(--muted); font-weight: 500; font-size: .8rem; }
.cat-list a:hover { padding-left: 6px; color: var(--ink); }
.cat-list a.active { color: var(--accent); }
.results-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.search-inline { flex: 1 1 320px; max-width: 460px; }
.search-inline input { border-radius: 99px; padding-left: 1.1em; }
.results-meta { display: flex; gap: 14px; align-items: center; font-size: .9rem; color: var(--muted); }
.results-meta select { width: auto; border-radius: 99px; }
.results .p-grid { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 80px 20px; }
.empty.sm { padding: 40px 0; text-align: left; }
.form-error { color: var(--bad); font-size: .87rem; font-weight: 600; margin: .5em 0; }

/* product detail */
.pd-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; padding-bottom: 40px; }
.pd-main { border-radius: 24px; aspect-ratio: 4/3.2; background: var(--tone0); display: grid; place-items: center; padding: 10%; overflow: hidden; }
.pd-main.photo { padding: 0; } .pd-main.photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-main img { animation: fadeUp .8s var(--ease); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 80px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--tone0); }
.pd-thumbs button.on { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { margin-top: 40px; }
.pd-info h2 { font-size: 1.8rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 24px 0; }
.specs div { border-top: 1px solid var(--line); padding: 12px 0; }
.specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.specs dd { margin: .2em 0 0; font-weight: 600; }
.assure { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6em; }
.assure li { padding-left: 28px; position: relative; font-size: .94rem; }
.assure li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.book-panel { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(29, 26, 22, .4); }
.book-panel h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin: .2em 0 .3em; }
.pd-short { color: var(--muted); }
.pd-price { padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 18px; display: flex; gap: .6em; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.pd-price strong { font-size: 1.6rem; color: var(--ink); font-family: var(--serif); font-weight: 500; }

/* calendar */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 800; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 1.2rem; line-height: 1; transition: .2s; }
.cal-nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow span { text-align: center; font-size: .7rem; font-weight: 800; color: var(--muted); padding: 4px 0; }
.cal-days { transition: opacity .2s; }
.cal-days.loading { opacity: .4; }
.cal-days .d { aspect-ratio: 1; border: 0; border-radius: 10px; background: #f0ebe1; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 0; transition: background .2s, transform .2s var(--ease), color .2s; position: relative; }
.cal-days .d b { font-size: .88rem; font-weight: 700; line-height: 1.1; }
.cal-days .d small { font-size: .6rem; color: var(--ok); font-weight: 800; line-height: 1; }
.cal-days .d.low small { color: var(--warn); }
.cal-days .d:hover:not(:disabled) { transform: scale(1.08); background: #e6dfd1; }
.cal-days .d.off { background: transparent; color: #c2b9aa; cursor: default; }
.cal-days .d.out { background: repeating-linear-gradient(135deg, #f0ebe1 0 4px, #e7dfd2 4px 8px); color: #b6ab9a; cursor: not-allowed; text-decoration: line-through; }
.cal-days .d.out small { color: var(--bad); }
.cal-days .d.in, .cal-days .d.hover { background: #f1d7cc; border-radius: 4px; }
.cal-days .d.sel { background: var(--accent); color: #fff; }
.cal-days .d.sel small { color: #ffe3d8; }
.cal-legend { display: flex; gap: 14px; font-size: .74rem; color: var(--muted); margin-top: 10px; }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.lg-free { background: var(--ok); } .lg-low { background: var(--warn); } .lg-out { background: var(--bad); }
.sel-summary { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 18px 0 14px; }
.sel-summary > div { background: var(--bg); padding: 10px 12px; }
.lbl { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; }
.sel-summary strong { font-size: .95rem; }
.qty-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--paper); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--bg); }
.stepper input { width: 56px; border: 0; text-align: center; padding: 0; font-weight: 800; background: transparent; box-shadow: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.sm button { width: 32px; height: 32px; } .stepper.sm input { width: 40px; }
.price-box { background: var(--bg); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: .9rem; animation: fadeUp .4s var(--ease); }
.price-box div { display: flex; justify-content: space-between; padding: 3px 0; }
.price-box .total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; }
.price-box small { font-weight: 500; color: var(--muted); }

/* cart / checkout / order */
.page-head { padding: 40px 0 20px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; }
.page-head.row { display: flex; justify-content: space-between; align-items: end; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-bottom: 60px; }
.cart-layout > .empty { grid-column: 1 / -1; }
.cart-line { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; transition: opacity .3s, transform .3s var(--ease); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line.busy { opacity: .5; }
.cart-line.leaving { opacity: 0; transform: translateX(-20px); }
.cart-line.has-error { background: linear-gradient(90deg, #f6e1da, transparent); }
.cl-img { border-radius: 14px; aspect-ratio: 4/3; background: var(--tone0); display: grid; place-items: center; padding: 10%; overflow: hidden; }
.cl-body h3 { margin: .15em 0; } .cl-body h3 a { text-decoration: none; }
.cl-dates { font-weight: 700; margin: 0; font-size: .92rem; }
.cl-rate { color: var(--muted); font-size: .85rem; margin: 0; }
.cl-side { display: grid; justify-items: end; gap: 8px; }
.cart-lines > .link-arrow { display: inline-block; margin-top: 24px; }
.summary { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.summary h3 { font-size: 1.2rem; }
.sum-row, .sum-item { display: flex; justify-content: space-between; gap: 1rem; padding: 6px 0; font-size: .93rem; }
.sum-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.sum-item span { display: block; font-size: .8rem; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--ink); margin: 10px 0 16px; padding-top: 12px; font-weight: 800; font-size: 1.15rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.form-grid label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; }
.form-grid label small { font-weight: 500; color: var(--muted); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid .check, label.check { display: flex; gap: .6em; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.narrow { width: min(640px, 100% - 32px); margin: 0 auto; padding: 48px 0 80px; }
.narrow h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; }
.prose h3 { margin-top: 1.8em; }
.notice { background: var(--paper); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 12px 12px 0; max-width: 46em; }
.timeline { list-style: none; padding: 0; margin: 10px 0 40px; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.timeline li { position: relative; padding-top: 28px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.timeline li span { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); z-index: 1; }
.timeline li::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li.done, .timeline li.now { color: var(--ink); }
.timeline li.done span { background: var(--ink); border-color: var(--ink); }
.timeline li.done::before { background: var(--ink); }
.timeline li.now span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(200, 85, 61, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(200, 85, 61, .05); } }
.deliver-to { margin-top: 28px; }
.account-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-bottom: 60px; align-items: start; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.order-row:hover { padding-left: 8px; }
.order-row span { display: block; font-size: .85rem; color: var(--muted); }
.status { display: inline-block !important; padding: .3em .8em; border-radius: 99px; font-size: .75rem !important; font-weight: 800; background: var(--tone0); color: var(--ink) !important; }
.s-confirmed, .s-completed { background: #dce9de; } .s-dispatched, .s-delivered { background: #dbe4ee; }
.s-pending_payment, .s-payment_conflict { background: #f5e7c5; } .s-payment_failed, .s-expired, .s-cancelled { background: #f1dcd5; }
.profile-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.profile-card dl { margin: 0 0 18px; }
.profile-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; margin-top: 12px; }
.profile-card dd { margin: 2px 0 0; font-weight: 600; }
.verified { font-size: .72rem; background: #dce9de; color: var(--ok); padding: .15em .6em; border-radius: 99px; margin-left: .4em; }

/* auth */
.auth-wrap { width: min(1080px, 100% - 32px); margin: 0 auto; padding: 56px 0 90px; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.auth-side h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 400; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 32px; box-shadow: 0 30px 60px -40px rgba(29, 26, 22, .4); }
.auth-card h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.auth-step { display: grid; gap: 14px; animation: fadeUp .5s var(--ease); }
.phone-field { display: flex; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; transition: border-color .2s; }
.phone-field:focus-within { border-color: var(--ink); }
.phone-field .cc { padding: .8em .9em; background: var(--bg); font-weight: 800; border-right: 1.5px solid var(--line); }
.phone-field input { border: 0; font-size: 1.15rem; letter-spacing: .06em; font-weight: 700; box-shadow: none !important; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-boxes input { text-align: center; font-size: 1.5rem; font-weight: 800; padding: .5em 0; border-radius: 12px; }

/* modal + toast */
.modal { position: fixed; inset: 0; background: rgba(29, 26, 22, .5); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fadeUp .3s; }
.modal[hidden] { display: none; }
.modal-card { background: var(--paper); border-radius: 22px; padding: 28px; max-width: 420px; width: 100%; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); background: var(--ink); color: var(--paper); padding: .8em 1.4em; border-radius: 99px; font-weight: 700; z-index: 200; transition: transform .45s var(--ease); font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1080px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .results .p-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.nav-open .site-header { z-index: 80; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(29, 26, 22, .35); z-index: 55; }
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 88vw); background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 110px 24px 24px; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; z-index: 60; overflow-y: auto; }
  body.nav-open .main-nav { transform: none; visibility: visible; transition: transform .45s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .3); }
  body.nav-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  body.nav-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-btn { position: relative; z-index: 70; }
  .main-nav > a, .mega-toggle { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; width: 100%; justify-content: space-between; }
  .mega { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-mega.open .mega { display: grid; }
  .has-mega:hover .mega { display: none; } .has-mega.open:hover .mega { display: grid; }
  .hero-grid, .pd-grid, .cart-layout, .account-grid, .auth-wrap, .faq-grid, .split-grid { grid-template-columns: 1fr; }
  .hero-art { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-art .tile { margin-top: 0 !important; border-radius: 16px; }
  .hero-stamp { width: 84px; height: 84px; font-size: .95rem; }
  .date-search { grid-template-columns: 1fr 1fr; }
  .date-search .ds-field:first-child, .date-search .btn { grid-column: 1 / -1; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head p { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid #3d382f; padding-right: 16px; }
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .cat-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .cat-list a { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: .45em 1em; background: var(--paper); gap: .5em; }
  .cat-list a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .cat-list a:hover { padding-left: 1em; }
  .book-panel, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { gap: 28px; padding-top: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hide-sm { display: none; }
  .topbar { font-size: .72rem; }
  .topbar .dot, .topbar .dot ~ * { }
  .header-row { height: 62px; gap: 1rem; }
  .logo { font-size: 1.35rem; }
  .p-grid, .results .p-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .p-body h3 { font-size: .95rem; }
  .avail-chip { font-size: .66rem; left: 8px; top: 8px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 12px; } .cat-card .arrow { display: none; }
  .cat-meta h3 { font-size: .9rem; }
  .steps { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .book-panel { padding: 20px; border-radius: 20px; }
  .cart-line { grid-template-columns: 88px 1fr; }
  .cl-side { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; }
  .cl-side strong { justify-self: end; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(5, 1fr); font-size: .7rem; }
  .timeline li { font-size: .68rem; padding-right: 4px; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row > strong { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; }
  .split-card { min-height: 360px; background-size: 70% !important; background-position: right -20px top -10px !important; }
  .page-head.row { align-items: start; }
  .auth-card { padding: 22px; }
}
