/* WoodCraft Corner — storefront styles
   Brand palette kept from the original theme: sunny yellow, deep wood brown, warm orange, parchment. */

:root {
  --primary: #FACC15;
  --primary-alt: #EAB308;
  --primary-soft: #FEF6D0;
  --secondary: #2C1E16;
  --secondary-2: #3B2A1E;
  --accent: #D97706;
  --accent-dark: #B45309;
  --saddle: #8B4513;
  --bg: #FAFAF9;
  --bg-wood: #F3E8D6;
  --bg-wood-2: #EADBC1;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --line: #E7E1D8;
  --success: #15803D;
  --success-bg: #DCFCE7;
  --danger: #B91C1C;
  --danger-bg: #FEE2E2;
  --info: #1D4ED8;
  --info-bg: #DBEAFE;
  --warning-bg: #FEF3C7;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2.2rem, 4.6vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3.2vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.35rem);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgb(44 30 22 / .06), 0 1px 3px rgb(44 30 22 / .05);
  --shadow-md: 0 8px 24px -8px rgb(44 30 22 / .14);
  --shadow-lg: 0 24px 48px -16px rgb(44 30 22 / .25);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--saddle); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--secondary); line-height: 1.12; letter-spacing: .005em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--fs-h1); text-transform: uppercase; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary-alt); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--text-muted); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: var(--secondary); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--wood { background: var(--bg-wood); background-image: radial-gradient(ellipse 120% 60% at 50% 0, rgb(255 255 255 / .45), transparent 70%); }
.section--dark { background: var(--secondary); color: #EADBC1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--primary); }
.eyebrow--light { color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--secondary); }
.link-arrow:hover { color: var(--accent-dark); gap: .55rem; }
.lead { font-size: 1.2rem; color: var(--secondary-2); }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.icon { flex-shrink: 0; vertical-align: middle; }

