:root {
  --bg: #f6f3ed; --surface: #fff; --surface-soft: #efeae1; --text: #18201c; --muted: #667069;
  --accent: #9c4f32; --accent-2: #dca168; --accent-dark: #6f3421; --line: rgba(24,32,28,.13);
  --header: rgba(255,255,255,.94); --on-accent: #fff; --shadow: 0 20px 60px rgba(22,30,25,.12);
  --radius: 22px; --radius-sm: 14px; --display: 'Manrope', sans-serif; --body: 'DM Sans', sans-serif;
}
.theme-herbal { --bg:#f5f3e8; --surface-soft:#e7ead9; --text:#183425; --muted:#657469; --accent:#547a47; --accent-2:#c6a15b; --accent-dark:#31532d; }
.theme-forest { --bg:#f2f5ee; --surface-soft:#e1eadc; --text:#163323; --muted:#5d7064; --accent:#2e7450; --accent-2:#bc7d53; --accent-dark:#174c33; }
.theme-burgundy { --bg:#f5f0f0; --surface-soft:#ebe0df; --text:#261a1d; --muted:#74656a; --accent:#7d2039; --accent-2:#d2a773; --accent-dark:#4f1023; }
.theme-fashion { --bg:#f5f2ec; --surface-soft:#e9e2d7; --text:#1f1d1b; --muted:#706b64; --accent:#a4573b; --accent-2:#d3b277; --accent-dark:#69301f; }
.theme-peru { --bg:#f5f2e9; --surface-soft:#e8dfc9; --text:#172d2a; --muted:#65716e; --accent:#b1462d; --accent-2:#dba84f; --accent-dark:#7a2c20; }
.theme-tech { --bg:#f3f6fb; --surface-soft:#e3eaf6; --text:#101d34; --muted:#637086; --accent:#2455d6; --accent-2:#14b8a6; --accent-dark:#153590; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--text); background:var(--bg); font-family:var(--body); font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
a { color:inherit; }
button,input,textarea,select { font:inherit; }
.container { width:min(1180px, calc(100% - 40px)); margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:1000; top:10px; left:10px; padding:10px 16px; background:var(--text); color:#fff; border-radius:8px; transform:translateY(-150%); }
.skip-link:focus { transform:none; }
.announcement { background:var(--text); color:rgba(255,255,255,.82); font-size:13px; letter-spacing:.015em; }
.announcement-inner { min-height:35px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.announcement a { color:#fff; text-decoration:none; font-weight:700; }
.topbar { position:sticky; top:0; z-index:50; background:var(--header); border-bottom:1px solid transparent; backdrop-filter:blur(16px); transition:.25s ease; }
.topbar.is-scrolled { border-color:var(--line); box-shadow:0 8px 28px rgba(20,28,24,.07); }
.nav { min-height:82px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:36px; }
.brand { display:flex; align-items:center; gap:12px; min-width:max-content; color:var(--text); text-decoration:none; }
.brand-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--accent); color:var(--on-accent); font-family:var(--display); font-size:13px; font-weight:800; letter-spacing:.06em; box-shadow:0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.brand strong { display:block; font-family:var(--display); font-size:17px; line-height:1.1; letter-spacing:-.02em; }
.brand small { display:block; margin-top:3px; color:var(--muted); font-size:10px; line-height:1; letter-spacing:.12em; text-transform:uppercase; }
.primary-nav { display:flex; align-items:center; justify-content:center; gap:6px; }
.primary-nav a { position:relative; padding:12px 13px; color:var(--muted); text-decoration:none; font-weight:600; font-size:14px; }
.primary-nav a::after { content:''; position:absolute; left:13px; right:13px; bottom:6px; height:2px; background:var(--accent); transform:scaleX(0); transition:.2s; }
.primary-nav a:hover,.primary-nav a.active { color:var(--text); }
.primary-nav a.active::after,.primary-nav a:hover::after { transform:scaleX(1); }
.cart-link { display:flex; align-items:center; gap:8px; padding:10px 13px; border:1px solid var(--line); border-radius:999px; text-decoration:none; font-size:13px; font-weight:700; background:var(--surface); }
.cart-link svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cart-link b { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:var(--accent); color:#fff; font-size:11px; }
.menu-toggle { display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:var(--surface); padding:12px; }
.menu-toggle > span:not(.sr-only) { display:block; height:2px; margin:4px 0; background:var(--text); }
.site-main { min-height:60vh; }
.site-main > :not(.hero-pro):not(.category-section):not(.featured-section):not(.story-section):not(.cta-band):not(.page-hero) { width:min(1180px, calc(100% - 40px)); margin-left:auto; margin-right:auto; }
.hero-pro { position:relative; overflow:hidden; padding:74px 0 84px; background:linear-gradient(135deg, var(--bg), var(--surface-soft)); }
.hero-pro::before { content:''; position:absolute; width:560px; height:560px; left:-240px; top:-270px; border-radius:50%; border:1px solid color-mix(in srgb, var(--accent) 18%, transparent); box-shadow:0 0 0 70px color-mix(in srgb, var(--accent) 4%, transparent),0 0 0 140px color-mix(in srgb, var(--accent) 3%, transparent); }
.hero-grid { position:relative; display:grid; grid-template-columns:minmax(0, .92fr) minmax(440px, 1.08fr); align-items:center; gap:74px; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.eyebrow i { width:25px; height:2px; background:currentColor; }
.hero-copy h1 { max-width:690px; margin:18px 0 22px; font-family:var(--display); font-size:clamp(43px,5.4vw,72px); line-height:1.04; letter-spacing:-.055em; }
.hero-copy > p { max-width:600px; margin:0; color:var(--muted); font-size:18px; line-height:1.75; }
.hero-actions { display:flex; align-items:center; gap:12px; margin-top:32px; }
.btn,button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px 20px; border:0; border-radius:999px; cursor:pointer; text-decoration:none; font-weight:800; font-size:14px; transition:transform .2s,box-shadow .2s,background .2s; }
.btn:hover,button:hover { transform:translateY(-2px); }
.btn-primary,button { background:var(--accent); color:#fff; box-shadow:0 12px 28px color-mix(in srgb, var(--accent) 26%, transparent); }
.btn-primary:hover,button:hover { background:var(--accent-dark); }
.btn-quiet { color:var(--text); background:transparent; border:1px solid var(--line); }
.btn-light { background:#fff; color:var(--accent-dark); }
.trust-row { display:flex; flex-wrap:wrap; gap:16px 22px; margin-top:35px; color:var(--muted); font-size:13px; font-weight:600; }
.trust-row span { display:flex; align-items:center; gap:7px; }
.trust-row svg { width:17px; height:17px; padding:3px; border-radius:50%; background:color-mix(in srgb, var(--accent) 12%, transparent); stroke:var(--accent); fill:none; stroke-width:2.5; }
.hero-visual { position:relative; min-height:550px; }
.hero-visual > img { position:absolute; inset:0 0 0 42px; width:calc(100% - 42px); height:100%; object-fit:cover; border-radius:170px 28px 170px 28px; box-shadow:var(--shadow); }
.hero-card { position:absolute; z-index:2; left:0; bottom:42px; min-width:170px; padding:18px 22px; border:1px solid rgba(255,255,255,.5); border-radius:17px; background:rgba(255,255,255,.9); backdrop-filter:blur(14px); box-shadow:0 16px 45px rgba(20,28,24,.18); }
.hero-card small { display:block; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.hero-card strong { display:block; margin-top:3px; font-family:var(--display); font-size:21px; }
.hero-shape { position:absolute; z-index:1; border-radius:50%; background:var(--accent-2); }
.hero-shape-a { width:18px; height:18px; top:45px; left:18px; }
.hero-shape-b { width:76px; height:76px; right:-25px; bottom:25px; opacity:.28; }
.section-pad { padding:96px 0; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:38px; }
.section-heading h2,.story-copy h2,.page-hero h1 { margin:10px 0 0; font-family:var(--display); font-size:clamp(32px,4vw,49px); line-height:1.12; letter-spacing:-.045em; }
.section-heading > a,.text-link { color:var(--text); text-decoration:none; font-weight:800; border-bottom:1px solid var(--text); }
.section-heading > p { max-width:430px; margin:0; color:rgba(255,255,255,.68); }
.category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.category-tile { position:relative; min-height:205px; padding:27px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); text-decoration:none; transition:transform .25s,box-shadow .25s,border-color .25s; }
.category-tile::before { content:''; position:absolute; width:150px; height:150px; right:-75px; top:-75px; border-radius:50%; background:color-mix(in srgb, var(--accent) 9%, transparent); transition:.3s; }
.category-tile:hover { transform:translateY(-5px); border-color:color-mix(in srgb, var(--accent) 35%, transparent); box-shadow:var(--shadow); }
.category-tile:hover::before { transform:scale(1.35); }
.category-number { color:var(--accent); font-size:11px; font-weight:800; letter-spacing:.12em; }
.category-tile h3 { margin:28px 0 6px; font-family:var(--display); font-size:21px; letter-spacing:-.02em; }
.category-tile p { max-width:250px; margin:0; color:var(--muted); font-size:14px; }
.round-arrow { width:37px; height:37px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:var(--surface); text-decoration:none; transition:.2s; }
.category-tile .round-arrow { position:absolute; right:22px; bottom:22px; }
.category-tile:hover .round-arrow,.round-arrow:hover { color:#fff; background:var(--accent); border-color:var(--accent); transform:rotate(8deg); }
.featured-section { background:var(--text); color:#fff; }
.eyebrow-light { color:var(--accent-2); }
.product-grid,.grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.product-card,.card { overflow:hidden; border-radius:var(--radius); background:var(--surface); color:var(--text); box-shadow:0 8px 30px rgba(0,0,0,.09); }
.product-image { position:relative; display:block; aspect-ratio:1/1.03; overflow:hidden; background:var(--surface-soft); }
.product-image img,.card img { width:100%; height:100%; object-fit:cover; transition:transform .55s cubic-bezier(.2,.75,.2,1); }
.product-card:hover .product-image img,.card:hover img { transform:scale(1.045); }
.stock-pill { position:absolute; top:14px; left:14px; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--accent-dark); font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; backdrop-filter:blur(8px); }
.product-info { padding:19px; }
.product-info p,.card > p { margin:0 0 4px; color:var(--muted); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }
.product-info h3,.card h3 { margin:0; font-family:var(--display); font-size:17px; line-height:1.35; }
.product-info h3 a { text-decoration:none; }
.product-meta { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:18px; }
.product-meta strong,.card strong { color:var(--accent); font-family:var(--display); font-size:17px; }
.empty-state { padding:55px; border:1px dashed rgba(255,255,255,.25); border-radius:var(--radius); text-align:center; }
.story-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:78px; }
.story-image { position:relative; }
.story-image img { width:100%; height:570px; object-fit:cover; border-radius:28px 120px 28px 28px; box-shadow:var(--shadow); }
.story-image > span { position:absolute; right:-18px; bottom:35px; width:112px; height:112px; display:grid; place-items:center; padding:15px; border-radius:50%; background:var(--accent); color:#fff; font-size:11px; font-weight:800; text-align:center; text-transform:uppercase; letter-spacing:.08em; transform:rotate(7deg); }
.story-copy > p { margin:22px 0 28px; color:var(--muted); font-size:17px; }
.value-list { display:grid; gap:18px; margin:28px 0; }
.value-list > div { display:flex; align-items:flex-start; gap:13px; }
.value-list > div > span { flex:0 0 29px; height:29px; display:grid; place-items:center; border-radius:50%; background:color-mix(in srgb, var(--accent) 12%, transparent); color:var(--accent); font-weight:900; }
.value-list p { margin:0; color:var(--muted); font-size:14px; }
.value-list strong { display:block; color:var(--text); font-family:var(--display); font-size:15px; }
.cta-band { padding:65px 0; background:var(--accent); color:#fff; }
.cta-band .container { display:flex; align-items:center; justify-content:space-between; gap:35px; }
.cta-band span { font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; opacity:.75; }
.cta-band h2 { max-width:780px; margin:5px 0 0; font-family:var(--display); font-size:clamp(28px,4vw,47px); line-height:1.12; letter-spacing:-.04em; }
.footer { padding:70px 0 25px; background:#111914; color:rgba(255,255,255,.7); }
.footer-grid { display:grid; grid-template-columns:1.5fr .65fr .8fr 1fr; gap:55px; }
.footer-brand { display:flex; align-items:flex-start; gap:14px; }
.footer-brand strong { color:#fff; font-family:var(--display); font-size:20px; }
.footer-brand p { max-width:310px; margin:7px 0 0; font-size:13px; }
.footer h3 { margin:0 0 15px; color:#fff; font-family:var(--display); font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.footer-grid > div:not(.footer-brand) { display:flex; flex-direction:column; align-items:flex-start; gap:8px; font-size:13px; }
.footer a { text-decoration:none; }
.footer a:hover { color:#fff; }
.footer-cta { color:var(--accent-2); font-weight:800; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:55px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:11px; }
.page-hero { padding:85px 0; background:linear-gradient(135deg,var(--surface-soft),var(--bg)); }
.page-hero p { max-width:700px; color:var(--muted); font-size:18px; }
/* Existing catalog, detail, cart, forms and admin */
.site-main > h1 { margin-top:60px; margin-bottom:28px; font-family:var(--display); font-size:clamp(34px,5vw,52px); letter-spacing:-.045em; }
.filters { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr auto; gap:10px; max-width:none; margin:0 auto 32px; padding:16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.site-main > .grid { margin-bottom:80px; }
.card { padding:0 0 19px; border:1px solid var(--line); }
.card img { height:270px; border-radius:0; }
.card h3,.card > p,.card > strong,.card > a,.card .actions { display:block; margin-left:18px; margin-right:18px; }
.card h3 { margin-top:16px; }
.card > a,.card .actions a { color:var(--accent); font-weight:800; text-decoration:none; }
.actions { margin-top:13px; }
.detail { margin-top:65px; margin-bottom:50px; }
.detail > h1 { font-family:var(--display); font-size:clamp(34px,5vw,54px); letter-spacing:-.045em; }
.detail-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:55px; align-items:start; }
.detail-grid > img { width:100%; max-height:640px; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }
.detail-grid > div { padding:35px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.form,.checkout-form { display:grid; gap:16px; max-width:650px; margin:22px 0 70px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 10px 36px rgba(20,28,24,.06); }
label { display:grid; gap:7px; color:var(--text); font-size:13px; font-weight:800; }
input,textarea,select { width:100%; min-height:48px; padding:11px 14px; border:1px solid var(--line); border-radius:11px; outline:none; background:var(--surface); color:var(--text); transition:.2s; }
textarea { resize:vertical; }
input:focus,textarea:focus,select:focus { border-color:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent); }
.table { width:100%; margin:20px 0; border-collapse:separate; border-spacing:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); }
.table th,.table td { padding:13px; border:0; border-bottom:1px solid var(--line); text-align:left; background:var(--surface); }
.table th { background:var(--surface-soft); font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.flash,.success-box { margin:15px 0; padding:13px 15px; border-radius:11px; background:#dcfce7; color:#166534; }
.error { margin:15px 0; padding:13px 15px; border-radius:11px; background:#fee2e2; color:#991b1b; }
.tag-list { display:flex; flex-wrap:wrap; gap:9px; padding:0; list-style:none; }
.tag-list a { display:block; padding:9px 13px; border:1px solid var(--line); border-radius:999px; background:var(--surface); text-decoration:none; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; margin:24px 0; }
.stats > * { padding:20px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); }
.auth { max-width:460px; margin:70px auto; padding:32px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.setup-page { min-height:100vh; display:grid; place-items:center; padding:24px; background:linear-gradient(135deg,var(--surface-soft),var(--bg)); }
.setup-card { width:min(520px,100%); padding:38px; border:1px solid var(--line); border-radius:28px; background:var(--surface); box-shadow:var(--shadow); }
.setup-card h1 { margin:16px 0 5px; font-family:var(--display); font-size:35px; letter-spacing:-.04em; }
.setup-card > p,.setup-card > small { color:var(--muted); }
.setup-card .form { padding:0; margin:25px 0; border:0; box-shadow:none; }
/* Complete commerce experience */
.compact-hero { padding:64px 0; }
.catalog-hero { padding-bottom:72px; }
.catalog-section { background:var(--bg); }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.catalog-toolbar > div { display:flex; align-items:baseline; gap:7px; }
.catalog-toolbar strong { font-family:var(--display); font-size:25px; }
.catalog-toolbar span { color:var(--muted); font-size:13px; }
.filter-toggle { display:none; min-height:42px; padding:8px 15px; color:var(--text); background:var(--surface); border:1px solid var(--line); box-shadow:none; }
.filters label { gap:5px; }
.filters label > span { padding-left:3px; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.catalog-grid { margin-top:28px; }
.sold-out { color:#7f1d1d; background:#fee2e2; }
.light-empty { max-width:780px; margin:30px auto!important; padding:70px 30px; border:1px dashed var(--line); background:var(--surface); color:var(--text); }
.light-empty > span { display:grid; place-items:center; width:62px; height:62px; margin:0 auto 20px; border-radius:50%; background:var(--surface-soft); color:var(--accent); font-size:28px; }
.light-empty h2 { margin:0; font-family:var(--display); font-size:28px; }
.light-empty p { color:var(--muted); }
.breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:30px; color:var(--muted); font-size:13px; }
.breadcrumbs a { text-decoration:none; }
.breadcrumbs a:hover { color:var(--accent); }
.product-detail-pro { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr); gap:70px; align-items:start; }
.detail-media { position:sticky; top:115px; overflow:hidden; border-radius:32px; background:var(--surface-soft); box-shadow:var(--shadow); }
.detail-media img { width:100%; aspect-ratio:1/1.04; object-fit:cover; }
.detail-badge { position:absolute; top:20px; left:20px; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--accent-dark); font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; backdrop-filter:blur(8px); }
.detail-content { padding-top:20px; }
.detail-content h1 { margin:17px 0 12px; font-family:var(--display); font-size:clamp(38px,5vw,58px); line-height:1.08; letter-spacing:-.05em; }
.detail-price { margin-bottom:24px; color:var(--accent); font-family:var(--display); font-size:29px; font-weight:800; }
.detail-description { color:var(--muted); font-size:16px; line-height:1.8; }
.detail-facts { display:grid; gap:9px; margin:26px 0; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--muted); font-size:13px; }
.detail-facts b { color:var(--accent); }
.purchase-box { display:flex; align-items:end; gap:12px; margin:28px 0; }
.purchase-box label { flex:1; }
.quantity-control { display:flex; align-items:center; gap:12px; }
.quantity-control input { max-width:85px; }
.quantity-control span { color:var(--muted); font-size:12px; font-weight:500; }
.purchase-box .btn { min-height:51px; }
.detail-help { margin-top:28px; padding:20px; border-radius:var(--radius-sm); background:var(--surface-soft); }
.detail-help strong { font-family:var(--display); }
.detail-help p { margin:3px 0 8px; color:var(--muted); font-size:13px; }
.detail-help a { color:var(--accent); font-size:13px; font-weight:800; text-decoration:none; }
.related-section { background:var(--surface-soft); }
.cart-layout,.checkout-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:42px; align-items:start; }
.cart-items { display:grid; gap:14px; }
.cart-item { display:grid; grid-template-columns:120px 1fr 110px 120px; align-items:center; gap:20px; padding:16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.cart-item > img { width:120px; height:120px; object-fit:cover; border-radius:15px; background:var(--surface-soft); }
.cart-item-copy > span { color:var(--accent); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.cart-item-copy h2 { margin:4px 0; font-family:var(--display); font-size:17px; }
.cart-item-copy strong { display:none; }
.cart-item-copy a { display:block; margin-top:13px; color:var(--muted); font-size:12px; }
.cart-quantity { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.cart-subtotal { text-align:right; }
.cart-subtotal span { display:block; color:var(--muted); font-size:11px; }
.cart-subtotal strong { font-family:var(--display); }
.order-summary { position:sticky; top:115px; padding:30px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 14px 45px rgba(20,28,24,.08); }
.order-summary h2 { margin:10px 0 22px; font-family:var(--display); font-size:28px; }
.order-summary > div:not(.checkout-item) { display:flex; justify-content:space-between; gap:15px; padding:11px 0; color:var(--muted); font-size:13px; }
.order-summary > div strong { color:var(--text); }
.order-summary .summary-total { margin-top:12px; padding-top:20px!important; border-top:1px solid var(--line); color:var(--text)!important; font-size:17px!important; }
.summary-total strong { color:var(--accent)!important; font-family:var(--display); font-size:24px; }
.order-summary .btn { width:100%; margin-top:22px; }
.order-summary > small { display:block; margin-top:15px; color:var(--muted); font-size:11px; line-height:1.5; text-align:center; }
.checkout-layout { grid-template-columns:minmax(0,1fr) 410px; }
.checkout-form-pro { padding:36px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.checkout-form-pro h2 { margin:10px 0 25px; font-family:var(--display); font-size:30px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field-full,.field-wide { grid-column:1/-1; }
.secure-note { display:flex; gap:13px; margin-top:24px; padding:17px; border-radius:13px; background:var(--surface-soft); }
.secure-note > span { color:var(--accent); font-weight:900; }
.secure-note p { margin:0; color:var(--muted); font-size:12px; }
.secure-note strong { display:block; color:var(--text); font-size:13px; }
.checkout-summary { position:sticky; top:115px; }
.checkout-item { display:grid; grid-template-columns:54px 1fr auto; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.checkout-item img { width:54px; height:54px; object-fit:cover; border-radius:10px; }
.checkout-item p { margin:0; font-size:12px; line-height:1.35; }
.checkout-item p strong,.checkout-item p span { display:block; }
.checkout-item p span { margin-top:3px; color:var(--muted); }
.checkout-item > b { font-size:12px; }
.success-panel { max-width:650px; margin:20px auto; padding:55px; border:1px solid var(--line); border-radius:28px; background:var(--surface); box-shadow:var(--shadow); text-align:center; }
.success-panel > span { display:grid; place-items:center; width:70px; height:70px; margin:0 auto 20px; border-radius:50%; background:#dcfce7; color:#166534; font-size:30px; }
.success-panel h2 { margin:0; font-family:var(--display); font-size:32px; }
.success-panel p { color:var(--muted); }
.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:start; }
.contact-copy h2 { margin:12px 0 18px; font-family:var(--display); font-size:clamp(32px,4vw,47px); line-height:1.15; letter-spacing:-.04em; }
.contact-copy > p { color:var(--muted); }
.contact-points { display:grid; gap:18px; margin:32px 0; }
.contact-points > div { display:flex; align-items:flex-start; gap:15px; }
.contact-points > div > span { flex:0 0 36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--surface-soft); color:var(--accent); font-size:10px; font-weight:900; }
.contact-points p { margin:0; color:var(--muted); font-size:13px; }
.contact-points strong { display:block; color:var(--text); font-family:var(--display); font-size:15px; }
.contact-card { display:flex; flex-direction:column; align-items:flex-start; padding:24px; border-radius:var(--radius); background:var(--text); color:#fff; }
.contact-card small,.contact-card span { opacity:.65; }
.contact-card strong { font-family:var(--display); font-size:24px; }
.contact-form-card { padding:38px; border:1px solid var(--line); border-radius:28px; background:var(--surface); box-shadow:var(--shadow); }
.contact-form-card h2 { margin:0; font-family:var(--display); font-size:29px; }
.contact-form-card > p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.form-clean { max-width:none; margin:25px 0 0; padding:0; border:0; box-shadow:none; }
/* Professional administration */
.admin-body { min-height:100vh; background:#f3f5f4; color:#17201b; }
.admin-sidebar { position:fixed; z-index:80; inset:0 auto 0 0; width:265px; display:flex; flex-direction:column; padding:25px 18px; background:#111914; color:rgba(255,255,255,.72); }
.admin-brand { display:flex; align-items:center; gap:12px; padding:0 7px 28px; color:#fff; text-decoration:none; }
.admin-brand strong,.admin-brand small { display:block; }
.admin-brand strong { font-family:var(--display); font-size:16px; }
.admin-brand small { color:rgba(255,255,255,.48); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.admin-sidebar nav { display:grid; gap:5px; }
.admin-sidebar nav > span { margin:16px 12px 7px; color:rgba(255,255,255,.36); font-size:9px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.admin-sidebar nav a { display:flex; align-items:center; gap:11px; padding:11px 13px; border-radius:10px; color:rgba(255,255,255,.62); text-decoration:none; font-size:13px; font-weight:700; }
.admin-sidebar nav a b { width:22px; color:var(--accent-2); font-size:16px; text-align:center; }
.admin-sidebar nav a:hover,.admin-sidebar nav a.active { background:rgba(255,255,255,.09); color:#fff; }
.admin-sidebar-footer { display:grid; gap:14px; margin-top:auto; padding:18px 8px 0; border-top:1px solid rgba(255,255,255,.1); }
.admin-sidebar-footer > a { color:var(--accent-2); font-size:12px; font-weight:800; text-decoration:none; }
.admin-sidebar-footer div span,.admin-sidebar-footer div small { display:block; }
.admin-sidebar-footer div span { color:#fff; font-size:12px; font-weight:700; }
.admin-sidebar-footer div small { max-width:200px; overflow:hidden; color:rgba(255,255,255,.42); font-size:10px; text-overflow:ellipsis; }
.admin-sidebar-footer .logout-link { color:#fca5a5; }
.admin-main { min-height:100vh; margin-left:265px; }
.admin-top { height:78px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 35px; border-bottom:1px solid #e2e7e3; background:#fff; }
.admin-top div span,.admin-top div strong { display:block; }
.admin-top div span { color:#78817b; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.admin-top div strong { font-family:var(--display); font-size:15px; }
.admin-top .btn { min-height:40px; padding:9px 15px; }
.admin-content { width:min(1250px,calc(100% - 60px)); margin:0 auto; padding:45px 0 70px; }
.admin-page-head { display:flex; align-items:end; justify-content:space-between; gap:25px; margin-bottom:28px; }
.admin-page-head span { color:var(--accent); font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.admin-page-head h1 { margin:4px 0 3px; font-family:var(--display); font-size:34px; letter-spacing:-.04em; }
.admin-page-head p { margin:0; color:#758079; font-size:13px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin-bottom:25px; }
.admin-stats article { position:relative; overflow:hidden; padding:23px; border:1px solid #e1e7e2; border-radius:18px; background:#fff; }
.admin-stats article::after { content:''; position:absolute; width:70px; height:70px; right:-30px; top:-30px; border-radius:50%; background:color-mix(in srgb,var(--accent) 10%,transparent); }
.admin-stats span,.admin-stats small { display:block; color:#7a847d; font-size:11px; }
.admin-stats strong { display:block; margin:8px 0 4px; color:#17201b; font-family:var(--display); font-size:28px; }
.admin-panel { margin-bottom:22px; overflow:hidden; border:1px solid #e0e6e1; border-radius:20px; background:#fff; }
.admin-panel-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 25px; border-bottom:1px solid #e8ece9; }
.admin-panel-head h2 { margin:0; font-family:var(--display); font-size:18px; }
.admin-panel-head p { margin:2px 0 0; color:#7a847d; font-size:11px; }
.admin-panel-head a { color:var(--accent); font-size:12px; font-weight:800; text-decoration:none; }
.admin-panel .table { margin:0; border:0; border-radius:0; }
.admin-panel .table th { padding:12px 18px; background:#f7f9f7; color:#78817b; font-size:9px; }
.admin-panel .table td { padding:15px 18px; font-size:12px; }
.table-wrap { overflow-x:auto; }
.table-empty { padding:45px!important; color:#7a847d; text-align:center!important; }
.status-pill { display:inline-flex; padding:5px 9px; border-radius:999px; background:#fef3c7; color:#92400e; font-size:9px; font-weight:900; text-transform:uppercase; }
.status-active { background:#dcfce7; color:#166534; }
.admin-two-col { display:grid; grid-template-columns:370px 1fr; gap:22px; align-items:start; }
.admin-form-panel .form { margin:0; padding:25px; border:0; box-shadow:none; }
.danger-button { min-height:31px; padding:6px 10px; background:#fff1f2; color:#be123c; border-radius:8px; box-shadow:none; font-size:10px; }
.danger-button:hover { background:#ffe4e6; color:#9f1239; }
.admin-product-form { display:grid; grid-template-columns:repeat(4,1fr); gap:17px; padding:25px; }
.file-field span { color:#7a847d; font-size:10px; font-weight:500; }
.table-product { display:flex; align-items:center; gap:10px; }
.table-product img { width:42px; height:42px; border-radius:9px; object-fit:cover; }
.stock-count { display:inline-flex; min-width:35px; justify-content:center; padding:5px 8px; border-radius:8px; background:#edf7ef; color:#166534; font-weight:800; }
.stock-count.low { background:#fff1f2; color:#be123c; }
.message-list { display:grid; gap:0; }
.message-card { display:grid; grid-template-columns:42px 1fr; gap:15px; padding:20px 25px; border-bottom:1px solid #e8ece9; }
.message-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--surface-soft); color:var(--accent); font-weight:900; }
.message-content > div:first-child { display:flex; justify-content:space-between; gap:20px; }
.message-content h3 { margin:0; font-family:var(--display); font-size:14px; }
.message-content > div:first-child span { color:#8a938d; font-size:10px; }
.message-content p { margin:8px 0; color:#59635c; font-size:12px; }
.message-contact { display:flex; gap:15px; }
.message-contact a { color:var(--accent); font-size:11px; font-weight:700; text-decoration:none; }
.admin-menu-toggle { display:none; }
.admin-login-shell { min-height:100vh; display:grid; grid-template-columns:1.1fr .9fr; background:#fff; }
.admin-login-visual { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:100vh; padding:38px 50px 60px; background-position:center; background-size:cover; color:#fff; }
.admin-login-visual .admin-brand { align-self:flex-start; }
.admin-login-visual > div { max-width:600px; }
.admin-login-visual > div > span { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.admin-login-visual h1 { margin:10px 0; font-family:var(--display); font-size:clamp(38px,5vw,64px); line-height:1.06; letter-spacing:-.05em; }
.admin-login-visual p { max-width:500px; color:rgba(255,255,255,.72); }
.admin-login-card { display:grid; place-items:center; padding:45px; }
.admin-login-card > div { width:min(440px,100%); }
.admin-login-card h1 { margin:13px 0 3px; font-family:var(--display); font-size:39px; letter-spacing:-.04em; }
.admin-login-card > div > p,.admin-login-card > div > small { color:#78817b; }
.admin-login-card .form { margin:28px 0; }
@media (max-width:980px) {
  .nav { grid-template-columns:auto auto 1fr; gap:14px; }
  .menu-toggle { display:block; order:2; }
  .cart-link { justify-self:end; order:3; }
  .primary-nav { position:absolute; left:20px; right:20px; top:75px; display:none; flex-direction:column; align-items:stretch; padding:12px; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:var(--shadow); }
  .primary-nav.is-open { display:flex; }
  .hero-grid { grid-template-columns:1fr; gap:48px; }
  .hero-copy { max-width:720px; }
  .hero-visual { min-height:520px; }
  .hero-visual > img { inset:0 0 0 0; width:100%; }
  .category-grid { grid-template-columns:repeat(2,1fr); }
  .product-grid,.grid { grid-template-columns:repeat(2,1fr); }
  .story-grid { gap:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .filters { grid-template-columns:1fr 1fr; }
  .product-detail-pro { grid-template-columns:1fr 1fr; gap:35px; }
  .cart-layout,.checkout-layout { grid-template-columns:1fr; }
  .order-summary,.checkout-summary { position:static; }
  .contact-grid { gap:40px; }
  .admin-sidebar { transform:translateX(-100%); transition:transform .25s; }
  .admin-sidebar.is-open { transform:none; }
  .admin-menu-toggle { position:fixed; z-index:90; left:15px; bottom:15px; display:flex; min-height:45px; box-shadow:0 12px 30px rgba(0,0,0,.22); }
  .admin-main { margin-left:0; }
  .admin-stats { grid-template-columns:1fr 1fr; }
  .admin-two-col { grid-template-columns:1fr; }
  .admin-product-form { grid-template-columns:1fr 1fr; }
}
@media (max-width:680px) {
  .container,.site-main > :not(.hero-pro):not(.category-section):not(.featured-section):not(.story-section):not(.cta-band):not(.page-hero) { width:min(100% - 28px,1180px); }
  .announcement-inner { justify-content:center; min-height:32px; }
  .announcement-inner > a { display:none; }
  .nav { min-height:70px; }
  .brand small,.cart-link > span { display:none; }
  .hero-pro { padding:50px 0 58px; }
  .hero-copy h1 { font-size:40px; }
  .hero-copy > p { font-size:16px; }
  .hero-actions { align-items:stretch; flex-direction:column; }
  .hero-actions .btn { width:100%; }
  .trust-row { display:grid; grid-template-columns:1fr 1fr; }
  .hero-visual { min-height:390px; }
  .hero-visual > img { border-radius:90px 20px 90px 20px; }
  .hero-card { bottom:20px; }
  .section-pad { padding:65px 0; }
  .section-heading { align-items:flex-start; flex-direction:column; margin-bottom:28px; }
  .category-grid,.product-grid,.grid { grid-template-columns:1fr; }
  .category-tile { min-height:185px; }
  .story-grid,.detail-grid { grid-template-columns:1fr; }
  .story-image img { height:400px; border-radius:22px 75px 22px 22px; }
  .story-image > span { right:5px; }
  .cta-band .container,.footer-bottom { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .filters { grid-template-columns:1fr; }
  .card img { height:320px; }
  .setup-card { padding:26px; }
  .filter-toggle { display:inline-flex; }
  .filters { display:none; }
  .filters.is-open { display:grid; }
  .product-detail-pro { grid-template-columns:1fr; }
  .detail-media { position:relative; top:auto; }
  .detail-content { padding-top:0; }
  .purchase-box { align-items:stretch; flex-direction:column; }
  .cart-item { grid-template-columns:82px 1fr; gap:14px; }
  .cart-item > img { width:82px; height:82px; }
  .cart-quantity,.cart-subtotal { grid-column:2; }
  .cart-subtotal { text-align:left; }
  .cart-item-copy strong { display:block; color:var(--accent); }
  .contact-grid,.form-grid { grid-template-columns:1fr; }
  .contact-form-card,.checkout-form-pro { padding:25px; }
  .admin-top { padding:0 18px; }
  .admin-top .btn { display:none; }
  .admin-content { width:min(100% - 28px,1250px); padding-top:28px; }
  .admin-page-head { align-items:flex-start; flex-direction:column; }
  .admin-stats { grid-template-columns:1fr; }
  .admin-product-form { grid-template-columns:1fr; }
  .field-wide { grid-column:auto; }
  .admin-login-shell { grid-template-columns:1fr; }
  .admin-login-visual { display:none; }
  .admin-login-card { min-height:100vh; padding:28px; }
  .message-card { grid-template-columns:1fr; }
  .message-content > div:first-child,.message-contact { flex-direction:column; gap:4px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
