.ahp-enabled{--ahp-topbar-height:30px}.ahp-enabled.ahp-hide-old .elementor-location-header,.ahp-enabled.ahp-hide-old #masthead,.ahp-enabled.ahp-hide-old header.site-header,.ahp-enabled.ahp-hide-old .ast-primary-header-bar{display:none!important}body.ahp-enabled{padding-top:0!important}#amnesia-header-pro,#amnesia-header-pro *{box-sizing:border-box}#amnesia-header-pro{font-family:inherit;color:var(--ahp-ink);width:100%;z-index:99990;left:0;right:0}#amnesia-header-pro.ahp-fixed{position:fixed;top:0}body.admin-bar #amnesia-header-pro.ahp-fixed{top:32px}#amnesia-header-pro.ahp-static{position:relative}#amnesia-header-pro.ahp-hidden{transform:translateY(calc(-100% - 8px));pointer-events:none}#amnesia-header-pro.ahp-fixed{transition:transform .24s ease}#amnesia-header-pro button,#amnesia-header-pro input{font:inherit}#amnesia-header-pro a{text-decoration:none}#amnesia-header-pro .ahp-topbar{height:30px;background:var(--ahp-top);color:white;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;text-align:center;padding:4px 14px;line-height:1.2}#amnesia-header-pro .ahp-topbar a{color:inherit}#amnesia-header-pro .ahp-shell{background:var(--ahp-surface);max-width:var(--ahp-width);margin:auto;border-radius:0 0 var(--ahp-radius) var(--ahp-radius);box-shadow:var(--ahp-shadow);border:1px solid rgba(80,120,60,.14);border-top:0;position:relative}#amnesia-header-pro.ahp-full .ahp-shell{max-width:none;border-radius:0;border-left:0;border-right:0}#amnesia-header-pro .ahp-main{height:var(--ahp-height);width:100%;padding:0 clamp(18px,2.4vw,38px);display:flex;align-items:center;gap:clamp(15px,2vw,32px)}#amnesia-header-pro .ahp-logo{display:flex;align-items:center;flex:0 0 auto;width:clamp(110px,14vw,195px);max-width:195px}#amnesia-header-pro .ahp-logo-image{display:block;width:auto;max-width:100%;height:auto;max-height:var(--ahp-logo-height);object-fit:contain}#amnesia-header-pro .ahp-wordmark{font-size:21px;font-weight:850;color:var(--ahp-dark)}#amnesia-header-pro .ahp-nav{flex:1;min-width:0}#amnesia-header-pro .ahp-nav-list{display:flex;list-style:none;margin:0;padding:0;gap:clamp(13px,2vw,34px);align-items:center;justify-content:center}#amnesia-header-pro .ahp-nav-item{list-style:none;position:relative;display:flex;align-items:center;gap:2px;margin:0;padding:0}#amnesia-header-pro .ahp-nav-item>a{font-size:15px;color:var(--ahp-ink);font-weight:750;white-space:nowrap;padding:12px 0;position:relative;line-height:1.2}#amnesia-header-pro .ahp-nav-item>a:after{content:'';position:absolute;left:0;right:0;bottom:7px;height:2px;background:var(--ahp-green);transform:scaleX(0);transition:transform .2s}#amnesia-header-pro .ahp-nav-item>a:hover:after,#amnesia-header-pro .ahp-nav-item>a:focus-visible:after{transform:scaleX(1)}#amnesia-header-pro .ahp-nav-item>a:hover{color:var(--ahp-dark)}#amnesia-header-pro .ahp-subtoggle{border:0;background:none;color:var(--ahp-ink);padding:7px 3px;cursor:pointer}#amnesia-header-pro .ahp-submenu{position:absolute;display:none;top:100%;left:0;list-style:none;margin:0;padding:10px 16px;min-width:195px;border-radius:12px;background:var(--ahp-surface);box-shadow:var(--ahp-shadow);border:1px solid #e5ede2;z-index:2}#amnesia-header-pro .ahp-submenu .ahp-nav-item{margin:0}#amnesia-header-pro .ahp-nav-item:hover>.ahp-submenu,#amnesia-header-pro .ahp-nav-item:focus-within>.ahp-submenu,#amnesia-header-pro .ahp-nav-item.open>.ahp-submenu{display:block}#amnesia-header-pro .ahp-actions{display:flex;gap:clamp(9px,1.3vw,20px);align-items:center;flex:none}#amnesia-header-pro .ahp-icon-button{border:0;background:transparent;display:inline-flex;gap:7px;align-items:center;justify-content:center;cursor:pointer;color:var(--ahp-ink);font-size:14px;font-weight:750;padding:8px 2px;white-space:nowrap}#amnesia-header-pro .ahp-icon-button:hover{color:var(--ahp-dark)}#amnesia-header-pro svg{display:block;width:22px;height:22px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none}#amnesia-header-pro .ahp-cart{min-height:44px;display:inline-flex;gap:10px;align-items:center;justify-content:center;background:linear-gradient(140deg,var(--ahp-green),var(--ahp-dark));color:white!important;padding:0 16px;border-radius:12px;font-weight:800;font-size:14px;white-space:nowrap;box-shadow:0 5px 12px rgba(49,97,35,.16)}#amnesia-header-pro .ahp-cart:hover{filter:brightness(1.06)}#amnesia-header-pro .ahp-search{padding:0 24px 14px}#amnesia-header-pro .ahp-search[hidden],#amnesia-header-pro .ahp-mobile-panel[hidden],#amnesia-header-pro .ahp-overlay[hidden]{display:none!important}#amnesia-header-pro .ahp-search form{display:flex;gap:8px;background:#f6f8f5;border:1px solid #d7e5d0;border-radius:12px;padding:7px}#amnesia-header-pro .ahp-search input[type=search]{flex:1;min-width:0;background:transparent;border:0;outline:none;box-shadow:none;color:var(--ahp-ink);padding:8px 12px;font-size:15px}#amnesia-header-pro .ahp-search button{background:var(--ahp-dark);color:white;border:0;border-radius:8px;padding:9px 18px;font-weight:750;cursor:pointer}#amnesia-header-pro .ahp-menu-button{display:none}#amnesia-header-pro .ahp-mobile-panel{display:none}.ahp-spacer{height:calc(var(--ahp-height) + 30px)}#amnesia-header-pro:has(.ahp-topbar) + .ahp-spacer{height:calc(var(--ahp-height) + 30px)}#amnesia-header-pro:not(:has(.ahp-topbar)) + .ahp-spacer{height:var(--ahp-height)}
@media(max-width:1240px){#amnesia-header-pro .ahp-main{gap:16px;padding:0 18px}#amnesia-header-pro .ahp-nav-list{gap:17px}#amnesia-header-pro .ahp-logo{width:115px}#amnesia-header-pro .ahp-action-text{display:none}}
@media(max-width:980px){#amnesia-header-pro .ahp-main{height:70px;display:grid;grid-template-columns:52px 1fr auto;padding:0 16px;gap:8px}#amnesia-header-pro .ahp-menu-button{display:inline-flex;width:44px;height:44px}#amnesia-header-pro .ahp-logo{justify-self:center;justify-content:center;width:auto;max-width:170px}#amnesia-header-pro .ahp-logo-image{max-height:52px}#amnesia-header-pro .ahp-nav{display:none}#amnesia-header-pro .ahp-actions{justify-self:end;gap:10px}#amnesia-header-pro .ahp-account{display:none}#amnesia-header-pro .ahp-cart{padding:0 12px;min-height:42px}#amnesia-header-pro .ahp-mobile-panel{display:block;position:absolute;top:100%;left:10px;width:min(350px,calc(100vw - 20px));background:var(--ahp-surface);border:1px solid #dde7d9;border-radius:0 0 18px 18px;padding:12px;z-index:3;box-shadow:0 14px 32px rgba(0,0,0,.13)}#amnesia-header-pro .ahp-mobile-panel .ahp-nav-list{display:block}#amnesia-header-pro .ahp-mobile-panel .ahp-nav-item{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #eff2ed}#amnesia-header-pro .ahp-mobile-panel .ahp-nav-item>a{padding:13px 9px;font-weight:700;flex:1}#amnesia-header-pro .ahp-mobile-panel .ahp-submenu{position:static;box-shadow:none;border:0;width:100%;padding:0 0 0 18px}#amnesia-header-pro .ahp-mobile-extra{display:grid;gap:4px;padding-top:12px}#amnesia-header-pro .ahp-mobile-extra>*{display:block;padding:12px 9px;color:var(--ahp-ink);font-weight:750;text-align:left;background:transparent;border:0;cursor:pointer}#amnesia-header-pro .ahp-overlay{display:block;position:fixed;inset:0;background:rgba(15,20,14,.14);z-index:-1}#amnesia-header-pro .ahp-search{padding:0 12px 12px}.ahp-spacer,#amnesia-header-pro:has(.ahp-topbar)+.ahp-spacer{height:100px}#amnesia-header-pro:not(:has(.ahp-topbar))+.ahp-spacer{height:70px}}
@media(max-width:520px){#amnesia-header-pro .ahp-topbar{font-size:10px;min-height:30px;height:auto;line-height:1.25;padding:6px 12px}#amnesia-header-pro .ahp-main{height:65px;padding:0 10px;grid-template-columns:42px 1fr auto}#amnesia-header-pro .ahp-logo-image{max-height:46px}#amnesia-header-pro .ahp-actions{gap:6px}#amnesia-header-pro .ahp-search-button{padding:7px}#amnesia-header-pro .ahp-cart{min-width:42px;min-height:42px;padding:0 9px}#amnesia-header-pro .ahp-cart-total{display:none}#amnesia-header-pro .ahp-logo{max-width:130px}.ahp-spacer,#amnesia-header-pro:has(.ahp-topbar)+.ahp-spacer{height:95px}#amnesia-header-pro:not(:has(.ahp-topbar))+.ahp-spacer{height:65px}}
@media(prefers-reduced-motion:reduce){#amnesia-header-pro,#amnesia-header-pro *{transition:none!important}}
/* v1.1.0: full-width, compact scroll, live search, independent WooCommerce drawer */
#amnesia-header-pro.ahp-full .ahp-shell{width:100%;max-width:none;border-radius:0;box-shadow:0 6px 18px rgba(0,0,0,.075)}
#amnesia-header-pro.ahp-full .ahp-main{padding-left:clamp(18px,3vw,64px);padding-right:clamp(18px,3vw,64px)}
#amnesia-header-pro .ahp-main,#amnesia-header-pro .ahp-logo-image,#amnesia-header-pro .ahp-topbar{transition:height .2s ease,max-height .2s ease,padding .2s ease}
#amnesia-header-pro.ahp-compact .ahp-main{height:58px}
#amnesia-header-pro.ahp-compact .ahp-logo-image{max-height:43px}
#amnesia-header-pro.ahp-compact .ahp-topbar{height:23px;min-height:23px;font-size:10px}
#amnesia-header-pro .ahp-cart{border:0;cursor:pointer}
#amnesia-header-pro .ahp-search-results{position:absolute;left:24px;right:24px;top:100%;z-index:5;background:#fff;border:1px solid #dee8d9;border-radius:0 0 16px 16px;box-shadow:0 16px 25px rgba(0,0,0,.12);max-height:min(500px,65vh);overflow:auto}
#amnesia-header-pro .ahp-search-results[hidden]{display:none!important}
#amnesia-header-pro .ahp-search-clear{background:transparent;color:#506b47;font-size:23px;padding:5px 12px}
#amnesia-header-pro .ahp-result-item{display:flex;gap:13px;align-items:center;padding:10px 16px;border-bottom:1px solid #eef2eb;color:#1b271b}
#amnesia-header-pro .ahp-result-item:hover{background:#f3f8f0}
#amnesia-header-pro .ahp-result-thumb{flex:0 0 56px;height:56px;display:flex;justify-content:center;align-items:center}
#amnesia-header-pro .ahp-result-thumb img{max-width:100%;max-height:100%;object-fit:contain}
#amnesia-header-pro .ahp-result-details{display:flex;flex-direction:column;gap:3px;font-size:13px}
#amnesia-header-pro .ahp-result-details strong{font-size:14px}
#amnesia-header-pro .ahp-results-label,#amnesia-header-pro .ahp-search-wait,#amnesia-header-pro .ahp-no-results{padding:13px 16px;color:#59665a;font-size:13px}
#amnesia-header-pro .ahp-see-all{display:block;text-align:center;color:var(--ahp-dark);font-weight:750;padding:13px;background:#f4f8f2}
.ahp-cart-shade[hidden]{display:none!important}.ahp-cart-shade{position:fixed;inset:0;background:rgba(12,20,12,.52);z-index:99991;backdrop-filter:blur(2px)}
.ahp-cart-drawer{font-family:inherit;position:fixed;top:0;right:0;width:min(440px,100vw);height:100dvh;background:white;z-index:99992;box-shadow:-15px 0 35px rgba(0,0,0,.13);transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column;color:#1a2a19;visibility:hidden;box-sizing:border-box}
.ahp-cart-drawer *{box-sizing:border-box}.ahp-cart-drawer.is-open{transform:translateX(0);visibility:visible}body.ahp-drawer-open{overflow:hidden}
.ahp-drawer-head{display:flex;align-items:center;justify-content:space-between;min-height:83px;padding:20px 24px;border-bottom:1px solid #e6ede2;background:#fff}
.ahp-drawer-head>div{display:flex;flex-direction:column;gap:3px}.ahp-drawer-head strong{font-size:21px;font-weight:800}.ahp-drawer-count{color:#71806b;font-size:12px}
.ahp-drawer-close{border:0;background:#edf4e9;color:#2d6327;cursor:pointer;width:38px;height:38px;border-radius:11px;font-size:28px;line-height:1}
.ahp-drawer-body{min-height:0;flex:1;display:flex;flex-direction:column;overflow-y:auto}.ahp-drawer-products{padding:8px 20px;flex:1}.ahp-drawer-product{display:grid;grid-template-columns:94px minmax(0,1fr) 27px;gap:12px;padding:18px 0;border-bottom:1px solid #e9eee7;align-items:start}.ahp-drawer-thumb{width:94px;height:94px;background:#f7f9f5;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.ahp-drawer-thumb img{width:100%;height:100%;object-fit:contain}.ahp-product-details{min-width:0;display:flex;flex-direction:column;gap:8px}.ahp-product-name{font-size:14px;font-weight:750;color:#1a291a;text-decoration:none;line-height:1.4}.ahp-product-meta{font-size:13px;color:#65715e}.ahp-product-line{font-size:15px;font-weight:800;color:#326f25}.ahp-remove-item{font-size:23px;border:0;background:transparent;color:#889184;cursor:pointer}.ahp-remove-item:hover{color:#bd413a}
.ahp-drawer-footer{padding:21px 24px 27px;border-top:1px solid #e4ebe0;box-shadow:0 -6px 20px rgba(0,0,0,.025);background:#fff}.ahp-subtotal{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px}.ahp-subtotal strong{font-size:19px;color:#286320}.ahp-drawer-footer p{font-size:12px;color:#7a8676;margin:10px 0 17px}.ahp-view-cart,.ahp-checkout,.ahp-empty a{display:flex;align-items:center;justify-content:center;min-height:45px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:800}.ahp-view-cart{border:1px solid #386f2c;color:#386f2c;background:white;margin-bottom:9px}.ahp-checkout,.ahp-empty a{background:linear-gradient(130deg,#5b913d,#2d6d25);color:white}.ahp-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center}.ahp-empty>span{font-size:64px;color:#94b77f}.ahp-empty h3{margin:12px 0;font-size:20px}.ahp-empty p{color:#75816e;font-size:14px}.ahp-empty a{padding:0 25px;margin-top:15px}.ahp-cart-loading{padding:30px;color:#76816f}
@media(max-width:980px){#amnesia-header-pro.ahp-compact .ahp-main{height:58px}#amnesia-header-pro .ahp-search-results{left:12px;right:12px}}
@media(max-width:520px){#amnesia-header-pro.ahp-compact .ahp-topbar{font-size:9px;min-height:24px;height:auto}#amnesia-header-pro.ahp-compact .ahp-main{height:54px}.ahp-drawer-head{min-height:70px;padding:16px 18px}.ahp-drawer-products{padding:6px 15px}.ahp-drawer-footer{padding:17px 18px 25px}}
@media(prefers-reduced-motion:reduce){.ahp-cart-drawer{transition:none}}
/* v1.2.0 - panel de carrito inspirado en la estructura de General Paz, sin compartir reglas comerciales */
.ahp-cart-drawer{width:min(420px,100vw);font-size:14px;line-height:1.4}
.ahp-drawer-head{min-height:72px;padding:15px 18px;border-bottom:1px solid #e6eadd}
.ahp-drawer-head strong{font-size:19px;color:#19351b}
.ahp-drawer-close{height:34px;width:34px;background:#527d33;color:#fff;border-radius:5px;font-weight:700;font-size:23px}
.ahp-drawer-count{font-size:12px}
.ahp-shipping-banner{padding:15px 17px 13px;background:#f2f7f8;border-bottom:1px solid #dbe8dd;display:flex;flex-direction:column;gap:5px}
.ahp-shipping-banner strong{font-size:13px;color:#1e471f;padding-bottom:8px;border-bottom:2px solid #79a44b}
.ahp-shipping-banner span{font-size:11px;color:#607060}
.ahp-drawer-products{flex:none;padding:12px 14px 5px}
.ahp-drawer-product{display:grid;grid-template-columns:66px minmax(0,1fr) 25px;gap:12px;border:1px solid #dfe9d8;border-radius:15px;padding:12px;margin-bottom:11px;align-items:start}
.ahp-drawer-thumb{width:66px;height:90px;background:#fff;border-radius:8px}
.ahp-drawer-thumb img{max-height:82px;object-fit:contain}
.ahp-product-details{gap:3px}
.ahp-product-name{color:#27802b!important;font-size:13px;font-weight:800;line-height:1.25}
.ahp-product-unit-label{font-size:9px;font-weight:700;color:#879183;letter-spacing:.03em}
.ahp-product-unit{font-size:11px;color:#4a5e49}
.ahp-item-bottom{display:flex;justify-content:space-between;gap:8px;align-items:end;margin-top:8px;border-top:1px solid #e8eee5;padding-top:7px}
.ahp-qty-wrap{display:flex;flex-direction:column;gap:3px}
.ahp-qty-wrap small{font-size:9px;color:#667565}
.ahp-quantity{display:flex;align-items:center;justify-content:space-between;width:98px;height:33px;border:1px solid #c9dec1;border-radius:9px;overflow:hidden}
.ahp-quantity button{width:28px;height:30px;border:0;background:transparent;color:#2c6426;font-size:17px;cursor:pointer;font-weight:800}
.ahp-quantity button:disabled{color:#b9c2b4;cursor:not-allowed}
.ahp-qty-value{font-weight:800;font-size:12px}
.ahp-item-line{text-align:right;min-width:0;display:flex;flex-direction:column;gap:3px}
.ahp-item-line small{font-size:9px;font-weight:800;color:#849081}
.ahp-item-line strong{font-size:11px;font-weight:750;white-space:nowrap;color:#3b5936}
.ahp-remove-item{border-radius:50%;background:#f0f5ed;border:0;font-size:17px;font-weight:700;color:#3d6735;width:24px;height:24px;line-height:1;cursor:pointer}
.ahp-drawer-bottom{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 14px 14px}
.ahp-coupon{border:1px solid #dde7d7;border-radius:10px;margin:5px 0 10px;background:#fff}
.ahp-coupon summary{cursor:pointer;padding:12px 11px;font-weight:750;font-size:13px;color:#17361b;list-style:none;display:flex;align-items:center;justify-content:space-between}
.ahp-coupon summary::after{content:'⌄';font-size:17px}
.ahp-coupon[open] summary::after{content:'⌃'}
.ahp-coupon-form{display:flex;gap:6px;padding:0 10px 12px}
.ahp-coupon-form input{width:100%;min-width:0;border:1px solid #d2dfcc;border-radius:7px;padding:8px;font-size:12px}
.ahp-coupon-form button{border:1px solid #3e8736;border-radius:7px;background:#fff;color:#2b7328;font-weight:800;font-size:11px;padding:8px;cursor:pointer}
.ahp-summary-card{border:1px solid #dce7d8;border-radius:11px;padding:12px 10px;background:#fff}
.ahp-summary-card .ahp-subtotal{font-size:13px}
.ahp-summary-card .ahp-subtotal strong{font-size:14px;color:#263c24}
.ahp-discount-row{display:flex;justify-content:space-between;color:#267227;font-size:12px;margin-top:6px}
.ahp-delivery-title{font-size:10px;letter-spacing:.06em;font-weight:850;color:#7b8976;margin-top:14px;margin-bottom:5px}
.ahp-delivery-option{border:1px solid #48943c;border-radius:8px;background:#f7fbf5;padding:9px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.ahp-delivery-option span{display:flex;flex-direction:column;gap:3px}
.ahp-delivery-option strong{font-size:12px;color:#234f23}
.ahp-delivery-option small{font-size:10px;color:#778573}
.ahp-delivery-option b{font-size:11px;color:#235c21}
.ahp-summary-note{font-size:10px;color:#788775;margin-top:10px;line-height:1.5}
.ahp-drawer-bottom .ahp-drawer-footer{margin-top:auto;position:sticky;bottom:0;padding:12px 0 2px;border:0;box-shadow:none}
.ahp-total-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:14px;color:#1f391d}
.ahp-total-row strong:last-child{font-size:16px;color:#236e27}
.ahp-drawer-footer .ahp-view-cart{min-height:43px;border-radius:8px;margin-bottom:8px;color:#223a24;border-color:#4c8e42}
.ahp-drawer-footer .ahp-checkout{min-height:43px;border-radius:8px;color:#fff;background:#2d8e31}
.ahp-coupon-applied{color:#2b7a2b;font-size:11px;margin:3px 5px 9px}
@media(max-width:520px){.ahp-drawer-head{padding:12px 14px}.ahp-drawer-products{padding:10px 12px 4px}.ahp-drawer-bottom{padding:0 12px 12px}}
/* v1.3.0: controles centrados y opciones de entrega reales */
.ahp-drawer-close,.ahp-remove-item,.ahp-quantity button,.ahp-coupon summary::after{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;box-sizing:border-box}
.ahp-drawer-close,.ahp-remove-item{padding:0!important;flex-shrink:0}
.ahp-quantity{display:grid!important;grid-template-columns:30px minmax(24px,1fr) 30px;align-items:center!important;justify-items:center;height:34px}
.ahp-quantity button{width:30px!important;height:32px!important;padding:0!important;margin:0!important;min-height:0!important;border-radius:0!important}
.ahp-qty-value{line-height:1!important;text-align:center;width:100%;font-variant-numeric:tabular-nums}
.ahp-product-unit-label,.ahp-item-line small,.ahp-delivery-title{line-height:1.3}
.ahp-coupon summary{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:44px;line-height:1.35}
.ahp-coupon summary::after{position:static!important;transform:none!important;flex:0 0 20px;width:20px;height:20px;margin:0!important}
.ahp-drawer-product{align-items:start;gap:10px}
.ahp-delivery-selector{display:flex;flex-direction:column;gap:8px}
.ahp-delivery-choice{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #dce7d7;background:#fff;border-radius:10px;padding:11px 9px;cursor:pointer;min-height:61px;line-height:1.35}
.ahp-delivery-choice.is-selected{border-color:#398b30;background:#f5fbf3;box-shadow:0 0 0 1px #398b3022}
.ahp-delivery-choice.is-unavailable{opacity:.68;cursor:not-allowed}
.ahp-delivery-choice input{position:absolute;opacity:0;pointer-events:none}
.ahp-delivery-radio{width:16px;height:16px;border:1.5px solid #aabca2;border-radius:50%;display:block;position:relative}
.ahp-delivery-choice input:checked+.ahp-delivery-radio{border-color:#388c34}
.ahp-delivery-choice input:checked+.ahp-delivery-radio::after{content:"";position:absolute;inset:3px;background:#388c34;border-radius:50%}
.ahp-delivery-choice input:focus-visible+.ahp-delivery-radio{outline:2px solid #326b2b;outline-offset:2px}
.ahp-delivery-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.ahp-delivery-copy strong{font-size:12px;color:#234f23;line-height:1.3}
.ahp-delivery-copy small{font-size:10px;color:#76816f;line-height:1.4}
.ahp-delivery-choice b{font-size:10px;color:#2b6728;text-align:right;max-width:80px;line-height:1.3}
.ahp-rate-name{font-style:italic}
.ahp-postcode-form{padding-top:8px}
.ahp-postcode-form>label{font-size:11px;font-weight:800;color:#42583e;display:block;margin-bottom:6px}
.ahp-postcode-row{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:7px;align-items:stretch}
.ahp-postcode-row input{width:100%;min-width:0;height:38px;box-sizing:border-box;border:1px solid #cfdacb;border-radius:8px;padding:0 10px;font-size:13px}
.ahp-postcode-row button{height:38px;display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid #36832c;border-radius:8px;background:#fff;color:#286c23;font-weight:800;cursor:pointer}
.ahp-postcode-feedback{font-size:10px;color:#73816e;margin:6px 1px 0;line-height:1.45}
.ahp-postcode-feedback.is-error{color:#ad3434}
.ahp-summary-card{padding:14px 12px}
.ahp-subtotal,.ahp-total-row{align-items:center;gap:10px}
.ahp-subtotal strong,.ahp-total-row strong:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
/* v1.4.0 — geometría consistente en el carrito y compatibilidad con mini-carritos legados */
body.ahp-enabled .elementor-menu-cart__container,
body.ahp-enabled .elementor-menu-cart__main,
body.ahp-enabled .elementor-menu-cart__overlay {display:none!important;visibility:hidden!important;pointer-events:none!important}
.ahp-cart-drawer{isolation:isolate;max-width:100vw}
.ahp-cart-drawer .ahp-drawer-head{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;column-gap:12px;padding:14px 16px;min-height:70px}
.ahp-cart-drawer .ahp-drawer-head>div{min-width:0;align-items:flex-start;justify-content:center}
.ahp-cart-drawer button.ahp-drawer-close,.ahp-cart-drawer button.ahp-remove-item{display:grid!important;place-items:center!important;margin:0!important;padding:0!important;appearance:none;-webkit-appearance:none;line-height:1!important;vertical-align:middle!important;font-family:Arial,sans-serif!important;font-weight:600!important;text-indent:0!important;box-shadow:none!important;outline-offset:2px}
.ahp-cart-drawer button.ahp-drawer-close{width:36px!important;height:36px!important;min-height:36px!important;border-radius:9px!important;font-size:22px!important;background:#537d37!important;color:#fff!important}
.ahp-cart-drawer button.ahp-remove-item{width:28px!important;height:28px!important;min-height:28px!important;border-radius:8px!important;font-size:19px!important;background:#eaf2e5!important;color:#37652e!important;align-self:start;justify-self:end}
.ahp-cart-drawer .ahp-drawer-products{padding:12px 14px 0;flex:0 0 auto;min-width:0}
.ahp-cart-drawer .ahp-drawer-product{grid-template-columns:66px minmax(0,1fr) 28px;min-width:0;gap:10px;align-items:start;padding:12px;margin:0 0 10px;overflow:hidden}
.ahp-cart-drawer .ahp-drawer-thumb{width:66px;height:76px;min-width:0;align-self:start}
.ahp-cart-drawer .ahp-drawer-thumb img{width:100%;height:100%;max-width:100%;max-height:76px;object-fit:contain;display:block}
.ahp-cart-drawer .ahp-product-details{min-width:0;gap:3px}
.ahp-cart-drawer .ahp-product-name{display:block;overflow-wrap:anywhere;word-break:normal;line-height:1.3}
.ahp-cart-drawer .ahp-item-bottom{flex-wrap:wrap;row-gap:8px;align-items:center;min-width:0}
.ahp-cart-drawer .ahp-item-line{margin-left:auto;flex:0 1 auto;align-items:flex-end;min-width:85px}
.ahp-cart-drawer .ahp-item-line strong{white-space:normal;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ahp-cart-drawer .ahp-quantity{display:grid!important;grid-template-columns:30px minmax(26px,1fr) 30px;width:100px;height:36px;overflow:hidden;align-items:center!important}
.ahp-cart-drawer .ahp-quantity button{display:grid!important;place-items:center!important;width:30px!important;height:34px!important;line-height:1!important;min-height:0!important;padding:0!important;margin:0!important;appearance:none!important;-webkit-appearance:none!important;font-size:18px!important;vertical-align:middle!important}
.ahp-cart-drawer .ahp-qty-value{display:grid;place-items:center;min-height:34px;line-height:1!important}
.ahp-cart-drawer .ahp-drawer-body{overscroll-behavior:contain;overflow-x:hidden;min-height:0}
.ahp-cart-drawer .ahp-drawer-bottom{min-height:min-content;flex:1 0 auto}
.ahp-cart-drawer .ahp-drawer-footer{margin-top:22px!important;position:static!important;padding:12px 0 4px!important}
.ahp-cart-drawer .ahp-coupon summary{display:grid!important;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:8px;min-height:48px;padding:10px 12px;line-height:1.35}
.ahp-cart-drawer .ahp-coupon summary::after{display:grid!important;place-items:center!important;width:22px;height:22px;line-height:1!important;font-family:Arial,sans-serif!important;font-size:19px!important}
.ahp-cart-drawer .ahp-subtotal,.ahp-cart-drawer .ahp-total-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.ahp-cart-drawer .ahp-subtotal strong,.ahp-cart-drawer .ahp-total-row strong:last-child{text-align:right}
.ahp-cart-drawer .ahp-shipping-banner{padding:12px 16px}
.ahp-cart-drawer .ahp-drawer-bottom .ahp-summary-card{margin-bottom:0}
.aip-product-card .aip-btn.ahp-adding{opacity:.65;pointer-events:none}
@media(max-width:420px){.ahp-cart-drawer .ahp-drawer-product{grid-template-columns:58px minmax(0,1fr) 26px;gap:8px;padding:10px}.ahp-cart-drawer .ahp-drawer-thumb{width:58px;height:70px}.ahp-cart-drawer .ahp-item-line{min-width:76px}.ahp-cart-drawer .ahp-drawer-products{padding:10px 10px 0}}

/* v1.5: interacciones discretas, sin vaciar el carrito por cada solicitud */
.ahp-cart-drawer .ahp-drawer-body.ahp-is-syncing{opacity:.96;transition:opacity .12s ease}
.ahp-cart-drawer .ahp-drawer-body.ahp-is-syncing .ahp-drawer-product{pointer-events:none}
.ahp-cart-drawer .ahp-drawer-close,.ahp-cart-drawer .ahp-remove-item{display:grid!important;align-items:center!important;justify-items:center!important;line-height:1!important}
.ahp-cart-drawer .ahp-delivery-choice{min-width:0;align-items:center}
.ahp-cart-drawer .ahp-postcode-row input{font-variant-numeric:tabular-nums}

/* v1.9.0: alineación del cupón y selección sin retardo visual */
.ahp-cart-drawer .ahp-coupon summary{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 14px!important}
.ahp-cart-drawer .ahp-coupon summary::after{content:""!important;display:block!important;position:static!important;flex:0 0 8px!important;width:8px!important;height:8px!important;border-right:2px solid #255c2b!important;border-bottom:2px solid #255c2b!important;transform:rotate(45deg)!important;transition:none!important;margin-right:4px!important;line-height:normal!important}
.ahp-cart-drawer .ahp-coupon[open] summary::after{transform:rotate(225deg)!important}
.ahp-cart-drawer .ahp-delivery-choice,.ahp-cart-drawer .ahp-payment-choice,.ahp-cart-drawer .ahp-delivery-choice *{transition:none!important;animation:none!important}
.ahp-payment-box{border:0;padding:12px 0 0;margin:14px 0 0;min-width:0;border-top:1px solid #e2ebdc}
.ahp-payment-box legend{font-weight:850;font-size:11px;color:#486443;letter-spacing:.02em;padding:0}
.ahp-payment-help{font-size:11px;line-height:1.45;color:#6a7669;margin:5px 0 10px}
.ahp-payment-choice{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #dce7d7;border-radius:9px;padding:10px;margin:7px 0;cursor:pointer;font-size:12px;font-weight:700;color:#244d25;background:#fff;min-height:40px;box-sizing:border-box}
.ahp-payment-choice.is-selected{border-color:#438938;background:#f2f9ef}
.ahp-payment-choice input{width:15px;height:15px;accent-color:#36832c;margin:0}
.ahp-payment-check{display:none}
.ahp-payment-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e2ebdc;font-size:11px}
.ahp-payment-total strong{font-size:14px;color:#217d27;white-space:nowrap;font-variant-numeric:tabular-nums}

.ahp-request-error{position:sticky;top:0;z-index:12;padding:10px 12px;border:1px solid #c76a43;background:#fff6f0;color:#852c11;border-radius:8px;font-size:12px;line-height:1.45;margin:10px 12px}

/* v2.1.0: pagos inicialmente plegados y consulta completa a Cardinal */
.ahp-cart-drawer .ahp-payment-accordion{border-top:1px solid #e2ebdc;margin-top:14px;min-width:0}
.ahp-cart-drawer .ahp-payment-accordion>summary{list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;padding:12px 1px;color:#36582f;font-size:11px;font-weight:850;letter-spacing:.025em}
.ahp-cart-drawer .ahp-payment-accordion>summary::-webkit-details-marker{display:none}
.ahp-cart-drawer .ahp-payment-accordion>summary small{display:block;margin-top:4px;font-weight:600;letter-spacing:0;font-size:11px;line-height:1.4;color:#748171}
.ahp-cart-drawer .ahp-payment-chevron{width:9px;height:9px;flex-shrink:0;border-right:2px solid #367b31;border-bottom:2px solid #367b31;transform:rotate(45deg);margin:0 4px 4px;transition:transform .15s}
.ahp-cart-drawer .ahp-payment-accordion[open] .ahp-payment-chevron{transform:rotate(225deg);margin-top:7px;margin-bottom:0}
.ahp-cart-drawer .ahp-payment-accordion>summary:focus-visible,.ahp-cart-drawer .ahp-location-details>summary:focus-visible{outline:2px solid #367b31;outline-offset:3px}
.ahp-cart-drawer .ahp-payment-accordion .ahp-payment-box{margin:0;padding:0;border:0;min-width:0}
.ahp-cart-drawer .ahp-payment-accordion-body{padding-bottom:4px}
.ahp-cart-drawer .ahp-location-details{font-size:11px;margin-top:9px}
.ahp-cart-drawer .ahp-location-details>summary{cursor:pointer;color:#387d31;font-weight:700;line-height:1.4}
.ahp-cart-drawer .ahp-location-fields{display:grid;grid-template-columns:1fr;gap:8px;padding:8px 0 3px}
.ahp-cart-drawer .ahp-location-fields label{font-size:11px;font-weight:700;color:#42583e;display:block}
.ahp-cart-drawer .ahp-location-fields input,.ahp-cart-drawer .ahp-location-fields select{width:100%;min-width:0;height:37px;box-sizing:border-box;border:1px solid #cfdacb;border-radius:8px;padding:0 9px;margin-top:4px;background:#fff;color:#263a27;font-size:12px}

/* Diagnóstico logístico, visible solo en sesión de administración. */
.ahp-rate-diagnostics { margin:12px 0 0; padding:10px 12px; border:1px solid #d5e2ce; border-radius:10px; background:#f7faf5; color:#244324; font-size:12px; }
.ahp-rate-diagnostics summary { cursor:pointer; font-weight:700; }
.ahp-rate-diagnostics ul { margin:8px 0 0; padding-left:18px; overflow-wrap:anywhere; }
.ahp-rate-diagnostics li { margin:6px 0; }
.ahp-rate-diagnostics code { font-size:11px; padding:1px 3px; color:#244324; }

.ahp-rate-diagnostics h4{font-size:12px;margin:12px 0 4px;color:#215b26}.ahp-rate-diagnostics li{overflow-wrap:anywhere}.ahp-payment-status{font-size:12px;line-height:1.5;margin:10px 0;padding:10px 11px;background:#f2f9f0;border:1px solid #cee5c9;border-radius:10px;color:#315b2c}.ahp-payment-status strong{font-weight:700}
