:root{--bg:#09090a;--card:#111113;--accent:#f3f3ef;--text:#f4f4f2;--muted:#96969c;--line:#29292d;--danger:#e36b6b;--success:#87c998;--max:1240px;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}[hidden]{display:none!important}.container{width:min(var(--max),calc(100% - 32px));margin:auto}.announcement{padding:9px 16px;text-align:center;background:var(--accent);color:#111;font-size:13px;font-weight:800}.header{position:sticky;top:0;z-index:40;background:rgba(9,9,10,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.07)}.header-row{min-height:70px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}.logo{display:flex;align-items:center;gap:10px;font-weight:950;letter-spacing:.16em;font-size:18px}.logo-box{width:36px;height:36px;border:1px solid #555;display:grid;place-items:center;font-family:Georgia,serif;font-size:21px;overflow:hidden}.logo-box img{width:100%;height:100%;object-fit:contain}.nav{display:flex;justify-content:center;gap:28px;color:#b5b5b9;font-size:14px}.nav a:hover{color:#fff}.header-actions{display:flex;align-items:center;gap:8px}.mobile-menu{display:none}.icon-btn{min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);background:#141416;color:#fff;border-radius:999px;display:inline-grid;place-items:center}.icon-btn:hover,.secondary:hover{border-color:#666}.count{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:99px;background:var(--accent);color:#111;font-size:11px;font-weight:900;margin-left:5px}.hero{min-height:650px;display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:62px 0}.eyebrow{margin:0 0 10px;color:#89898f;font-size:12px;font-weight:900;letter-spacing:.23em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(48px,7vw,92px);line-height:.93;letter-spacing:-.06em;margin-bottom:24px}h2{font-size:clamp(32px,4vw,54px);line-height:1;letter-spacing:-.045em;margin-bottom:14px}h3{font-size:20px}.hero-copy{font-size:18px;color:#b7b7bb;max-width:580px;margin-bottom:28px}.hero-media{min-height:540px;background:#0e0e10;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.hero-media img{width:100%;height:100%;min-height:540px;object-fit:cover}.primary,.secondary,.danger-btn{min-height:46px;padding:0 18px;border-radius:8px;font-weight:850;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--accent);color:#111}.primary:hover{filter:brightness(1.06)}.primary:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#151517;color:#fff;border-color:var(--line)}.danger-btn{background:#241313;color:#ffb2b2;border-color:#5a2b2b}.section{padding:82px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.muted{color:var(--muted)}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{min-height:170px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,#151517,#0e0e10);display:flex;flex-direction:column;justify-content:end;transition:.2s}.category-card:hover{transform:translateY(-3px);border-color:#555}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.product-image{display:block;aspect-ratio:4/5;background:#0d0d0f;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:.3s}.product-card:hover .product-image img{transform:scale(1.025)}.product-info{padding:15px}.product-title{font-weight:850;margin-bottom:6px}.product-meta{font-size:13px;color:var(--muted);margin-bottom:12px}.price-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.price{font-weight:900}.old-price{text-decoration:line-through;color:#777;font-size:13px}.badge{position:absolute;top:12px;left:12px;z-index:2;padding:5px 9px;background:#eee;color:#111;border-radius:99px;font-size:11px;font-weight:900}.wish{position:absolute;top:10px;right:10px;z-index:2;width:38px;height:38px;border-radius:99px;border:1px solid #333;background:rgba(10,10,11,.82);color:#fff}.wish.active{background:#eee;color:#111}.card-actions{display:flex;gap:8px;margin-top:14px}.card-actions .primary{flex:1;min-height:40px;padding:0 12px}.card-actions .secondary{min-height:40px;padding:0 12px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#0e0e10}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.about-copy{font-size:18px;color:#b3b3b8}.footer{border-top:1px solid var(--line);padding:38px 0;color:#8e8e93}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(2,1fr);gap:30px}.footer a{color:#aaa}.footer a:hover{color:#fff}.filters{display:grid;grid-template-columns:1.2fr repeat(3,190px);gap:10px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#0d0d0f;margin-bottom:24px}.field{display:grid;gap:6px;color:#99999f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}input,select,textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#141416;color:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#666}textarea{resize:vertical}.empty{padding:40px;border:1px dashed var(--line);border-radius:var(--radius);text-align:center;color:#888}.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:60}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(500px,100%);z-index:70;background:#0e0e10;border-left:1px solid var(--line);padding:22px;transform:translateX(100%);transition:.2s;overflow:auto}.drawer.open{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:18px}.cart-item{display:grid;grid-template-columns:74px 1fr auto;gap:11px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#141416;margin-bottom:9px}.cart-item img{width:74px;height:86px;object-fit:cover;border-radius:7px}.qty{display:flex;align-items:center;gap:8px;margin-top:8px}.qty button{width:30px;height:30px;border-radius:7px;border:1px solid var(--line);background:#1a1a1d;color:#fff}.cart-summary{padding:16px;border:1px solid var(--line);border-radius:10px;background:#121214;margin-top:18px}.sum-row{display:flex;justify-content:space-between;gap:16px;margin:7px 0}.sum-total{font-size:20px;font-weight:900;border-top:1px solid var(--line);padding-top:10px;margin-top:10px}.shipping-progress{height:5px;background:#27272b;border-radius:99px;overflow:hidden;margin:10px 0}.shipping-progress span{display:block;height:100%;background:var(--accent)}.product-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:42px;padding:52px 0 80px}.gallery-main{aspect-ratio:4/5;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#0d0d0f}.gallery-main img{width:100%;height:100%;object-fit:cover}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px}.thumb{aspect-ratio:1;border:1px solid var(--line);padding:0;background:#111;border-radius:8px;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.thumb.active{border-color:#888}.product-detail h1{font-size:clamp(35px,5vw,62px)}.detail-price{font-size:26px;font-weight:900;margin:14px 0}.detail-list{list-style:none;padding:0;margin:24px 0}.detail-list li{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line)}.detail-list span{color:#8e8e93}.checkout-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;padding:52px 0 80px}.checkout-card{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#101012}.checkout-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wide{grid-column:1/-1}.checkout-line{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.checkout-line img{width:58px;height:68px;object-fit:cover;border-radius:7px}.success-box{padding:28px;border:1px solid #35533c;border-radius:var(--radius);background:#0f1812;color:#c4e1ca}.admin-body{background:#0a0a0b}.admin-layout{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{border-right:1px solid var(--line);padding:20px;background:#0d0d0f;position:sticky;top:0;height:100vh}.sidebar-nav{display:grid;gap:7px;margin-top:24px}.sidebar-nav button{min-height:42px;text-align:left;padding:0 12px;border:1px solid transparent;background:transparent;color:#a5a5aa;border-radius:8px}.sidebar-nav button.active,.sidebar-nav button:hover{background:#171719;color:#fff;border-color:var(--line)}.admin-main{padding:28px;min-width:0}.admin-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px}.admin-panel{display:none}.admin-panel.active{display:block}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{padding:18px;border:1px solid var(--line);border-radius:12px;background:#111113}.stat strong{font-size:28px}.admin-table{width:100%;border-collapse:collapse;background:#101012;border:1px solid var(--line);border-radius:12px;overflow:hidden}.admin-table th,.admin-table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);vertical-align:middle}.admin-table th{font-size:11px;color:#888;text-transform:uppercase}.admin-thumb{width:50px;height:58px;object-fit:cover;border-radius:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:#101012;margin-bottom:18px}.form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--line)}.switch-row input{width:20px;height:20px;min-height:auto}.admin-products{display:grid;grid-template-columns:1fr 420px;gap:18px}.sticky-form{position:sticky;top:20px;align-self:start}.gallery-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.gallery-preview img{width:74px;height:74px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(480px,100%);padding:26px;border:1px solid var(--line);border-radius:14px;background:#101012}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:100;padding:11px 16px;border-radius:9px;background:#eee;color:#111;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.4)}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(3,1fr)}.filters{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr}.hero-media{min-height:420px}.categories,.features{grid-template-columns:1fr 1fr}.product-layout,.checkout-grid,.about-grid{grid-template-columns:1fr}.admin-products{grid-template-columns:1fr}.sticky-form{position:static}.stats{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.mobile-menu{display:inline-grid}.container{width:min(100% - 24px,var(--max))}.header-row{grid-template-columns:1fr auto}.nav{display:none}.hero{padding:36px 0;min-height:auto}.hero-media,.hero-media img{min-height:340px}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.categories,.features{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.section{padding:58px 0}.section-head{align-items:start;flex-direction:column}.checkout-form,.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.footer-grid{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar-nav{grid-template-columns:repeat(2,1fr)}.admin-main{padding:18px}.stats{grid-template-columns:1fr 1fr}.admin-table{display:block;overflow:auto}.product-layout{padding-top:25px}}
@media(max-width:440px){.product-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}}

