/*
Theme Name: NOVA
Description: Shop-Theme für NOVA – biometrische Luxus-Damentaschen. Marktplatz-Layout für WooCommerce und German Market.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nova
WC requires at least: 8.9
*/
:root{
  --bg:#FFFFFF; --soft:#F3F3F3; --soft-2:#E9E9E9; --ink:#222222; --muted:#666666; --line:#DDDDDD;
  --brand:#4B2242; --brand-ink:#FFFFFF; --brand-soft:#F4EDF2; --gold:#9C7A45;
  --sale:#C40E2A; --ok:#1E7D45;
  --bag-a:#4B2242; --bag-b:#2E2A2C; --bag-c:#B9A48A; --brass:var(--gold);
  --font:Arial,"Helvetica Neue",Helvetica,sans-serif;
  --r:8px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.5 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
p{margin:0}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.wrap{max-width:1280px;margin:0 auto;padding-inline:clamp(16px,3vw,32px)}

/* ---------- Header ---------- */
.servicebar{background:var(--soft);font-size:12.5px;color:var(--muted)}
.servicebar .wrap{display:flex;justify-content:space-between;gap:16px;padding-block:7px;flex-wrap:wrap}
.servicebar ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;flex-wrap:wrap}
.servicebar li::before{content:"✓ ";color:var(--ok);font-weight:700}
.servicebar a{text-decoration:none}
header.top{position:sticky;top:0;z-index:30;background:var(--bg);box-shadow:0 1px 0 var(--line)}
.admin-bar header.top{top:32px}
.mainbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:clamp(16px,3vw,40px);padding-block:14px}
.logo{font:700 28px/1 var(--font);letter-spacing:.32em;text-decoration:none;color:var(--brand);padding-left:.32em}
.search{display:flex;align-items:center;background:var(--soft);border:1px solid transparent;border-radius:999px;padding:0 6px 0 18px;height:46px;max-width:720px;width:100%}
.search:focus-within{border-color:var(--ink);background:var(--bg)}
.search input{flex:1;border:0;background:transparent;font:inherit;font-size:15px;color:var(--ink);outline:none;min-width:0}
.search button{border:0;background:var(--brand);color:var(--brand-ink);width:36px;height:36px;border-radius:50%;display:grid;place-items:center}
.search svg{width:18px;height:18px}
.icons{display:flex;gap:6px}
.icons a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;font-size:11.5px;color:var(--ink);padding:4px 8px;border-radius:var(--r);position:relative}
.icons a:hover{background:var(--soft)}
.icons svg{width:24px;height:24px}
.cartcount{position:absolute;top:0;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--brand);color:var(--brand-ink);font:700 11px/18px var(--font);text-align:center}
.catnav{border-top:1px solid var(--line)}
.catnav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.catnav a{display:block;padding:12px 14px;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap;border-bottom:3px solid transparent}
.catnav a:hover{border-bottom-color:var(--brand)}
.catnav .sale a{color:var(--sale)}

/* ---------- Buttons ---------- */
.btn,.button,button.button,input.button,a.button,.single_add_to_cart_button,#place_order,.checkout-button,.wc-block-components-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0!important;background:var(--brand)!important;color:var(--brand-ink)!important;padding:12px 20px!important;border-radius:var(--r)!important;font:700 14px var(--font)!important;text-decoration:none;cursor:pointer}
.btn.ghost{background:var(--bg)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--ink)}
.btn:hover,.button:hover{filter:brightness(1.12)}

/* ---------- Home ---------- */
main.home{padding-bottom:48px}
.promo{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-top:20px}
.hero{background:var(--brand-soft);border-radius:var(--r);display:grid;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;min-height:340px}
.hero .txt{padding:clamp(24px,4vw,48px)}
.hero .kicker{display:inline-block;background:var(--brand);color:var(--brand-ink);font-size:12px;font-weight:700;padding:4px 10px;border-radius:4px;margin-bottom:14px}
.hero h1{font-size:clamp(30px,4vw,48px);line-height:1.05}
.hero p{margin-top:12px;color:var(--muted);max-width:40ch}
.hero .ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.stage{position:relative;height:100%;min-height:300px;display:grid;place-items:center}
.stage svg.bag{width:78%;max-width:320px;height:auto;overflow:visible}
.flapbody{transform-origin:200px 150px;transition:transform .6s cubic-bezier(.4,0,.2,1)}
.stage.open .flapbody{transform:scaleY(.25)}
.sensor{position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);width:74px;height:74px;border-radius:50%;border:0;background:transparent;display:grid;place-items:center;touch-action:none;user-select:none;-webkit-user-select:none}
.sensor svg{width:74px;height:74px}
.ring{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round;stroke-dasharray:226;stroke-dashoffset:226;transform:rotate(-90deg);transform-origin:39px 39px}
.stage.open .ring{stroke:var(--ok)}
.stage-cap{position:absolute;bottom:14px;left:0;right:0;text-align:center;font-size:12px;font-weight:700;color:var(--muted)}
.stage.open .stage-cap{color:var(--ok)}
.side-promos{display:grid;gap:16px}
.tile{border-radius:var(--r);padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;text-decoration:none;min-height:160px}
.tile.dark{background:var(--ink);color:#fff}
.tile.soft{background:var(--soft)}
.tile b{font-size:20px;line-height:1.15}
.tile span{font-size:13px;opacity:.8}
.tile em{font-style:normal;font-weight:700;font-size:13px;text-decoration:underline}

.usp{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.usp div{background:var(--soft);border-radius:var(--r);padding:14px 16px;display:flex;gap:12px;align-items:center;font-size:13px}
.usp svg{width:28px;height:28px;flex:none;color:var(--brand)}
.usp b{display:block;font-size:14px}

.block{margin-top:44px}
.bhead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}
.bhead h2{font-size:24px}
.bhead a{font-weight:700;font-size:14px}

.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cat{background:var(--soft);border-radius:var(--r);padding:18px;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-weight:700}
.cat svg{width:70%;max-width:150px;height:auto}
.cat:hover{background:var(--soft-2)}

.tech{background:var(--soft);border-radius:var(--r);padding:clamp(20px,3vw,32px)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
.step{background:var(--bg);border-radius:var(--r);padding:18px}
.step .n{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;font-size:13px}
.step h3{font-size:17px;margin:10px 0 6px}
.step p{font-size:14px;color:var(--muted)}
.table-wrap{overflow-x:auto;margin-top:20px;background:var(--bg);border-radius:var(--r)}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px}
th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line)}
th{background:var(--bg);font-size:13px}
tbody tr:last-child td{border-bottom:0}

