/* SYNDICATE — unified storefront design */
*{box-sizing:border-box}
:root{color-scheme:dark;--accent:#c6ff00;--bg:#090a08;--panel:#131510;--line:#292d23;--text:#f5f6ef;--muted:#a0a497}
html{scroll-behavior:smooth;scroll-padding-top:16px}
body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 Arial,Helvetica,sans-serif}
header{position:relative;padding:25px 18px 20px;background:radial-gradient(ellipse at 85% 10%,#303b1b 0,transparent 48%),linear-gradient(135deg,#181a14,#090a08 72%);border-bottom:2px solid var(--accent);overflow:hidden}
h1{margin:0;color:var(--accent);font-size:clamp(42px,11vw,76px);font-weight:1000;font-style:italic;letter-spacing:-3px;line-height:.95}
header p{margin:10px 0 0;color:#d7dacd;font-size:9px;font-weight:800;letter-spacing:3px}
nav,.cats{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}
button{cursor:pointer;background:#1b1d17;color:var(--text);border:1px solid #383c30;border-radius:5px;padding:10px 12px;font:700 11px Arial,sans-serif;transition:background .15s,border-color .15s}
button:hover{border-color:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
main{width:100%;max-width:1120px;margin:0 auto;padding:18px 12px 30px}
.hero{position:relative;min-height:300px;margin:0 0 28px;padding:24px 18px;background:radial-gradient(ellipse at 85% 70%,#35451b 0,transparent 43%),linear-gradient(145deg,#20221b,#0b0c09 70%);border:1px solid #34392a;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden}
.hero:after{content:"S";position:absolute;right:-8px;top:18px;font-size:clamp(150px,42vw,250px);font-weight:1000;font-style:italic;line-height:1;color:#ffffff08;pointer-events:none}
.hero-tag{position:relative;z-index:1;color:var(--accent);font-size:9px;font-weight:900;letter-spacing:2px}
.hero-title{position:relative;z-index:1;font-size:clamp(54px,14vw,90px);font-weight:1000;letter-spacing:-4px;line-height:.82;margin:22px 0;text-transform:uppercase}
.hero-title i{color:var(--accent);font-style:normal}
.hero p{position:relative;z-index:1;color:#b8bbad;font-size:9px;letter-spacing:2px}
.hero-cta{position:relative;z-index:1;display:inline-block;margin-top:12px;padding:13px 15px;background:var(--accent);color:#090a08;text-decoration:none;font-size:10px;font-weight:1000;letter-spacing:.6px;border-radius:4px}
h2{color:var(--text);font-size:clamp(22px,6vw,32px);font-weight:1000;letter-spacing:-1px;text-transform:uppercase;margin:8px 0 15px}
#heading:before{content:"01 / ";color:var(--accent);font-size:.55em;letter-spacing:1px}
.cats{margin-top:0;margin-bottom:18px;gap:7px}
.cats button{padding:9px 10px;font-size:10px;letter-spacing:.2px}
.cats button.active{background:var(--accent);color:#090a08;border-color:var(--accent)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;align-items:stretch}
.card{position:relative;display:flex;flex-direction:column;min-width:0;padding:6px;background:linear-gradient(145deg,#171912,#10110e);border:1px solid #292d23;border-radius:7px;overflow:hidden;transition:border-color .18s,transform .18s}
.card:hover{border-color:#748e28}
.pic{position:relative;width:100%;height:clamp(145px,49vw,230px);flex-shrink:0;background:#1b1d17;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;color:var(--accent);font-size:0}
.pic img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;background:#141510}
.pic.syndicate-placeholder:not(:has(img)){background:radial-gradient(ellipse at center,#29351a,#10110e 72%)}
.pic.syndicate-placeholder:not(:has(img)) .placeholder-mark,.pic.syndicate-placeholder:not(:has(img)) .placeholder-brand{display:none}
.pic.syndicate-placeholder:not(:has(img)):before{content:"S";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:clamp(56px,17vw,88px);font-weight:1000;font-style:italic;text-shadow:3px 3px 0 #ffffff12}
.pic.syndicate-placeholder:not(:has(img)):after{content:"SYNDICATE";position:absolute;bottom:12px;left:0;right:0;text-align:center;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:3px}
.card h3{font-size:11px;line-height:1.4;min-height:32px;margin:11px 3px 5px;text-transform:uppercase;font-weight:900;letter-spacing:.2px;overflow-wrap:anywhere}
.price{color:var(--accent);font-weight:1000;font-size:clamp(18px,5vw,23px);letter-spacing:-.5px;margin:7px 3px}
.small{color:var(--muted);font-size:10px;margin:5px 3px}
.add{width:100%;margin-top:auto;padding:12px 4px;background:var(--accent);color:#090a08;border:1px solid var(--accent);border-radius:4px;font-weight:1000;font-size:10px;letter-spacing:.3px;text-transform:uppercase}
.add:hover,#checkout:hover{background:#dcff6b;color:#090a08}
.cart{position:relative;margin-top:25px;padding:13px;background:var(--panel);border:1px solid #3b432c;border-top:3px solid var(--accent);border-radius:7px;overflow-wrap:anywhere}
.cart h2{font-size:19px;margin:4px 0 12px}
.cartrow{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0;flex-wrap:wrap}
.cartrow button{min-width:35px}
#cartitems{font-size:12px}
#total{font-size:14px}
#checkout{background:var(--accent);color:#090a08;border:1px solid var(--accent);border-radius:4px;font-weight:1000;text-transform:uppercase}
input,select,textarea{max-width:100%;background:#10120f!important;color:var(--text)!important;border:1px solid #42473c!important;border-radius:4px!important;padding:10px!important}
#status{text-align:center;color:var(--muted);padding:16px 8px;font-size:12px}
footer{text-align:center;color:#858b7d;padding:25px 12px;border-top:1px solid var(--line);font-size:9px;letter-spacing:3px}
section[id^=admin]{border-radius:7px!important;overflow-wrap:anywhere}
#adminOrdersPanel,#adminProductsPanel{color:var(--text);line-height:1.6}
#adminProductsPanel input,#adminProductsPanel select{width:100%;margin:4px 0}
#adminProductsPanel>div{padding:12px 0;border-bottom:1px solid var(--line)}
@media(min-width:650px){
  header{padding:30px 28px 24px}
  main{padding:26px 22px 40px}
  .hero{min-height:380px;padding:35px}
  .hero-title{font-size:clamp(90px,12vw,120px)}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .pic{height:260px}
  .card{padding:8px}
  .card h3{font-size:12px}
}
@media(min-width:950px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  .pic{height:270px}
  .hero{min-height:430px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* Separate admin screen */
#adminToolbar{display:none}
body.admin-mode{background:var(--bg);min-height:100vh}
body.admin-mode #adminToolbar{display:flex;position:sticky;top:0;z-index:1000;flex-direction:column;gap:14px;padding:16px;background:#11130e;border-bottom:2px solid var(--accent)}
body.admin-mode #adminToolbar strong{color:var(--accent);font-size:20px;letter-spacing:1px}
body.admin-mode .admin-tabs{display:flex;gap:10px}
body.admin-mode .admin-tabs button{flex:1}
body.admin-mode header,body.admin-mode footer{display:none!important}
body.admin-mode main{padding:12px;max-width:900px}
body.admin-mode main>:not(#adminDashboardPanel):not(#adminOrdersPanel):not(#adminProductsPanel):not(#adminFinancePanel):not(#adminAnalyticsPanel):not(#adminCrmPanel):not(#adminStockHistoryPanel){display:none!important}
body.admin-mode #adminOrdersPanel,body.admin-mode #adminProductsPanel{display:block!important;margin:0;padding:16px;background:var(--panel);border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:8px;overflow-wrap:anywhere}
body.admin-mode #adminOrdersPanel button,body.admin-mode #adminProductsPanel button{margin:4px 4px 4px 0}
body.admin-mode #adminOrdersPanel select,body.admin-mode #adminProductsPanel input,body.admin-mode #adminProductsPanel select{width:100%;box-sizing:border-box;margin:5px 0}

/* SYNDICATE — compact storefront */
header {
  padding: 15px 14px 13px;
}

h1 {
  font-size: clamp(34px, 9vw, 48px);
  letter-spacing: -2px;
}

header p {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 2px;
}

nav {
  margin-top: 10px;
  gap: 6px;
}

nav button {
  padding: 8px 10px;
}

main {
  padding: 12px 10px 24px;
}

.hero {
  min-height: 0;
  margin-bottom: 20px;
  padding: 17px 15px;
  border-radius: 8px;
}

.hero:after {
  top: 4px;
  font-size: clamp(110px, 30vw, 170px);
}

.hero-title {
  font-size: clamp(38px, 10vw, 56px);
  line-height: .9;
  letter-spacing: -2px;
  margin: 12px 0;
}

.hero p {
  margin: 5px 0;
}

.hero-cta {
  margin-top: 8px;
  padding: 10px 12px;
}

h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cats {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cats button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.pic {
  height: clamp(130px, 43vw, 190px);
}

.card {
  padding: 5px;
  border-radius: 7px;
}

.card h3 {
  font-size: 11px;
  min-height: 30px;
  margin: 8px 3px 4px;
}

.price {
  font-size: 19px;
  margin: 5px 3px;
}

.small {
  font-size: 10px;
}

.add {
  padding: 11px 3px;
  font-size: 10px;
}

@media (min-width: 650px) {
  .hero {
    padding: 24px;
  }

  .hero-title {
    font-size: 70px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 950px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* SYNDICATE — Moncler-inspired full-screen navigation */
.menu-open {
  position:absolute;
  right:14px;
  top:14px;
  z-index:2;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid #42483a;
  border-radius:50%;
  background:#11130e;
  color:var(--accent);
  font-size:22px;
}
#storeMenu {
  display:none;
  position:fixed;
  inset:0;
  z-index:5000;
  overflow-y:auto;
  padding:24px 22px 30px;
  background:#090a08;
  color:var(--text);
}
#storeMenu.is-open {display:flex;flex-direction:column}
body.menu-open {overflow:hidden}
.menu-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0 40px;
}
.menu-logo {font-size:27px;font-weight:1000;letter-spacing:-1.5px;font-style:italic}
.menu-logo span {color:var(--accent)}
.menu-close {
  width:44px;height:44px;padding:0;
  border-radius:50%;font-size:32px;font-weight:400;
  background:#1b1d17;color:var(--text);
}
.menu-links {display:flex;flex-direction:column;flex:1}
.menu-link {
  display:flex;align-items:center;justify-content:space-between;
  width:100%;min-height:67px;padding:15px 2px;
  border:0;border-bottom:1px solid #292d23;border-radius:0;
  background:transparent;text-align:left;
  font-size:clamp(20px,6vw,27px);font-weight:400;letter-spacing:-.4px;
}
.menu-link.selected {color:var(--accent)}
.menu-arrow {font-size:32px;font-weight:300;color:var(--accent);line-height:1}
.menu-bottom {
  display:flex;flex-wrap:wrap;gap:8px;
  padding-top:30px;
}
.menu-bottom button {flex:1 1 40%;min-height:44px}
.menu-foot {
  margin-top:28px;padding-top:17px;
  border-top:1px solid #292d23;
  color:#85897c;font-size:9px;letter-spacing:2px;
}
@media(min-width:650px) {
  #storeMenu {padding:32px 8vw}
  .menu-link {min-height:74px;font-size:28px}
}


/* Clean shop home: products first */
.visually-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.hero { display:none!important; }
#cats { margin-top:4px!important; }
#products { margin-top:14px!important; }

/* Categories are available through the full-screen menu */
#cats {
  display: none !important;
}

/* Calvin Klein-inspired Syndicate header */
.store-header {
  min-height:104px;
  padding:16px 18px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:8px;
  background:#090a08;
  border-bottom:1px solid #292d23;
  overflow:visible;
}
.store-header-side {display:flex;align-items:center;gap:8px}
.store-header-right {justify-content:flex-end}
.store-header .header-icon {
  width:42px;height:44px;padding:8px 4px;
  display:flex;align-items:center;justify-content:center;
  background:transparent;border:0;border-radius:4px;
  color:var(--text);font-size:26px;font-weight:400;
}
.store-header .header-icon svg {
  width:29px;height:29px;fill:none;stroke:currentColor;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}
.store-header .store-logo {
  margin:0;color:var(--text);
  font-size:clamp(20px,5.5vw,29px);
  font-weight:800;font-style:normal;letter-spacing:-1.5px;
  line-height:1;white-space:nowrap;
}
.store-header .store-logo span {color:var(--accent)}
#storeSearchWrap {display:none;padding:12px 16px;background:#090a08}
#storeSearchWrap.search-open {display:block}
#storeSearch {width:100%;font-size:16px}
.store-header nav {display:none}
@media(max-width:370px) {
  .store-header {padding:12px 8px;gap:2px}
  .store-header-side {gap:0}
  .store-header .header-icon {width:36px}
  .store-header .store-logo {font-size:19px;letter-spacing:-1px}
}

/* Cart opens as a separate page */
#cartPage {display:none}
#cartPage.cart-page-open {
  display:block;position:fixed;inset:0;z-index:4500;
  overflow-y:auto;background:var(--bg);padding:20px 14px 32px;
}
.cart-page-head {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-bottom:20px;
}
.cart-page-head h2 {margin:0;font-size:22px}
#cartPage .cart {display:block!important;margin:0}
.cart-badge {
  position:absolute;top:0;right:0;transform:translate(20%,-15%);
  min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;
  justify-content:center;align-items:center;border-radius:20px;
  background:var(--accent);color:#090a08;font-size:11px;font-weight:900;
  border:2px solid #090a08;
}
.store-header .header-icon:last-child {position:relative}
body.cart-page-mode {overflow:hidden}
body.cart-page-mode header {visibility:hidden}
body.cart-page-mode #cartPage.cart-page-open {z-index:6000}


/* Shopping bag — clean luxury light layout */
#cartPage.cart-page-open {
  background:#f7f7f2!important;
  color:#111!important;
  padding:18px 18px 30px!important;
  box-sizing:border-box;
}
#cartPage .cart-page-head {
  display:flex;flex-direction:column;align-items:stretch;
  gap:18px;margin:0 -18px 0;padding:0 18px 18px;
  border-bottom:1px solid #d7d7d1;
}
#cartPage .cart-page-head button {
  align-self:flex-start;background:transparent;color:#111;
  border:0;padding:8px 0;font-size:14px;
}
#cartPage .cart-page-head h2 {
  color:#111;font-size:24px;font-weight:500;
  letter-spacing:.2px;text-transform:none;
}
#cartPage .cart {
  background:#f7f7f2!important;color:#111!important;
  border:0!important;border-radius:0!important;
  margin:0!important;padding:18px 0 20px!important;
  overflow:visible!important;
}
#cartPage #carttitle {display:none}
#cartPage #cartitems {display:flex;flex-direction:column;gap:0}
#cartPage .bag-item {
  display:grid;grid-template-columns:112px minmax(0,1fr);
  gap:16px;padding:18px 0 26px;
  border-bottom:1px solid #deded8;
  background:transparent;
}
#cartPage .bag-photo {
  width:100%;min-height:140px;display:flex;
  align-items:center;justify-content:center;
  background:#eeeeea;color:#888;font-size:48px;font-weight:900;
  overflow:hidden;
}
#cartPage .bag-photo img {
  display:block;width:100%;height:145px;object-fit:contain;
}
#cartPage .bag-details {min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#cartPage .bag-name {font-size:16px;line-height:1.4;font-weight:500;overflow-wrap:anywhere;color:#111}
#cartPage .bag-price {font-size:17px;color:#111;font-weight:600}
#cartPage .bag-quantity {display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#111;font-size:14px}
#cartPage .bag-quantity button {
  border:0;background:transparent;color:#111;
  padding:2px 5px;font-size:25px;font-weight:400;
}
#cartPage .bag-qty {min-width:12px;text-align:center;font-size:16px}
#cartPage #total {color:#111;font-size:19px}
#cartPage .cartrow {
  color:#111;background:transparent;border:0;
}
#cartPage .cartrow button {color:#111}
#cartPage .cartrow:last-child {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding-top:18px;border-top:1px solid #d7d7d1;
}
#cartPage #checkout {
  background:#111!important;color:#fff!important;
  border:1px solid #111!important;border-radius:0!important;
  min-height:54px;padding:14px 20px!important;
  font-size:14px;letter-spacing:1px;
}
#cartPage #cartitems:empty {padding:12px 0}
#cartPage #cartitems:not(:has(.bag-item)) {padding:18px 0;color:#666}
@media(max-width:380px) {
  #cartPage.cart-page-open {padding:14px 12px 24px!important}
  #cartPage .cart-page-head {margin:0 -12px;padding:0 12px 16px}
  #cartPage .bag-item {grid-template-columns:92px minmax(0,1fr);gap:12px}
  #cartPage .bag-photo img {height:125px}
  #cartPage .bag-name {font-size:14px}
}

/* Keep Syndicate dark/neon theme on the shopping bag */
#cartPage.cart-page-open {
  background:var(--bg)!important;
  color:var(--text)!important;
}
#cartPage .cart-page-head {
  background:var(--bg)!important;
  border-bottom:1px solid var(--line)!important;
}
#cartPage .cart-page-head button {
  background:transparent!important;
  color:var(--text)!important;
}
#cartPage .cart-page-head h2 {
  color:var(--text)!important;
}
#cartPage .cart {
  background:var(--bg)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
#cartPage .bag-item {
  background:var(--panel)!important;
  border-bottom:1px solid var(--line)!important;
  border-radius:8px;
  padding:12px;
  margin-bottom:12px;
}
#cartPage .bag-photo {
  background:#1b1d17!important;
  color:var(--accent)!important;
  border-radius:5px;
}
#cartPage .bag-name,
#cartPage .bag-price,
#cartPage .bag-quantity,
#cartPage .bag-quantity button,
#cartPage .bag-qty,
#cartPage #total {
  color:var(--text)!important;
}
#cartPage .bag-price {
  color:var(--accent)!important;
}
#cartPage #checkout {
  background:var(--accent)!important;
  color:#090a08!important;
  border-color:var(--accent)!important;
  border-radius:5px!important;
}

/* Syndicate home showcase */
#homeIntro {padding:12px 0 4px}
.home-kicker {
  color:var(--accent);font-size:9px;font-weight:900;
  letter-spacing:2px;margin:5px 0 8px
}
#homeHeadline {
  font-size:clamp(26px,7vw,34px);letter-spacing:-1px;
  margin:0 0 7px;text-transform:uppercase
}
#homeSub {color:var(--muted);font-size:13px;margin:0 0 20px}
#homeCategoryTiles {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;margin:16px 0 25px
}
.home-tile {
  min-width:0;min-height:91px;padding:12px;
  display:grid;grid-template-columns:1fr auto;
  grid-template-rows:1fr auto;gap:8px;
  align-items:center;text-align:left;
  background:linear-gradient(145deg,#171912,#10110e);
  border:1px solid #292d23;border-radius:7px;
  color:var(--text);font-size:14px;font-weight:800
}
.home-tile .tile-icon {
  grid-column:1 / -1;color:var(--accent);font-size:25px;
  line-height:1
}
.home-tile b {color:var(--accent);font-size:18px}
.home-tile:active {border-color:var(--accent)}
.home-section-heading {
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:10px;margin:5px 0 8px
}
.home-section-heading h2 {
  font-size:25px;margin:3px 0 0;letter-spacing:-.7px
}
.home-count {color:var(--muted);font-size:10px;letter-spacing:1px;padding-bottom:5px}
#products {margin-top:10px}
#status:empty {display:none}
@media(min-width:650px) {
  #homeCategoryTiles {grid-template-columns:repeat(4,minmax(0,1fr))}
  .home-tile {min-height:115px}
}

/* SYNDICATE polish pass — spacing, icons, product cards */
.store-header {
  min-height: 96px;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: 14px;
  background: #090a08;
}

.store-header .store-logo {
  font-size: clamp(19px, 5vw, 27px);
  letter-spacing: -1.2px;
}

.store-header .header-icon {
  width: 38px;
  height: 42px;
}

main {
  padding-top: 14px;
}

#homeIntro {
  padding-top: 8px;
}

#homeHeadline {
  max-width: 100%;
  font-size: clamp(25px, 6.5vw, 32px);
  line-height: 1.08;
  letter-spacing: -1.1px;
}

