:root { --ink:#15171a; --muted:#68707a; --line:#dfe4ea; --paper:#fff; --soft:#f5f7f9; --brand:#166d5b; --brand-dark:#0f4f43; --accent:#e5b94f; --danger:#b42318; --radius:8px; }
*{box-sizing:border-box} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--soft)} a{color:inherit;text-decoration:none}
.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(18px,4vw,54px);background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800}.brand-logo{display:block;width:auto;height:auto;max-width:200px;max-height:200px;object-fit:contain}.logo-preview{display:block;width:auto;height:auto;max-width:200px;max-height:200px;object-fit:contain;margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:7px;background:var(--brand);color:#fff;font-size:13px}.nav{display:flex;align-items:center;gap:14px;color:var(--muted);font-weight:650}.nav a:hover{color:var(--brand)}
.page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 56px}.footer{display:flex;justify-content:space-between;gap:16px;width:min(1180px,calc(100% - 32px));margin:0 auto;padding:20px 0 32px;color:var(--muted);border-top:1px solid var(--line)}
.hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:28px;min-height:360px;margin-bottom:34px}.hero h1{margin:0 0 16px;font-size:clamp(34px,5vw,64px);line-height:1.02;letter-spacing:0}.hero p{margin:0 0 22px;color:var(--muted);font-size:18px;line-height:1.6;max-width:680px}.hero-panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:0 22px 60px rgba(26,33,38,.08)}
.search-box{display:grid;grid-template-columns:minmax(0,560px) auto auto;justify-content:center;gap:10px;margin:-10px auto 34px}.search-box input{min-height:50px;font-size:16px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat{padding:16px;background:var(--soft);border-radius:var(--radius)}.stat b{display:block;font-size:24px}.stat span{color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.product-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:linear-gradient(135deg,#e9f2ef,#fff7df)}.card-body{padding:18px}.card h3{margin:0 0 8px;font-size:19px}.muted{color:var(--muted)}.price{font-size:22px;font-weight:850;margin:14px 0}
.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer}.button:hover,button:hover{background:var(--brand-dark)}.button.ghost{background:transparent;color:var(--brand)}.button.ghost:hover{background:#e9f2ef}.button.danger,button.danger{border-color:var(--danger);background:var(--danger)}.icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tabs a{padding:10px 12px;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-weight:750}.tabs a.active{border-color:var(--brand);color:var(--brand);background:#e9f2ef}
form{display:grid;gap:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}label{display:grid;gap:7px;font-weight:750;color:#273039}input,textarea,select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font:inherit;background:#fff}textarea{min-height:110px;resize:vertical}
table{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:var(--muted);font-size:13px;background:#f9fafb}tr:last-child td{border-bottom:0}.alert{padding:13px 16px;border-radius:var(--radius);margin-bottom:18px;background:#e9f7ef;color:#12633f;border:1px solid #bfe8ce}.alert.error{background:#fff0ed;color:var(--danger);border-color:#ffd0c6}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef2f6;color:#43505c;font-size:12px;font-weight:800}.badge.paid{background:#e9f7ef;color:#12633f}.badge.pending{background:#fff7df;color:#7a5b00}.checkout{display:grid;grid-template-columns:1fr 360px;gap:22px;align-items:start}.pix-box{padding:16px;background:#f9fafb;border:1px dashed #a9b4bf;border-radius:var(--radius);word-break:break-word}.actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.search-box{grid-template-columns:1fr}.topbar,.footer{flex-direction:column;align-items:flex-start}.nav{width:100%;overflow-x:auto}.hero,.checkout,.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}table{display:block;overflow-x:auto}}




html[data-theme="dark"] { --ink:#f3f6f8; --muted:#aeb8c2; --line:#2d3844; --paper:#121820; --soft:#0b1016; --brand:#35b394; --brand-dark:#24836d; --accent:#f1c75b; --danger:#ff6b5f; }
html[data-theme="dark"] .topbar { background:rgba(18,24,32,.94); }
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select { background:#0e141b; color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] th { background:#151d26; }
html[data-theme="dark"] .stat, html[data-theme="dark"] .pix-box { background:#0e141b; }
html[data-theme="dark"] .button.ghost { color:var(--brand); }
html[data-theme="dark"] .button.ghost:hover, html[data-theme="dark"] .tabs a.active { background:#10271f; }
html[data-theme="dark"] .badge { background:#202a35; color:#d8e0e8; }
html[data-theme="dark"] .badge.paid { background:#103124; color:#8df0c2; }
html[data-theme="dark"] .badge.pending { background:#332910; color:#ffd879; }
html[data-theme="dark"] .logo-preview { background:#0e141b; }
.theme-switch { display:inline-flex; align-items:center; gap:4px; padding:4px; border:1px solid var(--line); border-radius:999px; background:var(--paper); }
.theme-button { width:34px; height:34px; min-height:34px; padding:0; border-radius:999px; border:0; background:transparent; color:var(--muted); }
.theme-button:hover { background:var(--soft); color:var(--brand); }
html[data-theme="light"] .theme-button[data-theme-choice="light"], html[data-theme="dark"] .theme-button[data-theme-choice="dark"] { background:var(--brand); color:#fff; }
@media(max-width:760px){.theme-switch{order:5}.theme-button{width:38px;height:38px;min-height:38px}}

.site-header { position:sticky; top:0; z-index:10; background:rgba(255,255,255,.94); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.utility-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:8px clamp(18px,4vw,54px) 0; }
.utility-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.admin-link { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:13px; font-weight:800; }
.admin-link:hover { color:var(--brand); }
.site-header .topbar { position:static; padding-top:12px; background:transparent; border-bottom:0; backdrop-filter:none; }
.auth-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.how-to { margin-top:26px; display:grid; grid-template-columns:.8fr 1.2fr; gap:22px; align-items:start; }
.how-to h2 { margin:10px 0 0; }
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.how-grid div { padding:14px; border:1px solid var(--line); border-radius:var(--radius); background:var(--soft); }
.how-grid b, .how-grid span { display:block; }
.how-grid span { margin-top:6px; color:var(--muted); line-height:1.45; }
html[data-theme="dark"] .site-header { background:rgba(18,24,32,.94); }
html[data-theme="dark"] .how-grid div { background:#0e141b; }
@media(max-width:900px){
  .site-header .topbar { align-items:flex-start; }
  .nav { flex-wrap:wrap; }
  .auth-actions { width:100%; justify-content:flex-start; }
  .how-to, .how-grid { grid-template-columns:1fr; }
}
@media(max-width:760px){
  .utility-bar { padding:8px 16px 0; }
  .utility-actions { width:100%; justify-content:space-between; }
  .site-header .topbar { gap:14px; }
  .brand { width:100%; justify-content:flex-start; }
  .nav { gap:8px; }
  .nav a { padding:8px 10px; border:1px solid var(--line); border-radius:7px; }
  .auth-actions { display:grid; grid-template-columns:1fr; }
  .auth-actions .button { width:100%; }
}

.admin-topline { margin-bottom:12px; }
.admin-alerts { display:grid; grid-template-columns:1.4fr repeat(4, minmax(130px, 1fr)); gap:12px; margin-bottom:18px; }
.alert-head, .alert-tile { min-height:76px; padding:14px; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }
.alert-head { display:flex; align-items:center; gap:12px; }
.alert-head .icon { display:grid; place-items:center; width:42px; height:42px; border-radius:999px; background:#e9f2ef; color:var(--brand); }
.alert-head b, .alert-head span, .alert-tile strong, .alert-tile span { display:block; }
.alert-head span, .alert-tile span { margin-top:4px; color:var(--muted); font-size:13px; }
.alert-tile { color:inherit; }
.alert-tile strong { font-size:28px; line-height:1; }
.alert-tile.warning strong { color:#9a6b00; }
.alert-tile.success strong { color:#14804a; }
.alert-tile:hover { border-color:var(--brand); }
html[data-theme="dark"] .alert-head .icon { background:#10271f; }
html[data-theme="dark"] .alert-tile.warning strong { color:#ffd879; }
html[data-theme="dark"] .alert-tile.success strong { color:#8df0c2; }
@media(max-width:1000px){.admin-alerts{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-head{grid-column:1/-1}}
@media(max-width:620px){.admin-alerts{grid-template-columns:1fr}.alert-head,.alert-tile{min-height:auto}.alert-tile strong{font-size:24px}}

.settings-section { display:grid; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.settings-section:first-of-type { padding-top:0; }
.settings-section:last-of-type { border-bottom:0; }
.settings-section h2 { margin:8px 0 4px; }
.toggle-row { display:flex; gap:14px; flex-wrap:wrap; }
.toggle-row label { display:inline-flex; width:auto; }
.toggle-row span { display:inline-flex; align-items:center; gap:8px; font-weight:750; }
.toggle-row input { width:auto; min-height:0; }
@media(max-width:760px){.settings-section{padding:16px 0}.toggle-row{display:grid;grid-template-columns:1fr}}

.client-access-link { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-weight:400; line-height:1.35; }
.client-access-link:hover { color:var(--brand); }
.client-access-link .icon svg { width:17px; height:17px; }
@media(max-width:760px){.auth-actions{display:block}.client-access-link{padding:8px 0;width:auto}.auth-actions .client-access-link{width:auto}}

.theme-switch { gap:8px; padding:0; border:0; border-radius:0; background:transparent; }
.theme-button { width:22px; height:22px; min-height:22px; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted); box-shadow:none; }
.theme-button:hover { background:transparent; color:var(--brand); }
.theme-button .icon svg { width:16px; height:16px; }
html[data-theme="light"] .theme-button[data-theme-choice="light"], html[data-theme="dark"] .theme-button[data-theme-choice="dark"] { background:transparent; color:var(--brand); }
@media(max-width:760px){.theme-button{width:24px;height:24px;min-height:24px}.theme-button .icon svg{width:17px;height:17px}}

.top-auth-link { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-weight:400; line-height:1.35; border:0; background:transparent; padding:0; min-height:0; }
.top-auth-link:hover { color:var(--brand); background:transparent; }
.top-auth-link .icon svg { width:17px; height:17px; }
@media(max-width:760px){.auth-actions{display:flex;gap:12px;flex-wrap:wrap}.top-auth-link{padding:8px 0}}

.theme-switch { display:inline-flex; align-items:center; gap:10px; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.theme-button, html[data-theme="light"] .theme-button[data-theme-choice="light"], html[data-theme="dark"] .theme-button[data-theme-choice="dark"] { width:20px; height:20px; min-height:20px; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:var(--muted); box-shadow:none !important; }
.theme-button:hover, html[data-theme="light"] .theme-button[data-theme-choice="light"]:hover, html[data-theme="dark"] .theme-button[data-theme-choice="dark"]:hover { background:transparent !important; color:var(--brand); }
.theme-button .icon svg { width:16px; height:16px; }
@media(max-width:760px){.theme-switch{gap:10px}.theme-button,.theme-button[data-theme-choice]{width:22px;height:22px;min-height:22px}}

.site-header .topbar { display:grid; grid-template-columns:auto minmax(260px, 1fr) auto; align-items:center; gap:14px 22px; }
.top-search { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:10px; width:min(680px, 100%); justify-self:center; }
.top-search input { min-height:46px; font-size:15px; }
.top-search button { min-height:46px; white-space:nowrap; }
.site-header .nav { grid-column:1 / -1; justify-content:center; }
.site-header .auth-actions { justify-self:end; }
@media(max-width:900px){
  .site-header .topbar { grid-template-columns:1fr auto; }
  .top-search { grid-column:1 / -1; grid-row:2; width:100%; }
  .site-header .nav { grid-column:1 / -1; justify-content:flex-start; }
  .site-header .auth-actions { justify-self:end; width:auto; }
}
@media(max-width:620px){
  .site-header .topbar { grid-template-columns:1fr; }
  .site-header .auth-actions { justify-self:start; }
  .top-search { grid-template-columns:1fr; }
  .top-search button { width:100%; }
}

/* Admin Modelo 2 */
.admin-body { --brand:#4b5563; --brand-dark:#374151; --accent:#9ca3af; background:var(--soft); }
.admin-body .site-header, .admin-body .footer { display:none; }
.admin-shell { min-height:100vh; display:grid; grid-template-columns:250px minmax(0, 1fr); background:var(--soft); }
.admin-sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; gap:18px; padding:18px 14px; background:#eef1f4; color:#232a31; border-right:1px solid var(--line); overflow:auto; }
.admin-brand { display:flex; align-items:center; gap:10px; padding:0 8px 16px; border-bottom:1px solid #d4dbe2; font-weight:800; }
.admin-brand .brand-logo { max-width:170px; max-height:82px; background:transparent; border-radius:0; padding:0; object-fit:contain; }
.admin-brand .brand-mark { background:#232a31; color:#fff; flex:0 0 auto; }
.admin-menu { display:grid; gap:5px; }
.admin-menu a { display:flex; align-items:center; gap:10px; min-height:42px; padding:10px 11px; border-radius:7px; color:#4f5b66; font-weight:650; }
.admin-menu a:hover, .admin-menu a.active { background:#dde3e9; color:#111820; }
.admin-menu .icon svg { width:18px; height:18px; }
.admin-sidebar-foot { margin-top:auto; display:grid; gap:8px; padding-top:16px; border-top:1px solid #d4dbe2; }
.admin-sidebar-foot a { color:#4f5b66; padding:8px; }
.admin-workspace { min-width:0; display:grid; grid-template-rows:auto auto 1fr; }
.admin-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px clamp(18px,3vw,34px); background:var(--paper); border-bottom:1px solid var(--line); }
.admin-header h1 { margin:8px 0 0; font-size:26px; letter-spacing:0; }
.admin-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:14px; flex-wrap:wrap; }
.admin-content { padding:22px clamp(18px,3vw,34px) 42px; }
.admin-alerts.compact { grid-template-columns:1.3fr repeat(4, minmax(120px, 1fr)); padding:0 clamp(18px,3vw,34px); margin:18px 0 0; }
.visual-editor-grid { display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(300px, .75fr); gap:18px; align-items:start; }
.visual-editor-form { padding:0 22px 22px; }
.visual-section-title { display:grid; gap:6px; padding:20px 0 12px; }
.visual-section-title h2 { margin:0; letter-spacing:0; }
.settings-section h3 { margin:0; font-size:18px; letter-spacing:0; }
input[type="color"] { padding:5px; min-height:44px; }
.visual-preview { position:sticky; top:18px; }
.store-mini-preview { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--paper); }
.mini-top { display:grid; grid-template-columns:32px minmax(0, 1fr) auto; align-items:center; gap:8px; min-height:48px; padding:10px; border-bottom:1px solid var(--line); }
.mini-top span { width:28px; height:28px; border-radius:6px; background:var(--brand); }
.mini-top strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mini-top em { color:var(--brand); font-style:normal; font-size:12px; white-space:nowrap; }
.mini-search { margin:10px; padding:10px 12px; border:1px solid var(--line); border-radius:7px; color:var(--muted); font-size:13px; }
.mini-hero { display:grid; gap:10px; padding:16px; background:linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)); }
.mini-hero img { width:100%; aspect-ratio:16/8; object-fit:cover; border-radius:7px; }
.mini-hero h3 { margin:0; font-size:20px; letter-spacing:0; }
.mini-hero p { margin:0; color:var(--muted); line-height:1.45; }
.asset-preview { margin-top:14px; }
.hero-media { border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--paper); box-shadow:0 22px 60px rgba(26,33,38,.08); }
.hero-media img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
html[data-theme="dark"] .admin-sidebar { background:#171b20; color:#eef1f4; border-right-color:#2d343c; }
html[data-theme="dark"] .admin-brand { border-bottom-color:#2d343c; }
html[data-theme="dark"] .admin-brand .brand-mark { background:#eef1f4; color:#171b20; }
html[data-theme="dark"] .admin-menu a { color:#b7c0c8; }
html[data-theme="dark"] .admin-menu a:hover, html[data-theme="dark"] .admin-menu a.active { background:#252b32; color:#fff; }
html[data-theme="dark"] .admin-sidebar-foot { border-top-color:#2d343c; }
html[data-theme="dark"] .admin-sidebar-foot a { color:#b7c0c8; }
html[data-theme="dark"] .admin-brand .brand-logo { background:transparent; }
html[data-theme="dark"] .store-mini-preview { background:var(--paper); }
@media(max-width:1100px){.admin-shell{grid-template-columns:220px minmax(0,1fr)}.admin-alerts.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-alerts.compact .alert-head{grid-column:1/-1}.visual-editor-grid{grid-template-columns:1fr}.visual-preview{position:static}}
@media(max-width:760px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto}.admin-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-sidebar-foot{grid-template-columns:repeat(2,auto);justify-content:start}.admin-header{align-items:flex-start;flex-direction:column}.admin-header-actions{justify-content:flex-start}.admin-alerts.compact{grid-template-columns:1fr}.admin-content{padding:18px 16px 34px}.mini-top{grid-template-columns:28px minmax(0,1fr)}.mini-top em{grid-column:1/-1}}
@media(max-width:480px){.admin-menu{grid-template-columns:1fr}.visual-editor-form{padding:0 16px 18px}}



.admin-body .alert-head .icon { background:#e3e7eb; color:#374151; }
.admin-body .button.ghost:hover, .admin-body button:hover { background:#374151; color:#fff; }
.admin-body .button.ghost { color:#4b5563; border-color:#9aa3ad; }
html[data-theme="dark"] .admin-body { --brand:#4b5563; --brand-dark:#374151; --accent:#9ca3af; }
html[data-theme="dark"] .admin-body .alert-head .icon { background:#252b32; color:#d1d5db; }
html[data-theme="dark"] .admin-body .button.ghost { color:#d1d5db; border-color:#4b5563; }



/* Admin refinement */
.admin-page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.admin-page-head h2 { margin:0 0 6px; font-size:24px; letter-spacing:0; }
.admin-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.admin-two-columns { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:18px; align-items:start; }
.admin-panel-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.admin-panel-title h3 { margin:0; }
.admin-panel-title a { color:var(--brand); font-weight:650; }
.admin-table-wrap { width:100%; overflow:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }
.admin-table-wrap table, table.admin-table { border:0; border-radius:0; }
.admin-table th { white-space:nowrap; }
.admin-card-list, .admin-list, .admin-checklist { display:grid; gap:10px; }
.admin-card-list a, .admin-list a, .admin-checklist span, .admin-empty { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--line); border-radius:7px; background:var(--soft); color:var(--ink); }
.admin-list a { display:grid; align-items:start; gap:4px; }
.admin-list a span { color:var(--muted); }
.admin-empty { justify-content:center; color:var(--muted); min-height:90px; }
.admin-product-form { margin-bottom:18px; }
.visual-editor-grid.refined { grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); }
.visual-side-stack { display:grid; gap:18px; position:sticky; top:18px; }
.visual-side-stack .visual-preview { position:static; }
.editor-block { display:grid; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.editor-block:first-of-type { padding-top:0; }
.editor-block:last-of-type { border-bottom:0; }
.editor-block-title { display:flex; align-items:flex-start; gap:10px; }
.editor-block-title > .icon { display:grid; place-items:center; width:34px; height:34px; border-radius:7px; background:var(--soft); color:var(--brand); flex:0 0 auto; }
.editor-block-title h3 { margin:0 0 4px; font-size:18px; letter-spacing:0; }
.editor-block-title p { margin:0; }
.form-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.admin-form-actions { display:flex; justify-content:flex-end; padding-top:16px; }
.admin-sidebar-foot a { display:flex; align-items:center; gap:8px; }
html[data-theme="dark"] .admin-card-list a, html[data-theme="dark"] .admin-list a, html[data-theme="dark"] .admin-checklist span, html[data-theme="dark"] .admin-empty, html[data-theme="dark"] .editor-block-title > .icon { background:#0e141b; }
@media(max-width:1100px){.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-two-columns,.visual-editor-grid.refined{grid-template-columns:1fr}.visual-side-stack{position:static}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.admin-page-head{display:grid}.admin-kpi-grid,.form-grid.three{grid-template-columns:1fr}.admin-form-actions{justify-content:stretch}.admin-form-actions button{width:100%}}

/* Admin SaaS phase */
.admin-body { --admin-accent:#7568D8; --admin-accent-soft:#F0EEFF; --admin-bg:#F7F8FC; --admin-card:#FFFFFF; --admin-text:#303442; --admin-muted:#707586; --admin-border:#E9EAF0; --brand:#7568D8; --brand-dark:#6457c5; --accent:#AFA7ED; background:var(--admin-bg); color:var(--admin-text); }
.admin-shell { background:var(--admin-bg); }
.admin-sidebar { background:#F0F2F6; color:var(--admin-text); border-right-color:var(--admin-border); box-shadow:1px 0 0 rgba(48,52,66,.02); }
.admin-brand { min-height:74px; border-bottom-color:var(--admin-border); justify-content:center; }
.admin-menu { gap:6px; }
.admin-menu a { color:#555C6D; font-weight:500; border:1px solid transparent; }
.admin-menu a:hover, .admin-menu a.active { background:#FFFFFF; color:#303442; border-color:var(--admin-border); box-shadow:0 8px 24px rgba(48,52,66,.06); }
.admin-menu a.active .icon { color:var(--admin-accent); }
.admin-sidebar-foot { border-top-color:var(--admin-border); }
.admin-sidebar-foot a { color:#555C6D; font-weight:500; border-radius:7px; }
.admin-sidebar-foot a:hover { background:#fff; }
.admin-header { background:rgba(255,255,255,.92); backdrop-filter:blur(14px); border-bottom-color:var(--admin-border); position:sticky; top:0; z-index:8; }
.admin-header h1 { font-weight:500; color:var(--admin-text); }
.admin-header-actions { flex:1; }
.admin-global-search { width:min(360px, 100%); margin-left:auto; }
.admin-global-search input { min-height:40px; border-color:var(--admin-border); background:#F7F8FC; font-size:14px; }
.admin-new-product { white-space:nowrap; }
.admin-notify { position:relative; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:999px; color:#555C6D; background:#F7F8FC; border:1px solid var(--admin-border); }
.admin-notify span { position:absolute; top:-6px; right:-5px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:#E36D76; color:#fff; font-size:11px; line-height:18px; text-align:center; }
.admin-avatar { display:grid; place-items:center; width:36px; height:36px; border-radius:999px; background:#303442; color:#fff; font-weight:500; }
.admin-content .panel, .admin-alerts .alert-head, .admin-alerts .alert-tile { background:var(--admin-card); border-color:var(--admin-border); box-shadow:0 14px 38px rgba(48,52,66,.05); }
.admin-alerts.compact { gap:10px; }
.admin-alerts.compact .alert-tile strong { font-weight:500; color:var(--admin-text); }
.admin-alerts.compact .alert-tile:hover { border-color:#AFA7ED; }
.admin-alerts.compact .alert-head .icon { background:var(--admin-accent-soft); color:var(--admin-accent); }
.admin-page-head { padding:2px 0 4px; }
.admin-page-head h2 { color:var(--admin-text); font-weight:500; }
.admin-three-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:start; }
.admin-four-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.admin-feature-panel { display:grid; gap:12px; }
.admin-feature-panel h3, .admin-four-cards h3, .admin-card-list h3, .admin-checklist h3 { margin:0; font-weight:500; }
.coupon-preview { display:grid; gap:6px; padding:16px; border:1px dashed #AFA7ED; border-radius:8px; background:#F7F8FC; }
.coupon-preview strong { color:var(--admin-accent); font-size:22px; letter-spacing:0; }
.admin-banner-preview { display:block; width:100%; max-height:280px; object-fit:cover; border-radius:8px; border:1px solid var(--admin-border); }
.editor-block { border-bottom-color:var(--admin-border); }
.editor-block-title > .icon { background:var(--admin-accent-soft); color:var(--admin-accent); }
.admin-card-list a:hover, .admin-list a:hover { border-color:#AFA7ED; }
html[data-theme="dark"] .admin-body { --admin-accent:#AFA7ED; --admin-accent-soft:#25233A; --admin-bg:#101216; --admin-card:#171A21; --admin-text:#F1F3F7; --admin-muted:#A5ACB8; --admin-border:#2B303B; --brand:#AFA7ED; --brand-dark:#8D84DB; --accent:#7568D8; background:var(--admin-bg); color:var(--admin-text); }
html[data-theme="dark"] .admin-sidebar { background:#151820; color:var(--admin-text); border-right-color:var(--admin-border); }
html[data-theme="dark"] .admin-header { background:rgba(23,26,33,.92); border-bottom-color:var(--admin-border); }
html[data-theme="dark"] .admin-menu a { color:#B8BFCC; }
html[data-theme="dark"] .admin-menu a:hover, html[data-theme="dark"] .admin-menu a.active { background:#1D212B; color:#fff; border-color:var(--admin-border); }
html[data-theme="dark"] .admin-sidebar-foot a:hover, html[data-theme="dark"] .admin-global-search input, html[data-theme="dark"] .admin-notify { background:#1D212B; }
html[data-theme="dark"] .admin-avatar { background:#F1F3F7; color:#151820; }
html[data-theme="dark"] .coupon-preview { background:#101216; border-color:#4C456F; }
@media(max-width:1180px){.admin-header-actions{width:100%}.admin-global-search{order:10;width:100%;margin-left:0}.admin-new-product{margin-left:auto}.admin-three-columns,.admin-four-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-header{position:static}.admin-new-product{width:100%;margin-left:0}.admin-three-columns,.admin-four-cards{grid-template-columns:1fr}.admin-global-search{order:0}.admin-header-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center}.admin-header-actions .theme-switch,.admin-header-actions .top-auth-link:last-child{grid-column:auto}.admin-new-product,.admin-header-actions > .top-auth-link:first-of-type{grid-column:1/-1;justify-content:center}}

/* Store digital files redesign v1.0.22 */
body:not(.admin-body) { --brand:#8b5cf6; --brand-dark:#7547dd; --accent:#ff7aa8; --ink:#211c3d; --muted:#77708d; --line:#ece7f7; --paper:#fff; --soft:#fbf9ff; background:#fff; }
body:not(.admin-body) .site-header { position:static; background:#fff; border-bottom:0; box-shadow:none; }
body:not(.admin-body) .utility-bar { display:none; }
body:not(.admin-body) .site-header .topbar { width:min(1320px, calc(100% - 36px)); margin:0 auto; padding:18px 0 0; display:grid; grid-template-columns:auto minmax(280px,520px) auto; gap:18px 28px; align-items:center; }
body:not(.admin-body) .brand { gap:12px; color:#7c55dc; font-weight:800; }
body:not(.admin-body) .brand .brand-mark { width:48px; height:42px; border-radius:13px; background:#f4edff; color:#8b5cf6; border:2px solid #b58cf4; }
body:not(.admin-body) .brand-logo { max-width:200px; max-height:62px; }
body:not(.admin-body) .top-search { width:100%; display:grid; grid-template-columns:minmax(0,1fr) 54px; gap:0; box-shadow:0 8px 24px rgba(67,50,110,.08); border-radius:12px; overflow:hidden; }
body:not(.admin-body) .top-search input { min-height:46px; border:1px solid #ded7ee; border-right:0; border-radius:12px 0 0 12px; background:#fff; color:#31294d; font-size:14px; }
body:not(.admin-body) .top-search button { min-height:46px; width:54px; padding:0; border-radius:0 12px 12px 0; border-color:#8b5cf6; background:#8b5cf6; color:#fff; font-size:0; }
body:not(.admin-body) .top-search button .icon svg { width:21px; height:21px; }
body:not(.admin-body) .auth-actions { justify-self:end; display:flex; align-items:center; gap:18px; color:#211c3d; }
body:not(.admin-body) .client-access-link, body:not(.admin-body) .top-auth-link { color:#211c3d; font-size:13px; font-weight:600; }
body:not(.admin-body) .client-access-link .icon svg, body:not(.admin-body) .top-auth-link .icon svg { width:26px; height:26px; color:#211c3d; }
body:not(.admin-body) .site-header .nav { grid-column:1 / -1; justify-content:center; gap:0; padding:10px 0 0; }
body:not(.admin-body) .nav a { padding:12px 22px 16px; color:#16122a; font-size:13px; font-weight:700; border-bottom:3px solid transparent; }
body:not(.admin-body) .nav a:hover, body:not(.admin-body) .nav a:first-child { color:#8b5cf6; border-bottom-color:#a98bf0; }
body:not(.admin-body) .page { width:min(1320px, calc(100% - 36px)); padding:0 0 0; }
.store-hero { position:relative; overflow:hidden; min-height:250px; margin:0 0 18px; border-radius:24px; display:grid; grid-template-columns:.95fr 1.05fr; align-items:center; gap:20px; padding:34px clamp(26px,5vw,76px); background:linear-gradient(105deg,#f2e8ff 0%,#ffe8f1 48%,#ffdbe9 100%); box-shadow:0 18px 45px rgba(126,91,197,.12); }
.store-hero-copy { position:relative; z-index:2; display:grid; justify-items:start; gap:12px; }
.store-kicker { display:inline-flex; padding:8px 18px; border-radius:999px; background:rgba(255,255,255,.45); color:#9c76e7; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.store-hero h1 { margin:0; max-width:520px; color:#241d44; font-size:clamp(36px,4.8vw,58px); line-height:.95; letter-spacing:0; }
.store-hero h1::first-line { color:#241d44; }
.store-hero p { margin:0; max-width:440px; color:#5f5875; font-size:17px; line-height:1.45; }
.store-hero-button { min-height:46px; padding:0 24px; border-radius:999px; background:#8b5cf6; border-color:#8b5cf6; box-shadow:0 12px 24px rgba(139,92,246,.28); }
.store-hero-art { min-height:210px; position:relative; display:grid; place-items:center; }
.store-hero-art img { width:100%; max-height:270px; object-fit:contain; filter:drop-shadow(0 24px 35px rgba(66,48,80,.16)); }
.store-art-card { width:min(440px,90%); min-height:180px; border-radius:18px; background:rgba(255,255,255,.7); display:grid; place-items:center; padding:24px; text-align:center; box-shadow:0 18px 48px rgba(67,50,110,.16); transform:rotate(1deg); }
.store-art-card span { color:#ff7aa8; font-weight:700; }.store-art-card strong { font-size:34px; color:#8b5cf6; }.store-art-card em { color:#77708d; font-style:normal; }
.store-art-cloud { position:absolute; right:8%; top:8%; display:grid; place-items:center; width:78px; height:58px; border-radius:50%; background:#fff; color:#8b5cf6; box-shadow:0 14px 34px rgba(139,92,246,.16); }
.store-categories { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; margin:0 16px 16px; }
.store-categories a { display:grid; grid-template-columns:58px 1fr; grid-template-rows:auto auto; align-items:center; gap:2px 14px; min-height:78px; padding:14px 18px; border:1px solid #eee8f7; border-radius:18px; background:#fff; box-shadow:0 10px 28px rgba(67,50,110,.07); }
.store-categories span { grid-row:1/3; width:54px; height:54px; display:grid; place-items:center; border-radius:999px; background:linear-gradient(135deg,#efe4ff,#ffdce9); color:#8b5cf6; }
.store-categories b { color:#211c3d; font-size:16px; }.store-categories small { color:#77708d; }
.store-section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:18px 16px 12px; }
.store-section-title h2 { margin:0; color:#211c3d; font-size:22px; letter-spacing:0; }
.store-section-title a { color:#8b5cf6; font-weight:700; font-size:13px; }
.store-products { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; margin:0 16px; }
.store-product-card { overflow:hidden; border:1px solid #eee8f7; border-radius:14px; background:#fff; box-shadow:0 12px 28px rgba(67,50,110,.08); }
.store-product-image { position:relative; display:block; background:#f8f3ff; }
.store-product-image img, .store-product-image .product-img { display:block; width:100%; aspect-ratio:1.55/1; object-fit:cover; }
.product-ribbon { position:absolute; left:12px; top:10px; z-index:2; padding:5px 11px; border-radius:999px; background:#a78bfa; color:#fff; font-size:12px; font-weight:800; text-transform:uppercase; }
.product-ribbon.offer { background:#ff6fa0; }
.store-product-body { display:grid; gap:8px; padding:14px; }
.store-product-body h3 { margin:0; color:#211c3d; font-size:14px; line-height:1.25; letter-spacing:0; }
.store-product-body > span { color:#77708d; font-size:12px; min-height:16px; }
.store-product-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:4px; }
.store-product-bottom strong { color:#111; font-size:15px; }.store-product-bottom > div { display:flex; gap:8px; }
.icon-action { display:grid; place-items:center; width:32px; height:32px; border-radius:999px; border:1px solid #e9e1f6; color:#2b2541; background:#fff; }.icon-action.filled { background:#8b5cf6; color:#fff; border-color:#8b5cf6; }
.icon-action .icon svg { width:17px; height:17px; }
.store-steps { margin:22px 8px; padding:18px 28px; border-radius:22px; background:linear-gradient(90deg,#fff3cc,#fff7e6); }
.store-steps h2 { margin:0 0 12px; text-align:center; color:#211c3d; font-size:21px; letter-spacing:0; }
.store-steps > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.store-steps article { display:grid; grid-template-columns:34px 42px 1fr; align-items:center; gap:10px; }
.store-steps b { display:grid; place-items:center; width:28px; height:28px; border-radius:999px; background:#f2d8ff; color:#7c55dc; }.store-steps article > .icon { color:#8b5cf6; }.store-steps strong { display:block; color:#211c3d; }.store-steps span { color:#7b5c3a; font-size:12px; }
.store-collections { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:0 16px 22px; }
.collection-card { min-height:112px; overflow:hidden; position:relative; display:grid; grid-template-columns:1fr 130px; gap:12px; padding:18px; border-radius:16px; color:#211c3d; border:1px solid #eee8f7; }
.collection-card.pink{background:#ffe9f1}.collection-card.yellow{background:#fff0bf}.collection-card.purple{background:#eee6ff}.collection-card.rose{background:#ffe6ea}.collection-card h3{margin:0 0 6px;font-size:20px;letter-spacing:0}.collection-card p{margin:0 0 10px;color:#6f6680;font-size:13px}.collection-card span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#ff6fa0;color:#fff;font-size:12px;font-weight:800}.collection-card img{width:130px;height:92px;object-fit:cover;border-radius:12px;align-self:center}
.store-footer { margin-top:26px; padding:28px clamp(18px,5vw,90px) 12px; background:linear-gradient(180deg,#fbf7ff,#fff); border-top:1px solid #f0eaf8; color:#4b4564; }
.store-footer-grid { width:min(1320px,100%); margin:0 auto; display:grid; grid-template-columns:1.4fr repeat(3,.8fr) 1.35fr; gap:34px; }
.footer-brand { display:flex; align-items:center; gap:10px; color:#7c55dc; font-weight:800; }.footer-brand .brand-logo{max-width:150px;max-height:54px}.store-footer p{line-height:1.45;color:#77708d}.store-footer h3{margin:0 0 10px;color:#211c3d;font-size:14px}.store-footer a{display:block;margin:7px 0;color:#77708d;font-size:13px}.social-dots{display:flex;gap:10px}.social-dots span{width:28px;height:28px;border-radius:999px;border:1px solid #dcd3ec}.newsletter-form{display:grid;grid-template-columns:1fr 44px;gap:0}.newsletter-form input{border-radius:999px 0 0 999px;background:#fff}.newsletter-form button{border-radius:0 999px 999px 0;min-height:42px;padding:0}.pay-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pay-strip span{font-weight:800;color:#8b5cf6}.store-footer-bottom{text-align:center;color:#77708d;font-size:13px;margin-top:20px;padding-top:14px;border-top:1px solid #f0eaf8}
html[data-theme="dark"] body:not(.admin-body){background:#12101a;--paper:#1b1725;--soft:#15121f;--ink:#f5f0ff;--muted:#b5acc9;--line:#302942} html[data-theme="dark"] body:not(.admin-body) .site-header, html[data-theme="dark"] .store-product-card, html[data-theme="dark"] .store-categories a{background:#1b1725;border-color:#302942} html[data-theme="dark"] .store-footer{background:#15121f;border-color:#302942}.store-footer-grid{}
@media(max-width:1180px){.store-products{grid-template-columns:repeat(3,minmax(0,1fr))}.store-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.store-collections{grid-template-columns:repeat(2,minmax(0,1fr))}.store-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .site-header .topbar{grid-template-columns:1fr auto}.top-search{grid-column:1/-1;grid-row:2}.site-header .nav{overflow:auto;justify-content:flex-start}}
@media(max-width:720px){body:not(.admin-body) .site-header .topbar{width:min(100% - 28px,1320px);grid-template-columns:1fr}.auth-actions{justify-self:start}.store-hero{grid-template-columns:1fr;padding:28px 20px;border-radius:18px}.store-categories,.store-products,.store-collections{grid-template-columns:1fr;margin-left:0;margin-right:0}.store-section-title{margin-left:0;margin-right:0}.store-steps{margin-left:0;margin-right:0;padding:18px}.store-steps>div{grid-template-columns:1fr}.store-footer-grid{grid-template-columns:1fr}.collection-card{grid-template-columns:1fr}.collection-card img{width:100%;height:140px}.nav a{white-space:nowrap}}

/* Admin dashboard reference v1.0.24 */
.admin-body { --admin-purple:#7457dc; --admin-purple-dark:#6144c8; --admin-purple-soft:#f0eaff; --admin-pink:#ff6f9f; --admin-pink-soft:#ffe9f2; --admin-yellow-soft:#fff5de; --admin-green:#22a669; --admin-bg:#fbfbfe; --admin-card:#ffffff; --admin-text:#171633; --admin-muted:#6f6b8b; --admin-border:#ebe7f5; background:var(--admin-bg) !important; color:var(--admin-text); }
.admin-shell { grid-template-columns:300px minmax(0,1fr) !important; background:var(--admin-bg) !important; }
.admin-sidebar { background:#fff !important; border-right:1px solid var(--admin-border) !important; padding:22px 16px !important; gap:18px !important; box-shadow:none !important; }
.admin-brand { min-height:70px !important; justify-content:flex-start !important; border-bottom:1px solid var(--admin-border) !important; padding:0 20px 18px !important; }
.admin-brand .brand-logo { max-width:200px !important; max-height:70px !important; object-fit:contain !important; background:transparent !important; }
.admin-menu { gap:6px !important; }
.admin-menu a { min-height:46px !important; padding:12px 18px !important; border-radius:9px !important; color:#4d4a73 !important; font-size:15px !important; font-weight:500 !important; border:1px solid transparent !important; }
.admin-menu a .icon { color:#696399; }
.admin-menu a:hover, .admin-menu a.active { background:linear-gradient(90deg,#f3eaff,#f9f3ff) !important; color:var(--admin-purple) !important; border-color:#f0e8ff !important; box-shadow:none !important; }
.admin-menu a.active .icon, .admin-menu a:hover .icon { color:var(--admin-purple); }
.admin-menu-divider { display:block; height:1px; margin:8px 18px; background:var(--admin-border); }
.admin-delivery-card { margin-top:auto; display:grid; justify-items:center; gap:12px; padding:28px 18px; text-align:center; border-radius:18px; background:linear-gradient(145deg,#ffeaf3,#f1eaff); border:1px solid #f2d9ef; color:#30264f; }
.admin-cloud { display:grid; place-items:center; width:76px; height:56px; border-radius:999px; color:var(--admin-purple); background:linear-gradient(145deg,#8e62ea,#7351d8); box-shadow:0 14px 28px rgba(116,87,220,.22); }
.admin-cloud .icon svg { width:34px; height:34px; stroke:#fff; }
.admin-delivery-card strong { font-size:16px; font-weight:700; }
.admin-delivery-card p { margin:0; color:#5f5a7a; font-size:13px; line-height:1.45; }
.admin-delivery-card a { display:inline-flex; justify-content:center; min-width:132px; padding:10px 18px; border:1px solid #d9c8ef; border-radius:999px; color:var(--admin-purple); font-weight:700; background:rgba(255,255,255,.55); }
.admin-sidebar-foot { margin-top:0 !important; border-top:0 !important; padding-top:0 !important; }
.admin-sidebar-foot a { color:#68627e !important; justify-content:center; font-weight:500 !important; }
.admin-workspace { background:var(--admin-bg); }
.admin-header { position:sticky !important; top:0; z-index:10; display:grid !important; grid-template-columns:minmax(280px,1fr) auto !important; gap:20px !important; align-items:center !important; padding:22px 32px !important; background:rgba(255,255,255,.94) !important; backdrop-filter:blur(14px); border-bottom:1px solid var(--admin-border) !important; }
.admin-global-search { position:relative; width:100% !important; max-width:760px !important; margin:0 !important; }
.admin-global-search input { width:100%; min-height:52px !important; padding:0 56px 0 24px !important; border:1px solid #ddd7ee !important; border-radius:12px !important; background:#fff !important; color:#393452; font-size:15px; box-shadow:0 10px 26px rgba(51,38,95,.04); }
.admin-global-search button { position:absolute; right:8px; top:8px; display:grid; place-items:center; width:36px; height:36px; min-height:36px; padding:0; border:0; border-radius:10px; background:transparent; color:#7067a8; }
.admin-global-search button:hover { background:#f4efff; color:var(--admin-purple); }
.admin-header-actions { display:flex !important; align-items:center !important; justify-content:flex-end !important; gap:18px !important; flex-wrap:nowrap !important; }
.admin-new-product { min-height:52px !important; padding:0 28px !important; border-radius:12px !important; background:linear-gradient(135deg,var(--admin-purple),#8b5cf6) !important; border-color:transparent !important; color:#fff !important; font-weight:700 !important; box-shadow:0 14px 30px rgba(116,87,220,.24); }
.admin-view-store { min-height:52px !important; padding:0 24px !important; border-radius:12px !important; background:#fff !important; color:#4f4970 !important; border:1px solid #ded8ed !important; font-weight:600 !important; box-shadow:none !important; }
.admin-notify { width:42px !important; height:42px !important; border:0 !important; background:transparent !important; color:#585279 !important; }
.admin-notify span { top:-2px !important; right:-2px !important; background:#ff6f9f !important; color:#fff !important; }
.admin-profile { display:flex; align-items:center; gap:12px; min-width:170px; }
.admin-avatar { width:52px !important; height:52px !important; border-radius:999px !important; background:linear-gradient(135deg,#f7c6d6,#7c5ce1) !important; color:#fff !important; font-size:20px; font-weight:800 !important; }
.admin-profile strong { display:block; color:#171633; font-size:15px; font-weight:800; white-space:nowrap; }
.admin-profile span { display:block; color:#777294; font-size:13px; }
.admin-header .theme-switch { gap:6px !important; }
.admin-header .theme-button { width:18px !important; height:18px !important; min-height:18px !important; color:#80799b !important; }
.admin-alerts.compact { display:none !important; }
.admin-content { padding:0 32px 30px !important; }
.admin-dashboard-v2 { display:grid; gap:22px; }
.admin-dashboard-title { display:flex; justify-content:space-between; gap:18px; padding-top:4px; }
.admin-dashboard-title h2 { margin:0 0 6px; font-size:29px; line-height:1.15; color:#171633; letter-spacing:0; font-weight:800; }
.admin-dashboard-title p { margin:0; color:#6f6b8b; font-size:15px; }
.admin-metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.admin-metric-card { display:flex; align-items:center; gap:22px; min-height:118px; padding:24px; border:1px solid var(--admin-border); border-radius:16px; background:#fff; box-shadow:0 16px 36px rgba(41,31,84,.055); }
.admin-metric-card > span { display:grid; place-items:center; width:66px; height:66px; flex:0 0 auto; border-radius:999px; }
.admin-metric-card > span .icon svg { width:32px; height:32px; }
.admin-metric-card.pink > span { background:var(--admin-pink-soft); color:var(--admin-pink); }
.admin-metric-card.purple > span { background:var(--admin-purple-soft); color:var(--admin-purple); }
.admin-metric-card.yellow > span { background:var(--admin-yellow-soft); color:#e4a63d; }
.admin-metric-card.rose > span { background:#ffe5f0; color:#f75d94; }
.admin-metric-card small { display:block; color:#171633; font-size:15px; font-weight:700; }
.admin-metric-card strong { display:block; margin-top:5px; color:var(--admin-purple); font-size:30px; line-height:1; font-weight:800; }
.admin-metric-card em { display:block; margin-top:12px; color:var(--admin-green); font-size:12px; font-style:normal; }
.admin-main-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr); gap:22px; }
.admin-dashboard-v2 .panel { border:1px solid var(--admin-border) !important; border-radius:16px !important; background:#fff !important; box-shadow:0 16px 36px rgba(41,31,84,.055) !important; }
.admin-card-head { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:16px; }
.admin-card-head h3, .admin-quick-actions h3, .admin-system-status h3 { margin:0; color:#171633; font-size:18px; letter-spacing:0; font-weight:800; }
.admin-card-head a, .admin-card-head span { color:var(--admin-purple); font-size:13px; font-weight:700; }
.admin-sales-chart { width:100%; height:260px; overflow:visible; }
.admin-sales-chart .chart-grid path { stroke:#eeeaf7; stroke-width:1; }
.admin-sales-chart circle { fill:#fff; stroke:#8b5cf6; stroke-width:3; }
.admin-orders-card .admin-table-wrap.soft { border:0; border-radius:0; background:transparent; overflow:auto; }
.admin-orders-card table { min-width:560px; border:0; box-shadow:none; }
.admin-orders-card th { color:#45405f; font-size:12px; font-weight:800; }
.admin-orders-card td { color:#514b6b; font-size:13px; }
.status-pill { display:inline-flex; align-items:center; justify-content:center; min-width:72px; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:800; }
.status-pill.paid { background:#d9f7e6; color:#168553; }
.status-pill.pending { background:#fff0d7; color:#a76314; }
.status-pill.cancelled { background:#ffe2e6; color:#b92742; }
.admin-bottom-grid { display:grid; grid-template-columns:minmax(0,1.1fr) 280px 300px; gap:22px; align-items:stretch; }
.admin-product-rank { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.admin-rank-card { position:relative; display:grid; gap:7px; min-width:0; color:#171633; }
.admin-rank-card b { position:absolute; left:9px; top:8px; z-index:2; display:grid; place-items:center; width:28px; height:28px; border-radius:7px; background:var(--admin-purple); color:#fff; box-shadow:0 8px 18px rgba(116,87,220,.25); }
.admin-rank-card img, .admin-rank-placeholder { width:100%; aspect-ratio:1.35/1; border-radius:10px; object-fit:cover; background:#f4efff; }
.admin-rank-placeholder { display:grid; place-items:center; color:#8b5cf6; }
.admin-rank-card strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:800; }
.admin-rank-card small { color:#6f6b8b; font-size:12px; }
.admin-rank-card em { color:#ff5f92; font-style:normal; font-weight:800; font-size:13px; }
.admin-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.admin-quick-grid a { display:grid; place-items:center; gap:8px; min-height:94px; padding:14px; border-radius:12px; border:1px solid #f1e8f4; color:var(--admin-purple); background:#f8f3ff; text-align:center; font-weight:700; }
.admin-quick-grid a:nth-child(2) { color:#ff6f9f; background:#fff0f6; }
.admin-quick-grid a:nth-child(3) { color:#e09b25; background:#fff8e7; }
.admin-quick-grid a:nth-child(4) { color:#7d5ee4; background:#f4efff; }
.admin-quick-grid .icon svg { width:30px; height:30px; }
.admin-system-status dl { display:grid; gap:0; margin:16px 0; }
.admin-system-status dl div { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid #f0edf7; }
.admin-system-status dt { color:#6f6b8b; font-size:13px; }
.admin-system-status dd { margin:0; color:#171633; font-weight:800; }
.admin-system-status dd.ok { color:var(--admin-green); }
.admin-storage { display:grid; grid-template-columns:1fr auto; gap:8px; color:#6f6b8b; font-size:13px; }
.admin-storage i { grid-column:1/-1; height:8px; border-radius:999px; background:linear-gradient(90deg,var(--admin-purple) 28%,#ede8f6 28%); }
.admin-system-status small { display:block; margin-top:14px; color:#8b86a1; }
html[data-theme="dark"] .admin-body { --admin-bg:#101018; --admin-card:#191824; --admin-text:#f7f4ff; --admin-muted:#aaa2c6; --admin-border:#2e2943; background:var(--admin-bg) !important; }
html[data-theme="dark"] .admin-sidebar, html[data-theme="dark"] .admin-header, html[data-theme="dark"] .admin-dashboard-v2 .panel, html[data-theme="dark"] .admin-metric-card { background:var(--admin-card) !important; border-color:var(--admin-border) !important; }
html[data-theme="dark"] .admin-menu a { color:#c2badb !important; }
html[data-theme="dark"] .admin-menu a:hover, html[data-theme="dark"] .admin-menu a.active { background:#241f36 !important; color:#cdbdff !important; }
html[data-theme="dark"] .admin-global-search input, html[data-theme="dark"] .admin-view-store { background:#151420 !important; border-color:#342f48 !important; color:#f7f4ff !important; }
html[data-theme="dark"] .admin-dashboard-title h2, html[data-theme="dark"] .admin-card-head h3, html[data-theme="dark"] .admin-quick-actions h3, html[data-theme="dark"] .admin-system-status h3, html[data-theme="dark"] .admin-profile strong, html[data-theme="dark"] .admin-metric-card small { color:#f7f4ff; }
html[data-theme="dark"] .admin-dashboard-title p, html[data-theme="dark"] .admin-profile span, html[data-theme="dark"] .admin-system-status dt { color:#aaa2c6; }
@media(max-width:1280px){.admin-shell{grid-template-columns:260px minmax(0,1fr) !important}.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-main-grid,.admin-bottom-grid{grid-template-columns:1fr}.admin-product-rank{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-header{grid-template-columns:1fr !important}.admin-header-actions{justify-content:flex-start !important;flex-wrap:wrap !important}}
@media(max-width:820px){.admin-shell{grid-template-columns:1fr !important}.admin-sidebar{position:static !important;height:auto !important}.admin-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-delivery-card{display:none}.admin-content,.admin-header{padding-left:18px !important;padding-right:18px !important}.admin-metric-grid,.admin-product-rank{grid-template-columns:1fr 1fr}.admin-profile{min-width:0}.admin-profile div:last-child{display:none}.admin-new-product,.admin-view-store{width:100%;justify-content:center}.admin-header-actions{display:grid !important;grid-template-columns:1fr 1fr auto auto;width:100%}}
@media(max-width:560px){.admin-menu,.admin-metric-grid,.admin-product-rank,.admin-quick-grid{grid-template-columns:1fr}.admin-header-actions{grid-template-columns:1fr}.admin-notify,.admin-header .theme-switch{justify-self:start}.admin-sales-chart{height:200px}.admin-metric-card{padding:18px;min-height:98px}.admin-metric-card strong{font-size:24px}}


.category-admin-grid { display:grid; grid-template-columns:minmax(280px, .75fr) minmax(0, 1.25fr); gap:18px; align-items:start; }
.category-form-panel, .category-list-panel { display:grid; gap:14px; }
.category-form-panel h3, .category-list-panel h3 { margin:0; font-weight:500; }
.category-status-field { align-self:end; min-height:44px; display:flex; align-items:center; }
.category-actions { gap:10px; flex-wrap:wrap; }
@media(max-width:900px){.category-admin-grid{grid-template-columns:1fr}}
.admin-store-shortcut{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin:0 6px 12px;padding:10px 12px;border:1px solid var(--admin-border,#e5e7eb);border-radius:7px;background:#fff;color:var(--admin-text,#303442);font-weight:650}
.admin-store-shortcut:hover{border-color:var(--admin-accent,#7568d8);color:var(--admin-accent,#7568d8)}
html[data-theme="dark"] .admin-store-shortcut{background:#1d212b;color:#f1f3f7;border-color:var(--admin-border,#2b303b)}
.orders-admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.orders-admin-kpis article{display:grid;gap:6px}
.orders-admin-kpis span{color:var(--admin-muted,#707586);font-size:12px;font-weight:700;text-transform:uppercase}
.orders-admin-kpis strong{font-size:28px;font-weight:600}
.orders-admin-kpis small{color:var(--admin-muted,#707586)}
.orders-admin-table table{min-width:920px}
.orders-status-form{display:flex;gap:8px;align-items:center}
.orders-status-form select{min-width:132px}
@media(max-width:900px){.orders-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.orders-admin-kpis{grid-template-columns:1fr}.orders-status-form{display:grid}}
.customers-admin-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.customers-admin-kpis article{display:grid;gap:6px}
.customers-admin-kpis span{color:var(--admin-muted,#707586);font-size:12px;font-weight:700;text-transform:uppercase}
.customers-admin-kpis strong{font-size:28px;font-weight:600}
.customers-admin-kpis small{color:var(--admin-muted,#707586)}
.customers-admin-table table{min-width:920px}
@media(max-width:760px){.customers-admin-kpis{grid-template-columns:1fr}}
.coupons-admin-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.coupons-admin-kpis article,.coupons-admin-panel{display:grid;gap:8px}
.coupons-admin-kpis span{color:var(--admin-muted,#707586);font-size:12px;font-weight:700;text-transform:uppercase}
.coupons-admin-kpis strong{font-size:24px;font-weight:600}
.coupons-admin-kpis small,.coupon-preview-clean em{color:var(--admin-muted,#707586);font-style:normal}
.coupon-preview-clean{border-style:solid}
@media(max-width:760px){.coupons-admin-kpis{grid-template-columns:1fr}}
.offers-admin-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.offers-admin-kpis article,.offers-admin-card{display:grid;gap:8px}
.offers-admin-kpis span{color:var(--admin-muted,#707586);font-size:12px;font-weight:700;text-transform:uppercase}
.offers-admin-kpis strong,.offers-admin-card>strong{font-size:24px;font-weight:600}
.offers-admin-kpis small{color:var(--admin-muted,#707586)}
.offers-admin-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px}
.offers-admin-card ul{margin:0;padding-left:18px;color:var(--admin-muted,#707586);line-height:1.7}
@media(max-width:820px){.offers-admin-kpis,.offers-admin-grid{grid-template-columns:1fr}}
.news-admin-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.news-admin-kpis article,.news-admin-card{display:grid;gap:8px}
.news-admin-kpis span{color:var(--admin-muted,#707586);font-size:12px;font-weight:700;text-transform:uppercase}
.news-admin-kpis strong{font-size:24px;font-weight:600}
.news-admin-kpis small{color:var(--admin-muted,#707586)}
.news-admin-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px}
.news-admin-card ul{margin:0;padding-left:18px;color:var(--admin-muted,#707586);line-height:1.7}
@media(max-width:820px){.news-admin-kpis,.news-admin-grid{grid-template-columns:1fr}}
/* Admin top navigation repair v1.0.39 */
.admin-body {
  --admin-purple:#6d5dfc;
  --admin-green:#16a085;
  --admin-rose:#f25f8c;
  --admin-gold:#d79a28;
  --admin-bg:#f6f7fb;
  --admin-card:#ffffff;
  --admin-text:#17172f;
  --admin-muted:#6d7285;
  --admin-border:#e6e8f0;
  --brand:var(--admin-purple);
  --brand-dark:#5949df;
  background:var(--admin-bg) !important;
  color:var(--admin-text) !important;
}
.admin-shell {
  display:grid !important;
  grid-template-columns:1fr !important;
  min-height:100vh;
  background:var(--admin-bg) !important;
}
.admin-sidebar {
  position:sticky !important;
  top:0 !important;
  z-index:30 !important;
  height:auto !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:18px !important;
  padding:14px clamp(16px,3vw,34px) !important;
  overflow:visible !important;
  background:rgba(255,255,255,.96) !important;
  border:0 !important;
  border-bottom:1px solid var(--admin-border) !important;
  box-shadow:0 12px 32px rgba(34,35,58,.06) !important;
  backdrop-filter:blur(16px);
}
.admin-brand {
  min-height:48px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  padding:0 !important;
  border:0 !important;
  color:var(--admin-text) !important;
  font-weight:800 !important;
  white-space:nowrap;
}
.admin-brand .brand-logo {
  max-width:150px !important;
  max-height:46px !important;
}
.admin-brand .brand-mark {
  width:42px !important;
  height:42px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,var(--admin-purple),var(--admin-green)) !important;
}
.admin-menu {
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0;
  overflow-x:auto !important;
  scrollbar-width:none;
  padding:2px 4px !important;
}
.admin-menu::-webkit-scrollbar { display:none; }
.admin-menu-divider { display:none !important; }
.admin-menu a {
  flex:0 0 auto;
  min-height:40px !important;
  padding:9px 12px !important;
  border:1px solid transparent !important;
  border-radius:8px !important;
  color:#555b70 !important;
  background:transparent !important;
  font-size:14px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
.admin-menu a .icon { color:#858ba0 !important; }
.admin-menu a:hover,
.admin-menu a.active {
  color:var(--admin-purple) !important;
  border-color:#ddd8ff !important;
  background:#f3f1ff !important;
}
.admin-menu a:hover .icon,
.admin-menu a.active .icon { color:var(--admin-purple) !important; }
.admin-delivery-card { display:none !important; }
.admin-sidebar-foot {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.admin-sidebar-foot a {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  min-height:40px;
  padding:9px 12px !important;
  border:1px solid var(--admin-border);
  border-radius:8px;
  background:#fff;
  color:#5e6377 !important;
  font-weight:700 !important;
}
.admin-workspace {
  min-width:0;
  display:grid !important;
  grid-template-rows:auto auto 1fr !important;
  background:var(--admin-bg) !important;
}
.admin-header {
  position:static !important;
  display:block !important;
  padding:18px clamp(16px,3vw,34px) 0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
.admin-header-actions {
  display:grid !important;
  grid-template-columns:minmax(260px,1fr) auto auto auto auto !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  max-width:1400px;
  margin:0 auto;
}
.admin-global-search {
  position:relative;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.admin-global-search input {
  min-height:48px !important;
  padding:0 52px 0 18px !important;
  border:1px solid var(--admin-border) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--admin-text) !important;
  box-shadow:0 10px 24px rgba(33,35,55,.04) !important;
}
.admin-global-search button {
  position:absolute;
  right:7px;
  top:7px;
  width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#f1f3f7;
  color:#656b80;
}
.admin-global-search button:hover { background:#ece9ff; color:var(--admin-purple); }
.admin-new-product,
.admin-view-store {
  min-height:48px !important;
  border-radius:8px !important;
  white-space:nowrap;
}
.admin-new-product {
  background:linear-gradient(135deg,var(--admin-purple),#8778ff) !important;
  border-color:transparent !important;
  color:#fff !important;
  box-shadow:0 12px 24px rgba(109,93,252,.22) !important;
}
.admin-view-store {
  background:#fff !important;
  border-color:var(--admin-border) !important;
  color:#44495e !important;
}
.admin-notify {
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  width:48px !important;
  height:48px !important;
  border:1px solid var(--admin-border) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#555b70 !important;
}
.admin-notify span {
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:var(--admin-rose);
  color:#fff;
  font-size:11px;
  line-height:20px;
  text-align:center;
  font-weight:800;
}
.admin-profile {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
}
.admin-avatar {
  width:48px !important;
  height:48px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,var(--admin-green),var(--admin-purple)) !important;
}
.admin-profile strong { color:var(--admin-text) !important; }
.admin-profile span { color:var(--admin-muted) !important; }
.admin-alerts.compact {
  display:grid !important;
  grid-template-columns:1.2fr repeat(4,minmax(120px,1fr)) !important;
  gap:12px !important;
  width:min(1400px, calc(100% - 32px));
  margin:16px auto 0 !important;
  padding:0 !important;
}
.admin-content {
  width:min(1400px, calc(100% - 32px));
  margin:0 auto;
  padding:22px 0 42px !important;
}
.admin-content .panel,
.admin-table-wrap,
.admin-metric-card,
.alert-head,
.alert-tile {
  border-color:var(--admin-border) !important;
  border-radius:8px !important;
  background:var(--admin-card) !important;
  box-shadow:0 14px 34px rgba(33,35,55,.055) !important;
}
.admin-content .panel { padding:22px !important; }
.admin-page-head {
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin:2px 0 18px !important;
}
.admin-page-head h2,
.admin-dashboard-title h2 {
  color:var(--admin-text) !important;
  font-size:clamp(24px,2.4vw,32px) !important;
  font-weight:850 !important;
}
.admin-page-head p,
.admin-dashboard-title p,
.muted { color:var(--admin-muted) !important; }
.admin-table-wrap { overflow:auto; }
.admin-table,
.admin-table-wrap table,
.admin-content > table {
  width:100%;
  min-width:760px;
  border:0 !important;
  border-collapse:collapse;
}
.admin-content > table {
  display:table;
  border:1px solid var(--admin-border) !important;
  border-radius:8px !important;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(33,35,55,.055);
}
th { background:#f7f8fb !important; color:#555b70 !important; font-weight:800 !important; }
td { color:#2f3347; }
input, textarea, select {
  border-color:var(--admin-border) !important;
  border-radius:8px !important;
}
input:focus, textarea:focus, select:focus {
  outline:2px solid rgba(109,93,252,.16);
  border-color:#b9b1ff !important;
}
.admin-kpi-grid,
.orders-admin-kpis,
.customers-admin-kpis,
.coupons-admin-kpis,
.offers-admin-kpis,
.news-admin-kpis { gap:14px !important; }
.admin-kpi-grid .stat,
.orders-admin-kpis article,
.customers-admin-kpis article,
.coupons-admin-kpis article,
.offers-admin-kpis article,
.news-admin-kpis article {
  min-height:116px;
  align-content:center;
}
.admin-kpi-grid .stat b,
.orders-admin-kpis strong,
.customers-admin-kpis strong,
.coupons-admin-kpis strong,
.offers-admin-kpis strong,
.news-admin-kpis strong { color:var(--admin-purple); }
.admin-four-cards .panel,
.admin-three-columns .panel { display:grid; gap:8px; align-content:start; min-height:140px; }
.admin-feature-panel { display:grid; gap:16px; }
.admin-empty { border-radius:8px !important; background:#f8f9fc !important; }
.visual-editor-grid,
.category-admin-grid,
.admin-two-columns,
.offers-admin-grid,
.news-admin-grid { gap:18px !important; }
html[data-theme="dark"] .admin-body {
  --admin-bg:#101218;
  --admin-card:#171a22;
  --admin-text:#f5f7fb;
  --admin-muted:#aeb5c5;
  --admin-border:#2b303b;
}
html[data-theme="dark"] .admin-sidebar,
html[data-theme="dark"] .admin-sidebar-foot a,
html[data-theme="dark"] .admin-global-search input,
html[data-theme="dark"] .admin-view-store,
html[data-theme="dark"] .admin-notify,
html[data-theme="dark"] .admin-content .panel,
html[data-theme="dark"] .admin-table-wrap,
html[data-theme="dark"] .alert-head,
html[data-theme="dark"] .alert-tile {
  background:var(--admin-card) !important;
  border-color:var(--admin-border) !important;
  color:var(--admin-text) !important;
}
html[data-theme="dark"] th { background:#1e222c !important; color:#d8deea !important; }
html[data-theme="dark"] td { color:#eef1f7; }
html[data-theme="dark"] .admin-menu a { color:#c3cad8 !important; }
html[data-theme="dark"] .admin-menu a:hover,
html[data-theme="dark"] .admin-menu a.active { background:#242135 !important; border-color:#38304f !important; color:#bdb4ff !important; }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background:#11141b !important; color:#f5f7fb !important; }
@media(max-width:1180px){
  .admin-sidebar { grid-template-columns:1fr auto !important; }
  .admin-menu { grid-column:1/-1; order:3; }
  .admin-header-actions { grid-template-columns:1fr 1fr auto auto !important; }
  .admin-global-search { grid-column:1/-1; }
  .admin-alerts.compact { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .admin-alerts.compact .alert-head { grid-column:1/-1; }
}
@media(max-width:720px){
  .admin-sidebar { position:static !important; grid-template-columns:1fr !important; align-items:start !important; }
  .admin-brand { white-space:normal; }
  .admin-menu { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; width:100%; overflow:visible !important; }
  .admin-menu a { min-width:0; }
  .admin-header-actions { grid-template-columns:1fr !important; }
  .admin-new-product,
  .admin-view-store,
  .admin-notify { width:100% !important; }
  .admin-notify { display:flex !important; }
  .admin-profile div:last-child { display:block !important; }
  .admin-alerts.compact { grid-template-columns:1fr !important; width:min(100% - 28px, 1400px); }
  .admin-content { width:min(100% - 28px, 1400px); }
  .admin-page-head { display:grid !important; align-items:start !important; }
  .form-grid,
  .form-grid.three,
  .admin-kpi-grid,
  .orders-admin-kpis,
  .customers-admin-kpis,
  .coupons-admin-kpis,
  .offers-admin-kpis,
  .news-admin-kpis { grid-template-columns:1fr !important; }
}
@media(max-width:460px){
  .admin-menu { grid-template-columns:1fr !important; }
}

/* Admin left menu repair v1.0.40 */
.admin-shell {
  display:grid !important;
  grid-template-columns:280px minmax(0,1fr) !important;
  min-height:100vh !important;
  background:var(--admin-bg) !important;
}
.admin-sidebar {
  position:sticky !important;
  top:0 !important;
  z-index:20 !important;
  height:100vh !important;
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:18px !important;
  padding:22px 16px !important;
  overflow:auto !important;
  background:var(--admin-card) !important;
  border:0 !important;
  border-right:1px solid var(--admin-border) !important;
  box-shadow:8px 0 30px rgba(25,28,45,.035) !important;
  backdrop-filter:none !important;
}
.admin-brand {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  min-height:58px !important;
  padding:0 10px 18px !important;
  border:0 !important;
  border-bottom:1px solid var(--admin-border) !important;
  color:var(--admin-text) !important;
  font-weight:850 !important;
  white-space:normal !important;
}
.admin-brand > span:last-child {
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.2;
}
.admin-brand .brand-logo {
  max-width:170px !important;
  max-height:58px !important;
  object-fit:contain !important;
}
.admin-brand .brand-mark {
  flex:0 0 auto;
  width:42px !important;
  height:42px !important;
  border-radius:8px !important;
}
.admin-menu {
  display:grid !important;
  grid-template-columns:1fr !important;
  align-items:stretch !important;
  gap:7px !important;
  width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
  padding:0 !important;
  scrollbar-width:auto !important;
}
.admin-menu-divider {
  display:block !important;
  height:1px !important;
  margin:8px 10px !important;
  background:var(--admin-border) !important;
}
.admin-menu a {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  width:100% !important;
  min-height:44px !important;
  padding:11px 13px !important;
  border:1px solid transparent !important;
  border-radius:8px !important;
  color:#555b70 !important;
  background:transparent !important;
  font-size:14px !important;
  font-weight:750 !important;
  box-shadow:none !important;
}
.admin-menu a .icon {
  display:grid !important;
  place-items:center !important;
  width:24px !important;
  color:#858ba0 !important;
  flex:0 0 auto !important;
}
.admin-menu a:hover,
.admin-menu a.active {
  color:var(--admin-purple) !important;
  border-color:#ddd8ff !important;
  background:#f3f1ff !important;
}
.admin-menu a:hover .icon,
.admin-menu a.active .icon { color:var(--admin-purple) !important; }
.admin-delivery-card { display:none !important; }
.admin-sidebar-foot {
  margin-top:auto !important;
  padding-top:14px !important;
  border-top:1px solid var(--admin-border) !important;
}
.admin-sidebar-foot a {
  width:100% !important;
  justify-content:flex-start !important;
  min-height:42px !important;
  border:0 !important;
  background:transparent !important;
  color:#63687a !important;
}
.admin-sidebar-foot a:hover {
  background:#f3f1ff !important;
  color:var(--admin-purple) !important;
}
.admin-workspace {
  min-width:0 !important;
  display:grid !important;
  grid-template-rows:auto auto 1fr !important;
}
.admin-header {
  position:sticky !important;
  top:0 !important;
  z-index:15 !important;
  display:block !important;
  padding:14px clamp(18px,3vw,34px) !important;
  background:rgba(246,247,251,.92) !important;
  border:0 !important;
  border-bottom:1px solid var(--admin-border) !important;
  box-shadow:none !important;
  backdrop-filter:blur(14px) !important;
}
.admin-header-actions {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  width:100% !important;
  max-width:1400px !important;
  margin:0 auto !important;
}
.admin-global-search,
.admin-new-product,
.admin-profile { display:none !important; }
.admin-notify {
  flex:0 0 auto !important;
  width:44px !important;
  height:44px !important;
  border-radius:8px !important;
}
.admin-view-store {
  flex:0 0 auto !important;
  min-height:44px !important;
  padding:0 16px !important;
  border-radius:8px !important;
}
.admin-header .theme-switch {
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:44px !important;
  padding:0 10px !important;
  border:1px solid var(--admin-border) !important;
  border-radius:8px !important;
  background:#fff !important;
}
.admin-header .theme-button,
html[data-theme="light"] .admin-header .theme-button[data-theme-choice="light"],
html[data-theme="dark"] .admin-header .theme-button[data-theme-choice="dark"] {
  width:28px !important;
  height:28px !important;
  min-height:28px !important;
  border-radius:7px !important;
  color:#6f7486 !important;
  background:transparent !important;
}
html[data-theme="light"] .admin-header .theme-button[data-theme-choice="light"],
html[data-theme="dark"] .admin-header .theme-button[data-theme-choice="dark"] {
  background:#f3f1ff !important;
  color:var(--admin-purple) !important;
}
.admin-alerts.compact,
.admin-content {
  width:min(1400px, calc(100% - 36px)) !important;
}
html[data-theme="dark"] .admin-header {
  background:rgba(16,18,24,.92) !important;
  border-bottom-color:var(--admin-border) !important;
}
html[data-theme="dark"] .admin-sidebar,
html[data-theme="dark"] .admin-header .theme-switch {
  background:var(--admin-card) !important;
  border-color:var(--admin-border) !important;
}
html[data-theme="dark"] .admin-sidebar-foot a:hover,
html[data-theme="dark"] .admin-menu a:hover,
html[data-theme="dark"] .admin-menu a.active {
  background:#242135 !important;
  border-color:#38304f !important;
  color:#bdb4ff !important;
}
@media(max-width:980px){
  .admin-shell { grid-template-columns:1fr !important; }
  .admin-sidebar {
    position:static !important;
    height:auto !important;
    min-height:0 !important;
    border-right:0 !important;
    border-bottom:1px solid var(--admin-border) !important;
  }
  .admin-menu { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .admin-sidebar-foot { margin-top:0 !important; }
  .admin-header { position:static !important; }
}
@media(max-width:560px){
  .admin-menu { grid-template-columns:1fr !important; }
  .admin-header-actions { justify-content:stretch !important; display:grid !important; grid-template-columns:auto 1fr auto !important; }
  .admin-view-store { width:100% !important; }
  .admin-header .theme-switch { justify-content:center !important; }
}

/* Admin updates visibility v1.0.41 */
.admin-menu a.admin-update-link {
  margin:2px 0 8px !important;
  color:#ffffff !important;
  background:linear-gradient(135deg,var(--admin-purple),#16a085) !important;
  border-color:transparent !important;
  box-shadow:0 12px 24px rgba(109,93,252,.18) !important;
}
.admin-menu a.admin-update-link .icon { color:#ffffff !important; }
.admin-menu a.admin-update-link:hover,
.admin-menu a.admin-update-link.active {
  color:#ffffff !important;
  background:linear-gradient(135deg,#5949df,#12846f) !important;
  border-color:transparent !important;
}
.admin-menu a.admin-update-link:hover .icon,
.admin-menu a.admin-update-link.active .icon { color:#ffffff !important; }
html[data-theme="dark"] .admin-menu a.admin-update-link,
html[data-theme="dark"] .admin-menu a.admin-update-link:hover,
html[data-theme="dark"] .admin-menu a.admin-update-link.active {
  color:#ffffff !important;
  background:linear-gradient(135deg,#7b6dff,#18a989) !important;
}

/* Admin header order from reference v1.0.41 */
.admin-header {
  padding:14px clamp(14px,2.4vw,28px) !important;
  background:#070b12 !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}
.admin-header-actions {
  display:grid !important;
  grid-template-columns:180px minmax(260px,1fr) 260px auto minmax(270px,.62fr) 132px !important;
  align-items:center !important;
  justify-content:stretch !important;
  gap:12px !important;
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
}
.admin-global-search,
.admin-new-product,
.admin-profile {
  display:flex !important;
}
.admin-view-store,
.admin-new-product,
.admin-logout {
  min-height:58px !important;
  border-radius:8px !important;
  font-size:16px !important;
  font-weight:850 !important;
}
.admin-view-store,
.admin-logout {
  background:#080d14 !important;
  border:1px solid rgba(255,255,255,.06) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}
.admin-view-store:hover,
.admin-logout:hover {
  background:#111824 !important;
  color:#ffffff !important;
}
.admin-global-search {
  position:relative !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.admin-global-search input {
  width:100% !important;
  min-height:58px !important;
  padding:0 68px 0 22px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:8px !important;
  background:#080d14 !important;
  color:#ffffff !important;
  font-size:17px !important;
  box-shadow:none !important;
}
.admin-global-search input::placeholder { color:#7b8597 !important; opacity:1; }
.admin-global-search button {
  position:absolute !important;
  right:10px !important;
  top:9px !important;
  width:40px !important;
  height:40px !important;
  min-height:40px !important;
  border-radius:8px !important;
  background:#e9f0ff !important;
  color:#43526b !important;
}
.admin-new-product {
  justify-content:center !important;
  padding:0 24px !important;
  background:linear-gradient(135deg,#4d5bff,#6b50ff) !important;
  border:1px solid rgba(255,255,255,.1) !important;
  color:#ffffff !important;
  box-shadow:0 14px 30px rgba(77,91,255,.24) !important;
}
.admin-top-utilities {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  align-self:start !important;
  min-width:112px !important;
}
.admin-top-utilities .theme-switch {
  display:flex !important;
  align-items:center !important;
  gap:4px !important;
  min-height:30px !important;
  padding:0 4px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#02050a !important;
}
.admin-top-utilities .theme-button,
html[data-theme="light"] .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] .admin-top-utilities .theme-button[data-theme-choice="dark"] {
  width:28px !important;
  height:28px !important;
  min-height:28px !important;
  border-radius:0 !important;
  color:#5964ff !important;
  background:#050914 !important;
}
html[data-theme="dark"] .admin-top-utilities .theme-button[data-theme-choice="dark"],
html[data-theme="light"] .admin-top-utilities .theme-button[data-theme-choice="light"] {
  color:#d8dcff !important;
}
.admin-top-utilities .admin-notify {
  width:44px !important;
  height:30px !important;
  border-radius:5px !important;
  border:0 !important;
  background:#f326d7 !important;
  color:#ffffff !important;
}
.admin-top-utilities .admin-notify span {
  top:-7px !important;
  right:-7px !important;
  background:#ffffff !important;
  color:#d20ebc !important;
}
.admin-profile {
  min-width:0 !important;
  min-height:58px !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 18px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:8px !important;
  background:#080d14 !important;
}
.admin-avatar {
  width:58px !important;
  height:58px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,#13cfa4,#475cff) !important;
  color:#ffffff !important;
  font-size:24px !important;
}
.admin-profile strong {
  display:block !important;
  color:#ffffff !important;
  font-size:16px !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.admin-profile span {
  display:block !important;
  color:#b6c3ff !important;
  font-size:14px !important;
}
.admin-logout {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 18px !important;
}
.admin-sidebar-foot { display:none !important; }
@media(max-width:1280px){
  .admin-header-actions { grid-template-columns:160px minmax(240px,1fr) 220px auto 210px 112px !important; gap:10px !important; }
  .admin-view-store,
  .admin-new-product,
  .admin-logout { font-size:14px !important; }
  .admin-profile strong { font-size:14px !important; }
}
@media(max-width:980px){
  .admin-header { background:#070b12 !important; }
  .admin-header-actions { grid-template-columns:1fr 1fr !important; }
  .admin-global-search,
  .admin-profile { grid-column:1/-1; }
  .admin-top-utilities { justify-content:flex-start !important; align-self:center !important; }
}
@media(max-width:560px){
  .admin-header-actions { grid-template-columns:1fr !important; }
  .admin-view-store,
  .admin-new-product,
  .admin-logout,
  .admin-profile { width:100% !important; }
  .admin-top-utilities { justify-content:center !important; }
  .admin-profile strong { white-space:normal !important; }
}

/* Admin header final order force v1.0.42 */
body.admin-body .admin-header {
  padding:12px clamp(12px,2vw,24px) !important;
  background:#050910 !important;
}
body.admin-body .admin-header-actions {
  display:grid !important;
  grid-template-columns:180px minmax(330px,1fr) 260px 112px minmax(310px,.65fr) 132px !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  max-width:none !important;
}
body.admin-body .admin-header-actions > .admin-view-store { grid-column:1 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-global-search { grid-column:2 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-new-product { grid-column:3 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-top-utilities { grid-column:4 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-profile { grid-column:5 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-logout { grid-column:6 !important; grid-row:1 !important; }
body.admin-body .admin-header-actions > .admin-global-search,
body.admin-body .admin-header-actions > .admin-new-product,
body.admin-body .admin-header-actions > .admin-profile,
body.admin-body .admin-header-actions > .admin-logout,
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-top-utilities {
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}
body.admin-body .admin-header-actions > .admin-global-search {
  position:relative !important;
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
}
body.admin-body .admin-header-actions > .admin-global-search input {
  min-height:60px !important;
  width:100% !important;
  padding:0 70px 0 24px !important;
  border-radius:4px !important;
  background:#070c13 !important;
  border:1px solid #101823 !important;
  color:#ffffff !important;
  font-size:18px !important;
}
body.admin-body .admin-header-actions > .admin-global-search button {
  position:absolute !important;
  right:10px !important;
  top:10px !important;
  display:grid !important;
  place-items:center !important;
  width:40px !important;
  height:40px !important;
  min-height:40px !important;
  padding:0 !important;
  border-radius:8px !important;
  background:#eef4ff !important;
  color:#41516d !important;
}
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-new-product,
body.admin-body .admin-header-actions > .admin-logout {
  min-height:60px !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:4px !important;
  font-size:17px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-logout {
  background:#070c13 !important;
  color:#ffffff !important;
  border:1px solid #101823 !important;
}
body.admin-body .admin-header-actions > .admin-new-product {
  background:linear-gradient(135deg,#4052ff,#6650ff) !important;
  color:#ffffff !important;
  border:1px solid #2734ce !important;
  box-shadow:0 14px 28px rgba(64,82,255,.28) !important;
}
body.admin-body .admin-header-actions > .admin-top-utilities {
  align-self:start !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:4px !important;
  min-width:112px !important;
}
body.admin-body .admin-top-utilities .theme-switch {
  display:flex !important;
  min-height:28px !important;
  gap:3px !important;
  padding:0 !important;
  background:#02050a !important;
  border:0 !important;
  border-radius:0 !important;
}
body.admin-body .admin-top-utilities .theme-button,
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"] {
  width:28px !important;
  height:28px !important;
  min-height:28px !important;
  border-radius:0 !important;
  color:#5964ff !important;
  background:#02050a !important;
}
body.admin-body .admin-top-utilities .admin-notify {
  display:grid !important;
  place-items:center !important;
  width:42px !important;
  height:30px !important;
  min-height:30px !important;
  border:0 !important;
  border-radius:4px !important;
  background:#f326d7 !important;
  color:#ffffff !important;
}
body.admin-body .admin-header-actions > .admin-profile {
  min-height:60px !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 18px !important;
  overflow:hidden !important;
  border-radius:4px !important;
  background:#070c13 !important;
  border:1px solid #101823 !important;
}
body.admin-body .admin-header-actions > .admin-profile .admin-avatar {
  width:58px !important;
  height:58px !important;
  flex:0 0 58px !important;
  border-radius:7px !important;
}
body.admin-body .admin-header-actions > .admin-profile strong {
  color:#ffffff !important;
  font-size:16px !important;
  white-space:nowrap !important;
}
body.admin-body .admin-header-actions > .admin-profile span {
  color:#b7c3ff !important;
}
body.admin-body .admin-sidebar-foot { display:none !important; }
@media(max-width:1320px){
  body.admin-body .admin-header-actions { grid-template-columns:150px minmax(260px,1fr) 210px 96px minmax(220px,.6fr) 104px !important; gap:8px !important; }
  body.admin-body .admin-header-actions > .admin-view-store,
  body.admin-body .admin-header-actions > .admin-new-product,
  body.admin-body .admin-header-actions > .admin-logout { font-size:14px !important; }
  body.admin-body .admin-header-actions > .admin-profile strong { font-size:13px !important; }
}
@media(max-width:980px){
  body.admin-body .admin-header-actions { grid-template-columns:1fr 1fr !important; }
  body.admin-body .admin-header-actions > * { grid-column:auto !important; grid-row:auto !important; }
  body.admin-body .admin-header-actions > .admin-global-search,
  body.admin-body .admin-header-actions > .admin-profile { grid-column:1/-1 !important; }
}
@media(max-width:560px){
  body.admin-body .admin-header-actions { grid-template-columns:1fr !important; }
  body.admin-body .admin-header-actions > * { grid-column:1 !important; width:100% !important; }
}

/* Admin sidebar no-scroll polish v1.0.43 */
body.admin-body {
  overflow-x:hidden !important;
}
body.admin-body .admin-shell {
  grid-template-columns:260px minmax(0,1fr) !important;
}
body.admin-body .admin-sidebar {
  width:260px !important;
  max-width:260px !important;
  height:100vh !important;
  min-height:100vh !important;
  padding:14px 12px !important;
  gap:10px !important;
  overflow:hidden !important;
  scrollbar-width:none !important;
}
body.admin-body .admin-sidebar::-webkit-scrollbar,
body.admin-body .admin-menu::-webkit-scrollbar {
  display:none !important;
  width:0 !important;
  height:0 !important;
}
body.admin-body .admin-brand {
  min-height:46px !important;
  padding:0 8px 10px !important;
  gap:9px !important;
  font-size:13px !important;
}
body.admin-body .admin-brand .brand-logo {
  max-width:136px !important;
  max-height:42px !important;
}
body.admin-body .admin-brand .brand-mark {
  width:36px !important;
  height:36px !important;
  font-size:12px !important;
}
body.admin-body .admin-menu {
  gap:4px !important;
  overflow:hidden !important;
}
body.admin-body .admin-menu-divider {
  height:1px !important;
  margin:4px 8px !important;
}
body.admin-body .admin-menu a {
  min-height:34px !important;
  padding:7px 10px !important;
  gap:9px !important;
  border-radius:7px !important;
  font-size:13px !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
}
body.admin-body .admin-menu a .icon {
  width:20px !important;
  flex:0 0 20px !important;
}
body.admin-body .admin-menu a .icon svg {
  width:16px !important;
  height:16px !important;
}
body.admin-body .admin-menu a span {
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .admin-menu a.admin-update-link {
  margin:0 0 5px !important;
  min-height:36px !important;
}
body.admin-body .admin-delivery-card,
body.admin-body .admin-sidebar-foot {
  display:none !important;
}
@media(max-height:720px) and (min-width:981px){
  body.admin-body .admin-sidebar { padding-top:10px !important; padding-bottom:10px !important; gap:7px !important; }
  body.admin-body .admin-brand { min-height:38px !important; padding-bottom:8px !important; }
  body.admin-body .admin-brand .brand-logo { max-height:34px !important; }
  body.admin-body .admin-brand .brand-mark { width:32px !important; height:32px !important; }
  body.admin-body .admin-menu { gap:3px !important; }
  body.admin-body .admin-menu a { min-height:31px !important; padding-top:6px !important; padding-bottom:6px !important; font-size:12px !important; }
  body.admin-body .admin-menu a.admin-update-link { min-height:32px !important; margin-bottom:3px !important; }
  body.admin-body .admin-menu-divider { margin:3px 8px !important; }
}
@media(max-width:980px){
  body.admin-body .admin-shell { grid-template-columns:1fr !important; }
  body.admin-body .admin-sidebar {
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }
}

/* Admin brand logo only v1.0.44 */
body.admin-body .admin-brand > span:last-child {
  display:none !important;
}
body.admin-body .admin-brand {
  justify-content:center !important;
}
body.admin-body .admin-brand .brand-logo {
  max-width:190px !important;
}
body.admin-body .admin-brand .brand-mark {
  margin:0 auto !important;
}

/* Admin sidebar tighter spacing v1.0.45 */
body.admin-body .admin-sidebar {
  padding:12px 10px !important;
  gap:8px !important;
}
body.admin-body .admin-brand {
  min-height:38px !important;
  padding:0 8px 8px !important;
}
body.admin-body .admin-brand .brand-logo {
  max-height:36px !important;
}
body.admin-body .admin-menu {
  gap:1px !important;
}
body.admin-body .admin-menu a {
  min-height:29px !important;
  padding:4px 10px !important;
  gap:9px !important;
  font-size:13px !important;
  line-height:1 !important;
}
body.admin-body .admin-menu a .icon {
  width:20px !important;
  flex-basis:20px !important;
}
body.admin-body .admin-menu a .icon svg {
  width:15px !important;
  height:15px !important;
}
body.admin-body .admin-menu-divider {
  margin:4px 8px !important;
}
body.admin-body .admin-menu a.admin-update-link {
  min-height:31px !important;
  margin:0 0 3px !important;
}
@media(max-height:720px) and (min-width:981px){
  body.admin-body .admin-sidebar { padding-top:8px !important; padding-bottom:8px !important; }
  body.admin-body .admin-brand { min-height:32px !important; padding-bottom:6px !important; }
  body.admin-body .admin-brand .brand-logo { max-height:30px !important; }
  body.admin-body .admin-menu a { min-height:26px !important; padding-top:3px !important; padding-bottom:3px !important; font-size:12px !important; }
  body.admin-body .admin-menu a .icon svg { width:14px !important; height:14px !important; }
  body.admin-body .admin-menu a.admin-update-link { min-height:28px !important; }
}

/* Admin header sizing refinement v1.0.46 */
body.admin-body .admin-header-actions {
  grid-template-columns:200px minmax(420px,1.45fr) 220px 112px minmax(300px,.58fr) 124px !important;
}
body.admin-body .admin-header-actions > .admin-new-product {
  max-width:220px !important;
  padding:0 18px !important;
}
body.admin-body .admin-header-actions > .admin-global-search input {
  padding-left:26px !important;
}
body.admin-body .admin-header-actions > .admin-view-store {
  max-width:200px !important;
}
body.admin-body .admin-header-actions > .admin-logout {
  max-width:124px !important;
}
@media(max-width:1320px){
  body.admin-body .admin-header-actions { grid-template-columns:170px minmax(300px,1.35fr) 190px 96px minmax(210px,.55fr) 104px !important; }
  body.admin-body .admin-header-actions > .admin-new-product { max-width:190px !important; padding:0 14px !important; }
}

/* Admin header balanced fit v1.0.47 */
body.admin-body .admin-header {
  padding:10px 14px !important;
}
body.admin-body .admin-header-actions {
  grid-template-columns:150px minmax(300px,1fr) 168px 92px minmax(360px,1.15fr) 104px !important;
  gap:9px !important;
}
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-new-product,
body.admin-body .admin-header-actions > .admin-logout,
body.admin-body .admin-header-actions > .admin-profile,
body.admin-body .admin-header-actions > .admin-global-search input {
  min-height:50px !important;
  border-radius:6px !important;
}
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-new-product,
body.admin-body .admin-header-actions > .admin-logout {
  font-size:14px !important;
  gap:7px !important;
}
body.admin-body .admin-header-actions > .admin-view-store {
  max-width:150px !important;
  padding:0 12px !important;
}
body.admin-body .admin-header-actions > .admin-new-product {
  max-width:168px !important;
  padding:0 12px !important;
  font-size:14px !important;
}
body.admin-body .admin-header-actions > .admin-new-product .icon svg,
body.admin-body .admin-header-actions > .admin-view-store .icon svg,
body.admin-body .admin-header-actions > .admin-logout .icon svg {
  width:16px !important;
  height:16px !important;
}
body.admin-body .admin-header-actions > .admin-logout {
  max-width:104px !important;
  padding:0 10px !important;
}
body.admin-body .admin-header-actions > .admin-global-search input {
  padding:0 58px 0 18px !important;
  font-size:15px !important;
}
body.admin-body .admin-header-actions > .admin-global-search button {
  top:7px !important;
  right:8px !important;
  width:36px !important;
  height:36px !important;
  min-height:36px !important;
}
body.admin-body .admin-header-actions > .admin-top-utilities {
  min-width:92px !important;
  width:92px !important;
  gap:3px !important;
}
body.admin-body .admin-top-utilities .theme-button,
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"] {
  width:24px !important;
  height:24px !important;
  min-height:24px !important;
}
body.admin-body .admin-top-utilities .theme-button .icon svg {
  width:15px !important;
  height:15px !important;
}
body.admin-body .admin-top-utilities .admin-notify {
  width:36px !important;
  height:27px !important;
  min-height:27px !important;
}
body.admin-body .admin-top-utilities .admin-notify .icon svg {
  width:18px !important;
  height:18px !important;
}
body.admin-body .admin-header-actions > .admin-profile {
  padding:0 14px !important;
  gap:11px !important;
  min-width:0 !important;
  overflow:visible !important;
}
body.admin-body .admin-header-actions > .admin-profile .admin-avatar {
  width:50px !important;
  height:50px !important;
  flex-basis:50px !important;
  font-size:22px !important;
}
body.admin-body .admin-header-actions > .admin-profile > div:last-child {
  min-width:0 !important;
  overflow:visible !important;
}
body.admin-body .admin-header-actions > .admin-profile strong {
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  font-size:14px !important;
  line-height:1.12 !important;
  max-height:32px !important;
}
body.admin-body .admin-header-actions > .admin-profile span {
  font-size:13px !important;
  line-height:1.1 !important;
  margin-top:2px !important;
}
@media(max-width:1320px){
  body.admin-body .admin-header-actions { grid-template-columns:132px minmax(240px,1fr) 148px 86px minmax(300px,1.1fr) 94px !important; gap:7px !important; }
  body.admin-body .admin-header-actions > .admin-new-product { max-width:148px !important; font-size:13px !important; }
  body.admin-body .admin-header-actions > .admin-view-store { max-width:132px !important; font-size:13px !important; }
  body.admin-body .admin-header-actions > .admin-logout { max-width:94px !important; font-size:13px !important; }
  body.admin-body .admin-header-actions > .admin-profile strong { font-size:12px !important; max-height:28px !important; }
  body.admin-body .admin-header-actions > .admin-profile span { font-size:12px !important; }
}
@media(max-width:1100px){
  body.admin-body .admin-header-actions { grid-template-columns:1fr 1fr 1fr !important; }
  body.admin-body .admin-header-actions > * { grid-column:auto !important; grid-row:auto !important; max-width:none !important; }
  body.admin-body .admin-header-actions > .admin-global-search,
  body.admin-body .admin-header-actions > .admin-profile { grid-column:1/-1 !important; }
}

/* Admin sidebar visual balance and backup v1.0.48 */
body.admin-body .admin-sidebar {
  width:282px !important;
  max-width:282px !important;
  padding:18px 14px !important;
  gap:14px !important;
  background:linear-gradient(180deg,#171b25 0%,#151922 100%) !important;
}
body.admin-body .admin-shell {
  grid-template-columns:282px minmax(0,1fr) !important;
}
body.admin-body .admin-brand {
  min-height:72px !important;
  padding:4px 10px 15px !important;
  justify-content:center !important;
}
body.admin-body .admin-brand .brand-logo {
  max-width:210px !important;
  max-height:66px !important;
}
body.admin-body .admin-brand .brand-mark {
  width:48px !important;
  height:48px !important;
}
body.admin-body .admin-menu {
  gap:5px !important;
}
body.admin-body .admin-menu a {
  min-height:38px !important;
  padding:8px 12px !important;
  gap:11px !important;
  border-radius:8px !important;
  color:#d8deea !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
body.admin-body .admin-menu a .icon {
  width:22px !important;
  flex-basis:22px !important;
  color:#9ca7bd !important;
}
body.admin-body .admin-menu a .icon svg {
  width:17px !important;
  height:17px !important;
}
body.admin-body .admin-menu a:hover,
body.admin-body .admin-menu a.active {
  background:#222836 !important;
  border-color:#2d3547 !important;
  color:#ffffff !important;
}
body.admin-body .admin-menu a.admin-update-link {
  min-height:40px !important;
  margin:2px 0 4px !important;
}
body.admin-body .admin-menu a[href*="page=backup"] {
  color:#e9fbf6 !important;
  background:rgba(22,160,133,.12) !important;
  border-color:rgba(22,160,133,.22) !important;
}
body.admin-body .admin-menu a[href*="page=backup"] .icon {
  color:#36d6b6 !important;
}
body.admin-body .admin-menu a[href*="page=backup"]:hover,
body.admin-body .admin-menu a[href*="page=backup"].active {
  background:linear-gradient(135deg,#178d7a,#4f57f5) !important;
  color:#ffffff !important;
  border-color:transparent !important;
}
body.admin-body .admin-menu-divider {
  margin:8px 10px !important;
  background:#2b3342 !important;
}
body.admin-body .backup-admin-card {
  display:grid !important;
  gap:14px !important;
}
body.admin-body .backup-list a {
  grid-template-columns:1fr !important;
}
@media(max-height:760px) and (min-width:981px){
  body.admin-body .admin-sidebar { padding:14px 12px !important; gap:10px !important; }
  body.admin-body .admin-brand { min-height:58px !important; padding-bottom:10px !important; }
  body.admin-body .admin-brand .brand-logo { max-height:52px !important; }
  body.admin-body .admin-menu { gap:3px !important; }
  body.admin-body .admin-menu a { min-height:34px !important; padding-top:6px !important; padding-bottom:6px !important; }
}
@media(max-width:980px){
  body.admin-body .admin-shell { grid-template-columns:1fr !important; }
  body.admin-body .admin-sidebar { width:100% !important; max-width:none !important; }
}

/* Admin top utilities equal icon buttons v1.0.49 */
body.admin-body .admin-header-actions {
  grid-template-columns:150px minmax(300px,1fr) 168px 124px minmax(360px,1.15fr) 104px !important;
}
body.admin-body .admin-header-actions > .admin-top-utilities {
  width:124px !important;
  min-width:124px !important;
  align-self:center !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
}
body.admin-body .admin-top-utilities .theme-switch {
  display:contents !important;
}
body.admin-body .admin-top-utilities .theme-button,
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"],
body.admin-body .admin-top-utilities .admin-notify {
  display:grid !important;
  place-items:center !important;
  width:36px !important;
  height:36px !important;
  min-height:36px !important;
  padding:0 !important;
  border:1px solid #101823 !important;
  border-radius:8px !important;
  background:#070c13 !important;
  color:#8f9bff !important;
  box-shadow:none !important;
}
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"] {
  background:#111b34 !important;
  color:#ffffff !important;
  border-color:#26345f !important;
}
body.admin-body .admin-top-utilities .admin-notify {
  background:#f326d7 !important;
  border-color:#f326d7 !important;
  color:#ffffff !important;
}
body.admin-body .admin-top-utilities .theme-button .icon svg,
body.admin-body .admin-top-utilities .admin-notify .icon svg {
  width:18px !important;
  height:18px !important;
}
body.admin-body .admin-top-utilities .admin-notify span {
  top:-8px !important;
  right:-8px !important;
  min-width:18px !important;
  height:18px !important;
  line-height:18px !important;
  font-size:10px !important;
}
@media(max-width:1320px){
  body.admin-body .admin-header-actions { grid-template-columns:132px minmax(240px,1fr) 148px 116px minmax(300px,1.1fr) 94px !important; }
  body.admin-body .admin-header-actions > .admin-top-utilities { width:116px !important; min-width:116px !important; gap:4px !important; }
  body.admin-body .admin-top-utilities .theme-button,
  body.admin-body .admin-top-utilities .admin-notify { width:34px !important; height:34px !important; min-height:34px !important; }
}

/* Admin responsive sidebar stable pages v1.0.50 */
body.admin-body .admin-shell {
  grid-template-columns:248px minmax(0,1fr) !important;
}
body.admin-body .admin-sidebar {
  width:248px !important;
  max-width:248px !important;
  height:100vh !important;
  min-height:100vh !important;
  padding:14px 10px 10px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  overflow:hidden !important;
  background:#11121e !important;
  border-right:1px solid #24263a !important;
  box-shadow:none !important;
}
body.admin-body .admin-brand {
  min-height:52px !important;
  padding:0 10px 10px !important;
  justify-content:flex-start !important;
  border-bottom:1px solid #24263a !important;
}
body.admin-body .admin-brand > span:last-child {
  display:inline !important;
  color:#ffffff !important;
  font-size:14px !important;
  font-weight:850 !important;
}
body.admin-body .admin-brand .brand-logo {
  max-width:142px !important;
  max-height:44px !important;
}
body.admin-body .admin-brand .brand-mark {
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
}
body.admin-body .admin-menu.admin-menu-responsive {
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:3px !important;
  min-height:0 !important;
  overflow:hidden !important;
  padding:0 !important;
}
body.admin-body .admin-menu-responsive a,
body.admin-body .admin-menu-responsive summary {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:34px !important;
  padding:8px 11px !important;
  border:1px solid transparent !important;
  border-radius:6px !important;
  color:#d7dce9 !important;
  background:transparent !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1 !important;
  cursor:pointer !important;
  list-style:none !important;
  box-shadow:none !important;
}
body.admin-body .admin-menu-responsive summary::-webkit-details-marker { display:none !important; }
body.admin-body .admin-menu-responsive summary::after {
  content:'›';
  margin-left:auto;
  color:#9ba3b7;
  font-size:18px;
  line-height:1;
  transform:rotate(0deg);
  transition:transform .18s ease;
}
body.admin-body .admin-menu-responsive details[open] > summary::after {
  transform:rotate(90deg);
}
body.admin-body .admin-menu-responsive a .icon,
body.admin-body .admin-menu-responsive summary .icon {
  display:grid !important;
  place-items:center !important;
  width:20px !important;
  flex:0 0 20px !important;
  color:#aab2c6 !important;
}
body.admin-body .admin-menu-responsive a .icon svg,
body.admin-body .admin-menu-responsive summary .icon svg {
  width:16px !important;
  height:16px !important;
}
body.admin-body .admin-menu-responsive a:hover,
body.admin-body .admin-menu-responsive a.active,
body.admin-body .admin-menu-responsive summary:hover,
body.admin-body .admin-menu-responsive details[open] > summary {
  color:#ffffff !important;
  background:#191b2d !important;
  border-color:#25283f !important;
}
body.admin-body .admin-menu-responsive a.active .icon,
body.admin-body .admin-menu-responsive a:hover .icon,
body.admin-body .admin-menu-responsive details[open] > summary .icon {
  color:#ffffff !important;
}
body.admin-body .admin-menu-group {
  display:grid !important;
  gap:2px !important;
}
body.admin-body .admin-submenu {
  display:grid !important;
  gap:1px !important;
  padding:2px 0 4px 30px !important;
  background:#151729 !important;
  border-radius:0 0 6px 6px !important;
}
body.admin-body .admin-submenu a.admin-subitem {
  min-height:28px !important;
  padding:6px 9px !important;
  color:#aeb6c9 !important;
  font-size:12px !important;
  font-weight:650 !important;
}
body.admin-body .admin-submenu a.admin-subitem .icon {
  display:none !important;
}
body.admin-body .admin-submenu a.admin-subitem:hover,
body.admin-body .admin-submenu a.admin-subitem.active {
  color:#ffffff !important;
  background:#20243a !important;
  border-color:#2c314d !important;
}
body.admin-body .admin-submenu a.admin-update-link,
body.admin-body .admin-submenu a[href*="page=backup"] {
  background:transparent !important;
  border-color:transparent !important;
  color:#aeb6c9 !important;
  box-shadow:none !important;
  margin:0 !important;
}
body.admin-body .admin-submenu a.admin-update-link:hover,
body.admin-body .admin-submenu a.admin-update-link.active,
body.admin-body .admin-submenu a[href*="page=backup"]:hover,
body.admin-body .admin-submenu a[href*="page=backup"].active {
  color:#ffffff !important;
  background:#20243a !important;
  border-color:#2c314d !important;
}
body.admin-body .admin-sidebar-user {
  margin-top:auto !important;
  min-height:58px !important;
  display:grid !important;
  grid-template-columns:38px minmax(0,1fr) 32px !important;
  align-items:center !important;
  gap:9px !important;
  padding:10px !important;
  border-radius:8px !important;
  background:#191b2d !important;
  border:1px solid #25283f !important;
  color:#ffffff !important;
}
body.admin-body .admin-sidebar-avatar {
  display:grid !important;
  place-items:center !important;
  width:38px !important;
  height:38px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,#1bc9a5,#515cff) !important;
  color:#fff !important;
  font-weight:900 !important;
}
body.admin-body .admin-sidebar-user strong,
body.admin-body .admin-sidebar-user span {
  display:block !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .admin-sidebar-user strong {
  font-size:12px !important;
  line-height:1.2 !important;
}
body.admin-body .admin-sidebar-user span {
  color:#9ea7bd !important;
  font-size:11px !important;
}
body.admin-body .admin-sidebar-user a {
  display:grid !important;
  place-items:center !important;
  width:32px !important;
  height:32px !important;
  border-radius:6px !important;
  color:#d7dce9 !important;
}
body.admin-body .admin-sidebar-user a:hover {
  background:#232743 !important;
  color:#ffffff !important;
}
body.admin-body .admin-delivery-card,
body.admin-body .admin-sidebar-foot,
body.admin-body .admin-menu-divider {
  display:none !important;
}
@media(max-height:760px) and (min-width:981px){
  body.admin-body .admin-sidebar { gap:8px !important; padding-top:10px !important; }
  body.admin-body .admin-brand { min-height:44px !important; padding-bottom:8px !important; }
  body.admin-body .admin-menu-responsive a,
  body.admin-body .admin-menu-responsive summary { min-height:30px !important; padding-top:6px !important; padding-bottom:6px !important; }
  body.admin-body .admin-submenu a.admin-subitem { min-height:25px !important; padding-top:5px !important; padding-bottom:5px !important; }
  body.admin-body .admin-sidebar-user { min-height:50px !important; padding:7px !important; }
}
@media(max-width:980px){
  body.admin-body .admin-shell { grid-template-columns:1fr !important; }
  body.admin-body .admin-sidebar {
    position:static !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  body.admin-body .admin-menu.admin-menu-responsive { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  body.admin-body .admin-sidebar-user { margin-top:8px !important; }
}
@media(max-width:560px){
  body.admin-body .admin-menu.admin-menu-responsive { grid-template-columns:1fr !important; }
}

/* Admin top utility buttons v1.0.51 */
body.admin-body .admin-header-actions > .admin-top-utilities {
  display:grid !important;
  grid-template-columns:repeat(3,34px) !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:114px !important;
  min-width:114px !important;
  height:42px !important;
  overflow:visible !important;
}
body.admin-body .admin-top-utilities .theme-switch {
  display:contents !important;
}
body.admin-body .admin-top-utilities .theme-button,
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"],
body.admin-body .admin-top-utilities .admin-notify {
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:8px !important;
  border:1px solid #1d2534 !important;
  background:#080d14 !important;
  color:#7f8cff !important;
  box-shadow:none !important;
  overflow:visible !important;
  line-height:1 !important;
}
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"] {
  background:#11182a !important;
  color:#ffffff !important;
  border-color:#2b3652 !important;
}
body.admin-body .admin-top-utilities .admin-notify {
  background:#eb23d4 !important;
  color:#ffffff !important;
  border-color:#eb23d4 !important;
}
body.admin-body .admin-top-utilities .theme-button .icon,
body.admin-body .admin-top-utilities .admin-notify .icon {
  position:static !important;
  display:grid !important;
  place-items:center !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:currentColor !important;
  transform:none !important;
}
body.admin-body .admin-top-utilities .theme-button .icon svg,
body.admin-body .admin-top-utilities .admin-notify .icon svg {
  display:block !important;
  width:18px !important;
  height:18px !important;
  stroke:currentColor !important;
}
body.admin-body .admin-top-utilities .admin-notify span {
  position:absolute !important;
  top:-5px !important;
  right:-5px !important;
  display:grid !important;
  place-items:center !important;
  min-width:16px !important;
  height:16px !important;
  padding:0 4px !important;
  border-radius:999px !important;
  border:2px solid #080d14 !important;
  background:#ffffff !important;
  color:#eb23d4 !important;
  font-size:10px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
@media(max-width:1180px){
  body.admin-body .admin-header-actions > .admin-top-utilities {
    width:114px !important;
    min-width:114px !important;
  }
}
/* Admin header without duplicate profile v1.0.52 */
body.admin-body .admin-header-actions {
  grid-template-columns:150px minmax(300px,1fr) 174px 114px 108px !important;
  align-items:center !important;
  gap:10px !important;
}
body.admin-body .admin-header-actions > .admin-view-store { grid-column:1 !important; }
body.admin-body .admin-header-actions > .admin-global-search { grid-column:2 !important; }
body.admin-body .admin-header-actions > .admin-new-product { grid-column:3 !important; }
body.admin-body .admin-header-actions > .admin-top-utilities { grid-column:4 !important; }
body.admin-body .admin-header-actions > .admin-logout { grid-column:5 !important; }
body.admin-body .admin-header-actions > .admin-profile { display:none !important; }
body.admin-body .admin-header-actions > .admin-view-store,
body.admin-body .admin-header-actions > .admin-new-product,
body.admin-body .admin-header-actions > .admin-logout {
  width:100% !important;
  max-width:none !important;
  min-height:50px !important;
  padding:0 12px !important;
}
body.admin-body .admin-header-actions > .admin-new-product { font-size:14px !important; }
body.admin-body .admin-header-actions > .admin-top-utilities {
  width:114px !important;
  min-width:114px !important;
  height:50px !important;
  align-self:center !important;
  align-items:center !important;
  justify-content:center !important;
  display:grid !important;
  grid-template-columns:repeat(3,34px) !important;
  gap:6px !important;
}
body.admin-body .admin-top-utilities .theme-switch { display:contents !important; }
body.admin-body .admin-top-utilities .theme-button,
html[data-theme="light"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="light"],
html[data-theme="dark"] body.admin-body .admin-top-utilities .theme-button[data-theme-choice="dark"],
body.admin-body .admin-top-utilities .admin-notify {
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  border-radius:8px !important;
}
@media(max-width:1320px){
  body.admin-body .admin-header-actions { grid-template-columns:132px minmax(240px,1fr) 154px 114px 94px !important; gap:8px !important; }
  body.admin-body .admin-header-actions > .admin-view-store,
  body.admin-body .admin-header-actions > .admin-new-product,
  body.admin-body .admin-header-actions > .admin-logout { font-size:13px !important; }
}
@media(max-width:1100px){
  body.admin-body .admin-header-actions { grid-template-columns:1fr 1fr !important; }
  body.admin-body .admin-header-actions > * { grid-column:auto !important; grid-row:auto !important; max-width:none !important; }
  body.admin-body .admin-header-actions > .admin-global-search { grid-column:1/-1 !important; }
  body.admin-body .admin-header-actions > .admin-top-utilities { justify-self:start !important; }
}
@media(max-width:560px){
  body.admin-body .admin-header-actions { grid-template-columns:1fr !important; }
  body.admin-body .admin-header-actions > * { grid-column:1 !important; width:100% !important; }
  body.admin-body .admin-header-actions > .admin-top-utilities { justify-self:center !important; width:114px !important; }
}

/* Backup form checkbox polish v1.0.53 */
body.admin-body .backup-admin-card .inline-check {
  display:block !important;
  margin:0 !important;
}
body.admin-body .backup-admin-card .inline-check span {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:38px !important;
  width:100% !important;
  padding:8px 10px !important;
  border:1px solid #232b38 !important;
  border-radius:6px !important;
  background:#111821 !important;
  color:#dbe7ff !important;
  font-size:14px !important;
  font-weight:650 !important;
  line-height:1.25 !important;
}
body.admin-body .backup-admin-card .inline-check input[type="checkbox"] {
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  display:inline-block !important;
  flex:0 0 16px !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:3px !important;
  accent-color:#4f57f5 !important;
  cursor:pointer !important;
}
body.admin-body .backup-admin-card .inline-check:hover span {
  border-color:#344057 !important;
  background:#141d29 !important;
  color:#ffffff !important;
}
body.admin-body .backup-admin-card .admin-form-actions {
  margin-top:4px !important;
}
@media(max-width:560px){
  body.admin-body .backup-admin-card .inline-check span {
    align-items:flex-start !important;
    font-size:13px !important;
  }
  body.admin-body .backup-admin-card .inline-check input[type="checkbox"] {
    margin-top:1px !important;
  }
}

/* Marketing highlights admin v1.0.56 */
body.admin-body .highlights-admin-grid {
  display:grid !important;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr) !important;
  gap:18px !important;
  align-items:start !important;
}
body.admin-body .highlights-admin-form,
body.admin-body .highlights-admin-preview {
  display:grid !important;
  gap:14px !important;
}
body.admin-body .highlight-product-picker {
  display:grid !important;
  gap:8px !important;
  max-height:430px !important;
  overflow:auto !important;
  padding-right:4px !important;
}
body.admin-body .highlight-product-picker label {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:12px !important;
  margin:0 !important;
  padding:9px 10px !important;
  border:1px solid var(--admin-border,#25283f) !important;
  border-radius:7px !important;
  background:#111821 !important;
}
body.admin-body .highlight-product-picker label span {
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  min-width:0 !important;
  color:#eef3ff !important;
  font-weight:700 !important;
}
body.admin-body .highlight-product-picker input[type="checkbox"] {
  flex:0 0 16px !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:0 !important;
  accent-color:#6650ff !important;
}
body.admin-body .highlight-product-picker small {
  color:#aeb8cc !important;
  white-space:nowrap !important;
}
body.admin-body .store-highlight-title h2 {
  max-width:none !important;
}
@media(max-width:900px){
  body.admin-body .highlights-admin-grid { grid-template-columns:1fr !important; }
  body.admin-body .highlight-product-picker label { grid-template-columns:1fr !important; }
  body.admin-body .highlight-product-picker small { white-space:normal !important; }
}
body:not(.admin-body) .store-highlight-products {
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media(max-width:1180px){
  body:not(.admin-body) .store-highlight-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:720px){
  body:not(.admin-body) .store-highlight-products { grid-template-columns:1fr; }
}

/* Product preview in admin v1.0.58 */
body.admin-body .products-admin-preview {
  align-self:start !important;
  display:grid !important;
  gap:16px !important;
}
body.admin-body .products-admin-preview > h3 {
  margin:0 !important;
}
body.admin-body .admin-live-product-preview {
  width:min(100%,360px) !important;
  border-color:#2a3343 !important;
  border-radius:10px !important;
  background:#111821 !important;
  box-shadow:none !important;
}
body.admin-body .admin-live-product-preview .store-product-image {
  background:#0b1119 !important;
}
body.admin-body .admin-live-product-preview .store-product-image img,
body.admin-body .admin-live-product-preview .store-product-image .product-img {
  width:100% !important;
  aspect-ratio:1.55/1 !important;
  object-fit:cover !important;
  background:linear-gradient(135deg,#111827,#20263a) !important;
}
body.admin-body .admin-live-product-preview .store-product-body {
  background:#111821 !important;
}
body.admin-body .admin-live-product-preview .store-product-body h3 {
  color:#f8fbff !important;
}
body.admin-body .admin-live-product-preview .store-product-body > span {
  color:#aeb8cc !important;
}
body.admin-body .admin-live-product-preview .store-product-bottom strong {
  color:#ffffff !important;
}
body.admin-body .admin-live-product-preview .icon-action {
  pointer-events:none !important;
}
@media(max-width:900px){
  body.admin-body .admin-live-product-preview { width:100% !important; }
}

/* Product form improvements v1.0.59 */
body.admin-body .admin-product-form {
  gap:16px !important;
}
body.admin-body .admin-product-form textarea[name="description"] {
  min-height:210px !important;
  line-height:1.5 !important;
}
body.admin-body .product-description-field {
  grid-column:1/-1 !important;
}
body.admin-body .product-choice-row {
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
}
body.admin-body .product-choice-group {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  padding:10px !important;
  border:1px solid #232b38 !important;
  border-radius:7px !important;
  background:#111821 !important;
}
body.admin-body .product-choice-group legend {
  width:100% !important;
  margin:0 0 2px !important;
  padding:0 !important;
  color:#aeb8cc !important;
  font-size:12px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
}
body.admin-body .product-choice-group label {
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  width:auto !important;
  min-height:30px !important;
  margin:0 !important;
  padding:6px 9px !important;
  border:1px solid #2a3445 !important;
  border-radius:6px !important;
  color:#e8efff !important;
  background:#0d131c !important;
  font-size:13px !important;
  font-weight:750 !important;
  cursor:pointer !important;
}
body.admin-body .product-choice-group.compact label {
  min-height:28px !important;
  padding:5px 8px !important;
}
body.admin-body .product-choice-group input[type="radio"] {
  width:14px !important;
  height:14px !important;
  min-width:14px !important;
  min-height:14px !important;
  margin:0 !important;
  accent-color:#6650ff !important;
}
body.admin-body .product-choice-group label:has(input:checked) {
  border-color:#6650ff !important;
  background:#181c36 !important;
  color:#ffffff !important;
}
body.admin-body .product-shipping-field[hidden],
body.admin-body [data-product-digital-field][hidden] {
  display:none !important;
}
body.admin-body .product-shipping-field textarea {
  min-height:120px !important;
}
@media(max-width:760px){
  body.admin-body .product-choice-row,
  body.admin-body .product-media-grid { grid-template-columns:1fr !important; }
}
body:not(.admin-body) .product-type-pill {
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:30px;
  margin:0 0 12px;
  padding:5px 10px;
  border-radius:999px;
  background:#f4efff;
  color:#7d5ee4;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
html[data-theme="dark"] body:not(.admin-body) .product-type-pill {
  background:#29233a;
  color:#d8ccff;
}

/* Category active checkbox polish v1.0.60 */
body.admin-body .category-status-field {
  align-self:center !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
}
body.admin-body .category-status-field span {
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:32px !important;
  padding:6px 9px !important;
  border:1px solid #2a3445 !important;
  border-radius:6px !important;
  background:#0d131c !important;
  color:#e8efff !important;
  font-size:13px !important;
  font-weight:750 !important;
}
body.admin-body .category-status-field input[type="checkbox"] {
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  min-height:15px !important;
  margin:0 !important;
  accent-color:#6650ff !important;
}

/* Coupon admin form v1.0.63 */
body.admin-body .coupon-admin-grid {
  grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr) !important;
}
body.admin-body .coupon-form-panel,
body.admin-body .coupon-list-panel {
  display:grid !important;
  gap:14px !important;
}
body.admin-body .coupon-form-panel h3,
body.admin-body .coupon-list-panel h3 {
  margin:0 !important;
}
body.admin-body .coupon-date-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:end !important;
}
body.admin-body .coupon-list-panel table {
  min-width:820px !important;
}
body.admin-body .coupon-list-panel td:first-child strong {
  display:inline-flex !important;
  align-items:center !important;
  min-height:28px !important;
  padding:3px 8px !important;
  border:1px solid #2a3445 !important;
  border-radius:6px !important;
  background:#0d131c !important;
  color:#ffffff !important;
  font-size:13px !important;
  letter-spacing:0 !important;
}
@media(max-width:980px){
  body.admin-body .coupon-admin-grid,
  body.admin-body .coupon-date-grid { grid-template-columns:1fr !important; }
}

/* All products quick edit list v1.0.65 */
body.admin-body .all-products-kpis {
  margin-bottom:18px !important;
}
body.admin-body .all-products-list-panel {
  display:grid !important;
  gap:0 !important;
  overflow:hidden !important;
}
body.admin-body .all-products-list-head,
body.admin-body .all-products-row {
  display:grid !important;
  grid-template-columns:minmax(220px,1.25fr) 110px 120px 120px minmax(260px,1.25fr) 120px 170px !important;
  gap:10px !important;
  align-items:center !important;
}
body.admin-body .all-products-list-head {
  padding:12px 14px !important;
  border-bottom:1px solid var(--admin-border,#2b303b) !important;
  background:#202532 !important;
  color:#f7f9ff !important;
  font-size:12px !important;
  font-weight:900 !important;
}
body.admin-body .all-products-list {
  display:grid !important;
  gap:0 !important;
  overflow:auto !important;
}
body.admin-body .all-products-row {
  min-width:1160px !important;
  padding:12px 14px !important;
  border-bottom:1px solid var(--admin-border,#2b303b) !important;
}
body.admin-body .all-products-row:last-child { border-bottom:0 !important; }
body.admin-body .all-products-row label {
  display:grid !important;
  gap:5px !important;
  margin:0 !important;
}
body.admin-body .all-products-row label > span {
  display:none !important;
}
body.admin-body .all-products-row small {
  color:#aeb8cc !important;
  font-size:11px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .all-products-row input,
body.admin-body .all-products-row select,
body.admin-body .all-products-row textarea {
  width:100% !important;
  min-height:36px !important;
  padding:8px 9px !important;
  border-radius:6px !important;
  font-size:13px !important;
}
body.admin-body .all-products-row textarea {
  min-height:56px !important;
  resize:vertical !important;
}
body.admin-body .all-products-files,
body.admin-body .all-products-actions {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  align-items:center !important;
}
body.admin-body .all-products-actions button,
body.admin-body .all-products-actions .button {
  min-height:34px !important;
  padding:7px 10px !important;
  font-size:12px !important;
}
@media(max-width:980px){
  body.admin-body .all-products-list-head { display:none !important; }
  body.admin-body .all-products-row {
    min-width:0 !important;
    grid-template-columns:1fr !important;
    margin:0 0 12px !important;
    border:1px solid var(--admin-border,#2b303b) !important;
    border-radius:8px !important;
  }
  body.admin-body .all-products-row label > span { display:block !important; }
}

/* Settings hub v1.0.66 */
body.admin-body .settings-hub {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:18px !important;
  align-items:start !important;
}
body.admin-body .settings-nav-panel {
  position:sticky !important;
  top:18px !important;
  display:grid !important;
  gap:12px !important;
}
body.admin-body .settings-search {
  display:grid !important;
  gap:7px !important;
  margin:0 !important;
  color:#aeb8cc !important;
  font-size:12px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
}
body.admin-body .settings-tabs {
  display:grid !important;
  gap:4px !important;
  max-height:68vh !important;
  overflow:auto !important;
  padding-right:4px !important;
}
body.admin-body .settings-tabs a {
  min-height:34px !important;
  padding:8px 10px !important;
  border:1px solid transparent !important;
  border-radius:6px !important;
  color:#dfe7f8 !important;
  font-size:13px !important;
  font-weight:750 !important;
}
body.admin-body .settings-tabs a:hover,
body.admin-body .settings-tabs a:focus {
  border-color:#334057 !important;
  background:#111821 !important;
  color:#ffffff !important;
}
body.admin-body .settings-content-panel {
  display:grid !important;
  gap:16px !important;
  min-width:0 !important;
}
body.admin-body .settings-tab-section {
  display:grid !important;
  gap:16px !important;
  scroll-margin-top:18px !important;
}
body.admin-body .settings-field-grid,
body.admin-body .settings-file-grid,
body.admin-body .settings-checkout-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}
body.admin-body .settings-field-grid label,
body.admin-body .settings-file-grid label,
body.admin-body .settings-checkout-grid label {
  display:grid !important;
  gap:7px !important;
  min-width:0 !important;
}
body.admin-body .settings-toggle-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
}
body.admin-body .settings-toggle-grid label,
body.admin-body .settings-gateway-card label:has(input[type="checkbox"]) {
  margin:0 !important;
}
body.admin-body .settings-toggle-grid span,
body.admin-body .settings-gateway-card label span {
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:34px !important;
  padding:7px 9px !important;
  border:1px solid #2a3445 !important;
  border-radius:6px !important;
  background:#0d131c !important;
  color:#e8efff !important;
  font-size:13px !important;
  font-weight:750 !important;
}
body.admin-body .settings-toggle-grid input[type="checkbox"],
body.admin-body .settings-gateway-card input[type="checkbox"] {
  width:15px !important;
  height:15px !important;
  margin:0 !important;
  accent-color:#6650ff !important;
}
body.admin-body .settings-file-preview {
  display:grid !important;
  grid-template-columns:54px minmax(0,1fr) !important;
  gap:8px !important;
  align-items:center !important;
  margin-top:4px !important;
  padding:7px !important;
  border:1px solid #2a3445 !important;
  border-radius:7px !important;
  background:#0d131c !important;
}
body.admin-body .settings-file-preview img {
  width:54px !important;
  height:40px !important;
  object-fit:contain !important;
  border-radius:5px !important;
  background:#ffffff !important;
}
body.admin-body .settings-file-preview small {
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:#aeb8cc !important;
}
body.admin-body .settings-gateway-grid,
body.admin-body .settings-integration-grid,
body.admin-body .settings-info-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}
body.admin-body .settings-gateway-card,
body.admin-body .settings-integration-grid article,
body.admin-body .settings-info-grid article {
  display:grid !important;
  gap:10px !important;
  padding:14px !important;
  border:1px solid #2a3445 !important;
  border-radius:8px !important;
  background:#111821 !important;
}
body.admin-body .settings-gateway-card h4 {
  margin:0 !important;
  color:#ffffff !important;
}
body.admin-body .settings-save-bar {
  position:sticky !important;
  bottom:0 !important;
  z-index:5 !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:10px !important;
  padding:14px !important;
  border:1px solid #2a3445 !important;
  border-radius:8px !important;
  background:rgba(17,24,33,.96) !important;
  backdrop-filter:blur(8px) !important;
}
body.admin-body .settings-tab-section[hidden] { display:none !important; }
@media(max-width:1100px){
  body.admin-body .settings-hub { grid-template-columns:1fr !important; }
  body.admin-body .settings-nav-panel { position:static !important; }
  body.admin-body .settings-tabs { display:flex !important; overflow:auto !important; max-height:none !important; }
  body.admin-body .settings-tabs a { white-space:nowrap !important; }
  body.admin-body .settings-field-grid,
  body.admin-body .settings-file-grid,
  body.admin-body .settings-checkout-grid,
  body.admin-body .settings-toggle-grid,
  body.admin-body .settings-gateway-grid,
  body.admin-body .settings-integration-grid,
  body.admin-body .settings-info-grid { grid-template-columns:1fr !important; }
}

/* Settings hub refinements v1.0.67 */
body.admin-body .settings-status-grid,
body.admin-body .settings-user-permission-grid,
body.admin-body .settings-redirect-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.admin-body .settings-status-grid .badge {
  justify-content:center !important;
  min-height:32px !important;
  padding:7px 9px !important;
}
body.admin-body .settings-user-permission-grid article {
  display:grid !important;
  gap:8px !important;
  padding:14px !important;
  border:1px solid #2a3445 !important;
  border-radius:8px !important;
  background:#111821 !important;
}
body.admin-body .settings-user-permission-grid article strong {
  color:#ffffff !important;
}
body.admin-body .settings-user-permission-grid article span {
  color:#aeb8cc !important;
  line-height:1.45 !important;
}
body.admin-body .settings-redirect-grid {
  align-items:end !important;
}
@media(max-width:980px){
  body.admin-body .settings-status-grid,
  body.admin-body .settings-user-permission-grid,
  body.admin-body .settings-redirect-grid { grid-template-columns:1fr !important; }
}

/* Product editor Jumpseller-inspired v1.0.68 */
body.admin-body .product-editor-layout {
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr) !important;
  align-items:start !important;
}
body.admin-body .product-editor-form {
  display:grid !important;
  gap:16px !important;
}
body.admin-body .product-editor-title {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}
body.admin-body .product-editor-title h3,
body.admin-body .product-editor-section h4 {
  margin:0 !important;
}
body.admin-body .product-editor-section {
  display:grid !important;
  gap:12px !important;
  padding:14px !important;
  border:1px solid #2a3445 !important;
  border-radius:8px !important;
  background:#111821 !important;
}
body.admin-body .product-editor-section h4 {
  color:#ffffff !important;
  font-size:15px !important;
  font-weight:850 !important;
}
body.admin-body .product-editor-section small {
  color:#aeb8cc !important;
  font-size:12px !important;
}
body.admin-body .product-editor-section .settings-toggle-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
body.admin-body .product-visibility-grid span {
  min-height:38px !important;
}
body.admin-body .product-editor-tips {
  display:grid !important;
  gap:6px !important;
  padding:12px !important;
  border:1px solid #2a3445 !important;
  border-radius:8px !important;
  background:#111821 !important;
}
body.admin-body .product-editor-tips strong {
  color:#ffffff !important;
}
body.admin-body .product-editor-tips span {
  color:#aeb8cc !important;
  line-height:1.45 !important;
}
@media(max-width:980px){
  body.admin-body .product-editor-layout,
  body.admin-body .product-editor-section .settings-toggle-grid { grid-template-columns:1fr !important; }
}

/* All products inventory filters v1.0.69 */
body.admin-body .all-products-toolbar {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:14px !important;
  align-items:end !important;
  margin-bottom:16px !important;
}
body.admin-body .all-products-filters {
  display:grid !important;
  grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(130px,.75fr)) !important;
  gap:10px !important;
  align-items:end !important;
}
body.admin-body .all-products-filters label {
  display:grid !important;
  gap:6px !important;
  margin:0 !important;
}
body.admin-body .all-products-bulk {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-items:center !important;
  justify-content:flex-end !important;
}
body.admin-body .all-products-bulk select {
  min-width:180px !important;
}
body.admin-body .all-products-list-head,
body.admin-body .all-products-row {
  grid-template-columns:34px minmax(220px,1.15fr) 130px 105px 118px 118px minmax(240px,1.1fr) 128px 170px !important;
}
body.admin-body .all-products-list-head input[type="checkbox"],
body.admin-body .all-products-select input[type="checkbox"] {
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  accent-color:#6650ff !important;
}
body.admin-body .all-products-select {
  justify-items:center !important;
}
body.admin-body .all-products-row[hidden] {
  display:none !important;
}
@media(max-width:1180px){
  body.admin-body .all-products-toolbar,
  body.admin-body .all-products-filters { grid-template-columns:1fr !important; }
  body.admin-body .all-products-bulk { justify-content:flex-start !important; }
}
@media(max-width:980px){
  body.admin-body .all-products-select { justify-items:start !important; }
}

/* Checkout visitante e carrinho v1.0.80 */
.top-cart-link{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-weight:800}
.top-cart-link span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;padding:0 6px}
.buy-box-form{display:grid;margin:14px 0 10px}.buy-box-form button{width:100%}
.cart-page{display:grid;gap:18px}.cart-layout{grid-template-columns:minmax(0,1fr) 330px}.cart-list{display:grid;gap:12px}.cart-row{display:grid;grid-template-columns:88px minmax(0,1fr) 150px auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.cart-row img,.cart-thumb{width:88px;height:88px;border-radius:8px;object-fit:cover;background:#f3f5f8}.cart-thumb{display:flex;align-items:center;justify-content:center;color:var(--brand)}.cart-row h2{font-size:17px;margin:0 0 4px}.cart-row p{margin:0 0 6px}.cart-quantity{display:grid;gap:8px}.cart-quantity input{min-height:38px}.cart-summary{align-self:start;display:grid;gap:14px;position:sticky;top:18px}.cart-summary>div,.checkout-line,.checkout-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.checkout-line{padding:10px 0;border-bottom:1px solid var(--line)}.checkout-total{padding-top:8px;font-size:18px}.guest-checkout{grid-template-columns:minmax(0,1fr) 360px}.checkout-form{align-self:start}.payment-methods{display:grid;gap:8px;margin:0;padding:14px;border:1px solid var(--line);border-radius:8px}.payment-methods legend{font-weight:900;color:var(--ink);padding:0 6px}.payment-methods label{display:flex;align-items:center;gap:8px;font-weight:800}.payment-methods input{width:auto;min-height:auto}.order-confirmation{max-width:860px;margin:0 auto;display:grid;gap:18px}.order-box{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.order-box>div,.order-items article{padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.order-box span,.order-items span{display:block;color:var(--muted);font-size:13px}.order-items{display:grid;gap:10px}.order-items article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.order-items em{font-style:normal;font-weight:900;color:var(--brand)}
button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:860px){.cart-layout,.guest-checkout{grid-template-columns:1fr}.cart-summary{position:static}.cart-row{grid-template-columns:72px minmax(0,1fr)}.cart-row img,.cart-thumb{width:72px;height:72px}.cart-row form{grid-column:1/-1}.order-box,.order-items article{grid-template-columns:1fr}}
/* Modelo 1 - Vitrine Clean v1.0.81 */
:root {
  --clean-brand:#7c5be8;
  --clean-brand-dark:#6345c7;
  --clean-pink:#f7a9c8;
  --clean-pink-soft:#fff4f8;
  --clean-lilac:#f5f0ff;
  --clean-lilac-strong:#ede4ff;
  --clean-ink:#252033;
  --clean-muted:#746f83;
  --clean-line:#eee7f8;
  --clean-bg:#fdfbff;
  --clean-paper:#ffffff;
  --clean-radius:8px;
  --clean-shadow:0 18px 42px rgba(73,55,128,.09);
}

body:not(.admin-body) {
  --brand:var(--clean-brand);
  --brand-dark:var(--clean-brand-dark);
  --accent:var(--clean-pink);
  --ink:var(--clean-ink);
  --muted:var(--clean-muted);
  --line:var(--clean-line);
  --soft:var(--clean-bg);
  --paper:var(--clean-paper);
  background:var(--clean-bg) !important;
  color:var(--clean-ink);
  letter-spacing:0;
}

body:not(.admin-body) .site-header {
  background:rgba(255,255,255,.96) !important;
  border-bottom:1px solid var(--clean-line) !important;
  box-shadow:0 10px 30px rgba(124,91,232,.07) !important;
}

body:not(.admin-body) .brand,
body:not(.admin-body) .brand strong { color:var(--clean-ink) !important; }

body:not(.admin-body) .brand-mark {
  border-radius:var(--clean-radius) !important;
  background:var(--clean-lilac) !important;
  box-shadow:inset 0 0 0 1px var(--clean-lilac-strong) !important;
}

body:not(.admin-body) .nav a,
body:not(.admin-body) .client-access-link,
body:not(.admin-body) .top-cart-link,
body:not(.admin-body) .theme-button {
  border-color:var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  color:var(--clean-ink) !important;
  box-shadow:0 8px 24px rgba(91,69,154,.05) !important;
}

body:not(.admin-body) .nav a:hover,
body:not(.admin-body) .nav a.active,
body:not(.admin-body) .client-access-link:hover,
body:not(.admin-body) .top-cart-link:hover,
body:not(.admin-body) .theme-button:hover {
  background:var(--clean-lilac) !important;
  color:var(--clean-brand-dark) !important;
  border-color:#dccfff !important;
}

body:not(.admin-body) .top-cart-link span,
body:not(.admin-body) .badge,
body:not(.admin-body) .status-pill.paid { background:var(--clean-brand) !important; color:#fff !important; }

body:not(.admin-body) .top-search input,
body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea {
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  color:var(--clean-ink) !important;
  box-shadow:none !important;
}

body:not(.admin-body) .top-search input:focus,
body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus {
  border-color:#cbbcf8 !important;
  box-shadow:0 0 0 4px rgba(124,91,232,.12) !important;
  outline:0 !important;
}

body:not(.admin-body) .store-hero {
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  box-shadow:var(--clean-shadow) !important;
  overflow:hidden;
}

body:not(.admin-body) .store-hero::before { background:linear-gradient(135deg, rgba(245,240,255,.94), rgba(255,244,248,.86)) !important; }

body:not(.admin-body) .store-hero-copy h1 {
  color:var(--clean-ink) !important;
  font-size:44px !important;
  letter-spacing:0 !important;
}

body:not(.admin-body) .store-hero-copy p,
body:not(.admin-body) .store-section-title p,
body:not(.admin-body) .muted { color:var(--clean-muted) !important; }

body:not(.admin-body) .store-hero-card,
body:not(.admin-body) .panel,
body:not(.admin-body) .cart-row,
body:not(.admin-body) .cart-summary,
body:not(.admin-body) .checkout-form,
body:not(.admin-body) .order-box>div,
body:not(.admin-body) .order-items article,
body:not(.admin-body) .store-step,
body:not(.admin-body) .store-highlight-card {
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(73,55,128,.07) !important;
}

body:not(.admin-body) .store-product-card {
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  box-shadow:0 12px 32px rgba(73,55,128,.07) !important;
  overflow:hidden !important;
}

body:not(.admin-body) .store-product-card:hover {
  border-color:#dccfff !important;
  box-shadow:0 18px 42px rgba(124,91,232,.13) !important;
  transform:translateY(-2px);
}

body:not(.admin-body) .store-product-image,
body:not(.admin-body) .cart-thumb,
body:not(.admin-body) .cart-row img {
  border-radius:var(--clean-radius) !important;
  background:var(--clean-lilac) !important;
}

body:not(.admin-body) .store-product-body h3,
body:not(.admin-body) .store-product-bottom strong,
body:not(.admin-body) .checkout-total strong,
body:not(.admin-body) .order-items em { color:var(--clean-brand-dark) !important; }

body:not(.admin-body) .button,
body:not(.admin-body) button,
body:not(.admin-body) .icon-action {
  border-radius:var(--clean-radius) !important;
  border-color:transparent !important;
  background:var(--clean-brand) !important;
  color:#fff !important;
  box-shadow:0 12px 24px rgba(124,91,232,.18) !important;
}

body:not(.admin-body) .button:hover,
body:not(.admin-body) button:hover,
body:not(.admin-body) .icon-action:hover { background:var(--clean-brand-dark) !important; }

body:not(.admin-body) .button.secondary,
body:not(.admin-body) button.secondary,
body:not(.admin-body) .cart-row button[name="action"][value="remove"] {
  background:#fff !important;
  color:var(--clean-brand-dark) !important;
  border-color:var(--clean-line) !important;
  box-shadow:none !important;
}

body:not(.admin-body) .payment-methods {
  border-color:var(--clean-line) !important;
  background:var(--clean-pink-soft) !important;
  border-radius:var(--clean-radius) !important;
}

body:not(.admin-body) .payment-methods input,
body.admin-body input[type="checkbox"],
body.admin-body input[type="radio"] { accent-color:var(--clean-brand); }

body.admin-body {
  --brand:var(--clean-brand);
  --brand-dark:var(--clean-brand-dark);
  --accent:var(--clean-pink);
  --admin-purple:var(--clean-brand);
  --admin-purple-dark:var(--clean-brand-dark);
  --admin-pink:var(--clean-pink);
  --admin-bg:var(--clean-bg);
  --admin-card:#fff;
  --admin-text:var(--clean-ink);
  --admin-muted:var(--clean-muted);
  --admin-border:var(--clean-line);
  background:var(--clean-bg) !important;
  color:var(--clean-ink) !important;
  letter-spacing:0;
}

body.admin-body .admin-sidebar {
  background:#fff !important;
  border-right:1px solid var(--clean-line) !important;
  box-shadow:10px 0 30px rgba(124,91,232,.06) !important;
}

body.admin-body .admin-brand,
body.admin-body .admin-sidebar-user,
body.admin-body .admin-delivery-card,
body.admin-body .admin-sidebar-foot {
  border-color:var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:var(--clean-lilac) !important;
  color:var(--clean-ink) !important;
}

body.admin-body .admin-menu a,
body.admin-body .admin-menu summary,
body.admin-body .admin-submenu a.admin-subitem {
  border-radius:var(--clean-radius) !important;
  color:var(--clean-muted) !important;
  background:transparent !important;
}

body.admin-body .admin-menu a:hover,
body.admin-body .admin-menu a.active,
body.admin-body .admin-menu summary:hover,
body.admin-body .admin-menu details[open] > summary,
body.admin-body .admin-submenu a.admin-subitem:hover,
body.admin-body .admin-submenu a.admin-subitem.active {
  background:var(--clean-lilac) !important;
  color:var(--clean-brand-dark) !important;
}

body.admin-body .admin-menu a .icon,
body.admin-body .admin-menu summary .icon,
body.admin-body .admin-sidebar-avatar {
  background:#fff !important;
  color:var(--clean-brand-dark) !important;
  border-color:var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
}

body.admin-body .admin-main,
body.admin-body .admin-content { background:var(--clean-bg) !important; }

body.admin-body .admin-header {
  background:rgba(255,255,255,.96) !important;
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  box-shadow:0 14px 34px rgba(73,55,128,.07) !important;
}

body.admin-body .admin-header-title h1,
body.admin-body .admin-dashboard-title h2,
body.admin-body .admin-panel-title h3,
body.admin-body .admin-card-head h3,
body.admin-body .panel h2,
body.admin-body .panel h3,
body.admin-body .panel h4 {
  color:var(--clean-ink) !important;
  letter-spacing:0 !important;
}

body.admin-body .admin-header-title p,
body.admin-body .admin-dashboard-title p,
body.admin-body .admin-panel-title p,
body.admin-body .muted,
body.admin-body small { color:var(--clean-muted) !important; }

body.admin-body .panel,
body.admin-body .admin-metric-card,
body.admin-body .admin-table-wrap,
body.admin-body .settings-nav-panel,
body.admin-body .settings-content-panel,
body.admin-body .settings-tab-section,
body.admin-body .product-editor-section,
body.admin-body .settings-gateway-card,
body.admin-body .settings-info-grid article,
body.admin-body .settings-integration-grid article,
body.admin-body .all-products-list-panel,
body.admin-body .coupon-form-panel,
body.admin-body .coupon-list-panel {
  border:1px solid var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(73,55,128,.07) !important;
}

body.admin-body .admin-metric-card span,
body.admin-body .orders-admin-kpis .panel span {
  background:var(--clean-lilac) !important;
  color:var(--clean-brand-dark) !important;
  border-radius:var(--clean-radius) !important;
}

body.admin-body .admin-metric-card.pink,
body.admin-body .admin-metric-card.purple,
body.admin-body .admin-metric-card.yellow,
body.admin-body .admin-metric-card.rose { background:#fff !important; }

body.admin-body .admin-table th,
body.admin-body .all-products-list-head {
  background:var(--clean-lilac) !important;
  color:var(--clean-brand-dark) !important;
  border-color:var(--clean-line) !important;
}

body.admin-body .admin-table td,
body.admin-body .all-products-row {
  border-color:var(--clean-line) !important;
  color:var(--clean-ink) !important;
}

body.admin-body input,
body.admin-body select,
body.admin-body textarea,
body.admin-body .settings-search input,
body.admin-body .admin-global-search input {
  border:1px solid var(--clean-line) !important;
  border-radius:0 !important;
  background:#fff !important;
  color:var(--clean-ink) !important;
  box-shadow:none !important;
}

body.admin-body input:focus,
body.admin-body select:focus,
body.admin-body textarea:focus,
body.admin-body .settings-search input:focus,
body.admin-body .admin-global-search input:focus {
  border-color:#cbbcf8 !important;
  box-shadow:0 0 0 4px rgba(124,91,232,.12) !important;
  outline:0 !important;
}

body.admin-body button,
body.admin-body .button,
body.admin-body .admin-new-product,
body.admin-body .admin-view-store,
body.admin-body .admin-logout,
body.admin-body .admin-notify,
body.admin-body .theme-button { border-radius:var(--clean-radius) !important; }

body.admin-body button,
body.admin-body .button,
body.admin-body .admin-new-product {
  background:var(--clean-brand) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 12px 24px rgba(124,91,232,.18) !important;
}

body.admin-body button:hover,
body.admin-body .button:hover,
body.admin-body .admin-new-product:hover { background:var(--clean-brand-dark) !important; }

body.admin-body .admin-view-store,
body.admin-body .admin-logout,
body.admin-body .admin-notify,
body.admin-body .theme-button,
body.admin-body .settings-tabs a {
  background:#fff !important;
  color:var(--clean-brand-dark) !important;
  border:1px solid var(--clean-line) !important;
  box-shadow:none !important;
}

body.admin-body .settings-tabs a:hover,
body.admin-body .settings-tabs a.active,
body.admin-body .settings-tabs a[aria-current="page"] {
  background:var(--clean-lilac) !important;
  border-color:#dccfff !important;
}

body.admin-body .status-pill.pending { background:#fff8e6 !important; color:#8a5b00 !important; }
body.admin-body .status-pill.paid,
body.admin-body .status-pill.active { background:#efeaff !important; color:var(--clean-brand-dark) !important; }
body.admin-body .status-pill.cancelled,
body.admin-body .status-pill.inactive { background:#fff0f5 !important; color:#a33b64 !important; }

body.admin-body .product-choice-group label,
body.admin-body .settings-toggle-grid label,
body.admin-body .settings-gateway-card label:has(input[type="checkbox"]) {
  border-color:var(--clean-line) !important;
  border-radius:var(--clean-radius) !important;
  background:#fff !important;
}

body.admin-body .product-choice-group label:has(input:checked),
body.admin-body .settings-toggle-grid label:has(input:checked) {
  background:var(--clean-lilac) !important;
  border-color:#dccfff !important;
}

@media(max-width:760px) {
  body:not(.admin-body) .store-hero-copy h1 { font-size:32px !important; }
  body:not(.admin-body) .site-header .topbar { gap:12px !important; }
  body.admin-body .admin-header { border-radius:0 !important; }
}

/* Editor Visual Jumpseller-style v1.0.82 */
body.admin-body .visual-studio-head {
  align-items:center !important;
  margin-bottom:16px !important;
}
body.admin-body .visual-studio-shell {
  display:grid !important;
  grid-template-columns:178px minmax(0,1fr) 360px !important;
  gap:16px !important;
  align-items:start !important;
}
body.admin-body .visual-studio-sidebar {
  position:sticky !important;
  top:18px !important;
  display:grid !important;
  gap:6px !important;
  padding:10px !important;
  background:#fff !important;
}
body.admin-body .visual-studio-sidebar a {
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  min-height:40px !important;
  padding:9px 10px !important;
  border-radius:8px !important;
  color:var(--clean-muted,#746f83) !important;
  font-weight:800 !important;
  text-decoration:none !important;
}
body.admin-body .visual-studio-sidebar a:hover,
body.admin-body .visual-studio-sidebar a.active {
  background:var(--clean-lilac,#f5f0ff) !important;
  color:var(--clean-brand-dark,#6345c7) !important;
}
body.admin-body .visual-studio-sidebar .icon {
  display:inline-flex !important;
  width:22px !important;
  height:22px !important;
  color:inherit !important;
}
body.admin-body .visual-studio-form {
  display:grid !important;
  gap:14px !important;
  padding:14px !important;
  background:#fff !important;
}
body.admin-body .visual-studio-section {
  display:grid !important;
  gap:14px !important;
  padding:18px !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.admin-body .visual-studio-title {
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) !important;
  gap:12px !important;
  align-items:start !important;
}
body.admin-body .visual-studio-title > span {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  border-radius:8px !important;
  background:var(--clean-lilac,#f5f0ff) !important;
  color:var(--clean-brand-dark,#6345c7) !important;
  font-weight:900 !important;
}
body.admin-body .visual-studio-title h3 {
  margin:0 0 3px !important;
  font-size:20px !important;
}
body.admin-body .visual-studio-title p {
  margin:0 !important;
  color:var(--clean-muted,#746f83) !important;
}
body.admin-body .visual-preset-grid,
body.admin-body .visual-asset-grid,
body.admin-body .visual-steps-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.admin-body .visual-preset-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
body.admin-body .visual-preset {
  display:grid !important;
  grid-template-columns:34px minmax(0,1fr) !important;
  gap:9px !important;
  align-items:center !important;
  min-height:46px !important;
  padding:8px !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--clean-ink,#252033) !important;
  box-shadow:none !important;
  text-align:left !important;
}
body.admin-body .visual-preset:hover {
  border-color:#dccfff !important;
  background:var(--clean-lilac,#f5f0ff) !important;
}
body.admin-body .visual-preset i {
  display:block !important;
  width:34px !important;
  height:30px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,var(--p),var(--a) 58%,var(--b)) !important;
  border:1px solid rgba(45,36,75,.08) !important;
}
body.admin-body .visual-preset span {
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .visual-color-grid input[type="color"] {
  width:100% !important;
  height:42px !important;
  padding:4px !important;
}
body.admin-body .visual-asset-grid label,
body.admin-body .visual-section-switches label,
body.admin-body .visual-steps-grid label,
body.admin-body .visual-nav-editor > div {
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:#fff !important;
  padding:12px !important;
}
body.admin-body .visual-asset-grid label span {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:8px !important;
}
body.admin-body .visual-asset-grid img {
  width:52px !important;
  height:52px !important;
  border-radius:8px !important;
  object-fit:cover !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
}
body.admin-body .visual-nav-editor {
  display:grid !important;
  gap:8px !important;
}
body.admin-body .visual-nav-editor > div {
  display:grid !important;
  grid-template-columns:34px minmax(120px,.65fr) minmax(180px,1fr) !important;
  gap:10px !important;
  align-items:end !important;
}
body.admin-body .visual-nav-editor > div > span {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
  background:var(--clean-lilac,#f5f0ff) !important;
  color:var(--clean-brand-dark,#6345c7) !important;
  font-weight:900 !important;
}
body.admin-body .compact-toggle-grid,
body.admin-body .visual-section-switches {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.admin-body .visual-section-switches label span {
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  gap:2px 8px !important;
  align-items:start !important;
}
body.admin-body .visual-section-switches input { grid-row:1 / span 2 !important; margin-top:3px !important; }
body.admin-body .visual-section-switches small { display:block !important; }
body.admin-body .visual-save-bar {
  position:sticky !important;
  bottom:0 !important;
  z-index:2 !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:10px !important;
  padding:12px !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 -12px 28px rgba(73,55,128,.07) !important;
  backdrop-filter:blur(10px) !important;
}
body.admin-body .visual-live-preview {
  position:sticky !important;
  top:18px !important;
  padding:10px !important;
  overflow:hidden !important;
  background:#fff !important;
}
body.admin-body .visual-preview-toolbar {
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-height:36px !important;
  padding:0 4px 8px !important;
  color:var(--clean-muted,#746f83) !important;
}
body.admin-body .visual-preview-toolbar span {
  width:9px !important;
  height:9px !important;
  border-radius:999px !important;
  background:#f7a9c8 !important;
}
body.admin-body .visual-preview-toolbar span:nth-child(2) { background:#c4b5fd !important; }
body.admin-body .visual-preview-toolbar span:nth-child(3) { background:#f4d783 !important; }
body.admin-body .visual-preview-toolbar strong { margin-left:auto !important; font-size:12px !important; }
body.admin-body .visual-preview-store {
  display:grid !important;
  gap:12px !important;
  min-height:520px !important;
  padding:14px !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:var(--preview-bg,#fdfbff) !important;
  color:#252033 !important;
}
body.admin-body .visual-preview-top {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  min-height:42px !important;
}
body.admin-body .visual-preview-top div { display:flex !important; align-items:center !important; gap:8px !important; min-width:0 !important; }
body.admin-body .visual-preview-top b,
body.admin-body .visual-preview-top img {
  width:34px !important;
  height:34px !important;
  border-radius:8px !important;
  background:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:var(--preview-primary,#7c5be8) !important;
  object-fit:cover !important;
}
body.admin-body .visual-preview-top strong {
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .visual-preview-top em {
  flex:0 0 auto !important;
  max-width:122px !important;
  padding:7px 9px !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--preview-primary,#7c5be8) !important;
  font-style:normal !important;
  font-size:12px !important;
  font-weight:800 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .visual-preview-search {
  min-height:38px !important;
  padding:10px 12px !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#746f83 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.admin-body .visual-preview-hero {
  display:grid !important;
  gap:8px !important;
  align-content:end !important;
  min-height:230px !important;
  padding:18px !important;
  border-radius:8px !important;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,244,248,.92)) !important;
  overflow:hidden !important;
  position:relative !important;
}
body.admin-body .visual-preview-hero img {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  opacity:.26 !important;
}
body.admin-body .visual-preview-hero span,
body.admin-body .visual-preview-hero h3,
body.admin-body .visual-preview-hero p,
body.admin-body .visual-preview-hero button { position:relative !important; z-index:1 !important; }
body.admin-body .visual-preview-hero span { color:var(--preview-primary,#7c5be8) !important; font-weight:900 !important; font-size:12px !important; }
body.admin-body .visual-preview-hero h3 { margin:0 !important; font-size:26px !important; line-height:1.08 !important; color:#252033 !important; }
body.admin-body .visual-preview-hero p { margin:0 !important; color:#746f83 !important; line-height:1.45 !important; }
body.admin-body .visual-preview-hero button {
  justify-self:start !important;
  min-height:36px !important;
  padding:8px 12px !important;
  border:0 !important;
  border-radius:8px !important;
  background:var(--preview-primary,#7c5be8) !important;
  color:#fff !important;
  font-weight:900 !important;
}
body.admin-body .visual-preview-products {
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:8px !important;
}
body.admin-body .visual-preview-products article {
  min-height:96px !important;
  border-radius:8px !important;
  background:#fff !important;
  border:1px solid rgba(124,91,232,.11) !important;
}
@media(max-width:1280px) {
  body.admin-body .visual-studio-shell { grid-template-columns:150px minmax(0,1fr) !important; }
  body.admin-body .visual-live-preview { position:static !important; grid-column:2 !important; }
}
@media(max-width:980px) {
  body.admin-body .visual-studio-shell { grid-template-columns:1fr !important; }
  body.admin-body .visual-studio-sidebar { position:static !important; display:flex !important; overflow:auto !important; }
  body.admin-body .visual-live-preview { grid-column:auto !important; }
  body.admin-body .visual-preset-grid,
  body.admin-body .visual-asset-grid,
  body.admin-body .visual-steps-grid,
  body.admin-body .compact-toggle-grid,
  body.admin-body .visual-section-switches { grid-template-columns:1fr !important; }
}
@media(max-width:640px) {
  body.admin-body .visual-nav-editor > div { grid-template-columns:1fr !important; }
  body.admin-body .visual-preview-store { min-height:420px !important; }
  body.admin-body .visual-save-bar { position:static !important; flex-direction:column !important; }
}

/* Hero banner balance v1.0.83 */
body:not(.admin-body) .store-hero.has-hero-image {
  grid-template-columns:minmax(320px,.76fr) minmax(420px,1.24fr) !important;
  gap:34px !important;
  min-height:360px !important;
  padding:34px min(6vw,76px) !important;
  align-items:center !important;
}
body:not(.admin-body) .store-hero.has-hero-image .store-hero-copy {
  max-width:520px !important;
}
body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
  width:100% !important;
  min-height:0 !important;
  aspect-ratio:16 / 6.2 !important;
  display:block !important;
  align-self:center !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:var(--clean-lilac,#f5f0ff) !important;
  box-shadow:0 20px 44px rgba(73,55,128,.12) !important;
}
body:not(.admin-body) .store-hero.has-hero-image .store-hero-art img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
}
@media(max-width:980px) {
  body:not(.admin-body) .store-hero.has-hero-image {
    grid-template-columns:1fr !important;
    min-height:0 !important;
    gap:22px !important;
  }
  body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
    aspect-ratio:16 / 7 !important;
  }
}
@media(max-width:560px) {
  body:not(.admin-body) .store-hero.has-hero-image {
    padding:24px 18px !important;
  }
  body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
    aspect-ratio:16 / 8.5 !important;
  }
}

/* Home full banner reference v1.0.84 */
body:not(.admin-body) .store-hero.has-hero-image {
  display:block !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 0 22px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
body:not(.admin-body) .store-hero.has-hero-image::before,
body:not(.admin-body) .store-hero.has-hero-image .store-hero-copy {
  display:none !important;
}
body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  aspect-ratio:16 / 2.82 !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 18px 42px rgba(73,55,128,.10) !important;
}
body:not(.admin-body) .store-hero.has-hero-image .store-hero-art img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
}
@media(max-width:760px) {
  body:not(.admin-body) .store-hero.has-hero-image {
    margin-bottom:16px !important;
  }
  body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
    aspect-ratio:16 / 5.8 !important;
  }
}
@media(max-width:480px) {
  body:not(.admin-body) .store-hero.has-hero-image .store-hero-art {
    aspect-ratio:16 / 7.4 !important;
  }
}

/* Three-image hero slider v1.0.85 */
body:not(.admin-body) .store-hero.has-hero-slider .store-hero-art {
  position:relative !important;
  display:block !important;
}
body:not(.admin-body) .hero-slider,
body:not(.admin-body) .hero-slider-track {
  width:100% !important;
  height:100% !important;
}
body:not(.admin-body) .hero-slider {
  position:relative !important;
  overflow:hidden !important;
  border-radius:8px !important;
  background:#fff !important;
}
body:not(.admin-body) .hero-slider-track {
  display:flex !important;
  transition:transform .72s ease !important;
  will-change:transform !important;
}
body:not(.admin-body) .hero-slider .hero-slide {
  flex:0 0 100% !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  filter:none !important;
}
body:not(.admin-body) .hero-slider-dots {
  position:absolute !important;
  left:50% !important;
  bottom:10px !important;
  transform:translateX(-50%) !important;
  display:flex !important;
  gap:7px !important;
  align-items:center !important;
  justify-content:center !important;
  padding:5px 7px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.78) !important;
  box-shadow:0 8px 20px rgba(73,55,128,.10) !important;
}
body:not(.admin-body) .hero-slider-dots span {
  width:8px !important;
  height:8px !important;
  border-radius:999px !important;
  background:#c8c3d3 !important;
  cursor:pointer !important;
}
body:not(.admin-body) .hero-slider-dots span.active {
  width:18px !important;
  background:var(--brand,#7c5be8) !important;
}
body.admin-body .visual-banner-current {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.admin-body .visual-banner-current figure {
  margin:0 !important;
  padding:8px !important;
  border:1px solid var(--clean-line,#eee7f8) !important;
  border-radius:8px !important;
  background:#fff !important;
}
body.admin-body .visual-banner-current img {
  display:block !important;
  width:100% !important;
  aspect-ratio:16 / 5.5 !important;
  object-fit:cover !important;
  border-radius:8px !important;
  background:var(--clean-lilac,#f5f0ff) !important;
}
body.admin-body .visual-banner-current figcaption {
  margin-top:6px !important;
  color:var(--clean-muted,#746f83) !important;
  font-size:12px !important;
  font-weight:800 !important;
}
@media(max-width:760px) {
  body.admin-body .visual-banner-current { grid-template-columns:1fr !important; }
}

/* Four-image hero slider v1.0.86 */
body.admin-body .visual-banner-current {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
body.admin-body .visual-studio-section#visual-hero .form-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
body:not(.admin-body) .hero-slider .hero-slide {
  flex:0 0 100% !important;
}
@media(max-width:1180px) {
  body.admin-body .visual-banner-current { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:760px) {
  body.admin-body .visual-banner-current,
  body.admin-body .visual-studio-section#visual-hero .form-grid { grid-template-columns:1fr !important; }
}

/* Header action text weight v1.0.87 */
body:not(.admin-body) .auth-actions a,
body:not(.admin-body) .top-cart-link,
body:not(.admin-body) .top-auth-link,
body:not(.admin-body) .client-access-link,
body:not(.admin-body) .admin-link {
  font-weight:400 !important;
}
body:not(.admin-body) .top-cart-link span {
  font-weight:500 !important;
}

/* Product highlight title option v1.0.88 */
body.admin-body .product-highlight-toggle {
  align-content:start !important;
  gap:8px !important;
}
body.admin-body .product-highlight-toggle em,
body.admin-body .product-highlight-toggle > input {
  display:none !important;
}
body.admin-body .product-highlight-toggle:has(input[type="checkbox"]:checked) em,
body.admin-body .product-highlight-toggle:has(input[type="checkbox"]:checked) > input {
  display:block !important;
}
body.admin-body .product-highlight-toggle em {
  margin-top:4px !important;
  color:var(--clean-muted,#746f83) !important;
  font-size:12px !important;
  font-style:normal !important;
  font-weight:700 !important;
}
body.admin-body .product-highlight-toggle > input {
  width:100% !important;
  min-height:38px !important;
}
body.admin-body .product-highlight-toggle:has(input[type="checkbox"]:checked) {
  background:var(--clean-lilac,#f5f0ff) !important;
  border-color:#dccfff !important;
}

/* Store account header cleanup v1.0.89 */
body:not(.admin-body) .admin-link {
  display:none !important;
}
body:not(.admin-body) .auth-actions {
  gap:14px !important;
}
body:not(.admin-body) .auth-actions a,
body:not(.admin-body) .top-cart-link,
body:not(.admin-body) .top-auth-link,
body:not(.admin-body) .client-access-link {
  font-size:13px !important;
  font-weight:400 !important;
  line-height:1.35 !important;
}
body:not(.admin-body) .top-cart-link {
  min-height:36px !important;
  padding:7px 10px !important;
}
body:not(.admin-body) .top-cart-link .icon svg,
body:not(.admin-body) .top-auth-link .icon svg,
body:not(.admin-body) .client-access-link .icon svg {
  width:22px !important;
  height:22px !important;
}
body:not(.admin-body) .top-cart-link span {
  font-size:12px !important;
  font-weight:500 !important;
}

/* Vertical product cards uniform images v1.0.90 */
body:not(.admin-body) .store-products {
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr)) !important;
  align-items:stretch !important;
  gap:18px !important;
}
body:not(.admin-body) .store-product-card {
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  height:100% !important;
  border-radius:8px !important;
}
body:not(.admin-body) .store-product-image {
  flex:0 0 auto !important;
  width:100% !important;
  aspect-ratio:4 / 3.35 !important;
  overflow:hidden !important;
  border-radius:8px 8px 0 0 !important;
  background:var(--clean-lilac,#f5f0ff) !important;
}
body:not(.admin-body) .store-product-image img,
body:not(.admin-body) .store-product-image .product-img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center !important;
}
body:not(.admin-body) .store-product-body {
  flex:1 1 auto !important;
  display:grid !important;
  grid-template-rows:auto minmax(38px,auto) 1fr auto !important;
  gap:8px !important;
  padding:14px !important;
  min-height:156px !important;
}
body:not(.admin-body) .store-product-body h3 {
  min-height:36px !important;
  margin:0 !important;
  line-height:1.25 !important;
}
body:not(.admin-body) .store-product-body > span {
  min-height:38px !important;
  line-height:1.35 !important;
}
body:not(.admin-body) .store-product-bottom {
  align-self:end !important;
  margin-top:8px !important;
  min-height:38px !important;
}
body:not(.admin-body) .store-highlight-products {
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr)) !important;
}
@media(max-width:760px) {
  body:not(.admin-body) .store-products,
  body:not(.admin-body) .store-highlight-products {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  body:not(.admin-body) .store-product-body { padding:12px !important; min-height:148px !important; }
}
@media(max-width:460px) {
  body:not(.admin-body) .store-products,
  body:not(.admin-body) .store-highlight-products {
    grid-template-columns:1fr !important;
  }
}

/* Product text alignment clamp v1.0.91 */
body:not(.admin-body) .store-product-body {
  display:grid !important;
  grid-template-rows:44px 42px 1fr 40px !important;
  min-height:168px !important;
  align-items:start !important;
}
body:not(.admin-body) .store-product-body h3 {
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  min-height:44px !important;
  max-height:44px !important;
  overflow:hidden !important;
  line-height:1.25 !important;
  font-size:14px !important;
}
body:not(.admin-body) .store-product-body > span {
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  min-height:42px !important;
  max-height:42px !important;
  overflow:hidden !important;
  line-height:1.35 !important;
  font-size:13px !important;
}
body:not(.admin-body) .store-product-bottom {
  grid-row:4 !important;
  align-self:end !important;
  min-height:40px !important;
  margin-top:0 !important;
}
body:not(.admin-body) .store-product-bottom strong {
  white-space:nowrap !important;
}
body:not(.admin-body) .store-product-bottom > div {
  flex:0 0 auto !important;
}
@media(max-width:760px) {
  body:not(.admin-body) .store-product-body {
    grid-template-rows:44px 42px 1fr 38px !important;
    min-height:164px !important;
  }
}

body.admin-body .payments-gateway-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
body.admin-body .payments-settings-form {
  display: grid;
  gap: 16px;
}
body.admin-body .payments-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.admin-body .payments-toggle-row label {
  align-items: center;
  background: #fbf8ff;
  border: 1px solid #eadfff;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
}
body.admin-body .payments-toggle-row input {
  min-height: auto;
  width: auto;
}
body.admin-body .payments-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.admin-body .payments-form-grid input[readonly] {
  background: #f8f6fc;
  color: #5f5775;
}
@media (max-width: 760px) {
  body.admin-body .payments-form-grid {
    grid-template-columns: 1fr;
  }
}

body.admin-body .settings-bank-guide .settings-gateway-card {
  align-content: start;
  min-height: 190px;
}
body.admin-body .settings-bank-guide .settings-gateway-card p {
  color: var(--admin-muted, #707586);
  line-height: 1.45;
  margin: 0;
}
body.admin-body .settings-bank-guide .settings-gateway-card.connected {
  border-color: #d9c7ff;
  box-shadow: 0 16px 36px rgba(127, 83, 214, .10);
}

/* Admin themes v1.0.93: shared palette for the complete admin shell. */
html[data-theme] body.admin-body {
 --theme-bg:#f4f5f9; --theme-card:#ffffff; --theme-soft:#ebeef5;
 --theme-text:#252b3b; --theme-muted:#596377; --theme-line:#d9deea; --theme-link:#6345c7;
 color-scheme:light;
}
html[data-theme="medium"] body.admin-body {
 --theme-bg:#343b49; --theme-card:#414a5b; --theme-soft:#505b6f;
 --theme-text:#f4f6fb; --theme-muted:#d2d9e6; --theme-line:#69758b; --theme-link:#ddd0ff;
 color-scheme:dark;
}
html[data-theme="dark"] body.admin-body {
 --theme-bg:#0b0e14; --theme-card:#141923; --theme-soft:#202838;
 --theme-text:#f1f4fa; --theme-muted:#b8c3d5; --theme-line:#354158; --theme-link:#cfbdff;
 color-scheme:dark;
}
html[data-theme] body.admin-body {
 --clean-bg:var(--theme-bg); --clean-ink:var(--theme-text); --clean-muted:var(--theme-muted);
 --clean-line:var(--theme-line); --clean-lilac:var(--theme-soft); --clean-pink-soft:var(--theme-soft);
 --clean-brand-dark:var(--theme-link); --admin-bg:var(--theme-bg); --admin-card:var(--theme-card);
 --admin-text:var(--theme-text); --admin-muted:var(--theme-muted); --admin-border:var(--theme-line);
 --paper:var(--theme-card); --soft:var(--theme-bg); --ink:var(--theme-text); --muted:var(--theme-muted); --line:var(--theme-line);
 background:var(--theme-bg)!important; color:var(--theme-text)!important;
}
html[data-theme] body.admin-body .admin-sidebar,
html[data-theme] body.admin-body .admin-header,
html[data-theme] body.admin-body .panel,
html[data-theme] body.admin-body .admin-metric-card,
html[data-theme] body.admin-body .admin-table-wrap,
html[data-theme] body.admin-body .admin-alerts,
html[data-theme] body.admin-body .alert-head,
html[data-theme] body.admin-body .alert-tile,
html[data-theme] body.admin-body table,
html[data-theme] body.admin-body input,
html[data-theme] body.admin-body textarea,
html[data-theme] body.admin-body select,
html[data-theme] body.admin-body .admin-global-search,
html[data-theme] body.admin-body .admin-notify,
html[data-theme] body.admin-body .admin-sidebar-avatar,
html[data-theme] body.admin-body .theme-button,
html[data-theme] body.admin-body .button.ghost,
html[data-theme] body.admin-body .admin-top-utilities .admin-notify span,
html[data-theme] body.admin-body .settings-file-preview img,
html[data-theme] body.admin-body .admin-menu a .icon,
html[data-theme] body.admin-body .admin-menu summary .icon,
html[data-theme] body.admin-body .settings-nav-panel,
html[data-theme] body.admin-body .settings-content-panel,
html[data-theme] body.admin-body .settings-tab-section,
html[data-theme] body.admin-body .product-editor-section,
html[data-theme] body.admin-body .settings-gateway-card,
html[data-theme] body.admin-body .settings-info-grid article,
html[data-theme] body.admin-body .settings-integration-grid article,
html[data-theme] body.admin-body .all-products-list-panel,
html[data-theme] body.admin-body .coupon-form-panel,
html[data-theme] body.admin-body .coupon-list-panel,
html[data-theme] body.admin-body .admin-metric-card.pink,
html[data-theme] body.admin-body .admin-metric-card.purple,
html[data-theme] body.admin-body .admin-metric-card.yellow,
html[data-theme] body.admin-body .admin-metric-card.rose,
html[data-theme] body.admin-body .settings-search input,
html[data-theme] body.admin-body .admin-global-search input,
html[data-theme] body.admin-body .admin-view-store,
html[data-theme] body.admin-body .admin-logout,
html[data-theme] body.admin-body .settings-tabs a,
html[data-theme] body.admin-body .product-choice-group label,
html[data-theme] body.admin-body .settings-toggle-grid label,
html[data-theme] body.admin-body .settings-gateway-card label:has(input[type="checkbox"]),
html[data-theme] body.admin-body .visual-studio-sidebar,
html[data-theme] body.admin-body .visual-studio-form,
html[data-theme] body.admin-body .visual-studio-section,
html[data-theme] body.admin-body .visual-preset,
html[data-theme] body.admin-body .visual-asset-grid label,
html[data-theme] body.admin-body .visual-section-switches label,
html[data-theme] body.admin-body .visual-steps-grid label,
html[data-theme] body.admin-body .visual-nav-editor > div,
html[data-theme] body.admin-body .visual-save-bar,
html[data-theme] body.admin-body .visual-live-preview,
html[data-theme] body.admin-body .visual-preview-top b,
html[data-theme] body.admin-body .visual-preview-top img,
html[data-theme] body.admin-body .visual-preview-top em,
html[data-theme] body.admin-body .visual-preview-search,
html[data-theme] body.admin-body .visual-preview-products article,
html[data-theme] body.admin-body .visual-banner-current figure { background:var(--theme-card)!important; color:var(--theme-text)!important; border-color:var(--theme-line)!important; }

html[data-theme] body.admin-body :is(.admin-shell,.admin-workspace,.admin-main,.admin-content) {background:var(--theme-bg)!important;}
html[data-theme] body.admin-body :is(h1,h2,h3,h4,h5,h6,label,legend,td,.admin-page-head,.admin-sidebar-user strong) {color:var(--theme-text)!important;}
html[data-theme] body.admin-body :is(.muted,small,.admin-panel-title p,.admin-page-head p) {color:var(--theme-muted)!important;}
html[data-theme] body.admin-body :is(th,.all-products-list-head,.admin-delivery-card,.admin-brand,.admin-sidebar-user,.admin-sidebar-foot,.payments-toggle-row label,.settings-toggle-grid label,.product-choice-group label,.highlight-product-picker label,.pix-box) {background:var(--theme-soft)!important; color:var(--theme-text)!important; border-color:var(--theme-line)!important;}
html[data-theme] body.admin-body :is(input,textarea)::placeholder {color:var(--theme-muted)!important; opacity:1;}
html[data-theme] body.admin-body :is(input,textarea,select):focus-visible {outline:2px solid var(--theme-link)!important; outline-offset:2px;}
html[data-theme] body.admin-body .admin-top-utilities {width:auto!important; min-width:0!important; flex-shrink:0; grid-template-columns:repeat(4,34px)!important;}
html[data-theme] body.admin-body .admin-top-utilities .theme-switch {display:contents!important;}
html[data-theme] body.admin-body .admin-top-utilities .theme-button {background:var(--theme-card)!important; color:var(--theme-muted)!important; border:1px solid var(--theme-line)!important; box-shadow:none!important;}
html[data-theme] body.admin-body .admin-top-utilities .theme-button[aria-pressed="true"] {background:#7352c7!important; color:#fff!important; border-color:#a98de9!important; box-shadow:0 0 0 2px var(--theme-bg)!important;}
html[data-theme] body.admin-body .admin-top-utilities .theme-button:hover {background:var(--theme-soft)!important; color:var(--theme-text)!important;}
html[data-theme] body.admin-body .theme-button:focus-visible {outline:2px solid var(--theme-link)!important; outline-offset:3px;}
html[data-theme] body.admin-body :is(.admin-new-product,button[type="submit"]):hover {background:#6345c7!important; color:#fff!important;}

html[data-theme] body.admin-body .backup-admin-card .inline-check span,
html[data-theme] body.admin-body .highlight-product-picker label,
html[data-theme] body.admin-body .admin-live-product-preview,
html[data-theme] body.admin-body .admin-live-product-preview .store-product-image,
html[data-theme] body.admin-body .admin-live-product-preview .store-product-body,
html[data-theme] body.admin-body .product-choice-group,
html[data-theme] body.admin-body .product-choice-group label,
html[data-theme] body.admin-body .product-choice-group label:has(input:checked),
html[data-theme] body.admin-body .category-status-field span,
html[data-theme] body.admin-body .coupon-list-panel td:first-child strong,
html[data-theme] body.admin-body .all-products-list-head,
html[data-theme] body.admin-body .settings-tabs a:hover,
html[data-theme] body.admin-body .settings-tabs a:focus,
html[data-theme] body.admin-body .settings-toggle-grid span,
html[data-theme] body.admin-body .settings-gateway-card label span,
html[data-theme] body.admin-body .settings-file-preview,
html[data-theme] body.admin-body .settings-gateway-card,
html[data-theme] body.admin-body .settings-integration-grid article,
html[data-theme] body.admin-body .settings-info-grid article,
html[data-theme] body.admin-body .settings-user-permission-grid article,
html[data-theme] body.admin-body .product-editor-section,
html[data-theme] body.admin-body .product-editor-tips {background:var(--theme-card)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;}

@media(min-width:1101px){html[data-theme] body.admin-body .admin-header-actions {grid-template-columns:132px minmax(160px,1fr) 154px 154px 94px!important;}}

/* Settings full-width layout v1.0.95 */
body.admin-body .settings-hub,
body.admin-body .settings-content-panel,
body.admin-body .settings-tab-section {width:100%!important;max-width:none!important;min-width:0!important;justify-self:stretch!important;}
body.admin-body .settings-content-panel {grid-column:1 / -1!important;}

/* Identity uploads: consistent rows v1.0.101 */
body.admin-body #settings-identidade .identity-upload-field {grid-template-rows:24px 46px 56px!important;align-content:start!important;gap:10px!important;}
body.admin-body #settings-identidade .identity-upload-title {line-height:24px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.admin-body #settings-identidade input[type="file"] {height:46px!important;min-height:46px!important;width:100%!important;min-width:0!important;padding:10px 12px!important;align-self:start!important;}
body.admin-body #settings-identidade .settings-file-preview {height:56px!important;min-height:56px!important;margin-top:0!important;overflow:hidden;}
body.admin-body #settings-identidade .settings-file-preview small {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.admin-body #settings-identidade .identity-preview-empty {display:grid;place-items:center;width:54px;height:40px;color:var(--theme-muted);}

/* Product list width and aligned actions v1.0.106 */
body.admin-body .admin-content:has(.all-products-list-panel) {width:calc(100% - 24px)!important;max-width:none!important;min-width:0!important;}
body.admin-body .all-products-list-panel {overflow-x:auto!important;}
body.admin-body .all-products-list {overflow:visible!important;}
body.admin-body .all-products-list-head,
body.admin-body .all-products-row {grid-template-columns:28px minmax(150px,1.2fr) 90px 85px 100px 95px minmax(160px,1fr) 100px 360px!important;min-width:1300px!important;}
body.admin-body .all-products-row > * {min-width:0;}
body.admin-body .all-products-actions {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;align-items:center!important;}
body.admin-body .all-products-actions :is(button,.button) {width:100%!important;height:38px!important;min-height:38px!important;padding:6px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;}
@media(max-width:980px){
 body.admin-body .all-products-list-head {display:none!important;}
 body.admin-body .all-products-row {grid-template-columns:minmax(0,1fr)!important;min-width:0!important;}
 body.admin-body .all-products-list-panel {overflow:visible!important;}
 body.admin-body .all-products-actions {width:100%!important;max-width:360px!important;}
}

/* Expanded admin navigation v1.0.107 */
body.admin-body .admin-sidebar {position:relative!important;top:auto!important;height:auto!important;max-height:none!important;min-height:100vh!important;align-self:stretch!important;overflow:visible!important;}
body.admin-body .admin-menu.admin-menu-responsive {height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important;grid-template-columns:1fr!important;}
body.admin-body .admin-menu-heading {display:flex;align-items:center;gap:9px;min-height:32px;padding:7px 9px;font-size:12px;font-weight:800;color:var(--theme-text,var(--admin-text));}
body.admin-body .admin-menu-heading .icon {display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;}
body.admin-body .admin-submenu {display:grid!important;max-height:none!important;overflow:visible!important;background:var(--theme-card,var(--admin-card))!important;}
@media(max-width:1100px){body.admin-body .admin-sidebar {min-height:0!important;}}

/* Featured gallery uses regular product cards v1.0.108 */
body:not(.admin-body) .store-featured-gallery .store-product-body {display:flex!important;flex-direction:column!important;gap:10px!important;}
body:not(.admin-body) .store-featured-gallery .store-product-body h3 {display:block!important;max-height:none!important;height:auto!important;min-height:44px!important;overflow:visible!important;-webkit-line-clamp:unset!important;white-space:normal!important;}
body:not(.admin-body) .store-featured-gallery .store-product-bottom {margin-top:auto!important;width:100%!important;}

/* Product detail inspired by reference v1.0.110 */
body:not(.admin-body):has(.product-detail) {background:#fff!important;}
body:not(.admin-body) .page:has(.product-detail) {width:calc(100% - 40px)!important;max-width:1280px!important;padding-top:20px;}
.product-breadcrumb {display:flex;gap:12px;font-size:13px;color:#697282;margin-bottom:24px;}
.product-detail {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;margin-bottom:48px;color:#202632;}
.product-detail-media,.product-detail-info {min-width:0;}
.product-detail-photo {display:block;background:#fafafa;border-radius:8px;overflow:hidden;}
.product-detail-photo img {display:block;width:100%;height:auto;max-height:760px;object-fit:contain;}
.product-photo-empty {min-height:350px;display:grid;place-items:center;color:#667085;}
.product-photo-hint {text-align:center;font-size:12px;color:#6c7482;margin:12px 0;}
.product-detail-info h1 {font-size:clamp(24px,2.3vw,32px);line-height:1.2;font-weight:500;letter-spacing:0;margin:0 0 18px;overflow-wrap:anywhere;}
.product-detail-price {font-size:22px;font-weight:600;margin-bottom:16px;}
.product-purchase-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px;}
body:not(.admin-body) .product-purchase-actions button {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #108b80!important;border-radius:10px;font-size:13px;font-weight:700;box-shadow:none!important;}
body:not(.admin-body) .product-purchase-actions .product-add-cart {background:#108b80!important;color:#fff!important;}
body:not(.admin-body) .product-purchase-actions .product-buy-now {background:#fff!important;color:#087d74!important;}
body:not(.admin-body) .product-purchase-actions button:hover {background:#09695f!important;color:#fff!important;}
.product-help details {border-top:1px solid #e3e6ea;padding:15px 0;}
.product-help details:last-child {border-bottom:1px solid #e3e6ea;}
.product-help summary {cursor:pointer;font-size:14px;font-weight:600;color:#087d74;}
.product-help p,.product-help a {font-size:13px;line-height:1.7;}
.product-help a {text-decoration:underline;}
.product-description {margin-top:26px;font-size:14px;line-height:1.8;overflow-wrap:anywhere;}
.product-description h2 {font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding-bottom:10px;border-bottom:1px solid #e3e6ea;margin:0 0 18px;}
.product-detail-type {font-size:12px;font-weight:600;color:#667085;}
.product-digital-notice {font-weight:600;}
.product-description-text {margin:14px 0;}
.product-detail :is(a,button,summary):focus-visible {outline:3px solid #7454cc;outline-offset:4px;}
@media(max-width:800px){.product-detail {grid-template-columns:minmax(0,1fr);gap:24px;}body:not(.admin-body) .page:has(.product-detail){width:calc(100% - 28px)!important;}.product-detail-photo img{max-height:600px;}}
@media(max-width:380px){.product-purchase-actions{grid-template-columns:1fr;}}

/* Complete product images, uniform frames v1.0.111 */
body:not(.admin-body) .store-product-image {aspect-ratio:4 / 3.35!important;background:#fff!important;}
body:not(.admin-body) .store-product-image img,
body:not(.admin-body) .store-product-image .product-img {width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#fff!important;padding:8px!important;}
body:not(.admin-body) .product-detail-photo {position:relative;aspect-ratio:1 / 1!important;min-height:0!important;background:#fff!important;}
body:not(.admin-body) .product-detail-photo img {position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;padding:8px;}
body:not(.admin-body) .cart-row img,
body:not(.admin-body) .collection-card img,
body:not(.admin-body) img.product-img {object-fit:contain!important;object-position:center!important;background:#fff!important;}

/* Checkout product summary v1.0.112 */
.checkout-order-summary {min-width:0;}
.checkout-summary-item {display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start;border-bottom:1px solid var(--clean-line,#e5e7eb);padding:14px 0;}
.checkout-summary-image {display:grid;place-items:center;width:64px;height:64px;background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden;}
.checkout-summary-image img {width:100%;height:100%;object-fit:contain;}
.checkout-summary-info {display:grid;gap:6px;min-width:0;overflow-wrap:anywhere;}
.checkout-summary-info>a {font-size:14px;font-weight:600;line-height:1.4;}
.checkout-summary-info small {font-size:12px;color:#667085;}
.checkout-summary-item>strong {grid-column:2;font-size:14px;}
/* Checkout sections inspired by reference v1.0.113 */
body:not(.admin-body):has(.checkout-flow) {background:#fff!important;}
body:not(.admin-body) .checkout-flow {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:38px;align-items:start;}
.checkout-steps {display:grid;gap:32px;min-width:0;}
.checkout-steps>section {display:grid;gap:16px;}
.checkout-step-heading {display:flex;align-items:center;justify-content:space-between;gap:14px;}
.checkout-step-heading h2 {display:flex;align-items:center;gap:8px;font-size:16px;margin:0;}
.checkout-step-heading h2>span {display:grid;place-items:center;background:#222;color:white;border-radius:50%;width:24px;height:24px;font-size:12px;}
.checkout-step-heading>a,.checkout-step-heading>span {font-size:12px;}
.checkout-steps label {font-size:13px;}
.checkout-steps input:not([type=radio]) {min-height:44px;background:#fafafa;}
.checkout-gateway {border:1px solid #d5d9e1;border-radius:10px;padding:16px;margin:0;min-width:0;}
.checkout-gateway legend {font-size:14px;font-weight:700;padding:0 8px;}
.checkout-gateway label {display:flex;align-items:center;gap:12px;padding:18px 8px;border-bottom:1px solid #eee;cursor:pointer;}
.checkout-gateway label:last-child {border-bottom:0;}
.checkout-gateway input[type=radio] {width:18px;min-height:18px;height:18px;flex-shrink:0;}
.checkout-gateway label>span {display:grid;gap:5px;}
.checkout-gateway small {font-weight:400;color:#6c7380;}
.checkout-gateway label:has(input:checked) {background:#f4f1ff;}
body:not(.admin-body) .checkout-flow .checkout-order-summary {background:#fafafa!important;border:1px solid #eee;box-shadow:none;top:20px;}
body:not(.admin-body) .checkout-pay-button {background:#222!important;color:#fff!important;min-height:48px;width:100%;}
.checkout-pay-button:disabled {opacity:.5;cursor:not-allowed;}
.order-items article {overflow-wrap:anywhere;}.order-items small {display:block;margin-top:5px;}
@media(max-width:860px){body:not(.admin-body) .checkout-flow {grid-template-columns:minmax(0,1fr);gap:28px;}.checkout-flow .checkout-order-summary{position:static;}}
body:not(.admin-body) .checkout-flow .checkout-steps {border:0!important;box-shadow:none!important;background:#fff!important;padding:20px!important;border-radius:0!important;}
body:not(.admin-body) .checkout-flow .checkout-order-summary>a.button.ghost {background:transparent!important;color:#535b68!important;box-shadow:none!important;border:1px solid #d5d9e1!important;}
