/* Storefront components (loaded after style.css) */
.site-wrap { position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,.96); backdrop-filter: blur(8px); }
.site-wrap .site-header { position: static; background: none; backdrop-filter: none; border-bottom: 1px solid #1c1c1c; }
.announce { background: var(--green); color: #000; text-align: center; font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; padding: 7px 12px; }
.navcats { display: none; }
.tools a.cartlink, .tools button { position: relative; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; color: #000; padding: 8px 14px; }

/* search overlay */
.search-ov { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 8vh 16px; }
.search-ov.open { display: flex; }
.search-box { width: min(640px, 100%); background: #0e0e0e; border: 1px solid #333; padding: 16px; }
.search-box form { display: flex; gap: 8px; } .search-box input { flex: 1; background: #151515; border: 1px solid #333; color: #fff; padding: 14px; font: 500 18px var(--body); }
.search-box #sx { width: 48px; font-size: 20px; border: 1px solid #333; }
.sr { display: flex; align-items: center; gap: 14px; padding: 10px 6px; border-bottom: 1px solid #1c1c1c; } .sr:hover { background: #151515; }
.sr img { width: 48px; height: 52px; object-fit: contain; background: #151515; } .sr span { flex: 1; } .sr small { display: block; color: #999; } .sr em { font-style: normal; font-family: var(--cond); font-weight: 700; }
.sr.all { justify-content: center; color: var(--green); font-family: var(--cond); letter-spacing: .1em; text-transform: uppercase; } .sr-none { padding: 20px; color: #999; text-align: center; }

/* footer */
.footer { background: #070707; border-top: 1px solid #1c1c1c; }
.foot-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding: 48px 40px; max-width: 1280px; margin: 0 auto; }
.news h3 { font-size: 40px; margin-bottom: 8px; } .news p { color: #bbb; margin-bottom: 14px; }
.newsform { display: flex; max-width: 420px; } .newsform input { flex: 1; min-width: 0; background: #111; border: 1px solid #333; border-right: 0; color: #fff; padding: 12px 14px; font: 500 15px var(--body); }
.newsform .btn { padding: 12px 20px; } .msg { color: var(--green) !important; font-size: 14px; margin-top: 8px; min-height: 20px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .cols h4 { font-family: var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-size: 14px; margin-bottom: 12px; }
.cols a { display: block; color: #ccc; padding: 4px 0; font-size: 15px; } .cols a:hover { color: #fff; text-decoration: underline; }
.footer .footer-banner { margin: 0; } .adm-link { opacity: .5; }

/* product grid + cards */
.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.p { position: relative; } .p a.pic { display: block; } .p h3 { padding: 0 10px; } .p .col, .p .price { padding: 0 10px; }
.p .heart { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #aaa; font-size: 18px; display: grid; place-items: center; }
.p .heart:hover { color: #fff; } .p .heart.on { color: #ff4d6d; }
.p .btn.add { margin-top: 6px; }
.stars { display: inline-flex; gap: 1px; font-size: 14px; letter-spacing: 1px; } .stars .on { color: #ffc83d; } .stars .off { color: #444; } .stars small { color: #999; margin-left: 6px; letter-spacing: 0; font-size: 12px; }
.price s { color: #888; font-weight: 400; margin-left: 6px; } .tagb.sale { background: #ff4d4d; color: #fff; }
.pagehead { padding: 48px 40px 20px; max-width: 1280px; margin: 0 auto; } .pagehead h1 { font-size: clamp(48px, 7vw, 88px); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 40px; background: #080808; border-bottom: 1px solid #1c1c1c; }
.toolbar input, .toolbar select { background: #151515; border: 1px solid #333; color: #fff; padding: 10px 12px; font: 500 14px var(--body); }
.toolbar input[type=search] { flex: 1 1 220px; } .toolbar label { display: flex; align-items: center; gap: 8px; color: #ccc; font-size: 14px; } .toolbar .count { margin-left: auto; color: #999; font-size: 14px; }
.hero-card { cursor: pointer; }

/* product page */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 40px 24px 60px; }
.gal .main { background: radial-gradient(circle at 50% 40%, #2d2d2d, #101010 70%); aspect-ratio: 1 / 1.1; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.gal .main img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.55)); transition: transform .3s; } .gal .main:hover img { transform: scale(1.08); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; } .thumbs button { width: 74px; height: 80px; background: #111; border: 2px solid transparent; padding: 4px; } .thumbs button.on { border-color: var(--green); } .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info h1 { font-size: clamp(40px, 5vw, 60px); margin: 6px 0 6px; } .info .crumbs a:hover { color: var(--green); }
.info .price { font-family: var(--cond); font-weight: 700; font-size: 32px; margin: 10px 0; } .info .price s { font-size: 20px; } .info .price .off { background: #ff4d4d; color: #fff; font-size: 14px; padding: 2px 8px; margin-left: 10px; vertical-align: middle; }
.info .desc { color: #ccc; margin: 14px 0 20px; } .lbl { font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #bbb; margin: 18px 0 8px; display: flex; justify-content: space-between; }
.lbl button { text-decoration: underline; color: var(--green); font-size: 12px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; } .sizes button { min-width: 54px; padding: 12px 14px; border: 1px solid #444; font-family: var(--cond); font-weight: 700; letter-spacing: .08em; }
.sizes button:hover:not(:disabled) { border-color: #fff; } .sizes button.on { background: var(--green); color: #000; border-color: var(--green); } .sizes button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.buyrow { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; } .buyrow .btn { flex: 1; justify-content: center; min-width: 180px; } .buyrow .qty { align-self: stretch; } .buyrow .qty button { width: 42px; height: 100%; }
.stockmsg { margin-top: 10px; font-size: 14px; color: #ffb020; } .stockmsg.ok { color: #9be45a; } .stockmsg.no { color: #ff6b6b; }
details.acc { border-top: 1px solid #222; padding: 14px 0; } details.acc:last-of-type { border-bottom: 1px solid #222; } details.acc summary { cursor: pointer; font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; } details.acc summary::after { content: '+'; } details.acc[open] summary::after { content: '–'; } details.acc p { color: #ccc; margin-top: 10px; font-size: 15px; }
.section { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; } .section > h2 { font-size: 40px; margin-bottom: 20px; }
.rev { padding: 16px 0; border-bottom: 1px solid #1c1c1c; } .rev b { margin-right: 8px; } .rev small { color: #888; } .rev p { color: #ccc; margin-top: 6px; }
.rform { display: grid; gap: 12px; max-width: 560px; margin-top: 20px; } .rform input, .rform textarea, .rform select { background: #151515; border: 1px solid #333; color: #fff; padding: 11px 12px; font: 500 15px var(--body); width: 100%; }
.rate-in { display: flex; gap: 4px; } .rate-in button { font-size: 30px; color: #444; } .rate-in button.on { color: #ffc83d; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 95; display: none; place-items: center; padding: 16px; } .modal.open { display: grid; }
.modal > div { background: #0e0e0e; border: 1px solid #333; padding: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; } .modal table { width: 100%; border-collapse: collapse; margin: 14px 0; } .modal th, .modal td { padding: 8px; border-bottom: 1px solid #222; text-align: left; font-size: 14px; }

/* home */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px; padding: 6px; background: #000; }
.cat-tile { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #2b2b2b, #0e0e0e 70%); display: grid; place-items: center; overflow: hidden; }
.cat-tile img { width: 76%; height: 76%; object-fit: contain; transition: transform .3s; filter: drop-shadow(0 12px 12px rgba(0,0,0,.5)); } .cat-tile:hover img { transform: scale(1.08); }
.cat-tile span { position: absolute; left: 14px; bottom: 12px; font-family: var(--head); font-style: italic; text-transform: uppercase; font-size: 26px; text-shadow: 2px 2px 0 #000; }
.home-sec { padding: 56px 0 10px; } .home-sec > h2 { text-align: center; font-size: clamp(40px, 5vw, 64px); margin-bottom: 26px; display: block; }

/* tabs, account, tracking, prose */
.tabsbar { display: flex; gap: 6px; border-bottom: 1px solid #222; margin-bottom: 24px; overflow-x: auto; }
.tabsbar button { font-family: var(--head); font-style: italic; text-transform: uppercase; font-size: 20px; padding: 10px 20px; color: #888; border-bottom: 3px solid transparent; white-space: nowrap; } .tabsbar button.on { color: var(--green); border-color: var(--green); }
.ordcard { padding: 16px 0; border-bottom: 1px solid #1c1c1c; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; } .ordcard .st { text-transform: capitalize; font-size: 12px; font-family: var(--cond); letter-spacing: .1em; border: 1px solid #444; padding: 2px 8px; margin-left: 8px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: #1a1a1a; }
.timeline { display: flex; justify-content: space-between; margin: 24px 0; position: relative; } .timeline::before { content: ''; position: absolute; top: 14px; left: 8%; right: 8%; height: 3px; background: #2a2a2a; }
.timeline div { flex: 1; text-align: center; position: relative; font-family: var(--cond); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: #777; } .timeline i { display: block; width: 30px; height: 30px; border-radius: 50%; background: #222; margin: 0 auto 8px; line-height: 30px; font-style: normal; color: #000; position: relative; }
.timeline .done { color: #fff; } .timeline .done i { background: var(--green); }
.prose { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; } .prose h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 24px; } .prose h2 { font-family: var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-size: 20px; margin: 28px 0 8px; } .prose p, .prose li { color: #ccc; margin-bottom: 10px; } .prose ul { padding-left: 20px; list-style: disc; } .prose a { text-decoration: underline; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; } .notfound h1 { font-size: 120px; }
.co textarea { background: #151515; border: 1px solid #333; color: #fff; padding: 12px; font: 500 15px var(--body); width: 100%; }
.couponrow { display: flex; gap: 8px; margin: 14px 0 6px; } .couponrow input { flex: 1; min-width: 0; } .couponrow .btn { padding: 10px 16px; font-size: 13px; } .okmsg { color: var(--green); font-size: 14px; } .chkline { display: flex; gap: 10px; align-items: center; text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 14px; color: #ccc; } .chkline input { width: 18px; accent-color: var(--green); }

@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; gap: 24px; } .foot-top { grid-template-columns: 1fr; padding: 32px 20px; } .cols { grid-template-columns: 1fr 1fr; } .toolbar { padding: 12px 20px; } .pagehead { padding: 32px 20px 12px; }
  .navcats { display: block; border-top: 1px solid #222; margin-top: 8px; padding-top: 8px; } .nav .navcats a { font-size: 14px; opacity: .8; display: block; }
  .site-wrap .nav { top: auto; position: absolute; left: 0; right: 0; margin-top: 0; } .site-wrap .site-header { position: relative; }
}
.sum .couponrow .btn { width: auto; margin-top: 0; } .couponrow input { width: auto; }
.site-wrap .nav { top: 100%; }