#homeSub {
  max-width: 320px;
  line-height: 1.45;
  margin-bottom: 16px;
}

#homeCategoryTiles {
  gap: 8px;
  margin: 14px 0 22px;
}

.home-tile {
  min-height: 82px;
  padding: 11px;
  grid-template-columns: 1fr auto;
  gap: 6px;
  font-size: 13px;
}

.home-tile .tile-icon {
  font-size: 22px;
}

.home-tile b {
  font-size: 17px;
}

.home-section-heading {
  margin-top: 0;
  margin-bottom: 8px;
}

.home-section-heading h2 {
  font-size: 23px;
}

.grid {
  gap: 9px;
}

.card {
  padding: 5px;
  border-radius: 7px;
}

.pic {
  height: clamp(125px, 40vw, 180px);
}

.pic img {
  object-fit: contain;
  background: #141510;
}

.card h3 {
  font-size: 11px;
  line-height: 1.35;
  min-height: 30px;
  margin: 8px 3px 4px;
}

.price {
  font-size: 18px;
  margin: 5px 3px;
}

.add {
  min-height: 42px;
  padding: 10px 3px;
  font-size: 10px;
}

@media (max-width: 380px) {
  .store-header {
    padding-left: 8px;
    padding-right: 8px;
  }

  .store-header .header-icon {
    width: 34px;
  }

  #homeCategoryTiles {
    gap: 7px;
  }

  .home-tile {
    min-height: 76px;
    padding: 9px;
  }
}

