:root{--green:#3c7469;--green-dark:#244d46;--orange:#eea15d;--orange-2:#f2b276;--ink:#18302d;--muted:#64716e;--line:#e6ecea;--bg:#f7faf9;--white:#fff;--shadow:0 18px 45px rgba(28,70,61,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav-wrap{height:84px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:58px;height:58px;border-radius:50%;object-fit:cover;box-shadow:0 6px 18px rgba(0,0,0,.08)}.brand-copy{display:grid;line-height:1.05}.brand-copy strong{font-size:18px}.brand-copy span{color:var(--green);font-weight:700}.main-nav{display:flex;gap:28px;align-items:center;font-weight:600}.main-nav a:hover{color:var(--orange)}.menu-toggle{display:none;border:0;background:transparent;font-size:27px}.hero{background:var(--green-dark)}.slider{position:relative;height:620px;overflow:hidden}.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.02);transition:opacity .8s,transform 5s;pointer-events:none}.slide.active{opacity:1;transform:scale(1);pointer-events:auto}.hero-content{height:100%;display:flex;flex-direction:column;justify-content:center;color:white;max-width:760px;margin-left:max(calc((100vw - 1180px)/2),18px)}.hero h1{font-size:clamp(44px,6vw,76px);line-height:1.03;margin:10px 0 18px;max-width:900px}.hero p{font-size:20px;line-height:1.6;max-width:650px;color:#e6efed}.eyebrow{display:inline-block;font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--orange-2)}.eyebrow.dark{color:var(--green)}.hero-actions{display:flex;gap:12px;margin-top:22px}.btn{display:inline-flex;justify-content:center;align-items:center;padding:14px 21px;border-radius:12px;border:0;font-weight:800;cursor:pointer}.btn-primary{background:var(--orange);color:#1f332f}.btn-primary:hover{background:#f5b273}.btn-outline{color:white;border:1px solid rgba(255,255,255,.5)}.slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.2);color:white;font-size:30px;cursor:pointer}.slider-btn.prev{left:20px}.slider-btn.next{right:20px}.slider-dots{position:absolute;left:50%;bottom:25px;transform:translateX(-50%);display:flex;gap:8px}.slider-dots button{width:9px;height:9px;border-radius:50%;border:0;background:#ffffff70}.slider-dots button.active{width:28px;border-radius:99px;background:var(--orange)}.trust-strip{background:white;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.trust-grid>div{padding:25px;border-right:1px solid var(--line);display:grid;gap:5px}.trust-grid>div:last-child{border-right:0}.trust-grid strong{color:var(--green-dark)}.trust-grid span{color:var(--muted);font-size:13px}.section{padding:90px 0}.section.alt{background:var(--bg)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:38px}.section-head h2,.about h2,.contact-grid h2{font-size:clamp(31px,4vw,48px);margin:8px 0 0}.section-head>p{max-width:500px;color:var(--muted);line-height:1.7}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:0 1px 0 rgba(0,0,0,.02);transition:.2s}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.service-icon{width:52px;height:52px;border-radius:14px;background:#eef5f3;display:grid;place-items:center;font-size:25px;margin-bottom:20px}.service-card h3{margin:0 0 10px}.service-card p{color:var(--muted);line-height:1.65}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{overflow:hidden;border-radius:20px;background:white;border:1px solid var(--line);transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:220px;background:#eef3f2;padding:20px;display:grid;place-items:center}.product-image img{width:100%;height:100%;object-fit:contain}.product-body{padding:20px}.category{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--green);font-weight:800}.product-body h3{margin:8px 0}.product-body p{color:var(--muted);font-size:14px;line-height:1.55;min-height:44px}.product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.product-footer strong,.detail-price{font-size:21px;color:var(--green-dark)}.product-footer a,.text-link{font-weight:800;color:var(--green)}.about{background:linear-gradient(135deg,var(--green-dark),#3e776d);color:white}.about-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center}.about-panel p{color:#dce9e6;line-height:1.75;font-size:18px;max-width:650px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stats div{background:#ffffff12;border:1px solid #ffffff20;padding:26px;border-radius:17px}.stats strong,.stats span{display:block}.stats strong{font-size:19px;margin-bottom:6px}.stats span{color:#d6e5e2}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}.contact-grid p{color:var(--muted);line-height:1.7}.contact-form,.admin-form{display:grid;gap:14px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}input,select,textarea{width:100%;padding:14px 15px;border:1px solid #d9e2df;border-radius:11px;background:#fff;font:inherit;outline:0}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #3c74691c}.site-footer{background:#122b27;color:#d7e3e0;padding:55px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid a,.footer-grid p{display:block;color:#aebfbb;line-height:1.8}.footer-bottom{text-align:center;border-top:1px solid #ffffff16;margin-top:40px;padding:20px;color:#91a6a1;font-size:13px}.whatsapp{position:fixed;right:20px;bottom:20px;background:#1fa95c;color:white;padding:14px 18px;border-radius:999px;font-weight:800;box-shadow:0 10px 28px #0002}.page-hero{padding:80px 0;background:linear-gradient(135deg,var(--green-dark),var(--green));color:white}.page-hero h1{font-size:52px;margin:8px 0}.catalog-filters{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;margin-bottom:30px}.empty{padding:40px;text-align:center;background:var(--bg);border-radius:16px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.detail-image{background:var(--bg);border-radius:25px;padding:45px;height:480px}.detail-image img{width:100%;height:100%;object-fit:contain}.product-detail h1{font-size:44px;margin:10px 0}.detail-price{font-size:32px;margin:15px 0}.product-detail p{color:var(--muted);line-height:1.75}.admin-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,var(--green-dark),var(--green))}.login-card{width:min(420px,calc(100% - 30px));background:white;padding:35px;border-radius:22px;box-shadow:var(--shadow);display:grid;gap:14px}.login-card img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:auto}.login-card h1{text-align:center}.alert{background:#fff0ef;color:#962c20;padding:12px;border-radius:10px}.admin-body{display:grid;grid-template-columns:240px 1fr;min-height:100vh;background:#f4f7f6}.admin-side{background:var(--green-dark);color:white;padding:25px;display:flex;flex-direction:column;gap:9px}.admin-side img{width:90px;height:90px;border-radius:50%;object-fit:cover}.admin-side a{padding:11px;border-radius:9px;color:#dbe7e4}.admin-side a:hover{background:#ffffff12}.admin-main{padding:35px;overflow:auto}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.admin-stats div{background:white;border-radius:16px;padding:25px;box-shadow:0 8px 30px #0a2c2412}.admin-stats strong,.admin-stats span{display:block}.admin-stats strong{font-size:36px;color:var(--green)}.admin-grid{display:grid;grid-template-columns:360px 1fr;gap:30px}.admin-form{background:white;padding:20px;border-radius:16px}.admin-form.compact{max-width:700px;margin-bottom:35px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;background:white}.admin-table th,.admin-table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}.admin-table th{background:#eef4f2}.admin-table a{color:var(--green);font-weight:700}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:84px;left:0;right:0;background:white;padding:18px;flex-direction:column;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.menu-toggle{display:block}.slider{height:560px}.hero-content{margin-left:18px}.trust-grid,.products-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr 1fr}.about-grid,.contact-grid,.product-detail,.admin-grid{grid-template-columns:1fr}.admin-body{grid-template-columns:1fr}.admin-side{position:relative}.admin-stats{grid-template-columns:1fr 1fr}.detail-image{height:380px}}
@media(max-width:600px){.brand-copy{display:none}.slider{height:520px}.hero h1{font-size:42px}.hero p{font-size:17px}.slider-btn{display:none}.trust-grid,.cards,.products-grid,.stats,.footer-grid,.field-row{grid-template-columns:1fr}.trust-grid>div{border-right:0;border-bottom:1px solid var(--line)}.section{padding:65px 0}.section-head{display:block}.catalog-filters{grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr}.admin-main{padding:20px}.product-detail h1,.page-hero h1{font-size:36px}}

.service-link{display:inline-flex;margin-top:10px;font-weight:800;color:var(--green);transition:.2s}.service-link:hover{color:var(--orange);transform:translateX(3px)}
@media(min-width:901px){#servicios .cards{grid-template-columns:repeat(3,1fr)}}

/* ===== Portal de clientes / compras ===== */
.nav-cart{display:inline-flex!important;gap:7px;align-items:center}.nav-cart span{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff7a00;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.auth-section{min-height:64vh;display:flex;align-items:center}.auth-card{max-width:520px;margin:auto;background:#fff;border:1px solid #e7ece9;border-radius:22px;padding:34px;box-shadow:0 18px 55px rgba(0,55,35,.08)}.auth-card h1{margin-top:0}.auth-link{text-align:center;margin-top:18px}.alert{padding:12px 14px;border-radius:10px;background:#fff3e8;border:1px solid #ffd1aa;color:#8b3f00;margin:14px 0}.stock{font-size:12px;font-weight:700;display:block}.in-stock{color:#075c40}.out-stock{color:#a33}.add-cart-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0}.add-cart-form label{font-weight:700}.add-cart-form input{display:block;width:90px;margin-top:6px;padding:11px;border:1px solid #ccd8d2;border-radius:10px}.cart-table-wrap,.admin-table-wrap{overflow:auto}.cart-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}.cart-table th,.cart-table td{padding:16px;border-bottom:1px solid #edf1ef;text-align:left}.cart-table small,.admin-table small{display:block;color:#6a7772;margin-top:4px}.cart-table input{width:80px;padding:9px;border:1px solid #ccd8d2;border-radius:8px}.cart-summary{margin-top:22px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.cart-summary>div{min-width:310px;background:#f7faf8;border-radius:16px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.cart-summary .btn{grid-column:1/-1;text-align:center}.checkout-grid{display:grid;grid-template-columns:1.35fr .8fr;gap:30px}.checkout-card{background:#fff;border:1px solid #e6ece8;border-radius:20px;padding:26px;box-shadow:0 14px 40px rgba(0,55,35,.06)}.order-line,.order-total{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #edf1ef}.order-total{font-size:20px;border-bottom:0;padding-top:20px}.account-actions{display:flex;gap:12px;margin-bottom:24px}.status-pill{display:inline-flex;background:#eef7f3;color:#075c40;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.order-detail{display:grid;grid-template-columns:1fr .85fr;gap:34px;margin-top:24px}.success-card{max-width:680px;margin:40px auto;text-align:center;background:#fff;border:1px solid #e4ebe7;border-radius:24px;padding:45px;box-shadow:0 18px 55px rgba(0,55,35,.08)}.success-icon{width:70px;height:70px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#e9f7f1;color:#075c40;font-size:34px;font-weight:900}.success-card .btn{margin:8px}.status-form{display:flex;gap:10px;margin:18px 0}.status-form select{padding:11px;border:1px solid #ccd8d2;border-radius:9px}.admin-order-detail{max-width:1100px}.admin-table td,.admin-table th{vertical-align:top}
@media(max-width:860px){.checkout-grid,.order-detail{grid-template-columns:1fr}.cart-summary{flex-direction:column}.cart-summary>div{min-width:0;width:100%}.auth-card{padding:24px}.main-nav{max-height:80vh;overflow:auto}}

/* V5: tarjetas de servicios con fotografía */
.service-card-photo{padding:0;overflow:hidden;position:relative}.service-media{height:190px;position:relative;overflow:hidden;background:#edf3f1}.service-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.service-card-photo:hover .service-media img{transform:scale(1.045)}.service-icon-float{position:absolute;left:20px;bottom:-1px;transform:translateY(50%);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:white;border:1px solid var(--line);box-shadow:0 8px 25px rgba(16,62,52,.14);font-size:22px}.service-card-body{padding:34px 24px 25px}.service-card-body h3{margin-top:0}.service-card-body p{min-height:82px}.values-section{background:#fff}.values-head{margin-bottom:28px}.values-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.value-card{position:relative;overflow:hidden;border-radius:24px;padding:38px;background:linear-gradient(145deg,#f7faf9,#fff);border:1px solid var(--line);box-shadow:0 14px 42px rgba(24,65,56,.06)}.value-card h3{font-size:28px;margin:4px 0 14px;color:var(--green-dark)}.value-card p{font-size:17px;line-height:1.8;color:var(--muted);margin:0;max-width:650px}.value-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--orange);color:#fff;font-size:21px;font-weight:900;margin-bottom:18px}.clients-section{background:var(--bg)}.clients-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.client-card{min-height:170px;background:white;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 10px 32px rgba(26,70,61,.05)}.client-card img{height:72px;width:170px;object-fit:contain;margin-bottom:16px}.client-card h3{margin:0 0 7px;font-size:17px}.client-card span{color:var(--muted);font-size:13px}.client-placeholder{width:70px;height:70px;border-radius:18px;display:grid;place-items:center;background:#edf5f2;color:var(--green-dark);font-size:30px;font-weight:900;margin-bottom:16px}.admin-client-preview{width:70px;height:44px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:7px;padding:3px}.main-nav{gap:20px;font-size:14px}
@media(max-width:900px){.values-grid{grid-template-columns:1fr}.clients-grid{grid-template-columns:repeat(2,1fr)}.service-card-body p{min-height:auto}}
@media(max-width:600px){.clients-grid{grid-template-columns:1fr}.service-media{height:210px}}

/* V7: comprobantes, notas y facturación */
.checkout-form{display:grid;gap:13px}.checkout-form input,.checkout-form textarea,.checkout-form select,.invoice-admin-form input{width:100%;padding:12px 13px;border:1px solid #ccd8d2;border-radius:10px;font:inherit;background:#fff}.receipt-choice{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}.receipt-choice h3,.invoice-fields h3{margin:0 0 12px}.receipt-choice label{display:flex;gap:10px;align-items:flex-start;padding:10px 0;cursor:pointer}.receipt-choice input{width:auto;margin-top:4px}.receipt-choice span{display:grid;gap:3px}.receipt-choice small,.form-help{color:var(--muted);line-height:1.5}.invoice-fields{padding:18px;border:1px solid #dfe8e5;border-radius:14px;background:#fbfdfc;display:grid;gap:12px}.invoice-fields[hidden]{display:none!important}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-invoice-box{margin:22px 0;padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px}.invoice-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.invoice-admin-grid p{margin:0;padding:12px;background:var(--bg);border-radius:10px}.invoice-admin-form{display:grid;grid-template-columns:180px 1fr auto;gap:10px;align-items:center}.invoice-admin-form select{padding:11px;border:1px solid #ccd8d2;border-radius:9px}@media(max-width:760px){.field-row,.invoice-admin-grid,.invoice-admin-form{grid-template-columns:1fr}}

/* V12: logo completo y ajustes responsive */
.nav-wrap{min-height:92px;height:auto;padding:8px 0;gap:20px}
.brand{flex:0 0 auto;min-width:0}
.brand-logo{width:250px;height:76px;max-width:30vw;border-radius:0;object-fit:contain;object-position:left center;box-shadow:none}
.brand-copy{display:none}
.main-nav{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){
  .nav-wrap{min-height:78px;padding:7px 0}
  .brand-logo{width:220px;height:64px;max-width:65vw}
  .main-nav{top:78px;max-height:calc(100vh - 78px);overflow-y:auto;align-items:stretch;gap:4px}
  .main-nav a{padding:11px 8px}
  .hero-content{padding-right:18px}
}
@media(max-width:600px){
  .container{width:min(100% - 24px,1180px)}
  .brand-logo{width:190px;height:58px;max-width:70vw}
  .hero-actions{flex-direction:column;align-items:stretch;max-width:280px}
  .hero-actions .btn{width:100%}
  .hero h1{font-size:clamp(34px,10vw,42px)}
  .hero-content{margin-left:12px;padding-right:12px}
  .slider{height:500px}
  .product-image{height:190px}
  .whatsapp{right:12px;bottom:12px;padding:12px 14px}
}

/* =========================================================
   V13 - Diseño ecommerce tecnológico inspirado en mockup aprobado
   ========================================================= */
:root{
  --tech-navy:#062c45;
  --tech-navy-2:#083b58;
  --tech-teal:#007783;
  --tech-green:#04634e;
  --tech-orange:#ff7a00;
  --tech-orange-2:#ff9500;
  --tech-ink:#0d2340;
  --tech-muted:#6b7b8f;
  --tech-line:#e5ebf0;
  --tech-soft:#f6f9fb;
  --tech-shadow:0 12px 35px rgba(7,39,63,.10);
}
body{background:#fff;color:var(--tech-ink)}
.commerce-header{position:sticky;top:0;z-index:90;background:#fff;box-shadow:0 4px 18px rgba(0,35,55,.08)}
.top-strip{background:linear-gradient(90deg,#075b68,#056852,#06445e);color:#fff;font-size:12px}
.top-strip-inner{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;white-space:nowrap}
.top-strip-inner a{color:#fff}.top-social{letter-spacing:5px;opacity:.85}
.main-head{background:linear-gradient(90deg,#f9fbfc 0%,#fff 55%,#f6faf9 100%)}
.main-head-inner{min-height:118px;display:grid;grid-template-columns:230px minmax(280px,1fr) auto;align-items:center;gap:34px}
.brand-modern{display:flex;align-items:center;justify-content:flex-start;height:112px;overflow:visible}
.brand-logo-modern{width:205px;height:108px;object-fit:contain;object-position:left center;filter:drop-shadow(0 5px 10px rgba(0,35,45,.16));margin-left:-8px}
.header-search{height:48px;display:grid;grid-template-columns:1fr 58px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 8px 28px rgba(3,48,65,.12);border:1px solid #edf1f4}
.header-search input{border:0;border-radius:0;padding:0 18px;box-shadow:none;font-size:14px;background:#fff}
.header-search button{border:0;background:#075a70;color:#fff;font-size:27px;cursor:pointer}
.header-actions{display:flex;align-items:center;gap:22px}
.header-action{display:flex;align-items:center;gap:9px;position:relative;color:#0c3f58}
.header-action .ha-icon{font-size:25px;color:#08718c;line-height:1}
.header-action span:nth-child(2){display:grid;gap:2px;white-space:nowrap}
.header-action small{font-size:11px;color:#617487}.header-action strong{font-size:12px;font-weight:700}
.cart-action b{position:absolute;right:-12px;top:-9px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--tech-orange);color:#fff;font-size:10px}
.menu-toggle-modern{display:none}
.nav-bar-modern{background:linear-gradient(90deg,#07556b,#006b70,#0a405c);color:#fff}
.main-nav-modern{min-height:49px;display:flex;align-items:center;justify-content:flex-start;gap:0!important;font-size:13px;font-weight:600}
.main-nav-modern a{height:49px;padding:0 21px;display:flex;align-items:center;gap:8px;color:#fff;border-right:1px solid rgba(255,255,255,.07);transition:.2s}
.main-nav-modern a:hover{background:rgba(255,255,255,.08);color:#fff}
.main-nav-modern .nav-home{background:linear-gradient(135deg,var(--tech-orange),#ff9e1a);border-radius:7px;margin:6px 8px 6px 0;height:38px;border:0;box-shadow:0 5px 15px rgba(255,122,0,.25)}

.hero-modern{padding:18px 0 0;background:linear-gradient(#eef5f8,#fff)}
.slider-modern{height:455px;border-radius:15px;overflow:hidden;box-shadow:0 15px 35px rgba(3,35,59,.16)}
.slide-modern{background-size:cover;background-position:center;display:flex;align-items:center}
.hero-modern-content{width:55%;max-width:690px;padding-left:58px;color:#fff;position:relative;z-index:2}
.hero-kicker{display:inline-block;color:#fff;font-size:15px;font-weight:700;margin-bottom:14px}
.hero-modern h1{font-size:clamp(38px,4.2vw,62px);line-height:.98;text-transform:uppercase;font-weight:900;margin:0 0 18px;letter-spacing:-.035em}
.hero-modern p{font-size:17px;line-height:1.5;max-width:590px;color:#eef7fb;margin:0}
.hero-actions-modern{display:flex;gap:14px;margin-top:24px;flex-wrap:wrap}
.btn-modern{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:9px;border:0;font:inherit;font-weight:800;cursor:pointer;transition:.2s}
.btn-orange{background:linear-gradient(135deg,var(--tech-orange),var(--tech-orange-2));color:#fff;box-shadow:0 8px 22px rgba(255,122,0,.25)}
.btn-orange:hover{transform:translateY(-2px);color:#fff}
.btn-glass{border:1.5px solid rgba(255,255,255,.9);color:#fff;background:rgba(3,35,58,.24);backdrop-filter:blur(5px)}
.btn-glass:hover{background:#fff;color:var(--tech-navy)}
.slider-modern .slider-btn{width:42px;height:42px;background:rgba(4,31,51,.55);border:1px solid rgba(255,255,255,.8);font-size:27px}
.slider-modern .slider-btn.prev{left:12px}.slider-modern .slider-btn.next{right:12px}
.slider-modern .slider-dots{bottom:18px}
.slider-modern .slider-dots button{background:#fff;opacity:.85}.slider-modern .slider-dots button.active{background:var(--tech-orange);opacity:1;width:10px}

.feature-strip-modern{background:#fff;border-bottom:1px solid #edf1f4}
.feature-strip-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0}
.feature-strip-grid>div{min-height:88px;display:flex;align-items:center;justify-content:center;gap:13px;padding:14px 20px}
.feature-icon{font-size:29px;color:var(--tech-orange);min-width:34px;text-align:center;font-weight:900}
.feature-strip-grid strong,.feature-strip-grid small{display:block}.feature-strip-grid strong{font-size:13px}.feature-strip-grid small{font-size:11px;color:#8592a0;margin-top:3px}

.section-modern{padding:62px 0}
.categories-modern{background:radial-gradient(circle at 8% 100%,rgba(71,209,69,.16),transparent 25%),radial-gradient(circle at 92% 20%,rgba(20,134,190,.12),transparent 24%),#fbfcfd}
.modern-title{text-align:center;margin-bottom:30px}.modern-title>span,.modern-title>div>span{display:block;color:#7690ae;font-size:13px;margin-bottom:5px}
.modern-title h2{font-size:36px;margin:0;color:#0a294b;font-weight:900;letter-spacing:-.03em}.modern-title h2 em{font-style:normal;color:var(--tech-orange)}
.modern-title p{margin:6px auto 0;color:#7290b3;max-width:700px;font-size:14px}
.modern-title-row{display:flex;align-items:end;justify-content:space-between;text-align:left}.modern-title-row>div{text-align:left}.modern-title-row h2{margin-top:0}
.outline-small{border:1px solid var(--tech-orange);color:var(--tech-orange);border-radius:8px;padding:10px 18px;font-size:12px;font-weight:800}
.category-cards-modern{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.category-card-modern{background:#fff;border:1px solid #e6ebef;border-radius:10px;overflow:hidden;box-shadow:0 7px 24px rgba(8,45,71,.06);transition:.22s}
.category-card-modern:hover{transform:translateY(-5px);box-shadow:var(--tech-shadow)}
.category-photo{height:125px;padding:12px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#f7f9fa)}
.category-photo img{width:100%;height:100%;object-fit:contain;border-radius:7px}
.category-name{padding:13px 14px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#0b3150}.category-name strong{font-size:13px;line-height:1.25}.category-name span{font-size:22px;color:var(--tech-orange)}

.products-modern{background:#fff}
.products-grid-modern{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card-modern{border:1px solid #e8edf0;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 5px 22px rgba(5,40,64,.05);transition:.2s}
.product-card-modern:hover{transform:translateY(-5px);box-shadow:var(--tech-shadow)}
.product-media-modern{height:215px;padding:18px;display:grid;place-items:center;background:#fff}
.product-media-modern img{width:100%;height:100%;object-fit:contain}
.product-info-modern{padding:16px 17px 18px;border-top:1px solid #f0f2f4}.product-category-modern{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#6d8fad;font-weight:800}.product-info-modern h3{font-size:15px;line-height:1.3;margin:7px 0;color:#0b3150}.product-info-modern p{font-size:12px;color:#748393;line-height:1.5;min-height:36px}.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.product-price-row strong{font-size:18px;color:#073e51}.product-price-row a{font-size:11px;color:var(--tech-orange);font-weight:800}

.dark-showcase{background:linear-gradient(130deg,#052d45,#006b70);color:#fff}
.showcase-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}.showcase-grid h2{font-size:44px;margin:5px 0 12px}.showcase-grid p{color:#cce1e8;line-height:1.7;max-width:610px}.showcase-points{display:grid;grid-template-columns:1fr 1fr;gap:14px}.showcase-points>div{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.06)}.showcase-points b{font-size:24px;color:var(--tech-orange)}.showcase-points strong,.showcase-points small{display:block}.showcase-points small{color:#c5dae2;margin-top:3px}

.who-modern{background:#fff}.who-grid-modern{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}.who-grid-modern article{background:#fff;border:1px solid #e5ebef;border-radius:15px;padding:27px;box-shadow:0 8px 28px rgba(7,43,67,.06)}.who-grid-modern h3{color:#0a3551;margin:13px 0 9px}.who-grid-modern p{color:#6c7d8b;line-height:1.7;font-size:14px}.who-badge{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#075f6d,#047e6c);color:#fff;font-weight:900}
.clients-modern{background:#f7fafb}.clients-grid-modern{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.client-card-modern{min-height:150px;background:#fff;border:1px solid #e5ebef;border-radius:13px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 6px 20px rgba(5,42,64,.05)}.client-card-modern img{height:66px;width:160px;object-fit:contain;margin-bottom:12px}.client-card-modern h3{font-size:14px;margin:0;color:#0a3551}.client-card-modern span{font-size:11px;color:#778797;margin-top:4px}.client-initial-modern{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#eaf5f3;color:#07634f;font-weight:900;font-size:24px;margin-bottom:10px}
.contact-modern{background:linear-gradient(130deg,#062e45,#064f5d);color:#fff}.contact-modern-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;align-items:center}.contact-copy-modern h2{font-size:42px;margin:5px 0 14px}.contact-copy-modern p{color:#cbdfe6;line-height:1.7}.contact-bullets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;color:#d8ecf1;font-size:13px}.contact-form-modern{background:#fff;border-radius:15px;padding:25px;display:grid;gap:12px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.contact-form-modern input,.contact-form-modern select,.contact-form-modern textarea{border:1px solid #dfe7eb;background:#fdfefe;color:#17334a}

.site-footer{background:#031f31}.whatsapp{background:#16b95d;box-shadow:0 10px 25px rgba(0,0,0,.24);z-index:80}

@media(max-width:1080px){
  .main-head-inner{grid-template-columns:180px 1fr auto;gap:20px}.brand-logo-modern{width:170px;height:96px}.header-actions{gap:12px}.main-nav-modern a{padding:0 14px}
  .category-cards-modern{grid-template-columns:repeat(3,1fr)}.products-grid-modern{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .top-strip-inner{justify-content:center}.top-strip-inner span:nth-child(2),.top-strip-inner span:nth-child(3),.top-social{display:none}
  .main-head-inner{min-height:86px;display:grid;grid-template-columns:150px 1fr 46px;gap:12px}.brand-modern{height:82px}.brand-logo-modern{width:145px;height:82px;margin-left:-5px}.header-search{height:44px}.header-actions{display:none}.menu-toggle-modern{display:block;color:#07566a;font-size:30px}
  .nav-bar-modern{background:#fff}.main-nav-modern{display:none;position:absolute;top:118px;left:0;right:0;background:#063f55;padding:10px;flex-direction:column;align-items:stretch;max-height:calc(100vh - 118px);overflow:auto}.main-nav-modern.open{display:flex}.main-nav-modern a,.main-nav-modern .nav-home{height:44px;margin:0;border-radius:7px;border:0;padding:0 14px}
  .slider-modern{height:430px}.hero-modern-content{width:72%;padding-left:45px}.hero-modern h1{font-size:46px}
  .feature-strip-grid{grid-template-columns:repeat(3,1fr)}.feature-strip-grid>div:nth-child(4),.feature-strip-grid>div:nth-child(5){border-top:1px solid #edf1f4}
  .products-grid-modern{grid-template-columns:repeat(2,1fr)}.showcase-grid,.contact-modern-grid{grid-template-columns:1fr}.who-grid-modern{grid-template-columns:1fr}.clients-grid-modern{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .top-strip{font-size:10px}.top-strip-inner{min-height:27px;justify-content:space-between;gap:8px}.top-strip-inner a{font-size:10px}
  .main-head-inner{grid-template-columns:105px 1fr 42px;gap:8px;min-height:72px}.brand-modern{height:70px}.brand-logo-modern{width:104px;height:68px}.header-search{height:40px}.header-search input{font-size:11px;padding:0 10px}.header-search button{width:42px;font-size:22px}.menu-toggle-modern{font-size:27px}
  .main-nav-modern{top:99px;max-height:calc(100vh - 99px)}
  .hero-modern{padding-top:10px}.slider-modern{height:420px;border-radius:11px}.hero-modern-content{width:100%;padding:0 28px}.hero-modern h1{font-size:36px;max-width:320px}.hero-modern p{font-size:14px;max-width:320px}.hero-kicker{font-size:12px}.hero-actions-modern{flex-direction:column;align-items:flex-start}.btn-modern{min-height:43px;font-size:12px}.slider-modern .slider-btn{display:none}
  .feature-strip-grid{grid-template-columns:1fr 1fr}.feature-strip-grid>div{min-height:76px;justify-content:flex-start;padding:12px}.feature-strip-grid>div:nth-child(5){grid-column:1/-1}.feature-icon{font-size:23px}.feature-strip-grid strong{font-size:11px}.feature-strip-grid small{font-size:9px}
  .section-modern{padding:46px 0}.modern-title h2{font-size:29px}.modern-title p{font-size:12px}.modern-title-row{display:block}.outline-small{display:inline-block;margin-top:15px}
  .category-cards-modern{grid-template-columns:1fr 1fr;gap:10px}.category-photo{height:105px}.category-name{padding:10px}.category-name strong{font-size:11px}
  .products-grid-modern{grid-template-columns:1fr 1fr;gap:10px}.product-media-modern{height:145px;padding:10px}.product-info-modern{padding:11px}.product-info-modern h3{font-size:12px}.product-info-modern p{display:none}.product-price-row{display:block}.product-price-row strong,.product-price-row a{display:block}.product-price-row a{margin-top:5px}
  .showcase-grid h2,.contact-copy-modern h2{font-size:32px}.showcase-points{grid-template-columns:1fr}.who-grid-modern article{padding:22px}.clients-grid-modern{grid-template-columns:1fr 1fr;gap:10px}.client-card-modern{min-height:120px;padding:13px}.client-card-modern img{height:48px;width:110px}
  .contact-modern-grid{gap:30px}.contact-bullets{grid-template-columns:1fr}.contact-form-modern{padding:18px}.contact-form-modern .field-row{grid-template-columns:1fr}
}


/* =========================================================
   V14 - Tarjetas sin texto encimado + redes + visitas
   ========================================================= */
.category-cards-modern{
  align-items:stretch;
}
.category-card-modern{
  display:flex!important;
  flex-direction:column!important;
  min-height:235px;
  overflow:hidden!important;
  position:relative;
}
.category-photo{
  height:158px!important;
  min-height:158px!important;
  padding:0!important;
  overflow:hidden!important;
  position:relative!important;
  flex:0 0 158px;
  background:#f5f8fa!important;
}
.category-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  border-radius:0!important;
  position:static!important;
  transform:none!important;
}
.category-name{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  flex:1 1 auto;
  min-height:76px;
  padding:14px 15px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px;
  align-items:start!important;
  gap:8px;
  background:#fff!important;
  color:#0b3150!important;
  z-index:3;
  border-top:1px solid #eef2f4;
}
.category-name strong{
  display:block!important;
  min-width:0;
  font-size:13px!important;
  line-height:1.32!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:normal;
  margin:0!important;
  padding:0!important;
}
.category-name span{
  align-self:start;
  justify-self:end;
  line-height:1;
}
.top-social{display:inline-flex;align-items:center;gap:7px;letter-spacing:0!important;opacity:1!important}
.top-social .social-link,.footer-socials a{
  width:25px;height:25px;border-radius:50%;display:inline-grid;place-items:center;
  color:#fff!important;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);
  font-weight:900;font-size:13px;line-height:1;text-decoration:none;transition:.2s
}
.top-social .social-link:hover,.footer-socials a:hover{background:var(--tech-orange);transform:translateY(-1px)}
.visit-counter-top{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#eaf9fb}
.visit-counter-top strong{color:#fff}
.footer-socials{display:flex;gap:8px;margin-top:14px}.footer-socials a{width:32px;height:32px;background:rgba(255,255,255,.1)}
.footer-bottom{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}.footer-visits{color:#b9d7df}.footer-visits strong{color:#fff}
@media(max-width:1080px){.visit-counter-top{display:none}}
@media(max-width:900px){.top-social{display:flex!important}.top-strip-inner .visit-counter-top{display:none}.category-card-modern{min-height:225px}.category-photo{height:150px!important;min-height:150px!important;flex-basis:150px}.category-name{min-height:74px}}
@media(max-width:600px){.top-social{gap:4px}.top-social .social-link{width:22px;height:22px;font-size:11px}.category-card-modern{min-height:205px}.category-photo{height:132px!important;min-height:132px!important;flex-basis:132px}.category-name{min-height:72px;padding:11px!important}.category-name strong{font-size:11px!important;line-height:1.3!important}}

/* V15: estado de envío de comprobantes */
.alert-success{margin:16px 0;padding:14px 16px;border-radius:10px;background:#e9f8ef;border:1px solid #b9e5c8;color:#145c32}

/* V16 - actualización rápida de estado */
.status-form-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}
.status-form-inline select{min-width:140px}
.btn-small{padding:8px 12px;font-size:.82rem}
.delivery-date{margin-top:10px;padding:10px 14px;border-radius:10px;background:#eef8f2;color:#165b38;display:inline-block}
@media(max-width:768px){.status-form-inline{min-width:190px}.status-form-inline select{width:100%}}

/* V17: acceso administrativo visible solo para usuarios ADMIN */
.main-nav-modern .nav-admin {
    background: rgba(255, 138, 0, .14);
    border: 1px solid rgba(255, 138, 0, .45);
    border-radius: 8px;
}
.main-nav-modern .nav-admin:hover {
    background: #ff8a00;
    color: #fff;
}


/* V21 - Acciones visibles en catálogo y slides */
.product-actions,.slide-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.product-actions form,.slide-actions form{margin:0}
.admin-action,.slide-actions .btn-edit,.slide-actions .btn-danger{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:0;border-radius:9px;font-weight:800!important;text-decoration:none!important;white-space:nowrap;cursor:pointer;color:#fff!important}
.admin-action-edit,.admin-action-change,.slide-actions .btn-edit{background:#0b6b61!important;color:#fff!important}
.admin-action-delete,.slide-actions .btn-danger{background:#c0392b!important;color:#fff!important}
.admin-action:hover,.slide-actions .btn-edit:hover,.slide-actions .btn-danger:hover{filter:brightness(.94);color:#fff!important}
@media(max-width:700px){.product-actions{min-width:250px}.admin-action,.slide-actions .btn-edit,.slide-actions .btn-danger{font-size:13px;padding:8px 11px}}

/* =========================================================
   V22 - Administración: logo completo, filtros y acciones
   ========================================================= */
.admin-body{grid-template-columns:280px minmax(0,1fr)}
.admin-side{padding:22px 18px;overflow:visible}
.admin-logo-wrap{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;padding:4px 0 12px;overflow:visible}
.admin-side .admin-logo-full{width:100%!important;max-width:240px!important;height:145px!important;max-height:none!important;border-radius:0!important;object-fit:contain!important;object-position:center!important;background:transparent!important;box-shadow:none!important}
.admin-filter-bar{display:grid;grid-template-columns:minmax(220px,520px) auto auto;gap:10px;align-items:center;margin:18px 0 22px;max-width:820px}
.admin-filter-bar select,.admin-filter-bar input{margin:0}
.admin-clear{background:#eef3f2!important;color:#244d46!important;border:1px solid #d6e1de}
.admin-notice{padding:13px 15px;border-radius:10px;margin:12px 0 18px;max-width:850px;font-weight:700}
.admin-notice.ok{background:#e9f7ef;border:1px solid #abd7bb;color:#175c36}
.admin-notice.error{background:#fff0ed;border:1px solid #efb1a7;color:#8a1c10}
.admin-empty{padding:25px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:18px;color:var(--muted)}
.admin-save-wide{width:100%;margin-top:5px;color:#1f332f}
.admin-content-form{max-width:850px!important}
.admin-content-form textarea{min-height:145px;line-height:1.6}
@media(max-width:900px){
 .admin-body{grid-template-columns:1fr}.admin-side{position:relative}.admin-logo-wrap{min-height:115px}.admin-side .admin-logo-full{height:110px!important;max-width:210px!important}.admin-filter-bar{grid-template-columns:1fr}.admin-filter-bar .btn{width:100%}
}


/* =========================================================
   V23 - Logo transparente + filtros de notas y facturas
   ========================================================= */
.brand-modern{background:transparent!important;overflow:visible!important;display:flex!important;align-items:center!important}
.brand-logo-modern{background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 4px 8px rgba(0,54,62,.13))!important;object-fit:contain!important}
.admin-logo-wrap{background:transparent!important}
.admin-side .admin-logo-full{background:transparent!important;filter:drop-shadow(0 6px 12px rgba(0,0,0,.18))}
.order-filter-card{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:13px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin:20px 0;box-shadow:0 8px 26px rgba(5,52,46,.05)}
.order-filter-card>div{min-width:0}.order-filter-card label{display:block;font-size:12px;font-weight:800;color:#274d46;margin:0 0 6px}.order-filter-card input,.order-filter-card select{height:44px;margin:0}.order-filter-search{grid-column:span 3}.order-filter-actions{display:flex;gap:9px;align-items:center}.order-filter-actions .btn{min-height:44px;white-space:nowrap}.admin-page-head p,.account-orders-head p{color:var(--muted);margin-top:-4px}.account-orders-head{margin-top:8px}.account-orders-head h2{margin-bottom:8px}.filter-result-count{margin:4px 0 14px;color:var(--muted)}
.admin-table small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.status-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#e7f5ec;color:#19633e;font-size:12px;font-weight:800}
.customer-order-filters{grid-template-columns:repeat(5,minmax(135px,1fr)) auto}
@media(max-width:1180px){.order-filter-card,.customer-order-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}.order-filter-search{grid-column:span 2}}
@media(max-width:760px){.order-filter-card,.customer-order-filters{grid-template-columns:1fr 1fr}.order-filter-search{grid-column:1/-1}.order-filter-actions{grid-column:1/-1}.order-filter-actions .btn{flex:1}}
@media(max-width:480px){.order-filter-card,.customer-order-filters{grid-template-columns:1fr}.order-filter-search,.order-filter-actions{grid-column:auto}}

/* =========================================================
   V24 - Corrección visual de filtros / selects
   Evita que el texto de Pago, Comprobante y Estado se corte.
   Aplica en Admin > Pedidos y Mi cuenta.
   ========================================================= */
.order-filter-card input,
.order-filter-card select,
.customer-order-filters input,
.customer-order-filters select {
    width: 100%;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    line-height: normal !important;
    box-sizing: border-box;
    border-radius: 12px;
    vertical-align: middle;
    overflow: visible;
}

.order-filter-card select,
.customer-order-filters select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important;
}

.order-filter-card label,
.customer-order-filters label {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.35;
}

.order-filter-card .btn,
.customer-order-filters .btn,
.order-filter-actions .btn {
    min-height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

/* También evita recortes en los selectores de estado de la tabla administrativa. */
.status-form select,
.status-form-inline select,
.invoice-admin-form select {
    min-height: 44px;
    height: 44px;
    padding: 0 12px;
    line-height: normal !important;
}

@media (max-width: 768px) {
    .order-filter-card input,
    .order-filter-card select,
    .customer-order-filters input,
    .customer-order-filters select,
    .order-filter-card .btn,
    .customer-order-filters .btn,
    .order-filter-actions .btn {
        width: 100%;
        min-height: 50px !important;
        height: 50px !important;
        font-size: 16px !important;
    }

    .order-filter-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   V26 - Clientes principales: vista y cambio de logotipo
   ========================================================= */
.client-admin-form{max-width:760px}
.admin-upload-label{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px dashed #9fc5bd;border-radius:12px;background:#f5fbf9;color:#244d46}
.admin-upload-label span{font-size:12px;color:var(--muted)}
.admin-upload-label input[type=file]{margin-top:6px;padding:9px;background:#fff}
.client-logo-current{display:flex;align-items:center;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.client-logo-current span{font-weight:800;color:#274d46}
.client-logo-current img{width:140px;height:82px;object-fit:contain;background:#fff;border:1px solid #e6ecea;border-radius:10px;padding:6px}
.client-logo-preview-box{width:120px;height:72px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e9e7;border-radius:10px;overflow:hidden;padding:5px}
.client-logo-preview-box .admin-client-preview{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border-radius:6px!important;background:transparent!important}
.no-logo{font-size:12px;color:var(--muted);white-space:nowrap}
.client-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:360px}
.client-actions form{margin:0}
.client-logo-table td{vertical-align:middle}
@media(max-width:760px){.client-logo-current{align-items:flex-start;flex-direction:column}.client-logo-current img{width:180px;height:100px}.client-actions{min-width:260px}.client-logo-preview-box{width:100px;height:62px}}

/* ===== V27 · CUENTAS BANCARIAS EN CHECKOUT ===== */
.checkout-label{display:block;font-weight:800;margin:16px 0 8px;color:#173c38}
.bank-accounts-box{margin:14px 0 22px;padding:18px;border:1px solid #d7e5e2;border-radius:16px;background:#f8fbfa}
.bank-accounts-box[hidden]{display:none!important}
.bank-accounts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px}
.bank-account-card{display:flex!important;gap:12px;align-items:flex-start;padding:16px;border:1px solid #cddedb;border-radius:14px;background:#fff;cursor:pointer;transition:.2s}
.bank-account-card:hover{border-color:#0c6c63;box-shadow:0 6px 18px rgba(12,108,99,.10)}
.bank-account-card:has(input:checked){border:2px solid #0c6c63;background:#eef8f6}
.bank-account-card input{width:auto!important;height:auto!important;margin-top:4px}
.bank-account-card span{display:flex;flex-direction:column;gap:4px;line-height:1.35}
.bank-account-card strong{color:#075b5b;font-size:17px}
.bank-account-card small{display:block;color:#435b58;font-size:14px}
@media(max-width:700px){.bank-accounts-grid{grid-template-columns:1fr}.bank-account-card{padding:14px}}

/* ===== V29: TIPO DE CAMBIO ===== */
.exchange-rate-box{
  margin:18px 0 22px;
  padding:18px 20px;
  border:1px solid rgba(0,95,90,.18);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(0,110,105,.07),rgba(243,154,50,.08));
}
.exchange-rate-box h3{margin:0 0 10px;color:#075b5b}
.exchange-rate-main{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.exchange-rate-main strong{font-size:1.15rem;color:#075b5b}
.usd-estimate{margin-top:8px;color:#075b5b}
@media(max-width:640px){.exchange-rate-main{align-items:flex-start;flex-direction:column;gap:4px}}

/* V35 - selectores de ubicación */
.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0 14px}.location-grid>div{min-width:0}.location-grid .location-other,.location-grid>[data-location-other]{grid-column:1/-1}.location-grid label{display:block;font-weight:700;margin:0 0 7px}.location-grid select,.location-grid input{width:100%;min-height:50px;padding:10px 14px;border:1px solid #d8dee5;border-radius:10px;background:#fff;font:inherit;color:inherit;box-sizing:border-box}.location-grid select{line-height:normal}.tax-rule-note{padding:12px 14px;border-radius:10px;background:#f5f8f8;font-size:.92rem;line-height:1.45}@media(max-width:700px){.location-grid{grid-template-columns:1fr}.location-grid .location-other,.location-grid>[data-location-other]{grid-column:auto}}

/* =========================================================
   V41 - Logo transparente unificado + acciones legibles
   ========================================================= */
.brand-logo-modern,
.admin-side .admin-logo-full,
.login-card img,
.brand-logo {
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}
.brand-logo-modern {
    width: 220px !important;
    height: 112px !important;
    max-width: 100% !important;
    object-position: left center !important;
}
.admin-logo-wrap {
    min-height: 150px !important;
    overflow: visible !important;
}
.admin-side .admin-logo-full {
    width: 100% !important;
    max-width: 245px !important;
    height: 145px !important;
    object-position: center !important;
}
.login-card img {
    width: 230px !important;
    height: 130px !important;
    max-width: 100% !important;
}
.brand-logo {
    width: 230px !important;
    height: 115px !important;
}

/* La regla .admin-table a del tema podía ocultar el texto del botón verde. */
.admin-table .msg-actions a.reply-btn,
.admin-table .msg-actions .reply-btn,
.admin-table .msg-actions button.status-btn,
.msg-actions .reply-btn,
.msg-actions .status-btn {
    color: #ffffff !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}
.admin-table .msg-actions a.reply-btn,
.msg-actions .reply-btn {
    background: #0b7772 !important;
    border: 1px solid #075f5b !important;
}
.admin-table .msg-actions button.status-btn,
.msg-actions .status-btn {
    background: #df861d !important;
    border: 1px solid #c97312 !important;
}
.admin-table .msg-actions button.status-btn.reopen,
.msg-actions .status-btn.reopen {
    background: #44515c !important;
    border-color: #35414b !important;
    color: #ffffff !important;
}
.admin-table .msg-actions a.reply-btn:hover,
.admin-table .msg-actions button.status-btn:hover,
.msg-actions .reply-btn:hover,
.msg-actions .status-btn:hover {
    filter: brightness(.94);
    color: #ffffff !important;
}
@media(max-width:650px){
    .brand-logo-modern{width:145px!important;height:78px!important}
    .admin-side .admin-logo-full{max-width:220px!important;height:130px!important}
}
\n\n/* =========================================================\n   V42 - Mensajes: texto de acciones visible + Estatus\n   ========================================================= */\n.admin-table .actions-cell .msg-actions a.reply-btn {\n    display:inline-flex !important;\n    align-items:center !important;\n    justify-content:center !important;\n    min-width:170px !important;\n    min-height:42px !important;\n    padding:10px 16px !important;\n    background:#0b7772 !important;\n    border:1px solid #075f5b !important;\n    color:#ffffff !important;\n    font-size:14px !important;\n    line-height:1.2 !important;\n    font-weight:800 !important;\n    text-decoration:none !important;\n    opacity:1 !important;\n}\n.admin-table .actions-cell .msg-actions a.reply-btn .reply-btn-text {\n    display:inline !important;\n    color:#ffffff !important;\n    -webkit-text-fill-color:#ffffff !important;\n    font-size:14px !important;\n    line-height:1.2 !important;\n    font-weight:800 !important;\n    opacity:1 !important;\n    visibility:visible !important;\n}\n.admin-table .actions-cell .msg-actions button.status-btn {\n    min-width:170px !important;\n    min-height:42px !important;\n    padding:10px 16px !important;\n    font-size:14px !important;\n    line-height:1.2 !important;\n    font-weight:800 !important;\n}\n@media(max-width:650px){\n  .admin-table .actions-cell .msg-actions a.reply-btn,\n  .admin-table .actions-cell .msg-actions button.status-btn{min-width:100%!important;width:100%!important}\n}\n
/* =========================================================
   V44 - Soporte técnico como conversación en línea
   ========================================================= */
.support-category-card .category-name span{font-size:18px;line-height:1}
.online-support-button{
  position:fixed;right:24px;bottom:84px;z-index:160;
  width:62px;height:62px;border:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;background:linear-gradient(145deg,#063f55,#075f54);
  color:#fff;box-shadow:0 12px 30px rgba(3,43,54,.28);transition:.2s;
}
.online-support-button:hover{transform:translateY(-2px) scale(1.02)}
.online-support-icon{font-size:27px;line-height:1}
.online-support-badge{
  position:absolute;right:48px;top:15px;background:#fff;color:#083e4d;
  padding:7px 10px;border-radius:10px;font-size:11px;font-weight:800;
  box-shadow:0 5px 18px rgba(0,0,0,.12);white-space:nowrap;
}
.online-support-panel{
  display:none;
  position:fixed;right:24px;bottom:158px;z-index:170;width:min(380px,calc(100vw - 32px));
  background:#fff;border:1px solid #dfe9ea;border-radius:18px;overflow:hidden;
  box-shadow:0 20px 55px rgba(4,38,53,.28);
}
.online-support-panel:target{display:block!important}
.online-support-head{
  min-height:72px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;background:linear-gradient(135deg,#073f53,#066652);color:#fff;
}
.online-support-head strong,.online-support-head small{display:block}.online-support-head strong{font-size:17px}.online-support-head small{margin-top:3px;color:#d9f0ec;font-size:11px}
.online-support-close{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:24px;cursor:pointer}
.online-support-body{padding:16px}.online-support-intro{margin:0 0 13px;color:#637583;font-size:12px;line-height:1.5}
.online-support-form{display:grid;gap:10px}.online-support-form label{display:grid;gap:5px;color:#213c48;font-size:12px;font-weight:700}
.online-support-form input,.online-support-form textarea{width:100%;border:1px solid #d5e0e2;border-radius:9px;padding:10px 11px;font:inherit;background:#fff;color:#182b34;box-sizing:border-box}
.online-support-form textarea{resize:vertical}
.online-support-send{border:0;border-radius:9px;padding:12px 16px;background:linear-gradient(135deg,#ff7a00,#ff9b16);color:#fff;font-weight:800;cursor:pointer}
@media(max-width:600px){
  .online-support-button{right:14px;bottom:78px;width:56px;height:56px}
  .online-support-badge{display:none}
  .online-support-panel{right:12px;bottom:144px;width:calc(100vw - 24px)}
}

/* V45: soporte abre también sin JavaScript mediante :target */
.online-support-button{text-decoration:none!important}
.online-support-close{display:grid;place-items:center;text-decoration:none!important}
.support-category-card{cursor:pointer}

/* =========================================================
   V46 - Asesoría visible completa + tarjeta póliza de servicio
   ========================================================= */
.support-category-card .category-photo{
    background:#ffffff !important;
    padding:8px !important;
}
.support-category-card .category-photo img{
    object-fit:contain !important;
    object-position:center center !important;
    width:100% !important;
    height:100% !important;
}
.policy-service-visual{
    background:linear-gradient(145deg,#eef8f7,#ffffff) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    padding:18px !important;
}
.policy-service-icon{
    width:66px;
    height:66px;
    display:grid;
    place-items:center;
    border-radius:18px;
    background:linear-gradient(145deg,#075f6d,#07866e);
    box-shadow:0 10px 22px rgba(7,95,109,.18);
    font-size:34px;
}
.policy-service-lines{
    width:68%;
    display:grid;
    gap:5px;
}
.policy-service-lines span{
    height:5px;
    border-radius:999px;
    background:#c6ddda;
}
.policy-service-lines span:nth-child(2){width:84%}
.policy-service-lines span:nth-child(3){width:62%}
.policy-category-card .category-name span{font-size:17px;line-height:1}


/* =========================================================
   V47 - Atención en línea + configurador de póliza
   ========================================================= */
.online-support-button{
  width:64px!important;height:64px!important;
  background:#3d4651!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
}
.online-support-button::after{
  content:'1';position:absolute;right:-3px;top:-4px;width:22px;height:22px;
  border-radius:50%;background:#ef6f32;color:#fff;display:grid;place-items:center;
  font-size:11px;font-weight:900;border:2px solid #fff;
}
.online-support-icon{font-size:28px!important}
.online-support-badge{
  right:54px!important;top:12px!important;font-size:12px!important;
  padding:8px 12px!important;border-radius:14px!important;
}

.policy-page{padding:34px 0 54px;background:#f5f7f8}
.policy-shell{max-width:1100px;margin:0 auto;padding:0 18px}
.policy-card{background:#fff;border:1px solid #e1e7ea;border-radius:18px;box-shadow:0 14px 34px rgba(0,0,0,.06);padding:26px}
.policy-head{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}
.policy-head h1{margin:0;font-size:clamp(28px,4vw,42px);color:#153640}
.policy-head p{margin:7px 0 0;color:#64747c}
.policy-price-badge{background:#fff4e5;border:1px solid #ffd3a3;color:#9a5000;border-radius:12px;padding:12px 16px;font-weight:900}
.policy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.policy-item{border:1px solid #dfe7ea;border-radius:16px;padding:18px;background:#fbfcfc}
.policy-item h3{margin:0 0 5px;color:#183c46}.policy-item p{margin:0 0 14px;color:#6b7a81;font-size:13px}
.policy-counter{display:flex;align-items:center;gap:10px}
.policy-counter button{width:40px;height:40px;border:1px solid #cfdadd;background:#fff;border-radius:10px;font-size:22px;cursor:pointer}
.policy-counter input{width:78px;height:40px;text-align:center;border:1px solid #cfdadd;border-radius:10px;font-weight:800;font-size:16px}
.policy-summary{display:grid;grid-template-columns:1fr auto;gap:10px 18px;border-top:1px solid #e2e8ea;margin-top:20px;padding-top:20px;align-items:center}
.policy-summary .grand{font-size:24px;font-weight:900;color:#0c4f52}
.policy-personal{margin-top:20px;padding:18px;border-radius:14px;background:#eef7f5;border:1px solid #d0e7e1}
.policy-personal label{font-weight:800;color:#173f43}.policy-personal textarea{width:100%;min-height:100px;margin-top:10px;border:1px solid #cbdadd;border-radius:10px;padding:12px;box-sizing:border-box}
.policy-contact{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.policy-contact input{width:100%;padding:12px;border:1px solid #cfdadd;border-radius:10px;box-sizing:border-box}
.policy-submit{margin-top:18px;border:0;border-radius:10px;background:linear-gradient(135deg,#ef8f19,#f6aa40);padding:13px 20px;font-weight:900;color:#172a2f;cursor:pointer}
@media(max-width:800px){.policy-grid{grid-template-columns:1fr}.policy-contact{grid-template-columns:1fr}}


/* V48 - Mensajes: control de atención dentro de la columna Estatus */
.admin-table .status-cell{min-width:260px;}
.admin-table .status-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.admin-table .status-action-form{margin:0;}
.admin-table .status-cell .status-btn{min-width:150px!important;min-height:40px!important;padding:9px 14px!important;font-size:14px!important;font-weight:800!important;white-space:nowrap;}
.admin-table .actions-cell .msg-actions{display:flex;align-items:center;}
@media(max-width:850px){
  .admin-table .status-inline{align-items:flex-start;flex-direction:column;}
  .admin-table .status-cell .status-btn{width:100%!important;}
}


/* v35: Productos destacados - separar completamente imagen y descripción */
.products-modern .product-card-modern{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden!important;
}
.products-modern .product-media-modern{
  width:100%;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  flex:0 0 230px!important;
  padding:14px!important;
  overflow:hidden!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
}
.products-modern .product-media-modern img{
  display:block!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  transform:none!important;
}
.products-modern .product-info-modern{
  position:relative!important;
  z-index:2;
  flex:1 1 auto;
  background:#fff;
  padding:16px 17px 18px!important;
  border-top:1px solid #f0f2f4;
  overflow:hidden;
}
.products-modern .product-info-modern h3{
  margin:7px 0 9px!important;
}
.products-modern .product-info-modern p{
  margin:0;
  min-height:72px!important;
  max-height:108px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
}
.products-modern .product-price-row{
  margin-top:14px!important;
}

@media(max-width:760px){
  .products-modern .product-media-modern{
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
    flex-basis:190px!important;
  }
  .products-modern .product-info-modern p{
    display:-webkit-box!important;
    min-height:54px!important;
    max-height:81px!important;
    -webkit-line-clamp:3;
  }
}

/* ===== Menú administrativo agrupado ===== */
.admin-side-grouped{
    padding:20px 16px 24px;
    gap:0;
    min-height:100vh;
    max-height:100vh;
    position:sticky;
    top:0;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.25) transparent;
}
.admin-side-grouped .admin-logo-wrap{margin-bottom:2px}
.admin-side-grouped h2{margin:2px 8px 14px;font-size:25px}
.admin-menu-groups{display:flex;flex-direction:column;gap:9px;padding-bottom:12px}
.admin-menu-group{display:grid;gap:3px}
.admin-menu-group-title{width:100%;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;gap:10px;margin:6px 0 4px;padding:3px 8px;color:rgba(219,231,228,.68);font:inherit;font-size:10px;font-weight:800;letter-spacing:.12em;text-align:left;white-space:nowrap}
.admin-menu-group-title::after{content:"";height:1px;flex:1;background:rgba(255,255,255,.13)}
.admin-menu-chevron{order:3;font-size:16px;line-height:1;transition:transform .2s ease;color:rgba(255,255,255,.68)}
.admin-menu-group.is-open .admin-menu-chevron{transform:rotate(180deg)}
.admin-menu-group-items{display:grid;gap:3px;overflow:hidden;max-height:0;opacity:.25;transition:max-height .28s ease,opacity .2s ease}
.admin-menu-group.is-open .admin-menu-group-items{max-height:520px;opacity:1}
.admin-menu-group-title:hover{color:#fff}
.admin-menu-group-title:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:7px}
.admin-menu-link{display:grid!important;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px!important;border-radius:9px!important;color:#e3ecea!important;line-height:1.2;font-size:14px;transition:background .18s ease,color .18s ease,transform .18s ease}
.admin-menu-link:hover{background:rgba(255,255,255,.10)!important;transform:translateX(2px)}
.admin-menu-link.active{background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--orange)}
.admin-menu-icon{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.08);font-size:14px;font-weight:800}
.admin-menu-link.active .admin-menu-icon{background:rgba(244,143,48,.20);color:#ffd2a6}
@media(max-width:900px){
    .admin-side-grouped{position:relative;max-height:none;min-height:auto;padding:16px}
    .admin-menu-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:600px){
    .admin-menu-groups{grid-template-columns:1fr}
    .admin-side-grouped .admin-logo-wrap{display:none}
    .admin-side-grouped h2{margin-top:0}
}


/* ===== Asistente virtual premium ===== */
.virtual-assistant-panel{
  width:min(540px,calc(100vw - 28px)); max-height:min(760px,86vh);
  border-radius:22px; overflow:hidden; background:#f7faf9;
  box-shadow:0 22px 70px rgba(0,42,34,.26); border:1px solid rgba(12,91,74,.14);
}
.va-head{
  min-height:92px; padding:16px 18px; display:flex; align-items:center; gap:12px;
  background:linear-gradient(135deg,#075d48,#003f33); color:#fff;
}
.va-avatar{
  width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:#075d48;font-size:28px;border:3px solid rgba(255,255,255,.7);
}
.va-brand{display:flex;flex-direction:column;min-width:0;flex:1}
.va-brand strong{font-size:19px;line-height:1.15}.va-brand span{opacity:.78;font-size:13px;margin-top:3px}
.va-online{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}
.va-online i{width:9px;height:9px;border-radius:50%;background:#27e56c;box-shadow:0 0 0 3px rgba(39,229,108,.18)}
.va-close{position:static!important;color:#fff!important;font-size:28px!important;line-height:1!important;margin-left:4px}

.virtual-chat{padding:17px;overflow:auto;min-height:360px;max-height:545px;background:linear-gradient(#f7faf9,#f1f6f4)}
.virtual-msg{display:flex;margin:0 0 13px}
.virtual-msg>div{max-width:86%;padding:12px 14px;border-radius:17px;line-height:1.4;font-size:14px;box-shadow:0 4px 15px rgba(0,45,37,.06)}
.virtual-bot>div{background:#fff;border:1px solid #e2ebe8;color:#153e37;border-bottom-left-radius:5px}
.virtual-bot>div span{color:#5d716d}.virtual-user{justify-content:flex-end}
.virtual-user>div{background:#d9fbdc;color:#173e37;border-bottom-right-radius:5px}

.va-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}
.va-options button,.va-option-link{
  min-height:68px;display:flex;align-items:center;gap:10px;text-align:left;
  border:1px solid #e1ebe8;background:#fff;border-radius:15px;padding:10px 11px;
  color:#173e37;cursor:pointer;text-decoration:none;transition:.16s ease;
  box-shadow:0 3px 12px rgba(0,55,45,.035)
}
.va-options button:hover,.va-option-link:hover{transform:translateY(-1px);border-color:#1a9c76;box-shadow:0 7px 20px rgba(0,80,63,.08)}
.va-options b{font-size:23px;color:#08705a;min-width:28px;text-align:center}
.va-options span{display:flex;flex-direction:column}.va-options strong{font-size:12px;line-height:1.2}
.va-options small{font-size:10.5px;color:#70817e;margin-top:3px;line-height:1.15}

.virtual-chat-form{display:grid;grid-template-columns:1fr 46px;gap:8px;padding:12px 14px 8px;background:#fff;border-top:1px solid #e2ebe8}
.virtual-chat-form input{
  width:100%;margin:0!important;border:1px solid #dbe6e3!important;border-radius:24px!important;
  padding:12px 16px!important;background:#fff!important;outline:none
}
.virtual-chat-form input:focus{border-color:#15916f!important;box-shadow:0 0 0 3px rgba(21,145,111,.09)}
.virtual-chat-form button{
  width:46px;height:46px;border:0;border-radius:50%;background:#12ad69;color:#fff;
  font-size:20px;cursor:pointer;box-shadow:0 5px 14px rgba(18,173,105,.25)
}
.va-foot{display:flex;justify-content:center;gap:8px;padding:2px 12px 11px;background:#fff;font-size:9.5px;color:#667975}
.va-foot strong{color:#124d42}.va-foot span:before{content:"|";margin-right:8px;color:#b9c6c3}
.virtual-product{
  display:grid;gap:3px;margin:8px 0;padding:11px 13px;border-radius:13px;background:#fff;
  border:1px solid #dfe9e6;color:#173e37;text-decoration:none
}
.virtual-product strong{font-size:13px}.virtual-product span{font-weight:900;color:#e98018}.virtual-product small{color:#6b7e79}

@media(max-width:650px){
 .virtual-assistant-panel{left:10px!important;right:10px!important;bottom:82px!important;width:auto!important;max-height:78vh;border-radius:18px}
 .va-head{min-height:76px;padding:12px}.va-avatar{width:44px;height:44px;font-size:23px}
 .va-brand strong{font-size:16px}.va-online{font-size:10px}
 .virtual-chat{min-height:260px;padding:12px}.va-options{grid-template-columns:1fr;gap:7px}
 .va-options button,.va-option-link{min-height:55px}.va-foot{display:none}
}


/* ===== FIX visual asistente: aislamiento contra estilos globales ===== */
#soporte-en-linea.virtual-assistant-panel{
  position:fixed!important; right:22px!important; bottom:92px!important; left:auto!important;
  z-index:99999!important; width:440px!important; max-width:calc(100vw - 28px)!important;
  height:auto!important; max-height:78vh!important; padding:0!important; margin:0!important;
  display:none; flex-direction:column!important; background:#f7faf9!important;
  border-radius:22px!important; overflow:hidden!important;
  border:1px solid rgba(12,91,74,.15)!important; box-shadow:0 22px 70px rgba(0,42,34,.28)!important;
  font-family:Arial,Helvetica,sans-serif!important; text-align:left!important;
}
#soporte-en-linea.virtual-assistant-panel.active,
#soporte-en-linea.virtual-assistant-panel.is-open{display:flex!important}

#soporte-en-linea *{box-sizing:border-box}
#soporte-en-linea .va-head{
  width:100%!important; min-height:78px!important; padding:13px 15px!important;
  display:flex!important; flex-direction:row!important; align-items:center!important; gap:10px!important;
  background:linear-gradient(135deg,#08614d,#034237)!important;color:#fff!important
}
#soporte-en-linea .va-avatar{flex:0 0 46px!important;width:46px!important;height:46px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#fff!important;font-size:24px!important}
#soporte-en-linea .va-brand{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important}
#soporte-en-linea .va-brand strong{display:block!important;color:#fff!important;font-size:16px!important;line-height:1.15!important}
#soporte-en-linea .va-brand span{display:block!important;color:#d9eee8!important;font-size:12px!important;margin-top:3px!important}
#soporte-en-linea .va-online{display:flex!important;align-items:center!important;gap:5px!important;color:#fff!important;font-size:11px!important;width:auto!important}
#soporte-en-linea .va-close{display:block!important;width:auto!important;height:auto!important;background:transparent!important;border:0!important;padding:0 2px!important;color:#fff!important;text-decoration:none!important}

#soporte-en-linea .virtual-chat{
  display:block!important;width:100%!important;min-height:0!important;max-height:470px!important;
  overflow-y:auto!important;padding:14px!important;background:#f4f8f7!important
}
#soporte-en-linea .virtual-msg{display:flex!important;width:100%!important;margin:0 0 10px!important}
#soporte-en-linea .virtual-msg>div{
  display:block!important;width:auto!important;max-width:88%!important;height:auto!important;
  padding:11px 13px!important;margin:0!important;border-radius:15px!important;
  font-size:13px!important;line-height:1.38!important;white-space:normal!important
}
#soporte-en-linea .virtual-bot>div{background:#fff!important;color:#173e37!important;border:1px solid #e0e9e6!important}
#soporte-en-linea .virtual-user{justify-content:flex-end!important}
#soporte-en-linea .virtual-user>div{background:#d9f7df!important;color:#173e37!important}

#soporte-en-linea .va-options{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;margin:12px 0 2px!important}
#soporte-en-linea .va-options button,
#soporte-en-linea .va-option-link{
  appearance:none!important; width:100%!important; min-width:0!important; min-height:62px!important;height:auto!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
  padding:9px 10px!important;margin:0!important;border:1px solid #dfe9e6!important;border-radius:13px!important;
  background:#fff!important;color:#173e37!important;text-decoration:none!important;text-transform:none!important;
  letter-spacing:0!important;line-height:1.15!important;box-shadow:none!important
}
#soporte-en-linea .va-options b{display:block!important;flex:0 0 25px!important;width:25px!important;font-size:19px!important;text-align:center!important;color:#08705a!important}
#soporte-en-linea .va-options span{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important}
#soporte-en-linea .va-options strong{display:block!important;font-size:11.5px!important;line-height:1.2!important;color:#173e37!important;text-transform:none!important}
#soporte-en-linea .va-options small{display:block!important;font-size:10px!important;line-height:1.2!important;color:#71827e!important;margin-top:3px!important}

#soporte-en-linea .virtual-chat-form{
  width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;
  padding:10px 12px!important;margin:0!important;background:#fff!important;border-top:1px solid #e0e9e6!important
}
#soporte-en-linea .virtual-chat-form input{
  display:block!important;width:100%!important;min-width:0!important;height:44px!important;
  padding:0 15px!important;margin:0!important;border:1px solid #d9e5e1!important;border-radius:22px!important;
  background:#fff!important;color:#173e37!important;font-size:13px!important
}
#soporte-en-linea .virtual-chat-form button{
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#11a866!important;color:#fff!important;font-size:18px!important
}
#soporte-en-linea .va-foot{display:flex!important;justify-content:center!important;align-items:center!important;gap:7px!important;width:100%!important;padding:2px 10px 10px!important;background:#fff!important;font-size:9px!important;color:#6c7d79!important}

@media(max-width:650px){
 #soporte-en-linea.virtual-assistant-panel{right:10px!important;left:10px!important;bottom:82px!important;width:auto!important;max-width:none!important;max-height:76vh!important}
 #soporte-en-linea .va-options{grid-template-columns:1fr!important}
 #soporte-en-linea .virtual-chat{max-height:52vh!important}
}
