/*
Theme Name: AlmacenesDescuenton
Theme URI: https://almacenesdescuenton.com/
Author: AlmacenesDescuenton
Description: Tema personalizado para la tienda WooCommerce AlmacenesDescuenton.
Version: 0.2.0
Text Domain: almacenesdescuenton
Requires at least: 6.6
Requires PHP: 8.1
*/

:root{--ad-orange:#FF6A00;--ad-orange-dark:#e85f00;--ad-charcoal:#222222;--ad-white:#FFFFFF;--ad-gray-50:#F7F7F7;--ad-gray-100:#EFEFEF;--ad-gray-200:#E2E2E2;--ad-gray-600:#666;--ad-radius-sm:8px;--ad-radius-md:14px;--ad-radius-lg:22px;--ad-shadow-soft:0 10px 30px rgba(34,34,34,.08);--ad-container:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ad-charcoal);background:var(--ad-white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.ad-container{width:min(calc(100% - 32px),var(--ad-container));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ad-button,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.75rem 1.15rem;border:0;border-radius:var(--ad-radius-sm);background:var(--ad-orange);color:#fff;font-weight:800;cursor:pointer;transition:.2s ease}.ad-button:hover,button:hover,input[type=submit]:hover{background:var(--ad-orange-dark);transform:translateY(-1px)}.ad-button--outline{background:#fff;color:var(--ad-orange);border:2px solid var(--ad-orange)}.ad-button--outline:hover{color:#fff}:focus-visible{outline:3px solid rgba(255,106,0,.35);outline-offset:3px}

.ad-topbar{background:var(--ad-charcoal);color:#fff;font-size:.78rem}.ad-topbar__inner{min-height:34px;display:flex;align-items:center;gap:24px;justify-content:center}.ad-topbar__currency{margin-left:auto;font-weight:700}.site-header{background:#fff;border-bottom:1px solid var(--ad-gray-100);position:relative;z-index:20}.ad-header-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding-block:16px}.ad-wordmark{display:flex;align-items:center;gap:10px;min-width:max-content}.ad-wordmark__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--ad-orange);color:#fff;font-weight:900;letter-spacing:-1px}.ad-wordmark__text{display:flex;flex-direction:column;line-height:.92;font-size:1.28rem}.ad-wordmark__text strong{color:var(--ad-charcoal)}.ad-wordmark__text em{font-style:normal;color:var(--ad-orange);font-weight:900}.custom-logo{max-height:58px;width:auto}.ad-search{display:flex;max-width:650px;width:100%;justify-self:center;border:1px solid var(--ad-gray-200);border-radius:10px;overflow:hidden;background:#fff}.ad-search input{flex:1;border:0;padding:0 15px;min-width:0;font:inherit}.ad-search input:focus{outline:0}.ad-search button{border-radius:0;min-width:92px}.ad-header-actions{display:flex;align-items:center;gap:18px}.ad-header-action{display:flex;align-items:center;gap:8px;font-size:.8rem}.ad-header-action>span:first-child{font-size:1.35rem}.ad-header-action small,.ad-header-action strong{display:block}.ad-header-action small{color:var(--ad-gray-600)}.ad-mainnav-wrap{background:#fff;border-top:1px solid var(--ad-gray-100)}.ad-mainnav{display:flex;align-items:center;min-height:48px;gap:18px}.ad-menu-toggle{border-radius:0;background:var(--ad-orange);align-self:stretch;padding-inline:20px}.ad-primary-navigation{flex:1}.ad-primary-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0;font-size:.9rem;font-weight:700}.ad-primary-menu a:hover,.ad-track-link:hover{color:var(--ad-orange)}.ad-track-link{font-size:.85rem;font-weight:700;margin-left:auto}

.ad-hero{background:linear-gradient(135deg,#fff7f0 0%,#fff 48%,#fff0e4 100%);padding:26px 0}.ad-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:390px;border-radius:var(--ad-radius-lg);overflow:hidden;background:linear-gradient(105deg,#ff6a00 0%,#ff7c21 48%,#fff3e9 48.2%,#fff 100%);box-shadow:var(--ad-shadow-soft)}.ad-hero__content{padding:54px;color:#fff;display:flex;flex-direction:column;justify-content:center}.ad-eyebrow,.ad-kicker{font-size:.76rem;font-weight:900;letter-spacing:.08em}.ad-hero h1{font-size:clamp(2.2rem,4vw,4rem);line-height:.98;margin:.6rem 0 1rem;max-width:700px}.ad-hero h1 span{color:#fff3c8}.ad-hero p{max-width:590px;font-size:1.04rem;margin:0 0 1.25rem;opacity:.95}.ad-hero__actions{display:flex;gap:12px}.ad-hero__content .ad-button{background:#fff;color:var(--ad-orange)}.ad-hero__content .ad-button--outline{background:transparent;color:#fff;border-color:#fff}.ad-hero__proof{display:flex;gap:18px;margin-top:22px;font-size:.8rem;font-weight:700}.ad-hero__visual{position:relative;min-height:390px}.ad-hero__deal{position:absolute;right:34px;top:34px;width:128px;height:128px;border-radius:50%;background:#ffc400;color:#222;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3;box-shadow:var(--ad-shadow-soft);transform:rotate(5deg)}.ad-hero__deal strong,.ad-hero__deal span{font-size:.68rem}.ad-hero__deal b{font-size:2rem;line-height:1}.ad-hero__product{position:absolute;display:grid;place-items:center;background:#fff;border-radius:28px;box-shadow:0 18px 40px rgba(34,34,34,.12);font-size:4.2rem}.ad-hero__product--one{width:180px;height:180px;left:60px;top:90px;transform:rotate(-8deg)}.ad-hero__product--two{width:120px;height:120px;left:220px;top:190px;transform:rotate(8deg)}.ad-hero__product--three{width:150px;height:150px;right:70px;bottom:35px;transform:rotate(5deg)}.ad-hero__product--four{width:140px;height:110px;left:65px;bottom:28px;transform:rotate(8deg);font-size:3.4rem}

.ad-benefits{padding:16px 0}.ad-benefits__grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--ad-gray-100);border-radius:var(--ad-radius-md);background:#fff;box-shadow:0 7px 20px rgba(34,34,34,.04)}.ad-benefits article{display:flex;gap:12px;align-items:center;padding:18px 20px;border-right:1px solid var(--ad-gray-100)}.ad-benefits article:last-child{border-right:0}.ad-benefits article>span{font-size:1.5rem}.ad-benefits strong,.ad-benefits small{display:block}.ad-benefits small{color:var(--ad-gray-600);margin-top:2px}.ad-section{padding:54px 0}.ad-section--gray{background:var(--ad-gray-50)}.ad-section__heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.ad-section__heading h2{font-size:clamp(1.7rem,2.4vw,2.35rem);margin:.15rem 0 0}.ad-section__heading>a{font-weight:800;color:var(--ad-orange)}.ad-kicker{color:var(--ad-orange)}.ad-category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}.ad-category-card{background:#fff;border:1px solid var(--ad-gray-100);border-radius:16px;text-align:center;padding:20px 10px;transition:.2s ease}.ad-category-card:hover{transform:translateY(-4px);box-shadow:var(--ad-shadow-soft);border-color:#ffd3b4}.ad-category-card>span{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 12px;border-radius:50%;background:#fff4ec;font-size:2rem}.ad-category-card strong,.ad-category-card small{display:block}.ad-category-card small{color:var(--ad-gray-600);margin-top:3px}.ad-placeholder-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ad-product-card{position:relative;background:#fff;border:1px solid var(--ad-gray-100);border-radius:16px;padding:14px}.ad-product-card__image{height:190px;border-radius:12px;background:linear-gradient(135deg,#f6f6f6,#ececec);display:grid;place-items:center;color:#aaa}.ad-product-card h3{font-size:1rem;margin:14px 0 4px}.ad-product-card p{font-size:.84rem;color:var(--ad-gray-600);margin:0 0 10px}.ad-product-card>strong{display:block;font-size:1.15rem;margin-bottom:12px}.ad-sale-badge{position:absolute;left:22px;top:22px;background:var(--ad-orange);color:#fff;padding:4px 8px;border-radius:6px;font-size:.7rem;font-weight:800}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--ad-gray-100);border-radius:16px;padding:14px;overflow:hidden}.woocommerce ul.products li.product .button{width:100%;margin-top:10px}.woocommerce ul.products li.product .price{color:var(--ad-charcoal);font-weight:900}.ad-promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ad-promo-card{padding:30px;border-radius:18px;border:1px solid var(--ad-gray-100);background:#fff}.ad-promo-card--orange{background:linear-gradient(135deg,var(--ad-orange),#ff8a38);color:#fff}.ad-promo-card--dark{background:var(--ad-charcoal);color:#fff}.ad-promo-card span{font-size:.72rem;font-weight:900;letter-spacing:.08em}.ad-promo-card h3{font-size:1.65rem;line-height:1.1;margin:.5rem 0}.ad-promo-card p{opacity:.82}.ad-promo-card a{font-weight:900}.ad-trust-section{padding-top:30px}.ad-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.ad-trust-grid article{padding:24px;border:1px solid var(--ad-gray-100);border-radius:16px}.ad-trust-grid article>span{font-size:2rem}.ad-trust-grid h3{margin:.6rem 0 .3rem}.ad-trust-grid p{margin:0;color:var(--ad-gray-600)}.ad-newsletter{background:var(--ad-charcoal);color:#fff;padding:42px 0}.ad-newsletter__inner{display:grid;grid-template-columns:1fr .9fr;gap:36px;align-items:center}.ad-newsletter h2{margin:.2rem 0}.ad-newsletter p{margin:0;opacity:.78}.ad-newsletter__form{display:flex}.ad-newsletter__form input{flex:1;min-width:0;border:0;padding:0 16px;border-radius:10px 0 0 10px;font:inherit}.ad-newsletter__form button{border-radius:0 10px 10px 0}

.site-footer{background:#171717;color:#fff}.ad-footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:34px;padding:50px 0}.site-footer h3{font-size:.95rem;margin:0 0 12px}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:.42rem 0;color:#d3d3d3;font-size:.86rem}.site-footer li a:hover{color:var(--ad-orange)}.ad-footer-brand p{margin:.9rem 0 .35rem}.ad-footer-brand small,.site-footer small{color:#aaa}.ad-wordmark--footer .ad-wordmark__text strong{color:#fff}.ad-payment-badges{display:flex;flex-wrap:wrap;gap:6px}.ad-payment-badges span{background:#fff;color:#222;border-radius:6px;padding:5px 7px;font-size:.7rem;font-weight:900}.ad-footer-bottom{border-top:1px solid #333;padding:16px 0;color:#aaa;font-size:.78rem}.ad-footer-bottom .ad-container{display:flex;justify-content:space-between;gap:20px}

@media(max-width:1050px){.ad-header-main{grid-template-columns:1fr auto}.ad-search{grid-column:1/-1;grid-row:2}.ad-category-grid{grid-template-columns:repeat(4,1fr)}.ad-benefits__grid,.ad-trust-grid{grid-template-columns:repeat(2,1fr)}.ad-benefits article:nth-child(2){border-right:0}.ad-footer-grid{grid-template-columns:repeat(3,1fr)}.ad-footer-brand{grid-column:1/-1}.ad-hero__product--three{display:none}}
@media(max-width:760px){.ad-topbar__inner{justify-content:flex-start;overflow:auto;white-space:nowrap}.ad-topbar__currency{margin-left:0}.ad-header-main{grid-template-columns:1fr}.ad-header-actions{justify-content:space-between}.ad-search{grid-column:auto;grid-row:auto}.ad-mainnav{flex-wrap:wrap}.ad-menu-toggle{width:100%;justify-content:flex-start}.ad-primary-navigation{display:none;width:100%}.ad-primary-navigation.is-open{display:block}.ad-primary-menu{flex-direction:column;align-items:flex-start;padding:12px 0}.ad-track-link{margin-left:0;padding-bottom:12px}.ad-hero__grid{grid-template-columns:1fr;background:linear-gradient(135deg,var(--ad-orange),#ff8531)}.ad-hero__content{padding:34px 26px}.ad-hero__visual{display:none}.ad-hero__proof{flex-direction:column;gap:6px}.ad-benefits__grid,.ad-placeholder-products,.ad-promo-grid,.ad-trust-grid,.ad-newsletter__inner{grid-template-columns:1fr}.ad-benefits article{border-right:0;border-bottom:1px solid var(--ad-gray-100)}.ad-benefits article:last-child{border-bottom:0}.ad-category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.ad-footer-grid{grid-template-columns:repeat(2,1fr)}.ad-footer-brand{grid-column:1/-1}.ad-footer-bottom .ad-container{flex-direction:column}.ad-newsletter__form{flex-direction:column;gap:8px}.ad-newsletter__form input,.ad-newsletter__form button{border-radius:10px;min-height:48px}.ad-section{padding:40px 0}}
@media(max-width:480px){.woocommerce ul.products{grid-template-columns:1fr!important}.ad-footer-grid{grid-template-columns:1fr}.ad-header-actions{gap:8px}.ad-header-action small{display:none}.ad-wordmark__text{font-size:1.05rem}.ad-wordmark__icon{width:42px;height:42px}.ad-section__heading{align-items:flex-start;flex-direction:column}.ad-category-grid{gap:10px}}