/* Syndicate category icons */
.home-tile .tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 0;
  color: var(--accent);
  position: relative;
}

.home-tile .tile-icon::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  background: var(--accent);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.home-tile .tile-icon:has(svg) {
  font-size: 25px;
}


/* Fix category icon placeholders */
.home-tile .tile-icon::before {
  content: none !important;
}

.home-tile .tile-icon {
  font-size: 0 !important;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}

.home-tile:nth-child(1) .tile-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7ff00' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.home-tile:nth-child(2) .tile-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7ff00' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5l4-2 4 2 5 4-3 4-3-2v10H9V11l-3 2-3-4 5-4z'/%3E%3C/svg%3E");
}
.home-tile:nth-child(3) .tile-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7ff00' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M10 5h4M11 18.5h2'/%3E%3C/svg%3E");
}
.home-tile:nth-child(4) .tile-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7ff00' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16l-1.5 12h-13L4 8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
}

/* SYNDICATE ADMIN REDESIGN */
body.admin-mode {
  --admin-bg: #090a08;
  --admin-panel: #12140f;
  --admin-border: #292d24;
  --admin-green: #b7ff32;
  background: var(--admin-bg) !important;
  color: #f4f5ef;
  font-family: Inter, system-ui, sans-serif;
}

body.admin-mode #adminToolbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 18px !important;
  padding: 20px max(20px, calc((100% - 1160px) / 2)) !important;
  background: rgba(12, 14, 10, .97) !important;
  border-bottom: 1px solid var(--admin-border) !important;
  box-shadow: 0 8px 30px #0005;
}

body.admin-mode #adminToolbar strong {
  color: var(--admin-green) !important;
  font-size: 17px !important;
  font-weight: 850;
  letter-spacing: 2px !important;
}

body.admin-mode #adminToolbar button,
body.admin-mode #adminOrdersPanel button,
body.admin-mode #adminProductsPanel button {
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #1a1d16;
  color: #f4f5ef;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}

body.admin-mode #adminToolbar button:hover,
body.admin-mode #adminOrdersPanel button:hover,
body.admin-mode #adminProductsPanel button:hover {
  border-color: var(--admin-green);
  background: #22291a;
}