/* ------------------------------------------------------------ buttons, chips, badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.3rem; border-radius: var(--pill); border: 2px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--secondary); box-shadow: 0 6px 16px -6px rgb(234 179 8 / .7); }
.btn--primary:hover { background: var(--primary-alt); color: var(--secondary); transform: translateY(-1px); }
.btn--dark { background: var(--secondary); color: #fff; }
.btn--dark:hover { background: var(--secondary-2); color: var(--primary); }
.btn--ghost { background: transparent; border-color: var(--secondary); color: var(--secondary); }
.btn--ghost:hover { background: var(--secondary); color: #fff; }
.section--dark .btn--ghost { border-color: #EADBC1; color: #EADBC1; }
.btn--light { background: #fff; color: var(--secondary); border-color: var(--line); }
.btn--light:hover { border-color: var(--secondary); color: var(--secondary); }
.btn--danger { background: var(--danger-bg); color: var(--danger); }
.btn--sm { padding: .45rem .9rem; font-size: .88rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgb(255 255 255 / .1); color: var(--primary); }
.chip { display: inline-block; padding: .22rem .65rem; border-radius: var(--pill); background: var(--bg-wood); color: var(--saddle); font-size: .74rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.chip:hover { background: var(--primary); color: var(--secondary); }
.chip--light { background: rgb(255 255 255 / .9); color: var(--secondary); }
.chip.is-active { background: var(--secondary); color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: var(--pill); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--warning { background: var(--warning-bg); color: #92400E; }
.badge--accent { background: var(--primary); color: var(--secondary); }
.badge--muted { background: #EEE; color: #555; }
.badge--dark { background: var(--secondary); color: var(--primary); }
.level { font-size: .74rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; color: var(--text-muted); }
.level::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.level--beginner { color: #15803D; }
.level--intermediate { color: #B45309; }
.level--advanced { color: #B91C1C; }
.type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.type--digital { color: var(--accent-dark); }
.type--affiliate { color: #1D4ED8; }
.stars { --s: 1rem; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E5E7EB'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars__fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EAB308'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars__count { font-size: .8rem; color: var(--text-muted); }

/* ------------------------------------------------------------ alerts & toasts */
.flashes { padding-top: 1rem; display: grid; gap: .5rem; }
.alert { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-md); font-size: .95rem; border: 1px solid transparent; }
.alert--success { background: var(--success-bg); color: #14532D; border-color: #BBF7D0; }
.alert--error { background: var(--danger-bg); color: #7F1D1D; border-color: #FECACA; }
.alert--info { background: var(--info-bg); color: #1E3A8A; border-color: #BFDBFE; }
.alert--warning { background: var(--warning-bg); color: #78350F; border-color: #FDE68A; }
.toasts { position: fixed; z-index: 120; right: 16px; bottom: 16px; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--secondary); color: #fff; padding: .85rem 1.1rem; border-radius: var(--r-md); box-shadow: var(--shadow-lg); display: flex; gap: .6rem; align-items: center; font-size: .95rem; animation: toast-in .25s var(--ease); }
.toast .icon { color: var(--primary); }
.toast--error .icon { color: #FCA5A5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------ header */
.announce { background: var(--primary); color: var(--secondary); font-size: .88rem; font-weight: 600; }
.announce .container { display: flex; gap: .5rem; align-items: center; justify-content: center; padding-top: .45rem; padding-bottom: .45rem; text-align: center; }
.announce a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.announce a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px var(--gutter); pointer-events: none; }
.nav-pill {
  pointer-events: auto; max-width: calc(var(--container) - 2 * var(--gutter) + 40px); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem; padding: 8px 10px 8px 12px;
  background: rgb(44 30 22 / .97); color: #F5EBDC; border-radius: var(--pill);
  box-shadow: 0 10px 30px -10px rgb(44 30 22 / .55); backdrop-filter: blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { border-radius: 50%; }
.brand__name { font: 700 1.2rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.brand__name b { color: var(--primary); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: .15rem; margin: 0 auto; }
.main-nav > a, .dropdown > button {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: var(--pill);
  color: #E9DCC8; text-decoration: none; font-size: .93rem; font-weight: 500; background: none; border: 0; cursor: pointer;
}
.main-nav > a:hover, .dropdown > button:hover { color: #fff; background: rgb(255 255 255 / .07); }
.main-nav .is-active { color: var(--primary); background: rgb(250 204 21 / .12); }
.nav-actions { display: flex; align-items: center; gap: .15rem; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--primary); color: var(--secondary); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-cta { margin-left: .35rem; }
.burger { display: none; }
.dropdown { position: relative; }
.dropdown__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .6rem;
  background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: .18s var(--ease);
}
.dropdown__panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown.is-open .dropdown__panel, .dropdown:hover .dropdown__panel { opacity: 1; visibility: visible; transform: translateX(-50%); }
.dropdown__item { display: flex; gap: .7rem; padding: .7rem; border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.dropdown__item:hover { background: var(--bg-wood); color: var(--text); }
.dropdown__item strong { display: block; font-size: .92rem; color: var(--secondary); }
.dropdown__item small { display: block; font-size: .78rem; color: var(--text-muted); line-height: 1.35; }
.dropdown__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--accent-dark); flex-shrink: 0; }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--secondary); color: #F5EBDC; padding: 1.2rem var(--gutter) 2rem; display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__nav { display: grid; }
.mobile-menu__nav a { display: flex; gap: .85rem; align-items: center; padding: 1rem .25rem; border-bottom: 1px solid rgb(255 255 255 / .08); color: #fff; text-decoration: none; font: 600 1.25rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.mobile-menu__nav a .icon { color: var(--primary); }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgb(250 204 21 / .16), transparent 70%),
    repeating-radial-gradient(ellipse at 110% 40%, transparent 0 22px, rgb(139 69 19 / .035) 23px 24px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero__lead { font-size: 1.18rem; color: #4B5563; max-width: 34em; }
.hero-search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: .4rem .4rem .4rem 1.1rem; box-shadow: var(--shadow-md); margin: 1.5rem 0 1.25rem; max-width: 560px; }
.hero-search .icon { color: var(--text-muted); }
.hero-search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; padding: .45rem 0; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__stats { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: clamp(1rem, 4vw, 2.5rem); flex-wrap: wrap; }
.hero__stats strong { display: block; font: 700 2rem/1 var(--font-head); color: var(--secondary); }
.hero__stats span { font-size: .85rem; color: var(--text-muted); }
.hero__visual { position: relative; }
.hero__visual > img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.hero__visual::before { content: ""; position: absolute; inset: 8% -5% -5% 10%; background: var(--primary); border-radius: var(--r-xl); transform: rotate(3deg); }
.hero__float { position: absolute; z-index: 2; display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--text); transition: transform .2s var(--ease); }
.hero__float:hover { transform: translateY(-3px); color: var(--text); }
.hero__float strong { display: block; font-size: .9rem; color: var(--secondary); }
.hero__float small { color: var(--text-muted); font-size: .78rem; }
.hero__float--a { left: -8%; bottom: 14%; }
.hero__float--b { right: -4%; top: 8%; }
.hero__float-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--secondary); color: var(--primary); }
.swatch { width: 38px; height: 38px; border-radius: 10px; background: var(--sw); background-image: repeating-linear-gradient(100deg, rgb(255 255 255 / .08) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); flex-shrink: 0; }

/* ------------------------------------------------------------ topics, features, bands */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.topic { display: grid; gap: .3rem; padding: 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: .2s var(--ease); position: relative; overflow: hidden; }
.topic::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: repeating-radial-gradient(circle, var(--c) 0 2px, transparent 2px 7px); opacity: .08; }
.topic:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--text); }
.topic__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: .4rem; }
.topic__name { font: 600 1.1rem/1.2 var(--font-head); color: var(--secondary); text-transform: uppercase; }
.topic__count { font-size: .82rem; color: var(--text-muted); }

.feature-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.feature { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--secondary); min-height: 240px; display: flex; }
.feature--lead { grid-row: span 2; min-height: 480px; }
.feature__media { position: absolute; inset: 0; }
.feature__media .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(28 18 12 / 0) 25%, rgb(28 18 12 / .92)); }
.feature__body { position: relative; z-index: 1; margin-top: auto; padding: 1.5rem; color: #EADBC1; }
.feature__body h3 { color: #fff; font-size: 1.35rem; margin: .6rem 0 .5rem; }
.feature--lead .feature__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature__body h3 a { color: inherit; text-decoration: none; }
.feature__body h3 a::after { content: ""; position: absolute; inset: 0; }
.feature__body h3 a:hover { color: var(--primary); }
.feature__body p { color: #D9C9B0; }
.feature__meta { font-size: .85rem; display: inline-flex; gap: .35rem; align-items: center; }

.tools-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-xl); background: var(--secondary); color: #D9C9B0; position: relative; overflow: hidden; }
.tools-band::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at -10% 120%, transparent 0 26px, rgb(250 204 21 / .05) 27px 28px); pointer-events: none; }
.tools-band h2 { color: #fff; }
.tools-band__intro { position: relative; align-self: center; }
.tools-band__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tool-tile { display: grid; gap: .35rem; align-content: start; padding: 1.1rem; border-radius: var(--r-lg); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); text-decoration: none; color: #D9C9B0; transition: .2s var(--ease); }
.tool-tile:hover { background: rgb(250 204 21 / .1); border-color: rgb(250 204 21 / .4); color: #fff; transform: translateY(-2px); }
.tool-tile strong { color: #fff; font-size: 1rem; }
.tool-tile small { font-size: .82rem; line-height: 1.4; }
.tool-tile__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--secondary); margin-bottom: .3rem; }

.finder-band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--primary-soft); border: 2px dashed var(--primary-alt); }
.finder-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3rem; }
.finder-band p { margin: 0; color: #57534E; }
.finder-band__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--primary); }

