/*
Theme Name: AutoSehy Store
Theme URI: https://example.com/autosehy-store
Author: OpenAI
Description: Tema ligero y responsive para AutoSehy Repuestos.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: autosehy-store
*/

:root{
  --as-blue:#0f2f78;
  --as-blue-dark:#071a46;
  --as-red:#ff3148;
  --as-text:#12264d;
  --as-bg:#f3f4f6;
  --as-white:#fff;
  --as-border:#d8deea;
  --as-container:min(1160px,92vw);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--as-text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.as-container{width:var(--as-container);margin:0 auto}
.screen-reader-text{position:absolute;left:-9999px}

.site-header{background:#f2f2f2;border-bottom:1px solid #e5e7eb}
.header-top{padding:14px 0 8px}
.header-branding{display:flex;justify-content:center;align-items:center}
.header-branding img{max-width:340px;width:100%;height:auto}
.header-menu-row{padding:6px 0 10px}
.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:42px;flex-wrap:wrap}
.main-navigation a{font-weight:700;text-transform:uppercase;font-size:14px;color:#0e2a66;letter-spacing:.02em}
.main-navigation a:hover,.main-navigation .current-menu-item>a{color:#274cb8}
.menu-toggle{display:none;margin:0 auto;background:var(--as-blue);color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:700}
.header-search-row{padding:6px 0 16px}
.header-search{max-width:860px;margin:0 auto}
.as-home-search-inner{display:grid;grid-template-columns:1fr 58px;background:#fff;border:1px solid var(--as-border);border-radius:18px;overflow:hidden}
.as-home-search input{height:46px;border:0;padding:0 18px;font-size:14px;color:#27334c;outline:none;background:transparent}
.as-home-search button{height:46px;border:0;background:var(--as-red);color:#fff;font-size:22px;cursor:pointer}

.as-marquee{background:#081f59;color:#fff;overflow:hidden;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}
.as-marquee-track{display:flex;width:max-content;animation:as-marquee 22s linear infinite;will-change:transform}
.as-marquee-group{display:flex;align-items:center;gap:30px;padding:10px 18px;white-space:nowrap;font-size:13px;font-weight:700}
.as-marquee-group span{display:inline-flex;align-items:center;gap:8px}
@keyframes as-marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

.site-main{display:block}
.hero-home{background:#071a46;padding:0}
.hero-frame{width:100%;background:linear-gradient(180deg,#0a205a,#071a46);display:flex;justify-content:center;align-items:center;padding:0}
.hero-banner-image{width:min(1536px,100%);aspect-ratio:3/2;object-fit:contain;object-position:center center;background:#071a46}

.site-footer{background:linear-gradient(180deg,#061427,#081a33);padding:42px 0 24px;color:#fff}
.footer-grid{display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:36px}
.site-footer h3,.site-footer h4{margin:0 0 14px;color:#fff}
.site-footer p,.site-footer a{color:#9fb7ff;line-height:1.8}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-whatsapp{display:inline-block;background:#25D366;color:#fff !important;padding:12px 18px;border-radius:10px;font-weight:700;margin-top:10px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:28px;padding-top:18px;text-align:center;color:#8aa3e6;font-size:13px}
.whatsapp-float{position:fixed;right:22px;bottom:22px;width:62px;height:62px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(0,0,0,.3);z-index:9999}
.whatsapp-float img{width:34px;height:34px}

.page-content{padding:40px 0}

@media (max-width:900px){
  .main-navigation{display:none}
  .main-navigation.open{display:block}
  .main-navigation ul{flex-direction:column;gap:16px;padding:16px 0}
  .menu-toggle{display:block}
  .footer-grid{grid-template-columns:1fr}
  .header-branding img{max-width:280px}
}
@media (max-width:640px){
  .header-top{padding:12px 0 6px}
  .header-branding img{max-width:230px}
  .header-menu-row{padding-bottom:8px}
  .header-search-row{padding:4px 0 12px}
  .as-home-search input,.as-home-search button{height:42px}
  .main-navigation a{font-size:13px}
  .as-marquee-group{font-size:12px;gap:22px;padding:8px 14px}
}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background:#fff;
  border:1px solid #e5e5e5;
  padding:0 0 18px;
}

.woocommerce ul.products li.product a img{
  margin-bottom:0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:16px;
  line-height:1.35;
  font-style:italic;
  font-weight:500;
  color:#1f2b47;
  padding:18px 18px 8px;
  min-height:72px;
}

.woocommerce ul.products li.product .price{
  display:block;
  padding:0 18px;
  margin:10px 0 12px;
  color:#333 !important;
  font-size:20px;
  font-weight:700;
}

.woocommerce ul.products li.product .price .amount{
  color:#333 !important;
}

.mi-info-producto{
  padding:0 18px 12px;
  border-bottom:1px solid #ececec;
  margin-bottom:12px;
}

.mi-linea-producto{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  font-size:14px;
  color:#555;
}

.mi-circulo{
  width:11px;
  height:11px;
  border:2px solid #666;
  border-radius:50%;
  display:inline-block;
  flex:0 0 11px;
}

.autosehy-stock-bodegas{
  padding:0 18px 14px;
  border-bottom:1px solid #ececec;
  margin-bottom:14px;
}

.autosehy-stock-item{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:8px;
  font-size:14px;
  font-weight:700;
}

.autosehy-stock-item .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

.autosehy-stock-item.bex{color:#31a24c}
.autosehy-stock-item.bex .dot{background:#7bbf52}
.autosehy-stock-item.dcl{color:#3e8df0}
.autosehy-stock-item.dcl .dot{background:#5aa9ff}

.autosehy-loop-cart{
  padding:0 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.autosehy-loop-cart .quantity{
  margin:0 !important;
}

.autosehy-loop-cart .qty,
.single-product .quantity .qty{
  width:96px;
  min-height:42px;
  border:1px solid #cfcfcf;
  border-radius:4px;
  text-align:center;
  font-size:18px;
}

.autosehy-loop-cart .button,
.woocommerce ul.products li.product .button{
  width:100%;
  text-align:center;
  margin:0 !important;
  background:#ece8ee;
  color:#2f3f57;
  border-radius:4px;
  font-weight:700;
  padding:12px 16px;
}

.autosehy-loop-cart .button:hover,
.woocommerce ul.products li.product .button:hover{
  background:#e0dbe2;
  color:#243448;
}


/* ===== Ajustes uniformes globales ===== */
.header-top-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
}
.header-branding{grid-column:2;}
.autosehy-header-cart{
  grid-column:3;
  justify-self:end;
}
.autosehy-cart-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:10px 18px;
  background:#fff;
  border:1px solid #d9dfeb;
  border-radius:999px;
  box-shadow:0 8px 24px rgba(15,47,120,.08);
  color:#0f2f78;
  font-weight:800;
}
.autosehy-cart-icon{display:inline-flex;align-items:center;justify-content:center;color:#7b8598}
.autosehy-cart-text{font-size:14px;line-height:1}
.autosehy-cart-count{
  min-width:30px;
  height:30px;
  border-radius:999px;
  background:#ff3148;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:800;
}
.header-menu-inner{display:flex;justify-content:center;align-items:center}

.page-content{padding:36px 0 48px;}
.autosehy-page-wrap .as-container{width:min(1480px,calc(100% - 48px));}
.autosehy-content-shell{
  background:#fff;
  border:1px solid #e2e8f4;
  border-radius:28px;
  padding:34px 34px 38px;
  box-shadow:0 10px 34px rgba(15,47,120,.05);
}
.autosehy-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:18px;
  font-size:14px;
  color:#5d6f94;
}
.autosehy-breadcrumb a{color:#123987;font-weight:700}
.autosehy-page-title{
  margin:0 0 14px;
  font-size:54px;
  line-height:1;
  letter-spacing:-.02em;
  font-weight:900;
  text-transform:uppercase;
  color:#123987;
}
.autosehy-page-lead,
.autosehy-results-subtitle,
.autosehy-page-entry,
.autosehy-page-entry p,
.autosehy-page-entry li{
  font-size:16px;
  line-height:1.7;
  color:#31456a;
}
.autosehy-page-entry > :first-child{margin-top:0}
.autosehy-page-entry > :last-child{margin-bottom:0}

/* ===== Catálogo ===== */
.autosehy-shop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.autosehy-shop-badges{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-end}
.autosehy-shop-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:14px 18px;
  border:1px solid #d9e2f1;
  background:#f9fbff;
  border-radius:18px;
  color:#22406f;
  font-size:16px;
}
.autosehy-shop-count,
.autosehy-search-shell .autosehy-shop-count{
  margin:0 0 18px;
  font-size:15px;
  font-weight:700;
  color:#4d628a;
}
.woocommerce .woocommerce-breadcrumb,
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering,
.autosehy-catalog-intro,
.autosehy-catalog-box,
.autosehy-catalog-toolbar{display:none !important;}
.woocommerce ul.products{margin-top:0 !important}
.woocommerce nav.woocommerce-pagination ul{
  border:none;
  display:flex;
  justify-content:center;
  gap:8px;
}
.woocommerce nav.woocommerce-pagination ul li{border:none;float:none}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  border:1px solid #d8deea;
  min-width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#123987;
  background:#fff;
}
.woocommerce nav.woocommerce-pagination ul li span.current{background:#123987;color:#fff;border-color:#123987}

/* ===== Resultados ===== */
.autosehy-results-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.autosehy-btn-back,
.autosehy-whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
}
.autosehy-btn-back{border:1px solid #d7deeb;color:#123987;background:#fff}
.autosehy-whatsapp-btn{background:#0f2f78;color:#fff}
.autosehy-no-results{
  padding:28px;
  border:1px dashed #cbd6e9;
  border-radius:20px;
  background:#fbfdff;
}
.autosehy-no-results h2{margin:0 0 10px;color:#123987}

/* ===== Páginas internas / Woo ===== */
.autosehy-generic-page-shell .woocommerce,
.autosehy-woo-shell .woocommerce{width:100%}
.autosehy-woo-shell h1,
.autosehy-woo-shell .entry-title,
.woocommerce-account .entry-title,
.woocommerce-checkout .entry-title{
  font-size:44px;
  line-height:1.05;
  margin:0 0 18px;
  color:#123987;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single{
  border:1px solid #d5ddec;
  border-radius:12px;
  min-height:46px;
  padding:0 14px;
}
.woocommerce #payment,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation,
.woocommerce form.checkout_coupon,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{
  border-radius:20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .autosehy-page-title{font-size:42px;}
  .autosehy-shop-head,
  .autosehy-results-head{align-items:flex-start;flex-direction:column;}
}
@media (max-width: 900px){
  .header-top-inner{grid-template-columns:1fr;justify-items:center;}
  .header-branding,.autosehy-header-actions,.autosehy-header-cart{grid-column:auto;justify-self:center;}
  .autosehy-cart-link{padding:9px 16px;}
}
@media (max-width: 640px){
  .autosehy-page-wrap .as-container{width:min(100%,calc(100% - 24px));}
  .autosehy-content-shell{padding:22px 18px 26px;border-radius:22px;}
  .autosehy-page-title{font-size:34px;}
  .autosehy-shop-badge{font-size:14px;padding:12px 14px;}
}


/* ===== Ajustes finales solicitados ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:9998;
  box-shadow:0 8px 24px rgba(15,47,120,.08);
}
.admin-bar .site-header{top:32px;}

.header-top{padding:10px 0 6px;}
.header-branding img{max-width:300px;}
.header-menu-row{padding:4px 0 8px;}
.main-navigation ul{gap:34px;}
.main-navigation a{font-size:13px;}
.header-search-row{padding:4px 0 12px;}
.as-home-search input{height:42px;font-size:13px;}
.as-home-search button{height:42px;font-size:20px;}
.as-marquee-group{padding:8px 18px;font-size:12px;}

.autosehy-page-title{font-size:44px;}
.autosehy-shop-badge{font-size:14px;padding:12px 16px;}

.woocommerce ul.products{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none !important;}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:calc(25% - 16.5px) !important;
  margin:0 !important;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,47,120,.05);
  padding:0 0 14px;
}
.woocommerce ul.products li.product a img{
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fff;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:14px;
  min-height:58px;
  padding:14px 14px 6px;
}
.woocommerce ul.products li.product .price{
  font-size:17px;
  padding:0 14px;
  margin:8px 0 10px;
}
.mi-info-producto,
.autosehy-stock-bodegas,
.autosehy-loop-cart{padding-left:14px;padding-right:14px;}
.mi-info-producto{padding-bottom:10px;margin-bottom:10px;}
.autosehy-stock-bodegas{padding-bottom:10px;margin-bottom:10px;}
.mi-linea-producto{font-size:12px;margin-bottom:8px;}
.autosehy-stock-item{
  align-items:flex-start;
  font-size:12px;
  margin-bottom:7px;
  line-height:1.35;
}
.autosehy-stock-item small{
  display:block;
  font-size:11px;
  font-weight:600;
  color:#6b7b99;
  margin-top:2px;
}
.autosehy-loop-cart .qty,
.single-product .quantity .qty{
  width:74px;
  min-height:38px;
  font-size:15px;
}
.autosehy-loop-cart .button,
.woocommerce ul.products li.product .button{
  padding:10px 12px;
  font-size:13px;
}
.autosehy-stock-msg{font-size:11px;color:#6b7b99;}

.woocommerce-products-header__title.page-title,
.page-title{display:none;}

@media (max-width: 1200px){
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{width:calc(33.333% - 14.7px) !important;}
}
@media (max-width: 900px){
  .site-header{position:sticky;}
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{width:calc(50% - 11px) !important;}
}
@media (max-width: 640px){
  .admin-bar .site-header{top:46px;}
  .header-branding img{max-width:220px;}
  .autosehy-page-title{font-size:34px;}
  .woocommerce ul.products{gap:16px;}
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{width:100% !important;}
}

.autosehy-bodegas-info {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.bodega-item {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.bex {
    background: #e8f5e9;
    color: #1b5e20;
}

.dcl {
    background: #fff3e0;
    color: #e65100;
}



/* TÍTULO CARRITO MEJORADO */
.woocommerce-cart h1,
.woocommerce-cart .entry-title,
.autosehy-shop-title {
    font-size: 28px; /* antes era enorme */
    font-weight: 700;
    color: #1e3a8a; /* azul elegante */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Línea decorativa debajo */
.woocommerce-cart h1::after,
.woocommerce-cart .entry-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #22c55e; /* verde marca */
    margin-top: 8px;
    border-radius: 2px;
}

/* Ajuste en móvil */
@media (max-width: 768px) {
    .woocommerce-cart h1,
    .woocommerce-cart .entry-title {
        font-size: 22px;
    }
}
/* ===== Mi Cuenta PRO ===== */
.woocommerce-account .autosehy-page-title{
  font-size:38px;
  margin-bottom:14px;
}
.woocommerce-account .autosehy-page-entry > .woocommerce{
  width:100%;
}
.woocommerce-account .woocommerce-notices-wrapper{
  margin-bottom:18px;
}
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info{
  border:1px solid #d8e2f2;
  border-radius:16px;
  background:#f8fbff;
  color:#123987;
  padding:16px 18px;
}

.autosehy-myaccount-wrap{
  display:flex;
  flex-direction:column;
  gap:26px;
}
.autosehy-myaccount-hero{
  background:linear-gradient(135deg,#0f2f78 0%,#1e4fa8 100%);
  border-radius:24px;
  padding:34px 34px 30px;
  color:#fff;
  box-shadow:0 18px 38px rgba(15,47,120,.18);
}
.autosehy-myaccount-kicker{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:14px;
}
.autosehy-myaccount-hero h2{
  margin:0 0 10px;
  color:#fff;
  font-size:34px;
  line-height:1.08;
}
.autosehy-myaccount-hero p{
  margin:0;
  max-width:760px;
  font-size:15px;
  color:rgba(255,255,255,.92);
}
.autosehy-myaccount-benefits{
  list-style:none;
  margin:18px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 16px;
}
.autosehy-myaccount-benefits li{
  position:relative;
  padding:12px 14px 12px 38px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  font-weight:600;
}
.autosehy-myaccount-benefits li::before{
  content:"✓";
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:#0f2f78;
  font-size:12px;
  font-weight:800;
}

.autosehy-myaccount-box{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.autosehy-account-col,
.woocommerce-account .autosehy-account-col{
  width:auto !important;
  float:none !important;
  margin:0 !important;
}
.autosehy-account-card{
  height:100%;
  padding:30px;
  border-radius:24px;
  background:#fff;
  border:1px solid #e3eaf5;
  box-shadow:0 12px 30px rgba(16,40,90,.06);
}
.autosehy-card-head{
  margin-bottom:18px;
}
.autosehy-card-label{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  background:#eff5ff;
  color:#123987;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:12px;
}
.autosehy-card-head h3{
  margin:0 0 8px;
  color:#102347;
  font-size:28px;
  line-height:1.1;
}
.autosehy-card-head p,
.autosehy-auto-pass-note{
  margin:0;
  color:#667085;
  font-size:14px;
}

.woocommerce-account form.login,
.woocommerce-account form.register{
  margin:0;
  border:0;
  padding:0;
}
.woocommerce-account form .form-row label{
  display:block;
  margin-bottom:8px;
  color:#22324d;
  font-weight:700;
  font-size:14px;
}
.woocommerce-account form .form-row{
  margin-bottom:16px;
}
.woocommerce-account form .input-text,
.woocommerce-account form select,
.woocommerce-account form textarea{
  width:100%;
  min-height:52px;
  padding:0 16px;
  border:1px solid #d7e0ee;
  border-radius:14px;
  background:#fff;
  font-size:14px;
  color:#24324a;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.woocommerce-account form textarea{
  min-height:120px;
  padding:14px 16px;
}
.woocommerce-account form .input-text:focus,
.woocommerce-account form select:focus,
.woocommerce-account form textarea:focus{
  border-color:#1d4ed8;
  box-shadow:0 0 0 4px rgba(29,78,216,.08);
  outline:none;
}

.autosehy-login-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:6px;
}
.woocommerce-account .woocommerce-form-login__rememberme,
.woocommerce-account .autosehy-terms-row .woocommerce-form__label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color:#4b5565;
  font-weight:500;
}
.woocommerce-account .woocommerce-form-login__rememberme input,
.woocommerce-account .autosehy-terms-row input{
  margin-top:3px;
}
.woocommerce-account .lost_password{
  margin:4px 0 0;
}
.woocommerce-account .lost_password a,
.woocommerce-account .autosehy-terms-row a{
  color:#123987;
  font-weight:700;
}
.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account input.button,
.woocommerce-account .woocommerce-Button{
  min-height:50px;
  padding:0 22px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#123987 0%,#1e4fa8 100%);
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 10px 22px rgba(18,57,135,.18);
}
.woocommerce-account .button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover,
.woocommerce-account .woocommerce-Button:hover{
  background:linear-gradient(135deg,#0d2c6a 0%,#173f87 100%);
  color:#fff;
}
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit{
  min-width:210px;
}

.woocommerce-account .woocommerce{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{
  float:none;
  width:auto;
  margin:0;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
  background:#fff;
  border:1px solid #e3eaf5;
  box-shadow:0 12px 30px rgba(16,40,90,.06);
  padding:16px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 14px;
  border-radius:14px;
  color:#1f2f4a;
  font-weight:700;
  background:#f8fbff;
  border:1px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{
  background:#eff5ff;
  color:#123987;
  border-color:#d8e5ff;
}
.woocommerce-account .woocommerce-MyAccount-content{
  background:#fff;
  border:1px solid #e3eaf5;
  box-shadow:0 12px 30px rgba(16,40,90,.06);
  padding:28px;
}
.woocommerce-account .woocommerce-MyAccount-content p:first-child{
  margin-top:0;
}
.woocommerce-account .woocommerce-address-fields__field-wrapper,
.woocommerce-account .woocommerce-EditAccountForm fieldset{
  margin-top:10px;
}
.woocommerce-account .addresses .title .edit,
.woocommerce-account a.edit{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:12px;
  background:#eff5ff;
  color:#123987;
  font-weight:700;
}
.woocommerce-account table.shop_table,
.woocommerce-account table.my_account_orders{
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e3eaf5;
}
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td,
.woocommerce-account table.my_account_orders th,
.woocommerce-account table.my_account_orders td{
  padding:14px 12px;
  font-size:14px;
}

@media (max-width: 1024px){
  .woocommerce-account .woocommerce{
    grid-template-columns:1fr;
  }
  .autosehy-myaccount-benefits{
    grid-template-columns:1fr;
  }
}
@media (max-width: 768px){
  .autosehy-myaccount-box{
    grid-template-columns:1fr;
  }
  .autosehy-account-card,
  .autosehy-myaccount-hero,
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation{
    padding:22px;
  }
  .autosehy-myaccount-hero h2,
  .autosehy-card-head h3{
    font-size:24px;
  }
  .autosehy-login-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .woocommerce-account .woocommerce-form-login__submit,
  .woocommerce-account .woocommerce-form-register__submit{
    width:100%;
    min-width:0;
  }
}


/* ===== Mi Cuenta PRO - Ajustes finales ===== */
.woocommerce-account .autosehy-page-title{
  font-size:30px;
  line-height:1.05;
  text-align:center;
  margin:4px 0 22px;
}
.woocommerce-account .autosehy-breadcrumb{
  margin-bottom:10px;
}
.woocommerce-account .autosehy-myaccount-wrap{
  gap:20px;
}
.woocommerce-account .autosehy-myaccount-hero{
  width:calc(100% + 68px);
  margin:0 -34px;
  padding:24px 34px 22px;
  border-radius:26px 26px 22px 22px;
}
.woocommerce-account .autosehy-myaccount-kicker{
  margin-bottom:10px;
}
.woocommerce-account .autosehy-myaccount-hero h2{
  font-size:26px;
  margin-bottom:8px;
}
.woocommerce-account .autosehy-myaccount-hero p{
  max-width:none;
  font-size:14px;
}
.woocommerce-account .autosehy-myaccount-benefits{
  margin-top:14px;
  gap:10px 14px;
}
.woocommerce-account .autosehy-myaccount-benefits li{
  padding:10px 14px 10px 38px;
  font-size:14px;
}
.woocommerce-account .autosehy-account-card{
  padding:28px;
}
.woocommerce-account .autosehy-card-head h3{
  font-size:24px;
}
.woocommerce-account .autosehy-card-head p,
.woocommerce-account .autosehy-auto-pass-note{
  font-size:13px;
}
@media (max-width: 768px){
  .woocommerce-account .autosehy-page-title{
    font-size:24px;
    margin-bottom:18px;
  }
  .woocommerce-account .autosehy-myaccount-hero{
    width:calc(100% + 44px);
    margin:0 -22px;
    padding:20px 22px 18px;
    border-radius:22px 22px 18px 18px;
  }
  .woocommerce-account .autosehy-myaccount-hero h2{
    font-size:22px;
  }
}

/* ===== Mi Cuenta PRO - Detalles de cuenta ===== */
.woocommerce-account .woocommerce-EditAccountForm.edit-account.autosehy-edit-account-form{
  margin:0;
}
.woocommerce-account .autosehy-account-sections-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-bottom:24px;
}
.woocommerce-account .autosehy-account-section{
  background:#fff;
  border:1px solid #e3eaf5;
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 30px rgba(16,40,90,.05);
}
.woocommerce-account .autosehy-password-section{
  margin-bottom:22px;
}
.woocommerce-account .autosehy-section-head{
  margin-bottom:18px;
}
.woocommerce-account .autosehy-section-head h3{
  margin:0 0 8px;
  color:#102347;
  font-size:28px;
  line-height:1.08;
}
.woocommerce-account .autosehy-section-head p{
  margin:0;
  color:#667085;
  font-size:14px;
}
.woocommerce-account .autosehy-account-fields-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 18px;
}
.woocommerce-account .autosehy-account-fields-grid .form-row-wide{
  grid-column:1 / -1;
}
.woocommerce-account .autosehy-field-help{
  display:block;
  margin-top:8px;
  color:#5f6f88;
  font-size:13px;
  font-style:italic;
}
.woocommerce-account .autosehy-password-grid{
  align-items:end;
}
.woocommerce-account .autosehy-password-section .form-row-wide{
  grid-column:1 / -1;
}
@media (max-width: 1024px){
  .woocommerce-account .autosehy-account-sections-grid,
  .woocommerce-account .autosehy-account-fields-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 768px){
  .woocommerce-account .autosehy-account-section{
    padding:22px;
    border-radius:20px;
  }
  .woocommerce-account .autosehy-section-head h3{
    font-size:24px;
  }
}

/* ===== Mi Cuenta PRO - Pedidos dashboard ===== */
.woocommerce-account .autosehy-orders-dashboard{
  display:flex;
  flex-direction:column;
  gap:22px;
}
.woocommerce-account .autosehy-orders-topbar{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);
  gap:20px;
  align-items:stretch;
  background:linear-gradient(135deg,#123b92 0%,#1d4fb8 100%);
  border-radius:26px;
  padding:28px 30px;
  color:#fff;
  box-shadow:0 18px 44px rgba(16,40,90,.16);
}
.woocommerce-account .autosehy-orders-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  margin-bottom:12px;
}
.woocommerce-account .autosehy-orders-topbar h2{
  margin:0 0 10px;
  color:#fff;
  font-size:34px;
  line-height:1.05;
}
.woocommerce-account .autosehy-orders-topbar p{
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:15px;
  max-width:720px;
}
.woocommerce-account .autosehy-orders-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.woocommerce-account .autosehy-orders-stat{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:102px;
}
.woocommerce-account .autosehy-orders-stat__label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.82);
  margin-bottom:10px;
}
.woocommerce-account .autosehy-orders-stat strong{
  font-size:30px;
  line-height:1;
  color:#fff;
}
.woocommerce-account .autosehy-orders-table-wrap{
  background:#fff;
  border:1px solid #dfe7f3;
  border-radius:26px;
  padding:22px;
  box-shadow:0 14px 34px rgba(16,40,90,.06);
  overflow-x:auto;
}
.woocommerce-account table.autosehy-orders-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 14px;
  margin:0;
  border:none;
}
.woocommerce-account table.autosehy-orders-table thead th{
  border:none;
  padding:0 16px 8px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#6c7b96;
}
.woocommerce-account table.autosehy-orders-table tbody tr{
  background:#f8fbff;
  box-shadow:0 10px 26px rgba(16,40,90,.05);
}
.woocommerce-account table.autosehy-orders-table tbody td{
  border-top:1px solid #e8eef7;
  border-bottom:1px solid #e8eef7;
  border-left:none;
  border-right:none;
  padding:20px 16px;
  vertical-align:middle;
  color:#213453;
  font-size:15px;
}
.woocommerce-account table.autosehy-orders-table tbody td:first-child{
  border-left:1px solid #e8eef7;
  border-top-left-radius:18px;
  border-bottom-left-radius:18px;
}
.woocommerce-account table.autosehy-orders-table tbody td:last-child{
  border-right:1px solid #e8eef7;
  border-top-right-radius:18px;
  border-bottom-right-radius:18px;
}
.woocommerce-account .autosehy-order-number{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#133c90;
  font-weight:800;
  font-size:18px;
  text-decoration:none;
}
.woocommerce-account .autosehy-order-total-amount{
  display:block;
  font-weight:800;
  color:#12294f;
  font-size:18px;
  margin-bottom:4px;
}
.woocommerce-account table.autosehy-orders-table td small{
  display:block;
  color:#66758e;
  font-size:12px;
  margin-top:2px;
}
.woocommerce-account .autosehy-order-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.woocommerce-account .autosehy-order-status-badge.status-pending,
.woocommerce-account .autosehy-order-status-badge.status-on-hold{
  background:#fff3d8;
  color:#9b6a00;
}
.woocommerce-account .autosehy-order-status-badge.status-processing{
  background:#dff1ff;
  color:#0f5f9f;
}
.woocommerce-account .autosehy-order-status-badge.status-completed{
  background:#dff5e5;
  color:#187848;
}
.woocommerce-account .autosehy-order-status-badge.status-failed,
.woocommerce-account .autosehy-order-status-badge.status-cancelled,
.woocommerce-account .autosehy-order-status-badge.status-refunded{
  background:#ffe0e4;
  color:#a7283f;
}
.woocommerce-account .autosehy-order-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.woocommerce-account .autosehy-order-actions .button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 14px;
  border:none;
  border-radius:12px;
  background:#edf3ff;
  color:#163d8f;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  box-shadow:none;
}
.woocommerce-account .autosehy-order-actions .button.pay{
  background:#163d8f;
  color:#fff;
}
.woocommerce-account .autosehy-order-actions .button.cancel{
  background:#fff1f3;
  color:#b43046;
}
.woocommerce-account .autosehy-order-actions .button.view{
  background:#e7f7ff;
  color:#0f6690;
}
.woocommerce-account .autosehy-order-actions .button:hover{
  transform:translateY(-1px);
  opacity:.95;
}
.woocommerce-account .autosehy-order-action-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
}
.woocommerce-account .autosehy-orders-pagination{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.woocommerce-account .autosehy-orders-empty{
  background:#fff;
  border:1px solid #dfe7f3;
  border-radius:24px;
  padding:34px;
  box-shadow:0 14px 34px rgba(16,40,90,.05);
}
.woocommerce-account .autosehy-orders-empty h3{
  margin:0 0 10px;
  color:#102347;
  font-size:28px;
}
.woocommerce-account .autosehy-orders-empty p{
  margin:0 0 18px;
  color:#607089;
}
.woocommerce-account .autosehy-orders-empty .button,
.woocommerce-account .autosehy-orders-pagination .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 18px;
  border-radius:12px;
  background:#163d8f;
  color:#fff;
  font-weight:800;
}
@media (max-width: 1100px){
  .woocommerce-account .autosehy-orders-topbar{
    grid-template-columns:1fr;
  }
}
@media (max-width: 768px){
  .woocommerce-account .autosehy-orders-topbar{
    padding:22px;
    border-radius:22px;
  }
  .woocommerce-account .autosehy-orders-topbar h2{
    font-size:28px;
  }
  .woocommerce-account .autosehy-orders-stats{
    grid-template-columns:1fr;
  }
  .woocommerce-account .autosehy-orders-table-wrap{
    padding:16px;
    border-radius:22px;
  }
  .woocommerce-account table.autosehy-orders-table thead{
    display:none;
  }
  .woocommerce-account table.autosehy-orders-table,
  .woocommerce-account table.autosehy-orders-table tbody,
  .woocommerce-account table.autosehy-orders-table tr,
  .woocommerce-account table.autosehy-orders-table td{
    display:block;
    width:100%;
  }
  .woocommerce-account table.autosehy-orders-table tbody tr{
    margin-bottom:14px;
    border-radius:18px;
    overflow:hidden;
  }
  .woocommerce-account table.autosehy-orders-table tbody td{
    border-left:1px solid #e8eef7 !important;
    border-right:1px solid #e8eef7 !important;
    border-top:none;
    border-bottom:1px solid #e8eef7;
    padding:14px 16px;
  }
  .woocommerce-account table.autosehy-orders-table tbody td:first-child{
    border-top:1px solid #e8eef7;
    border-radius:18px 18px 0 0;
  }
  .woocommerce-account table.autosehy-orders-table tbody td:last-child{
    border-radius:0 0 18px 18px;
  }
  .woocommerce-account table.autosehy-orders-table tbody td::before{
    content:attr(data-title);
    display:block;
    margin-bottom:6px;
    color:#6c7b96;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
  }
}

/* ===== Header cuenta + carrito | premium compacto ===== */
.autosehy-header-actions{
  grid-column:3;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.autosehy-header-account,
.autosehy-header-cart{
  position:relative;
}
.autosehy-account-link,
.autosehy-account-toggle,
.autosehy-cart-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:7px 12px;
  background:linear-gradient(180deg,#ffffff 0%,#f7f9fd 100%);
  border:1px solid #d7e0ee;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(15,47,120,.06);
  color:#123987;
  font-weight:700;
  transition:all .22s ease;
}
.autosehy-account-link:hover,
.autosehy-account-toggle:hover,
.autosehy-cart-link:hover{
  transform:translateY(-1px);
  border-color:#c9d7ee;
  box-shadow:0 10px 22px rgba(15,47,120,.10);
  background:linear-gradient(180deg,#ffffff 0%,#f2f6ff 100%);
}
.autosehy-account-link,
.autosehy-account-toggle{
  cursor:pointer;
  font:inherit;
}
.autosehy-account-avatar{
  width:24px;
  height:24px;
  border-radius:50%;
  background:linear-gradient(180deg,#eef4ff 0%,#e5eeff 100%);
  color:#123987;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 24px;
}
.autosehy-account-avatar svg{
  width:14px;
  height:14px;
}
.autosehy-account-label{
  max-width:118px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12.5px;
  line-height:1;
  letter-spacing:.01em;
}
.autosehy-account-caret{
  color:#7b88a7;
  font-size:10px;
  line-height:1;
  margin-left:1px;
}
.autosehy-cart-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#7b8598;
}
.autosehy-cart-icon svg{
  width:18px;
  height:18px;
}
.autosehy-cart-text{
  font-size:12.5px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
}
.autosehy-cart-count{
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:#ff3148;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  box-shadow:0 6px 14px rgba(255,49,72,.25);
}
.autosehy-header-account.is-logged:hover .autosehy-account-dropdown,
.autosehy-header-account.is-logged:focus-within .autosehy-account-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.autosehy-account-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:250px;
  background:#fff;
  border:1px solid #dbe3f0;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(15,47,120,.16);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .22s ease;
  z-index:1200;
}
.autosehy-account-dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  right:26px;
  width:12px;
  height:12px;
  background:#fff;
  border-left:1px solid #dbe3f0;
  border-top:1px solid #dbe3f0;
  transform:rotate(45deg);
}
.autosehy-account-dropdown a{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:0 13px;
  border-radius:12px;
  color:#193568;
  font-weight:700;
  text-decoration:none;
  background:#f8fbff;
  line-height:1.2;
  font-size:14px;
}
.autosehy-account-menu-icon{
  width:26px;
  height:26px;
  border-radius:9px;
  background:#eef4ff;
  color:#123987;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 26px;
}
.autosehy-account-menu-icon svg{
  width:16px;
  height:16px;
}
.autosehy-account-dropdown .autosehy-account-logout .autosehy-account-menu-icon{
  background:rgba(255,255,255,.16);
  color:#fff;
}
.autosehy-account-dropdown a:hover{
  background:#edf4ff;
  color:#123987;
}
.autosehy-account-dropdown .autosehy-account-logout{
  margin-top:4px;
  background:#123987;
  color:#fff;
  justify-content:center;
}
.autosehy-account-dropdown .autosehy-account-logout:hover{
  background:#0d2f73;
  color:#fff;
}

/* ===== Mi Cuenta - campos más amplios y avisos corregidos ===== */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error{
  position:relative;
  padding:18px 22px 18px 58px !important;
  line-height:1.45;
}
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before{
  top:50% !important;
  left:22px !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  line-height:1 !important;
  font-size:18px !important;
}

.woocommerce-account .autosehy-account-sections-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(320px,1fr));
  gap:24px;
}
.woocommerce-account .autosehy-account-fields-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  gap:0 18px;
}
.woocommerce-account .autosehy-account-fields-grid .form-row,
.woocommerce-account .autosehy-account-fields-grid .form-row-first,
.woocommerce-account .autosehy-account-fields-grid .form-row-last,
.woocommerce-account .autosehy-account-fields-grid .form-row-wide,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row,
.woocommerce-account form.edit-account .form-row{
  width:100% !important;
  float:none !important;
  clear:none !important;
  min-width:0;
}
.woocommerce-account .autosehy-account-fields-grid .form-row-wide{
  grid-column:1 / -1;
}
.woocommerce-account form.edit-account input[type="text"],
.woocommerce-account form.edit-account input[type="email"],
.woocommerce-account form.edit-account input[type="tel"],
.woocommerce-account form.edit-account input[type="password"],
.woocommerce-account form.edit-account input[type="number"],
.woocommerce-account form.edit-account input[type="date"],
.woocommerce-account form.edit-account select,
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="text"],
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="email"],
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="tel"],
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="password"],
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="number"],
.woocommerce-account .woocommerce-address-fields__field-wrapper input[type="date"],
.woocommerce-account .woocommerce-address-fields__field-wrapper select,
.woocommerce-account .select2-container--default .select2-selection--single{
  width:100% !important;
  min-height:54px !important;
  height:auto !important;
  padding:0 18px !important;
  font-size:16px !important;
  line-height:1.35 !important;
  border:1px solid #cfd9e6 !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}
.woocommerce-account .select2-container--default .select2-selection--single{
  display:flex !important;
  align-items:center !important;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:52px !important;
  padding-left:0 !important;
  padding-right:28px !important;
  font-size:16px !important;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow{
  height:52px !important;
  right:12px !important;
}
.woocommerce-account input[name="account_display_name"],
.woocommerce-account input[name="account_email"],
.woocommerce-account input[name="billing_identificacion"],
.woocommerce-account input[name="billing_cedula_ruc"],
.woocommerce-account input[name="billing_celular"],
.woocommerce-account input[name="billing_telefono_convencional"],
.woocommerce-account input[id*="account_display_name"],
.woocommerce-account input[id*="account_email"],
.woocommerce-account input[id*="billing_identificacion"],
.woocommerce-account input[id*="billing_cedula_ruc"],
.woocommerce-account input[id*="billing_celular"],
.woocommerce-account input[id*="billing_telefono_convencional"]{
  width:100% !important;
}
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="password"]{
  text-overflow:clip !important;
}

@media (max-width:1100px){
  .autosehy-header-actions{gap:8px;}
  .autosehy-account-link,
  .autosehy-account-toggle,
  .autosehy-cart-link{padding:7px 11px;}
  .autosehy-account-label{max-width:95px;}
}
@media (max-width:1024px){
  .woocommerce-account .autosehy-account-sections-grid,
  .woocommerce-account .autosehy-account-fields-grid{grid-template-columns:1fr;}
}
@media (max-width:980px){
  .autosehy-account-label{max-width:82px;}
  .autosehy-cart-text{display:none;}
}
@media (max-width:767px){
  .autosehy-header-actions{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:8px;
  }
  .autosehy-account-link,
  .autosehy-account-toggle,
  .autosehy-cart-link{
    min-height:40px;
    padding:7px 12px;
  }
  .autosehy-account-label{max-width:110px;}
  .autosehy-cart-text{display:inline;}
  .autosehy-account-dropdown{
    right:50%;
    transform:translate(50%,8px);
    min-width:235px;
  }
  .autosehy-header-account.is-logged:hover .autosehy-account-dropdown,
  .autosehy-header-account.is-logged:focus-within .autosehy-account-dropdown{
    transform:translate(50%,0);
  }
  .woocommerce-account .autosehy-account-section,
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .autosehy-myaccount-hero{padding:20px;}
}



/* =========================
   COTIZACIONES PRO
========================= */
.autosehy-quote-shell{
  padding: 30px 38px 40px;
}

.autosehy-quote-hero{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);
  gap:18px;
  align-items:center;
  margin-bottom:24px;
  padding:20px 24px;
  background:linear-gradient(135deg,#ffffff 0%,#f7faff 58%,#eef4ff 100%);
  border:1px solid #dbe6fb;
  border-radius:24px;
  box-shadow:0 12px 28px rgba(16,46,110,.05);
}

.autosehy-quote-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  padding:7px 12px;
  border-radius:999px;
  background:#edf3ff;
  border:1px solid #d8e4fb;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#1a448f;
}

.autosehy-quote-title{
  margin:0 0 10px;
  font-size:clamp(22px,3vw,34px);
  line-height:1.08;
  letter-spacing:-.02em;
}

.autosehy-quote-subtitle{
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:#5b6677;
  max-width:760px;
}

.autosehy-quote-pillbox{
  display:flex;
  flex-direction:column;
  gap:10px;
  background:linear-gradient(180deg,#f7fbff,#edf3ff);
  border:1px solid #dbe6fb;
  border-radius:18px;
  padding:16px 18px;
  box-shadow:0 10px 24px rgba(16,46,110,.05);
}

.autosehy-quote-pillbox span{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:800;
  color:#163a82;
}

.autosehy-quote-alert{
  margin:0 0 22px;
  padding:14px 16px;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
}

.autosehy-quote-alert.success{
  background:#ecfdf3;
  border:1px solid #bbe8cb;
  color:#0d6b3f;
}

.autosehy-quote-alert.error{
  background:#fff5f5;
  border:1px solid #f2c4c4;
  color:#a12a2a;
}

.autosehy-quote-form{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.autosehy-quote-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.autosehy-quote-card{
  background:#ffffff;
  border:1px solid #e0e8f5;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 30px rgba(16,46,110,.05);
}

.autosehy-quote-card-full{
  grid-column:1 / -1;
}

.autosehy-quote-card h3{
  margin:0 0 18px;
  font-size:18px;
  color:#173b7a;
}

.autosehy-form-grid{
  display:grid;
  gap:16px;
}

.autosehy-form-grid.two-col{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.autosehy-form-grid.one-col{
  grid-template-columns:1fr;
}

.autosehy-quote-form label{
  display:block;
  margin:0 0 7px;
  font-size:13px;
  font-weight:700;
  color:#344055;
}

.autosehy-quote-form input[type="text"],
.autosehy-quote-form input[type="email"],
.autosehy-quote-form select,
.autosehy-quote-form textarea{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #cfd8e8;
  border-radius:12px;
  background:#fff;
  font-size:14px;
  color:#1f2937;
  box-sizing:border-box;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.autosehy-quote-form textarea{
  min-height:116px;
  resize:vertical;
}

.autosehy-quote-form input:focus,
.autosehy-quote-form select:focus,
.autosehy-quote-form textarea:focus{
  outline:none;
  border-color:#2f61c9;
  box-shadow:0 0 0 4px rgba(47,97,201,.10);
}

.autosehy-quote-help,
.autosehy-upload-note{
  font-size:13px;
  line-height:1.6;
  color:#617089;
}

.autosehy-quote-help{
  margin:-4px 0 14px;
}

.autosehy-upload-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:170px;
  border:2px dashed #c9d8f5;
  border-radius:18px;
  background:linear-gradient(180deg,#f9fbff,#f3f7ff);
  text-align:center;
  padding:20px;
  cursor:pointer;
}

.autosehy-upload-icon{
  font-size:32px;
}

.autosehy-upload-text{
  font-size:15px;
  font-weight:800;
  color:#163a82;
}

.autosehy-file-input{
  display:block;
  width:100%;
  margin-top:14px;
  font-size:13px;
}

.autosehy-quote-actions{
  display:flex;
  justify-content:flex-end;
}

.autosehy-quote-submit{
  min-width:260px;
  padding:15px 22px;
  border:none;
  border-radius:14px;
  background:linear-gradient(180deg,#ff4a64,#ff2e4e);
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:0 16px 30px rgba(255,46,78,.22);
}

.autosehy-quote-submit:hover{
  transform:translateY(-1px);
}

@media (max-width: 980px){
  .autosehy-quote-hero,
  .autosehy-quote-grid,
  .autosehy-form-grid.two-col{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .autosehy-quote-shell{
    padding:24px 18px 28px;
  }

  .autosehy-quote-actions{
    justify-content:stretch;
  }

  .autosehy-quote-submit{
    width:100%;
    min-width:0;
  }
}

/* ===== CATALOGO PRO FINAL ===== */
.autosehy-shop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.autosehy-btn-back,
.autosehy-btn-outline,
.autosehy-btn-primary,
.autosehy-whatsapp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none !important;
  transition:.2s ease;
}
.autosehy-btn-back,
.autosehy-btn-outline{
  color:#153b86;
  border:1px solid #cbd7eb;
  background:#fff;
}
.autosehy-btn-back:hover,
.autosehy-btn-outline:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(21,59,134,.08);}
.autosehy-btn-primary{
  background:#153b86;
  color:#fff !important;
  border:1px solid #153b86;
}
.autosehy-btn-primary:hover{background:#102e69;color:#fff !important;}
.autosehy-no-results--pro{
  text-align:center;
  padding:34px 24px;
  border:1px dashed #cfd9ea;
  border-radius:22px;
  background:linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%);
}
.autosehy-no-results__icon{font-size:34px;margin-bottom:10px;}
.autosehy-no-results__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:18px;}

.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:18px 0 12px !important;
}
.woocommerce ul.products li.product.autosehy-product-card,
.woocommerce-page ul.products li.product.autosehy-product-card{
  width:100% !important;
  margin:0 !important;
  float:none !important;
  padding:0 !important;
}
.woocommerce ul.products li.product.autosehy-product-card::before,
.woocommerce-page ul.products li.product.autosehy-product-card::before,
.woocommerce ul.products li.product.autosehy-product-card::after,
.woocommerce-page ul.products li.product.autosehy-product-card::after{display:none !important;}
.woocommerce ul.products li.product.autosehy-product-card .button,
.woocommerce-page ul.products li.product.autosehy-product-card .button{margin-top:0 !important;}
.autosehy-product-card__inner{
  height:100%;
  display:flex;
  flex-direction:column;
  border:1px solid #e7edf7;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(16,42,107,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.autosehy-product-card__inner:hover{
  transform:translateY(-3px);
  border-color:#cfdbef;
  box-shadow:0 14px 28px rgba(16,42,107,.09);
}
.autosehy-product-card__thumb{
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  border-bottom:1px solid #edf2fa;
}
.autosehy-product-card__thumb img{
  max-width:100% !important;
  max-height:170px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain;
  margin:0 auto !important;
}
.autosehy-product-card__body{padding:14px 14px 16px;display:flex;flex-direction:column;gap:10px;flex:1;}
.autosehy-product-card__title,
.woocommerce ul.products li.product .autosehy-product-card__title{
  font-size:16px !important;
  line-height:1.28;
  min-height:40px;
  margin:0 !important;
}
.autosehy-product-card__title a{color:#143a84;text-decoration:none;}
.autosehy-product-card__meta{display:flex;flex-direction:column;gap:7px;color:#30486f;font-size:13px;}
.autosehy-product-card__line{display:flex;align-items:flex-start;gap:8px;line-height:1.35;}
.autosehy-product-card__line .dot{width:10px;height:10px;border:2px solid #4d648f;border-radius:50%;display:inline-block;flex:0 0 10px;margin-top:4px;}
.autosehy-product-card__stock,
.autosehy-product-card__delivery{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.autosehy-product-card__stock span,
.autosehy-product-card__delivery span{
  font-size:12px;
  border-radius:10px;
  padding:8px 9px;
  text-align:center;
}
.autosehy-product-card__stock .stock-bex{background:#eef6ff;color:#18438e;}
.autosehy-product-card__stock .stock-dcl{background:#fff6e8;color:#995c00;}
.autosehy-product-card__delivery span{background:#f7f9fc;color:#58677f;}
.autosehy-product-card__price,
.woocommerce ul.products li.product .autosehy-product-card__price{
  margin:2px 0 0 !important;
  color:#123987 !important;
  font-size:15px !important;
  font-weight:800 !important;
}
.autosehy-product-card__price small{font-size:11px;color:#5a6a82;font-weight:600;white-space:nowrap;}
.autosehy-product-card__actions{margin-top:auto;padding-top:2px;}
.woocommerce ul.products li.product.autosehy-product-card .autosehy-product-card__button,
.woocommerce-page ul.products li.product.autosehy-product-card .autosehy-product-card__button{
  width:100%;
  min-height:42px;
  border-radius:12px;
  padding:10px 12px;
  text-align:center;
  font-size:14px;
  font-weight:800;
  background:#153b86 !important;
  color:#fff !important;
  border:1px solid #153b86;
  box-shadow:none !important;
}
.woocommerce ul.products li.product.autosehy-product-card .autosehy-product-card__button:hover,
.woocommerce-page ul.products li.product.autosehy-product-card .autosehy-product-card__button:hover{background:#102e69 !important;color:#fff !important;}
.woocommerce ul.products li.product.autosehy-product-card .autosehy-product-card__button--secondary,
.woocommerce-page ul.products li.product.autosehy-product-card .autosehy-product-card__button--secondary{background:#fff !important;color:#153b86 !important;border-color:#cbd7eb !important;}

@media (max-width: 1100px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 860px){
  .autosehy-shop-head{flex-direction:column;align-items:flex-start;}
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 560px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:1fr;gap:14px;}
  .autosehy-no-results__actions{flex-direction:column;}
  .autosehy-btn-back,
  .autosehy-btn-outline,
  .autosehy-btn-primary,
  .autosehy-whatsapp-btn{width:100%;}
}

.as-no-results {
  text-align: center;
  padding: 40px 20px;
}

.as-no-results-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.as-no-results h2 {
  font-size: 22px;
  color: #1d3b6d;
  margin-bottom: 10px;
}

.as-no-results p {
  color: #555;
  margin-bottom: 20px;
}

.as-no-results-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.as-btn {
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.as-btn-light {
  background: #f1f1f1;
  color: #333;
}

.as-btn-primary {
  background: #0b3a82;
  color: #fff;
}

.as-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

/* TITULOS PRINCIPALES */
h1 {
  font-size: 32px !important;
  line-height: 1.2;
}

/* TITULO CATALOGO */
.autosehy-shop-title,
.woocommerce-products-header__title {
  font-size: 30px !important;
}

/* RESULTADOS DE BUSQUEDA */
.search-results h1,
.search-results h2 {
  font-size: 28px !important;
}

.woocommerce-result-count {
  font-size: 14px;
  color: #666;
}

/* ==========================================
   IMÁGENES DE PRODUCTO OPTIMIZADAS
========================================== */
.autosehy-thumb-wrap{
    width:100% !important;
    height:170px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#ffffff !important;
    border-radius:10px !important;
    overflow:hidden !important;
    margin:0 0 10px !important;
}

.autosehy-catalog-thumb,
.woocommerce ul.products li.product a img.autosehy-catalog-thumb,
.woocommerce-page ul.products li.product a img.autosehy-catalog-thumb{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    margin:0 !important;
    padding:6px !important;
    background:#ffffff !important;
    display:block !important;
}

/* =====================================
   🔥 FIX RESPONSIVE AUTOSHEY (PRO)
===================================== */

@media (max-width: 768px){

  /* ===== HEADER ===== */
  .header-top-inner{
    flex-direction:column !important;
    align-items:center !important;
    gap:10px !important;
  }

  .autosehy-header-actions{
    width:100% !important;
    display:flex !important;
    justify-content:space-between !important;
    gap:10px !important;
  }

  .autosehy-account-label{
    display:none !important;
  }

  .autosehy-cart-text{
    display:none !important;
  }

  /* ===== MENÚ ===== */
  .header-menu-inner{
    flex-direction:column !important;
    gap:10px !important;
  }

  .main-navigation{
    width:100% !important;
    display:none;
  }

  .main-navigation.active{
    display:block !important;
  }

  .menu-toggle{
    width:100%;
    padding:10px;
    font-weight:600;
  }

  /* ===== BUSCADOR ===== */
  .header-search{
    width:100% !important;
  }

  .as-home-search-inner{
    width:100% !important;
  }

  /* ===== GRID PRODUCTOS ===== */
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
    padding:0 10px !important;
  }

  /* ===== TARJETAS ===== */
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:auto !important;
    padding:10px !important;
  }

  /* ===== IMAGEN ===== */
  .woocommerce ul.products li.product img{
    height:110px !important;
    object-fit:contain !important;
  }

  /* ===== TITULO ===== */
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:12px !important;
    min-height:auto !important;
  }

  /* ===== BOTÓN ===== */
  .autosehy-loop-cart .button{
    font-size:11px !important;
    padding:6px !important;
  }

  .autosehy-qty{
    width:45px !important;
    height:32px !important;
  }

  /* ===== STOCK ===== */
  .autosehy-stock-item{
    font-size:10px !important;
    padding:3px 6px !important;
  }

  /* ===== BODEGAS STICKY ===== */
  #autosehy-bodegas-sticky{
    top:140px !important;
    padding:8px !important;
  }

}

/* ===== TABLET ===== */
@media (min-width:769px) and (max-width:1024px){

  .woocommerce ul.products{
    grid-template-columns:repeat(3,1fr) !important;
  }

}

/* ===== FIX GENERAL ===== */
body{
  overflow-x:hidden;
}

/* =====================================
   MOBILE PRO AUTOSHEY - NIVEL PREMIUM
===================================== */

@media (max-width: 768px){

  body{
    background:#f5f7fb !important;
    overflow-x:hidden !important;
  }

  .site-header{
    background:#f3f4f6 !important;
    box-shadow:0 8px 24px rgba(15,47,120,.08) !important;
  }

  .header-top{
    padding:10px 0 4px !important;
  }

  .header-top-inner{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
  }

  .header-branding img{
    max-width:92px !important;
  }

  .autosehy-header-actions{
    width:100% !important;
    justify-content:center !important;
    gap:10px !important;
    margin-top:0 !important;
  }

  .autosehy-account-link,
  .autosehy-account-toggle,
  .autosehy-cart-link{
    min-height:38px !important;
    padding:7px 13px !important;
    border-radius:999px !important;
    font-size:12px !important;
  }

  .autosehy-account-label,
  .autosehy-cart-text{
    display:inline !important;
    font-size:12px !important;
  }

  .autosehy-cart-count{
    width:24px !important;
    min-width:24px !important;
    height:24px !important;
    font-size:11px !important;
  }

  .header-menu-row{
    padding:4px 0 8px !important;
  }

  .menu-toggle{
    width:auto !important;
    min-width:88px !important;
    min-height:38px !important;
    padding:0 18px !important;
    border-radius:12px !important;
    background:#123987 !important;
    box-shadow:0 8px 18px rgba(18,57,135,.18) !important;
  }

  .header-search-row{
    padding:4px 0 8px !important;
  }

  .header-search{
    width:calc(100% - 24px) !important;
    max-width:none !important;
  }

  .as-home-search-inner{
    height:46px !important;
    border-radius:18px !important;
    border:1px solid #e0e7f2 !important;
    box-shadow:0 8px 20px rgba(15,47,120,.07) !important;
  }

  .as-home-search input{
    height:46px !important;
    font-size:13px !important;
    padding:0 14px !important;
  }

  .as-home-search button{
    height:46px !important;
    width:58px !important;
    font-size:20px !important;
    border-radius:0 18px 18px 0 !important;
  }

  .as-marquee-group{
    padding:8px 12px !important;
    font-size:11px !important;
    gap:22px !important;
  }

  #autosehy-bodegas-sticky{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    z-index:5 !important;
    margin:12px auto 0 !important;
    padding:0 12px !important;
    box-shadow:none !important;
    border:none !important;
    background:transparent !important;
  }

  #autosehy-bodegas-sticky > div{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }

  #autosehy-bodegas-sticky > div > div{
    min-height:86px !important;
    padding:12px 10px !important;
    border-radius:16px !important;
    box-shadow:0 8px 20px rgba(15,47,120,.06) !important;
  }

  #autosehy-bodegas-sticky strong{
    font-size:14px !important;
  }

  #autosehy-bodegas-sticky span{
    font-size:12px !important;
  }

  .page-content{
    padding:12px 0 32px !important;
  }

  .autosehy-page-wrap .as-container{
    width:100% !important;
  }

  .autosehy-content-shell{
    border:none !important;
    border-radius:0 !important;
    padding:18px 14px 28px !important;
    box-shadow:none !important;
    background:#fff !important;
  }

  .autosehy-breadcrumb,
  .autosehy-page-title,
  .autosehy-shop-count{
    display:none !important;
  }

  .autosehy-shop-head{
    margin:0 0 18px !important;
  }

  .autosehy-page-lead{
    margin:0 !important;
    padding:14px 16px !important;
    background:#f8fbff !important;
    border:1px solid #e1e9f5 !important;
    border-radius:16px !important;
    font-size:14px !important;
    line-height:1.65 !important;
    color:#31456a !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    padding:0 !important;
    margin:14px 0 0 !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  .autosehy-product-card__inner,
  .woocommerce ul.products li.product{
    border-radius:18px !important;
    background:#fff !important;
    border:1px solid #e3eaf5 !important;
    box-shadow:0 8px 20px rgba(15,47,120,.06) !important;
    overflow:hidden !important;
  }

  .autosehy-product-card__thumb{
    padding:12px !important;
    min-height:145px !important;
  }

  .woocommerce ul.products li.product img{
    height:132px !important;
    max-height:132px !important;
    object-fit:contain !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .autosehy-product-card__title{
    font-size:12.5px !important;
    line-height:1.35 !important;
    min-height:38px !important;
    padding:10px 10px 4px !important;
    text-align:center !important;
    color:#123987 !important;
  }

  .mi-info-producto,
  .autosehy-stock-bodegas,
  .autosehy-loop-cart{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .mi-linea-producto{
    font-size:11px !important;
    margin-bottom:5px !important;
  }

  .autosehy-stock-bodegas{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
    border-bottom:none !important;
    margin-bottom:8px !important;
    padding-bottom:4px !important;
  }

  .autosehy-stock-item{
    justify-content:center !important;
    font-size:10.5px !important;
    padding:6px 5px !important;
    border-radius:999px !important;
    background:#f8fbff !important;
    border:1px solid #dce6f3 !important;
    margin:0 !important;
  }

  .autosehy-cart-row{
    display:grid !important;
    grid-template-columns:44px 1fr 36px !important;
    gap:6px !important;
    align-items:center !important;
  }

  .autosehy-qty{
    width:44px !important;
    min-width:44px !important;
    height:34px !important;
    border-radius:10px !important;
    font-size:13px !important;
  }

  .autosehy-loop-cart .button,
  .woocommerce ul.products li.product .button{
    min-height:34px !important;
    padding:7px 6px !important;
    font-size:11px !important;
    border-radius:10px !important;
    background:#123987 !important;
    color:#fff !important;
  }

  .autosehy-quickview-btn{
    width:36px !important;
    min-width:36px !important;
    height:34px !important;
    border-radius:10px !important;
  }

  .autosehy-stock-msg{
    font-size:10px !important;
    text-align:center !important;
    margin-top:5px !important;
  }

}

/* =====================================
   CATÁLOGO MÓVIL COMPACTO PRO
===================================== */

@media (max-width: 768px){

  .site-header{
    position:relative !important;
  }

  .header-branding img{
    max-width:70px !important;
  }

  .header-top{
    padding:4px 0 2px !important;
  }

  .header-menu-row{
    padding:2px 0 6px !important;
  }

  .header-search-row{
    padding:2px 0 6px !important;
  }

  .as-home-search-inner,
  .as-home-search input,
  .as-home-search button{
    height:40px !important;
  }

  .as-marquee-group{
    padding:6px 10px !important;
    font-size:10px !important;
  }

  #autosehy-bodegas-sticky{
    margin-top:8px !important;
    padding:0 10px !important;
  }

  #autosehy-bodegas-sticky > div > div{
    min-height:72px !important;
    padding:9px 8px !important;
  }

  #autosehy-bodegas-sticky strong{
    font-size:13px !important;
  }

  #autosehy-bodegas-sticky span{
    font-size:11px !important;
  }

  .autosehy-page-lead{
    display:none !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    padding:0 8px !important;
    margin-top:8px !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{
    min-height:auto !important;
    border-radius:14px !important;
  }

  .autosehy-product-card__inner{
    border-radius:14px !important;
  }

  .autosehy-product-card__thumb{
    min-height:105px !important;
    padding:8px !important;
  }

  .woocommerce ul.products li.product img{
    height:96px !important;
    max-height:96px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .autosehy-product-card__title{
    font-size:11px !important;
    line-height:1.25 !important;
    min-height:30px !important;
    max-height:32px !important;
    padding:7px 7px 2px !important;
    overflow:hidden !important;
  }

  .woocommerce ul.products li.product .price,
  .autosehy-product-card__price{
    font-size:14px !important;
    margin:3px 0 5px !important;
    padding:0 8px !important;
  }

  .mi-info-producto{
    padding:0 8px 5px !important;
    margin-bottom:5px !important;
  }

  .mi-linea-producto{
    font-size:10px !important;
    gap:4px !important;
    margin-bottom:3px !important;
    line-height:1.2 !important;
  }

  .mi-circulo{
    width:8px !important;
    height:8px !important;
    flex:0 0 8px !important;
  }

  .autosehy-stock-bodegas{
    padding:0 8px 6px !important;
    margin-bottom:6px !important;
    gap:5px !important;
  }

  .autosehy-stock-item{
    font-size:9.5px !important;
    padding:4px 4px !important;
    line-height:1.05 !important;
  }

  .autosehy-stock-item .dot{
    width:7px !important;
    height:7px !important;
  }

  .autosehy-loop-cart{
    padding:0 8px 8px !important;
  }

  .autosehy-cart-row{
    grid-template-columns:40px 1fr !important;
    gap:6px !important;
  }

  .autosehy-quickview-btn{
    display:none !important;
  }

  .autosehy-qty{
    width:40px !important;
    min-width:40px !important;
    height:32px !important;
    font-size:13px !important;
  }

  .autosehy-loop-cart .button,
  .woocommerce ul.products li.product .button{
    width:100% !important;
    min-height:32px !important;
    height:32px !important;
    padding:6px 5px !important;
    font-size:10.5px !important;
    border-radius:9px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
  }

  .autosehy-btn-icon{
    display:none !important;
  }

  .autosehy-btn-text{
    font-size:0 !important;
  }

  .autosehy-btn-text::after{
    content:"Agregar";
    font-size:10.5px !important;
  }

  .autosehy-stock-msg{
    display:none !important;
  }
}