
:root{--green:#00843d;--green2:#006b31;--light:#f4fbf6;--border:#d7eadc;--text:#062b1b;--yellow:#ffd80a}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:linear-gradient(180deg,#f7fff9,#fff);color:var(--text)}a{color:inherit;text-decoration:none}.container{max-width:1160px;margin:0 auto;padding:22px}.top{height:70px;display:flex;align-items:center;gap:18px;padding:0 24px;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:10}.logo{font-weight:900;font-size:28px;color:var(--green2)}.search{flex:1;background:#f1f5f2;border-radius:25px;padding:14px 20px;color:#777}.nav{display:flex;gap:14px;align-items:center}.btn,.btn2,button{border:0;border-radius:16px;background:var(--green);color:#fff;font-weight:800;padding:14px 22px;cursor:pointer;display:inline-block}.btn2{background:var(--yellow);color:#111}.link{font-weight:700}.hero{margin:34px auto;background:radial-gradient(circle at 15% 10%,#dff8e8,transparent 30%),#fff;border:1px solid var(--border);border-radius:28px;padding:48px;box-shadow:0 25px 70px rgba(0,90,40,.12)}h1{font-size:44px;line-height:1.1;margin:0 0 12px}.chips{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.chip{border:1px solid var(--border);background:#fff;border-radius:999px;padding:12px 20px;font-weight:800}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:18px;box-shadow:0 12px 40px rgba(0,70,30,.08)}.store-logo{height:135px;border-radius:20px;background:linear-gradient(135deg,var(--green),#0fb361);color:white;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;overflow:hidden}.store-logo img{width:100%;height:100%;object-fit:cover}.muted{color:#5f756b}.form{background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;max-width:760px}.input,select,textarea{width:100%;border:1px solid var(--border);border-radius:14px;padding:14px;margin:7px 0 12px;background:#fff;font-size:16px}.adminwrap{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.side{background:#073b24;color:#fff;padding:24px}.side a{display:block;padding:13px 12px;border-radius:12px;margin:6px 0}.side a:hover{background:rgba(255,255,255,.12)}.panel{padding:28px}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden}.table th,.table td{padding:14px;border-bottom:1px solid var(--border);text-align:left}.modal{position:fixed;inset:0;background:rgba(0,0,0,.48);display:none;align-items:center;justify-content:center;z-index:50}.modal.open{display:flex}.modalbox{background:#fff;border-radius:24px;padding:28px;max-width:720px;width:92%;max-height:90vh;overflow:auto}.suggest{border:1px solid var(--border);border-radius:16px;overflow:hidden}.suggest div{padding:12px 16px;border-bottom:1px solid #eee;cursor:pointer}.suggest div:hover{background:#eefaf2}.footer{text-align:center;border-top:1px solid var(--border);padding:22px;margin-top:40px;color:#648072}.status{display:flex;align-items:center;justify-content:center;gap:0;margin:25px 0;flex-wrap:nowrap}.step{display:flex;flex-direction:column;align-items:center;min-width:120px;text-align:center;font-weight:800}.circle{width:70px;height:70px;border-radius:50%;background:#ddd;display:flex;align-items:center;justify-content:center;font-size:28px}.step.done .circle,.step.active .circle{background:var(--yellow)}.line{height:8px;width:70px;background:#ddd;margin-top:-25px}.line.done{background:var(--yellow)}.support{display:flex;gap:12px;flex-wrap:wrap}.dark{background:#111;color:#f2fff5}.dark .card,.dark .form,.dark .hero,.dark .top,.dark .modalbox{background:#172019;color:#f2fff5;border-color:#284733}.dark .input,.dark select,.dark textarea{background:#0f1712;color:#fff;border-color:#2b4b35}
@media(max-width:800px){.top{height:auto;flex-wrap:wrap;padding:12px}.logo{font-size:22px}.search{order:3;flex-basis:100%;padding:12px}.nav{gap:8px;flex-wrap:wrap}.container{padding:14px}.hero{padding:24px;border-radius:22px}h1{font-size:30px}.grid{grid-template-columns:1fr}.adminwrap{display:block}.side{position:relative}.status{overflow-x:auto;justify-content:flex-start}.line{width:35px}.step{min-width:90px}.circle{width:56px;height:56px}.btn,.btn2,button{padding:12px 15px}.modalbox{width:95%;padding:18px}}


/* v15 seller product UI */
.seller-page{display:grid;grid-template-columns:245px 1fr;min-height:100vh;background:#f3fbf6;color:#073b25}
.seller-side{background:#064326;color:#fff;padding:24px 20px;position:sticky;top:0;height:100vh}
.seller-side h2{margin:0 0 24px;font-size:26px;color:#fff}
.seller-side a{display:block;color:#fff;text-decoration:none;padding:13px 14px;border-radius:14px;font-weight:800;margin-bottom:6px}
.seller-side a:hover,.seller-side a.active{background:#0a8a4e}
.seller-main{padding:28px;max-width:1200px;width:100%}
.back-link{display:inline-block;margin-bottom:8px;color:#073b25;text-decoration:none;font-weight:800}
.seller-main h1{font-size:44px;line-height:1;margin:0 0 22px}
.seller-card{background:#fff;border:1px solid #cfe8d8;border-radius:24px;padding:22px;margin-bottom:18px;box-shadow:0 10px 28px rgba(0,0,0,.035)}
.seller-card h2{margin-top:0}
.seller-form label{display:block;font-weight:800;margin:10px 0 6px}
.seller-form input,.seller-form select,.seller-form textarea,.seller-search input,.seller-search select,.seller-inline input{width:100%;padding:14px;border:1px solid #cfe8d8;border-radius:14px;background:#fff;font-size:15px}
.seller-form textarea{min-height:90px}
.seller-grid-2{display:grid;grid-template-columns:1fr 220px;gap:12px}
.seller-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.seller-check,.seller-checks label{display:inline-flex!important;align-items:center;gap:8px;margin-right:16px}
.seller-check input,.seller-checks input{width:auto!important}
.seller-inline{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.seller-topline{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.seller-search{display:grid;grid-template-columns:220px 220px auto;gap:10px}
.seller-tabs{display:flex;gap:8px;overflow:auto;padding:10px 0 18px}
.seller-tabs a{white-space:nowrap;background:#f4fbf7;border:1px solid #cfe8d8;border-radius:20px;padding:10px 16px;text-decoration:none;color:#073b25;font-weight:900}
.seller-tabs a.active{background:#008a49;color:white;border-color:#008a49}
.seller-product-list{display:flex;flex-direction:column;gap:12px}
.seller-product-row{display:grid;grid-template-columns:88px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #d8eee1;border-radius:20px;padding:14px}
.seller-product-img{width:88px;height:88px;border-radius:18px;background:#eaf8ef;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:34px}
.seller-product-img img{width:100%;height:100%;object-fit:cover}
.seller-product-info h3{margin:0 0 4px;font-size:20px}
.seller-product-info p{margin:0 0 8px;color:#60766b}
.seller-product-info small{display:block;margin-top:6px;color:#60766b}
.seller-product-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.btn,.seller-product-actions .btn{background:#008a49;color:#fff!important;border:0;border-radius:14px;padding:12px 16px;font-weight:900;text-decoration:none;display:inline-block}
.btn-lite{background:#eef8f2!important;color:#05703f!important;border:1px solid #cfe8d8!important;border-radius:14px;padding:12px 16px;font-weight:900}
.danger-btn{background:#b42318!important;color:#fff;border:0;border-radius:14px;padding:14px 20px;font-weight:900}
.discount-badge{display:inline-block;background:#ffedd5;color:#9a3412;border-radius:10px;padding:4px 8px;margin-left:8px;font-weight:900}
.product-photo-buyer{width:100%;height:180px;object-fit:cover;border-radius:18px;margin-bottom:14px;background:#eef8f2}
.edit-preview{max-width:220px;max-height:180px;object-fit:cover;border-radius:18px;display:block;margin:10px 0}
.empty-products{padding:24px;text-align:center;color:#60766b;border:1px dashed #cfe8d8;border-radius:18px}
@media(max-width:900px){
  .seller-page{display:block}
  .seller-side{position:relative;height:auto}
  .seller-main{padding:18px}
  .seller-main h1{font-size:34px}
  .seller-grid-2,.seller-grid-3,.seller-search,.seller-inline{grid-template-columns:1fr}
  .seller-product-row{grid-template-columns:72px 1fr}
  .seller-product-actions{grid-column:1/-1;justify-content:flex-start}
  .seller-product-img{width:72px;height:72px}
}


/* =========================
   VAY Delivery v16 Premium Burgundy Theme
   ========================= */
:root{
  --g:#7A1020 !important;
  --green:#7A1020 !important;
  --d:#2A0710 !important;
  --dark:#2A0710 !important;
  --bg:#FFF9F7 !important;
  --l:#EAD7D7 !important;
  --line:#EAD7D7 !important;
  --soft:#FFF2EF !important;
  --y:#F4D7B5 !important;
  --yellow:#F4D7B5 !important;
  --burgundy:#7A1020;
  --burgundy-dark:#4B0610;
  --burgundy-soft:#FFF2EF;
  --gold:#C9A35B;
  --ink:#26070E;
  --muted:#80666B;
}

html,body{
  background:
    radial-gradient(circle at top left, rgba(122,16,32,.08), transparent 34%),
    linear-gradient(180deg,#FFFDFC 0%,#FFF7F4 100%) !important;
  color:var(--ink) !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
}

a{color:inherit}

.top,
.topbar,
header{
  background:rgba(255,255,255,.92) !important;
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(122,16,32,.13) !important;
  box-shadow:0 10px 35px rgba(80,8,20,.06) !important;
}

.brand,
.logo,
header b{
  color:var(--burgundy) !important;
  letter-spacing:-.5px;
}

.nav a,
.desktopNav a,
.btnLite,
.lite,
.chip,
.chips span{
  background:#fff !important;
  border:1px solid rgba(122,16,32,.16) !important;
  color:var(--ink) !important;
  box-shadow:0 8px 20px rgba(80,8,20,.04);
}

.nav a:hover,
.desktopNav a:hover,
.btnLite:hover,
.lite:hover,
.chip:hover,
.chips span:hover{
  background:var(--burgundy-soft) !important;
  border-color:rgba(122,16,32,.32) !important;
}

.btn,
button,
.mainBtn,
.primary,
.loginBtn,
.addressBtn:not(.yellow),
.seller-form button,
.card button{
  background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark)) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 12px 28px rgba(122,16,32,.24) !important;
}

button:hover,
.btn:hover,
.mainBtn:hover,
.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(122,16,32,.28) !important;
}

.yellow,
.addressBtn{
  background:linear-gradient(135deg,#F8E5C8,#E8C17C) !important;
  color:#2A0710 !important;
  border:1px solid rgba(122,16,32,.12) !important;
  box-shadow:0 12px 24px rgba(201,163,91,.22) !important;
}

.search,
.searchBox{
  background:#fff !important;
  border:1px solid rgba(122,16,32,.13) !important;
  box-shadow:0 12px 30px rgba(80,8,20,.05);
}

.hero{
  background:
    radial-gradient(circle at 82% 10%, rgba(201,163,91,.28), transparent 28%),
    linear-gradient(135deg,#fff 0%,#FFF1ED 100%) !important;
  border:1px solid rgba(122,16,32,.15) !important;
  box-shadow:0 28px 70px rgba(80,8,20,.09) !important;
}

.hero h1{
  color:var(--ink) !important;
  letter-spacing:-1.2px;
}

.hero p,
.muted,
.storeInfo small,
small{
  color:var(--muted) !important;
}

.card,
.storeCard,
.productCard,
.storeHero,
.login,
.seller-card,
.seller-product-row,
.addressBox,
.modalCard{
  background:rgba(255,255,255,.95) !important;
  border:1px solid rgba(122,16,32,.13) !important;
  box-shadow:0 18px 45px rgba(80,8,20,.07) !important;
}

.card:hover,
.storeCard:hover,
.productCard:hover{
  box-shadow:0 24px 60px rgba(80,8,20,.11) !important;
}

.storeCover,
.storeLogo,
.storeBigLogo,
.logoBox,
.seller-product-img{
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg,var(--burgundy),var(--burgundy-dark)) !important;
}

.storeCover span,
.storeLogoText,
.logoText{
  color:#fff !important;
}

input,
select,
textarea{
  background:#fff !important;
  border:1px solid rgba(122,16,32,.16) !important;
  color:var(--ink) !important;
  outline:none !important;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(122,16,32,.55) !important;
  box-shadow:0 0 0 4px rgba(122,16,32,.08) !important;
}

.price,
.distance,
.back,
.back-link,
.onlineText,
.secondaryText{
  color:var(--burgundy) !important;
}

.online,
.secondary,
.btn-lite{
  background:#fff !important;
  color:var(--burgundy) !important;
  border:1px solid rgba(122,16,32,.18) !important;
  box-shadow:0 10px 22px rgba(80,8,20,.05) !important;
}

.discount-badge{
  background:#FFF0D9 !important;
  color:#8A4B00 !important;
  border:1px solid rgba(201,163,91,.28);
}

.stars{
  color:var(--gold) !important;
}

footer{
  color:var(--muted) !important;
  border-top:1px solid rgba(122,16,32,.13) !important;
}

/* Admin / Seller premium */
.side,
.seller-side{
  background:
    radial-gradient(circle at top left, rgba(201,163,91,.22), transparent 28%),
    linear-gradient(180deg,var(--burgundy-dark),#2A0710) !important;
  color:#fff !important;
  border-right:0 !important;
  box-shadow:18px 0 55px rgba(80,8,20,.14);
}

.side h2,
.seller-side h2{
  color:#fff !important;
}

.side a,
.seller-side a{
  color:#fff !important;
}

.side a:hover,
.side a.active,
.seller-side a:hover,
.seller-side a.active{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

.content,
.seller-main{
  background:
    radial-gradient(circle at 80% 0%, rgba(122,16,32,.06), transparent 30%),
    #FFF9F7 !important;
}

.table,
table{
  background:#fff !important;
  border:1px solid rgba(122,16,32,.12) !important;
  border-radius:22px !important;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(80,8,20,.06);
}

.table th,
table th{
  background:#FFF2EF !important;
  color:var(--ink) !important;
}

.table td,
.table th,
table td,
table th{
  border-bottom:1px solid rgba(122,16,32,.10) !important;
}

.danger-btn,
button[style*="background:#b42318"],
button[style*="background: #b42318"]{
  background:linear-gradient(135deg,#B42318,#7A1020) !important;
}

.seller-tabs a{
  background:#fff !important;
  border:1px solid rgba(122,16,32,.15) !important;
  color:var(--ink) !important;
}

.seller-tabs a.active{
  background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark)) !important;
  color:#fff !important;
}

.product-photo-buyer,
.edit-preview,
.seller-product-img img,
.cover img,
.storeCover img{
  box-shadow:0 12px 28px rgba(80,8,20,.10);
}

/* Make layout look more expensive */
.page,
.container{
  max-width:1180px !important;
}

h1,h2,h3{
  color:var(--ink) !important;
  letter-spacing:-.5px;
}

.card,
.storeCard,
.productCard,
.seller-card{
  border-radius:26px !important;
}

button,
.btn,
.nav a,
.lite,
.chip,
input,
select,
textarea{
  transition:.18s ease;
}

/* Mobile polish */
@media(max-width:760px){
  .top,.topbar,header{
    background:#fff !important;
  }
  .hero{
    border-radius:28px !important;
  }
}


/* v17 buyer photo + premium header buttons */
.buyer-product-photo-wrap{
  width:100%;
  height:190px;
  border-radius:22px;
  overflow:hidden;
  background:#FFF2EF;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(122,16,32,.10);
}
.buyer-product-photo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:22px!important;
  margin:0!important;
  box-shadow:none!important;
}
.buyer-price-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin:10px 0 4px;
}
.buyer-price-line s{
  color:#9b7b80;
  font-weight:700;
}
.buyer-price-line b{
  color:#2A0710;
  font-size:18px;
}
.buyer-stock-line{
  color:#80666B;
  font-size:14px;
  margin:6px 0 10px;
}

/* make old buyer image class work too */
.product-photo-buyer{
  width:100%!important;
  height:190px!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:22px!important;
  margin-bottom:16px!important;
  background:#FFF2EF!important;
}

/* premium header nav override */
header nav a,
.top nav a,
.topbar nav a,
.desktopNav a,
.nav a,
.premium-nav-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 18px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.18)!important;
  color:#2A0710!important;
  text-decoration:none!important;
  font-weight:900!important;
  box-shadow:0 10px 26px rgba(80,8,20,.07)!important;
  line-height:1!important;
}

header nav a:hover,
.top nav a:hover,
.topbar nav a:hover,
.desktopNav a:hover,
.nav a:hover,
.premium-nav-link:hover{
  background:#FFF2EF!important;
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(80,8,20,.12)!important;
}

header nav a[href="/login"],
.top nav a[href="/login"],
.topbar nav a[href="/login"],
.desktopNav a[href="/login"],
.nav a[href="/login"],
.premium-login-link{
  background:linear-gradient(135deg,#7A1020,#4B0610)!important;
  color:#fff!important;
  border:0!important;
  padding:0 22px!important;
  min-height:48px!important;
  border-radius:20px!important;
  box-shadow:0 14px 34px rgba(122,16,32,.26)!important;
}

header nav a[href="/login"]:hover,
.top nav a[href="/login"]:hover,
.topbar nav a[href="/login"]:hover,
.desktopNav a[href="/login"]:hover,
.nav a[href="/login"]:hover,
.premium-login-link:hover{
  background:linear-gradient(135deg,#8E1427,#4B0610)!important;
  color:#fff!important;
}

/* if old header links are outside nav */
a[href="/stores"]:not(.brand):not(.btn),
a[href="/cart"]:not(.brand):not(.btn){
  border-radius:18px;
}

/* make product cards image-friendly */
.card:has(.buyer-product-photo),
.store-card:has(.buyer-product-photo),
.product-card:has(.buyer-product-photo){
  overflow:hidden;
}

/* fallback for browsers without :has is harmless */
.card .buyer-product-photo-wrap + h3,
.card .buyer-product-photo-wrap + h2{
  margin-top:0!important;
}

@media(max-width:700px){
  header nav a,
  .top nav a,
  .topbar nav a,
  .desktopNav a,
  .nav a{
    min-height:38px!important;
    padding:0 13px!important;
    font-size:14px!important;
  }
  header nav a[href="/login"],
  .top nav a[href="/login"],
  .topbar nav a[href="/login"],
  .desktopNav a[href="/login"],
  .nav a[href="/login"]{
    min-height:42px!important;
  }
  .buyer-product-photo-wrap,
  .product-photo-buyer{
    height:160px!important;
  }
}


/* v18 seller settings fix */
.seller-settings-form{
  max-width:980px;
}
.settings-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  margin-bottom:22px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(122,16,32,.12);
}
.settings-head h2{
  margin:0 0 6px;
  font-size:28px;
}
.settings-head p{
  margin:0;
  color:#80666B;
}
.settings-logo-box{
  width:112px;
  height:112px;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:0 18px 40px rgba(122,16,32,.22);
}
.settings-logo-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.settings-logo-box span{
  color:#fff;
  font-size:48px;
  font-weight:900;
}
.settings-payments{
  display:grid;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  gap:12px;
  margin:16px 0;
}
.settings-payments .seller-check{
  background:#fff7f4;
  border:1px solid rgba(122,16,32,.14);
  border-radius:18px;
  padding:14px 16px;
  margin:0!important;
}
.settings-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
}
.settings-actions button{
  min-width:220px;
}
.back-link{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(122,16,32,.16);
  color:#2A0710!important;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 10px 24px rgba(80,8,20,.06);
  margin-bottom:16px;
}
.back-link:hover{
  background:#FFF2EF;
}
@media(max-width:900px){
  .settings-head{
    align-items:flex-start;
    flex-direction:column-reverse;
  }
  .settings-payments{
    grid-template-columns:1fr;
  }
  .settings-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .settings-actions button,
  .settings-actions a{
    width:100%;
    text-align:center;
  }
}


/* v19 buyer product photo guaranteed */
.buyer-store-page{
  max-width:1180px!important;
}
.buyer-store-head{
  margin:20px 0 18px;
}
.buyer-store-head h1{
  font-size:46px;
  line-height:1;
  margin:0 0 12px;
  color:#2A0710!important;
}
.buyer-store-head p{
  margin:0;
  color:#80666B;
  font-size:17px;
}
.buyer-products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:22px;
  margin-top:18px;
}
.buyer-product-card{
  background:#fff;
  border:1px solid rgba(122,16,32,.14);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 22px 60px rgba(80,8,20,.08);
  display:flex;
  flex-direction:column;
  min-height:420px;
}
.buyer-product-image{
  width:100%;
  height:210px;
  background:#FFF2EF;
  border-bottom:1px solid rgba(122,16,32,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.buyer-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.buyer-product-placeholder span{
  color:#9b7b80;
  font-weight:900;
}
.buyer-product-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.buyer-product-body h3{
  margin:0 0 8px;
  font-size:22px;
  color:#2A0710!important;
}
.buyer-product-cat{
  margin:0 0 10px;
  color:#80666B;
  font-weight:700;
}
.buyer-product-desc{
  margin:0 0 14px;
  color:#2A0710;
  line-height:1.35;
  flex:1;
}
.buyer-product-price{
  display:flex;
  align-items:center;
  gap:8px;
  margin:8px 0 6px;
}
.buyer-product-price s{
  color:#9b7b80;
  font-weight:700;
}
.buyer-product-price b{
  font-size:20px;
  color:#2A0710;
}
.buyer-product-price span{
  background:#FFF0D9;
  color:#8A4B00;
  border-radius:10px;
  padding:4px 8px;
  font-weight:900;
}
.buyer-product-stock{
  color:#80666B;
  font-size:14px;
  margin-bottom:12px;
}
.buyer-product-body button{
  width:100%;
  min-height:48px;
  border-radius:16px!important;
}
.buyer-product-body button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.buyer-empty{
  background:#fff;
  border:1px dashed rgba(122,16,32,.20);
  border-radius:24px;
  padding:30px;
  color:#80666B;
  text-align:center;
}
@media(max-width:700px){
  .buyer-store-head h1{font-size:34px}
  .buyer-products-grid{grid-template-columns:1fr}
  .buyer-product-image{height:190px}
}


/* v20 clean buyer store + seller reviews */
.vay-header{
  height:74px!important;
  display:grid!important;
  grid-template-columns:auto minmax(280px,1fr) auto auto!important;
  align-items:center!important;
  gap:16px!important;
  padding:0 28px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(122,16,32,.14)!important;
  box-shadow:0 10px 35px rgba(80,8,20,.06)!important;
  position:sticky!important;
  top:0!important;
  z-index:50!important;
}
.vay-logo{
  font-size:30px!important;
  font-weight:900!important;
  color:#7A1020!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.vay-search{
  height:48px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 18px!important;
  border:1px solid rgba(122,16,32,.16)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(80,8,20,.05)!important;
}
.vay-search input{
  width:100%!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  font-size:16px!important;
}
.vay-address{
  height:48px!important;
  border-radius:20px!important;
  padding:0 22px!important;
  background:linear-gradient(135deg,#7A1020,#4B0610)!important;
  color:#fff!important;
  border:0!important;
  font-weight:900!important;
  white-space:nowrap!important;
  box-shadow:0 14px 34px rgba(122,16,32,.24)!important;
}
.vay-nav{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  white-space:nowrap!important;
}
.vay-nav a{
  height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 20px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.16)!important;
  color:#2A0710!important;
  text-decoration:none!important;
  font-weight:900!important;
  box-shadow:0 10px 24px rgba(80,8,20,.06)!important;
}
.vay-nav .vay-login{
  background:linear-gradient(135deg,#7A1020,#4B0610)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 14px 34px rgba(122,16,32,.26)!important;
}

.buyer-page{
  width:min(1180px,calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:34px 0 70px!important;
}
.buyer-back{
  display:inline-flex!important;
  height:42px!important;
  align-items:center!important;
  padding:0 16px!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.16)!important;
  color:#2A0710!important;
  text-decoration:none!important;
  font-weight:900!important;
  box-shadow:0 10px 24px rgba(80,8,20,.06)!important;
  margin-bottom:18px!important;
}
.buyer-store-title{
  margin-bottom:24px!important;
}
.buyer-store-title h1{
  font-size:50px!important;
  line-height:1!important;
  margin:0 0 12px!important;
  color:#2A0710!important;
  letter-spacing:-1px!important;
}
.buyer-store-title p{
  margin:0!important;
  color:#80666B!important;
  font-size:18px!important;
}
.buyer-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
}
.buyer-card{
  min-width:0!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.14)!important;
  border-radius:30px!important;
  overflow:hidden!important;
  box-shadow:0 24px 60px rgba(80,8,20,.09)!important;
  display:flex!important;
  flex-direction:column!important;
}
.buyer-img{
  width:100%!important;
  height:220px!important;
  background:#FFF2EF!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-bottom:1px solid rgba(122,16,32,.10)!important;
}
.buyer-img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.buyer-img span{
  color:#9b7b80!important;
  font-weight:900!important;
}
.buyer-info{
  padding:20px!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
}
.buyer-info h3{
  margin:0 0 8px!important;
  font-size:23px!important;
  color:#2A0710!important;
}
.buyer-cat{
  margin:0 0 10px!important;
  color:#80666B!important;
  font-weight:800!important;
}
.buyer-desc{
  margin:0 0 16px!important;
  color:#2A0710!important;
  line-height:1.4!important;
  min-height:22px!important;
}
.buyer-price{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:8px 0 6px!important;
}
.buyer-price s{color:#9b7b80!important;font-weight:700!important}
.buyer-price b{font-size:20px!important;color:#2A0710!important}
.buyer-price span{
  background:#FFF0D9!important;
  color:#8A4B00!important;
  border-radius:10px!important;
  padding:4px 8px!important;
  font-weight:900!important;
}
.buyer-stock{
  color:#80666B!important;
  font-size:14px!important;
  margin-bottom:14px!important;
}
.buyer-info form{
  margin-top:auto!important;
}
.buyer-info button{
  width:100%!important;
  height:50px!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,#7A1020,#4B0610)!important;
  color:#fff!important;
  border:0!important;
  font-weight:900!important;
  box-shadow:0 14px 30px rgba(122,16,32,.23)!important;
}
.buyer-info button:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}
.vay-footer{
  text-align:center!important;
  padding:24px!important;
  border-top:1px solid rgba(122,16,32,.14)!important;
  color:#80666B!important;
  background:rgba(255,255,255,.55)!important;
}

/* seller reviews */
.seller-reviews-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}
.seller-reviews-head h1{
  margin:0 0 8px!important;
  font-size:44px!important;
}
.seller-reviews-head p{
  margin:0;
  color:#80666B;
}
.seller-rating-box{
  min-width:110px;
  height:82px;
  border-radius:24px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 18px 40px rgba(122,16,32,.22);
}
.seller-rating-box span{
  color:#F4D7B5;
  font-size:28px;
}
.seller-rating-box b{
  font-size:30px;
}
.seller-review-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.seller-review-card{
  background:#fff;
  border:1px solid rgba(122,16,32,.14);
  border-radius:26px;
  padding:22px;
  box-shadow:0 18px 45px rgba(80,8,20,.07);
}
.review-stars{
  color:#C9A35B;
  font-size:24px;
  letter-spacing:2px;
}
.seller-review-card h3{
  margin:8px 0 8px;
  color:#2A0710!important;
}
.seller-review-card p{
  color:#2A0710;
  line-height:1.45;
}
.seller-review-card small{
  color:#80666B;
}
.seller-reply{
  background:#FFF2EF;
  border:1px solid rgba(122,16,32,.12);
  border-radius:18px;
  padding:14px 16px;
  margin:16px 0;
}
.seller-reply p{
  margin:6px 0 0;
}
.reply-form label{
  display:block;
  font-weight:900;
  margin-bottom:8px;
}
.reply-form textarea{
  width:100%;
  min-height:90px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.16);
  padding:14px;
  resize:vertical;
}
.reply-form button{
  margin-top:10px;
  min-width:170px;
}

@media(max-width:1100px){
  .vay-header{
    grid-template-columns:1fr auto!important;
    height:auto!important;
    padding:14px!important;
  }
  .vay-search{grid-column:1/-1;order:3}
  .vay-address{order:2;max-width:260px;overflow:hidden;text-overflow:ellipsis}
  .vay-nav{grid-column:1/-1;order:4;overflow:auto}
  .buyer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .buyer-page{width:calc(100% - 24px)!important;padding-top:20px!important}
  .buyer-grid{grid-template-columns:1fr!important}
  .buyer-store-title h1{font-size:36px!important}
  .buyer-img{height:200px!important}
  .seller-reviews-head{align-items:flex-start;flex-direction:column}
}


.buyer-tabs{
display:flex;
gap:10px;
margin:20px 0;
flex-wrap:wrap;
}

.buyer-tabs a{
padding:10px 18px;
border-radius:14px;
text-decoration:none;
font-weight:700;
background:#fff;
color:#2A0710;
border:1px solid rgba(122,16,32,.15);
}

.buyer-tabs a.active{
background:#7A1020;
color:#fff;
}

.compact-products-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
margin-top:20px;
}

.compact-product-card{
background:#fff;
border-radius:24px;
overflow:hidden;
border:1px solid rgba(122,16,32,.1);
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.compact-product-img{
height:180px;
overflow:hidden;
background:#fff;
}

.compact-product-img img{
width:100%;
height:100%;
object-fit:cover;
}

.compact-product-info{
padding:16px;
}

.compact-product-info button{
width:100%;
height:42px;
border:0;
border-radius:14px;
background:#7A1020;
color:#fff;
font-weight:700;
margin-top:10px;
}

@media(max-width:1000px){
.compact-products-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:600px){
.compact-products-grid{
grid-template-columns:1fr;
}
}


/* v22 category duplicate fix */
.buyer-filter-card{
  background:#fff!important;
  border:1px solid rgba(122,16,32,.14)!important;
  border-radius:24px!important;
  padding:16px!important;
  margin:0 0 20px!important;
  box-shadow:0 14px 34px rgba(80,8,20,.06)!important;
}
.buyer-filter-top{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:16px!important;
  margin-bottom:12px!important;
}
.buyer-filter-top h2{
  margin:0!important;
  font-size:24px!important;
}
.buyer-filter-select select{
  min-width:220px!important;
  height:44px!important;
  border-radius:16px!important;
}
.buyer-tabs-clean{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  max-height:112px!important;
  overflow:auto!important;
  padding:2px 0!important;
}
.buyer-tabs-clean a{
  white-space:nowrap!important;
  text-decoration:none!important;
  color:#2A0710!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.16)!important;
  border-radius:18px!important;
  padding:10px 16px!important;
  font-weight:900!important;
}
.buyer-tabs-clean a.active{
  background:linear-gradient(135deg,#7A1020,#4B0610)!important;
  color:#fff!important;
  border-color:transparent!important;
}
@media(max-width:760px){
  .buyer-filter-top{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .buyer-filter-select select{
    width:100%!important;
  }
  .buyer-tabs-clean{
    max-height:150px!important;
  }
}

/* final category cleanup */
.buyer-filter-card select,
.buyer-filter-select {
  display: none !important;
}

.buyer-tabs-clean {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 10px !important;
  padding: 8px 0 12px !important;
  max-height: none !important;
  scrollbar-width: thin;
}

.buyer-tabs-clean a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}


/* v23 safe market product layout */
.market-page{
  width:min(1360px,calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:240px 1fr;
  gap:22px;
  padding:24px 0 70px;
}
.market-sidebar{
  position:sticky;
  top:92px;
  height:calc(100vh - 110px);
  overflow:auto;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:24px;
  padding:16px;
  box-shadow:0 16px 40px rgba(80,8,20,.06);
}
.market-back{
  display:inline-flex;
  padding:10px 14px;
  border-radius:14px;
  background:#FFF2EF;
  color:#2A0710;
  text-decoration:none;
  font-weight:900;
  margin-bottom:14px;
}
.market-sidebar h3{margin:8px 0 12px;font-size:22px;color:#2A0710}
.market-sidebar>a:not(.market-back){
  display:block;
  padding:11px 12px;
  border-radius:14px;
  color:#2A0710;
  text-decoration:none;
  font-weight:800;
  margin-bottom:5px;
}
.market-sidebar>a.active:not(.market-back),
.market-sidebar>a:not(.market-back):hover{
  background:#FFF2EF;
  color:#7A1020;
}
.market-rating{
  margin-top:18px;
  padding:14px;
  border-radius:18px;
  background:#FFF2EF;
}
.market-rating b{display:block;font-size:24px;color:#7A1020}
.market-rating span{color:#80666B}
.market-store-head{margin-bottom:22px}
.market-store-head h1{font-size:46px;margin:0 0 10px;color:#2A0710}
.market-store-head p{margin:0;color:#80666B}
.market-products-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.market-product{
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(122,16,32,.10);
  overflow:hidden;
  box-shadow:0 14px 34px rgba(80,8,20,.055);
}
.market-product-img{
  height:132px;
  background:#f6f2f1;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.market-product-img img{width:100%;height:100%;object-fit:cover}
.market-product-img span{color:#9b7b80;font-weight:900}
.market-product-body{padding:12px}
.market-price{display:flex;gap:6px;align-items:center;margin-bottom:6px}
.market-price s{font-size:13px;color:#9b7b80;font-weight:700}
.market-price b{font-size:20px;color:#2A0710}
.market-product h3{
  font-size:15px;
  line-height:1.2;
  margin:0 0 5px;
  color:#2A0710;
  min-height:36px;
}
.market-product p{
  color:#2A0710;
  font-size:14px;
  line-height:1.22;
  margin:0 0 6px;
  min-height:34px;
  max-height:34px;
  overflow:hidden;
}
.market-product small{display:block;color:#80666B;margin-bottom:8px}
.market-product button{
  width:100%;
  height:42px;
  border-radius:14px;
  border:0;
  background:#F4F1F0!important;
  color:#2A0710!important;
  font-size:26px;
  font-weight:400;
  box-shadow:none!important;
}
.market-product button:disabled{font-size:13px;opacity:.65}
.market-reviews{margin-top:34px}
.market-reviews h2{font-size:28px;margin-bottom:16px}
.review-card{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:22px;
  padding:18px;
  margin-bottom:12px;
  box-shadow:0 14px 34px rgba(80,8,20,.05);
}
.review-stars{color:#C9A35B;font-size:20px}
@media(max-width:1200px){.market-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:960px){
  .market-page{grid-template-columns:1fr}
  .market-sidebar{position:relative;top:auto;height:auto;display:flex;gap:8px;overflow:auto}
  .market-sidebar h3,.market-rating{display:none}
  .market-sidebar>a:not(.market-back){white-space:nowrap;flex:0 0 auto}
  .market-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){.market-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-store-head h1{font-size:34px}}
@media(max-width:420px){.market-products-grid{grid-template-columns:1fr}}


/* v24 cart qty and seller reviews fix */
.qty-control{
  width:100%;
  height:42px;
  border-radius:14px;
  background:#F4F1F0;
  display:grid;
  grid-template-columns:42px 1fr 42px;
  align-items:center;
  overflow:hidden;
}
.qty-control .qty-plus,
.qty-control .qty-minus,
.qty-control .qty-disabled{
  width:100%!important;
  height:42px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#2A0710!important;
  box-shadow:none!important;
  font-size:24px!important;
  font-weight:800!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
}
.qty-control span{
  text-align:center;
  font-size:18px;
  font-weight:900;
  color:#2A0710;
}
.qty-control .qty-plus:only-child{
  grid-column:1 / -1;
}
.qty-control .qty-disabled{
  grid-column:1 / -1;
  color:#8d6f75!important;
  font-size:14px!important;
  cursor:not-allowed!important;
}
.reply-form textarea{
  width:100%;
  min-height:90px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.16);
  padding:14px;
  margin-top:12px;
}
.reply-form button{
  margin-top:10px;
}
.review-stars{
  color:#C9A35B;
  font-size:22px;
}
.seller-reply{
  background:#FFF2EF;
  border:1px solid rgba(122,16,32,.12);
  border-radius:16px;
  padding:12px;
  margin-top:12px;
}


/* v26 admin panel */
.admin-v26{display:grid;grid-template-columns:270px 1fr;min-height:100vh;background:#fff8f6;color:#2A0710}
.admin-v26-side{background:linear-gradient(180deg,#4B0610,#250308);color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh;overflow:auto;box-shadow:16px 0 45px rgba(80,8,20,.18)}
.admin-v26-logo{font-size:26px;font-weight:900;margin:0 0 20px;padding:10px 12px}
.admin-v26-side a{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;padding:12px 14px;border-radius:14px;font-weight:800;margin-bottom:4px}
.admin-v26-side a:hover{background:rgba(255,255,255,.12)}
.admin-v26-main{padding:28px;max-width:1400px;width:100%}
.admin-v26-main h1{font-size:42px;margin:0 0 22px;color:#2A0710}
.admin-v26-main h2{margin:0 0 16px;color:#2A0710}
.admin-v26-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:22px}
.admin-v26-stats div{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:18px;box-shadow:0 14px 34px rgba(80,8,20,.06)}
.admin-v26-stats b{display:block;font-size:28px;color:#7A1020;margin-bottom:4px}
.admin-v26-stats span{color:#80666B;font-weight:800}
.admin-v26-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.admin-v26-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:20px;margin-bottom:18px;box-shadow:0 16px 40px rgba(80,8,20,.06);overflow:auto}
.admin-v26-card table,.admin-v26-main table{width:100%;border-collapse:collapse;background:#fff}
.admin-v26-card th,.admin-v26-card td,.admin-v26-main th,.admin-v26-main td{padding:12px;border-bottom:1px solid rgba(122,16,32,.10);text-align:left;vertical-align:top}
.admin-v26-card th,.admin-v26-main th{background:#FFF2EF;color:#2A0710;font-weight:900}
.admin-v26-filter{display:grid;grid-template-columns:1fr 220px auto;gap:10px;background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:14px;margin-bottom:18px;box-shadow:0 14px 34px rgba(80,8,20,.05)}
.admin-v26-filter input,.admin-v26-filter select{height:46px;border-radius:14px;border:1px solid rgba(122,16,32,.16);padding:0 14px}
.admin-v26-filter button,.admin-v26-main button,.admin-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:14px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff!important;border:0;text-decoration:none;font-weight:900;box-shadow:0 12px 26px rgba(122,16,32,.22)}
.admin-badge{display:inline-flex;padding:6px 10px;border-radius:12px;background:#FFF2EF;color:#7A1020;font-weight:900}
@media(max-width:900px){.admin-v26{display:block}.admin-v26-side{position:relative;height:auto}.admin-v26-grid{grid-template-columns:1fr}.admin-v26-filter{grid-template-columns:1fr}.admin-v26-main{padding:16px}.admin-v26-main h1{font-size:32px}}


/* v27 admin pages fix */
.admin-v27{
  display:grid;
  grid-template-columns:270px 1fr;
  min-height:100vh;
  background:#fff8f6;
  color:#2A0710;
}
.admin-v27-side{
  background:linear-gradient(180deg,#4B0610,#250308);
  color:#fff;
  padding:22px 16px;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
  box-shadow:16px 0 45px rgba(80,8,20,.18);
}
.admin-v27-logo{
  font-size:26px;
  font-weight:900;
  margin-bottom:20px;
  padding:10px 12px;
}
.admin-v27-side a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
  margin-bottom:4px;
}
.admin-v27-side a:hover{
  background:rgba(255,255,255,.12);
}
.admin-v27-main{
  padding:28px;
  max-width:1450px;
  width:100%;
}
.admin-v27-main h1{
  font-size:42px;
  margin:0 0 22px;
  color:#2A0710;
}
.admin-v27-back{
  display:inline-flex;
  margin-bottom:14px;
  padding:10px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(122,16,32,.14);
  text-decoration:none;
  color:#2A0710;
  font-weight:900;
}
.admin-v27-filter{
  display:grid;
  grid-template-columns:1.5fr 220px 220px 220px auto;
  gap:10px;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:24px;
  padding:16px;
  margin-bottom:18px;
  box-shadow:0 14px 34px rgba(80,8,20,.05);
}
.admin-v27-filter input,
.admin-v27-filter select{
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(122,16,32,.16);
  padding:0 14px;
  background:#fff;
}
.admin-v27-filter button,
.admin-v27-btn,
.support-item-v27 button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  border:0;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff!important;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 12px 26px rgba(122,16,32,.22);
}
.admin-v27-card{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:26px;
  padding:20px;
  box-shadow:0 16px 40px rgba(80,8,20,.06);
  overflow:auto;
}
.admin-v27-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.admin-v27-card-head h2{
  margin:0;
  color:#2A0710;
}
.admin-v27-card-head span{
  color:#80666B;
  font-weight:900;
}
.admin-v27-empty{
  padding:26px;
  background:#fff8f6;
  border:1px dashed rgba(122,16,32,.22);
  border-radius:20px;
  color:#80666B;
  font-weight:800;
}
.admin-products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px;
}
.admin-product-card{
  border:1px solid rgba(122,16,32,.12);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 28px rgba(80,8,20,.05);
}
.admin-product-img{
  height:150px;
  background:#FFF2EF;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.admin-product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.admin-product-img span{
  color:#9b7b80;
  font-weight:900;
}
.admin-product-body{
  padding:14px;
}
.admin-product-body h3{
  margin:0 0 8px;
  color:#2A0710;
}
.admin-product-body p{
  margin:4px 0;
  color:#80666B;
}
.admin-product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0;
}
.admin-product-meta span,
.admin-v27-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:12px;
  background:#FFF2EF;
  color:#7A1020;
  font-weight:900;
  font-size:13px;
}
.admin-product-status{
  color:#80666B;
  font-weight:800;
  margin-bottom:12px;
}
.admin-v27-table{
  width:100%;
  border-collapse:collapse;
}
.admin-v27-table th,
.admin-v27-table td{
  padding:12px;
  border-bottom:1px solid rgba(122,16,32,.10);
  text-align:left;
}
.admin-v27-table th{
  background:#FFF2EF;
  color:#2A0710;
  font-weight:900;
}
.support-list-v27{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.support-item-v27{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:16px;
  padding:16px;
  border:1px solid rgba(122,16,32,.12);
  border-radius:20px;
}
.support-item-v27 small{
  display:block;
  color:#80666B;
  margin:4px 0;
}
.support-item-v27 p{
  margin:8px 0 0;
}
.support-item-v27 form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  align-items:center;
}
.support-item-v27 input{
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(122,16,32,.16);
  padding:0 14px;
}
@media(max-width:1000px){
  .admin-v27{display:block}
  .admin-v27-side{position:relative;height:auto}
  .admin-v27-filter{grid-template-columns:1fr}
  .support-item-v27{grid-template-columns:1fr}
  .admin-v27-main{padding:16px}
  .admin-v27-main h1{font-size:32px}
}


/* v28.1 finance seller panel */
.admin-v26-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}
.admin-v26-stats div{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:18px;box-shadow:0 14px 34px rgba(80,8,20,.06)}
.admin-v26-stats b{display:block;font-size:28px;color:#7A1020;margin-bottom:4px}
.admin-v26-stats span{color:#80666B;font-weight:800}


/* v29 menus visible fix */
.seller-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:18px 0}
.seller-quick-grid a,.seller-quick-grid div{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:18px;text-decoration:none;color:#2A0710;font-weight:900;box-shadow:0 14px 34px rgba(80,8,20,.06)}
.seller-quick-grid b{display:block;font-size:26px;color:#7A1020;margin-bottom:5px}
.seller-quick-grid span{color:#80666B;font-weight:800}
.seller-side a{display:block!important}
.admin-v27-table{width:100%;border-collapse:collapse}
.admin-v27-table th,.admin-v27-table td{padding:12px;border-bottom:1px solid rgba(122,16,32,.10);text-align:left}
.admin-v27-table th{background:#FFF2EF}


/* v30 admin control */
.admin-store-list-v30{display:flex;flex-direction:column;gap:16px}
.admin-store-card-v30{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(80,8,20,.05)}
.admin-store-main-v30{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.admin-store-logo-v30{width:76px;height:76px;border-radius:18px;background:linear-gradient(135deg,#7A1020,#4B0610);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.admin-store-logo-v30 img{width:100%;height:100%;object-fit:cover}
.admin-store-logo-v30 span{color:#fff;font-size:34px;font-weight:900}
.admin-store-main-v30 h3{margin:0 0 6px;font-size:22px}
.admin-store-main-v30 p,.admin-store-main-v30 small{color:#80666B;margin:0 0 4px}
.admin-store-badges-v30{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.admin-store-badges-v30 span{padding:6px 10px;border-radius:12px;background:#FFF2EF;color:#7A1020;font-weight:900;font-size:13px}
.admin-store-control-v30{display:grid;grid-template-columns:160px 160px repeat(4,1fr) auto;gap:8px;align-items:center}
.admin-store-top-v30{display:grid;grid-template-columns:120px 120px auto;gap:8px;margin-top:10px;max-width:420px}
.admin-store-control-v30 input,.admin-store-top-v30 input,.admin-banner-form-v30 input,.admin-banner-form-v30 select{height:42px;border-radius:14px;border:1px solid rgba(122,16,32,.16);padding:0 12px;background:#fff}
.admin-store-control-v30 button,.admin-store-top-v30 button,.admin-banner-form-v30 button,.admin-banner-card-v30 button{height:42px;border:0;border-radius:14px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff;font-weight:900;padding:0 16px}
.admin-banner-form-v30{display:grid;grid-template-columns:1fr 1fr 1fr 160px 140px 220px auto;gap:10px;align-items:center}
.admin-banner-grid-v30{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.admin-banner-card-v30{border:1px solid rgba(122,16,32,.12);border-radius:22px;overflow:hidden;padding:14px;background:#fff;box-shadow:0 12px 28px rgba(80,8,20,.05)}
.admin-banner-card-v30 img{width:100%;height:140px;object-fit:cover;border-radius:16px}
.admin-banner-card-v30 h3{margin:12px 0 6px}
.admin-banner-card-v30 p{color:#80666B}
.admin-banner-card-v30 .danger{background:#b42318!important}
@media(max-width:1100px){.admin-store-control-v30,.admin-banner-form-v30{grid-template-columns:1fr}.admin-store-top-v30{grid-template-columns:1fr}}


/* v31.1 buyer profile */
.buyer-cabinet{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 80px);background:#fff8f6;color:#2A0710}
.buyer-side{background:linear-gradient(180deg,#4B0610,#250308);color:#fff;padding:22px 16px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto;box-shadow:16px 0 45px rgba(80,8,20,.15)}
.buyer-side h2{font-size:28px;margin:0 0 18px;padding:8px 12px}
.buyer-side a{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;padding:12px 14px;border-radius:14px;font-weight:850;margin-bottom:4px}
.buyer-side a:hover{background:rgba(255,255,255,.12)}
.buyer-main{padding:30px;max-width:1300px;width:100%}
.buyer-main h1{font-size:42px;margin:0 0 22px;color:#2A0710}
.buyer-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:22px}
.buyer-stat-grid div,.buyer-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:20px;box-shadow:0 16px 40px rgba(80,8,20,.06)}
.buyer-stat-grid b{display:block;font-size:30px;color:#7A1020;margin-bottom:4px}
.buyer-stat-grid span{color:#80666B;font-weight:800}
.buyer-card{margin-bottom:18px}
.buyer-card h2{margin:0 0 14px;color:#2A0710}
.buyer-row,.buyer-order-card{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:14px;border:1px solid rgba(122,16,32,.10);border-radius:18px;margin-bottom:10px;background:#fff}
.buyer-row span,.buyer-order-card span,.buyer-order-card p{color:#80666B}
.buyer-row a,.buyer-order-card a,.buyer-form button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:14px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff;text-decoration:none;border:0;font-weight:900}
.buyer-empty{padding:24px;border-radius:18px;background:#fff8f6;border:1px dashed rgba(122,16,32,.22);color:#80666B;font-weight:800}
.buyer-fav-grid,.buyer-promo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.buyer-fav-card,.buyer-promo-card{display:block;background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:16px;text-decoration:none;color:#2A0710;box-shadow:0 12px 28px rgba(80,8,20,.05)}
.buyer-fav-card img{width:100%;height:130px;object-fit:cover;border-radius:16px;margin-bottom:10px}
.buyer-promo-card b{font-size:22px;color:#7A1020;display:block}
.buyer-promo-card span,.buyer-promo-card small{display:block;color:#80666B;margin-top:6px}
.buyer-copy-box{padding:16px;border-radius:16px;background:#FFF2EF;color:#7A1020;font-weight:900;word-break:break-all}
.buyer-form{display:grid;gap:12px;max-width:520px}
.buyer-form input{height:48px;border-radius:16px;border:1px solid rgba(122,16,32,.16);padding:0 14px}
@media(max-width:900px){.buyer-cabinet{display:block}.buyer-side{position:relative;top:auto;height:auto}.buyer-main{padding:18px}.buyer-main h1{font-size:32px}.buyer-row,.buyer-order-card{grid-template-columns:1fr}}


/* v31.2 profile name and address edit */
.buyer-address-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(122,16,32,.10);
  border-radius:20px;
  margin-bottom:12px;
  background:#fff;
}
.buyer-address-row h3{
  margin:0 0 6px;
  color:#2A0710;
}
.buyer-address-row p{
  margin:0;
  color:#80666B;
}
.buyer-address-actions{
  display:flex;
  gap:8px;
  align-items:center;
}
.buyer-address-actions a,
.buyer-address-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:14px;
  border:0;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
}
.buyer-address-actions button{
  background:#b42318;
}
.buyer-badge{
  display:inline-flex;
  margin-top:10px;
  padding:6px 10px;
  border-radius:12px;
  background:#FFF2EF;
  color:#7A1020;
  font-weight:900;
}
.buyer-success{
  padding:14px;
  margin-bottom:14px;
  border-radius:16px;
  background:#edf8f2;
  color:#087443;
  font-weight:900;
}
.buyer-form-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.buyer-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
}
@media(max-width:800px){
  .buyer-address-row{grid-template-columns:1fr}
  .buyer-address-actions{flex-direction:column;align-items:stretch}
  .buyer-form-grid{grid-template-columns:1fr}
}


/* v31.3 cart badge and support photo */
.cart-badge{
  display:none;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  margin-left:7px;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#7A1020;
  font-size:13px;
  font-weight:950;
  box-shadow:0 6px 14px rgba(80,8,20,.18);
}
.vay-nav a .cart-badge,
.vay-login .cart-badge{
  vertical-align:middle;
}
.qty-control.loading{
  opacity:.72;
  pointer-events:none;
}
.qty-control .qty-plus.single{
  grid-column:1 / -1;
}
.support-file{
  width:100%;
  margin:10px 0;
  padding:12px;
  border:1px solid rgba(122,16,32,.14);
  border-radius:14px;
  background:#fff;
}
.support-photo{
  display:block;
  max-width:240px;
  max-height:240px;
  object-fit:cover;
  border-radius:16px;
  margin-top:10px;
  border:1px solid rgba(122,16,32,.12);
  box-shadow:0 12px 26px rgba(80,8,20,.10);
}


/* v31.4 support tickets */
.support-chat-layout{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:18px;
  align-items:start;
}
.support-ticket-list,
.support-chat-window{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:24px;
  padding:16px;
  box-shadow:0 16px 40px rgba(80,8,20,.06);
}
.support-ticket-list{
  max-height:calc(100vh - 150px);
  overflow:auto;
}
.support-new-form{
  display:grid;
  gap:10px;
  padding:14px;
  border-radius:20px;
  background:#fff8f6;
  border:1px solid rgba(122,16,32,.10);
  margin-bottom:16px;
}
.support-new-form input,
.support-new-form textarea,
.support-reply-form textarea,
.support-reply-form input,
.support-chat-head select{
  width:100%;
  border:1px solid rgba(122,16,32,.16);
  border-radius:16px;
  padding:12px;
  background:#fff;
}
.support-new-form textarea,
.support-reply-form textarea{
  min-height:90px;
  resize:vertical;
}
.support-new-form button,
.support-reply-form button,
.support-chat-head button,
.support-close-btn{
  border:0;
  border-radius:16px;
  min-height:44px;
  padding:0 18px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.support-close-btn{
  background:#b42318;
}
.support-ticket-item{
  display:block;
  text-decoration:none;
  color:#2A0710;
  padding:14px;
  border:1px solid rgba(122,16,32,.10);
  border-radius:18px;
  margin-bottom:10px;
  background:#fff;
}
.support-ticket-item.active,
.support-ticket-item:hover{
  background:#FFF2EF;
  border-color:rgba(122,16,32,.22);
}
.support-ticket-item b,
.support-ticket-item span,
.support-ticket-item small{
  display:block;
}
.support-ticket-item span,
.support-ticket-item p{
  color:#80666B;
  margin:5px 0;
}
.status-new,
.status-process,
.status-closed{
  width:max-content;
  padding:5px 9px;
  border-radius:999px;
  font-weight:900;
}
.status-new{background:#fff2cc;color:#8a6100}
.status-process{background:#e8f1ff;color:#175cd3}
.status-closed{background:#edf8f2;color:#087443}
.support-chat-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  border-bottom:1px solid rgba(122,16,32,.10);
  padding-bottom:14px;
  margin-bottom:14px;
}
.support-chat-head h2{margin:0 0 4px}
.support-chat-head p{margin:0;color:#80666B}
.support-chat-head form{
  display:flex;
  gap:8px;
  align-items:center;
}
.support-messages{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:360px;
  max-height:520px;
  overflow:auto;
  padding:6px;
}
.support-msg{
  display:flex;
}
.support-msg.me{
  justify-content:flex-end;
}
.support-msg.admin{
  justify-content:flex-start;
}
.support-msg-bubble{
  max-width:min(620px,80%);
  padding:13px 15px;
  border-radius:18px;
  background:#fff8f6;
  border:1px solid rgba(122,16,32,.10);
}
.support-msg.me .support-msg-bubble{
  background:#7A1020;
  color:#fff;
}
.support-msg.me small,
.support-msg.me p{
  color:#fff;
}
.support-msg-bubble small{
  color:#80666B;
  font-weight:800;
}
.support-msg-bubble p{
  margin:7px 0 0;
}
.support-reply-form{
  display:grid;
  grid-template-columns:1fr 220px auto;
  gap:10px;
  margin-top:14px;
  align-items:end;
}
.support-photo{
  display:block;
  max-width:260px;
  max-height:260px;
  object-fit:cover;
  border-radius:16px;
  margin-top:10px;
  border:1px solid rgba(122,16,32,.12);
}
.support-tabs-admin{
  display:flex;
  gap:10px;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.support-tabs-admin a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.14);
  background:#fff;
  color:#2A0710;
  text-decoration:none;
  font-weight:900;
}
.support-tabs-admin a.active{
  background:#7A1020;
  color:#fff;
}
.support-tabs-admin span{
  display:inline-flex;
  min-width:22px;
  height:22px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  background:#FFF2EF;
  color:#7A1020;
  font-size:13px;
}
@media(max-width:980px){
  .support-chat-layout{grid-template-columns:1fr}
  .support-ticket-list{max-height:none}
  .support-chat-head{display:block}
  .support-chat-head form{margin-top:12px}
  .support-reply-form{grid-template-columns:1fr}
}


/* v31.5 moderators */
.mod-form{
 display:grid;
 grid-template-columns:1fr 1fr 1fr auto;
 gap:12px;
 margin-bottom:20px;
}
.mod-form input{
 border:1px solid rgba(122,16,32,.14);
 border-radius:14px;
 padding:12px;
}
.mod-form button,.open-btn{
 border:0;
 border-radius:14px;
 background:linear-gradient(135deg,#7A1020,#4B0610);
 color:#fff;
 font-weight:900;
 padding:12px 18px;
 text-decoration:none;
}
.mod-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
 gap:18px;
}
.mod-card{
 background:#fff;
 border-radius:22px;
 padding:18px;
 border:1px solid rgba(122,16,32,.12);
 box-shadow:0 12px 30px rgba(80,8,20,.08);
}
.mod-card h3{margin:0 0 8px}
.mod-card p{color:#80666B}
.mod-card .danger{
 border:0;
 border-radius:12px;
 background:#b42318;
 color:#fff;
 font-weight:900;
 padding:10px 14px;
}


/* v31.6 moderator login */
.auth-body{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#fff8f6,#FFF2EF);
}
.auth-card{
  width:min(440px,calc(100% - 28px));
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:28px;
  padding:28px;
  box-shadow:0 22px 60px rgba(80,8,20,.12);
}
.auth-card h1{
  margin:0 0 10px;
  color:#2A0710;
  font-size:34px;
}
.auth-card p{
  margin:0 0 20px;
  color:#80666B;
}
.auth-card form{
  display:grid;
  gap:12px;
}
.auth-card label{
  font-weight:900;
  color:#2A0710;
}
.auth-card input{
  height:50px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.16);
  padding:0 14px;
}
.auth-card button{
  height:52px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff;
  font-weight:950;
  font-size:16px;
  cursor:pointer;
}
.auth-error{
  padding:12px 14px;
  border-radius:14px;
  background:#fff1f1;
  color:#b42318;
  font-weight:900;
  margin-bottom:14px;
}
.auth-link{
  display:inline-flex;
  margin-top:18px;
  color:#7A1020;
  text-decoration:none;
  font-weight:900;
}


/* v32 all-in-one */
.cart-badge{display:none;min-width:22px;height:22px;padding:0 7px;border-radius:999px;margin-left:7px;align-items:center;justify-content:center;background:#fff;color:#7A1020;font-size:13px;font-weight:950;box-shadow:0 6px 14px rgba(80,8,20,.18)}
.buyer-cabinet{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 80px);background:#fff8f6;color:#2A0710}
.buyer-side{background:linear-gradient(180deg,#4B0610,#250308);color:#fff;padding:22px 16px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto}
.buyer-side h2{font-size:28px;margin:0 0 18px;padding:8px 12px}
.buyer-side a{display:flex;color:#fff;text-decoration:none;padding:12px 14px;border-radius:14px;font-weight:850;margin-bottom:4px}
.buyer-side a:hover{background:rgba(255,255,255,.12)}
.buyer-main{padding:30px;max-width:1300px;width:100%}.buyer-main h1{font-size:42px;margin:0 0 22px;color:#2A0710}
.buyer-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:22px}
.buyer-stat-grid div,.buyer-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:20px;box-shadow:0 16px 40px rgba(80,8,20,.06)}
.buyer-stat-grid b{display:block;font-size:30px;color:#7A1020;margin-bottom:4px}.buyer-stat-grid span{color:#80666B;font-weight:800}
.buyer-card{margin-bottom:18px}.buyer-card h2{margin:0 0 14px;color:#2A0710}
.buyer-row,.buyer-order-card,.buyer-address-row{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:14px;border:1px solid rgba(122,16,32,.10);border-radius:18px;margin-bottom:10px;background:#fff}
.buyer-row span,.buyer-order-card span,.buyer-order-card p{color:#80666B}
.buyer-row a,.buyer-order-card a,.buyer-form button,.buyer-address-actions a,.buyer-address-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:14px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff;text-decoration:none;border:0;font-weight:900}
.buyer-empty{padding:24px;border-radius:18px;background:#fff8f6;border:1px dashed rgba(122,16,32,.22);color:#80666B;font-weight:800}
.buyer-fav-grid,.buyer-promo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.buyer-fav-card,.buyer-promo-card{display:block;background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:22px;padding:16px;text-decoration:none;color:#2A0710;box-shadow:0 12px 28px rgba(80,8,20,.05)}
.buyer-fav-card img{width:100%;height:130px;object-fit:cover;border-radius:16px;margin-bottom:10px}
.buyer-copy-box{padding:16px;border-radius:16px;background:#FFF2EF;color:#7A1020;font-weight:900;word-break:break-all}
.buyer-form{display:grid;gap:12px;max-width:520px}.buyer-form input{height:48px;border-radius:16px;border:1px solid rgba(122,16,32,.16);padding:0 14px}
.buyer-success{padding:14px;margin-bottom:14px;border-radius:16px;background:#edf8f2;color:#087443;font-weight:900}
.support-chat-layout{display:grid;grid-template-columns:340px 1fr;gap:18px;align-items:start}
.support-ticket-list,.support-chat-window{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:16px;box-shadow:0 16px 40px rgba(80,8,20,.06)}
.support-new-form{display:grid;gap:10px;padding:14px;border-radius:20px;background:#fff8f6;border:1px solid rgba(122,16,32,.10);margin-bottom:16px}
.support-new-form input,.support-new-form textarea,.support-reply-form textarea,.support-reply-form input{width:100%;border:1px solid rgba(122,16,32,.16);border-radius:16px;padding:12px;background:#fff}
.support-new-form button,.support-reply-form button,.support-close-btn{border:0;border-radius:16px;min-height:44px;padding:0 18px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff;font-weight:900}
.support-close-btn{background:#b42318}.support-ticket-item{display:block;text-decoration:none;color:#2A0710;padding:14px;border:1px solid rgba(122,16,32,.10);border-radius:18px;margin-bottom:10px;background:#fff}
.support-ticket-item.active,.support-ticket-item:hover{background:#FFF2EF}
.support-chat-head{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(122,16,32,.10);padding-bottom:14px;margin-bottom:14px}
.support-messages{display:flex;flex-direction:column;gap:12px;min-height:360px;max-height:520px;overflow:auto;padding:6px}
.support-msg{display:flex}.support-msg.me{justify-content:flex-end}.support-msg.admin{justify-content:flex-start}
.support-msg-bubble{max-width:min(620px,80%);padding:13px 15px;border-radius:18px;background:#fff8f6;border:1px solid rgba(122,16,32,.10)}
.support-msg.me .support-msg-bubble{background:#7A1020;color:#fff}.support-msg.me small,.support-msg.me p{color:#fff}
.support-reply-form{display:grid;grid-template-columns:1fr 220px auto;gap:10px;margin-top:14px;align-items:end}
.support-photo{display:block;max-width:260px;max-height:260px;object-fit:cover;border-radius:16px;margin-top:10px;border:1px solid rgba(122,16,32,.12)}
.auth-body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff8f6,#FFF2EF)}
.auth-card{width:min(440px,calc(100% - 28px));background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:28px;padding:28px;box-shadow:0 22px 60px rgba(80,8,20,.12)}
.auth-card form{display:grid;gap:12px}.auth-card input{height:50px;border-radius:16px;border:1px solid rgba(122,16,32,.16);padding:0 14px}.auth-card button{height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff;font-weight:950}
.auth-error{padding:12px 14px;border-radius:14px;background:#fff1f1;color:#b42318;font-weight:900;margin-bottom:14px}
.mod-create-form,.mod-edit-form,.mod-password-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-bottom:10px}
.mod-create-form{grid-template-columns:1fr 1fr 1fr auto}.mod-create-form input,.mod-edit-form input,.mod-password-form input{min-height:46px;border-radius:14px;border:1px solid rgba(122,16,32,.16);padding:0 14px}
.mod-create-form button,.mod-edit-form button,.mod-password-form button,.mod-actions-v317 button,.open-btn{min-height:46px;border:0;border-radius:14px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff!important;text-decoration:none;font-weight:900}
.mod-list-v317,.mod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.mod-card-v317,.mod-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(80,8,20,.06)}
.mod-actions-v317{display:flex;gap:8px;flex-wrap:wrap}.mod-actions-v317 .danger{background:#b42318!important}
@media(max-width:900px){.buyer-cabinet,.support-chat-layout{display:block}.buyer-side{position:relative;top:auto;height:auto}.buyer-main{padding:18px}.support-reply-form,.mod-create-form,.mod-edit-form,.mod-password-form{grid-template-columns:1fr}}


/* v33 courier tracking */
.courier-page{display:grid;grid-template-columns:260px 1fr;min-height:100vh;background:#fff8f6}
.courier-side{background:linear-gradient(180deg,#4B0610,#250308);color:#fff;padding:22px}
.courier-side a{display:block;color:#fff;text-decoration:none;padding:12px;border-radius:14px;font-weight:900}
.courier-main{padding:28px}.courier-main h1{font-size:40px;color:#2A0710}
.courier-card,.tracking-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:24px;padding:20px;margin-bottom:18px;box-shadow:0 16px 40px rgba(80,8,20,.06)}
.courier-order{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;border:1px solid rgba(122,16,32,.10);border-radius:18px;padding:14px;margin-bottom:10px;background:#fff}
.courier-order h3{margin:0 0 6px}.courier-order p,.courier-order small{color:#80666B}
.courier-order button,.seller-status-form button,.tracking-btn{border:0;border-radius:14px;background:linear-gradient(135deg,#7A1020,#4B0610);color:#fff!important;font-weight:900;padding:12px 16px;text-decoration:none;display:inline-flex;margin:3px}
.tracking-page{padding:28px;background:#fff8f6;min-height:100vh}.tracking-grid{display:grid;grid-template-columns:360px 1fr;gap:18px}
.tracking-map{height:560px;border-radius:20px;overflow:hidden;background:#eee}
.tracking-status{display:inline-flex;padding:10px 14px;border-radius:14px;background:#FFF2EF;color:#7A1020;font-weight:950;margin-bottom:12px}
.tracking-timeline div{padding:10px 0;border-bottom:1px solid rgba(122,16,32,.10)}.tracking-timeline b{display:block}.tracking-timeline span{color:#80666B}
.seller-status-form{display:flex;flex-wrap:wrap;gap:4px}
@media(max-width:900px){.courier-page,.tracking-grid{display:block}.tracking-map{height:420px}.courier-order{grid-template-columns:1fr}}


/* v33.1 cart list, order photos, russian statuses */
.cart-page-v331{
  max-width:1180px;
  margin:0 auto;
  padding:34px 20px 70px;
}
.cart-page-v331 h1{
  font-size:44px;
  margin:0 0 22px;
  color:#2A0710;
}
.cart-layout-v331{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
  align-items:start;
}
.cart-list-v331{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.cart-item-v331{
  display:grid;
  grid-template-columns:92px 1fr 110px 130px 110px;
  gap:16px;
  align-items:center;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:24px;
  padding:14px;
  box-shadow:0 14px 34px rgba(80,8,20,.06);
}
.cart-img-v331{
  width:92px;
  height:92px;
  border-radius:18px;
  overflow:hidden;
  background:#FFF2EF;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7A1020;
  font-weight:950;
}
.cart-img-v331 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cart-info-v331 h3{
  margin:0 0 6px;
  color:#2A0710;
  font-size:20px;
}
.cart-info-v331 p{
  margin:0 0 5px;
  color:#80666B;
  font-weight:800;
}
.cart-info-v331 small{
  color:#80666B;
}
.cart-price-v331 b,
.cart-sum-v331 b{
  display:block;
  color:#2A0710;
  font-size:18px;
}
.cart-price-v331 s{
  color:#9b7a80;
}
.cart-qty-v331{
  display:grid;
  grid-template-columns:38px 1fr 38px;
  align-items:center;
  background:#f5eeee;
  border-radius:16px;
  height:46px;
  overflow:hidden;
}
.cart-qty-v331 button{
  height:46px;
  border:0;
  background:transparent;
  color:#7A1020;
  font-size:24px;
  font-weight:950;
  cursor:pointer;
}
.cart-qty-v331 span{
  text-align:center;
  font-weight:950;
  color:#2A0710;
}
.cart-summary-v331{
  position:sticky;
  top:90px;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:26px;
  padding:20px;
  box-shadow:0 18px 44px rgba(80,8,20,.10);
}
.cart-summary-v331 h2{
  margin:0 0 16px;
  color:#2A0710;
}
.cart-summary-row,
.cart-summary-total{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(122,16,32,.10);
  color:#80666B;
}
.cart-summary-total{
  border-bottom:0;
  font-size:20px;
  color:#2A0710;
}
.cart-checkout-v331,
.cart-empty-v331 a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  margin-top:16px;
  border-radius:18px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff!important;
  text-decoration:none;
  font-weight:950;
}
.cart-empty-v331{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:26px;
  padding:28px;
  box-shadow:0 18px 44px rgba(80,8,20,.08);
}
.order-items-photos-v331{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:24px;
  padding:20px;
  margin:18px 0;
}
.order-items-photos-v331 h2{
  margin:0 0 14px;
}
.order-item-photo-v331{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(122,16,32,.10);
  border-radius:18px;
  margin-bottom:10px;
}
.order-item-img-v331{
  width:64px;
  height:64px;
  border-radius:14px;
  overflow:hidden;
  background:#FFF2EF;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7A1020;
  font-weight:950;
}
.order-item-img-v331 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.order-item-photo-v331 p{
  margin:4px 0 0;
  color:#80666B;
}
@media(max-width:900px){
  .cart-layout-v331{grid-template-columns:1fr}
  .cart-item-v331{grid-template-columns:74px 1fr;gap:12px}
  .cart-price-v331,.cart-qty-v331,.cart-sum-v331{grid-column:2}
  .cart-summary-v331{position:static}
}


/* v33.2 checkout/support polish */
.checkout-v332,.order-page-v332{
  max-width:1180px;
  margin:0 auto;
  padding:34px 20px 70px;
}
.checkout-v332 h1,.order-page-v332 h1{
  font-size:44px;
  margin:0 0 22px;
  color:#2A0710;
}
.checkout-grid-v332{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:22px;
}
.checkout-card-v332,.checkout-summary-v332,.order-card-v332{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:26px;
  padding:20px;
  box-shadow:0 18px 44px rgba(80,8,20,.07);
  margin-bottom:18px;
}
.checkout-card-v332{
  grid-column:1;
}
.checkout-summary-v332{
  grid-column:2;
  grid-row:1 / span 2;
  position:sticky;
  top:90px;
}
.checkout-address-v332{
  display:flex;
  gap:10px;
  padding:14px;
  border:1px solid rgba(122,16,32,.12);
  border-radius:16px;
  margin-bottom:10px;
  font-weight:900;
}
.checkout-card-v332 textarea{
  width:100%;
  min-height:90px;
  border:1px solid rgba(122,16,32,.16);
  border-radius:16px;
  padding:14px;
}
.checkout-item-v332,.order-item-v332{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(122,16,32,.10);
  border-radius:18px;
  margin-bottom:10px;
}
.checkout-img-v332,.order-img-v332{
  width:70px;
  height:70px;
  border-radius:16px;
  overflow:hidden;
  background:#FFF2EF;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7A1020;
  font-weight:950;
  flex:0 0 auto;
}
.checkout-img-v332 img,.order-img-v332 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.checkout-summary-v332 div,.order-info-grid-v332 div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid rgba(122,16,32,.10);
}
.checkout-summary-v332 .total{
  border-bottom:0;
  font-size:20px;
  color:#2A0710;
}
.checkout-summary-v332 button,.order-head-actions-v332 a,.support-clean-v332 a{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff!important;
  text-decoration:none;
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
}
.order-head-v332{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:20px;
}
.order-head-v332 p{
  color:#80666B;
}
.order-head-actions-v332{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.order-head-actions-v332 a{
  width:auto;
  padding:0 18px;
  margin-top:0;
}
.order-status-v332{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin-bottom:22px;
}
.order-status-v332 div{
  background:#eee;
  border-radius:20px;
  min-height:88px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:950;
  color:#80666B;
}
.order-status-v332 div.done{
  background:#FFF2EF;
  color:#7A1020;
  border:1px solid rgba(122,16,32,.14);
}
.order-status-v332 span{
  font-size:13px;
  margin-top:8px;
  color:#2A0710;
}
.order-info-grid-v332{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.order-info-grid-v332 div{
  display:block;
  background:#fff8f6;
  border-radius:18px;
  padding:14px;
}
.order-info-grid-v332 span{
  display:block;
  color:#80666B;
  margin-bottom:6px;
}
.back-link-v332{
  display:inline-flex;
  margin-bottom:10px;
  color:#7A1020;
  font-weight:900;
  text-decoration:none;
}
@media(max-width:900px){
  .checkout-grid-v332{display:block}
  .checkout-summary-v332{position:static}
  .order-head-v332{display:block}
  .order-status-v332,.order-info-grid-v332{grid-template-columns:1fr}
}


/* v33.3 courier register + admin controls */
.auth-success{
  padding:12px 14px;
  border-radius:14px;
  background:#edf8f2;
  color:#087443;
  font-weight:900;
  margin-bottom:14px;
}
.auth-link{
  display:inline-flex;
  margin-top:16px;
  color:#7A1020;
  font-weight:900;
  text-decoration:none;
}
.mod-alert{
  padding:14px 16px;
  border-radius:16px;
  font-weight:900;
  margin-bottom:14px;
}
.mod-alert.error{background:#fff1f1;color:#b42318}
.mod-alert.success{background:#edf8f2;color:#087443}
.courier-edit-form{
  grid-template-columns:1fr 1fr 1fr 1fr auto!important;
}
.mod-actions-v317 input{
  min-height:42px;
  border-radius:12px;
  border:1px solid rgba(122,16,32,.16);
  padding:0 10px;
}
.support-tabs-admin{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.support-tabs-admin a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.14);
  background:#fff;
  color:#2A0710;
  text-decoration:none;
  font-weight:900;
}
.support-tabs-admin a.active{
  background:#7A1020;
  color:#fff;
}
.support-tabs-admin span{
  display:inline-flex;
  min-width:22px;
  height:22px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  background:#FFF2EF;
  color:#7A1020;
  font-size:13px;
}
.mod-status.active{background:#edf8f2;color:#087443}
.mod-status.blocked{background:#fff1f1;color:#b42318}
.mod-actions-v317 .good{background:#087443!important}
.mod-actions-v317 .warn{background:#f79009!important}
.mod-actions-v317 .danger{background:#b42318!important}
@media(max-width:900px){
  .courier-edit-form{grid-template-columns:1fr!important}
}


/* v33.5 order items gallery */
.order-items-head-v335{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.order-items-head-v335 h2{
  margin:0;
}
.order-items-head-v335 a{
  color:#7A1020;
  font-weight:950;
  text-decoration:none;
}
.order-items-strip-v335{
  display:flex;
  gap:12px;
  overflow:hidden;
  text-decoration:none;
  padding:6px 2px;
}
.order-mini-item-v335{
  position:relative;
  flex:0 0 78px;
  width:78px;
  height:78px;
  border-radius:18px;
  overflow:hidden;
  background:#FFF2EF;
  border:1px solid rgba(122,16,32,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7A1020;
  font-weight:950;
}
.order-mini-item-v335 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.order-mini-item-v335 em{
  position:absolute;
  right:5px;
  bottom:5px;
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:#7A1020;
  color:#fff;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-weight:950;
}
.order-more-v335{
  flex:0 0 78px;
  width:78px;
  height:78px;
  border-radius:18px;
  background:#7A1020;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  font-size:20px;
}
.order-items-page-v335{
  max-width:1120px;
  margin:0 auto;
  padding:34px 20px 70px;
}
.order-items-title-v335{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:22px;
}
.order-items-title-v335 h1{
  margin:0 0 8px;
  font-size:42px;
  color:#2A0710;
}
.order-items-title-v335 p{
  margin:0;
  color:#80666B;
}
.order-items-total-v335{
  min-width:180px;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 34px rgba(80,8,20,.06);
}
.order-items-total-v335 span{
  display:block;
  color:#80666B;
  margin-bottom:6px;
}
.order-items-total-v335 b{
  font-size:28px;
  color:#7A1020;
}
.order-items-card-v335{
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:26px;
  padding:18px;
  box-shadow:0 18px 44px rgba(80,8,20,.07);
}
.order-full-item-v335{
  display:grid;
  grid-template-columns:96px 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(122,16,32,.10);
  border-radius:20px;
  margin-bottom:12px;
}
.order-full-img-v335{
  width:96px;
  height:96px;
  border-radius:18px;
  overflow:hidden;
  background:#FFF2EF;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#7A1020;
  font-weight:950;
}
.order-full-img-v335 img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.order-full-info-v335 h3{
  margin:0 0 8px;
  color:#2A0710;
  font-size:21px;
}
.order-full-info-v335 p{
  margin:0;
  color:#80666B;
  font-weight:850;
}
.order-full-sum-v335 b{
  font-size:20px;
  color:#2A0710;
}
@media(max-width:800px){
  .order-items-title-v335{display:block}
  .order-items-total-v335{margin-top:14px}
  .order-full-item-v335{grid-template-columns:76px 1fr}
  .order-full-img-v335{width:76px;height:76px}
  .order-full-sum-v335{grid-column:2}
}


/* v33.6 russian statuses and session polish */
.status-pill-ru,
.tracking-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:#FFF2EF;
  color:#7A1020;
  font-weight:950;
}


/* v33.7 payment methods + seller geocode */
.checkout-error-v337{
  padding:14px 16px;
  border-radius:16px;
  background:#fff1f1;
  color:#b42318;
  font-weight:900;
  margin-bottom:14px;
}
.checkout-payments-v337{
  display:grid;
  gap:10px;
}
.checkout-payments-v337 label{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid rgba(122,16,32,.12);
  border-radius:18px;
  background:#fff8f6;
  font-weight:950;
  cursor:pointer;
}
.checkout-summary-v332 button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.seller-success-v337{
  padding:14px 16px;
  border-radius:16px;
  background:#edf8f2;
  color:#087443;
  font-weight:900;
  margin-bottom:14px;
}
.seller-coords-v337{
  padding:14px;
  border-radius:16px;
  background:#fff8f6;
  border:1px solid rgba(122,16,32,.10);
}
.seller-coords-v337 b{
  color:#2A0710;
  margin-right:8px;
}
.seller-settings-card .check{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:10px;
  padding:14px;
  border:1px solid rgba(122,16,32,.12);
  border-radius:18px;
  background:#fff8f6;
}
.seller-settings-card .check input{
  width:auto!important;
  height:auto!important;
}

/* seller layout emergency fix */
.seller-shell{
  display:grid!important;
  grid-template-columns:240px 1fr!important;
  min-height:100vh!important;
  background:#fff8f6!important;
}

.seller-side{
  width:240px!important;
  min-height:100vh!important;
  background:linear-gradient(180deg,#6b0b18,#3b030b)!important;
  padding:22px 14px!important;
  box-sizing:border-box!important;
}

.seller-side h2{
  color:#fff!important;
  margin:0 0 24px!important;
  font-size:26px!important;
}

.seller-side a{
  display:block!important;
  color:#fff!important;
  text-decoration:none!important;
  padding:14px 14px!important;
  border-radius:14px!important;
  margin-bottom:8px!important;
  font-weight:900!important;
}

.seller-side a.active,
.seller-side a:hover{
  background:rgba(255,255,255,.16)!important;
}

.seller-main{
  display:block!important;
  padding:28px!important;
  background:#fff8f6!important;
  min-height:100vh!important;
  overflow:auto!important;
}

.seller-main h1{
  color:#2A0710!important;
  font-size:42px!important;
  margin:0 0 22px!important;
}

.seller-settings-card{
  display:block!important;
  background:#fff!important;
  border:1px solid rgba(122,16,32,.12)!important;
  border-radius:26px!important;
  padding:24px!important;
  max-width:980px!important;
  box-shadow:0 18px 44px rgba(80,8,20,.08)!important;
}

.seller-settings-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:20px!important;
  align-items:center!important;
  border-bottom:1px solid rgba(122,16,32,.12)!important;
  padding-bottom:18px!important;
  margin-bottom:20px!important;
}

.seller-settings-head img{
  width:110px!important;
  height:110px!important;
  border-radius:24px!important;
  object-fit:cover!important;
}

.seller-settings-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
}

.seller-settings-grid label{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  font-weight:900!important;
  color:#063!important;
}

.seller-settings-grid label.full{
  grid-column:1 / -1!important;
}

.seller-settings-grid input{
  height:48px!important;
  border-radius:14px!important;
  border:1px solid rgba(122,16,32,.16)!important;
  padding:0 14px!important;
  background:#fff!important;
}

.seller-actions{
  display:flex!important;
  gap:12px!important;
  margin-top:20px!important;
}

.seller-actions button,
.seller-actions a,
.seller-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:0 18px!important;
  border-radius:14px!important;
  border:0!important;
  background:#7A1020!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900!important;
}

@media(max-width:900px){
  .seller-shell{grid-template-columns:1fr!important}
  .seller-side{width:100%!important;min-height:auto!important}
  .seller-settings-grid{grid-template-columns:1fr!important}
}



/* v33.8 Yandex road route + nearest stores */
.route-info-v338{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:16px 0;
}
.route-info-v338 div{
  background:#fff8f6;
  border:1px solid rgba(122,16,32,.10);
  border-radius:16px;
  padding:12px;
}
.route-info-v338 span{
  display:block;
  color:#80666B;
  margin-bottom:5px;
}
.route-info-v338 b{
  color:#2A0710;
  font-size:18px;
}
.store-distance-v338{
  display:inline-flex;
  margin-top:6px;
  color:#7A1020;
  font-weight:950;
}


/* v33.9 real nearby stores */
.store-real-meta-v339{
  color:#7A1020;
  font-weight:900;
}
.nearby-time-static,
.fake-delivery-time{
  display:none!important;
}


/* v34 global buyer address */
.address-page-v34{
  min-height:100vh;
  background:#fff8f6;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:38px 18px;
}
.address-card-v34{
  position:relative;
  width:min(720px,100%);
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:28px;
  padding:28px;
  box-shadow:0 24px 70px rgba(80,8,20,.12);
}
.address-card-v34 h1{
  margin:0 0 8px;
  font-size:30px;
  color:#2A0710;
}
.address-card-v34 p{
  margin:0 0 22px;
  color:#80666B;
}
.address-close-v34{
  position:absolute;
  right:18px;
  top:18px;
  width:48px;
  height:48px;
  border:0;
  border-radius:16px;
  background:#7A1020;
  color:#fff;
  font-size:24px;
  font-weight:950;
}
.address-card-v34 label{
  display:block;
  margin-bottom:14px;
  font-weight:900;
  color:#2A0710;
}
.address-card-v34 label span{
  display:block;
  margin-bottom:7px;
}
.address-card-v34 input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(122,16,32,.18);
  padding:0 14px;
  font-size:16px;
  box-sizing:border-box;
}
.manual-grid-v34{
  display:grid;
  grid-template-columns:1fr 1fr 130px;
  gap:12px;
}
.save-address-v34{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#7A1020,#4B0610);
  color:#fff;
  font-weight:950;
  font-size:16px;
  margin-top:8px;
}
.suggest-box-v34{
  position:relative;
  z-index:30;
}
.suggest-item-v34{
  width:100%;
  text-align:left;
  border:1px solid rgba(122,16,32,.10);
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  margin-top:8px;
  cursor:pointer;
}
.suggest-item-v34 b{
  display:block;
  color:#2A0710;
}
.suggest-item-v34 small{
  color:#80666B;
}
.address-error-v34{
  padding:12px 14px;
  border-radius:14px;
  background:#fff1f1;
  color:#b42318;
  font-weight:900;
  margin-bottom:14px;
}
@media(max-width:720px){
  .manual-grid-v34{grid-template-columns:1fr}
}


/* v34.1 address sync */
.v341-store-meta{
  color:#7A1020;
  font-weight:900;
}


/* v34.2 traffic distance */
.v342-store-meta{color:#7A1020;font-weight:950}


/* v34.3 clean address sync */
.v343-store-meta{color:#7A1020;font-weight:950}
.checkout-change-address-v343{
  display:inline-flex;
  margin:10px 0 12px;
  color:#7A1020;
  font-weight:950;
  text-decoration:none;
}


/* v34.4 clean home/search/address UI */
.home-v344-body{
  margin:0;
  background:linear-gradient(135deg,#fff8f6 0%,#fff 48%,#fff2ed 100%);
  color:#2A0710;
  font-family:Arial, sans-serif;
}
.v344-header{
  position:sticky;
  top:0;
  z-index:50;
  display:grid;
  grid-template-columns:auto minmax(280px,1fr) auto;
  gap:18px;
  align-items:center;
  padding:12px 24px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(122,16,32,.10);
  box-shadow:0 8px 28px rgba(80,8,20,.05);
}
.v344-logo{
  font-size:28px;
  line-height:1;
  font-weight:950;
  color:#7A1020;
  text-decoration:none;
  white-space:nowrap;
}
.v344-search{
  height:48px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(122,16,32,.16);
  border-radius:999px;
  background:#fff;
  padding:0 18px;
}
.v344-search span{color:#80666B}
.v344-search input{
  width:100%;
  height:44px;
  border:0;
  outline:0;
  font-size:16px;
  background:transparent;
}
.v344-nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.v344-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:1px solid rgba(122,16,32,.14);
  border-radius:999px;
  background:#fff;
  color:#2A0710;
  text-decoration:none;
  font-weight:900;
  white-space:nowrap;
}
.v344-nav a.v344-address{
  max-width:300px;
  overflow:hidden;
  text-overflow:ellipsis;
  background:#7A1020;
  color:#fff;
  border-color:#7A1020;
  box-shadow:0 12px 28px rgba(122,16,32,.22);
}
.v344-main{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  padding:42px 0 70px;
}
.v344-hero{
  min-height:250px;
  display:flex;
  align-items:center;
  padding:42px 56px;
  border:1px solid rgba(122,16,32,.12);
  border-radius:34px;
  background:
    radial-gradient(circle at 85% 20%,rgba(255,196,130,.45),transparent 38%),
    linear-gradient(135deg,#fff,#fff7f2);
  box-shadow:0 24px 70px rgba(80,8,20,.10);
}
.v344-kicker{
  display:inline-flex;
  margin-bottom:12px;
  padding:8px 12px;
  border-radius:999px;
  background:#FFF2EF;
  color:#7A1020;
  font-weight:950;
}
.v344-hero h1{
  max-width:820px;
  font-size:52px;
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-1px;
}
.v344-hero p{
  margin:0 0 24px;
  color:#80666B;
  font-size:18px;
}
.v344-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.v344-hero-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:16px;
  background:#7A1020;
  color:#fff;
  text-decoration:none;
  font-weight:950;
}
.v344-hero-actions a.ghost{
  background:#fff;
  color:#7A1020;
  border:1px solid rgba(122,16,32,.16);
}
.v344-cats,.v344-nearby{
  margin-top:30px;
}
.v344-cats h2,.v344-section-head h2{
  margin:0 0 16px;
  font-size:26px;
}
.v344-cats div,.v344-cat-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.v344-cats a,.v344-cat-row a{
  display:inline-flex;
  min-height:44px;
  padding:0 18px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(122,16,32,.14);
  border-radius:999px;
  background:#fff;
  color:#2A0710;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 8px 20px rgba(80,8,20,.04);
}
.v344-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin-bottom:18px;
}
.v344-section-head p{
  margin:0;
  color:#80666B;
}
.v344-section-head > a{
  color:#7A1020;
  font-weight:950;
  text-decoration:none;
}
.v344-store-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(235px,1fr));
  gap:18px;
}
.v344-store-card{
  display:block;
  background:#fff;
  border:1px solid rgba(122,16,32,.12);
  border-radius:28px;
  padding:16px;
  text-decoration:none;
  color:#2A0710;
  box-shadow:0 18px 44px rgba(80,8,20,.07);
  transition:transform .18s ease, box-shadow .18s ease;
}
.v344-store-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 58px rgba(80,8,20,.12);
}
.v344-store-img{
  height:150px;
  border-radius:22px;
  overflow:hidden;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:950;
  margin-bottom:14px;
}
.v344-store-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.v344-store-info h3{
  margin:0 0 8px;
  font-size:20px;
}
.v344-store-info p{
  margin:0 0 10px;
  color:#80666B;
}
.v344-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v344-meta span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 9px;
  border-radius:999px;
  background:#FFF2EF;
  color:#7A1020;
  font-size:13px;
  font-weight:950;
}
.v344-empty{
  background:#fff;
  border:1px dashed rgba(122,16,32,.22);
  border-radius:26px;
  padding:30px;
  color:#80666B;
}
.v344-empty h3{
  color:#2A0710;
  margin:0 0 6px;
}
.v344-footer{
  text-align:center;
  padding:28px;
  border-top:1px solid rgba(122,16,32,.10);
  color:#80666B;
  background:rgba(255,255,255,.55);
}
@media(max-width:980px){
  .v344-header{grid-template-columns:1fr;gap:10px}
  .v344-nav{overflow:auto;padding-bottom:4px}
  .v344-hero{padding:30px 24px}
  .v344-hero h1{font-size:38px}
}
@media(max-width:560px){
  .v344-main{width:min(100% - 24px,1180px);padding-top:24px}
  .v344-hero h1{font-size:32px}
  .v344-store-grid{grid-template-columns:1fr}
}


/* v35 yandex-like address modal */
.v35-address-body{margin:0;min-height:100vh;background:#f4f1ef;display:flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;color:#2A0710}
.v35-address-modal{width:min(960px,calc(100% - 28px));background:#fff;border-radius:30px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.22)}
.v35-address-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.v35-address-head h1{font-size:28px;margin:0}.v35-address-head button{width:48px;height:48px;border:0;border-radius:16px;background:#7A1020;color:#fff;font-size:24px;font-weight:950}
.v35-address-search{display:grid;grid-template-columns:auto 1fr 170px;gap:10px;align-items:center;background:#f1f1f1;border-radius:18px;padding:0 14px;margin-bottom:12px}
.v35-address-search span{font-size:24px}.v35-address-search input{height:56px;border:0;background:transparent;outline:0;font-size:16px}.v35-address-search button{height:48px;border:0;border-radius:16px;background:#ddd;color:#555;font-weight:950}
.v35-map{height:430px;border-radius:22px;overflow:hidden;background:#eee;margin:12px 0}
.v35-suggests{display:grid;gap:8px}.v35-suggests button{text-align:left;border:1px solid rgba(122,16,32,.12);background:#fff;border-radius:14px;padding:10px 12px}.v35-suggests b{display:block}.v35-suggests small{color:#80666B}
.v35-manual{display:grid;grid-template-columns:1fr 1fr 120px;gap:10px}.v35-manual label{font-weight:900}.v35-manual input{width:100%;height:46px;border-radius:14px;border:1px solid rgba(122,16,32,.15);padding:0 12px;box-sizing:border-box;margin-top:6px}
.v35-save{width:100%;height:54px;border:0;border-radius:18px;background:#7A1020;color:#fff;font-weight:950;font-size:16px;margin-top:14px}.v35-address-modal p{color:#80666B;margin:12px 0 0}
@media(max-width:700px){.v35-address-search{grid-template-columns:auto 1fr}.v35-address-search button{grid-column:1/-1}.v35-manual{grid-template-columns:1fr}.v35-map{height:360px}}


/* v36 payment before order */
.v36-pay-body{margin:0;background:linear-gradient(135deg,#fff8f6,#fff);font-family:Arial,sans-serif;color:#2A0710}
.v36-pay-page{max-width:720px;margin:0 auto;padding:48px 18px}
.v36-pay-card{background:#fff;border:1px solid rgba(122,16,32,.12);border-radius:30px;padding:30px;box-shadow:0 24px 70px rgba(80,8,20,.12);text-align:center}
.v36-pay-icon{width:76px;height:76px;border-radius:24px;background:#7A1020;color:#fff;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:950;margin:0 auto 18px}
.v36-pay-card h1{margin:0 0 10px;font-size:34px}.v36-pay-card p{color:#80666B}
.v36-pay-summary{display:grid;gap:10px;margin:22px 0;text-align:left}
.v36-pay-summary div,.v36-pay-items div{display:flex;justify-content:space-between;gap:12px;background:#fff8f6;border:1px solid rgba(122,16,32,.10);border-radius:16px;padding:14px}
.v36-pay-summary span{color:#80666B}.v36-pay-summary b,.v36-pay-items b{color:#2A0710}
.v36-pay-items{display:grid;gap:8px;margin:18px 0;text-align:left}
.v36-pay-main,.v36-pay-secondary{width:100%;height:56px;border:0;border-radius:18px;font-weight:950;font-size:16px;margin-top:10px}
.v36-pay-main{background:#7A1020;color:#fff;box-shadow:0 16px 34px rgba(122,16,32,.24)}
.v36-pay-secondary{background:#fff2ef;color:#7A1020}
.v36-pay-back{display:inline-flex;margin-top:16px;color:#7A1020;text-decoration:none;font-weight:950}
.v36-pay-error{background:#fff1f1;color:#b42318;padding:12px 14px;border-radius:14px;font-weight:900;margin:12px 0}
.v36-pay-note{font-size:13px!important;margin-top:18px!important}
.v36-pay-alert{border-color:rgba(122,16,32,.25)!important;background:#fff8f6!important}
.v36-pay-alert a{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:16px;background:#7A1020;color:#fff;text-decoration:none;font-weight:950;margin-top:12px}


/* v37 yookassa cards */
.v37-cards{text-align:left;margin:22px 0}
.v37-cards h2{margin:0 0 12px;color:#2A0710}
.v37-pay-form{display:grid;gap:10px}
.v37-card-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(122,16,32,.14);border-radius:18px;background:#fff8f6;cursor:pointer}
.v37-card-option input{width:18px;height:18px}
.v37-card-visual{width:48px;height:34px;border-radius:10px;background:linear-gradient(135deg,#7A1020,#2A0710);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950}
.v37-card-visual.plus{font-size:26px}
.v37-card-option b{display:block;color:#2A0710}
.v37-card-option small{color:#80666B}
.v37-add-card{margin-top:12px;border:1px dashed rgba(122,16,32,.22);border-radius:18px;padding:14px;background:#fff}
.v37-add-card summary{font-weight:950;color:#7A1020;cursor:pointer}
.v37-add-card form{display:grid;gap:10px;margin-top:12px}
.v37-add-card input{height:44px;border-radius:14px;border:1px solid rgba(122,16,32,.14);padding:0 12px}
.v37-add-card button{height:46px;border:0;border-radius:14px;background:#7A1020;color:#fff;font-weight:950}

/* VAY HOME V41 PREMIUM FIX */
:root{--v41-wine:#8B001A;--v41-wine2:#9B0D28;--v41-dark:#2A0710;--v41-muted:#8B7A80;--v41-line:#F0D8DC;--v41-bg:#FFF7F6;--v41-soft:#FFF0ED}
.v41-body{margin:0;min-height:100vh;font-family:Inter,Manrope,Arial,sans-serif;color:var(--v41-dark);background:radial-gradient(circle at 78% 4%,rgba(255,210,162,.24),transparent 26%),linear-gradient(180deg,#fff 0%,#fff8f7 45%,#fff 100%)}
.v41-body *{box-sizing:border-box}.v41-body a{text-decoration:none;color:inherit}
.v41-header{position:sticky;top:0;z-index:100;height:72px;display:grid;grid-template-columns:210px minmax(360px,1fr) auto;align-items:center;gap:18px;padding:0 32px;background:rgba(255,255,255,.92);backdrop-filter:blur(20px);border-bottom:1px solid rgba(139,0,26,.10);box-shadow:0 12px 40px rgba(58,0,11,.06)}
.v41-logo{color:var(--v41-wine);font-size:25px;font-weight:950;letter-spacing:-.5px}
.v41-search{height:48px;display:flex;background:#fff;border:1px solid rgba(139,0,26,.18);border-radius:999px;overflow:hidden;box-shadow:0 12px 30px rgba(58,0,11,.045)}
.v41-search input{flex:1;border:0;outline:0;background:transparent;padding:0 22px;color:var(--v41-dark);font-weight:750}
.v41-search button{width:54px;border:0;background:var(--v41-wine);cursor:pointer;display:flex;align-items:center;justify-content:center}.v41-search svg{width:20px;height:20px;fill:#fff}
.v41-nav{display:flex;align-items:center;gap:10px;white-space:nowrap}.v41-nav>a{height:48px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid rgba(139,0,26,.14);border-radius:999px;color:var(--v41-dark);font-weight:950;box-shadow:0 10px 26px rgba(58,0,11,.045);transition:.18s ease}
.v41-nav>a:hover,.v41-btn-soft:hover,.v41-cat:hover,.v41-store:hover,.v41-benefit:hover{transform:translateY(-2px);box-shadow:0 18px 48px rgba(58,0,11,.13)}
.v41-address{max-width:310px}.v41-address svg{width:18px;height:18px;fill:var(--v41-wine);flex:0 0 auto}.v41-address b{overflow:hidden;text-overflow:ellipsis}
#v41CartCount{display:none;min-width:21px;height:21px;padding:0 6px;margin-left:4px;align-items:center;justify-content:center;border-radius:999px;background:var(--v41-wine);color:#fff;font-size:12px;font-style:normal;font-weight:950}
.v41-main{width:min(100% - 64px,1280px);margin:0 auto;padding:28px 0 44px}
.v41-hero{min-height:330px;border-radius:32px;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:42px 64px;background:radial-gradient(circle at 78% 35%,rgba(255,183,104,.38),transparent 32%),linear-gradient(110deg,#fffaf8 0%,#fff 47%,#ffe7cf 100%);border:1px solid rgba(139,0,26,.12);box-shadow:0 30px 95px rgba(58,0,11,.10)}
.v41-chip{display:inline-flex;height:34px;padding:0 15px;align-items:center;border-radius:999px;background:#fff0ed;color:var(--v41-wine);font-weight:950;margin-bottom:18px}
.v41-hero h1{margin:0;font-size:48px;line-height:1.06;letter-spacing:-1.4px;color:var(--v41-dark)}
.v41-hero p{margin:22px 0 0;max-width:540px;color:var(--v41-muted);font-size:18px;line-height:1.48;font-weight:750}
.v41-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.v41-btn-main,.v41-btn-soft{min-height:54px;padding:0 24px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:950;transition:.18s ease}
.v41-btn-main{background:linear-gradient(135deg,var(--v41-wine),#6F0014);color:#fff;box-shadow:0 18px 36px rgba(139,0,26,.25)}.v41-btn-main svg{width:18px;height:18px;fill:#fff}.v41-btn-soft{background:#fff;border:1px solid rgba(139,0,26,.16);color:var(--v41-dark)}
.v41-hero-right{height:310px;position:relative}.v41-orb{position:absolute;border-radius:999px}.orb1{width:280px;height:280px;right:70px;top:12px;background:radial-gradient(circle,#ffe0b7,#fff0dc 55%,transparent 70%)}.orb2{width:190px;height:190px;left:90px;bottom:0;background:radial-gradient(circle,#fff4f2,#fff0ed 52%,transparent 70%)}
.v41-bag{position:absolute;right:120px;top:20px;width:170px;height:210px;border-radius:16px 16px 24px 24px;background:linear-gradient(145deg,#D49B5E,#BF7F42);box-shadow:0 28px 58px rgba(58,0,11,.20);transform:rotate(-1deg)}
.v41-bag:before{content:'';position:absolute;left:44px;right:44px;top:-28px;height:56px;border:10px solid #BE7E40;border-bottom:0;border-radius:70px 70px 0 0}.v41-bag span{position:absolute;left:22px;bottom:48px;color:var(--v41-wine);font-size:34px;line-height:.92;font-weight:950;letter-spacing:-1px}.v41-bag i{position:absolute;inset:14px;border-radius:12px;background:linear-gradient(130deg,rgba(255,255,255,.20),transparent 50%)}
.v41-dish{position:absolute;width:98px;height:98px;border-radius:999px;background:#fff;box-shadow:0 24px 42px rgba(58,0,11,.14)}.v41-dish:before,.v41-dish:after,.v41-dish span:before,.v41-dish span:after{content:'';position:absolute}
.v41-dish.burger{left:88px;top:72px}.v41-dish.burger:before{left:17px;top:27px;width:64px;height:22px;border-radius:30px 30px 10px 10px;background:#F5B23F}.v41-dish.burger:after{left:16px;top:49px;width:66px;height:12px;border-radius:9px;background:#69250F;box-shadow:0 13px 0 #F6C144}.v41-dish.burger span:before{left:20px;top:39px;width:58px;height:9px;background:#35A853;border-radius:9px}
.v41-dish.pizza{left:205px;bottom:35px}.v41-dish.pizza:before{left:32px;top:18px;width:38px;height:68px;background:#F6C144;clip-path:polygon(50% 0,100% 100%,0 100%);border:7px solid #7A0017;border-radius:10px}.v41-dish.pizza:after{left:45px;top:42px;width:10px;height:10px;background:#D93025;border-radius:999px;box-shadow:14px 15px 0 #D93025,-7px 17px 0 #D93025}
.v41-dish.bowl{right:292px;top:90px}.v41-dish.bowl:before{left:18px;top:38px;width:64px;height:34px;border-radius:6px 6px 42px 42px;background:#fff;border:6px solid #7A0017}.v41-dish.bowl:after{left:26px;top:27px;width:12px;height:12px;background:#24A148;border-radius:999px;box-shadow:18px -6px 0 #24A148,35px 2px 0 #D93025,47px -5px 0 #24A148}
.v41-dish.cake{right:25px;bottom:28px}.v41-dish.cake:before{left:22px;top:40px;width:58px;height:35px;background:#FFE0B2;border:6px solid #7A0017;border-top:0}.v41-dish.cake:after{left:22px;top:30px;width:58px;height:18px;background:#fff;border:6px solid #7A0017;border-bottom:0;border-radius:12px 12px 0 0}
.v41-section{margin-top:32px}.v41-section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:0 6px 18px}.v41-section-head h2{margin:0;font-size:25px;letter-spacing:-.4px}.v41-section-head p{margin:8px 0 0;color:var(--v41-muted);font-weight:750}.v41-section-head a{color:var(--v41-wine);font-weight:950}
.v41-cats{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}.v41-cat{min-height:102px;background:#fff;border:1px solid rgba(139,0,26,.12);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;box-shadow:0 16px 34px rgba(58,0,11,.045);transition:.18s ease}.v41-cat b{font-size:15px;font-weight:950}
.v41-cat-icon{position:relative;width:48px;height:48px;border-radius:16px;background:#fff5f2;display:block}.v41-cat-icon:before,.v41-cat-icon:after{content:'';position:absolute}
.v41-cat-icon.restaurant:before{left:11px;top:11px;width:26px;height:22px;border:3px solid var(--v41-wine);border-radius:20px 20px 8px 8px;border-bottom:0}.v41-cat-icon.restaurant:after{left:9px;top:32px;width:30px;height:3px;background:var(--v41-wine);border-radius:9px}
.v41-cat-icon.cafe:before{left:10px;top:14px;width:22px;height:20px;border:3px solid var(--v41-wine);border-radius:4px 4px 10px 10px}.v41-cat-icon.cafe:after{left:31px;top:18px;width:9px;height:10px;border:3px solid var(--v41-wine);border-left:0;border-radius:0 8px 8px 0}
.v41-cat-icon.market:before{left:11px;top:16px;width:26px;height:22px;border:3px solid var(--v41-wine);border-radius:5px}.v41-cat-icon.market:after{left:16px;top:10px;width:16px;height:10px;border:3px solid var(--v41-wine);border-bottom:0;border-radius:13px 13px 0 0}
.v41-cat-icon.pharmacy:before{left:13px;top:12px;width:24px;height:24px;border-radius:9px;background:var(--v41-wine);transform:rotate(45deg)}.v41-cat-icon.pharmacy:after{left:21px;top:11px;width:6px;height:26px;background:#fff;border-radius:9px;transform:rotate(45deg)}
.v41-cat-icon.bakery:before{left:10px;top:18px;width:30px;height:18px;background:var(--v41-wine);border-radius:70% 70% 40% 40%}.v41-cat-icon.bakery:after{left:17px;top:18px;width:2px;height:15px;background:#fff;box-shadow:7px 0 0 #fff,14px 0 0 #fff;transform:rotate(18deg)}
.v41-cat-icon.meat:before{left:12px;top:12px;width:24px;height:24px;border-radius:16px 16px 16px 4px;background:var(--v41-wine);transform:rotate(-35deg)}.v41-cat-icon.meat:after{left:26px;top:25px;width:12px;height:12px;border:3px solid #fff;border-radius:999px}
.v41-cat-icon.flowers:before{left:20px;top:12px;width:9px;height:22px;background:#2E7D32;border-radius:9px}.v41-cat-icon.flowers:after{left:12px;top:9px;width:12px;height:12px;background:var(--v41-wine);border-radius:999px;box-shadow:13px 0 0 #D9365C,6px -8px 0 #B30024,6px 8px 0 #E96B86}
.v41-stores{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.v41-store{position:relative;background:#fff;border:1px solid rgba(139,0,26,.12);border-radius:18px;overflow:hidden;box-shadow:0 18px 38px rgba(58,0,11,.055);transition:.18s ease}.v41-store-link{display:block}.v41-store-img{height:126px;position:relative;overflow:hidden;background:linear-gradient(135deg,#2A0710,#8B001A)}.v41-store-img img{width:100%;height:100%;object-fit:cover;display:block}.v41-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:950}.v41-store-gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(42,7,16,.18))}
.v41-store-info{padding:14px}.v41-store h3{margin:0;color:var(--v41-dark);font-size:17px;letter-spacing:-.2px}.v41-store p{margin:8px 0 13px;color:var(--v41-muted);font-weight:750}.v41-store-meta{display:flex;flex-wrap:wrap;gap:7px}.v41-store-meta span{height:25px;padding:0 9px;display:inline-flex;align-items:center;border-radius:999px;background:#fff0f2;color:var(--v41-wine);font-size:12px;font-weight:950}
.v41-fav{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:999px;border:1px solid rgba(139,0,26,.13);background:rgba(255,255,255,.93);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 24px rgba(58,0,11,.14)}.v41-fav button{border:0;background:transparent;cursor:pointer;display:flex;padding:0}.v41-fav svg{width:19px;height:19px;fill:none;stroke:var(--v41-wine);stroke-width:2}.v41-fav-login svg{width:19px;height:19px;fill:none;stroke:var(--v41-wine);stroke-width:2}
.v41-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:34px}.v41-benefit{min-height:86px;display:flex;align-items:center;gap:14px;padding:18px;background:linear-gradient(135deg,#fff,#fff4f1);border:1px solid rgba(139,0,26,.09);border-radius:18px;box-shadow:0 16px 34px rgba(58,0,11,.045);transition:.18s ease}.v41-benefit b{display:block;color:var(--v41-dark);font-weight:950}.v41-benefit small{display:block;margin-top:5px;color:var(--v41-muted);font-weight:750}
.v41-mini-icon{width:48px;height:48px;border-radius:16px;background:#fff1ef;position:relative;flex:0 0 auto}.v41-mini-icon:before,.v41-mini-icon:after{content:'';position:absolute}.v41-mini-icon.delivery:before{left:9px;top:20px;width:25px;height:13px;background:var(--v41-wine);border-radius:5px}.v41-mini-icon.delivery:after{left:12px;top:31px;width:7px;height:7px;background:#fff;border:3px solid var(--v41-wine);border-radius:999px;box-shadow:17px 0 0 -3px #fff,17px 0 0 0 var(--v41-wine)}.v41-mini-icon.gift:before{left:10px;top:18px;width:28px;height:22px;border-radius:5px;background:var(--v41-wine)}.v41-mini-icon.gift:after{left:22px;top:12px;width:4px;height:29px;background:#fff;box-shadow:-12px 8px 0 -1px #fff,12px 8px 0 -1px #fff}.v41-mini-icon.percent:before{left:13px;top:14px;width:7px;height:7px;background:var(--v41-wine);border-radius:999px;box-shadow:15px 15px 0 var(--v41-wine)}.v41-mini-icon.percent:after{left:22px;top:11px;width:4px;height:29px;background:var(--v41-wine);transform:rotate(35deg);border-radius:9px}.v41-mini-icon.track:before{left:22px;top:8px;width:5px;height:32px;background:var(--v41-wine);border-radius:9px}.v41-mini-icon.track:after{left:15px;top:8px;width:19px;height:19px;background:var(--v41-wine);border-radius:999px}
.v41-promo{margin-top:30px;min-height:112px;display:grid;grid-template-columns:170px 1fr 120px;align-items:center;gap:20px;padding:0 26px;border-radius:22px;border:1px solid rgba(139,0,26,.09);background:radial-gradient(circle at 90% 25%,rgba(255,184,93,.30),transparent 26%),linear-gradient(90deg,#fff8f4,#fff0df);overflow:hidden}.v41-promo h2{margin:0 0 6px;font-size:22px}.v41-promo p{margin:0 0 10px;color:var(--v41-muted);font-weight:750}.v41-promo a{display:inline-flex;height:34px;align-items:center;padding:0 14px;border-radius:999px;color:var(--v41-wine);background:#fff;border:1px solid rgba(139,0,26,.14);font-weight:950}.v41-promo strong{color:rgba(255,183,91,.25);font-size:120px;line-height:1}
.v41-promo-gift{width:74px;height:74px;border-radius:18px;background:linear-gradient(135deg,#C50028,#8B001A);position:relative;margin-left:28px;box-shadow:0 18px 36px rgba(139,0,26,.20)}.v41-promo-gift:before{content:'';position:absolute;left:33px;top:0;width:8px;height:74px;background:#FFD8A8}.v41-promo-gift:after{content:'';position:absolute;left:0;top:31px;width:74px;height:8px;background:#FFD8A8}
.v41-empty{background:#fff;border:1px dashed rgba(139,0,26,.28);border-radius:22px;padding:30px}.v41-empty h3{margin:0 0 8px;font-size:22px}.v41-empty p{margin:0 0 16px;color:var(--v41-muted);font-weight:700}.v41-empty a{display:inline-flex;height:44px;align-items:center;padding:0 18px;background:var(--v41-wine);color:#fff;border-radius:14px;font-weight:950}
.v41-footer{width:min(100% - 64px,1280px);margin:6px auto 40px;display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:30px;padding:32px 6px;color:var(--v41-muted)}.v41-footer h3,.v41-footer h4{margin:0 0 12px;color:var(--v41-dark)}.v41-footer p{margin:0}.v41-footer a{display:block;margin:8px 0;color:var(--v41-muted);font-weight:750}.v41-socials{display:flex;gap:10px}.v41-socials a{width:40px;height:40px;border-radius:999px;border:1px solid rgba(139,0,26,.18);display:flex;align-items:center;justify-content:center;color:var(--v41-wine);font-weight:950;margin:0}
@media(max-width:1200px){.v41-header{height:auto;grid-template-columns:1fr;padding:14px 18px}.v41-nav{overflow:auto;padding-bottom:4px}.v41-hero{grid-template-columns:1fr;padding:34px}.v41-hero-right{display:none}.v41-cats{grid-template-columns:repeat(4,1fr)}.v41-stores{grid-template-columns:repeat(3,1fr)}.v41-benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.v41-main,.v41-footer{width:min(100% - 24px,1280px)}.v41-hero h1{font-size:36px}.v41-cats,.v41-stores,.v41-benefits,.v41-footer{grid-template-columns:1fr}.v41-promo{grid-template-columns:1fr;padding:22px}.v41-promo strong{display:none}}


/* VAY Seller unified sidebar */
.side,
.seller-side {
  width: 240px !important;
  min-height: 100vh !important;
  background: #7b0014 !important;
  color: #fff !important;
  padding: 24px 14px !important;
  box-sizing: border-box !important;
}

.side h2,
.seller-side h2,
.logo {
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  margin: 0 0 28px 0 !important;
}

.side a,
.seller-side a,
.seller-menu a {
  display: block !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 14px !important;
  margin: 6px 0 !important;
  border-radius: 12px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.side a:hover,
.seller-side a:hover,
.seller-menu a:hover,
.side a.active,
.seller-side a.active,
.seller-menu a.active {
  background: rgba(255,255,255,.18) !important;
}

.adminwrap,
.seller-page {
  display: flex !important;
  min-height: 100vh !important;
}

.panel,
.seller-main,
.main {
  flex: 1 !important;
  padding: 28px 36px !important;
  box-sizing: border-box !important;
}


.redText {
  color: #b00020 !important;
  font-weight: 900 !important;
}


/* =========================================================
   VAY Delivery — исправление шапки страницы /stores
   ========================================================= */

.home-v344-body {
  overflow-x: hidden;
}

.v344-header {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns:
    max-content
    minmax(280px, 1fr)
    minmax(0, auto);
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
}

.v344-logo {
  min-width: max-content;
  white-space: nowrap;
}

.v344-search {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

.v344-search input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.v344-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.v344-nav > a {
  flex: 0 0 auto;
}

.v344-nav a.v344-address {
  display: block;
  flex: 0 1 300px;
  min-width: 120px;
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v344-main {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.v344-section-head {
  min-width: 0;
}

.v344-section-head > div {
  min-width: 0;
}

.v344-section-head p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Средние экраны: поиск переносится вниз */
@media (max-width: 1380px) {
  .v344-header {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .v344-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .v344-nav {
    min-width: 0;
  }

  .v344-nav a.v344-address {
    flex-basis: 260px;
    max-width: 260px;
  }
}

/* Планшеты */
@media (max-width: 980px) {
  .v344-header {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .v344-logo {
    margin-right: auto;
  }

  .v344-search {
    order: 3;
    flex: 1 1 100%;
  }

  .v344-nav {
    order: 2;
    flex: 0 1 auto;
    max-width: calc(100% - 190px);
    overflow-x: auto;
    scrollbar-width: thin;
    justify-content: flex-start;
    padding-bottom: 3px;
  }

  .v344-nav a.v344-address {
    max-width: 220px;
  }

  .v344-main {
    width: min(100% - 28px, 1180px);
  }
}

/* Телефоны */
@media (max-width: 680px) {
  .v344-header {
    align-items: stretch;
    gap: 10px;
  }

  .v344-logo {
    width: 100%;
  }

  .v344-nav {
    order: 3;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .v344-search {
    order: 2;
  }

  .v344-nav a.v344-address {
    flex: 0 0 210px;
    max-width: 210px;
  }

  .v344-main {
    width: min(100% - 20px, 1180px);
  }

  .v344-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .v344-hero h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.04;
  }

  .v344-section-head {
    align-items: flex-start;
    gap: 12px;
  }

  .v344-section-head p {
    white-space: normal;
  }
}

/* =========================================================
   VAY /stores — окончательное исправление шапки
   ========================================================= */

.home-v344-body .v344-header {
  position: relative !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  overflow: visible !important;
}

.home-v344-body .v344-logo {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}

.home-v344-body .v344-search {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  order: initial !important;
  grid-column: auto !important;
  grid-row: auto !important;

  flex: 1 1 460px !important;
  width: auto !important;
  min-width: 260px !important;
  max-width: 760px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.home-v344-body .v344-search input {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.home-v344-body .v344-nav {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  order: initial !important;

  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.home-v344-body .v344-nav > a {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}

.home-v344-body .v344-nav .v344-address {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;

  flex: 0 1 270px !important;
  width: 270px !important;
  min-width: 150px !important;
  max-width: 270px !important;

  overflow: hidden !important;
  box-sizing: border-box !important;
}

.home-v344-body .v344-address-icon {
  flex: 0 0 auto !important;
}

.home-v344-body .v344-address-text {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* Ноутбуки */
@media (max-width: 1450px) {
  .home-v344-body .v344-header {
    flex-wrap: wrap !important;
  }

  .home-v344-body .v344-logo {
    order: 1 !important;
  }

  .home-v344-body .v344-nav {
    order: 2 !important;
    flex: 1 1 auto !important;
  }

  .home-v344-body .v344-search {
    order: 3 !important;
    flex: 1 1 100% !important;
    max-width: none !important;
    width: 100% !important;
  }
}

/* Планшеты */
@media (max-width: 900px) {
  .home-v344-body .v344-header {
    padding: 10px 14px !important;
  }

  .home-v344-body .v344-nav {
    order: 3 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  .home-v344-body .v344-search {
    order: 2 !important;
  }

  .home-v344-body .v344-nav .v344-address {
    flex: 0 0 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }
}

/* Телефоны */
@media (max-width: 600px) {
  .home-v344-body .v344-logo {
    width: 100% !important;
  }

  .home-v344-body .v344-search {
    min-width: 0 !important;
  }

  .home-v344-body .v344-nav {
    gap: 7px !important;
  }

  .home-v344-body .v344-nav .v344-address {
    flex-basis: 210px !important;
    width: 210px !important;
    max-width: 210px !important;
  }
}