body.admin-mode #adminToolbar button:first-child {
  border-color: #414638;
}

body.admin-mode .admin-tabs {
  display: flex !important;
  gap: 8px !important;
}

body.admin-mode .admin-tabs button {
  flex: initial !important;
  min-width: 105px;
}

body.admin-mode .admin-tabs button:focus,
body.admin-mode #adminToolbar button:focus {
  outline: 2px solid var(--admin-green);
  outline-offset: 2px;
}

body.admin-mode main {
  width: min(1160px, calc(100% - 36px));
  max-width: 1160px !important;
  margin: 28px auto !important;
  padding: 0 !important;
}

body.admin-mode #adminOrdersPanel,
body.admin-mode #adminProductsPanel {
  box-sizing: border-box;
  padding: 26px !important;
  margin: 0 !important;
  background: var(--admin-panel) !important;
  border: 1px solid var(--admin-border) !important;
  border-top: 1px solid var(--admin-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 50px #0003;
  color: #f4f5ef !important;
}

body.admin-mode #adminOrdersPanel h2,
body.admin-mode #adminProductsPanel h2 {
  margin: 0 0 24px;
  color: #f4f5ef;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.8px;
}

body.admin-mode #adminOrdersPanel > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px auto;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 18px !important;
  border: 1px solid var(--admin-border) !important;
  border-radius: 12px;
  background: #0d0f0b;
  line-height: 1.7 !important;
}

body.admin-mode #adminOrdersPanel select,
body.admin-mode #adminProductsPanel input,
body.admin-mode #adminProductsPanel select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 4px 0 !important;
  padding: 10px 12px;
  border: 1px solid #34392d;
  border-radius: 8px;
  background: #0b0d09;
  color: #f4f5ef;
  font: inherit;
  font-size: 13px;
}

body.admin-mode #adminOrdersPanel select:focus,
body.admin-mode #adminProductsPanel input:focus,
body.admin-mode #adminProductsPanel select:focus {
  outline: 1px solid var(--admin-green);
  border-color: var(--admin-green);
}

body.admin-mode #adminOrdersPanel button,
body.admin-mode #adminProductsPanel button {
  white-space: nowrap;
}

body.admin-mode #adminOrdersPanel button {
  background: var(--admin-green);
  border-color: var(--admin-green);
  color: #10130b;
}

body.admin-mode #adminProductsPanel > button {
  margin-bottom: 18px;
  background: var(--admin-green);
  border-color: var(--admin-green);
  color: #10130b;
}

body.admin-mode #adminProductsPanel > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 12px 0;
  padding: 18px !important;
  border: 1px solid var(--admin-border) !important;
  border-radius: 12px;
  background: #0d0f0b;
}

body.admin-mode #adminProductsPanel > div p {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--admin-green);
  font-weight: 750;
}

body.admin-mode #adminProductsPanel > div button {
  justify-self: start;
}

body.admin-mode #adminProductsPanel input[type="file"] {
  display: none !important;
}

@media (max-width: 700px) {
  body.admin-mode #adminToolbar {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  body.admin-mode #adminToolbar strong {
    width: 100%;
    font-size: 15px !important;
  }

  body.admin-mode #adminToolbar > button {
    flex: 1;
  }

  body.admin-mode .admin-tabs {
    width: 100%;
  }

  body.admin-mode .admin-tabs button {
    flex: 1 !important;
    min-width: 0;
  }

  body.admin-mode main {
    width: calc(100% - 24px);
    margin: 16px auto !important;
  }

  body.admin-mode #adminOrdersPanel,
  body.admin-mode #adminProductsPanel {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  body.admin-mode #adminOrdersPanel > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 14px !important;
  }

  body.admin-mode #adminProductsPanel > div {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px !important;
  }

  body.admin-mode #adminProductsPanel > div p {
    grid-column: auto;
  }

  body.admin-mode #adminProductsPanel > div button {
    width: 100%;
  }
}


