/* Dukan OS storefront. --brand and --accent come from the owner's colours; .theme-classic / -modern / -bold change the look */
:root { --ink: #1c1f24; --muted: #5f6670; --line: #e3e5e8; --bg: #fff; --soft: #f5f6f8; --radius: 10px; }
body { color: var(--ink); background: var(--bg); }
body.font-serif { font-family: Georgia, 'Times New Roman', serif; }
body.font-rounded { font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif; }
a { color: var(--brand); }
.skip { position: absolute; top: 0; inset-inline-start: 8px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip:focus { clip-path: none; width: auto; height: auto; z-index: 99; background: #fff; padding: 6px 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.btn-brand { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { filter: brightness(0.92); color: var(--on-accent); background: var(--accent); }
.topbar { background: var(--brand); color: var(--on-brand); padding: 4px 0; } .topbar select { width: auto; }
.mainbar { display: flex; align-items: center; gap: 18px; padding: 14px 12px; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; flex: none; } .brand img { max-width: 220px; object-fit: contain; }
.search { flex: 1; max-width: 560px; }
.icons { display: flex; gap: 16px; margin-inline-start: auto; } .icons a { color: var(--ink); position: relative; }
.cart-link .badge { position: absolute; top: -8px; inset-inline-end: -10px; background: var(--accent); color: var(--on-accent); border-radius: 999px; font-size: 0.7rem; }
.catnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .catnav .container { display: flex; gap: 22px; overflow-x: auto; padding: 10px 12px; }
.catnav a { color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 500; } .catnav a:hover { color: var(--brand); }
.hero { background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 88%, #000), var(--brand)); color: var(--on-brand); padding: 70px 0; position: relative; }
.hero[style*="--hero"] { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--hero) center / cover; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; max-width: 760px; } .hero .lead { max-width: 640px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.pimg { position: relative; display: block; aspect-ratio: 1; background: var(--soft); } .pimg img { width: 100%; height: 100%; object-fit: cover; }
.sale { position: absolute; top: 8px; inset-inline-start: 8px; background: #c0392b; color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; }
.noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 10px, #eceef1 10px, #eceef1 20px); } .noimg.big { aspect-ratio: 1; border-radius: var(--radius); }
.pbody { padding: 12px 14px; } .pbody h3 { font-size: 1rem; margin: 0 0 6px; } .pbody h3 a { color: var(--ink); text-decoration: none; }
.pprice { font-weight: 700; margin: 0 0 4px; } .rating { color: #e8a317; margin: 0; } .rating a { color: #e8a317; text-decoration: none; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.catcard { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--brand); color: #fff; text-decoration: none; }
.catcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; } .catcard span { position: relative; padding: 10px 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.gallery .main { width: 100%; height: auto; border-radius: var(--radius); background: var(--soft); } .thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 6px; background: none; } .thumbs button[aria-current="true"] { border-color: var(--accent); } .thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.bigprice { font-size: 1.7rem; font-weight: 800; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; } .variant { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.variant:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); } .variant.out { opacity: .5; text-decoration: line-through; } .variant input { margin-inline-end: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; } .faq summary { font-weight: 600; cursor: pointer; }
.review { border-bottom: 1px solid var(--line); padding: 10px 0; } .review b { color: #b57d00; }
.summary { background: var(--soft); border-radius: var(--radius); padding: 18px; position: sticky; top: 16px; }
.paymethods { display: grid; gap: 10px; } .pm { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.pm:has(input:checked) { border-color: var(--accent); } .pm small { display: block; color: var(--muted); }
.site-footer { background: #15181c; color: #cfd3d8; padding: 40px 0 26px; margin-top: 60px; } .site-footer a { color: #e7eaee; } .site-footer .legal { color: #9aa1a9; }
.prose h2, .prose h3 { margin-top: 1.4em; }
/* Modern: white, airy, bigger pictures */
.theme-modern .topbar { background: var(--soft); color: var(--ink); } .theme-modern .catnav { border: 0; } .theme-modern .pcard { border: 0; } .theme-modern .pimg { border-radius: 14px; overflow: hidden; }
.theme-modern .hero { background: var(--soft); color: var(--ink); padding: 90px 0; } .theme-modern .hero[style*="--hero"] { color: #fff; } .theme-modern .pgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px; }
.theme-modern .site-footer { background: var(--soft); color: var(--muted); } .theme-modern .site-footer a { color: var(--ink); }
/* Bold: dark header, strong colour */
.theme-bold .site-header { background: #111; color: #fff; } .theme-bold .brand, .theme-bold .icons a, .theme-bold .catnav a { color: #fff; } .theme-bold .catnav { border-color: #2a2a2a; background: var(--brand); }
.theme-bold .topbar { background: var(--accent); color: var(--on-accent); } .theme-bold .hero { background: linear-gradient(135deg, var(--accent), var(--brand)); } .theme-bold .pcard { border: 2px solid #111; border-radius: 0; } .theme-bold .btn-brand { border-radius: 0; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 720px) { .mainbar { flex-wrap: wrap; } .search { order: 3; flex-basis: 100%; max-width: none; } .summary { position: static; } }