.faq details{border-bottom:1px solid var(--line);padding-block:14px}
.faq details:first-of-type{border-top:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:20px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:8px;color:var(--muted);max-width:70ch}

/* ---------- Product cards (WooCommerce loop) ---------- */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{position:relative;margin:0!important;width:auto!important;float:none!important;padding:0 0 14px;display:flex;flex-direction:column;border-radius:var(--r);transition:box-shadow .15s}
ul.products li.product:hover{box-shadow:0 2px 14px rgba(0,0,0,.12)}
ul.products li.product a.woocommerce-LoopProduct-link{text-decoration:none;display:flex;flex-direction:column;gap:6px}
ul.products li.product img,ul.products li.product .nova-ph{aspect-ratio:1/1;width:100%;object-fit:contain;background:var(--soft);border-radius:var(--r);display:grid;place-items:center;margin:0 0 6px}
ul.products li.product .nova-ph svg{width:66%}
ul.products li.product .nova-brand{padding:0 12px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:400;padding:0 12px;margin:0}
ul.products li.product .price{display:block;padding:4px 12px 0;font-size:20px;font-weight:700;color:var(--ink)}
ul.products li.product .price del{color:var(--muted);font-size:14px;font-weight:400}
ul.products li.product .price ins{text-decoration:none;color:var(--sale)}
ul.products li.product .nova-delivery{padding:0 12px;font-size:12.5px;color:var(--ok)}
ul.products li.product .wgm-info,ul.products li.product .woocommerce-de_price_taxrate,ul.products li.product .shipping_de,ul.products li.product .delivery-time-info{display:block;padding:0 12px;font-size:12px;color:var(--muted)}
ul.products li.product .button{margin:10px 12px 0;align-self:flex-start}
.onsale{position:absolute;top:10px;left:10px;z-index:2;background:var(--sale);color:#fff;font-weight:700;font-size:12px;padding:3px 8px;border-radius:4px}
.added_to_cart{display:block;margin:6px 12px 0;font-size:13px}

/* ---------- WooCommerce pages ---------- */
.content-area{padding-block:28px 56px}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:18px}
.woocommerce-breadcrumb a{color:var(--muted)}
.single-product div.product{display:grid;grid-template-columns:1.1fr 1fr;gap:40px}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .up-sells{grid-column:1/-1}
.product .summary .product_title{font-size:clamp(24px,3vw,32px);font-weight:700}
.product .summary .price{font-size:28px;font-weight:700;margin:10px 0}
.woocommerce-product-gallery .nova-ph{aspect-ratio:1/1;background:var(--soft);border-radius:var(--r);display:grid;place-items:center}
.woocommerce-product-gallery .nova-ph svg{width:60%}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;border-left:4px solid var(--brand);background:var(--soft);padding:12px 16px;margin:0 0 20px;border-radius:4px}
input.input-text,select,textarea,.qty{font:inherit;padding:10px 12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:var(--r);max-width:100%}
table.shop_table{width:100%;border-collapse:collapse}
table.shop_table th,table.shop_table td{padding:12px 8px;border-bottom:1px solid var(--line);text-align:left}
.nova-page h1{font-size:clamp(28px,4vw,40px);margin-bottom:20px}
.entry-content{max-width:75ch}

/* ---------- Footer ---------- */
footer.site{margin-top:56px;background:var(--soft);font-size:14px}
.fcols{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;padding-block:40px}
.fcols h4{margin:0 0 12px;font-size:15px}
.fcols ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.fcols a{text-decoration:none;color:var(--muted)}
.fcols a:hover{color:var(--ink);text-decoration:underline}
.pay{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.pay span{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:4px 8px;font-size:12px;font-weight:700}
.fbottom{border-top:1px solid var(--line);padding-block:16px;font-size:12.5px;color:var(--muted);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  ul.products{grid-template-columns:repeat(3,1fr)}
  .promo{grid-template-columns:1fr}
  .side-promos{grid-template-columns:1fr 1fr}
  .usp{grid-template-columns:1fr 1fr}
  .fcols{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .mainbar{grid-template-columns:auto auto;grid-template-areas:"logo icons" "search search"}
  .logo{grid-area:logo}.icons{grid-area:icons;justify-self:end}.search{grid-area:search;max-width:none}
  .icons .lbl{display:none}
  .hero{grid-template-columns:1fr}
  .stage{min-height:240px}
  ul.products{grid-template-columns:1fr 1fr;gap:10px}
  .cats{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .single-product div.product{grid-template-columns:1fr}
  .servicebar .right{display:none}
}
@media (max-width:480px){
  .side-promos,.usp,.fcols{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