/* SYNDICATE DASHBOARD */
body.admin-mode #adminDashboardPanel {
  box-sizing: border-box;
  padding: 26px !important;
  margin: 0 !important;
  background: #12140f;
  border: 1px solid #292d24;
  border-radius: 16px;
  color: #f4f5ef;
  box-shadow: 0 18px 50px #0003;
}
body.admin-mode #adminDashboardPanel h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.8px;
}
.admin-muted { color: #9a9e91; margin: 0 0 24px; }
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-kpis article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  background: #0b0d09;
  border: 1px solid #292d24;
  border-radius: 12px;
}
.admin-kpis article span { color: #b6b9ad; font-size: 13px; }
.admin-kpis article strong { color: #b7ff32; font-size: clamp(23px, 3vw, 34px); overflow-wrap: anywhere; }
.admin-kpis article small { color: #858a7c; font-size: 11px; }
.admin-dash-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.admin-dash-columns > section {
  min-width: 0;
  padding: 18px;
  background: #0b0d09;
  border: 1px solid #292d24;
  border-radius: 12px;
}
.admin-dash-columns h3 { margin: 0 0 14px; font-size: 17px; }
.admin-dash-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid #24271f;
  overflow-wrap: anywhere;
}
.admin-dash-row strong { font-size: 13px; color: #f4f5ef; }
.admin-dash-row span { font-size: 12px; color: #b7ff32; }
.admin-dash-row small { color: #9a9e91; }
body.admin-mode .admin-dash-columns button {
  margin-top: 14px;
  color: #10130b;
  background: #b7ff32;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 750;
}
.admin-dash-error { color: #ff9b8f; }
@media (max-width: 700px) {
  body.admin-mode #adminDashboardPanel { padding: 16px !important; }
  .admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .admin-kpis article { padding: 13px; gap: 8px; }
  .admin-dash-columns { grid-template-columns: minmax(0, 1fr); }
}


/* SYNDICATE full dashboard v2 */
body.admin-mode main{max-width:1440px!important;margin:0 auto!important;padding:24px!important}
body.admin-mode #adminDashboardPanel{display:block!important;padding:8px 0 30px!important}
.dash-heading,.dash-chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.dash-heading h2{margin:4px 0;font-size:clamp(25px,3vw,34px)}
.dash-heading .admin-muted,.dash-chart-head .admin-muted{margin:5px 0;color:#999f91}
.dash-heading button,.dash-ranges button{border:1px solid #30382a;background:#11140e;color:#e9efdf;border-radius:9px;padding:10px 14px;cursor:pointer}
.dash-heading button:disabled{opacity:.65}
.dash-ranges{display:flex;gap:6px;flex-wrap:wrap}
.dash-ranges button.active{background:#b7ff32;color:#10130b;border-color:#b7ff32;font-weight:800}
.dash-chart-card{margin:18px 0;padding:22px;background:#10120e;border:1px solid #292f24;border-radius:16px}
.dash-chart-head h3{margin:0;font-size:18px}
.dash-chart{min-height:180px;margin-top:20px}
.dash-bars{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:5px;align-items:end;min-height:160px}
.dash-bar-col{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;height:160px}
.dash-bar-value{font-size:9px;color:#b7ff32;white-space:nowrap;overflow:hidden;max-width:100%}
.dash-bar-track{height:110px;width:100%;display:flex;align-items:end;background:#191d15;border-radius:5px 5px 2px 2px;overflow:hidden}
.dash-bar{width:100%;min-height:0;background:linear-gradient(180deg,#d0ff73,#8acb20);border-radius:5px 5px 0 0;transition:height .25s}
.dash-bar-col small{font-size:9px;color:#929889;white-space:nowrap}
.dash-chart-total{display:flex;justify-content:space-between;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #2b3026;color:#a7ad9d}
.dash-chart-total strong{color:#b7ff32;font-size:20px}
body.admin-mode .admin-dash-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}
body.admin-mode .admin-dash-columns>section{min-width:0;background:#10120e;border:1px solid #292f24;border-radius:16px;padding:20px}
body.admin-mode .admin-dash-columns button{background:#b7ff32;color:#10130b;border:0;border-radius:9px;padding:11px 14px;font-weight:800}
body.admin-mode #adminToolbar{flex-direction:row;align-items:center;flex-wrap:wrap;padding:14px 24px}
body.admin-mode #adminToolbar .admin-tabs{margin-left:auto}
@media(max-width:700px){
 body.admin-mode main{padding:14px!important}
 .dash-heading,.dash-chart-head{align-items:flex-start;flex-direction:column}
 .dash-ranges{width:100%}
 .dash-ranges button{flex:1;padding:9px 6px}
 .dash-chart-card{padding:14px}
 .dash-bars{gap:2px}
 .dash-bar-value{font-size:7px}
 .dash-bar-col small{font-size:8px}
 body.admin-mode .admin-dash-columns{grid-template-columns:minmax(0,1fr)}
 body.admin-mode #adminToolbar{align-items:stretch;flex-direction:column;padding:12px}
 body.admin-mode #adminToolbar .admin-tabs{margin-left:0}
}


/* SYNDICATE order management v1 */
body.admin-mode #adminOrdersPanel{display:block!important;padding:22px!important;margin:20px auto!important;max-width:1440px;background:#0d0f0b!important;border:1px solid #292f24!important;border-radius:18px}
.orders-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.orders-heading h2{margin:5px 0 0;font-size:clamp(25px,3vw,34px);color:#f4f5ef}
.orders-heading .admin-muted{margin:5px 0;color:#999f91}
body.admin-mode #adminOrdersPanel .orders-heading button,body.admin-mode #adminOrdersPanel .order-actions button{background:#b7ff32;color:#10130b;border:1px solid #b7ff32;border-radius:9px;padding:11px 14px;font-weight:800;cursor:pointer}
body.admin-mode #adminOrdersPanel button:disabled{opacity:.6;cursor:wait}
.orders-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.orders-stats article{display:flex;flex-direction:column;gap:8px;padding:16px;background:#141710;border:1px solid #292f24;border-radius:13px}
.orders-stats span{font-size:12px;color:#a5aa9b}
.orders-stats strong{font-size:25px;color:#b7ff32}
.orders-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,240px);gap:10px;margin-bottom:16px}
body.admin-mode #adminOrdersPanel .orders-tools input,body.admin-mode #adminOrdersPanel .orders-tools select,body.admin-mode #adminOrdersPanel .order-actions select{width:100%;min-width:0;box-sizing:border-box;background:#171a14;color:#f4f5ef;border:1px solid #343b2d;border-radius:10px;padding:12px}
.orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.order-card{min-width:0;padding:16px;background:#12150f;border:1px solid #292f24;border-radius:14px}
.order-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:13px;border-bottom:1px solid #292f24}
.order-card-head>strong:first-child{overflow-wrap:anywhere;color:#f4f5ef}
.order-total{color:#b7ff32;white-space:nowrap}
.order-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}
.order-details>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.order-details small{color:#929888;font-size:11px}
.order-details span{color:#e6e9df;font-size:13px;overflow-wrap:anywhere}
.order-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
body.admin-mode #adminOrdersPanel .order-actions button{white-space:nowrap}
@media(max-width:700px){
 body.admin-mode #adminOrdersPanel{padding:14px!important;margin:12px 0!important}
 .orders-heading{align-items:flex-start}
 .orders-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .orders-stats article{padding:12px}
 .orders-stats strong{font-size:22px}
 .orders-tools{grid-template-columns:minmax(0,1fr)}
 .orders-list{grid-template-columns:minmax(0,1fr)}
 .order-card{padding:13px}
 .order-actions{grid-template-columns:minmax(0,1fr)}
 .order-actions button{width:100%}
}


/* SYNDICATE inventory management v1 */
body.admin-mode #adminProductsPanel{display:block!important;box-sizing:border-box;width:100%;max-width:1440px;margin:20px auto!important;padding:22px!important;background:#0d0f0b!important;border:1px solid #292f24!important;border-radius:18px;color:#f4f5ef}
.products-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.products-heading h2{margin:5px 0;font-size:clamp(25px,3vw,34px);color:#f4f5ef}
.products-heading .admin-muted{margin:5px 0;color:#999f91}
body.admin-mode #adminProductsPanel .products-heading button,body.admin-mode #adminProductsPanel .products-add-row button,body.admin-mode #adminProductsPanel .product-save{background:#b7ff32;color:#10130b;border:1px solid #b7ff32;border-radius:9px;padding:11px 14px;font-weight:800;cursor:pointer}
body.admin-mode #adminProductsPanel button:disabled{opacity:.6;cursor:wait}
.products-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.products-stats article{display:flex;flex-direction:column;gap:8px;padding:15px;background:#141710;border:1px solid #292f24;border-radius:13px}
.products-stats span{font-size:12px;color:#a5aa9b}
.products-stats strong{font-size:25px;color:#b7ff32}
.products-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.6fr) minmax(150px,.6fr);gap:10px;margin-bottom:14px}
body.admin-mode #adminProductsPanel .products-tools input,body.admin-mode #adminProductsPanel .products-tools select,body.admin-mode #adminProductsPanel .product-field input,body.admin-mode #adminProductsPanel .product-field select{width:100%;min-width:0;box-sizing:border-box;min-height:42px;margin:0!important;padding:10px 12px;border:1px solid #343b2d;border-radius:8px;background:#171a14;color:#f4f5ef;font:inherit;font-size:13px}
.products-add-row{display:flex;justify-content:flex-end;margin-bottom:16px}
.products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.product-card{min-width:0;padding:16px;background:#12150f;border:1px solid #292f24;border-radius:14px}
.product-card-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.product-thumb{width:72px;height:72px;flex:0 0 72px;object-fit:cover;border-radius:10px;background:#20241b;border:1px solid #343b2d}
.product-no-photo{display:grid;place-items:center;text-align:center;color:#929888;font-size:11px}
.product-identity{display:flex;flex-direction:column;gap:6px;min-width:0}
.product-identity strong{overflow-wrap:anywhere;color:#b7ff32}
.product-identity small{color:#929888}
.product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.product-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.product-field>span{font-size:11px;color:#a5aa9b}
.product-photo-preview{margin-top:10px}
.product-photo-preview img{width:100%;max-height:180px;object-fit:contain;border-radius:9px;background:#090b08}
.product-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
body.admin-mode #adminProductsPanel .product-actions button{border-radius:9px;padding:10px 12px;font-weight:750;cursor:pointer}
body.admin-mode #adminProductsPanel .product-secondary{background:#1a2014;color:#d9e6ca;border:1px solid #39442d}
@media(max-width:700px){
 body.admin-mode #adminProductsPanel{padding:14px!important;margin:12px 0!important}
 .products-heading{align-items:flex-start}
 .products-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .products-stats article{padding:12px}
 .products-stats strong{font-size:22px}
 .products-tools{grid-template-columns:minmax(0,1fr)}
 .products-grid{grid-template-columns:minmax(0,1fr)}
 .product-card{padding:13px}
 .products-add-row button{width:100%}
 .product-actions{flex-direction:column}
 .product-actions button{width:100%}
}


/* Syndicate finance panel */
.finance-ranges{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.finance-ranges button{border:1px solid #343a36;background:#171a18;color:#eee;border-radius:12px;padding:10px 14px}
.finance-ranges button.active{background:#b8ff32;color:#10140b;border-color:#b8ff32}
.finance-form-card,.finance-history{margin-top:16px;padding:18px;border:1px solid #303630;border-radius:18px;background:#141714}
.finance-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.finance-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#b9c0b8}
.finance-form input,.finance-form select{box-sizing:border-box;width:100%;min-width:0;background:#0d100e;color:#fff;border:1px solid #3a4239;border-radius:10px;padding:12px;font:inherit}
.finance-form button[type=submit]{grid-column:1/-1;background:#b8ff32;color:#10140b;border:0;border-radius:12px;padding:13px;font-weight:700}
.finance-form button:disabled{opacity:.6}
.finance-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #2b302b}
.finance-row:last-child{border-bottom:0}
.finance-row small{display:block;color:#a4aca3;margin-top:5px;overflow-wrap:anywhere}
@media(max-width:560px){.finance-form{grid-template-columns:1fr}.finance-form button[type=submit]{grid-column:auto}.finance-form-card,.finance-history{padding:13px}}


/* Sales analytics */
.an-month-values{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.an-month-values small{color:#a4aca3;font-size:12px}

/* SYNDICATE ANALYTICS PANEL FIX */
body.admin-mode #adminAnalyticsPanel {
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  min-height: 300px;
  margin: 20px auto !important;
  padding: 24px !important;
  color: #f4f5ef !important;
  background: #0d0f0b !important;
  border: 1px solid #292f24 !important;
  border-radius: 18px !important;
  overflow-wrap: anywhere;
}

body.admin-mode #adminAnalyticsPanel h2,
body.admin-mode #adminAnalyticsPanel h3 {
  color: #f4f5ef;
}

body.admin-mode #adminAnalyticsPanel p,
body.admin-mode #adminAnalyticsPanel span,
body.admin-mode #adminAnalyticsPanel small {
  overflow-wrap: anywhere;
}

body.admin-mode #adminAnalyticsPanel .admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.admin-mode #adminAnalyticsPanel .admin-kpis article {
  min-width: 0;
  padding: 16px;
  background: #12140f;
  border: 1px solid #292d24;
  border-radius: 12px;
}

body.admin-mode #adminAnalyticsPanel .admin-kpis strong {
  color: #b7ff32;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  body.admin-mode #adminAnalyticsPanel {
    padding: 14px !important;
    margin: 12px auto !important;
  }

  body.admin-mode #adminAnalyticsPanel .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.admin-mode #adminAnalyticsPanel .admin-kpis article {
    padding: 11px;
  }
}

body.admin-mode #adminStockHistoryPanel {
  display:block!important;
  box-sizing:border-box;
  width:100%;
  max-width:1440px;
  margin:20px auto!important;
  padding:22px!important;
  background:#0d0f0b!important;
  border:1px solid #292f24!important;
  border-radius:18px;
  color:#f4f5ef;
}
body.admin-mode #adminStockHistoryPanel button {
  background:#b7ff32;
  color:#10130b;
  border:1px solid #b7ff32;
  border-radius:9px;
  padding:11px 14px;
  font-weight:800;
  cursor:pointer;
}
body.admin-mode #adminStockHistoryPanel input,
body.admin-mode #adminStockHistoryPanel select {
  box-sizing:border-box;
  min-height:42px;
  padding:10px 12px;
  background:#171a14;
  color:#f4f5ef;
  border:1px solid #343b2d;
  border-radius:9px;
}

/* Hide products while stock history is open */
body.admin-mode.stock-history-active #adminProductsPanel {
  display: none !important;
}


/* Admin audit log */
body.admin-mode #adminAuditPanel {
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 20px auto !important;
  padding: 24px !important;
  color: #f4f5ef !important;
  background: #0d0f0b !important;
  border: 1px solid #292f24 !important;
  border-radius: 18px !important;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  body.admin-mode #adminAuditPanel {
    margin: 12px auto !important;
    padding: 14px !important;
  }
}


/* Admin mobile navigation refresh */
@media (max-width: 700px) {
  body.admin-mode #adminToolbar {
    gap: 10px !important;
    padding: 10px 12px !important;
    overflow: hidden;
  }

  body.admin-mode .admin-tabs {
    box-sizing: border-box;
    width: calc(100% + 24px) !important;
    margin: 0 -12px !important;
    padding: 0 12px 4px;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #59634c #11140e;
  }

  body.admin-mode .admin-tabs button {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    white-space: nowrap;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis article {
    min-width: 0;
    padding: 11px;
    gap: 7px;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis article span {
    font-size: 12px;
    line-height: 1.25;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis article strong {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.05;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis article small {
    font-size: 10px;
    line-height: 1.25;
  }

  body.admin-mode #adminDashboardPanel .admin-kpis article:last-child {
    grid-column: 1 / -1;
  }
}


/* Admin orders mobile polish */
@media (max-width: 700px) {
  body.admin-mode #adminOrdersPanel {
    padding: 16px 12px !important;
  }

  body.admin-mode #adminOrdersPanel .orders-heading {
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  body.admin-mode #adminOrdersPanel .orders-heading button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  body.admin-mode #adminOrdersPanel .orders-stats article {
    min-width: 0;
    gap: 5px;
    padding: 11px;
  }

  body.admin-mode #adminOrdersPanel .orders-stats span {
    font-size: 11px;
    line-height: 1.25;
  }

  body.admin-mode #adminOrdersPanel .orders-stats strong {
    font-size: 21px;
    line-height: 1.1;
  }

  body.admin-mode #adminOrdersPanel .order-card {
    padding: 14px;
    border-radius: 16px;
  }

  body.admin-mode #adminOrdersPanel .order-card-head {
    align-items: center;
    gap: 8px;
  }

  body.admin-mode #adminOrdersPanel .order-card-head > strong:first-child,
  body.admin-mode #adminOrdersPanel .order-total {
    font-size: 14px;
    line-height: 1.35;
  }

  body.admin-mode #adminOrdersPanel .order-details {
    gap: 10px 8px;
    padding: 12px 0;
  }

  body.admin-mode #adminOrdersPanel .order-details span {
    line-height: 1.4;
  }

  body.admin-mode #adminOrdersPanel .order-actions {
    gap: 9px;
    padding-top: 12px;
    border-top: 1px solid #292f24;
  }

  body.admin-mode #adminOrdersPanel .order-actions select,
  body.admin-mode #adminOrdersPanel .order-actions button {
    min-height: 46px;
  }
}


/* Compact admin orders with paging */
body.admin-mode #adminOrdersPanel .orders-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
}
body.admin-mode #adminOrdersPanel .orders-pagination:empty {
  display: none;
}
body.admin-mode #adminOrdersPanel .orders-pagination button,
body.admin-mode #adminOrdersPanel .order-expand {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #343b2d;
  border-radius: 10px;
  background: #171a14;
  color: #f4f5ef;
  font-weight: 700;
}
body.admin-mode #adminOrdersPanel .orders-pagination button:disabled {
  opacity: .45;
}
body.admin-mode #adminOrdersPanel .orders-pagination span {
  color: #c5cabb;
  font-size: 12px;
  text-align: center;
}
body.admin-mode #adminOrdersPanel .order-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
  min-width: 0;
}
body.admin-mode #adminOrdersPanel .order-status-badge {
  padding: 3px 8px;
  border: 1px solid #46513b;
  border-radius: 999px;
  color: #c9f58c;
  font-size: 11px;
  line-height: 1.25;
}
body.admin-mode #adminOrdersPanel .order-expand {
  width: 100%;
  margin-top: 10px;
  color: #b7ff32;
  text-align: left;
}
body.admin-mode #adminOrdersPanel .order-card-extra[hidden] {
  display: none !important;
}
body.admin-mode #adminOrdersPanel .order-card-extra:not([hidden]) {
  padding-top: 10px;
}


/* Admin order archive switch */
body.admin-mode #adminOrdersPanel .orders-view-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
body.admin-mode #adminOrdersPanel .orders-view-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #343b2d;
  border-radius: 11px;
  background: #171a14;
  color: #c5cabb;
  font-weight: 800;
}
body.admin-mode #adminOrdersPanel .orders-view-tabs button.active {
  border-color: #b7ff32;
  background: #b7ff32;
  color: #10130b;
}


/* Compact admin product cards */
body.admin-mode #adminProductsPanel .product-card-top {
  margin-bottom: 10px;
}
body.admin-mode #adminProductsPanel .product-quick-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
}
body.admin-mode #adminProductsPanel .product-quick-summary > strong {
  color: #f4f5ef;
  font-size: 15px;
}
body.admin-mode #adminProductsPanel .product-stock-badge {
  padding: 4px 9px;
  border: 1px solid #46513b;
  border-radius: 999px;
  color: #c9f58c;
  font-size: 12px;
  white-space: nowrap;
}
body.admin-mode #adminProductsPanel .product-stock-badge.low {
  border-color: #743b32;
  color: #ff9c8d;
}
body.admin-mode #adminProductsPanel .product-expand {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #46513b;
  border-radius: 10px;
  background: #1a2014;
  color: #b7ff32;
  font-weight: 800;
  text-align: left;
}
body.admin-mode #adminProductsPanel .product-edit-details[hidden] {
  display: none !important;
}
body.admin-mode #adminProductsPanel .product-edit-details:not([hidden]) {
  padding-top: 12px;
}


/* Finance screen compact controls */
body.admin-mode #adminFinancePanel .finance-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.admin-mode #adminFinancePanel .finance-form-head h3 {
  margin: 0;
}
body.admin-mode #adminFinancePanel .finance-form-head button,
body.admin-mode #adminFinancePanel .finance-history-switch button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #39442d;
  border-radius: 10px;
  background: #1a2014;
  color: #d9e6ca;
  font-weight: 750;
}
body.admin-mode #adminFinancePanel .finance-form[hidden],
body.admin-mode #adminFinancePanel .finance-history[hidden] {
  display: none !important;
}
body.admin-mode #adminFinancePanel .finance-history-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}
body.admin-mode #adminFinancePanel .finance-history-switch button.active {
  border-color: #b8ff32;
  background: #b8ff32;
  color: #10140b;
}
@media (max-width: 560px) {
  body.admin-mode #adminFinancePanel .finance-form-head {
    align-items: flex-start;
  }
  body.admin-mode #adminFinancePanel .finance-form-head button {
    white-space: nowrap;
  }
}


