hd-commerce: neutrales SQLite-Commerce-Backend (Admin + API + Demo-Storefront)

This commit is contained in:
2026-06-17 12:05:29 +00:00
commit 4e8a3ab105
43 changed files with 2689 additions and 0 deletions
+111
View File
@@ -0,0 +1,111 @@
/* hd-commerce Admin — Shopify-inspiriert, hell/grau. Akzentfarbe aus settings (CSS-Var --accent). */
:root{
--s-bg:#f1f1f1; --s-surface:#ffffff; --s-sunken:#f6f6f7;
--s-border:#e1e3e5; --s-border-2:#d2d5d8;
--s-ink:#1a1a1a; --s-text:#303030; --s-subtle:#616161; --s-faint:#8a8a8a;
--accent:#b8566a; --accent-dark:#8d3f50;
--s-acc-l:color-mix(in srgb,var(--accent) 14%, white);
--s-amber:#ffd79d; --s-amber-t:#5e4200; --s-amber-bg:#fff5ea;
--s-red:#fee9e8; --s-red-t:#8e1f0b;
--s-blue:#ebf0ff; --s-blue-t:#1f3d7a;
--s-gray:#e3e3e3; --s-gray-t:#4a4a4a;
--s-radius:10px; --s-shadow:0 1px 0 rgba(0,0,0,.04),0 1px 3px rgba(0,0,0,.06);
--s-font:'Public Sans Variable',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
.admin-body{margin:0;background:var(--s-bg);color:var(--s-text);font-family:var(--s-font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
.admin-body a{color:inherit;text-decoration:none}
.admin-shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}
.s-side{background:var(--s-surface);border-right:1px solid var(--s-border);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.s-brand{display:flex;align-items:center;gap:10px;padding:16px 16px 14px;border-bottom:1px solid var(--s-border)}
.s-brand-logo{width:30px;height:30px;border-radius:7px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.s-brand-name{font-weight:700;font-size:14px;color:var(--s-ink);line-height:1.1}
.s-brand-sub{font-size:11px;color:var(--s-faint)}
.s-nav{padding:10px 8px;display:flex;flex-direction:column;gap:2px;flex:1;overflow:auto}
.s-nav a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:8px;font-weight:500;font-size:13.5px;color:var(--s-text)}
.s-nav a svg{width:18px;height:18px;flex:none;color:var(--s-subtle)}
.s-nav a:hover{background:var(--s-sunken)}
.s-nav a.active{background:var(--s-acc-l);color:var(--accent-dark);font-weight:600}
.s-nav a.active svg{color:var(--accent-dark)}
.s-nav-sec{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--s-faint);padding:14px 12px 6px;font-weight:700}
.s-side-foot{padding:12px 14px;border-top:1px solid var(--s-border);font-size:12px;color:var(--s-faint)}
.s-side-foot a{color:var(--accent);font-weight:600}
.s-main{display:flex;flex-direction:column;min-width:0}
.s-topbar{position:sticky;top:0;z-index:10;background:var(--s-surface);border-bottom:1px solid var(--s-border);padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.s-crumbs{font-size:12px;color:var(--s-faint);margin-bottom:3px;display:flex;align-items:center;gap:6px}
.s-crumbs a{color:var(--s-subtle)}.s-crumbs a:hover{color:var(--accent)}
.s-title{font-size:20px;font-weight:700;color:var(--s-ink);letter-spacing:-.01em}
.s-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.s-content{padding:24px 28px 60px;max-width:1120px;width:100%}
.s-btn{display:inline-flex;align-items:center;gap:7px;border-radius:8px;font-size:13px;font-weight:600;padding:8px 14px;cursor:pointer;border:1px solid var(--s-border-2);background:var(--s-surface);color:var(--s-text);transition:.12s;font-family:inherit}
.s-btn:hover{background:var(--s-sunken)}
.s-btn-primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.s-btn-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.s-btn-danger{color:var(--s-red-t);border-color:#f0c6c0}.s-btn-danger:hover{background:var(--s-red)}
.s-btn-sm{padding:5px 10px;font-size:12px}
.s-card{background:var(--s-surface);border:1px solid var(--s-border);border-radius:var(--s-radius);box-shadow:var(--s-shadow)}
.s-card-pad{padding:18px 20px}
.s-card-head{padding:14px 20px;border-bottom:1px solid var(--s-border);font-weight:700;color:var(--s-ink);font-size:14px;display:flex;justify-content:space-between;align-items:center}
.s-grid{display:grid;gap:16px}
.s-stack{display:flex;flex-direction:column;gap:16px}
.s-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.s-kpi{background:var(--s-surface);border:1px solid var(--s-border);border-radius:var(--s-radius);padding:16px 18px;box-shadow:var(--s-shadow)}
.s-kpi-label{font-size:12px;color:var(--s-subtle);font-weight:600;display:flex;align-items:center;gap:7px}
.s-kpi-val{font-size:26px;font-weight:700;color:var(--s-ink);margin-top:8px;letter-spacing:-.02em}
.s-kpi-sub{font-size:12px;color:var(--s-faint);margin-top:2px}
.s-table-wrap{overflow:auto}
.s-table{width:100%;border-collapse:collapse;font-size:13.5px}
.s-table th{text-align:left;padding:11px 16px;font-size:12px;color:var(--s-subtle);font-weight:600;background:var(--s-sunken);border-bottom:1px solid var(--s-border);white-space:nowrap}
.s-table td{padding:12px 16px;border-bottom:1px solid var(--s-border);vertical-align:middle}
.s-table tr:last-child td{border-bottom:none}
.s-table tbody tr.clk{cursor:pointer}
.s-table tbody tr.clk:hover{background:var(--s-sunken)}
.s-table .num{text-align:right;font-variant-numeric:tabular-nums}
.s-prodcell{display:flex;align-items:center;gap:12px}
.s-prodcell img{width:38px;height:46px;object-fit:cover;border-radius:6px;border:1px solid var(--s-border);background:#f0ede8}
.s-prodcell .nm{font-weight:600;color:var(--s-ink)}
.s-muted{color:var(--s-faint)}
.s-link{color:var(--accent);font-weight:600}
.s-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.4}
.s-badge::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.85}
.s-badge.green{background:#e3f1ed;color:#004c3f}
.s-badge.amber{background:var(--s-amber-bg);color:var(--s-amber-t)}
.s-badge.gray{background:var(--s-gray);color:var(--s-gray-t)}
.s-badge.red{background:var(--s-red);color:var(--s-red-t)}
.s-badge.blue{background:var(--s-blue);color:var(--s-blue-t)}
.s-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.s-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.s-field.full{grid-column:1/-1}
.s-label{font-size:13px;font-weight:600;color:var(--s-text)}
.s-input,.s-textarea,.s-select{border:1px solid var(--s-border-2);border-radius:8px;padding:9px 12px;font:inherit;font-size:14px;background:var(--s-surface);color:var(--s-ink);width:100%;font-family:inherit}
.s-textarea{min-height:120px;resize:vertical;line-height:1.5}
.s-input:focus,.s-textarea:focus,.s-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--s-acc-l)}
.s-input[type=color]{padding:4px;height:40px;cursor:pointer}
.s-help{font-size:12px;color:var(--s-faint)}
.s-check{display:flex;align-items:center;gap:8px;font-size:14px}
.s-check input{width:16px;height:16px;accent-color:var(--accent)}
.s-two-col{display:grid;grid-template-columns:1fr 320px;gap:16px;align-items:start}
.s-flash{background:var(--s-acc-l);color:var(--accent-dark);border:1px solid color-mix(in srgb,var(--accent) 30%, white);padding:10px 16px;border-radius:8px;font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.s-empty{padding:40px;text-align:center;color:var(--s-faint)}
.s-section-title{font-size:13px;font-weight:700;color:var(--s-ink);margin:0 0 4px}
/* funnel */
.s-funnel{display:flex;flex-direction:column;gap:10px}
.s-funnel-row{display:flex;align-items:center;gap:14px}
.s-funnel-row .fl{width:140px;font-size:13px;color:var(--s-subtle);font-weight:600;flex:none}
.s-funnel-bar{flex:1;height:30px;background:var(--s-sunken);border-radius:6px;overflow:hidden;position:relative}
.s-funnel-fill{height:100%;background:var(--accent);border-radius:6px;display:flex;align-items:center;padding:0 10px;color:#fff;font-size:12px;font-weight:700;min-width:38px}
.s-funnel-mini{display:flex;align-items:center;gap:10px;margin-top:6px}
.s-fm-step{flex:1;text-align:center;background:var(--s-sunken);border-radius:8px;padding:12px 8px}
.s-fm-step .v{font-size:20px;font-weight:700;color:var(--s-ink)}
.s-fm-step .l{font-size:11px;color:var(--s-subtle);font-weight:600}
.s-fm-arrow{color:var(--s-faint);font-size:18px}
.s-bar-track{height:8px;background:var(--s-sunken);border-radius:999px;overflow:hidden}
.s-bar-track i{display:block;height:100%;background:var(--accent);border-radius:999px}
.s-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.s-media-item{border:1px solid var(--s-border);border-radius:8px;overflow:hidden;background:var(--s-surface)}
.s-media-item img{width:100%;height:110px;object-fit:cover;background:var(--s-sunken)}
.s-media-item .mi{padding:8px 10px;font-size:11px;color:var(--s-subtle);display:flex;flex-direction:column;gap:6px}
.s-tabs{display:flex;gap:6px;border-bottom:1px solid var(--s-border);margin-bottom:20px;flex-wrap:wrap}
.s-tab{padding:9px 14px;font-size:13.5px;font-weight:600;color:var(--s-subtle);border-bottom:2px solid transparent;cursor:pointer}
.s-tab.active{color:var(--accent-dark);border-color:var(--accent)}
@media(max-width:860px){.admin-shell{grid-template-columns:1fr}.s-side{position:static;height:auto}.s-nav{flex-direction:row;flex-wrap:wrap}.s-kpis{grid-template-columns:1fr 1fr}.s-form-grid{grid-template-columns:1fr}.s-two-col{grid-template-columns:1fr}}
+199
View File
@@ -0,0 +1,199 @@
/* hd-commerce Storefront — hell, editorial, neutral. Akzent kommt aus settings (CSS-Var). */
:root{
--accent:#b8566a; --accent-dark:#8d3f50;
--bg:#fbf9f7; --surface:#ffffff; --sunken:#f4f1ee;
--ink:#1d1a18; --text:#3a3531; --subtle:#6b635c; --faint:#9a918a;
--border:#e7e1da; --border-2:#d8d0c7;
--radius:14px; --radius-sm:10px;
--shadow:0 1px 2px rgba(20,15,10,.04), 0 8px 24px rgba(20,15,10,.05);
--shadow-lg:0 12px 40px rgba(20,15,10,.12);
--serif:'Fraunces Variable', Georgia, 'Times New Roman', serif;
--sans:'Public Sans Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);font-weight:560;line-height:1.12;letter-spacing:-.01em;margin:0}
h1{font-size:clamp(2.1rem,5vw,3.4rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem)}
h3{font-size:1.3rem}
p{margin:0 0 1rem}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--sans);font-weight:650;font-size:15px;padding:13px 24px;border-radius:999px;cursor:pointer;border:1.5px solid transparent;transition:.18s;line-height:1}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark)}
.btn-ghost{background:transparent;border-color:var(--border-2);color:var(--ink)}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.btn-block{width:100%}
.btn-lg{padding:15px 30px;font-size:16px}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%, white);padding:5px 12px;border-radius:999px}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
/* announcement */
.announce{background:var(--accent);color:#fff;text-align:center;font-size:13.5px;font-weight:600;padding:9px 16px}
.announce a{text-decoration:underline;text-underline-offset:2px}
/* header */
.site-head{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--surface) 86%, transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.site-head-row{display:flex;align-items:center;justify-content:space-between;gap:24px;height:70px}
.brand-mark{font-family:var(--serif);font-size:23px;font-weight:600;color:var(--ink);letter-spacing:-.01em;display:flex;align-items:center;gap:9px}
.brand-mark .uscore{width:26px;height:4px;border-radius:2px;background:var(--accent);display:inline-block}
.main-nav{display:flex;gap:30px;font-size:15px;font-weight:550}
.main-nav a{color:var(--text);padding:6px 0;border-bottom:2px solid transparent;transition:.15s}
.main-nav a:hover{color:var(--accent);border-color:var(--accent)}
.head-actions{display:flex;align-items:center;gap:14px}
.icon-btn{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:999px;color:var(--ink);transition:.15s}
.icon-btn:hover{background:var(--sunken)}
.icon-btn svg{width:22px;height:22px}
.cart-badge{position:absolute;top:4px;right:4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;display:none;align-items:center;justify-content:center;line-height:1}
.cart-badge.show{display:flex}
.menu-toggle{display:none}
/* hero / slider */
.slider{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);margin-top:28px}
.slides{display:flex;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.slide{min-width:100%;position:relative;aspect-ratio:21/8;background:var(--sunken)}
.slide img{width:100%;height:100%;object-fit:cover}
.slide-cap{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:0 clamp(28px,6vw,80px);background:linear-gradient(90deg,rgba(20,15,12,.62) 0%,rgba(20,15,12,.25) 55%,transparent 100%);color:#fff}
.slide-cap h2{color:#fff;max-width:18ch}
.slide-cap p{color:rgba(255,255,255,.92);max-width:42ch;font-size:17px;margin:0}
.slide-cap .btn{align-self:flex-start;margin-top:6px}
.slider-dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:9px;z-index:3}
.slider-dots button{width:9px;height:9px;border-radius:999px;border:none;background:rgba(255,255,255,.5);cursor:pointer;padding:0;transition:.2s}
.slider-dots button.active{background:#fff;width:26px}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:999px;border:none;background:rgba(255,255,255,.85);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.slider-arrow:hover{background:#fff}
.slider-arrow.prev{left:16px}.slider-arrow.next{right:16px}
/* sections */
.section{padding:64px 0}
.section-sm{padding:44px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:32px;flex-wrap:wrap}
.section-head .lead{max-width:48ch;color:var(--subtle);margin:8px 0 0}
/* categories */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}
.cat-card{display:flex;flex-direction:column;gap:4px;padding:22px 20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);transition:.18s}
.cat-card:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:var(--shadow)}
.cat-card .ct{font-family:var(--serif);font-size:18px;color:var(--ink)}
.cat-card .cn{font-size:13px;color:var(--faint)}
/* product grid */
.prod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:26px}
.prod-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.2s}
.prod-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--border-2)}
.prod-media{position:relative;aspect-ratio:9/11;background:var(--sunken);overflow:hidden}
.prod-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.prod-card:hover .prod-media img{transform:scale(1.04)}
.prod-badge{position:absolute;top:12px;left:12px;background:var(--surface);color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:999px;box-shadow:var(--shadow)}
.prod-info{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.prod-cat{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.prod-name{font-family:var(--serif);font-size:18px;color:var(--ink);line-height:1.2}
.prod-price{margin-top:auto;font-size:17px;font-weight:700;color:var(--ink);padding-top:8px}
.soldout{font-size:12px;color:var(--accent);font-weight:600}
/* product detail */
.pdp{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;padding:40px 0 60px}
.pdp-gallery{display:flex;flex-direction:column;gap:14px}
.pdp-main{aspect-ratio:9/11;border-radius:var(--radius);overflow:hidden;background:var(--sunken);box-shadow:var(--shadow)}
.pdp-main img{width:100%;height:100%;object-fit:cover}
.pdp-thumbs{display:flex;gap:10px}
.pdp-thumbs img{width:72px;height:88px;object-fit:cover;border-radius:10px;border:1.5px solid var(--border);cursor:pointer}
.pdp-thumbs img.active{border-color:var(--accent)}
.pdp-info .pdp-cat{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:700}
.pdp-info h1{margin:8px 0 14px}
.pdp-price{font-size:28px;font-weight:700;color:var(--ink);margin-bottom:20px}
.pdp-desc{color:var(--subtle);font-size:16.5px;margin-bottom:24px}
.size-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.size-chip{padding:10px 18px;border:1.5px solid var(--border-2);border-radius:999px;cursor:pointer;font-weight:600;font-size:14px;background:var(--surface);transition:.15s}
.size-chip:hover{border-color:var(--accent)}
.size-chip.active{border-color:var(--accent);background:var(--accent);color:#fff}
.feat-list{list-style:none;padding:0;margin:24px 0;display:flex;flex-direction:column;gap:10px}
.feat-list li{display:flex;gap:10px;align-items:flex-start;color:var(--text);font-size:15px}
.feat-list li::before{content:'';flex:none;width:18px;height:18px;margin-top:2px;border-radius:50%;background:color-mix(in srgb,var(--accent) 18%, white);background-image: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='%23b8566a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}
.pdp-meta{border-top:1px solid var(--border);padding-top:18px;margin-top:8px;font-size:14px;color:var(--subtle)}
.pdp-meta b{color:var(--ink)}
/* shop layout */
.shop-head{padding:44px 0 8px}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 32px}
.filter-chip{padding:9px 18px;border:1.5px solid var(--border-2);border-radius:999px;background:var(--surface);cursor:pointer;font-weight:600;font-size:14px;color:var(--text);transition:.15s}
.filter-chip:hover{border-color:var(--accent)}
.filter-chip.active{background:var(--ink);border-color:var(--ink);color:#fff}
/* cart */
.cart-wrap{display:grid;grid-template-columns:1fr 360px;gap:40px;padding:40px 0 60px;align-items:start}
.cart-line{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--border)}
.cart-line img{width:84px;height:104px;object-fit:cover;border-radius:10px;background:var(--sunken)}
.cart-line .cl-body{flex:1;display:flex;flex-direction:column;gap:4px}
.cart-line .cl-name{font-family:var(--serif);font-size:17px;color:var(--ink)}
.cart-line .cl-size{font-size:13px;color:var(--faint)}
.qty-ctl{display:inline-flex;align-items:center;border:1.5px solid var(--border-2);border-radius:999px;overflow:hidden;margin-top:6px}
.qty-ctl button{width:32px;height:32px;border:none;background:var(--surface);cursor:pointer;font-size:16px;color:var(--ink)}
.qty-ctl button:hover{background:var(--sunken)}
.qty-ctl span{min-width:34px;text-align:center;font-weight:600}
.cl-remove{font-size:13px;color:var(--faint);cursor:pointer;background:none;border:none;text-decoration:underline;align-self:flex-start;margin-top:6px}
.cl-price{font-weight:700;color:var(--ink)}
.summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);position:sticky;top:90px}
.sum-row{display:flex;justify-content:space-between;padding:8px 0;font-size:15px;color:var(--subtle)}
.sum-row.total{border-top:1px solid var(--border);margin-top:8px;padding-top:16px;font-size:19px;font-weight:700;color:var(--ink)}
.empty-state{text-align:center;padding:80px 20px;color:var(--faint)}
.empty-state h2{margin-bottom:10px}
/* forms (storefront) */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:4px}
.field.full{grid-column:1/-1}
.field label{font-size:14px;font-weight:600;color:var(--text)}
.field input,.field select,.field textarea{border:1.5px solid var(--border-2);border-radius:10px;padding:12px 14px;font:inherit;font-size:15px;background:var(--surface);color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent)}
/* newsletter */
.newsletter{background:var(--ink);color:#fff;border-radius:var(--radius);padding:clamp(36px,6vw,64px);text-align:center}
.newsletter h2{color:#fff}
.newsletter p{color:rgba(255,255,255,.8);max-width:46ch;margin:10px auto 24px}
.nl-form{display:flex;gap:10px;max-width:460px;margin:0 auto;flex-wrap:wrap}
.nl-form input{flex:1;min-width:200px;border:none;border-radius:999px;padding:14px 20px;font:inherit;font-size:15px}
.nl-msg{margin-top:14px;font-size:14px;color:#fff;min-height:18px}
/* content page */
.prose{max-width:760px;margin:0 auto;padding:48px 0 64px}
.prose h1{margin-bottom:24px}
.prose h2{margin:32px 0 12px}
.prose p,.prose li{color:var(--text);font-size:16.5px}
.prose a{color:var(--accent);text-decoration:underline}
/* footer */
.site-foot{background:var(--surface);border-top:1px solid var(--border);margin-top:40px;padding:56px 0 32px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
.foot-brand .brand-mark{margin-bottom:12px}
.foot-brand p{color:var(--subtle);font-size:14.5px;max-width:34ch}
.foot-col h4{font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);margin-bottom:14px}
.foot-col a{display:block;color:var(--subtle);font-size:14.5px;padding:5px 0;transition:.15s}
.foot-col a:hover{color:var(--accent)}
.foot-bottom{border-top:1px solid var(--border);margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--faint)}
/* popup */
.hdc-popup-overlay{position:fixed;inset:0;background:rgba(20,15,12,.55);backdrop-filter:blur(3px);z-index:120;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:.3s}
.hdc-popup-overlay.show{opacity:1;pointer-events:auto}
.hdc-popup{background:var(--surface);border-radius:var(--radius);max-width:440px;width:100%;padding:36px 32px;text-align:center;box-shadow:var(--shadow-lg);position:relative;transform:translateY(12px);transition:.3s}
.hdc-popup-overlay.show .hdc-popup{transform:none}
.hdc-popup .px{position:absolute;top:14px;right:16px;background:none;border:none;font-size:24px;color:var(--faint);cursor:pointer;line-height:1}
.hdc-popup h3{font-size:24px;margin-bottom:10px}
.hdc-popup p{color:var(--subtle);margin-bottom:20px}
.hdc-popup .nl-form{flex-direction:column}
.hdc-popup .nl-form input{border:1.5px solid var(--border-2);width:100%}
@media(max-width:880px){
.pdp{grid-template-columns:1fr;gap:28px}
.cart-wrap{grid-template-columns:1fr}
.foot-grid{grid-template-columns:1fr 1fr}
.main-nav{display:none}
.menu-toggle{display:grid}
.slide{aspect-ratio:4/3}
.form-grid{grid-template-columns:1fr}
}
@media(max-width:560px){.foot-grid{grid-template-columns:1fr}}