/* Shared styles for the bag drawer, age check, partner portal and admin. */
:root { --bg:#140B19; --panel:#1E1125; --card:#24152D; --line:#3D2649; --line2:#5A3A69; --text:#F7EEF6; --muted:#CDBBD6; --pink:#F3C7DA; --rose:#EBA3C4; --accent:#7B2D5F; --serif:'Bodoni Moda',Georgia,serif; }
[hidden] { display:none !important; }
.overlay { position:fixed; inset:0; z-index:60; background:rgba(15,8,19,.94); display:flex; align-items:center; justify-content:center; padding:24px; }
.panel { background:var(--panel); border:1px solid var(--line2); border-radius:28px; padding:36px 28px; max-width:440px; width:100%; color:var(--text); font-family:Inter,system-ui,sans-serif; }
.center { text-align:center; } .center .row { justify-content:center; }
.brand { font-family:var(--serif); letter-spacing:.3em; font-size:26px; margin-bottom:12px; }
.panel h2, .drawer h2, .page h1, .page h2 { font-family:var(--serif); font-weight:500; margin:0 0 8px; color:var(--text); }
.muted { color:var(--muted); font-size:14px; } .note { color:var(--muted); font-size:13px; } .error { color:#FFB4C8; font-size:14px; margin:0; }
.row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; } .grow { flex:1 1 0; min-width:0; }
.btn { min-height:48px; padding:0 24px; border:0; border-radius:999px; background:var(--pink); color:#1F1326; font:600 13px Inter,system-ui,sans-serif; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.btn:disabled { opacity:.5; cursor:default; } .btn.ghost { background:transparent; color:var(--text); border:1px solid var(--rose); } .btn.wide { width:100%; } .btn.small { min-height:44px; padding:0 16px; font-size:12px; }
.link { background:none; border:0; color:var(--pink); font:inherit; cursor:pointer; padding:10px 0; text-align:left; }
.shade { position:fixed; inset:0; z-index:40; background:rgba(15,8,19,.7); }
.drawer { position:fixed; top:0; right:0; bottom:0; z-index:50; width:min(440px,100vw); background:var(--panel); border-left:1px solid var(--line2); color:var(--text); font-family:Inter,system-ui,sans-serif; display:flex; flex-direction:column; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid var(--line); } .drawer-head h2 { margin:0; font-size:28px; }
.drawer-body { padding:20px 22px 28px; overflow-y:auto; display:flex; flex-direction:column; gap:14px; }
.icon { width:44px; height:44px; border:0; background:transparent; color:var(--text); font-size:28px; cursor:pointer; }
.badge { position:absolute; top:2px; right:0; min-width:18px; height:18px; border-radius:9px; background:var(--pink); color:#1F1326; font:600 11px/18px Inter,sans-serif; text-align:center; }
.item { display:flex; gap:14px; align-items:flex-start; padding-bottom:14px; border-bottom:1px solid var(--line); } .item img { width:76px; height:76px; object-fit:cover; border-radius:12px; } .item .name { font-family:var(--serif); font-size:20px; }
.qty { display:inline-flex; align-items:center; gap:4px; margin-top:6px; border:1px solid var(--line2); border-radius:999px; } .qty button { width:44px; height:44px; border:0; background:transparent; color:var(--text); font-size:18px; cursor:pointer; } .qty span { min-width:20px; text-align:center; }
.ship { font-size:14px; color:var(--pink); } .bar { height:6px; border-radius:3px; background:var(--line); margin-top:8px; overflow:hidden; } .bar i { display:block; height:100%; background:var(--pink); }
.line { display:flex; justify-content:space-between; gap:12px; font-size:15px; color:var(--muted); } .line.strong { color:var(--text); font-weight:600; font-size:18px; border-top:1px solid var(--line); padding-top:12px; }
.field { display:flex; flex-direction:column; gap:6px; } .field label, .check { font-size:14px; color:var(--muted); }
input, select, textarea { min-height:48px; box-sizing:border-box; width:100%; padding:0 16px; border:1px solid var(--line2); border-radius:14px; background:var(--bg); color:var(--text); font:16px Inter,system-ui,sans-serif; }
input[type=checkbox] { width:22px; min-height:22px; height:22px; padding:0; accent-color:var(--accent); } .check { display:flex; align-items:center; gap:10px; min-height:44px; }
.row > input { flex:1 1 160px; width:auto; }
.stars { color:var(--pink); letter-spacing:3px; font-size:16px; }
.review { flex:1 1 300px; min-width:0; background:var(--card); border:1px solid var(--line); border-radius:24px; padding:28px; display:flex; flex-direction:column; gap:14px; font-family:Inter,system-ui,sans-serif; } .review .quote { font-family:var(--serif); font-style:italic; font-size:22px; line-height:1.3; color:var(--text); }
/* partner portal and admin */
body.page { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 Inter,system-ui,sans-serif; }
.page a { color:var(--pink); }
.top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px 24px; border-bottom:1px solid var(--line); } .top .brand { margin:0; } .top a.brand { color:var(--text); text-decoration:none; }
.wrap { max-width:1100px; margin:0 auto; padding:40px 24px 80px; display:flex; flex-direction:column; gap:28px; }
.page h1 { font-size:clamp(2.2rem,5vw,3.4rem); line-height:1.05; } .page h1 i, .page h2 i { color:var(--pink); } .page h2 { font-size:28px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:24px; padding:24px; display:flex; flex-direction:column; gap:14px; } .card.narrow { max-width:460px; }
.stats { display:flex; flex-wrap:wrap; gap:14px; } .stat { flex:1 1 150px; background:var(--card); border:1px solid var(--line); border-radius:18px; padding:18px; } .stat b { display:block; font:500 30px var(--serif); color:var(--pink); } .stat span { font-size:13px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; }
.copy { display:flex; flex-wrap:wrap; gap:10px; } .copy input { flex:1 1 220px; width:auto; }
.scroll { overflow-x:auto; } table { width:100%; border-collapse:collapse; font-size:14px; } th { text-align:left; color:var(--muted); font-weight:500; text-transform:uppercase; letter-spacing:.08em; font-size:12px; } th, td { padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; white-space:nowrap; } td.wrapcell { white-space:normal; min-width:180px; }
.pill { display:inline-block; padding:3px 10px; border-radius:999px; border:1px solid var(--line2); font-size:12px; color:var(--pink); }
.tabs { display:flex; flex-wrap:wrap; gap:8px; } .tabs button { min-height:44px; padding:0 18px; border-radius:999px; border:1px solid var(--line2); background:transparent; color:var(--text); font:500 14px Inter,sans-serif; cursor:pointer; } .tabs button[aria-pressed=true] { background:var(--accent); border-color:var(--accent); }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
/* layout helpers */
.stack { display:flex; flex-direction:column; gap:14px; } .between { justify-content:space-between; } .row.tight { gap:6px; } .inset { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:18px; }
.wrap.wide { max-width:1240px; } .textlink { min-height:44px; display:inline-flex; align-items:center; color:var(--pink); } .prose { white-space:pre-line; color:#DCCCE4; max-width:70ch; margin:0; }
.eyebrow { font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--rose); font-weight:600; } .eyebrow.dim { color:var(--muted); }
textarea { padding:12px 16px; min-height:96px; line-height:1.5; resize:vertical; } select { appearance:auto; } hr { border:0; border-top:1px solid var(--line); width:100%; }
.btn.danger { border-color:#FFB4C8; color:#FFB4C8; } input.mini, select.mini { width:140px; min-height:44px; }
/* product grid and cards */
.pgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; font-family:Inter,system-ui,sans-serif; }
.pcard { background:var(--card); border:1px solid var(--line); border-radius:24px; padding:12px; display:flex; flex-direction:column; gap:14px; min-width:0; }
.pimg { position:relative; display:block; } .pimg img, .noimg { display:block; width:100%; height:300px; object-fit:cover; border-radius:16px; background:#33203D; } .noimg.small { width:76px; height:76px; border-radius:12px; }
.ptag { position:absolute; top:12px; left:12px; padding:6px 12px; border-radius:999px; background:var(--pink); color:#1F1326; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.pbody { padding:0 8px; display:flex; flex-direction:column; gap:6px; } .pname { font:500 26px/1.1 var(--serif); color:var(--text); text-decoration:none; } .pname:hover { color:var(--pink); }
.dots { display:flex; gap:8px; margin-top:4px; } .dots span { width:16px; height:16px; border-radius:50%; border:1.5px solid var(--text); }
.pfoot { margin-top:auto; padding:0 8px 8px; display:flex; align-items:center; justify-content:space-between; gap:12px; } .pprice { font:24px var(--serif); color:var(--text); }
.pcard .btn { background:var(--accent); color:#fff; box-shadow:0 8px 24px rgba(194,67,127,.4); }
.toolbar { display:flex; flex-wrap:wrap; gap:12px; } .toolbar input { flex:1 1 240px; width:auto; } .toolbar select { flex:0 1 220px; width:auto; }
/* product page */
.thumbs { display:flex; gap:14px; } .thumb { flex:1 1 0; min-width:0; max-width:160px; padding:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:none; cursor:pointer; } .thumb img { display:block; width:100%; height:110px; object-fit:cover; }
.opt { min-width:44px; min-height:44px; padding:0 16px; border-radius:999px; border:2px solid var(--line); background:transparent; color:var(--text); font:500 14px Inter,sans-serif; cursor:pointer; } .opt.swatch { width:44px; padding:0; border-radius:50%; } .opt.on { border-color:var(--pink); }
.acc { border-top:1px solid var(--line); padding:6px 0; color:var(--text); font-family:Inter,system-ui,sans-serif; } .acc summary { min-height:48px; display:flex; align-items:center; cursor:pointer; font-weight:600; } .accbody { color:var(--muted); font-size:15px; padding-bottom:14px; } .accbody p { margin:0 0 10px; } .accbody a { color:var(--pink); }
.specs { display:grid; grid-template-columns:max-content 1fr; gap:6px 18px; margin:0; } .specs dt { color:var(--text); } .specs dd { margin:0; }
/* notices */
.cookiebar { position:fixed; left:16px; right:16px; bottom:16px; z-index:55; max-width:720px; margin:0 auto; background:var(--panel); border:1px solid var(--line2); border-radius:20px; padding:18px 20px; color:var(--text); font:14px/1.5 Inter,system-ui,sans-serif; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.cookiebar p { margin:0; flex:1 1 300px; } .cookiebar a { color:var(--pink); }
.toast { position:fixed; top:16px; left:50%; transform:translateX(-50%); z-index:70; max-width:calc(100vw - 32px); background:var(--pink); color:#1F1326; padding:14px 20px; border-radius:14px; font:600 14px Inter,system-ui,sans-serif; box-shadow:0 12px 40px rgba(0,0,0,.4); }
.warn { background:#3A2A14; border:1px solid #8A6A2A; color:#FFE2A8; border-radius:14px; padding:14px 18px; font-size:14px; } .warn ul { margin:6px 0 0; padding-left:18px; }
/* admin bits */
details.card > summary { cursor:pointer; min-height:44px; display:flex; align-items:center; gap:12px; } img.tiny { width:44px; height:44px; object-fit:cover; border-radius:10px; }
.photo { position:relative; } .photo img { display:block; width:88px; height:88px; object-fit:cover; border-radius:12px; border:1px solid var(--line); } .photo button { position:absolute; top:-10px; right:-10px; width:32px; height:32px; border-radius:50%; border:1px solid var(--line2); background:var(--bg); color:var(--text); cursor:pointer; font-size:18px; }
.vrow { display:flex; flex-wrap:wrap; gap:8px; align-items:center; } .vrow input[type=text], .vrow input:not([type]) { flex:2 1 160px; width:auto; } .vrow input[type=number] { flex:1 1 110px; width:auto; } .vrow input[type=color] { width:52px; padding:4px; }
input[type=file] { padding:10px; height:auto; }