/* Delivery autocomplete */
.autocomplete{position:relative}
.autocomplete-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:95;max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#151517;box-shadow:0 18px 45px rgba(0,0,0,.45)}
.autocomplete-item{display:block;width:100%;padding:11px 12px;border:0;border-bottom:1px solid var(--line);background:transparent;color:#fff;text-align:left;line-height:1.35}
.autocomplete-item:last-child{border-bottom:0}.autocomplete-item:hover,.autocomplete-item:focus{background:#202023}
.field-help{display:block;color:#85858b;font-size:12px;font-weight:500;text-transform:none;letter-spacing:0;margin-top:2px}
.field-help.ok{color:var(--success)}.field-help.error{color:#ef9a9a}
.integration-status{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#141416;margin:12px 0}.integration-dot{width:9px;height:9px;border-radius:50%;background:#777}.integration-status.ok .integration-dot{background:var(--success)}


/* Order details modal — V3 */
#orderModal{
  width:min(760px,calc(100% - 24px));
  max-height:90vh;
  padding:0;
  border:1px solid #303036;
  border-radius:16px;
  background:#0d0d0f;
  color:#f4f4f2;
  box-shadow:0 26px 80px rgba(0,0,0,.65);
  overflow:auto;
}
#orderModal::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(3px)}
#orderModal .form-card{margin:0;border:0;border-radius:16px;background:#0d0d0f;color:#f4f4f2;padding:24px}
#orderDetail,#orderDetail h2,#orderDetail h3,#orderDetail strong{color:#f4f4f2}
#orderDetail p,#orderDetail li{color:#d0d0d4}
.order-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-right:50px;margin-bottom:18px}
.order-detail-number{font-size:23px;font-weight:950;letter-spacing:-.02em}
.order-detail-date{font-size:12px;color:#85858c;margin-top:3px}
.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.order-detail-box{padding:15px;border:1px solid #29292e;border-radius:12px;background:#131315}
.order-detail-box.wide{grid-column:1/-1}
.order-detail-label{display:block;margin-bottom:6px;color:#85858c;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.order-detail-value{color:#f4f4f2;font-weight:750;overflow-wrap:anywhere}
.order-detail-sub{margin-top:4px;color:#a6a6ac;font-size:13px;overflow-wrap:anywhere}
.order-items-title{margin:22px 0 10px;font-size:15px}
.order-item-row{display:grid;grid-template-columns:52px 1fr auto;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid #27272c}
.order-item-row img{width:52px;height:60px;object-fit:cover;border-radius:7px;background:#19191c}
.order-item-placeholder{width:52px;height:60px;border-radius:7px;background:#19191c;border:1px solid #29292e}
.order-item-name{font-weight:800;color:#f4f4f2}
.order-item-meta{font-size:12px;color:#93939a;margin-top:3px}
.order-detail-total{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding-top:15px;border-top:1px solid #303036;font-size:19px}
.order-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid #34343a;background:#171719;color:#d8d8dc;font-size:11px;font-weight:800}
@media(max-width:620px){.order-detail-grid{grid-template-columns:1fr}.order-detail-box.wide{grid-column:auto}.order-item-row{grid-template-columns:45px 1fr}.order-item-row>strong{grid-column:2}.order-detail-head{padding-right:38px}}


/* Delivery & payment method rows — V5 */
.method-row{
  display:grid;
  grid-template-columns:150px minmax(220px,1fr);
  gap:14px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.method-toggle{
  display:flex;
  align-items:center;
  gap:9px;
  color:#b8b8bd;
  font-size:13px;
  font-weight:750;
  text-transform:none;
  letter-spacing:0;
}
.method-toggle input[type="checkbox"]{
  width:19px;
  height:19px;
  min-height:19px;
  flex:0 0 auto;
}
.method-name{
  width:100% !important;
  min-height:42px !important;
  height:42px !important;
  color:#f4f4f2 !important;
  background:#141416 !important;
  border:1px solid #303036 !important;
  padding:8px 12px !important;
}
.method-name[readonly]{
  color:#b9b9be !important;
  background:#101012 !important;
}
.method-toggle input:disabled{
  opacity:.65;
}
@media(max-width:650px){
  .method-row{grid-template-columns:1fr;gap:8px}
}

.method-name[readonly]{cursor:default;opacity:.92}


/* Product multi-photo manager — V8 */
.field-help{
  display:block;
  margin-top:4px;
  color:#77777e;
  font-size:11px;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
}
.product-media-help{margin:8px 0 14px;color:#85858c}
.product-media-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:12px 0;
}
.product-media-item{
  position:relative;
  padding:8px;
  border:1px solid #2b2b30;
  border-radius:10px;
  background:#121214;
}
.product-media-item.is-main{border-color:#77777f}
.product-media-image{
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:7px;
  background:#0b0b0c;
}
.product-media-image img{width:100%;height:100%;object-fit:cover}
.product-media-badge{
  margin:7px 0;
  color:#9b9ba1;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.product-media-item.is-main .product-media-badge{color:#f1f1ee}
.product-media-item.pending .product-media-badge{color:#b6c8ff}
.product-media-actions{display:grid;gap:6px}
.product-media-actions .secondary,
.product-media-actions .danger-btn{
  width:100%;
  min-height:34px;
  height:auto;
  padding:6px 8px;
  font-size:11px;
}
.product-media-actions button:disabled{opacity:.7;cursor:default}
.product-media-empty{
  grid-column:1/-1;
  padding:22px 12px;
  border:1px dashed #303036;
  border-radius:10px;
  color:#797980;
  text-align:center;
}
@media(max-width:520px){.product-media-grid{grid-template-columns:1fr 1fr}}


/* Flexible product information — V9 */
.product-custom-fields{
  padding:14px;
  border:1px solid #29292e;
  border-radius:10px;
  background:#101012;
}
.custom-fields-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:10px;
}
.custom-fields-title{
  display:block;
  color:#f1f1ee;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.custom-fields-list{display:grid;gap:8px}
.custom-field-row{
  display:grid;
  grid-template-columns:minmax(130px,.8fr) minmax(160px,1.2fr) auto;
  gap:8px;
  align-items:center;
}
.custom-field-row input{
  min-height:40px;
  height:40px;
}
.custom-field-remove{
  min-height:40px;
  padding:7px 10px;
}
.custom-fields-empty{
  padding:14px 10px;
  border:1px dashed #303036;
  border-radius:8px;
  color:#77777e;
  font-size:12px;
  text-align:center;
}
@media(max-width:650px){
  .custom-fields-head{display:grid}
  .custom-field-row{grid-template-columns:1fr}
  .custom-field-remove{width:100%}
}


/* Removable standard product fields — V10 */
.removable-standard-field{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:end;
}
.removable-standard-field.wide{grid-column:1/-1}
.removable-standard-field[hidden]{display:none!important}
.removable-standard-field .field{margin:0}
.remove-standard-field{
  min-height:42px;
  height:42px;
  padding:7px 10px;
  white-space:nowrap;
}
.restore-standard-fields{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:end;
  padding:13px;
  border:1px dashed #303036;
  border-radius:10px;
  background:#0f0f11;
}
.restore-standard-controls{display:flex;gap:8px;align-items:center}
.restore-standard-controls select{min-width:190px}
@media(max-width:650px){
  .removable-standard-field{grid-template-columns:1fr}
  .remove-standard-field{width:100%}
  .restore-standard-fields{grid-template-columns:1fr}
  .restore-standard-controls{display:grid}
  .restore-standard-controls select{min-width:0;width:100%}
}


/* Telegram order notifications — V11 */
.telegram-actions{display:flex;flex-wrap:wrap;gap:8px}
.telegram-actions button{min-width:150px}
@media(max-width:620px){
  .telegram-actions{display:grid}
  .telegram-actions button{width:100%}
}

/* NOIR V12 admin UX */
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.panel-head h2{margin:2px 0 5px}.panel-head p{margin:0}.admin-top-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.sync-status{font-size:11px;color:#888}.sync-status.ok{color:#7bd496}.sync-status.working{color:#dbc46c}.sync-status.error{color:#ff8d8d}.health-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.health-card{display:flex;gap:9px;align-items:center;padding:12px;border:1px solid #29292e;border-radius:10px;background:#121214}.health-card i{width:10px;height:10px;border-radius:50%;background:#666}.health-card.ok i{background:#66ca84}.health-card.warn i{background:#d6b85c}.health-card strong,.health-card small{display:block}.health-card small{color:#888;margin-top:2px}.list-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:8px;align-items:center;padding:10px;margin-bottom:14px;border:1px solid #29292e;border-radius:10px;background:#101012}.list-toolbar.compact{grid-template-columns:minmax(220px,1fr) auto}.toolbar-count{font-size:12px;color:#999;font-weight:800;min-width:60px;text-align:center}.card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.section-help{color:#85858c;font-size:12px;margin:-4px 0 14px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.integration-grid .form-card{margin:0}.panel-save-bar{position:sticky;bottom:10px;z-index:10;display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:15px;padding:10px 12px;border:1px solid #333338;border-radius:12px;background:rgba(15,15,17,.95);backdrop-filter:blur(12px)}.settingsSaveStatus{margin-right:auto;color:#888;font-size:12px}.settingsSaveStatus.dirty{color:#e1c566;font-weight:800}.theme-preview{display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding:18px;border:7px solid #101012;border-radius:10px}.theme-preview button{border:0;border-radius:7px;padding:8px 12px;font-weight:900}.preset-row{display:flex;gap:7px;flex-wrap:wrap}.store-error{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:9999;background:#431d1d;color:#fff;padding:10px 14px;border-radius:9px}.product-editor{scroll-margin-top:12px}
@media(max-width:1000px){.health-grid{grid-template-columns:1fr 1fr}.integration-grid{grid-template-columns:1fr}.list-toolbar{grid-template-columns:1fr 1fr}.admin-top-actions{align-items:flex-start}}
@media(max-width:620px){.panel-head{display:grid}.panel-head>button{width:100%}.health-grid,.list-toolbar,.list-toolbar.compact{grid-template-columns:1fr}.toolbar-count{text-align:left}.panel-save-bar{display:grid}.settingsSaveStatus{margin:0}.panel-save-bar button{width:100%}.admin-top-actions{width:100%}.admin-top-actions .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.admin-top-actions .actions>*{width:100%;text-align:center}}

/* Checkbox PRRO — V13 */
.checkbox-actions{display:flex;flex-wrap:wrap;gap:8px}
.checkbox-actions button{min-width:150px}
.fiscal-box{border-color:#323239}
.fiscal-error{display:block;margin-top:6px;color:#ff9b9b;white-space:pre-wrap}
.fiscalize-order-btn{margin-top:10px}
.health-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1180px){.health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.health-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.health-grid{grid-template-columns:1fr}.checkbox-actions{display:grid}.checkbox-actions button{width:100%}}


/* ===== V14 — easier store settings + fixed legal pages ===== */
.settings-jumpbar{
  display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px;
}
.settings-jumpbar a{
  padding:8px 11px;border:1px solid #2b2b30;border-radius:999px;
  background:#111113;color:#aaaab0;font-size:12px;font-weight:800;text-decoration:none;
}
.settings-jumpbar a:hover{color:#f2f2ef;border-color:#505057}
.settings-card-title{display:flex;gap:11px;align-items:flex-start;margin-bottom:14px}
.settings-card-title h3,.settings-card-title p{margin-top:0}
.settings-step{
  display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;
  border:1px solid #35353a;background:#171719;color:#f0f0ed;font-weight:900;font-size:12px;
}
.brand-preview{display:flex;gap:10px;align-items:center;margin:10px 0;color:#85858c;font-size:12px}
.brand-preview img{width:74px;height:74px;object-fit:cover;border-radius:10px;border:1px solid #2c2c31}
.legal-editor{display:grid;gap:9px}
.legal-editor details{border:1px solid #29292e;border-radius:10px;background:#0f0f11;overflow:hidden}
.legal-editor summary{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  padding:13px 14px;cursor:pointer;list-style:none
}
.legal-editor summary::-webkit-details-marker{display:none}
.legal-editor summary span{display:flex;flex-direction:column}
.legal-editor summary small{color:#85858c;margin-top:3px;font-weight:500}
.legal-editor summary a{font-size:12px;color:#d6d6d2;text-decoration:none;white-space:nowrap}
.legal-editor summary a:hover{text-decoration:underline}
.legal-editor-body{padding:0 14px 14px}
.legal-editor textarea{width:100%;min-height:190px}

.friendly-method{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.55fr);gap:14px;
  align-items:center;padding:13px 0;border-bottom:1px solid #27272c
}
.friendly-method:last-child{border-bottom:0}
.friendly-method-toggle{display:flex;align-items:center;gap:11px;cursor:pointer;text-transform:none;letter-spacing:0}
.friendly-method-toggle>input{position:absolute;opacity:0;pointer-events:none}
.friendly-method-toggle>span:last-child{display:flex;flex-direction:column}
.friendly-method-toggle small{color:#85858c;margin-top:3px;font-weight:500}
.friendly-method-switch{
  position:relative;display:block;flex:none;width:42px;height:24px;border-radius:999px;
  background:#29292d;border:1px solid #3a3a40;transition:.2s
}
.friendly-method-switch:after{
  content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;
  border-radius:50%;background:#777;transition:.2s
}
.friendly-method-toggle input:checked + .friendly-method-switch{background:#e8e8e4;border-color:#e8e8e4}
.friendly-method-toggle input:checked + .friendly-method-switch:after{left:20px;background:#0b0b0c}
.integration-controlled{opacity:.9}

.theme-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.theme-choice{
  appearance:none;text-align:left;padding:10px;border:1px solid #2b2b30;border-radius:12px;
  background:#101012;color:#e9e9e5;cursor:pointer;transition:.18s
}
.theme-choice:hover{transform:translateY(-1px);border-color:#57575e}
.theme-choice.active{border-color:#e7e7e2;box-shadow:0 0 0 1px #e7e7e2}
.theme-choice strong,.theme-choice small{display:block}
.theme-choice small{color:#85858c;line-height:1.45;margin-top:4px;font-weight:500}
.theme-choice-demo{
  display:block;position:relative;height:82px;border-radius:8px;margin-bottom:9px;overflow:hidden
}
.theme-choice-demo i{position:absolute;left:9px;top:10px;width:40%;height:7px;border-radius:4px}
.theme-choice-demo b{position:absolute;left:9px;bottom:10px;width:55%;height:30px;border-radius:6px}
.theme-choice-demo em{position:absolute;right:9px;bottom:10px;width:29%;height:18px;border-radius:5px}
.theme-classic{background:#09090a}.theme-classic i,.theme-classic em{background:#f2f2ef}.theme-classic b{background:#101012}
.theme-graphite{background:#111214}.theme-graphite i,.theme-graphite em{background:#fff}.theme-graphite b{background:#1a1b1e}
.theme-warm{background:#0d0c0b}.theme-warm i,.theme-warm em{background:#f0eadf}.theme-warm b{background:#171513}
.theme-black{background:#000}.theme-black i,.theme-black em{background:#fff}.theme-black b{background:#0d0d0f}

.design-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:14px;margin-top:14px}
.store-theme-preview{
  --preview-accent:#f2f2ef;--preview-bg:#09090a;--preview-card:#101012;
  overflow:hidden;border:1px solid #303036;border-radius:12px;background:var(--preview-bg);color:var(--preview-accent);
}
.preview-announcement{padding:6px 12px;text-align:center;font-size:9px;letter-spacing:.08em;border-bottom:1px solid var(--preview-card)}
.preview-nav{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--preview-card);font-size:10px}
.preview-nav strong{font-size:16px;letter-spacing:.14em}.preview-nav span{opacity:.65}
.preview-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;padding:22px 16px}
.preview-hero small{opacity:.6;font-size:8px;letter-spacing:.12em}
.preview-hero h3{font-size:25px;line-height:1.02;margin:8px 0}.preview-hero p{opacity:.65;font-size:10px;line-height:1.5}
.preview-hero button{border:0;padding:9px 11px;border-radius:5px;background:var(--preview-accent);color:var(--preview-bg);font-size:9px;font-weight:900}
.preview-image{border-radius:8px;background:linear-gradient(145deg,var(--preview-card),var(--preview-bg));border:1px solid var(--preview-card);min-height:150px;position:relative}
.preview-image:after{content:"NOIR";position:absolute;inset:0;display:grid;place-items:center;font-size:22px;letter-spacing:.16em;opacity:.25}
.preview-product{display:grid;grid-template-columns:70px 1fr;gap:10px;align-items:center;margin:0 16px 16px;padding:10px;border-radius:8px;background:var(--preview-card)}
.preview-product-image{height:70px;border-radius:6px;background:var(--preview-bg)}
.preview-product>div:last-child{display:flex;flex-direction:column;gap:4px}.preview-product small{font-size:8px;opacity:.55}.preview-product strong{font-size:12px}.preview-product span{font-size:11px}

.advanced-theme{margin-top:12px;border:1px solid #29292e;border-radius:10px;background:#0f0f11}
.advanced-theme summary{cursor:pointer;list-style:none;padding:13px}
.advanced-theme summary::-webkit-details-marker{display:none}
.advanced-theme summary span{display:flex;flex-direction:column}.advanced-theme summary small{color:#85858c;margin-top:3px}
.advanced-theme-body{padding:0 13px 13px;display:grid;gap:9px}
.color-control{display:grid;grid-template-columns:minmax(0,1fr) 52px 100px;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #26262b}
.color-control>div{display:flex;flex-direction:column}.color-control small{color:#85858c;margin-top:2px}
.color-control input[type=color]{width:52px;height:40px;padding:3px}
.hex-input{text-transform:lowercase;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.hex-input.invalid{border-color:#9d4c4c!important}

.google-preview{margin-top:14px;padding:14px;border-radius:10px;background:#fff;color:#202124;font-family:Arial,sans-serif}
.google-preview small{display:block;color:#4d5156;font-size:12px;margin-bottom:5px}
.google-preview strong{display:block;color:#1a0dab;font-size:18px;font-weight:400;line-height:1.3}
.google-preview p{color:#4d5156;font-size:13px;line-height:1.45;margin:5px 0 0}

.legal-page{max-width:1050px}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.legal-tabs a{padding:9px 12px;border:1px solid #29292e;border-radius:999px;text-decoration:none;color:#98989f;font-size:12px;font-weight:800}
.legal-tabs a:hover,.legal-tabs a.active{color:var(--accent);border-color:#606067;background:var(--card)}
.legal-card{max-width:900px}
.legal-content{white-space:pre-wrap;font-size:16px;line-height:1.8;color:#d0d0cc;overflow-wrap:anywhere}
.legal-content.legal-empty{color:#8b8b91;font-style:italic}
.legal-back{display:inline-flex;margin-top:14px}

@media(max-width:1050px){
  .theme-choice-grid{grid-template-columns:1fr 1fr}
  .design-workspace{grid-template-columns:1fr}
}
@media(max-width:700px){
  .friendly-method{grid-template-columns:1fr}
  .theme-choice-grid{grid-template-columns:1fr 1fr}
  .preview-hero{grid-template-columns:1fr}
  .preview-image{min-height:110px}
  .color-control{grid-template-columns:1fr 52px 100px}
}
@media(max-width:480px){
  .theme-choice-grid{grid-template-columns:1fr}
  .settings-jumpbar{display:grid;grid-template-columns:1fr 1fr}
  .settings-jumpbar a{text-align:center}
  .color-control{grid-template-columns:1fr 1fr}
  .color-control>div{grid-column:1/-1}
  .hex-input{width:100%}
  .legal-editor summary{align-items:flex-start}
}


/* ===== V15 — product photo gallery ===== */
body.lightbox-open{overflow:hidden}
.product-gallery-column{min-width:0}
.gallery-main{position:relative}
.gallery-main.gallery-empty{display:grid;place-items:center;color:var(--muted);min-height:420px}
.gallery-photo-open{
  display:block;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in
}
.gallery-photo-open img{
  width:100%;height:100%;object-fit:cover;transition:transform .25s ease
}
.gallery-photo-open:hover img{transform:scale(1.012)}
.gallery-arrow,.gallery-expand{
  position:absolute;z-index:5;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);
  background:rgba(8,8,9,.70);color:#fff;backdrop-filter:blur(9px);
  box-shadow:0 6px 20px rgba(0,0,0,.25)
}
.gallery-arrow{
  top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  font-size:38px;font-family:Arial,sans-serif;line-height:1
}
.gallery-arrow:hover,.gallery-expand:hover{background:rgba(242,242,239,.95);color:#111}
.gallery-prev{left:14px}.gallery-next{right:14px}
.gallery-expand{
  top:14px;right:14px;width:42px;height:42px;border-radius:50%;font-size:20px
}
.gallery-counter{
  position:absolute;z-index:4;right:14px;bottom:14px;padding:6px 9px;border-radius:999px;
  background:rgba(8,8,9,.72);border:1px solid rgba(255,255,255,.16);
  color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;backdrop-filter:blur(8px)
}
.gallery-zoom-hint{
  position:absolute;z-index:4;left:50%;bottom:14px;transform:translateX(-50%);
  padding:6px 10px;border-radius:999px;background:rgba(8,8,9,.68);
  color:#d7d7da;font-size:10px;font-weight:800;white-space:nowrap;opacity:0;transition:.18s;
  pointer-events:none
}
.gallery-main:hover .gallery-zoom-hint{opacity:1}
.thumbs{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}
.thumb{flex:0 0 calc((100% - 32px)/5);min-width:72px}
.thumb.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}

.product-lightbox{
  position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:28px;
  background:rgba(0,0,0,.96)
}
.product-lightbox[hidden]{display:none!important}
.product-lightbox-backdrop{position:absolute;inset:0}
.lightbox-stage{
  position:relative;z-index:2;display:grid;place-items:center;
  width:min(94vw,1500px);height:calc(100vh - 56px);height:calc(100dvh - 56px);
  touch-action:pan-y
}
.lightbox-stage img{
  display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
  user-select:none;-webkit-user-drag:none
}
.lightbox-close,.lightbox-arrow{
  position:absolute;z-index:5;border:1px solid rgba(255,255,255,.24);
  background:rgba(20,20,22,.75);color:#fff;backdrop-filter:blur(10px)
}
.lightbox-close{
  top:18px;right:18px;width:50px;height:50px;border-radius:50%;font-size:32px;line-height:1
}
.lightbox-arrow{
  top:50%;transform:translateY(-50%);width:58px;height:58px;border-radius:50%;
  font-size:46px;font-family:Arial,sans-serif;line-height:1
}
.lightbox-prev{left:20px}.lightbox-next{right:20px}
.lightbox-close:hover,.lightbox-arrow:hover{background:#f2f2ef;color:#111}
.lightbox-counter{
  position:absolute;left:50%;bottom:12px;transform:translateX(-50%);
  padding:7px 11px;border-radius:999px;background:rgba(20,20,22,.78);
  border:1px solid rgba(255,255,255,.18);color:#fff;font-size:12px;font-weight:900;
  pointer-events:none
}

@media(max-width:760px){
  .gallery-arrow{width:44px;height:44px;font-size:34px}
  .gallery-prev{left:9px}.gallery-next{right:9px}
  .gallery-expand{top:9px;right:9px}
  .gallery-counter{right:9px;bottom:9px}
  .gallery-zoom-hint{display:none}
  .thumb{flex-basis:76px}
  .product-lightbox{padding:0}
  .lightbox-stage{width:100vw;height:100vh;height:100dvh;padding:58px 12px 64px}
  .lightbox-close{top:max(12px,env(safe-area-inset-top));right:12px;width:46px;height:46px}
  .lightbox-arrow{width:46px;height:46px;font-size:36px;background:rgba(20,20,22,.58)}
  .lightbox-prev{left:8px}.lightbox-next{right:8px}
  .lightbox-counter{bottom:max(14px,env(safe-area-inset-bottom))}
}
@media(max-width:480px){
  .gallery-arrow{width:40px;height:40px;font-size:31px}
  .gallery-expand{width:39px;height:39px;font-size:18px}
}

/* ===== V16 — gender, more themes, extended settings ===== */
:root{--header:#09090a;--button-text:#111;--catalog-columns:4;--image-fit:cover}
body{background:var(--bg);color:var(--text)}
.header{background:var(--header);border-color:var(--line)}
.nav{color:var(--muted)}.nav a:hover{color:var(--text)}
.announcement,.count,.primary{color:var(--button-text)}
.secondary,.icon-btn{background:var(--card);color:var(--text);border-color:var(--line)}
.hero-copy,.product-meta,.footer,.footer a,.eyebrow,.field{color:var(--muted)}
.footer a:hover{color:var(--text)}
.category-card,.feature,.filters,.drawer,.gallery-main,.product-image{background:var(--card);border-color:var(--line)}
.category-card{background:var(--card)}
.product-image img{object-fit:var(--image-fit)}
input,select,textarea{background:var(--card);color:var(--text);border-color:var(--line)}
.product-grid{grid-template-columns:repeat(var(--catalog-columns),minmax(0,1fr))}
.gender-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gender-home-card{position:relative;min-height:280px;padding:30px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--card);display:flex;flex-direction:column;justify-content:flex-end;transition:.22s}
.gender-home-card:before{content:"";position:absolute;inset:0;opacity:.65;background:linear-gradient(145deg,transparent,color-mix(in srgb,var(--accent) 14%,transparent))}
.gender-home-card>*{position:relative;z-index:1}.gender-home-card span{color:var(--muted);font-size:11px;font-weight:950;letter-spacing:.18em}.gender-home-card strong{font-size:clamp(32px,4vw,56px);line-height:1;margin:8px 0 14px}.gender-home-card em{font-style:normal;color:var(--muted);font-weight:800}.gender-home-card:hover{transform:translateY(-3px);border-color:var(--accent)}
.catalog-gender-bar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:6px;border:1px solid var(--line);border-radius:999px;width:max-content;max-width:100%;background:var(--card)}
.gender-filter{min-height:42px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-weight:850}.gender-filter.active{background:var(--accent);color:var(--button-text)}
.gender-badge{position:absolute;z-index:3;left:10px;bottom:10px;padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--bg) 82%,transparent);border:1px solid var(--line);color:var(--text);font-size:9px;font-weight:900;backdrop-filter:blur(8px)}
.card-stock{margin-top:5px;color:var(--muted);font-size:11px;font-weight:750}.card-stock.out{color:#d98d8d}
.gender-admin-pill{display:inline-flex;padding:5px 8px;border:1px solid #44444a;border-radius:999px;font-size:10px;font-weight:850}.gender-admin-pill.male{border-color:#43536b}.gender-admin-pill.female{border-color:#684653}
.theme-groups{display:grid;gap:20px}.theme-group{display:grid;gap:11px}.theme-group+.theme-group{padding-top:18px;border-top:1px solid #29292e}.theme-group-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.theme-group-head>div{display:flex;flex-direction:column}.theme-group-head small{color:#85858c;margin-top:3px}.theme-badge{padding:5px 8px;border-radius:999px;background:#ece8df;color:#1c1b19;font-size:9px;font-weight:950}
.theme-pureblack{background:#000}.theme-pureblack i,.theme-pureblack em{background:#fff}.theme-pureblack b{background:#0b0b0c}
.theme-navy{background:#0a0f18}.theme-navy i,.theme-navy em{background:#e7edf7}.theme-navy b{background:#111a28}
.theme-forest{background:#0c120f}.theme-forest i,.theme-forest em{background:#e7efe8}.theme-forest b{background:#141d18}
.theme-burgundy{background:#160c0f}.theme-burgundy i,.theme-burgundy em{background:#f4e9eb}.theme-burgundy b{background:#211216}
.theme-mocha{background:#15110e}.theme-mocha i,.theme-mocha em{background:#f2e8dc}.theme-mocha b{background:#201914}
.theme-softgraphite{background:#1b1c1f}.theme-softgraphite i,.theme-softgraphite em{background:#fff}.theme-softgraphite b{background:#25272b}
.theme-smoke{background:#242426}.theme-smoke i,.theme-smoke em{background:#fcfcfa}.theme-smoke b{background:#303034}
.theme-charcoal{background:#2a2a2c}.theme-charcoal i,.theme-charcoal em{background:#fff}.theme-charcoal b{background:#363639}
.theme-steel{background:#252a31}.theme-steel i,.theme-steel em{background:#fff}.theme-steel b{background:#303740}
.theme-taupe{background:#2b2724}.theme-taupe i,.theme-taupe em{background:#fffaf3}.theme-taupe b{background:#38322e}
.theme-silver{background:#3a3d42}.theme-silver i,.theme-silver em{background:#f9fafb}.theme-silver b{background:#494d54}
.theme-stone{background:#c9c3bb}.theme-stone i,.theme-stone em{background:#272421}.theme-stone b{background:#ddd8d1}
.theme-ivory{background:#e9e6df}.theme-ivory i,.theme-ivory em{background:#1a1a1a}.theme-ivory b{background:#f6f3ed}
.range-row{display:grid;grid-template-columns:1fr 80px auto;gap:8px;align-items:center}.range-row input[type=range]{min-height:36px;padding:0}
.store-theme-preview{color:var(--preview-text,#f4f4f2);border-color:var(--preview-line,#303036);border-radius:var(--preview-radius,12px)}
.preview-announcement{background:var(--preview-accent);color:var(--preview-button-text);border-color:var(--preview-line)}.preview-nav{background:var(--preview-header);border-color:var(--preview-line)}.preview-hero p,.preview-product small{color:var(--preview-muted)}.preview-hero button{background:var(--preview-accent);color:var(--preview-button-text)}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gender-home-grid{grid-template-columns:1fr}.gender-home-card{min-height:210px}.catalog-gender-bar{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.gender-filter{padding:0 8px}}
@media(max-width:440px){.product-grid{grid-template-columns:1fr}.gender-filter{font-size:12px}}


/* ===== V17 — visitor analytics ===== */
.analytics-head-actions{display:flex;gap:8px;align-items:center}
.analytics-head-actions select{min-width:120px}
.analytics-note{
  margin:0 0 16px;padding:12px 14px;border:1px solid #303037;border-radius:10px;
  background:#101012;color:#a8a8ae;font-size:12px;line-height:1.55
}
.analytics-note strong{color:#e5e5e1}
.analytics-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.analytics-chart-card{margin-top:16px}
.analytics-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.analytics-card-head h3,.analytics-card-head p{margin-top:0}
.analytics-legend{font-size:11px;color:#97979d}
.analytics-legend span{display:flex;align-items:center;gap:6px}
.views-dot{width:8px;height:8px;border-radius:50%;background:#ededeb;display:inline-block}
.analytics-chart{
  height:250px;margin-top:16px;padding:10px 4px 0;display:flex;gap:5px;align-items:stretch;
  border-bottom:1px solid #2e2e34;overflow-x:auto
}
.analytics-bar-col{flex:1 1 24px;min-width:18px;display:grid;grid-template-rows:1fr 24px;gap:5px;align-items:end}
.analytics-bar-wrap{height:100%;display:flex;align-items:flex-end;justify-content:center}
.analytics-bar-wrap i{
  display:block;width:min(22px,75%);min-height:2px;border-radius:5px 5px 1px 1px;
  background:linear-gradient(180deg,#f0f0ed,#77777f);transition:.2s
}
.analytics-bar-col:hover .analytics-bar-wrap i{filter:brightness(1.22)}
.analytics-bar-col>span{display:block;text-align:center;color:#77777d;font-size:9px;white-space:nowrap}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.analytics-list{display:grid;gap:11px;margin-top:12px}
.analytics-list-row{display:grid;gap:6px}
.analytics-list-main{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.analytics-list-main>div{min-width:0;display:flex;flex-direction:column}
.analytics-list-main strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analytics-list-main small{margin-top:2px;color:#7f7f86;font-size:10px}
.analytics-list-main b{font-size:12px}
.analytics-mini-bar{height:4px;border-radius:999px;background:#242429;overflow:hidden}
.analytics-mini-bar i{display:block;height:100%;border-radius:inherit;background:#d8d8d5}
.analytics-empty{padding:20px 0;color:#77777e;text-align:center;font-size:12px}
.analytics-big-number{font-size:clamp(38px,6vw,72px);font-weight:950;letter-spacing:-.04em;margin-top:14px}
@media(max-width:1200px){.analytics-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .analytics-head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .analytics-head-actions select,.analytics-head-actions button{width:100%}
  .analytics-stats{grid-template-columns:1fr 1fr}
  .analytics-grid{grid-template-columns:1fr}
  .analytics-chart{height:210px}
}
@media(max-width:460px){.analytics-stats{grid-template-columns:1fr 1fr}.analytics-bar-col{min-width:22px}}


/* ===== V18 — mobile favourites fix ===== */
@media(max-width:720px){
  .header-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:64px}
  .header-actions{gap:5px}
  .header-actions .icon-btn{min-width:40px;height:40px;padding:0 9px}
  .header-actions .wish-head{display:inline-grid !important;grid-auto-flow:column;gap:2px;align-items:center}
  .header-actions .wish-head .count,
  .header-actions [data-open-cart] .count{margin-left:2px}
}
@media(max-width:390px){
  .header-row{gap:7px}
  .logo{gap:7px;font-size:15px}
  .logo-box{width:32px;height:32px;font-size:18px}
  .header-actions{gap:4px}
  .header-actions .icon-btn{min-width:38px;height:38px;padding:0 7px}
  .header-actions .wish-head{font-size:0}
  .header-actions .wish-head::before{content:"♡";font-size:21px;line-height:1}
  .header-actions .wish-head .count{font-size:10px}
  .header-actions [data-open-cart]{font-size:0}
  .header-actions [data-open-cart]::before{content:"▣";font-size:18px;line-height:1}
  .header-actions [data-open-cart] .count{font-size:10px}
}
@media(max-width:335px){
  .brand-text{display:none}
  .header-actions .icon-btn{min-width:36px;height:36px;padding:0 6px}
  .count{min-width:18px;height:18px}
}


/* ===== V19 — full product photo + smooth gallery ===== */
.product-gallery-column .gallery-main{
  background:var(--card);
}
.product-gallery-column .gallery-photo-open{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  background:var(--card);
}
.product-gallery-column .gallery-photo-open img,
.product-gallery-column .gallery-main > img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center;
  background:var(--card);
  will-change:transform,opacity;
}
.product-gallery-column .gallery-photo-open:hover img{
  transform:none !important;
}
.product-lightbox{
  padding:20px 82px;
}
.product-lightbox .lightbox-stage{
  width:100%;
  max-width:1600px;
  height:calc(100vh - 40px);
  height:calc(100dvh - 40px);
  overflow:hidden;
}
.product-lightbox .lightbox-stage img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center;
  will-change:transform,opacity;
}
@media(min-width:761px){
  .product-gallery-column .gallery-main{min-height:520px}
  .product-lightbox .lightbox-prev{left:18px}
  .product-lightbox .lightbox-next{right:18px}
}
@media(min-width:761px) and (max-height:800px){
  .product-gallery-column .gallery-main{min-height:430px}
  .product-lightbox{padding-top:14px;padding-bottom:14px}
  .product-lightbox .lightbox-stage{
    height:calc(100vh - 28px);
    height:calc(100dvh - 28px);
  }
}
@media(max-width:760px){
  .product-lightbox{padding:0}
  .product-lightbox .lightbox-stage{
    width:100vw;
    max-width:none;
    height:100vh;
    height:100dvh;
    padding:58px 12px 64px;
  }
}


/* ===== V20 — reviews + simple site builder ===== */
.container{max-width:var(--container-max,1280px)}
.section{margin-top:var(--section-space,72px)}
.primary,.secondary,.icon-btn,.gender-filter{border-radius:var(--button-radius,10px)}
.header{position:sticky;top:0;z-index:40}.header-not-sticky .header{position:relative;top:auto}
.cards-shadow .product-card,.cards-shadow .category-card,.cards-shadow .feature,.cards-shadow .review-card{box-shadow:0 16px 42px rgba(0,0,0,.18)}
.hero-compact .hero{min-height:430px}.hero-large .hero{min-height:760px}.hero-media-left .hero>div:first-child{order:2}.hero-media-left .hero-media{order:1}
.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.review-card{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
.review-card-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.review-card-top time{font-size:10px;color:var(--muted)}
.review-stars,.review-admin-stars{color:#e7d09b;letter-spacing:.06em}.review-card p{margin:16px 0 0;color:var(--muted);line-height:1.65;white-space:pre-wrap}
.reviews-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reviews-summary>strong{font-size:24px}.reviews-summary small{color:var(--muted)}
.review-form-card{margin-top:18px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:28px}
.review-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-form .wide{grid-column:1/-1}.review-form-status{align-self:center;color:var(--muted);font-size:12px}
.review-stars-input{display:flex;gap:3px}.review-stars-input button{border:0;background:transparent;color:#555;padding:0;font-size:28px;cursor:pointer;line-height:1}.review-stars-input button.active{color:#e7d09b}
.custom-home-section{padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);overflow:hidden}.custom-home-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:30px}.custom-home-text{max-width:760px;color:var(--muted);line-height:1.7}.custom-align-center{text-align:center}.custom-align-center .custom-home-inner{display:block}.custom-align-center .custom-home-text{margin-left:auto;margin-right:auto}.custom-accent{background:var(--accent);color:var(--button-text)}.custom-accent .eyebrow,.custom-accent .custom-home-text{color:color-mix(in srgb,var(--button-text) 70%,transparent)}.custom-image{position:relative}.custom-home-media img{width:100%;max-height:360px;object-fit:contain;border-radius:calc(var(--radius) - 4px)}
.side-badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;align-items:center;justify-content:center;margin-left:6px;border-radius:999px;background:#eee;color:#111;font-size:10px;font-weight:900}
.review-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.review-toolbar{display:flex;gap:8px;margin:14px 0}.reviews-admin-list{display:grid;gap:12px}.review-admin-card{padding:18px;border:1px solid #303037;border-radius:12px;background:#111113}.review-admin-card.pending{border-left:3px solid #d2b46f}.review-admin-card.approved{border-left:3px solid #79b58a}.review-admin-card.rejected{opacity:.72}.review-admin-top{display:flex;justify-content:space-between;gap:14px}.review-admin-top h3{margin:5px 0}.review-admin-top small,.review-kind{color:#84848b;font-size:10px}.review-status{padding:5px 8px;border-radius:999px;background:#222;font-size:10px;font-weight:850;height:max-content}.review-status.approved{color:#a8dbb4}.review-status.pending{color:#e7d09b}.review-status.rejected{color:#c7a0a0}.review-admin-card>p{white-space:pre-wrap;color:#c0c0c4;line-height:1.6}.review-admin-actions{display:flex;gap:7px;flex-wrap:wrap}
.builder-help{padding:13px 15px;margin-bottom:14px;border:1px solid #34343a;border-radius:10px;background:#111113;color:#a6a6ac;font-size:12px;line-height:1.55}.builder-help strong{color:#efefec}.builder-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.builder-list-head{display:flex;justify-content:space-between;gap:14px;align-items:end;margin:24px 0 10px}.builder-list-head h3,.builder-list-head p{margin:0}.home-builder-list{display:grid;gap:10px}.builder-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid #303036;border-radius:12px;background:#111113}.builder-item.dragging{opacity:.45;border-style:dashed}.builder-drag{font-size:20px;color:#777;cursor:grab;text-align:center;padding-top:8px}.builder-item-main{min-width:0}.builder-item-head{display:flex;justify-content:space-between;gap:16px}.builder-item-head small{display:block;color:#777;font-size:9px;font-weight:900;letter-spacing:.1em}.builder-item-head strong{display:block;margin-top:4px}.builder-item-head p{margin:4px 0 0;color:#888;font-size:11px}.builder-visible{display:flex;align-items:center;gap:7px;color:#aaa;font-size:11px;white-space:nowrap}.builder-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.builder-custom-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:12px}.builder-custom-fields .wide{grid-column:1/-1}.builder-save-bar{margin-top:14px}
@media(max-width:900px){.reviews-grid{grid-template-columns:1fr 1fr}.review-form-card,.builder-settings-grid{grid-template-columns:1fr}.builder-item{grid-template-columns:30px 1fr}.builder-actions{grid-column:2;justify-content:flex-start}.builder-custom-fields{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.reviews-grid{grid-template-columns:1fr}.review-form-card{padding:18px}.review-form{grid-template-columns:1fr}.review-form .wide{grid-column:auto}.review-admin-stats{grid-template-columns:1fr 1fr}.review-toolbar{display:grid;grid-template-columns:1fr 1fr}.builder-item-head{display:grid}.builder-custom-fields{grid-template-columns:1fr}.builder-custom-fields .wide{grid-column:auto}.custom-home-inner{grid-template-columns:1fr}.hero-media-left .hero>div:first-child,.hero-media-left .hero-media{order:initial}}


/* ===== V21 — customer accounts + automatic bonus system ===== */
.account-head{gap:6px}.account-head-icon{font-size:14px}.account-root{padding:52px 0 90px;min-height:70vh}.account-loading{min-height:50vh;display:grid;place-items:center;align-content:center;color:var(--muted);gap:12px}.account-loader{width:28px;height:28px;border:2px solid var(--line);border-top-color:var(--text);border-radius:50%;animation:accountSpin .8s linear infinite}@keyframes accountSpin{to{transform:rotate(360deg)}}
.account-auth-wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center;min-height:650px}.account-auth-intro h1{font-size:clamp(48px,7vw,88px)}.account-auth-intro>p{font-size:18px;color:var(--muted);max-width:620px}.account-auth-benefits{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.account-auth-benefits span{padding:13px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.account-auth-card{padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.auth-method-card{display:grid;gap:10px}.auth-divider{height:34px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--line);flex:1}.apple-login-btn{width:100%;min-height:50px;border:1px solid #ddd;border-radius:var(--button-radius,10px);background:#fff;color:#111;font-weight:900}.apple-login-btn span{font-size:21px;margin-right:8px}.auth-status{display:block;min-height:18px;color:var(--muted);font-size:11px;line-height:1.45}.auth-setup-note{margin:16px 0 0;color:#777;font-size:10px;line-height:1.5}.phone-otp-wrap{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.phone-otp-wrap .primary{height:44px}
.account-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.account-dashboard-head h1{font-size:clamp(42px,6vw,72px);margin-bottom:6px}.account-summary-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:12px;margin-bottom:18px}.account-bonus-hero,.account-summary-card{min-height:165px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);display:flex;flex-direction:column;justify-content:flex-end}.account-bonus-hero{background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 62%,#777));color:var(--button-text)}.account-bonus-hero>span,.account-summary-card>span{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.account-bonus-hero>strong{font-size:58px;line-height:.95;letter-spacing:-.05em}.account-summary-card>strong{font-size:38px}.account-bonus-hero small,.account-summary-card small{opacity:.72}.account-bonus-hero em{font-style:normal;margin-top:9px;padding-top:9px;border-top:1px solid color-mix(in srgb,var(--button-text) 20%,transparent);font-size:11px}.account-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);gap:16px}.account-main-col,.account-side-col{display:grid;gap:16px;align-content:start}.account-section-card{padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.account-section-card h2{font-size:30px}.account-orders{display:grid;gap:10px}.account-order-card{padding:16px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--card) 82%,var(--bg))}.account-order-head{display:flex;justify-content:space-between;gap:15px}.account-order-head>div{display:grid}.account-order-head strong{font-size:17px}.account-order-head small{color:var(--muted);font-size:10px}.account-order-status{padding:5px 8px;border-radius:999px;background:#242428;height:max-content;font-size:10px;font-weight:850}.account-order-status.done{color:#a9dcb4}.account-order-status.cancelled{color:#d4a2a2}.account-order-items{display:grid;gap:5px;margin:14px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.account-order-items>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.account-order-items span{color:var(--muted)}.account-order-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px}.account-order-bonus{display:flex;gap:14px;flex-wrap:wrap;margin-top:9px;color:#d9c18a;font-size:11px}.account-order-total{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:14px}.account-order-total strong{font-size:18px}.bonus-history{display:grid;gap:1px}.bonus-history-row{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid var(--line)}.bonus-history-row>div{display:grid}.bonus-history-row small{color:var(--muted);font-size:10px}.bonus-history-row b{font-size:17px}.bonus-history-row b.plus{color:#a7d3b1}.bonus-history-row b.minus{color:#e0b0a0}.account-profile-form{display:grid;gap:11px}.account-login-identity{display:grid;grid-template-columns:auto 1fr;gap:4px 9px;padding:12px;border:1px solid var(--line);border-radius:10px}.account-login-identity span{color:var(--muted);font-size:11px}.account-login-identity small{grid-column:1/-1;color:var(--muted)}.account-marketing{display:flex;gap:9px;align-items:flex-start;color:var(--muted);font-size:11px}.account-marketing input{width:18px;min-height:18px;margin:0}.bonus-rule-simple{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.bonus-rule-simple+ .primary{margin-top:16px;width:100%}
.checkout-bonus-card{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--card) 76%,var(--bg))}.checkout-bonus-card:empty{display:none}.checkout-bonus-login{display:flex;justify-content:space-between;gap:14px;align-items:center}.checkout-bonus-login strong{display:block}.checkout-bonus-login p{margin:4px 0 0;color:var(--muted);font-size:11px}.checkout-bonus-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.checkout-bonus-head h3{margin-bottom:0}.checkout-bonus-balance{text-align:right}.checkout-bonus-balance strong{display:block;font-size:28px}.checkout-bonus-balance span{color:var(--muted);font-size:10px}.checkout-bonus-controls{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:14px}.checkout-bonus-controls .secondary{height:44px}.bonus-use-preview{margin-top:9px;font-size:12px;font-weight:800}.bonus-use-note{margin:5px 0 0;color:var(--muted);font-size:10px}.checkout-totals{margin-top:10px}.bonus-discount-row{color:#d9c18a}.success-actions{display:flex;gap:8px;flex-wrap:wrap}
.customer-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.loyalty-settings-card{display:grid;gap:10px}.bonus-rule-note{padding:12px;border:1px solid #35353b;border-radius:10px;background:#0e0e10;color:#aaa;font-size:11px}.loyalty-flow{display:grid;gap:8px;margin-top:12px}.loyalty-flow>div{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid #29292f;border-radius:9px}.loyalty-flow b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eee;color:#111}.order-bonus-summary{display:grid;gap:5px;margin-top:14px}.order-bonus-summary>div{display:flex;justify-content:space-between;gap:12px;color:#aaa;font-size:12px}.bonus-admin-used strong{color:#d9c18a}.bonus-admin-earned strong{color:#a8d7b2}
@media(max-width:1000px){.account-summary-grid{grid-template-columns:1fr 1fr}.account-grid{grid-template-columns:1fr}.account-side-col{grid-template-columns:1fr 1fr}.account-auth-wrap{grid-template-columns:1fr;min-height:auto}.customer-admin-grid{grid-template-columns:1fr}}
@media(max-width:720px){.account-head-label{display:none}.account-head{min-width:40px;padding:0 9px}.account-auth-benefits{grid-template-columns:1fr}.account-summary-grid{grid-template-columns:1fr 1fr}.account-bonus-hero{grid-column:1/-1}.account-side-col{grid-template-columns:1fr}.account-root{padding-top:32px}.phone-otp-wrap{grid-template-columns:1fr}.checkout-bonus-login{align-items:flex-start}.checkout-bonus-controls{grid-template-columns:1fr}.customer-admin-stats{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.account-summary-grid{grid-template-columns:1fr}.account-bonus-hero{grid-column:auto}.account-dashboard-head{align-items:flex-start}.account-order-head{display:grid}.account-auth-card{padding:18px}}


/* ===== V22 — visual builder, review media, clear account button ===== */

/* Clear account button */
.account-head{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap;padding:0 11px!important}
.account-head-icon{display:grid;place-items:center;width:20px;height:20px;font-size:0}
.account-head-icon svg{width:20px;height:20px;display:block}
.account-head-label{font-size:12px;font-weight:900}
.account-head-login{font-size:9px;color:var(--muted);margin-left:-2px}
.account-head-bonus{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:var(--accent);color:var(--button-text);font-size:9px;font-weight:950}
@media(max-width:720px){.account-head-bonus,.account-head-login{display:none}.account-head{padding:0 9px!important}.account-head-label{font-size:11px}}
@media(max-width:390px){.account-head{min-width:auto!important;padding:0 7px!important;gap:4px}.account-head-label{font-size:10px}.account-head-icon,.account-head-icon svg{width:18px;height:18px}}
@media(max-width:350px){.account-head-label{font-size:0}.account-head-label::after{content:"Каб.";font-size:9px}}

/* Review attachments */
.review-media-field>span{display:flex;align-items:center;gap:7px}.review-media-field>span small{font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0}
.review-media-input{padding:10px!important}
.review-media-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.review-upload-preview{position:relative;width:92px;height:92px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#0d0d0f}
.review-upload-preview img,.review-upload-preview video{width:100%;height:100%;object-fit:cover}
.review-upload-preview button{position:absolute;right:5px;top:5px;width:25px;height:25px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.72);color:#fff;font-size:17px}
.review-upload-kind{position:absolute;left:5px;bottom:5px;padding:3px 5px;border-radius:5px;background:rgba(0,0,0,.72);font-size:8px;font-weight:900;text-transform:uppercase}
.review-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}
.review-media-item{border:0;padding:0;border-radius:9px;overflow:hidden;background:#0b0b0c;aspect-ratio:1}
.review-media-item img,.review-media-item video{width:100%;height:100%;object-fit:cover;display:block}
.review-media-photo{cursor:zoom-in}
.review-media-video{grid-column:span 2;aspect-ratio:16/10}
.verified-review{display:inline-flex;align-items:center;margin-top:7px;padding:4px 7px;border-radius:999px;background:rgba(134,201,153,.12);border:1px solid rgba(134,201,153,.28);color:#a9d9b6;font-size:9px;font-weight:900;letter-spacing:.03em}
.review-media-viewer[hidden]{display:none}.review-media-viewer{position:fixed;inset:0;z-index:220;background:rgba(0,0,0,.92);display:grid;place-items:center;padding:42px}
.review-media-viewer img{max-width:min(1200px,100%);max-height:calc(100vh - 84px);object-fit:contain;border-radius:10px}
.review-media-viewer-close{position:fixed;right:18px;top:18px;width:44px;height:44px;border-radius:50%;border:1px solid #555;background:#111;color:#fff;font-size:28px}
body.review-media-open{overflow:hidden}
.review-admin-media{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.review-admin-media img,.review-admin-media video{width:110px;height:110px;object-fit:cover;border-radius:9px;border:1px solid #333;background:#080809}
.review-admin-media video{width:190px}
.admin-verified{margin-top:0;margin-left:6px;vertical-align:middle}
@media(max-width:620px){.review-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-media-video{grid-column:1/-1}.review-media-viewer{padding:16px}.review-media-viewer img{max-height:calc(100vh - 32px)}}

/* Builder visual previews */
.builder-visual-guide{margin:18px 0 24px;padding:16px;border:1px solid #34343a;border-radius:14px;background:#0d0d0f}
.builder-visual-guide-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:12px}.builder-visual-guide-head h3{margin-bottom:4px}.builder-preview-badge{padding:5px 8px;border:1px solid #3a3a40;border-radius:999px;color:#a9d9b6;font-size:9px;font-weight:950;letter-spacing:.12em}
.builder-appearance-preview{overflow:auto;padding:12px;border-radius:12px;background:#080809;border:1px solid #252529}
.builder-screen{width:min(100%,var(--mini-width,92px)*10);min-width:520px;margin:auto;background:#0b0b0d;border:1px solid #333;border-radius:12px;padding:9px;box-shadow:0 18px 45px rgba(0,0,0,.35)}
.builder-screen-top{height:34px;display:grid;grid-template-columns:auto 1fr 1fr auto;gap:7px;align-items:center;border-bottom:1px solid #25252a;margin-bottom:9px}.builder-screen-top>span:not(.mini-logo){height:5px;border-radius:9px;background:#26262b}.builder-screen-top b{font-size:8px;padding:5px 7px;border:1px solid #34343a;border-radius:999px}.mini-logo{width:22px;height:22px;border-radius:5px;background:#efefec;color:#111;display:grid;place-items:center;font-size:10px;font-weight:950}
.builder-screen-hero{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-height:150px}.builder-screen.media-left .builder-screen-hero>div:first-child{order:2}.builder-screen.media-left .builder-screen-photo{order:1}.builder-screen-hero>div:first-child{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px}.builder-screen-hero small{font-size:6px;letter-spacing:.15em;color:#888}.builder-screen-hero strong{font-size:18px;line-height:1;margin:7px 0;max-width:180px}.builder-screen-hero button{border:0;background:#eee;color:#111;border-radius:7px;font-size:7px;font-weight:900;padding:6px 9px}.builder-screen.button-square button{border-radius:1px}.builder-screen.button-pill button{border-radius:999px}.builder-screen-photo{min-height:150px;border-radius:9px;overflow:hidden;background:#151518;display:grid;place-items:center;color:#666;font-size:9px}.builder-screen-photo img{width:100%;height:100%;object-fit:cover}.builder-screen.size-compact .builder-screen-hero,.builder-screen.size-compact .builder-screen-photo{min-height:115px}.builder-screen.size-large .builder-screen-hero,.builder-screen.size-large .builder-screen-photo{min-height:190px}
.builder-screen-products{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.builder-screen-products>div{padding:5px;border:1px solid #25252a;border-radius:7px;background:#111113}.builder-screen-products img,.builder-screen-products>div>span{width:100%;aspect-ratio:4/3;border-radius:5px;background:#1b1b1f;object-fit:cover;display:grid;place-items:center;color:#555;font-size:7px}.builder-screen-products i,.builder-screen-products em{display:block;height:4px;border-radius:8px;background:#2a2a2e;margin-top:5px}.builder-screen-products em{width:45%}.builder-screen.with-shadow .builder-screen-products>div{box-shadow:0 7px 18px rgba(0,0,0,.55)}
.builder-block-preview{min-height:94px;margin-top:11px;border:1px solid #29292f;border-radius:10px;background:#09090b;overflow:hidden}
.builder-block-preview img{width:100%;height:100%;object-fit:cover;display:block}.builder-preview-placeholder{height:100%;min-height:72px;display:grid;place-items:center;background:linear-gradient(135deg,#17171a,#0e0e10);color:#444;font-size:10px;font-weight:950;letter-spacing:.12em}
.hero-preview,.about-preview,.custom-preview{display:grid;grid-template-columns:1.15fr .85fr}.builder-preview-copy{padding:12px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}.builder-preview-copy small{color:#777;font-size:7px;letter-spacing:.12em}.builder-preview-copy b{font-size:13px;line-height:1.1;margin:4px 0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.builder-preview-copy span{color:#777;font-size:8px;line-height:1.4}.builder-preview-copy i{font-style:normal;padding:4px 6px;border-radius:5px;background:#eee;color:#111;font-size:7px;font-weight:900}.builder-preview-image{min-height:94px;overflow:hidden}.builder-preview-image img{min-height:94px}
.gender-preview{display:grid;grid-template-columns:1fr 1fr;gap:1px}.gender-preview>div{position:relative;height:94px;overflow:hidden}.gender-preview span{position:absolute;z-index:2;left:8px;bottom:7px;padding:3px 5px;background:rgba(0,0,0,.72);border-radius:5px;font-size:8px;font-weight:900}.gender-preview img{filter:brightness(.72)}
.cards-preview,.products-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:7px}.cards-preview>div,.products-preview>div{position:relative;overflow:hidden;border-radius:7px;background:#151518;min-height:78px}.cards-preview img,.products-preview img{height:58px}.cards-preview span,.products-preview span{display:block;padding:4px;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reviews-preview{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px}.reviews-preview>div{padding:9px;border:1px solid #2b2b30;border-radius:7px;display:grid;gap:5px}.reviews-preview span{color:#e7d09b;font-size:8px}.reviews-preview b{font-size:8px}.info-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:9px}.info-preview>div{min-height:68px;border:1px solid #2b2b30;border-radius:7px;display:grid;place-items:center;align-content:center;gap:5px}.info-preview b{font-size:18px}.info-preview span{font-size:7px}
@media(max-width:700px){.builder-screen{min-width:440px}.builder-block-preview{min-height:82px}}

/* V23 — simpler account sign-in */
.google-login-btn{width:100%;min-height:52px;border:1px solid #d8d8d8;border-radius:var(--button-radius,10px);background:#fff;color:#111;font-weight:900;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer}.google-login-btn:hover{background:#f7f7f7}.google-login-btn:disabled{opacity:.65;cursor:wait}.google-login-mark{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font:900 17px/1 Arial,sans-serif;border:1px solid #d6d6d6;background:#fff}.auth-more{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.auth-more summary{cursor:pointer;color:var(--muted);font-size:12px;text-align:center;list-style:none}.auth-more summary::-webkit-details-marker{display:none}.auth-more summary::after{content:" +"}.auth-more[open] summary::after{content:" −"}.auth-more-body{display:grid;gap:12px;margin-top:14px}

/* V24 — simplified customer login: Google + phone only */
.account-auth-simple{min-height:640px;display:grid;place-items:center;padding:64px 0 90px}
.account-auth-card-simple{width:min(760px,100%);padding:56px 44px;border-radius:28px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.18);box-shadow:0 28px 70px rgba(0,0,0,.14)}
.account-auth-card-simple h1{margin:0 0 42px;text-align:center;font-size:clamp(34px,4vw,52px);line-height:1.15;letter-spacing:-.02em}
.account-auth-actions{display:grid;gap:18px}
.account-provider-btn{width:100%;min-height:76px;padding:0 24px;display:grid;grid-template-columns:42px 1fr 30px;align-items:center;gap:18px;border-radius:22px;border:1px solid rgba(255,255,255,.46);background:transparent;color:var(--text);font:inherit;font-size:20px;font-weight:800;text-align:left;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.account-provider-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.045)}
.account-provider-btn.google{background:#f6f6f6;color:#171717;border-color:#f6f6f6}
.account-provider-btn.google:hover{background:#fff}
.account-provider-btn:disabled{opacity:.65;cursor:wait;transform:none}
.account-provider-icon{width:42px;height:42px;display:grid;place-items:center;border-right:1px solid currentColor;padding-right:16px;box-sizing:content-box;opacity:.96}
.account-provider-icon svg{width:27px;height:27px;display:block}
.account-provider-btn.google .account-provider-icon{border-right-color:#cfcfcf}
.account-provider-label{padding-left:2px}
.account-provider-arrow{font-size:31px;font-weight:400;line-height:1;text-align:right}
.account-provider-status{margin-top:-14px;padding:0 4px;min-height:0}
.account-phone-panel{display:grid;gap:12px;margin-top:-4px;padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(0,0,0,.08)}
.account-phone-panel[hidden]{display:none}
.account-provider-btn.phone.active{background:rgba(255,255,255,.05)}
@media(max-width:720px){.account-auth-simple{min-height:560px;padding:44px 0 70px}.account-auth-card-simple{padding:38px 22px;border-radius:24px}.account-auth-card-simple h1{margin-bottom:32px;font-size:38px}.account-provider-btn{min-height:70px;padding:0 18px;grid-template-columns:34px 1fr 24px;gap:13px;border-radius:19px;font-size:16px}.account-provider-icon{width:34px;height:34px;padding-right:12px}.account-provider-icon svg{width:24px;height:24px}.account-provider-arrow{font-size:26px}.account-phone-panel{padding:16px}}
@media(max-width:420px){.account-auth-card-simple{padding:32px 16px}.account-auth-card-simple h1{font-size:32px}.account-provider-btn{font-size:14px;gap:10px;padding:0 14px}.account-provider-icon{padding-right:9px}.account-provider-label{white-space:normal}}