.cta-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-split img { border-radius: var(--r-xl); box-shadow: 0 0 0 8px rgb(250 204 21 / .15); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.75rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--primary); margin-top: 3px; }
.section:not(.section--dark) .checklist .icon { color: var(--success); }

/* ------------------------------------------------------------ cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D6CBB9; }
.card__media { display: block; overflow: hidden; background: var(--bg-wood); }
.card__media img, .card__media .cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card__media img, .card:hover .card__media .cover { transform: scale(1.03); }
.card__body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.card__title { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin: 0; text-transform: none; letter-spacing: 0; }
.card__title a { color: var(--secondary); text-decoration: none; }
.card__title a:hover { color: var(--accent-dark); }
.card__text { color: var(--text-muted); font-size: .93rem; margin: 0; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--text-muted); padding-top: .35rem; }
.card__foot span { display: inline-flex; align-items: center; gap: .3rem; }

.cover { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cover--gen {
  position: relative; display: grid; place-content: center; justify-items: center; gap: .6rem; color: #fff;
  background-color: var(--c);
  background-image:
    radial-gradient(ellipse 70% 90% at 15% 110%, rgb(255 255 255 / .12), transparent 60%),
    repeating-radial-gradient(ellipse 160% 60% at -20% 50%, transparent 0 9px, rgb(0 0 0 / .09) 10px 11px, transparent 12px 19px),
    linear-gradient(135deg, rgb(255 255 255 / .1), rgb(0 0 0 / .25));
}
.cover__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); border: 2px solid rgb(250 204 21 / .7); color: var(--primary); }
.cover__label { font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .85); }

.product-card__media { position: relative; background: #F7F2EA; }
.product-card__media img { aspect-ratio: 1; object-fit: cover; }
.product-card__ph { display: grid; place-items: center; aspect-ratio: 1; color: var(--text-muted); }
.product-card__badge { position: absolute; top: 12px; left: 12px; }
.product-card__foot { margin-top: auto; display: grid; gap: .65rem; padding-top: .6rem; }
.product-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; min-height: 1.6rem; }
.product-card__price .note { font-size: .78rem; color: var(--text-muted); }
.product-card__foot form, .product-card__foot .btn { width: 100%; }
.product-card__foot .btn { padding: .6rem 1rem; }
.price { font: 700 1.15rem/1 var(--font-head); color: var(--secondary); letter-spacing: .02em; }
.price del { color: var(--text-muted); font-size: .85em; font-weight: 500; margin-right: .2rem; }
.price ins { text-decoration: none; color: var(--danger); }

/* ------------------------------------------------------------ page hero / crumbs / pagination */
.page-hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, var(--bg-wood), var(--bg)); border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.page-hero h1 { margin: .5rem 0 .6rem; }
.page-hero p { color: #57534E; max-width: 46em; margin: 0; font-size: 1.08rem; }
.crumbs { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-muted); flex-wrap: wrap; }
.crumbs a { color: var(--text-muted); text-decoration: none; display: inline-flex; }
.crumbs a:hover { color: var(--accent-dark); }
.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; padding: 0 .8rem; display: inline-flex; gap: .3rem; align-items: center; justify-content: center; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--secondary); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pagination a:hover { border-color: var(--secondary); }
.pagination a.is-current { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }
.pagination__gap { align-self: center; color: var(--text-muted); }
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.75rem; }
.filter-bar .spacer { flex: 1; }
.select { appearance: none; padding: .55rem 2.2rem .55rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232C1E16' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; font-size: .9rem; cursor: pointer; }
.empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--text-muted); }
.empty .icon { color: var(--primary-alt); margin: 0 auto .75rem; }
.empty h3 { margin-bottom: .3rem; }

/* ------------------------------------------------------------ layout with sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
.sidebar { display: grid; gap: 1.25rem; position: sticky; top: 100px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; }
.widget h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .85rem; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.widget li a { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem .55rem; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .93rem; }
.widget li a:hover, .widget li a.is-active { background: var(--bg-wood); color: var(--secondary); }
.widget li a small { color: var(--text-muted); }
.widget--dark { background: var(--secondary); color: #D9C9B0; border-color: var(--secondary); }
.widget--dark h3 { color: var(--primary); }
.popular-list { counter-reset: pop; }
.popular-list li a { justify-content: flex-start; align-items: baseline; }
.popular-list li a::before { counter-increment: pop; content: counter(pop); font: 700 1.1rem/1 var(--font-head); color: var(--primary-alt); min-width: 1.2rem; }

/* ------------------------------------------------------------ article */
.article-head { padding: clamp(1.5rem, 4vw, 3rem) 0 0; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: .9rem 0 1rem; max-width: 22em; }
.article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: .9rem; }
.article-meta span { display: inline-flex; gap: .35rem; align-items: center; }
.author-chip { display: inline-flex; align-items: center; gap: .55rem; color: var(--secondary); font-weight: 600; }
.author-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.article-cover { margin: 2rem 0; border-radius: var(--r-xl); overflow: hidden; }
.article-cover .cover { aspect-ratio: 21 / 8; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px) 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .88rem; }
.toc h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; color: var(--text-muted); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--secondary); }
.toc a.is-active { color: var(--secondary); border-left-color: var(--primary-alt); font-weight: 600; }
.toc .toc-3 a { padding-left: 1.7rem; font-size: .84rem; }
.reading-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--primary); z-index: 70; transition: width .1s linear; }

