:root{--green:#08a951;--deep:#0b2f23;--ink:#10251e;--muted:#6f7e78;--line:#dce7e2;--soft:#f4f8f6;--white:#fff;--shadow:0 18px 55px rgba(11,47,35,.10)}*{box-sizing:border-box}html{font-family:Inter,Montserrat,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f6faf8}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:.72rem;color:var(--green)}.muted{color:var(--muted)}.lead{font-size:1.08rem;line-height:1.65;color:#50615b}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--green);color:white;padding:13px 18px;font-weight:800;transition:.2s}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(8,169,81,.18)}.btn.ghost{background:white;color:var(--deep);border:1px solid var(--line)}.btn.secondary{background:var(--deep)}.btn.disabled,.choice.disabled{opacity:.45;pointer-events:none}.notice{padding:13px 15px;border-radius:12px;background:#eaf8ef;margin:0 0 16px}.notice.error{background:#fff0f0}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:.84rem;font-weight:700}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:white;color:var(--ink);outline:0}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(8,169,81,.09)}.field textarea{min-height:110px;resize:vertical}.field.full{grid-column:1/-1}
/* initial */.assistant-stage{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,#e7f8ed,transparent 38%),#f7faf8}.welcome-card{width:min(720px,100%);background:white;border:1px solid var(--line);border-radius:28px;padding:clamp(28px,6vw,58px);box-shadow:var(--shadow)}.welcome-card h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.02;margin:10px 0 15px;letter-spacing:-.04em}.welcome-card>p{color:var(--muted);font-size:1.05rem;line-height:1.6}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}.choice{border:1px solid var(--line);border-radius:20px;padding:22px;display:grid;grid-template-columns:auto 1fr;column-gap:13px;row-gap:4px;background:white;transition:.2s}.choice:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.choice.primary{border-color:#bfe7ce;background:#f1fbf5}.choice-icon{grid-row:1/3;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:var(--deep);color:white;font-weight:900}.choice.primary .choice-icon{background:var(--green)}.choice b{font-size:1.03rem}.choice small{color:var(--muted);line-height:1.35}
/* assistant */.assistant-shell{min-height:100dvh}.assistant-header{height:68px;padding:0 max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line)}.catalog-logo{font-size:1.06rem}.catalog-logo b{color:var(--green)}.wa-mini{font-weight:800;font-size:.9rem;color:var(--green)}.chat-layout{max-width:1180px;margin:0 auto;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;height:calc(100dvh - 68px)}.chat-card,.selection-card{background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 30px rgba(11,47,35,.05)}.chat-card{display:flex;flex-direction:column;min-height:0;overflow:hidden}.chat-thread{padding:22px;overflow:auto;flex:1}.bubble{max-width:78%;padding:13px 15px;border-radius:17px;margin:0 0 10px;line-height:1.45;background:var(--soft)}.bubble.bot{border-bottom-left-radius:5px}.bubble.subtle{font-size:.9rem;color:var(--muted)}.bubble.user{margin-left:auto;background:var(--deep);color:white;border-bottom-right-radius:5px}.chat-form{display:flex;gap:10px;padding:14px;border-top:1px solid var(--line);background:white}.chat-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:14px;padding:13px 15px;outline:0}.chat-form button{border:0;border-radius:13px;background:var(--green);color:white;font-weight:800;padding:0 18px}.chat-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px}.chat-product{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;display:grid;grid-template-columns:92px 1fr}.cp-img{background:var(--soft);min-height:126px;display:grid;place-items:center;color:#9aaba4;font-weight:800;font-size:.75rem}.cp-img img{width:100%;height:100%;object-fit:contain}.cp-body{padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.cp-body small{color:var(--green);font-weight:800}.cp-body span{font-size:.82rem;color:var(--muted)}.cp-body strong{margin-top:2px}.cp-body button{margin-top:auto;border:0;border-radius:9px;background:var(--deep);color:white;font-size:.78rem;font-weight:800;padding:8px 10px}.selection-card{padding:18px;display:flex;flex-direction:column;min-height:0}.selection-head{display:flex;justify-content:space-between;align-items:center}.selection-head h2{margin:3px 0}.pill{min-width:30px;height:30px;border-radius:15px;background:var(--green);color:white;display:grid;place-items:center;font-weight:900}.cart-items{overflow:auto;flex:1;margin-top:10px}.empty{color:var(--muted);font-size:.9rem}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-row b{font-size:.88rem;display:block}.cart-row small{color:var(--muted)}.qty{display:flex;align-items:center;gap:8px}.qty button{width:27px;height:27px;border:1px solid var(--line);background:white;border-radius:8px}.selection-actions{padding-top:14px}.selection-actions .btn{width:100%}
/* public catalog */.catalog-wrap{max-width:1150px;margin:auto;padding:0 22px 110px}.catalog-top{height:72px;display:flex;align-items:center;justify-content:space-between}.assistant-link{font-size:.88rem;font-weight:800;color:var(--green)}.catalog-hero{border-radius:26px;background:var(--deep);color:white;padding:clamp(28px,5vw,58px);margin:8px 0 24px}.catalog-hero h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.04em;margin:8px 0}.catalog-hero p{max-width:690px;color:#d8e6e0;line-height:1.6}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.product-img{height:220px;background:var(--soft);display:grid;place-items:center;color:var(--muted)}.product-img img{width:100%;height:100%;object-fit:contain}.product-body{padding:16px}.product-body h3{margin:4px 0 8px}.product-body p{margin:4px 0;color:var(--muted)}.mini-meta{color:var(--green);font-size:.75rem;font-weight:800}.price{display:block;font-size:1.1rem;font-weight:900;margin-top:9px}.price.big{font-size:1.6rem;margin:18px 0}.sharebar{position:fixed;left:0;right:0;bottom:0;padding:10px 18px;background:rgba(247,250,248,.9);backdrop-filter:blur(14px);border-top:1px solid var(--line)}.sharebox{max-width:800px;margin:auto;display:flex;justify-content:center;gap:9px}
/* order + detail */.order-wrap,.product-detail{max-width:880px;margin:auto;padding:44px 22px}.order-wrap h1,.product-detail h1{font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.04em}.back{display:inline-block;margin-bottom:28px;color:var(--muted);font-weight:700}.order-review{background:white;border:1px solid var(--line);border-radius:18px;padding:8px 18px;margin:24px 0}.review-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.review-row:last-child{border:0}.review-row b,.review-row small{display:block}.review-row small{color:var(--muted)}.order-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:white;border:1px solid var(--line);border-radius:20px;padding:20px}.order-form button{width:max-content}.success-card{text-align:center;background:white;border:1px solid var(--line);border-radius:22px;padding:38px;margin-top:20px}.success-icon{width:54px;height:54px;margin:auto;border-radius:27px;display:grid;place-items:center;background:#eaf8ef;color:var(--green);font-size:1.5rem;font-weight:900}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}.detail-image{background:white;border:1px solid var(--line);border-radius:22px;min-height:420px;display:grid;place-items:center}.detail-image img{width:100%;height:100%;object-fit:contain;max-height:520px}
/* admin */.admin-body{background:#f5f8f6}.topbar{height:66px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20}.brand{font-weight:900}.brand span{color:var(--green)}.topbar nav{display:flex;gap:18px;font-size:.86rem;font-weight:700;color:#53635d}.shell{max-width:1180px;margin:auto;padding:28px 22px}.hero-admin{padding:20px 0 26px}.hero-admin h1{font-size:clamp(2rem,5vw,3.4rem);max-width:800px;letter-spacing:-.04em;margin:8px 0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat,.panel{background:white;border:1px solid var(--line);border-radius:18px}.stat{padding:20px}.stat strong{display:block;font-size:2rem}.stat span{color:var(--muted)}.panel{padding:20px;margin-top:16px;overflow:auto}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.panel-head h2{margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:12px 9px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.75rem;text-transform:uppercase;color:var(--muted);letter-spacing:.06em}.login{min-height:100dvh;display:grid;place-items:center;padding:20px}.login-card{width:min(420px,100%);background:white;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)}
@media(max-width:900px){.chat-layout{grid-template-columns:1fr;height:auto}.selection-card{min-height:270px}.products{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.topbar nav{overflow:auto;white-space:nowrap;max-width:70vw}.detail-grid{grid-template-columns:1fr}.detail-image{min-height:320px}}
@media(max-width:620px){.choice-grid{grid-template-columns:1fr}.welcome-card{border-radius:22px}.assistant-header{height:60px;padding:0 16px}.chat-layout{padding:10px;height:calc(100dvh - 60px);display:flex;flex-direction:column}.chat-card{min-height:58dvh}.selection-card{min-height:240px}.chat-thread{padding:14px}.bubble{max-width:90%;font-size:.94rem}.chat-products{grid-template-columns:1fr}.chat-product{grid-template-columns:82px 1fr}.cp-img{min-height:118px}.products{grid-template-columns:1fr 1fr;gap:9px}.product-img{height:160px}.product-body{padding:12px}.product-body h3{font-size:.9rem}.sharebox{overflow:auto;justify-content:flex-start}.sharebox .btn{white-space:nowrap}.order-form,.form-grid{grid-template-columns:1fr}.order-form .full,.field.full{grid-column:auto}.grid{grid-template-columns:1fr 1fr}.topbar{padding:0 14px}.topbar nav{gap:13px}.shell{padding:20px 12px}.assistant-link{font-size:.75rem}}
/* V3 Tienda Planeta */
.shop-page{margin:0;background:#f5f7f6;color:#102a22;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shop-header{height:72px;background:#fff;border-bottom:1px solid #e5ebe8;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:20}.shop-brand{display:flex;gap:10px;align-items:center;color:#0b2f23;text-decoration:none}.shop-brand b{display:block;font-size:20px;line-height:1}.shop-brand small{display:block;color:#6c7d76;margin-top:4px}.planet-dot{width:38px;height:38px;border-radius:12px;background:#08a951;color:white;display:grid;place-items:center;font-weight:900}.cart-pill{border:0;background:#0b2f23;color:#fff;border-radius:999px;padding:11px 16px;font-weight:750;cursor:pointer}.cart-pill span{background:#08a951;border-radius:999px;padding:3px 8px;margin-left:6px}.shop-main{max-width:1240px;margin:auto;padding:28px 22px 80px}.shop-hero{background:linear-gradient(120deg,#0b2f23,#114a38);border-radius:28px;padding:48px;color:#fff;overflow:hidden}.shop-hero .eyebrow{color:#9ce2be}.shop-hero h1{font-size:clamp(32px,5vw,58px);max-width:780px;line-height:1.02;margin:8px 0 14px}.shop-hero p{max-width:650px;font-size:18px;color:#d8e8e1}.shop-search{display:flex;max-width:720px;margin-top:28px;background:#fff;border-radius:16px;padding:6px}.shop-search input{flex:1;border:0;outline:0;font-size:16px;padding:12px 14px;min-width:0}.shop-search button{border:0;background:#08a951;color:#fff;border-radius:12px;padding:0 22px;font-weight:750}.filter-row{display:flex;gap:10px;overflow:auto;padding:22px 0 12px}.filter-chip{white-space:nowrap;text-decoration:none;color:#29453b;background:#fff;border:1px solid #dde6e2;padding:10px 14px;border-radius:999px;font-weight:700}.filter-chip.active{background:#0b2f23;color:#fff}.filter-chip small{opacity:.65;margin-left:5px}.shop-layout{display:grid;grid-template-columns:220px 1fr;gap:28px;margin-top:16px}.shop-sidebar{background:#fff;border:1px solid #e3e9e6;border-radius:20px;padding:18px;height:max-content;position:sticky;top:92px}.shop-sidebar h3{margin:0 0 10px}.shop-sidebar a{display:flex;justify-content:space-between;text-decoration:none;color:#50665d;padding:9px 8px;border-radius:10px;font-size:14px}.shop-sidebar a.active,.shop-sidebar a:hover{background:#edf8f2;color:#087d3f}.shop-sidebar span{opacity:.55}.product-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.product-head h2{margin:0;font-size:25px}.product-head p{margin:5px 0 0;color:#778981}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shop-card{background:#fff;border:1px solid #e3e9e6;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-media{height:205px;background:#f0f4f2;display:block}.product-media img{width:100%;height:100%;object-fit:contain;padding:14px;box-sizing:border-box}.brand-placeholder{height:100%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at 50% 20%,#fff,#edf3f0);color:#789087}.brand-placeholder span{font-size:54px;font-weight:900;color:#0b2f23;opacity:.13}.brand-placeholder small{text-transform:uppercase;letter-spacing:1.8px;font-weight:800}.shop-card-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-brand{text-transform:uppercase;letter-spacing:1.3px;font-size:11px;font-weight:900;color:#08a951}.shop-card h3{font-size:18px;line-height:1.2;margin:7px 0}.shop-card h3 a{color:#102a22;text-decoration:none}.presentation{font-size:12px;font-weight:750;color:#60746c;margin-bottom:8px}.shop-card p{color:#687c74;font-size:13px;line-height:1.45;flex:1}.add-product{border:0;background:#eaf7f0;color:#087d3f;border-radius:12px;padding:12px;font-weight:800;cursor:pointer}.add-product:hover{background:#08a951;color:#fff}.cart-drawer{position:fixed;inset:0;z-index:50;pointer-events:none;visibility:hidden}.cart-drawer.open{pointer-events:auto;visibility:visible}.cart-backdrop{position:absolute;inset:0;background:#001b12aa;opacity:0;transition:.2s}.cart-drawer.open .cart-backdrop{opacity:1}.cart-drawer aside{position:absolute;right:0;top:0;height:100%;width:min(430px,94vw);background:#fff;padding:24px;box-sizing:border-box;transform:translateX(100%);transition:.25s;display:flex;flex-direction:column}.cart-drawer.open aside{transform:none}.cart-title{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #e7ecea;padding-bottom:16px}.cart-title small{color:#789087}.cart-title h2{margin:3px 0}.cart-title button{border:0;background:#edf2f0;width:36px;height:36px;border-radius:50%;font-size:24px}.cart-row{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid #edf1ef}.cart-row b{font-size:14px}.cart-row small{display:block;color:#81928b;margin-top:4px}.qty{display:flex;align-items:center;gap:9px}.qty button{width:28px;height:28px;border:0;border-radius:8px;background:#eef4f1}.empty-cart{padding:35px 0;color:#71837c}.cart-checkout{margin-top:auto;text-align:center;text-decoration:none}.shop-card .btn{width:100%}
@media(max-width:900px){.shop-layout{grid-template-columns:1fr}.shop-sidebar{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-hero{padding:34px 26px}}
@media(max-width:560px){.shop-header{height:64px;padding:0 14px}.shop-brand small{display:none}.shop-main{padding:14px 12px 88px}.shop-hero{border-radius:20px;padding:27px 20px}.shop-hero h1{font-size:34px}.shop-hero p{font-size:15px}.shop-search{margin-top:20px}.shop-search button{padding:0 14px}.filter-row{padding:14px 0 8px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-media{height:145px}.shop-card{border-radius:15px}.shop-card-body{padding:12px}.shop-card h3{font-size:15px}.shop-card p{display:none}.add-product{font-size:12px;padding:10px 7px}.presentation{font-size:11px}.product-head h2{font-size:21px}}
/* V4 product galleries */
.panel-actions,.image-toolbar,.upload-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.image-admin{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.admin-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.admin-image{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;position:relative}.admin-image.primary{box-shadow:0 0 0 2px var(--green)}.admin-image>img{width:100%;height:170px;object-fit:contain;background:var(--soft);display:block}.image-meta{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;font-size:.76rem}.image-meta b{color:var(--green)}.image-actions{display:flex;gap:7px;padding:0 10px 10px;flex-wrap:wrap}.image-actions button{border:0;background:#edf5f1;border-radius:8px;padding:7px 9px;font-size:.74rem;font-weight:700}.image-actions .danger-link{color:#9b3535;background:#fff0f0}.empty-images{padding:24px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);margin-top:16px}.admin-thumb{width:58px;height:58px;object-fit:contain;border-radius:10px;background:var(--soft);border:1px solid var(--line)}.thumb-empty{display:grid;place-items:center;width:58px;height:58px;border-radius:10px;background:var(--soft);color:#a4b0ab}.image-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.image-stats>div{background:var(--soft);border-radius:14px;padding:18px}.image-stats strong{display:block;font-size:1.65rem}.image-stats span{color:var(--muted);font-size:.82rem}.import-actions{display:flex;gap:10px;flex-wrap:wrap}.product-thumbs{display:flex;gap:9px;overflow:auto;margin-top:10px;padding-bottom:3px}.product-thumb{width:76px;height:76px;flex:0 0 76px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:4px}.product-thumb.active{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.product-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.admin-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.image-stats{grid-template-columns:1fr}.upload-inline input{max-width:100%}}

/* V4.1 UX: mantener al usuario en resultados al filtrar */
.product-area{scroll-margin-top:96px}
@media(max-width:560px){.product-area{scroll-margin-top:78px}}


/* V4.2 Paginación de catálogo */
.shop-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:28px 0 4px;flex-wrap:wrap}.page-numbers{display:flex;align-items:center;gap:7px}.page-number,.page-nav{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce7e2;background:#fff;color:#29453b;border-radius:11px;font-weight:800;text-decoration:none;transition:.18s}.page-number{min-width:40px;padding:0 10px}.page-nav{padding:0 14px}.page-number:hover,.page-nav:hover{border-color:#08a951;color:#087d3f;background:#f1faf5}.page-number.active{background:#0b2f23;border-color:#0b2f23;color:#fff}.page-ellipsis{color:#81928b;padding:0 2px}.shop-pagination a:focus-visible{outline:3px solid rgba(8,169,81,.22);outline-offset:2px}
@media(max-width:560px){.shop-pagination{gap:8px;margin-top:22px}.page-nav{padding:0 11px;font-size:13px}.page-number{min-width:38px;min-height:38px}.page-ellipsis{display:none}}


/* ===== V5.1 · Cards de producto con imagen sobre blanco ===== */
.shop-card{
  background:#f7faf8;
  border:1px solid #dfe7e3;
  box-shadow:0 8px 24px rgba(16,48,34,.055);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.shop-card:hover{
  transform:translateY(-3px);
  border-color:#cfdbd5;
  box-shadow:0 16px 36px rgba(16,48,34,.095);
}
.product-media{
  background:#fff;
  border-bottom:1px solid #e8eeeb;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-media img{
  background:#fff;
  padding:16px;
}
.shop-card-body{
  background:#f7faf8;
}
.add-product{
  border:1px solid #d9eee3;
  background:#eaf7f0;
}
@media(max-width:560px){
  .product-media img{padding:10px}
}


/* ===== V5.2 · UX del drawer Mi pedido ===== */
.cart-drawer{z-index:9999}
.cart-drawer aside{height:100dvh;max-height:100dvh;overflow:hidden;padding:24px;display:flex;flex-direction:column}
.cart-items-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
.cart-actions{flex:0 0 auto;display:grid;gap:10px;padding-top:14px;margin-top:4px;border-top:1px solid #e7ecea;background:#fff}
.cart-back-catalog{width:100%;min-height:46px;border:1px solid #b9d9c9;border-radius:13px;background:#effaf4;color:#087d3f;font-weight:850;cursor:pointer;transition:.18s}
.cart-back-catalog:hover{background:#e3f6eb;border-color:#87cda9}
.cart-checkout{margin-top:0;width:100%;min-height:48px}
.integrated-mobile-nav .mobile-main-action .main-action-icon svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){
  .cart-drawer aside{width:100vw;padding:20px 20px calc(18px + env(safe-area-inset-bottom));}
  .cart-actions{position:relative;padding-bottom:2px}
}

/* V6 importaciones */
.import-source-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid #dfe7dc;border-radius:18px;background:#f8fbf7;margin:18px 0}.import-source-card p{margin:6px 0 0}.import-stats{margin:18px 0}.table-wrap{overflow:auto}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.status-new{background:#e9f8df;color:#2e6d18}.status-existing{background:#eef1f3;color:#53606a}@media(max-width:700px){.import-source-card{align-items:flex-start;flex-direction:column}}

/* V6.3 — Navegación jerárquica de categorías */
.category-sidebar{
  background:#fff;
  border:1px solid #dfe7df;
  border-radius:22px;
  padding:18px;
  box-shadow:0 10px 30px rgba(19,49,36,.04);
}
.category-sidebar__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.category-sidebar__head h3{margin:2px 0 0;font-size:20px}
.category-sidebar__eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#08a951}
.category-sidebar__mobile-toggle{display:none;border:0;background:#eef8f1;color:#0d5132;border-radius:999px;padding:9px 12px;font-weight:800}
.category-all,.category-family__link,.category-child{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  text-decoration:none;color:#173528;border-radius:12px;
}
.category-all{padding:10px 11px;font-weight:800;margin-bottom:5px}
.category-all:hover,.category-all.is-active{background:#e9f7ee;color:#078943}
.category-family{border-top:1px solid #edf1ed;padding:5px 0}
.category-family:first-child{border-top:0}
.category-family__row{display:flex;align-items:center;gap:5px}
.category-family__link{flex:1;padding:10px 9px;font-weight:750;line-height:1.2}
.category-family__link small,.category-child small{font-size:11px;color:#8a9a91;font-weight:700}
.category-family__link:hover,.category-family__link.is-active{background:#eef8f1;color:#078943}
.category-family__toggle{
  width:34px;height:34px;flex:0 0 34px;border:0;border-radius:10px;background:transparent;cursor:pointer;position:relative
}
.category-family__toggle:hover{background:#f1f5f2}
.category-family__toggle span:before,.category-family__toggle span:after{
  content:"";position:absolute;left:11px;top:16px;width:12px;height:2px;background:#315847;border-radius:2px;transition:.2s ease
}
.category-family__toggle span:after{transform:rotate(90deg)}
.category-family.is-open .category-family__toggle span:after{transform:rotate(0)}
.category-children{padding:1px 0 7px 12px}
.category-child{padding:8px 9px 8px 18px;font-size:13px;position:relative}
.category-child:before{content:"";position:absolute;left:7px;top:50%;width:5px;height:5px;border-radius:50%;background:#bfd0c5;transform:translateY(-50%)}
.category-child:hover,.category-child.is-active{background:#f1f9f3;color:#078943}
.category-child.is-active:before{background:#08a951}
.category-tree-fallback a{display:flex;justify-content:space-between;padding:9px;border-radius:10px;text-decoration:none;color:#173528}

@media(max-width:820px){
  .category-sidebar{padding:14px;border-radius:18px;margin-bottom:14px}
  .category-sidebar__mobile-toggle{display:inline-flex;align-items:center;gap:6px}
  .category-tree-wrap{display:none;margin-top:12px}
  .category-sidebar.mobile-open .category-tree-wrap{display:block}
  .category-sidebar.mobile-open .category-sidebar__mobile-toggle span{transform:rotate(180deg)}
}

/* V6.4 — árbol completo */
.category-family__link small:empty,.category-child small:empty{display:none}
.category-child small,.category-family__link small{min-width:22px;text-align:right}

/* V6.6 — Catálogo desktop premium: árbol ancho, alineado y sin scroll horizontal */
@media (min-width: 901px){
  .shop-main{max-width:1440px;padding-left:28px;padding-right:28px}
  .shop-layout{grid-template-columns:300px minmax(0,1fr);gap:34px;align-items:start}
  .category-sidebar{width:auto;min-width:0;overflow:hidden;padding:20px}
  .category-tree-wrap{width:100%;max-height:calc(100vh - 130px);overflow-y:auto;overflow-x:hidden;padding-right:5px;scrollbar-gutter:stable}
  .category-tree,.category-family,.category-family__row,.category-children{width:100%;max-width:100%;box-sizing:border-box;min-width:0}
  .category-family__row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:6px;align-items:center}
  .category-family__link{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:8px;align-items:center;min-width:0;padding:11px 8px;font-size:14px;line-height:1.28}
  .category-family__link > span:first-child,.category-child > span:first-child{min-width:0;overflow-wrap:anywhere;word-break:normal}
  .category-family__link small,.category-child small{width:30px;min-width:30px;text-align:right;justify-self:end}
  .category-family__toggle{width:36px;height:36px;min-width:36px;justify-self:end}
  .category-family__toggle span:before,.category-family__toggle span:after{left:12px;top:17px}
  .category-children{padding:2px 0 8px 10px;overflow:hidden}
  .category-child{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:8px;align-items:center;padding:9px 8px 9px 18px;font-size:13.5px;line-height:1.3;min-width:0}
  .category-all{font-size:14px;padding:11px 10px}
  .product-area{min-width:0}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .product-media{height:190px;background:#fff}
  .shop-card-body{padding:16px}
}
@media (min-width: 1320px){
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .product-media{height:180px}
  .shop-card h3{font-size:16px}
  .shop-card-body{padding:15px}
}


/* =========================================================
   V6.7 — Refinamiento desktop de catálogo
   - 3 cards por fila
   - sidebar más ancho
   - tipografía más legible y menos pesada
   - subcategorías limpias, sin bullets/pseudo-elementos
   - columna de + perfectamente alineada
   ========================================================= */
@media (min-width: 901px){
  .shop-layout{
    grid-template-columns:330px minmax(0,1fr);
    gap:34px;
  }

  .category-sidebar{
    padding:20px 18px;
  }

  .category-tree-wrap{
    overflow-x:hidden !important;
  }

  .category-family__row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 40px;
    column-gap:8px;
    align-items:center;
  }

  .category-family__link{
    display:grid;
    grid-template-columns:minmax(0,1fr) 32px;
    gap:8px;
    align-items:center;
    padding:11px 8px;
    font-size:15px;
    font-weight:600;
    line-height:1.34;
    color:#405b50;
  }

  .category-family__link > span:first-child{
    overflow-wrap:break-word;
  }

  .category-family__toggle{
    width:40px;
    height:40px;
    min-width:40px;
    justify-self:end;
  }

  .category-family__toggle span:before,
  .category-family__toggle span:after{
    left:14px;
    top:19px;
  }

  .category-children{
    padding:3px 0 9px 12px;
  }

  .category-child{
    display:grid;
    grid-template-columns:minmax(0,1fr) 32px;
    gap:8px;
    align-items:center;
    padding:10px 8px 10px 12px;
    font-size:14.5px;
    font-weight:400;
    line-height:1.38;
    color:#536a61;
  }

  /* Sin puntos/bullets ni marcas delante de las subcategorías */
  .category-child:before{
    content:none !important;
    display:none !important;
  }

  .category-family__link small,
  .category-child small{
    width:32px;
    min-width:32px;
    text-align:right;
    justify-self:end;
    font-size:12px;
    font-weight:500;
    color:#82938b;
  }

  .category-all{
    font-size:15px;
    font-weight:600;
    padding:11px 10px;
  }

  /* Siempre 3 cards por fila en desktop para preservar legibilidad */
  .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px;
  }

  .product-media{
    height:205px;
  }

  .shop-card h3{
    font-size:18px;
    line-height:1.22;
  }

  .shop-card-body{
    padding:17px;
  }
}

/* Anula el salto a 4 columnas de V6.6 */
@media (min-width: 1320px){
  .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px;
  }
  .product-media{
    height:205px;
  }
  .shop-card h3{
    font-size:18px;
  }
  .shop-card-body{
    padding:17px;
  }
}


/* ===== CATÁLOGO V7.0 · scroll limpio ===== */
/* Un único scroll vertical de página: el árbol ya no crea una barra interna a la derecha. */
@media (min-width:901px){
  .shop-page .category-tree-wrap{
    max-height:none!important;
    overflow-y:visible!important;
    overflow-x:hidden!important;
    scrollbar-gutter:auto!important;
    padding-right:0!important;
  }
}
/* Evita cualquier desborde lateral producido por elementos full-bleed. */
html,body.shop-page{
  max-width:100%;
  overflow-x:clip!important;
}


/* V9 · acciones de producto y consulta múltiple */
.product-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:auto}.product-card-actions .add-product{margin-top:0}.consult-product{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 14px;border:1px solid #b9d9c9;border-radius:12px;background:#fff;color:#087d3f;font-weight:800;font-size:13px;text-decoration:none}.consult-product:hover{background:#f1faf5;border-color:#08a951}.consult-select{display:flex;align-items:center;gap:7px;margin-top:9px;color:#6f8078;font-size:11px;cursor:pointer}.consult-select input{accent-color:#08a951;width:15px;height:15px}.consult-bar{position:fixed;left:50%;bottom:24px;transform:translate(-50%,130%);z-index:95;width:min(760px,calc(100% - 32px));display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px 14px 12px 18px;border-radius:18px;background:#0b2f23;color:#fff;box-shadow:0 18px 55px rgba(0,0,0,.24);transition:transform .25s ease}.consult-bar.is-visible{transform:translate(-50%,0)}.consult-bar strong{display:block;font-size:13px}.consult-bar small{display:block;margin-top:2px;color:rgba(255,255,255,.7);font-size:11px}.consult-bar button,.consult-bar a{min-height:40px;border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.consult-bar button{border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff}.consult-bar a{background:#25d366;color:#073b20;text-decoration:none}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.detail-actions .btn{border:0;cursor:pointer;text-decoration:none}.detail-actions .btn-consult{background:#fff;color:#087d3f;border:1px solid #b9d9c9}.detail-back-catalog{display:inline-block;margin-top:14px;color:#60766c;font-weight:700;font-size:13px}.about-prose p,.about-divisions article p,.about-commitment__card p{text-align:justify;text-justify:inter-word}.about-prose strong{color:#173c2c;font-weight:750}
@media(max-width:620px){.product-card-actions{grid-template-columns:1fr}.consult-product{min-height:42px}.consult-bar{bottom:82px;grid-template-columns:1fr auto;padding:11px 12px}.consult-bar>div{grid-column:1/-1}.consult-bar small{display:none}.consult-bar a{padding:0 11px}.about-prose p,.about-divisions article p,.about-commitment__card p{text-align:left}}


/* =========================================================
   V10 — Árbol de catálogo compacto y jerárquico
   ========================================================= */
.category-sidebar{padding:16px!important}
.category-sidebar__head{margin-bottom:7px!important}
.category-sidebar__head h3{font-size:19px!important}
.category-all{padding:8px 9px!important;margin-bottom:3px!important;font-size:13.5px!important}
.category-family{padding:2px 0!important;border-top:1px solid #edf2ee!important}
.category-family__row{grid-template-columns:minmax(0,1fr) 30px!important;column-gap:4px!important}
.category-family__link{
  grid-template-columns:minmax(0,1fr) 28px!important;
  padding:7px 7px!important;
  font-size:13.5px!important;
  font-weight:650!important;
  line-height:1.22!important;
  color:#254a3a!important;
  border-radius:9px!important;
}
.category-family__link:hover,.category-family__link.is-active{color:#078943!important;background:#eef8f1!important}
.category-family__toggle{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important}
.category-family__toggle span:before,.category-family__toggle span:after{left:9px!important;top:14px!important;width:12px!important}
.category-children{padding:0 0 4px 9px!important}
.category-child{
  grid-template-columns:minmax(0,1fr) 28px!important;
  padding:6px 7px 6px 12px!important;
  font-size:12.5px!important;
  font-weight:400!important;
  line-height:1.22!important;
  color:#6a7d74!important;
  border-radius:8px!important;
}
.category-child:before{content:none!important;display:none!important}
.category-child:hover{background:#f5faf6!important;color:#278d50!important}
.category-child.is-active{background:#edf8f0!important;color:#078943!important;font-weight:600!important;box-shadow:inset 3px 0 0 #65c83b}
.category-family__link small,.category-child small{width:28px!important;min-width:28px!important;font-size:10.5px!important;font-weight:500!important;color:#93a198!important}
@media(min-width:901px){
  .shop-layout{grid-template-columns:310px minmax(0,1fr)!important;gap:30px!important}
  .category-tree-wrap{max-height:none!important;overflow:visible!important;padding-right:0!important}
}
@media(max-width:820px){
  .category-sidebar{padding:13px!important}
  .category-family__link{padding:8px 7px!important;font-size:14px!important}
  .category-child{padding:7px 7px 7px 12px!important;font-size:13px!important}
}

/* V11 · accesos rápidos por categoría */
.quick-category-row{
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
.quick-category-row .filter-chip{
  flex:0 0 auto;
  scroll-snap-align:start;
}
@media(max-width:760px){
  .quick-category-row{
    margin-left:-12px;
    margin-right:-12px;
    padding-left:12px;
    padding-right:12px;
    gap:8px;
    scrollbar-width:none;
  }
  .quick-category-row::-webkit-scrollbar{display:none}
  .quick-category-row .filter-chip{padding:9px 13px;font-size:13px}
}


/* =========================================================
   V12 — Categorías rápidas catálogo.
   Desktop: sin scroll horizontal; distribución premium en filas.
   Mobile: carrusel táctil horizontal, sin scrollbar visible.
   ========================================================= */
.quick-category-row{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  overflow:visible!important;
  padding:20px 0 14px!important;
  border-bottom:1px solid #e4e9e6!important;
}
.quick-category-row .filter-chip{
  flex:0 0 auto!important;
  white-space:normal!important;
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 14px!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#365047!important;
  border:1px solid #dce4e0!important;
  box-shadow:0 2px 7px rgba(25,45,35,.025)!important;
  font-size:12.5px!important;
  line-height:1.2!important;
}
.quick-category-row .filter-chip:hover{
  border-color:#bfcfc6!important;
  background:#f8faf9!important;
}
.quick-category-row .filter-chip.active{
  background:#173f32!important;
  border-color:#173f32!important;
  color:#fff!important;
}
.quick-category-row .filter-chip small{
  margin-left:7px!important;
  font-size:10.5px!important;
  opacity:.58!important;
}

@media(min-width:901px){
  .quick-category-row{
    /* 9 options (Todos + 8 categorías) resolve naturally in 2 clean rows */
    max-width:100%!important;
  }
}

@media(max-width:900px){
  .quick-category-row{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    scroll-snap-type:x proximity!important;
    padding:14px 18px 12px!important;
    margin-left:-18px!important;
    margin-right:-18px!important;
  }
  .quick-category-row::-webkit-scrollbar{display:none!important}
  .quick-category-row .filter-chip{
    white-space:nowrap!important;
    scroll-snap-align:start!important;
  }
}


/* =========================================================
   V13 — Cards producto: acciones compactas + comparar
   ========================================================= */
.product-card-actions{
  display:grid!important;
  grid-template-columns:1.15fr .85fr!important;
  gap:7px!important;
  margin-top:auto!important;
}
.product-card-actions .add-product,
.product-card-actions .consult-product{
  min-height:39px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
}
.product-card-actions .add-product{
  background:#edf8f1!important;
  color:#078842!important;
  border:1px solid #d2eadb!important;
}
.product-card-actions .consult-product{
  background:#fff!important;
  color:#246448!important;
  border:1px solid #c9ded2!important;
}
.product-select-tools{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin-top:9px!important;
  padding-top:8px!important;
  border-top:1px solid #edf0ee!important;
}
.product-select-tools label{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  color:#77837d!important;
  font-size:10px!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
.product-select-tools input{
  width:13px!important;height:13px!important;margin:0!important;
  accent-color:#169a52!important;
}
.compare-bar{
  position:fixed;left:50%;bottom:24px;z-index:95;
  transform:translate(-50%,140%);
  width:min(760px,calc(100% - 32px));
  background:#173f32;color:#fff;border-radius:16px;padding:12px 14px;
  display:flex;align-items:center;gap:12px;
  box-shadow:0 18px 50px rgba(11,47,35,.24);
  transition:transform .25s ease;
}
.compare-bar.is-visible{transform:translate(-50%,0)}
.compare-bar>div{flex:1;min-width:0}
.compare-bar strong{display:block;font-size:12px}
.compare-bar small{display:block;color:#cbdcd3;font-size:10px;margin-top:2px}
.compare-bar button{
  border:0;border-radius:10px;min-height:36px;padding:8px 13px;
  font:650 11px/1 Manrope,sans-serif;cursor:pointer
}
#compareClear{background:rgba(255,255,255,.10);color:#fff}
#compareOpen{background:#70cc34;color:#123b2d}
#compareOpen:disabled{opacity:.42;cursor:not-allowed}
.compare-modal{position:fixed;inset:0;z-index:120;display:none}
.compare-modal.is-open{display:block}
.compare-modal__backdrop{position:absolute;inset:0;background:rgba(7,25,18,.60);backdrop-filter:blur(5px)}
.compare-modal__panel{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(1120px,calc(100% - 40px));max-height:88vh;overflow:auto;
  background:#fff;border-radius:22px;padding:25px;box-shadow:0 30px 90px rgba(0,0,0,.22)
}
.compare-modal__head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.compare-modal__head h2{margin:4px 0 0;font-size:28px}
.compare-modal__close{border:0;background:#f2f5f3;width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer}
.compare-table-wrap{overflow-x:auto}
.compare-table{width:100%;border-collapse:collapse;table-layout:fixed}
.compare-table th,.compare-table td{padding:14px;border-bottom:1px solid #e7ece9;vertical-align:top;text-align:left;font-size:12px;line-height:1.5}
.compare-table thead th{background:#f7f9f8}
.compare-table thead th:first-child,.compare-table tbody th{width:135px;color:#68776f;font-weight:700}
.compare-table thead img{display:block;width:100%;height:120px;object-fit:contain;margin-bottom:10px}
.compare-table thead strong{font-size:13px;color:#172b24}
@media(max-width:760px){
  .product-card-actions .add-product,.product-card-actions .consult-product{min-height:38px!important;font-size:10.5px!important}
  .product-select-tools{gap:10px!important;flex-wrap:wrap!important}
  .compare-bar{bottom:92px!important;padding:10px!important}
  .compare-bar small{display:none}
  .compare-modal__panel{width:calc(100% - 18px);padding:16px;border-radius:18px}
  .compare-table{min-width:720px}
}


/* =========================================================
   V14 — Sidebar en flujo normal + subcategorías legibles
   ========================================================= */
@media (min-width:901px){
  .shop-page .category-sidebar,
  .shop-page .shop-sidebar,
  .shop-page .category-tree-wrap{
    position:static!important;
    top:auto!important;
    align-self:start!important;
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
  }
}

/* Subcategorías: fino, oscuro y con mayor contraste */
.category-tree .category-children a,
.category-tree .subcategory-link,
.category-tree .category-child,
.category-tree details .category-children a{
  color:#2b5a48!important;
  font-weight:500!important;
  opacity:1!important;
}
.category-tree .category-children a:hover,
.category-tree .subcategory-link:hover,
.category-tree .category-child:hover,
.category-tree details .category-children a:hover{
  color:#173f32!important;
}
.category-tree .category-children a.is-active,
.category-tree .subcategory-link.is-active,
.category-tree .category-child.is-active{
  color:#0d6d43!important;
  font-weight:600!important;
}

/* Ícono carrito en CTA de producto — desktop */
.product-card-actions .add-product{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.add-product__icon{
  width:15px!important;
  height:15px!important;
  flex:0 0 auto!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
@media(max-width:760px){
  .add-product__icon{display:none!important}
}
/* V20 · Gestión de contenidos */
.content-admin-actions{display:flex;gap:10px;flex-wrap:wrap}.brand-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.content-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.content-thumb{height:110px;border-radius:13px;background:var(--soft);display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:.8rem}.content-thumb img{max-width:84%;max-height:78px;object-fit:contain}.content-card-actions{display:flex;gap:8px;margin-top:auto}.check{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.86rem}.field.compact{max-width:120px}.cms-preview{width:180px;height:100px;object-fit:cover;border-radius:12px;margin-top:8px}.content-list{display:flex;flex-direction:column;gap:10px;margin-top:22px}.content-list-row,.user-row{display:grid;grid-template-columns:100px 1fr auto;gap:16px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff}.content-list-row>img,.list-placeholder{width:100px;height:78px;object-fit:cover;border-radius:11px;background:var(--soft)}.list-placeholder{display:grid;place-items:center;font-weight:900;color:#8aa096}.content-list-row h3,.user-row h3{margin:3px 0}.content-list-row p{margin:4px 0;color:var(--muted);font-size:.84rem}.row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.status{font-size:.72rem;font-weight:800;border-radius:999px;padding:6px 9px}.status.on{background:#eaf8ef;color:#087d3f}.status.off{background:#f1f3f2;color:#75827d}.featured-admin-list{display:flex;flex-direction:column;gap:10px}.featured-admin-row{display:grid;grid-template-columns:76px 1fr 90px auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:10px}.featured-admin-row>img{width:76px;height:70px;object-fit:contain;background:var(--soft);border-radius:10px}.featured-admin-row h3{margin:3px 0}.featured-order input{width:76px}.admin-divider{border:0;border-top:1px solid var(--line);margin:28px 0}.admin-search{display:flex;gap:8px;margin:12px 0 18px}.admin-search input{flex:1}.search-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.search-product-card{border:1px solid var(--line);border-radius:15px;padding:12px;display:grid;grid-template-columns:64px 1fr;gap:10px}.search-product-card>img,.search-product-card>.list-placeholder{width:64px;height:64px;object-fit:contain;background:var(--soft);border-radius:9px}.search-product-card h4{margin:2px 0;font-size:.9rem}.search-product-card p{font-size:.76rem;color:var(--muted);margin:3px 0}.search-product-card form{grid-column:1/-1}.inline-user-form{display:flex;gap:7px}.user-row{grid-template-columns:1fr auto auto}@media(max-width:850px){.brand-admin-grid,.search-product-grid{grid-template-columns:1fr 1fr}.content-list-row{grid-template-columns:76px 1fr}.content-list-row>img,.content-list-row>.list-placeholder{width:76px;height:70px}.row-actions{grid-column:1/-1;justify-content:flex-start}.featured-admin-row{grid-template-columns:62px 1fr}.featured-admin-row>img{width:62px;height:60px}.featured-order,.featured-admin-row>.btn{grid-column:auto}.user-row{grid-template-columns:1fr}.inline-user-form{flex-wrap:wrap}}@media(max-width:560px){.brand-admin-grid,.search-product-grid{grid-template-columns:1fr}.topbar{overflow-x:auto}.topbar nav{min-width:max-content}.featured-admin-row{grid-template-columns:54px 1fr}.featured-admin-row>img{width:54px;height:54px}.featured-order{grid-column:1/2}.featured-admin-row>.btn{grid-column:2/3}.content-list-row{grid-template-columns:1fr}.content-list-row>img,.content-list-row>.list-placeholder{width:100%;height:150px}}

/* V21 · Admin profesional */
.admin-body{background:#f3f6f4;color:#14251f}.admin-body .btn{font-weight:600;border-radius:10px;padding:11px 15px;box-shadow:none}.admin-body .btn:hover{box-shadow:none}.admin-layout{min-height:100dvh;display:flex}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#0d2b21;color:#dce8e2;z-index:60;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.05)}.admin-sidebar-brand{height:76px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}.admin-sidebar-brand>a{display:flex;align-items:center;gap:11px}.admin-sidebar-brand b{display:block;color:#fff;font-size:1.05rem;font-weight:700}.admin-sidebar-brand small{display:block;color:#8fab9f;font-size:.72rem;margin-top:2px}.admin-planet-mark{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#4fd069,#9bd838);color:white;display:grid;place-items:center;font-weight:700;font-size:1.08rem}.admin-sidebar-close{display:none;border:0;background:transparent;color:#fff;font-size:28px;line-height:1}.admin-nav{padding:16px 12px;overflow:auto;flex:1}.admin-nav-section{margin-bottom:18px}.admin-nav-section>small{display:block;padding:0 10px 8px;color:#739186;text-transform:uppercase;letter-spacing:.08em;font-size:.64rem;font-weight:600}.admin-nav-link{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:9px;color:#bcd0c7;font-size:.88rem;font-weight:500;margin:2px 0;transition:.16s}.admin-nav-link:hover{background:rgba(255,255,255,.06);color:#fff}.admin-nav-link.active{background:#164334;color:#fff}.admin-nav-icon{width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px}.admin-nav-icon svg,.quick-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-sidebar-bottom{padding:12px;border-top:1px solid rgba(255,255,255,.08)}.admin-workspace{width:calc(100% - 252px);margin-left:252px;min-width:0}.admin-topbar{height:76px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #dfe8e3;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:30}.admin-topbar-left{display:flex;align-items:center;gap:14px}.admin-topbar-title{display:block;font-size:.91rem;font-weight:650}.admin-topbar-left small,.admin-user-chip small{display:block;color:#7a8b84;font-size:.72rem;margin-top:2px}.admin-user-chip{display:flex;align-items:center;gap:10px}.admin-user-chip b{display:block;font-size:.82rem;font-weight:600}.admin-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e9f6ee;color:#0b8b48;font-size:.82rem;font-weight:700}.admin-menu-toggle{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px}.admin-menu-toggle span{display:block;height:2px;background:#16352b;margin:4px 0;border-radius:2px}.admin-shell{max-width:1380px;padding:30px 34px 60px}.admin-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:4px 0 24px}.admin-page-head.compact{padding-bottom:18px}.admin-page-head h1{font-size:clamp(2rem,3.3vw,2.8rem);line-height:1.05;letter-spacing:-.035em;margin:6px 0 8px;font-weight:700}.admin-page-head p{margin:0;color:#687a72;max-width:720px;line-height:1.55}.admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.admin-kpi{background:white;border:1px solid #dfe8e3;border-radius:16px;padding:18px 19px;transition:.16s}.admin-kpi:hover{border-color:#bddccc;transform:translateY(-1px)}.admin-kpi>span{display:block;color:#65766f;font-size:.79rem}.admin-kpi strong{display:block;font-size:2rem;line-height:1.15;margin:8px 0 3px;font-weight:650}.admin-kpi small{color:#8a9993;font-size:.74rem}.admin-body .panel{border-radius:16px;border-color:#dfe8e3;box-shadow:none;padding:20px 22px}.admin-body .panel-head h2{font-size:1.08rem;font-weight:650}.admin-body .eyebrow{font-weight:650;letter-spacing:.1em}.admin-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-quick-grid>a{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #e1e8e4;border-radius:13px;background:#fbfcfb;transition:.16s}.admin-quick-grid>a:hover{background:#f4faf6;border-color:#c9dfd2}.quick-icon{width:34px;height:34px;border-radius:9px;background:#e7f6ed;color:#0a9250;display:grid;place-items:center;padding:8px;flex:0 0 34px}.admin-quick-grid b{font-size:.88rem;font-weight:620}.admin-quick-grid small{display:block;color:#7a8a83;line-height:1.4;font-size:.74rem;margin-top:3px}.admin-filter-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}.admin-filter-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:9px;background:#fff;border:1px solid #dfe8e3;font-size:.78rem;font-weight:500;color:#566a61}.admin-filter-tabs a.active{background:#123d2f;color:white;border-color:#123d2f}.admin-filter-tabs span{min-width:20px;height:20px;border-radius:999px;background:rgba(0,0,0,.06);display:grid;place-items:center;font-size:.68rem}.admin-filter-tabs .active span{background:rgba(255,255,255,.15)}.admin-table-wrap{overflow:auto}.admin-table{min-width:780px}.admin-table th{font-weight:600;letter-spacing:.045em}.admin-table td{padding-top:14px;padding-bottom:14px}.admin-table td small{display:block;color:#87958f;margin-top:3px;font-size:.75rem}.cell-title{display:block;font-weight:600;color:#19332a}.order-number{font-weight:600;color:#496159}.order-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.7rem;font-weight:600}.order-status.new{background:#edf8f1;color:#087d43}.order-status.contacted{background:#eef4ff;color:#355f9b}.order-status.closed{background:#edf2ef;color:#455d53}.order-status.cancelled{background:#fff0f0;color:#a05252}.table-action{display:inline-flex;color:#087d43;font-size:.76rem;font-weight:600;white-space:nowrap}.admin-empty{padding:30px;text-align:center;color:#84938d}.admin-search-bar{display:flex;gap:9px;margin-bottom:14px}.admin-search-bar input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:#fff;outline:0}.client-orders-count{display:block;font-size:1rem;font-weight:650}.admin-overlay{display:none}.admin-body .content-admin-actions .btn{font-weight:600}.admin-body .field label,.admin-body .check{font-weight:600}.admin-body .status{font-weight:600}.admin-body .brand-admin-grid h3,.admin-body .content-list-row h3,.admin-body .featured-admin-row h3{font-weight:620}
@media(max-width:1100px){.admin-kpis,.admin-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-sidebar{width:230px}.admin-workspace{width:calc(100% - 230px);margin-left:230px}.admin-shell{padding-left:24px;padding-right:24px}}
@media(max-width:820px){.admin-sidebar{transform:translateX(-100%);transition:.22s;width:270px}.admin-workspace{width:100%;margin-left:0}.admin-menu-toggle,.admin-sidebar-close{display:block}.admin-overlay{display:block;position:fixed;inset:0;background:rgba(4,23,17,.42);z-index:50;opacity:0;pointer-events:none;transition:.2s}.admin-menu-open .admin-sidebar{transform:none}.admin-menu-open .admin-overlay{opacity:1;pointer-events:auto}.admin-topbar{padding:0 18px;height:68px}.admin-shell{padding:22px 16px 50px}.admin-page-head{align-items:flex-start;flex-direction:column}.admin-user-chip>span:last-child{display:none}}
@media(max-width:560px){.admin-kpis,.admin-quick-grid{grid-template-columns:1fr}.admin-page-head h1{font-size:2rem}.admin-topbar-left small{display:none}.admin-search-bar{flex-wrap:wrap}.admin-search-bar input{flex-basis:100%}.admin-body .panel{padding:16px}.admin-quick-grid>a{padding:14px}}

/* V22 sidebar polish */
.admin-nav{scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain}.admin-nav::-webkit-scrollbar{display:none;width:0;height:0}.admin-planet-mark{background:transparent!important;border-radius:50%!important;overflow:hidden}.admin-planet-mark img{display:block;width:36px;height:36px;object-fit:contain}.admin-sidebar-bottom{flex:0 0 auto;background:#0d2b21}.admin-sidebar{overflow:hidden}.admin-nav{min-height:0}