/* Syndicate storefront product cards v2 */
#products {
  gap: 12px;
}
#products .card {
  padding: 8px;
  border: 1px solid #2c3025;
  border-radius: 12px;
  background: linear-gradient(155deg, #171912, #0f100d 78%);
  box-shadow: 0 8px 22px #00000024;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
#products .pic {
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid #292d23;
  border-radius: 9px;
  background: radial-gradient(ellipse at center, #1b1d17, #11120f 78%);
}
#products .pic img {
  box-sizing: border-box;
  padding: 5px;
  object-fit: contain;
}
#products .card h3 {
  min-height: 38px;
  margin: 11px 5px 4px;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.3;
  letter-spacing: .35px;
}
#products .price {
  margin: 6px 5px;
  font-size: clamp(19px, 5.2vw, 24px);
  letter-spacing: -.4px;
}
#products .small {
  min-height: 16px;
  margin: 3px 5px 10px;
  font-size: 11px;
}
#products .add {
  min-height: 44px;
  padding: 11px 6px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: .55px;
}
@media (hover: hover) {
  #products .card:hover {
    transform: translateY(-2px);
    border-color: #687b31;
    box-shadow: 0 12px 26px #00000042;
  }
}
@media (max-width: 380px) {
  #products {
    gap: 9px;
  }
  #products .card {
    padding: 6px;
  }
}