.prose { font-size: 1.1rem; line-height: 1.8; color: #2D3748; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.2em 0 .6em; padding-top: .3em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin-left: 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; color: var(--secondary-2); }
.prose img { border-radius: var(--r-lg); }
.prose a { color: var(--accent-dark); font-weight: 500; }
.prose strong { color: var(--secondary); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-wood); font-weight: 700; color: var(--secondary); }
.prose code { background: var(--bg-wood); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); }

.disclosure { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-md); background: #F5F5F4; color: #57534E; font-size: .86rem; margin-bottom: 2rem; }
.disclosure .icon { color: var(--accent); margin-top: 2px; }
.article-actions { position: sticky; top: 100px; display: grid; gap: .5rem; justify-items: start; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; color: var(--secondary); font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.share-btn.is-on { background: var(--primary); border-color: var(--primary-alt); }
.author-box { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; border-radius: var(--r-lg); background: var(--bg-wood); margin: 3rem 0; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.author-box h3 { margin-bottom: .2rem; }
.author-box p { margin: 0; color: #57534E; font-size: .95rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.post-nav a { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--secondary); background: #fff; font-weight: 600; line-height: 1.35; }
.post-nav a small { display: flex; gap: .3rem; align-items: center; color: var(--text-muted); font-weight: 500; margin-bottom: .3rem; }
.post-nav a:hover { border-color: var(--primary-alt); }
.post-nav__next { text-align: right; }
.post-nav__next small { justify-content: flex-end; }
.inline-products { display: grid; gap: .75rem; margin: 2.5rem 0; }
.inline-product { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.inline-product img { width: 72px; height: 72px; border-radius: var(--r-md); object-fit: cover; }
.inline-product strong { display: block; color: var(--secondary); }
.inline-product small { color: var(--text-muted); }

.comments { margin-top: 3rem; }
.comment { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary); color: var(--primary); font: 700 1rem/1 var(--font-head); flex-shrink: 0; text-transform: uppercase; }
.comment__head { display: flex; gap: .6rem; align-items: baseline; font-size: .9rem; }
.comment__head strong { color: var(--secondary); }
.comment__head time { color: var(--text-muted); font-size: .8rem; }
.comment p { margin: .3rem 0 0; font-size: .97rem; }

.newsletter-box { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; padding: 1.6rem; border-radius: var(--r-xl); background: var(--secondary); color: #D9C9B0; margin: 3rem 0; }
.newsletter-box h3 { color: #fff; margin-bottom: .2rem; }
.newsletter-box p { margin: 0; font-size: .95rem; }
.newsletter-box__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: var(--secondary); display: grid; place-items: center; }
.newsletter-box .inline-form { grid-column: 1 / -1; }

/* ------------------------------------------------------------ forms */
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.inline-form input[type=email], .inline-form input[type=text] { flex: 1 1 220px; min-width: 0; padding: .78rem 1.1rem; border-radius: var(--pill); border: 2px solid transparent; background: #fff; color: var(--text); }
.inline-form input:focus { border-color: var(--primary); outline: none; }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--secondary); }
.field .hint { font-size: .8rem; color: var(--text-muted); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; padding: .72rem .9rem; border: 1px solid #D6CFC4; border-radius: var(--r-md); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-alt); box-shadow: 0 0 0 3px rgb(250 204 21 / .3); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .84rem; margin: 0; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--secondary); flex-shrink: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.panel + .panel { margin-top: 1.25rem; }
.panel h2 { font-size: 1.3rem; }
.auth-wrap { max-width: 460px; margin: clamp(1.5rem, 5vw, 4rem) auto; }
.auth-wrap .panel { padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.auth-wrap h1 { font-size: 2rem; margin-bottom: .3rem; }
.auth-switch { text-align: center; margin-top: 1.25rem; font-size: .93rem; color: var(--text-muted); }

/* ------------------------------------------------------------ shop: product page */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gallery { position: sticky; top: 100px; display: grid; gap: .75rem; }
.gallery__main { border-radius: var(--r-xl); overflow: hidden; background: #F7F2EA; border: 1px solid var(--line); }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.gallery__thumbs button { width: 78px; height: 78px; border-radius: var(--r-md); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery__thumbs button.is-active { border-color: var(--primary-alt); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: .6rem 0 .75rem; }
.product__price { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.25rem; }
.product__price .price { font-size: 2rem; }
.product__short { font-size: 1.08rem; color: #4B5563; }
.buy-box { display: grid; gap: .75rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--bg-wood); margin: 1.5rem 0; }
.buy-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid #D6CFC4; border-radius: var(--pill); background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-wood); }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust { display: grid; gap: .5rem; font-size: .9rem; color: #57534E; list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; gap: .5rem; align-items: center; }
.trust .icon { color: var(--success); }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { padding: .6rem .2rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 42%; color: var(--text-muted); font-weight: 500; }
.tabs { margin-top: 3rem; }
.tabs__nav { display: flex; gap: .25rem; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tabs__nav button { padding: .8rem 1.1rem; border: 0; background: none; font-weight: 600; color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; }
.tabs__nav button.is-active { color: var(--secondary); border-bottom-color: var(--primary-alt); }
.review { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: #D6D3D1; font-size: 0; }
.rating-input label .icon { width: 28px; height: 28px; fill: currentColor; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--primary-alt); }

/* ------------------------------------------------------------ cart & checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line__ph { width: 84px; height: 84px; border-radius: var(--r-md); object-fit: cover; background: var(--bg-wood); }
.cart-line__name { font-weight: 600; color: var(--secondary); text-decoration: none; }
.cart-line small { display: block; color: var(--text-muted); }
.link-btn { border: 0; background: none; padding: 0; color: var(--text-muted); font-size: .82rem; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }
.summary { position: sticky; top: 100px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .55rem; margin: 0 0 1.25rem; }
.summary dt { color: var(--text-muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font: 700 1.5rem/1 var(--font-head); color: var(--secondary); padding-top: .8rem; border-top: 1px solid var(--line); }
.ship-meter { font-size: .86rem; padding: .7rem .85rem; border-radius: var(--r-md); background: var(--primary-soft); margin-bottom: 1rem; }
.ship-meter__bar { height: 6px; border-radius: 6px; background: rgb(0 0 0 / .08); margin-top: .45rem; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: var(--primary-alt); border-radius: inherit; }
.pay-option { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--primary-alt); background: var(--primary-soft); }
.pay-option input { margin-top: 4px; accent-color: var(--secondary); }
.pay-option small { display: block; color: var(--text-muted); }
.order-status { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.5rem; border-radius: var(--r-xl); margin-bottom: 1.5rem; }
.order-status--ok { background: var(--success-bg); }
.order-status--wait { background: var(--warning-bg); }
.order-status__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--success); }
.order-status--wait .order-status__icon { color: var(--accent); }
.order-status h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3rem; }
.order-status p { margin: 0; }
.dl-list { display: grid; gap: .6rem; }
.dl-item { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .9rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.dl-item strong { color: var(--secondary); }

/* ------------------------------------------------------------ drawer & search dialog */
.drawer, .search-dialog { position: fixed; inset: 0; z-index: 100; background: rgb(28 18 12 / .55); backdrop-filter: blur(3px); animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide-in .25s var(--ease); }
@keyframes slide-in { from { transform: translateX(30px); opacity: .5; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.4rem; }
.drawer__head .icon-btn:hover { background: var(--bg-wood); color: var(--secondary); }
.drawer__body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.drawer__foot { padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; background: #FCFBF9; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.mini-line { display: grid; grid-template-columns: 60px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mini-line img, .mini-line .ph { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg-wood); }
.mini-line a { color: var(--secondary); font-weight: 600; text-decoration: none; font-size: .93rem; line-height: 1.3; }
.mini-line small { display: block; color: var(--text-muted); font-size: .8rem; }
.search-dialog { display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search-dialog__box { width: min(680px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .2s var(--ease); }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
.search-dialog__form { display: flex; gap: .6rem; align-items: center; padding: .7rem .7rem .7rem 1.1rem; border-bottom: 1px solid var(--line); }
.search-dialog__form input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; padding: .5rem 0; min-width: 0; }
.search-dialog__form .icon-btn:hover { background: var(--bg-wood); color: var(--secondary); }
.search-dialog__results { max-height: 60vh; overflow-y: auto; padding: .75rem; }
.search-dialog__results p { margin: .5rem; }
.sr-group h4 { font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: .9rem .6rem .4rem; }
.sr-item { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--secondary); font-weight: 500; }
.sr-item small { color: var(--text-muted); white-space: nowrap; }
.sr-item:hover, .sr-item.is-active { background: var(--bg-wood); color: var(--secondary); }

/* ------------------------------------------------------------ tools */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); }
.tool-card + .tool-card { margin-top: 1.25rem; }
.tool-card h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.tool-card h2 .icon { color: var(--accent); }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data-table th { text-align: left; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: .5rem .4rem; border-bottom: 2px solid var(--line); white-space: nowrap; }
.data-table td { padding: .45rem .4rem; border-bottom: 1px solid #F1ECE4; vertical-align: middle; }
.data-table input, .data-table select { width: 100%; min-width: 64px; padding: .5rem .55rem; border: 1px solid #D6CFC4; border-radius: var(--r-sm); background: #fff; }
.data-table input:focus, .data-table select:focus { outline: none; border-color: var(--primary-alt); box-shadow: 0 0 0 3px rgb(250 204 21 / .25); }
.table-scroll { overflow-x: auto; margin: 0 -.25rem; padding: 0 .25rem; }
.result-panel { background: var(--secondary); color: #D9C9B0; border-radius: var(--r-xl); padding: 1.5rem; position: sticky; top: 100px; }
.result-panel h2 { color: var(--primary); font-size: 1rem; letter-spacing: .1em; }
.result-big { font: 700 3rem/1 var(--font-head); color: #fff; margin: .3rem 0 .2rem; }
.result-big small { font-size: 1.1rem; color: var(--primary); margin-left: .3rem; }
.result-list { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .5rem; font-size: .93rem; }
.result-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
.result-list strong { color: #fff; }
.result-panel .btn--ghost { border-color: rgb(255 255 255 / .3); color: #fff; }
.result-panel .btn--ghost:hover { background: rgb(255 255 255 / .1); }
.tool-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.board-viz { display: grid; gap: .9rem; }
.board-viz__row { display: grid; gap: .3rem; }
.board-viz__label { font-size: .82rem; color: var(--text-muted); display: flex; justify-content: space-between; }
.board-viz__bar { position: relative; height: 44px; border-radius: 6px; background: repeating-linear-gradient(90deg, #EDE3D3 0 3px, #E5D8C3 3px 9px); overflow: hidden; display: flex; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.board-viz__piece { height: 100%; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-right: 2px solid #fff; padding: 0 4px;
  background-image: repeating-linear-gradient(95deg, rgb(255 255 255 / .1) 0 2px, transparent 2px 9px); }
.sheet-viz { position: relative; background: repeating-linear-gradient(0deg, #EDE3D3 0 3px, #E5D8C3 3px 9px); border-radius: 6px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.sheet-viz__piece { position: absolute; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 600; outline: 2px solid #fff; overflow: hidden; text-align: center; line-height: 1.15; padding: 2px; }
.segmented { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--bg-wood); gap: 2px; flex-wrap: wrap; }
.segmented button { border: 0; background: none; padding: .5rem 1rem; border-radius: var(--pill); font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text-muted); }
.segmented button.is-active { background: #fff; color: var(--secondary); box-shadow: var(--shadow-sm); }
.calc-display { font: 700 clamp(2rem, 6vw, 3rem)/1.1 var(--font-head); color: var(--secondary); padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--bg-wood); text-align: right; word-break: break-all; }
.calc-display small { display: block; font: 500 .95rem/1.4 var(--font-body); color: var(--text-muted); }
.fraction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .4rem; font-size: .86rem; }
.fraction-grid div { padding: .45rem .55rem; border-radius: var(--r-sm); background: #FBF8F3; display: flex; justify-content: space-between; gap: .3rem; }
.fraction-grid b { color: var(--secondary); }

.tool-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.tool-index__item { display: grid; gap: .6rem; padding: 1.5rem; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: .2s var(--ease); }
.tool-index__item:hover { border-color: var(--primary-alt); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--text); }
.tool-index__item h2 { font-size: 1.35rem; margin: .2rem 0 0; }
.tool-index__item p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.tool-index__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--secondary); color: var(--primary); }

.species-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.1rem; }
.species-card { display: grid; grid-template-rows: 90px auto; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: .2s var(--ease); }
.species-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--text); }
.wood-swatch { background-color: var(--sw); background-image: repeating-radial-gradient(ellipse 180% 45% at 50% 140%, rgb(255 255 255 / .1) 0 2px, transparent 3px 10px, rgb(0 0 0 / .07) 11px 12px, transparent 13px 18px), linear-gradient(90deg, rgb(0 0 0 / .08), transparent 40%, rgb(255 255 255 / .06)); }
.species-card__body { padding: 1rem 1.1rem 1.15rem; display: grid; gap: .45rem; }
.species-card__body h3 { margin: 0; font-size: 1.15rem; }
.species-card__body em { color: var(--text-muted); font-size: .85rem; }
.meter { display: grid; grid-template-columns: 92px 1fr auto; gap: .5rem; align-items: center; font-size: .8rem; color: var(--text-muted); }
.meter__bar { height: 7px; border-radius: 7px; background: #F1ECE4; overflow: hidden; }
.meter__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.meter b { color: var(--secondary); font-weight: 600; min-width: 3.4em; text-align: right; }
.dots { letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.dots i { color: #E7E5E4; font-style: normal; }
.species-hero { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: stretch; }
.species-hero .wood-swatch { border-radius: var(--r-xl); min-height: 280px; box-shadow: var(--shadow-md); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 1.25rem 0; }
.stat { padding: 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.stat small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.stat strong { font: 700 1.5rem/1.2 var(--font-head); color: var(--secondary); }
.hardness-scale { position: relative; height: 54px; margin: 2rem 0 3rem; border-radius: 8px; background: linear-gradient(90deg, #F3E8D6, #C8946A, #5C4033, #2C1E16); }
.hardness-scale__mark { position: absolute; top: -8px; bottom: -8px; width: 3px; background: var(--secondary); transform: translateX(-50%); }
.hardness-scale__mark span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; color: var(--text-muted); margin-top: 4px; }
.hardness-scale__mark.is-current { width: 5px; background: var(--primary); box-shadow: 0 0 0 2px var(--secondary); z-index: 2; }
.hardness-scale__mark.is-current span { top: auto; bottom: 100%; margin: 0 0 6px; font-weight: 700; color: var(--secondary); font-size: .85rem; }

.quiz { max-width: 760px; margin: 0 auto; }
.quiz__progress { height: 8px; border-radius: 8px; background: var(--bg-wood); overflow: hidden; margin-bottom: 2rem; }
.quiz__progress span { display: block; height: 100%; width: 20%; background: var(--primary-alt); border-radius: inherit; transition: width .3s var(--ease); }
.quiz__step h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 1.5rem; }
.quiz__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .9rem; }
.quiz-option { position: relative; display: grid; gap: .25rem; padding: 1.2rem 1.25rem; border: 2px solid var(--line); border-radius: var(--r-lg); background: #fff; cursor: pointer; transition: .15s var(--ease); }
.quiz-option:hover { border-color: var(--primary-alt); transform: translateY(-2px); }
.quiz-option input { position: absolute; opacity: 0; }
.quiz-option strong { color: var(--secondary); font-size: 1.05rem; }
.quiz-option small { color: var(--text-muted); }
.quiz-option:has(input:checked) { border-color: var(--secondary); background: var(--primary-soft); }
.quiz-option:has(input:focus-visible) { outline: 3px solid var(--primary-alt); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; }

/* ------------------------------------------------------------ account */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; align-items: start; }
.account-nav { display: grid; gap: .2rem; position: sticky; top: 100px; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.account-nav a, .account-nav button { display: flex; gap: .65rem; align-items: center; padding: .7rem .8rem; border-radius: var(--r-md); text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--bg-wood); color: var(--secondary); }
.account-nav a.is-active { background: var(--secondary); color: var(--primary); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: .2rem; text-decoration: none; color: var(--text); }
.kpi small { color: var(--text-muted); font-size: .82rem; display: flex; align-items: center; gap: .35rem; }
.kpi strong { font: 700 1.9rem/1.1 var(--font-head); color: var(--secondary); }
a.kpi:hover { border-color: var(--primary-alt); color: var(--text); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.simple-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.simple-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); padding: .6rem .5rem; border-bottom: 2px solid var(--line); }
.simple-table td { padding: .8rem .5rem; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ landing (free plans) & pages */
.landing { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.landing__form { background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-lg); border-top: 6px solid var(--primary); }
.landing__form h2 { font-size: 1.5rem; }
.stack-images { position: relative; }
.stack-images img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.benefit { padding: 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.benefit__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--secondary); margin-bottom: .9rem; }
.benefit h3 { margin-bottom: .35rem; }
.benefit p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-hero__img { position: relative; }
.about-hero__img img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.about-hero__img::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: var(--r-xl); border: 3px solid var(--primary); }
.signature { margin-top: 2rem; display: grid; gap: .1rem; }
.signature::before { content: ""; width: 60px; height: 3px; background: var(--primary); margin-bottom: .75rem; }
.signature strong { font: 600 1.4rem/1.2 var(--font-head); color: var(--secondary); }
.signature span { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-card { display: flex; gap: .9rem; padding: 1.1rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); margin-bottom: .9rem; }
.contact-card .icon-wrap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--accent-dark); flex-shrink: 0; }
.contact-card strong { display: block; color: var(--secondary); }
.contact-card span { color: var(--text-muted); font-size: .93rem; }
.message-page { text-align: center; max-width: 620px; margin: clamp(2rem, 8vw, 6rem) auto; }
.message-page .big-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.25rem; background: var(--primary); color: var(--secondary); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--secondary); color: #BFAF97; padding: 3.5rem 0 1.5rem; margin-top: 4rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--primary) 0 40px, var(--primary-alt) 40px 80px); }
.footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3rem; }
.footer-cta p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { color: var(--primary); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-grid a:not(.brand) { display: block; color: #BFAF97; text-decoration: none; padding: .25rem 0; font-size: .93rem; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-brand p { margin: 1rem 0; font-size: .93rem; max-width: 28em; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid !important; place-items: center; background: rgb(255 255 255 / .06); padding: 0 !important; }
.socials a:hover { background: var(--primary); color: var(--secondary) !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: .82rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc-col, .actions-col { display: none; }
  .article-layout > .prose-col { max-width: 760px; margin: 0 auto; width: 100%; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .with-sidebar, .tool-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar, .result-panel, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .cta-split, .product, .landing, .about-hero, .contact-grid, .species-hero, .tools-band, .footer-cta { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__float--a { left: 0; }
  .hero__float--b { right: 0; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature--lead { grid-row: auto; min-height: 380px; }
  .gallery { position: static; }
  .finder-band { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-nav { position: static; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .cta-split img { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-pill { gap: .25rem; padding: 6px 6px 6px 8px; }
  .brand__name { font-size: 1.02rem; }
  .brand img { width: 34px; height: 34px; }
  .icon-btn { width: 38px; height: 38px; }
  .tools-band__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-search { flex-wrap: wrap; border-radius: var(--r-lg); padding: .6rem; }
  .hero-search .btn { width: 100%; }
  .hero__float { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img, .cart-line__ph { width: 64px; height: 64px; }
  .cart-line__qty, .cart-line__total { grid-column: 2; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .inline-product { grid-template-columns: 56px 1fr; }
  .inline-product img { width: 56px; height: 56px; }
  .inline-product .btn { grid-column: 1 / -1; }
  .newsletter-box { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .newsletter-box__icon { margin: 0 auto; }
  .order-status { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .order-status__icon { margin: 0 auto; }
  .meter { grid-template-columns: 80px 1fr auto; }
  .dropdown__panel { width: 92vw; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .announce, .toc-col, .actions-col, .newsletter-box, .comments, .tool-actions, .no-print { display: none !important; }
  body { background: #fff; }
  .result-panel { background: #fff; color: #000; border: 1px solid #000; }
  .result-big, .result-list strong { color: #000; }
}

/* cut list mode switching */
[data-cutlist]:not(.is-sheet) [data-for="sheet"], [data-cutlist].is-sheet [data-for="linear"] { display: none !important; }

/* Article callouts (converted from "> [!NOTE]" blocks) */
.prose .callout { font-style: normal; border-left-width: 4px; }
.prose .callout::before { display: block; font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.prose .callout--note { background: var(--info-bg); border-left-color: var(--info); color: #1E3A8A; }
.prose .callout--note::before { content: "Note"; }
.prose .callout--tip { background: var(--success-bg); border-left-color: var(--success); color: #14532D; }
.prose .callout--tip::before { content: "Pro tip"; }
.prose .callout--important { background: var(--primary-soft); border-left-color: var(--primary-alt); color: var(--secondary); }
.prose .callout--important::before { content: "Important"; }
.prose .callout--warning, .prose .callout--caution { background: var(--danger-bg); border-left-color: var(--danger); color: #7F1D1D; }
.prose .callout--warning::before, .prose .callout--caution::before { content: "Safety"; }
.prose .callout strong { color: inherit; }
.hardness-scale__mark.is-end span { left: auto; right: 0; transform: none; }
.hardness-scale__mark.is-start span { left: 0; transform: none; }
@media (max-width: 600px) { .hardness-scale__mark:not(.is-current) span { display: none; } }
@media (max-width: 860px) { .species-hero .wood-swatch { min-height: 120px; } }

/* ------------------------------------------------------------ premium auth pages */
.is-auth .announce, .is-auth .footer-cta { display: none; }
.is-auth .site-footer { margin-top: 0; }
.auth { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1rem, 3vw, 2.5rem); max-width: 1320px; margin: 0 auto; padding: .5rem var(--gutter) clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
.auth__art { position: relative; display: flex; min-height: 660px; border-radius: var(--r-xl); overflow: hidden; color: #E9DCC8; box-shadow: var(--shadow-lg); isolation: isolate; }
.auth__art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.auth__art::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-radial-gradient(ellipse at 120% 110%, transparent 0 26px, rgb(250 204 21 / .06) 27px 28px),
    linear-gradient(165deg, rgb(44 30 22 / .45) 0%, rgb(36 24 17 / .82) 45%, rgb(24 16 11 / .96) 100%); }
.auth__art-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; width: 100%; padding: clamp(1.75rem, 4vw, 3rem); }
.auth__art .brand__name { font-size: 1.3rem; }
.auth__art h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin: .4rem 0 .8rem; }
.auth__art-copy > p { font-size: 1.08rem; max-width: 30em; color: #D9C9B0; }
.auth__perks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.auth__perks li { display: flex; gap: .8rem; align-items: center; font-weight: 500; color: #F2E8DA; }
.auth__perks li span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgb(250 204 21 / .14); border: 1px solid rgb(250 204 21 / .35); color: var(--primary); flex-shrink: 0; }
.auth__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / .12); }
.auth__stats dt { font: 700 2rem/1 var(--font-head); color: var(--primary); }
.auth__stats dd { margin: .3rem 0 0; font-size: .82rem; color: #BFAF97; }
.auth__panel { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.auth__card { width: min(440px, 100%); }
.auth__badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); color: var(--secondary); box-shadow: 0 10px 24px -10px rgb(234 179 8 / .9); }
.auth__card h1 { font-size: clamp(2rem, 3.2vw, 2.5rem); margin: 1.1rem 0 .35rem; }
.auth__sub { color: var(--text-muted); margin-bottom: 1.6rem; }
.auth__card .alert { margin-bottom: 1.2rem; }
.auth__form { gap: 1.15rem; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.field__row a { font-size: .86rem; font-weight: 600; text-decoration: none; }
.field__row a:hover { text-decoration: underline; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #A8A29E; pointer-events: none; transition: color .15s; }
.field .input-icon input:not([type=checkbox]):not([type=radio]), .field .input-icon select { height: 54px; padding-left: 2.85rem; border-radius: 14px; background: #FBFAF8; border-color: #E2DACE; font-size: 1rem; }
.field .input-icon input:not([type=checkbox]):focus, .field .input-icon select:focus { background: #fff; }
.input-icon:focus-within > .icon { color: var(--accent-dark); }
.field .input-icon:has(.input-icon__toggle) input:not([type=checkbox]) { padding-right: 3.2rem; }
.input-icon__toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: #A8A29E; cursor: pointer; display: grid; place-items: center; }
.input-icon__toggle:hover { background: var(--bg-wood); color: var(--secondary); }
.input-icon__toggle[aria-pressed="true"] { color: var(--accent-dark); }
.field__caps { display: flex; gap: .35rem; align-items: center; margin: .1rem 0 0; font-size: .82rem; font-weight: 600; color: var(--accent-dark); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .15rem; }
.strength span { height: 4px; border-radius: 4px; background: #ECE6DC; transition: background .2s; }
.strength[data-level="1"] span:nth-child(-n+1) { background: #DC2626; }
.strength[data-level="2"] span:nth-child(-n+2) { background: #F59E0B; }
.strength[data-level="3"] span:nth-child(-n+3) { background: #84CC16; }
.strength[data-level="4"] span { background: #16A34A; }
.auth__submit { margin-top: .35rem; height: 56px; }
.auth__submit .icon { transition: transform .2s var(--ease); }
.auth__submit:hover .icon { transform: translateX(4px); }
.auth__submit.is-loading span::after { content: "…"; }
.auth__divider { display: flex; align-items: center; gap: .9rem; margin: 1.6rem 0 1rem; color: var(--text-muted); font-size: .86rem; }
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__card > .btn--ghost { height: 52px; border-color: #D6CFC4; }
.auth__trust { display: flex; gap: .4rem; align-items: center; justify-content: center; flex-wrap: wrap; margin: 1.4rem 0 0; font-size: .8rem; color: var(--text-muted); text-align: center; }
.auth__trust .icon { color: var(--success); }
@media (max-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__panel { order: -1; padding-top: .5rem; }
  .auth__art { min-height: 0; }
  .auth__perks, .auth__art .brand { display: none; }
  .auth__art h2 { font-size: 1.8rem; }
}

/* Coming-soon products */
.coming-soon { display: grid; gap: .75rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: #F7F4EE; border: 1px dashed #D6CFC4; }
.coming-soon__title { margin: 0; display: flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--secondary); font-size: 1.05rem; }
