/* BIBANI SELECT — V6 LUXURY CUSTOMER APP
   Neue mobile-first Schwarz/Gold-Optik.
   Kompatibel mit der vorhandenen index.html und app.js. */

:root{
  --bg:#100f0d;--bg2:#191711;--panel:#211e18;--gold:#d9bb7d;
  --gold2:#f0dcae;--line:#594a31;--text:#f8f5ed;--muted:#bdb5a5;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}
.topline{padding:12px;text-align:center;background:#0b0a09;color:#cdb77f;border-bottom:1px solid #392f20;font-size:9px;letter-spacing:.22em}
.topline span{margin:0 10px;color:var(--gold)}
header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px clamp(16px,4vw,48px);background:rgba(16,15,13,.96);backdrop-filter:blur(14px);border-bottom:1px solid #5b4b30}
.brand{display:flex;align-items:center;gap:10px;color:#e7c982;font-family:Georgia,serif;font-size:clamp(23px,4vw,36px);font-weight:bold;letter-spacing:-1px}
.brand img{width:48px;height:48px;object-fit:cover;border:1px solid #a98a4e;border-radius:12px;box-shadow:0 0 18px #d1ad6022}
.brand span{line-height:.85}
.brand small{display:block;text-align:center;font:600 10px 'DM Sans',sans-serif;letter-spacing:7px;margin-top:5px}
nav{display:flex;align-items:center;gap:clamp(8px,2vw,20px)}
nav button{padding:4px;border:0;background:none;color:#e4c786;font-size:27px}
nav small{font-size:13px}
nav a{font-size:25px;color:#d9e9f4}
main{padding-bottom:100px}
.eyebrow{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:.23em}
h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;letter-spacing:-1.5px}
h1{font-size:clamp(43px,7vw,78px);line-height:1.06;margin:0 0 18px}
h1 em,h2 em{color:var(--gold);font-weight:400}
.sub{max-width:550px;color:#e0dbcf;font-size:clamp(15px,2vw,19px);line-height:1.6}
.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;max-width:max-content;min-height:54px;padding:17px 22px;border:0;border-radius:5px;background:#d8b778;color:#17130d;font-size:14px;font-weight:700;letter-spacing:.02em}
.primary span{font-size:21px}
.hero-v5{position:relative;isolation:isolate;display:flex!important;flex-direction:column!important;justify-content:flex-end;min-height:670px!important;padding:0!important;overflow:hidden;background:#100f0d!important;border-bottom:1px solid var(--line)}
.hero-v5 .hero-art{position:absolute!important;inset:0!important;z-index:-1!important;width:100%!important;height:100%!important;min-height:100%!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#17140f!important}
.hero-v5 .hero-art img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 42%!important;filter:brightness(.68) saturate(.82)!important}
.hero-v5 .hero-art:after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(90deg,rgba(12,11,9,.86),rgba(12,11,9,.5) 48%,rgba(12,11,9,.08)),linear-gradient(0deg,#100f0d,transparent 62%)}
.hero-v5 .hero-art span{position:absolute!important;top:26px!important;bottom:auto!important;left:clamp(22px,6vw,72px)!important;z-index:1!important;padding:9px 13px!important;border:1px solid #a88b55!important;border-radius:30px!important;background:rgba(10,9,8,.58)!important;color:#e7c784!important;font-size:10px!important;letter-spacing:.18em!important}
.hero-v5 .hero-copy{position:relative!important;z-index:2!important;width:100%!important;max-width:850px!important;margin:0!important;padding:110px clamp(22px,6vw,72px) 38px!important}
.hero-v5 .hero-copy .eyebrow{margin:0 0 16px!important;color:#e6c580!important;letter-spacing:.24em!important}
.hero-v5 h1{max-width:720px;text-shadow:0 3px 28px #0008}
.hero-v5 .sub{margin:0 0 24px}
.hero-v5 .primary{min-width:220px;box-shadow:0 8px 26px #0005}
.hero-v5 .hero-trust{margin-top:24px;color:#c9bea7;font-size:12px;letter-spacing:.03em;line-height:1.6}
.benefits{display:flex;justify-content:space-around;gap:12px;flex-wrap:wrap;padding:18px;background:#191711;border-block:1px solid #4d402b;color:#ddc995;font-size:12px}
.collection,.products{padding:65px clamp(18px,6vw,80px);scroll-margin-top:95px}
.collection{background:linear-gradient(180deg,#15130f,#100f0d)}
.collection h2,.products h2,.shopcta h2{margin:15px 0 25px;color:#f6f0e4;font-size:clamp(39px,6vw,64px)}
.collection-intro{max-width:580px;color:var(--muted);line-height:1.7}
.category-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0 30px}
.category-tile,.feature-card{padding:0;overflow:hidden;border:1px solid #6d5836;border-radius:14px;background:#1b1914;color:#e8d6b1;cursor:pointer;text-align:left;font:inherit;box-shadow:0 10px 26px #0003;transition:transform .2s,border-color .2s}
.category-tile:hover,.feature-card:hover{transform:translateY(-3px);border-color:var(--gold)}
.tile-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1.08;background:#252117;overflow:hidden}
.tile-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.category-tile:hover .tile-photo img{transform:scale(1.045)}
.tile-placeholder{color:#bfa36c;font-size:56px}
.tile-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:12px;background:linear-gradient(90deg,#211e17,#171510);flex-wrap:wrap}
.tile-caption strong{color:#f0dfbb;font-size:14px}
.tile-caption small{color:#a79c83;font-size:11px}
.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}
.categories button{display:flex;min-height:100px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:15px;border:1px solid #514938;border-radius:12px;background:linear-gradient(135deg,#2b2922,#1c1c18);color:#e8d5a6;text-align:left}
.categories button.active{background:linear-gradient(135deg,#e5c98c,#bd9b5d);color:#1d1a14}
.cat-emoji{font-size:25px}
.products{border-top:1px solid #403522;background:#14120e}
.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:15px}
.sectionhead>a{margin-bottom:25px;color:var(--gold);font-size:13px}
.products-meta{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}
.hint{color:#aaa69b;font-size:12px}
.featured-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 30px}
.feature-card{display:flex;flex-direction:column;gap:9px;padding-bottom:12px;border-radius:10px}
.feature-card img{width:100%;aspect-ratio:1;object-fit:cover}
.feature-card span,.feature-card b{padding:0 10px;font-size:12px}
.feature-card b,.price{color:#e1c17c;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.product{overflow:hidden;border:1px solid #55452c;border-radius:8px;background:#1d1a14}
.product>img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#211e18}
.product-body{padding:14px}
.product h3{min-height:44px;margin:0 0 10px;color:#f1eadc;font-size:14px;line-height:1.5}
.product-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}
.product-actions button:not(.heart),.cartrow button,.wishrow button{padding:9px 11px;border:0;border-radius:4px;background:#d8b778;color:#17130d;font-size:12px;font-weight:700;cursor:pointer}
.product-actions button:disabled{opacity:.4}
.heart{padding:8px 11px;border:1px solid #806b43;border-radius:4px;background:transparent;color:#e2c47f;font-size:21px}
.notice{grid-column:1/-1;padding:25px;border:1px solid #514b3d;color:#c4c0b6}
.shopcta{padding:90px 20px;border-top:1px solid #51432c;background:radial-gradient(ellipse at 50% 10%,#332a1a,#14120e 70%);text-align:center}
.shopcta p:not(.eyebrow){color:#bcb9b0;line-height:1.8}
.shopcta .primary{margin-top:22px}
.tiny-gold{margin-bottom:20px;color:var(--gold);font-size:11px;letter-spacing:3px}
footer{padding:45px 25px;border-top:1px solid #51432c;background:#0b0a09;color:#aaa69a;font-size:12px;text-align:center}
footer strong{color:#d7b773;font:26px Georgia,serif}
footer strong span{font-size:13px;letter-spacing:3px}
footer a{color:var(--gold)}
.mobile-bottom{display:none}
dialog{width:min(500px,92vw);padding:25px;border:1px solid #907344;border-radius:12px;background:#1b1914;color:white;box-shadow:0 22px 80px #0009}
dialog::backdrop{background:#000a}
.dialogtop{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.dialogtop button{border:0;background:none;color:white;font-size:22px}
#searchForm{display:grid;gap:15px}
input,#productDetail select{width:100%;padding:14px;border:1px solid #79613a;border-radius:6px;background:#100f0d;color:#f7f1e5;font-size:16px}
#productDetail select{display:block;margin:10px 0}
#productDetail .detail-img{width:100%;max-height:280px;object-fit:contain}
#cartTotal{color:var(--gold);font-weight:bold}
#checkoutBtn:disabled{opacity:.5}
.cartrow{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #665a40}
.cartrow img{width:68px;height:68px;object-fit:cover}
.cartrow small{display:block}
.cartrow button{margin:3px}
.wishrow{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #555}
.wishrow a{color:var(--gold)}
@media(max-width:800px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .featured-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .topline{display:none}
 header{position:relative;min-height:70px;padding:10px 14px}
 .brand{font-size:24px}
 .brand img{width:43px;height:43px}
 .brand small{font-size:8px;letter-spacing:5px}
 nav{gap:8px}
 nav button,nav a{font-size:23px}
 .hero-v5{height:min(760px,calc(100svh - 70px));min-height:630px!important;max-height:760px}
 .hero-v5 .hero-art{height:100%!important;min-height:100%!important}
 .hero-v5 .hero-art img{object-position:58% center!important}
 .hero-v5 .hero-art:after{background:linear-gradient(180deg,rgba(10,9,8,.06) 10%,rgba(10,9,8,.12) 38%,rgba(10,9,8,.72) 66%,#100f0d 100%)}
 .hero-v5 .hero-art span{top:18px!important;left:18px!important;padding:8px 10px!important;font-size:8px!important}
 .hero-v5 .hero-copy{position:absolute!important;right:0!important;bottom:0!important;left:0!important;padding:40px 21px 28px!important}
 .hero-v5 .hero-copy .eyebrow{margin-bottom:12px!important;font-size:9px!important}
 .hero-v5 h1{margin:0 0 13px!important;font-size:clamp(40px,10.7vw,51px)!important;line-height:1.08!important}
 .hero-v5 .sub{max-width:360px;margin-bottom:17px;font-size:14px;line-height:1.55}
 .hero-v5 .primary{width:min(100%,320px);min-height:55px;padding:16px 19px}
 .hero-v5 .hero-trust{margin-top:16px;font-size:10px;line-height:1.55}
 .benefits{gap:8px;padding:13px 6px;font-size:9px}
 .collection,.products{padding:52px 17px}
 .collection h2,.products h2,.shopcta h2{font-size:39px}
 .category-gallery{gap:9px;margin:18px 0 22px}
 .tile-caption{padding:10px}
 .tile-caption strong{font-size:12px}
 .tile-caption small{font-size:10px}
 .featured-strip,.product-grid{gap:9px}
 .product-body{padding:10px}
 .product h3{min-height:42px;font-size:12px}
 .product-actions{gap:5px}
 .product-actions button:not(.heart){padding:9px 7px;font-size:10px}
 .mobile-bottom-v5{position:fixed;right:0;bottom:0;left:0;z-index:100;display:grid;grid-template-columns:repeat(4,1fr);min-height:66px;padding:9px 4px max(10px,env(safe-area-inset-bottom));border-top:1px solid #79613a;background:rgba(13,12,10,.97);backdrop-filter:blur(18px)}
 .mobile-bottom-v5 a,.mobile-bottom-v5 button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:#e4c786;font-size:23px}
 .mobile-bottom-v5 small{color:#c9b991;font-size:10px}
}
@media(min-width:701px){
 .hero-v5{min-height:min(760px,78vw)!important}
 .hero-v5 .hero-copy{padding-bottom:58px!important}
 .category-gallery-v5{grid-template-columns:repeat(4,minmax(0,1fr))}
}