/* Product description fields in admin */
body.admin-mode #adminProductsPanel .product-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid #343b2d;
  border-radius: 8px;
  background: #171a14;
  color: #f4f5ef;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}


/* Product detail modal with clothing variants */
#products .card { cursor: pointer; }
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: #050605d9;
  backdrop-filter: blur(8px);
}
.product-modal-dialog {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 520px);
  max-height: 92dvh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #414633;
  border-radius: 20px;
  background: linear-gradient(155deg, #171912, #0d0e0b 80%);
  box-shadow: 0 24px 80px #000a;
}
.product-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #080908cc;
  color: #fff;
  font-size: 25px;
}
.product-modal-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: min(42dvh, 420px);
  overflow: hidden;
  border: 1px solid #292d23;
  border-radius: 14px;
  background: radial-gradient(ellipse at center, #20231a, #10110e 78%);
  color: #b7ff32;
  font-size: 64px;
  font-weight: 900;
}
.product-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}
.product-modal-title {
  margin: 15px 0 4px;
  color: #f4f5ef;
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.2;
}
.product-modal-price {
  display: block;
  margin: 8px 0;
  color: #b7ff32;
  font-size: 23px;
}
.product-modal-description {
  color: #c3c8bb;
  line-height: 1.5;
  white-space: pre-line;
}
.product-modal-stock {
  color: #9ca491;
  font-size: 13px;
}
.product-modal-choice {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0;
  color: #d9dfd0;
  font-size: 13px;
}
.product-modal-choice select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #414633;
  border-radius: 10px;
  background: #10120e;
  color: #f4f5ef;
  font: inherit;
}
.product-modal-add {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #b7ff32;
  color: #10130b;
  font-size: 14px;
  font-weight: 900;
}

/* Product editor full page and size inventory */

/* Product editor full page and size inventory */
body.admin-mode #adminProductsPanel .product-edit-details:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10050;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: #0d0f0b;
}
body.admin-mode #adminProductsPanel .product-edit-page-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px -4px 16px;
  padding: 12px 4px;
  background: #0d0f0b;
  border-bottom: 1px solid #292f24;
}
body.admin-mode #adminProductsPanel .product-edit-back {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #46513b;
  border-radius: 10px;
  background: #1a2014;
  color: #c9f58c;
}
body.admin-mode #adminProductsPanel .product-size-stock-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #46513b;
  border-radius: 12px;
  background: #12150f;
}
body.admin-mode #adminProductsPanel .product-size-stock-panel[hidden] {
  display: none !important;
}
body.admin-mode #adminProductsPanel .product-size-stock-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  gap: 9px;
}
body.admin-mode #adminProductsPanel .product-size-stock-row {
  display: grid;
  gap: 6px;
  color: #f4f5ef;
  font-weight: 700;
}
body.admin-mode #adminProductsPanel .product-size-stock-row input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #393f31;
  border-radius: 8px;
  background: #090a08;
  color: #fff;
}
body.admin-mode #adminProductsPanel .product-edit-details input[readonly] {
  opacity: .75;
}


/* SYNDICATE editorial storefront refresh */
:root{--accent:#fff;--bg:#080808;--panel:#111;--line:#272727;--text:#f5f5f5;--muted:#9b9b9b}
body{background:#080808;color:#f5f5f5;font-family:Arial,Helvetica,sans-serif}
.store-header{position:sticky;top:0;z-index:100;background:rgba(8,8,8,.96);backdrop-filter:blur(18px);min-height:68px;padding:10px clamp(14px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #252525}
.store-logo{color:#fff;text-decoration:none;font-size:20px;font-weight:800;letter-spacing:2px;white-space:nowrap}
.primary-nav{display:flex;align-items:center;gap:clamp(12px,2.5vw,32px);margin:0}
.primary-nav button,.language-switch button{padding:8px 2px;border:0;background:none;color:#bcbcbc;font-size:12px;letter-spacing:.3px}
.primary-nav button:hover,.language-switch button.selected{color:#fff}
.store-header-side{gap:10px}.store-header .header-icon{width:34px;height:38px;color:#eee}.store-header .header-icon svg{width:21px;height:21px}
.store-header-right{align-items:center}.language-switch{display:flex;align-items:center;gap:5px;color:#555}.language-switch button{font-size:11px}.admin-entry{padding:7px 9px;font-size:10px}
#storeSearchWrap{position:sticky;top:68px;z-index:90;background:#0a0a0a;padding:12px clamp(14px,4vw,56px)}
main{max-width:1440px;padding:20px clamp(14px,4vw,56px) 42px}
.hero-banner{position:relative;isolation:isolate;min-height:clamp(390px,52vw,650px);display:flex;align-items:flex-end;overflow:hidden;margin:0 0 56px;padding:clamp(26px,6vw,76px);border:1px solid #272727;border-radius:18px;background:linear-gradient(115deg,#171717,#080808 68%)}
.hero-image{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;opacity:.68}
.hero-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.2) 76%),linear-gradient(0deg,rgba(0,0,0,.62),transparent 70%)}
.hero-copy{max-width:600px}.home-kicker{color:#aaa;font-size:10px;letter-spacing:2.2px;font-weight:700}
#homeHeadline{max-width:680px;margin:17px 0 14px;font-size:clamp(48px,9vw,112px);line-height:.92;letter-spacing:-.065em;color:#fff;text-transform:uppercase}
#homeSub{max-width:430px;margin:0;color:#d0d0d0;font-size:clamp(14px,1.5vw,18px);line-height:1.6}
.hero-cta{display:inline-flex;align-items:center;gap:25px;margin-top:28px;padding:14px 18px;border:1px solid #fff;border-radius:30px;background:#fff;color:#090909;font-size:12px;font-weight:700;cursor:pointer}
.hero-cta span{font-size:17px}.home-categories-section,.popular-section{margin:0 0 56px}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 20px}.home-section-heading h2{margin:6px 0 0;font-size:clamp(24px,4vw,34px);letter-spacing:-1px;text-transform:none}
.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-tile{position:relative;display:block;isolation:isolate;min-height:clamp(170px,24vw,300px);overflow:hidden;padding:0;border:1px solid #292929;border-radius:12px;background:#151515;text-align:left}
.home-tile img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.home-tile:hover img{transform:scale(1.04)}
.category-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 70%)}
.category-name{position:absolute;left:18px;bottom:17px;color:#fff;font-size:clamp(16px,2vw,22px);font-weight:700}.category-arrow{position:absolute;right:18px;bottom:17px;color:#fff;font-size:18px}
.text-link{padding:8px 0;border:0;background:none;color:#ddd;font-size:12px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.card{padding:8px;border:1px solid #242424;border-radius:12px;background:#101010}.card:hover{border-color:#555;transform:translateY(-2px)}
.pic{height:clamp(210px,27vw,340px);border-radius:8px;background:#171717}.pic img{object-fit:cover;background:#171717}.pic.syndicate-placeholder:not(:has(img)):before{color:#555}.pic.syndicate-placeholder:not(:has(img)):after{color:#777}
.card h3{min-height:36px;margin:13px 5px 4px;color:#eee;font-size:12px;letter-spacing:.35px}.price{margin:6px 5px 12px;color:#fff;font-size:17px}.add{min-height:42px;margin-top:auto;border:1px solid #444;border-radius:7px;background:#1a1a1a;color:#fff;font-size:10px;letter-spacing:.6px}.add:hover{background:#fff;color:#080808}
#cats{display:none!important}.benefits-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0}.benefits-strip article{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #252525;border-radius:12px;background:#101010}.benefit-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #444;border-radius:50%;color:#fff;font-size:17px}.benefits-strip strong,.benefits-strip small{display:block}.benefits-strip strong{font-size:13px}.benefits-strip small{margin-top:4px;color:#999;font-size:11px}
footer{margin-top:35px;border-color:#242424;color:#777}
@media(max-width:760px){.store-header{flex-wrap:wrap;gap:7px 12px;padding:10px 14px}.store-logo{font-size:17px}.primary-nav{order:3;width:100%;justify-content:center;gap:clamp(18px,8vw,42px);overflow:auto}.primary-nav button{font-size:11px;white-space:nowrap}.store-header-right{gap:4px}.store-header .header-icon{width:31px}.language-switch{gap:3px}.language-switch button{font-size:10px}#storeSearchWrap{top:100px}.hero-banner{min-height:440px;margin-bottom:38px;padding:24px;border-radius:13px}.hero-image{object-position:58% center;opacity:.55}.hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.1) 95%)}#homeHeadline{font-size:clamp(43px,13vw,72px)}.home-categories-section,.popular-section{margin-bottom:40px}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-tile{min-height:185px;border-radius:10px}.category-name{left:13px;bottom:13px}.category-arrow{right:13px;bottom:13px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pic{height:clamp(165px,53vw,270px)}.card{padding:6px}.card h3{font-size:11px}.add{font-size:9px;padding:10px 3px}.benefits-strip{gap:8px}.benefits-strip article{align-items:flex-start;padding:13px 10px;gap:9px}.benefit-icon{width:30px;height:30px;flex:0 0 30px}.benefits-strip strong{font-size:11px}.benefits-strip small{font-size:10px}}
@media(max-width:390px){.store-header{padding-left:9px;padding-right:9px}.store-logo{font-size:15px;letter-spacing:1px}.store-header-right{gap:1px}.store-header .header-icon{width:28px}.language-switch button{padding:7px 0}.hero-banner{min-height:400px}.home-tile{min-height:155px}.benefits-strip article{padding:11px 8px}.benefits-strip strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.home-tile img,.card{transition:none}}

/* Home page layout refinements */
.hero-banner{min-height:clamp(430px,43vw,600px);border:0;border-radius:4px;background:#141414}
.hero-image{object-position:center 42%;opacity:.84}
.hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.08) 76%),linear-gradient(0deg,rgba(0,0,0,.52),transparent 58%)}
.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-tile{min-height:clamp(180px,19vw,260px);border-radius:4px}
.home-tile img{z-index:-2}
.category-shade{z-index:-1}
#products{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#products .card{padding:7px;border-radius:5px}
#products .pic{height:clamp(160px,17vw,220px);border-radius:3px}
#products .card h3{min-height:34px;font-size:11px}
#products .price{font-size:15px}
#products .add{min-height:38px}
.benefits-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}
.benefits-strip article{min-width:0;padding:18px 14px;border-radius:5px}
.benefits-strip strong{line-height:1.35}
@media(max-width:760px){
 .store-header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 8px;padding:10px 14px}
 .store-logo{grid-column:1;grid-row:1;font-size:17px}
 .store-header-right{grid-column:2;grid-row:1;justify-content:flex-end;gap:3px}
 .primary-nav{grid-column:1/-1;grid-row:2;width:100%;margin-top:7px;justify-content:space-around;gap:12px}
 .primary-nav button{padding:7px 2px}
 #storeSearchWrap{top:94px}
 .hero-banner{min-height:460px;margin-bottom:34px;padding:22px}
 .hero-image{object-position:62% center;opacity:.78}
 .hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.05) 92%),linear-gradient(90deg,rgba(0,0,0,.18),transparent)}
 #homeHeadline{font-size:clamp(42px,12vw,66px)}
 .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .home-tile{min-height:clamp(150px,44vw,220px)}
 #products{display:grid;grid-auto-columns:minmax(155px,42vw);grid-auto-flow:column;grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 0 10px}
 #products .card{scroll-snap-align:start}
 #products .pic{height:clamp(145px,42vw,190px)}
 .benefits-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .benefits-strip article{padding:13px 10px;gap:9px}
}
@media(max-width:390px){
 .hero-banner{min-height:410px;padding:18px}
 .home-tile{min-height:145px}
 #products{grid-auto-columns:45vw}
 .benefits-strip article{padding:11px 8px}
}

/* Reliable image layering and compact mobile first screen */
.hero-banner{isolation:isolate;background:#111}
.hero-image{z-index:0;display:block;opacity:.88}
.hero-shade{z-index:1}
.hero-copy{position:relative;z-index:2;width:min(100%,620px)}
.home-tile img{z-index:0}
.category-shade{z-index:1}
.category-name,.category-arrow{z-index:2}
#homeHeadline{max-width:10ch;font-size:clamp(38px,6.2vw,76px);line-height:.98;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:normal}
.home-category-grid{margin-top:0}
@media(max-width:760px){
 .hero-banner{min-height:clamp(330px,92vw,390px);margin-bottom:24px;padding:20px}
 .hero-image{object-position:64% center;opacity:.9}
 .hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,.03) 100%),linear-gradient(90deg,rgba(0,0,0,.48),transparent 90%)}
 #homeHeadline{max-width:9ch;margin:12px 0 10px;font-size:clamp(37px,10.2vw,53px);line-height:.98;letter-spacing:-.04em}
 #homeSub{max-width:30ch;font-size:14px;line-height:1.45}
 .hero-cta{margin-top:17px;padding:12px 15px}
 .home-categories-section{margin-bottom:30px}
 .home-section-heading{margin-bottom:13px}
 .home-tile{min-height:clamp(135px,38vw,180px)}
}
@media(max-width:390px){
 .hero-banner{min-height:330px;padding:16px}
 #homeHeadline{font-size:clamp(35px,9.5vw,42px)}
 .home-tile{min-height:132px}
}
