/* v1.5.0: carga estable, sin flash de contenido sin estilos. */
.atp-shop{min-height:1px}
.atp-hero{contain:layout paint}
.atp-hero-products{position:relative;overflow:hidden}
.atp-hero-product{color:transparent}
.atp-carousel:not(.is-ready) .atp-carousel-arrow,
.atp-carousel:not(.is-ready) .atp-carousel-dots{visibility:hidden}
.atp-carousel:not(.is-ready) .atp-carousel-track{transition:none}
:root{--atp-green:#4f8f2f;--atp-green-dark:#28591e;--atp-text:#12231c;--atp-muted:#68736d;--atp-line:#e4e9e5;--atp-soft:#f6f8f5;--atp-radius:16px;--atp-shadow:0 12px 30px rgba(23,48,30,.08)}
.atp-shop{max-width:1480px;margin:0 auto;padding:20px 24px 64px;color:var(--atp-text);font-family:inherit}.atp-shop *{box-sizing:border-box}.atp-section{margin-top:38px}.atp-section-title{text-align:center;font-size:clamp(25px,2.2vw,36px);line-height:1.2;margin:0 0 24px;color:var(--atp-text)}
.atp-hero{min-height:330px;border:1px solid var(--atp-line);border-radius:24px;background:linear-gradient(120deg,#fff 0%,#fbfcfb 60%,#f3f7f0 100%);display:grid;grid-template-columns:minmax(380px,.9fr) minmax(560px,1.3fr);align-items:center;overflow:hidden;padding:34px 48px;box-shadow:0 16px 44px rgba(30,60,35,.06)}.atp-hero-copy{position:relative;z-index:2}.atp-hero h1{font-size:clamp(38px,3.45vw,58px);letter-spacing:-.04em;line-height:1.02;margin:0 0 15px;max-width:610px}.atp-hero p{font-size:17px;line-height:1.58;color:var(--atp-muted);max-width:600px;margin:0 0 22px}.atp-hero-actions{display:flex;flex-wrap:wrap;gap:14px}.atp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;text-decoration:none!important;font-weight:700;border:1px solid transparent;transition:.2s ease}.atp-btn-primary,.atp-btn-small{background:linear-gradient(180deg,#5da63a,#3f7d27);color:#fff!important;box-shadow:0 8px 18px rgba(71,139,43,.2)}.atp-btn-secondary{background:#fff;color:var(--atp-green-dark)!important;border-color:#8eb77d}.atp-btn-small{min-height:40px;padding:0 16px;font-size:14px}.atp-hero-products{height:255px;display:flex;align-items:center;justify-content:center;min-width:0}.atp-hero-composite{display:block;width:94%;height:94%;object-fit:contain;filter:drop-shadow(0 14px 13px rgba(25,50,30,.11));mix-blend-mode:normal}
.atp-carousel{position:relative;padding:0 42px}.atp-carousel-viewport{overflow:hidden;padding:5px}.atp-carousel-track{display:flex;gap:18px;transition:transform .42s cubic-bezier(.22,.61,.36,1);will-change:transform}.atp-carousel-item{flex:0 0 calc((100% - (var(--items,5) - 1)*18px)/var(--items,5))}.atp-carousel[data-desktop-items="5"]{--items:5}.atp-carousel[data-desktop-items="3"]{--items:3}.atp-carousel-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid var(--atp-line);background:#fff;color:var(--atp-text);font-size:32px;line-height:1;display:grid;place-items:center;box-shadow:var(--atp-shadow);cursor:pointer}.atp-carousel-arrow:disabled{opacity:.28;cursor:default}.atp-carousel-prev{left:0}.atp-carousel-next{right:0}.atp-carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:16px}.atp-carousel-dots button{width:9px;height:9px;border:0;border-radius:50%;background:#cfd5d0;padding:0}.atp-carousel-dots button.is-active{background:var(--atp-green)}
.atp-category-card{height:320px;position:relative;overflow:hidden;border-radius:14px;background:#222;box-shadow:var(--atp-shadow)}.atp-category-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.atp-category-card:hover img{transform:scale(1.04)}.atp-category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 30%,rgba(0,0,0,.82) 100%)}.atp-category-overlay{position:absolute;z-index:2;left:16px;right:16px;bottom:18px;text-align:center;color:#fff}.atp-category-overlay h3{font-size:20px;line-height:1.15;margin:0 0 12px;color:#fff}.atp-category-overlay a{display:inline-flex;background:#fff;color:var(--atp-green-dark);text-decoration:none;border-radius:7px;padding:9px 15px;font-weight:700;font-size:14px}
.atp-promo-card{height:205px;min-height:205px;border:1px solid var(--atp-line);border-radius:14px;background:#fff;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(145px,.65fr);align-items:center;overflow:hidden;padding:17px 20px;box-shadow:0 6px 18px rgba(23,48,30,.05)}.atp-promo-content{min-width:0}.atp-promo-content h3{font-size:20px;line-height:1.15;margin:8px 0 5px}.atp-promo-content p{color:var(--atp-muted);margin:0 0 8px;min-height:0;font-size:13px;line-height:1.35}.atp-promo-price{font-size:20px;font-weight:800;color:var(--atp-green-dark);margin-bottom:10px;white-space:nowrap}.atp-promo-price del{font-size:13px;color:#8a938e;margin-right:8px}.atp-promo-price ins{text-decoration:none}.atp-promo-image{height:100%;display:flex;align-items:center;justify-content:center;min-width:0}.atp-promo-image img{width:100%;height:165px;object-fit:contain}.atp-badge{display:inline-flex;align-items:center;background:var(--atp-green);color:#fff;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:800}.atp-badge-shipping{background:#397f35}
.atp-catalog-toolbar{display:grid;grid-template-columns:1fr minmax(230px,360px) minmax(210px,260px) auto;align-items:center;gap:14px;margin-bottom:18px}.atp-results-count{color:var(--atp-muted);font-size:15px}.atp-search-box,.atp-sort-box{display:flex;align-items:center;border:1px solid var(--atp-line);border-radius:9px;background:#fff;min-height:48px}.atp-search-box input,.atp-sort-box select{width:100%;height:46px;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 14px!important}.atp-search-box span:last-child{padding-right:15px;font-size:25px}.atp-mobile-filter-toggle{display:none;min-height:48px;border:1px solid var(--atp-line);border-radius:9px;background:#fff;padding:0 17px;font-weight:700}.atp-catalog-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.atp-filters{position:sticky;top:105px;border:1px solid var(--atp-line);border-radius:14px;background:#fff;overflow:hidden}.atp-filter-mobile-head{display:none}.atp-filter-form details{border-bottom:1px solid var(--atp-line)}.atp-filter-form summary{list-style:none;cursor:pointer;font-weight:800;padding:18px 18px;display:flex;justify-content:space-between}.atp-filter-form summary::-webkit-details-marker{display:none}.atp-filter-form summary:after{content:"⌄"}.atp-filter-options{max-height:250px;overflow:auto;padding:0 18px 16px}.atp-filter-options label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:7px 0;font-size:14px}.atp-filter-options input{accent-color:var(--atp-green)}.atp-filter-options small{color:#8b948e}.atp-price-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 18px 18px}.atp-price-filter label{font-size:12px;color:var(--atp-muted)}.atp-price-filter input{width:100%;margin-top:5px;border:1px solid var(--atp-line);border-radius:7px;padding:9px}.atp-filter-actions{padding:16px;display:grid;gap:10px}.atp-clear-filters,.atp-apply-mobile{min-height:42px;border:1px solid var(--atp-line);border-radius:8px;background:#fff;font-weight:700}.atp-apply-mobile{display:none;background:var(--atp-green);color:#fff}.atp-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;transition:opacity .2s}.atp-products-grid.is-loading{opacity:.45}.atp-product-card{position:relative;border:1px solid var(--atp-line);border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}.atp-product-badges{position:absolute;z-index:3;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:5px}.atp-product-image{display:block;height:250px;padding:18px;background:#fff}.atp-product-image img{width:100%;height:100%;object-fit:contain}.atp-product-body{padding:0 18px 18px;display:flex;flex-direction:column;flex:1;text-align:center}.atp-product-body h3{font-size:17px;line-height:1.3;margin:0 0 8px;min-height:44px}.atp-product-body h3 a{color:var(--atp-text);text-decoration:none}.atp-product-meta{font-size:13px;color:var(--atp-muted);min-height:20px;margin-bottom:10px}.atp-product-price{font-size:20px;font-weight:800;color:var(--atp-green-dark);margin:4px 0 16px}.atp-product-price del{font-size:13px;color:#909994;margin-right:6px}.atp-product-price ins{text-decoration:none}.atp-product-button{margin-top:auto!important;display:flex!important;align-items:center;justify-content:center!important;min-height:46px!important;border-radius:8px!important;background:linear-gradient(180deg,#5da63a,#3f7d27)!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;padding:0 10px!important}.atp-no-products{grid-column:1/-1;padding:60px 20px;text-align:center;border:1px dashed var(--atp-line);border-radius:14px;color:var(--atp-muted)}.atp-pagination nav{display:flex;justify-content:center;gap:8px;margin-top:24px}.atp-pagination button{min-width:40px;height:40px;border:1px solid var(--atp-line);border-radius:8px;background:#fff}.atp-pagination button.is-active{background:var(--atp-green);color:#fff;border-color:var(--atp-green)}
.atp-advisor{margin-top:32px;border:1px solid #dfe9d8;border-radius:14px;background:linear-gradient(90deg,#f4f8ef,#fff);padding:22px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.atp-advisor>div{display:flex;align-items:center;gap:18px}.atp-advisor-icon{width:56px;height:56px;border-radius:50%;background:var(--atp-green);color:#fff;display:grid;place-items:center;font-size:28px}.atp-advisor h2{margin:0 0 4px;font-size:24px}.atp-advisor p{margin:0;color:var(--atp-muted)}.atp-faq{margin-top:26px}.atp-faq h2{font-size:24px;margin-bottom:12px}.atp-faq details{border:1px solid var(--atp-line);border-radius:8px;margin-bottom:7px;background:#fff}.atp-faq summary{cursor:pointer;padding:14px 16px;font-weight:700}.atp-faq p{padding:0 16px 16px;color:var(--atp-muted);margin:0}.atp-empty{text-align:center;color:var(--atp-muted)}
@media(max-width:1200px){.atp-hero{grid-template-columns:1fr 1.15fr;padding:30px 34px;min-height:310px}.atp-hero-products{height:230px}.atp-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.atp-carousel[data-desktop-items="5"],.atp-carousel[data-desktop-items="3"]{--items:3}.atp-promo-carousel{--items:2!important}}
@media(max-width:900px){.atp-shop{padding:16px 16px 50px}.atp-hero{grid-template-columns:1fr;min-height:auto;padding:30px}.atp-hero-products{height:240px;margin-top:8px}.atp-catalog-toolbar{grid-template-columns:1fr 1fr}.atp-results-count{grid-column:1/-1}.atp-mobile-filter-toggle{display:block}.atp-catalog-layout{grid-template-columns:1fr}.atp-filters{position:fixed;z-index:99999;left:0;top:0;bottom:0;width:min(92vw,380px);border-radius:0;transform:translateX(-105%);transition:transform .25s;overflow:auto}.atp-filters.is-open{transform:translateX(0)}.atp-filter-backdrop{position:fixed;z-index:99998;inset:0;background:rgba(0,0,0,.45)}.atp-filter-mobile-head{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--atp-line);font-size:19px}.atp-filter-close{border:0;background:transparent;font-size:30px}.atp-apply-mobile{display:block}.atp-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atp-advisor{align-items:flex-start;flex-direction:column}.atp-carousel[data-desktop-items="5"],.atp-carousel[data-desktop-items="3"]{--items:3}.atp-promo-carousel{--items:2!important}}
@media(max-width:640px){.atp-shop{padding-inline:10px}.atp-hero{padding:27px 22px;border-radius:18px}.atp-hero h1{font-size:38px}.atp-hero p{font-size:16px}.atp-hero-actions{display:grid}.atp-hero-products{height:190px}.atp-hero-composite{width:112%;max-width:none}.atp-carousel{padding:0 30px}.atp-carousel[data-desktop-items="5"],.atp-carousel[data-desktop-items="3"],.atp-promo-carousel{--items:1!important}.atp-category-card{height:360px}.atp-promo-card{grid-template-columns:1.15fr .85fr;height:215px;min-height:215px;padding:16px}.atp-promo-image img{height:155px}.atp-catalog-toolbar{grid-template-columns:1fr}.atp-products-grid{grid-template-columns:1fr 1fr;gap:10px}.atp-product-image{height:180px;padding:10px}.atp-product-body{padding:0 10px 12px}.atp-product-body h3{font-size:14px}.atp-product-price{font-size:16px}.atp-product-button{font-size:12px!important;min-height:42px!important}.atp-advisor{padding:20px}.atp-advisor>div{align-items:flex-start}.atp-advisor-icon{width:44px;height:44px;flex:0 0 auto}.atp-advisor h2{font-size:20px}}

/* v1.2.0: carruseles, categorías compactas, paginación y jerarquía de filtros */
.atp-carousel-arrow{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--atp-green-dark)!important;
  font-size:44px!important;
  font-weight:500!important;
  line-height:1!important;
  text-shadow:0 2px 10px rgba(25,55,35,.18);
}
.atp-carousel-arrow:hover{color:var(--atp-green)!important;transform:translateY(-50%) scale(1.08)}
.atp-carousel-arrow[hidden]{display:none!important}
.atp-category-card{height:270px}
.atp-category-overlay{bottom:14px}
.atp-category-overlay h3{font-size:18px;margin-bottom:10px}
.atp-category-overlay a{padding:8px 14px;font-size:13px}
.atp-pagination nav{align-items:center;flex-wrap:wrap}
.atp-pagination button,
.atp-pagination button:not(.is-active){
  appearance:none!important;
  -webkit-appearance:none!important;
  color:var(--atp-text)!important;
  background:#fff!important;
  border:1px solid #cfd8d1!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1!important;
  opacity:1!important;
  text-indent:0!important;
  box-shadow:0 2px 8px rgba(20,45,28,.05)!important;
}
.atp-pagination button:hover{border-color:var(--atp-green)!important;color:var(--atp-green-dark)!important}
.atp-pagination button.is-active{
  color:#fff!important;
  background:var(--atp-green)!important;
  border-color:var(--atp-green)!important;
}
.atp-category-options{max-height:440px}
.atp-category-filter-node{display:block}
.atp-category-filter-node>label{position:relative}
.atp-category-filter-node.has-children>label span{font-weight:800}
.atp-category-filter-children{border-left:1px solid #dfe6e0;margin-left:8px;padding-left:8px}
.atp-category-depth-1>label{padding-left:8px}
.atp-category-depth-2>label{padding-left:16px}
.atp-category-depth-3>label{padding-left:24px}
.atp-category-depth-4>label{padding-left:32px}
.atp-category-depth-5>label,.atp-category-depth-6>label{padding-left:40px}
@media(max-width:640px){.atp-category-card{height:290px}.atp-carousel-arrow{font-size:38px!important}}

/* Category archive mode: only filters + matching products. */
.atp-shop.atp-category-archive{padding-top:8px}
.atp-shop.atp-category-archive .atp-catalog-section{margin-top:8px}
.atp-shop.atp-category-archive .atp-section-title{margin-bottom:20px}


/* v1.3.1: navegación clara desde archivos de categoría. */
.atp-category-navigation{display:flex;align-items:center;margin:0 0 14px}
.atp-back-to-shop{display:inline-flex;align-items:center;gap:8px;color:var(--atp-green-dark)!important;text-decoration:none!important;font-size:15px;font-weight:800;line-height:1.2;padding:8px 0;transition:color .2s ease,transform .2s ease}
.atp-back-to-shop:hover{color:var(--atp-green)!important;transform:translateX(-2px)}
.atp-shop.atp-category-archive .atp-category-navigation+.atp-section-title{margin-top:0}
@media(max-width:640px){.atp-category-navigation{margin-bottom:10px}.atp-back-to-shop{font-size:14px}}


/* v1.3.2: títulos de secciones alineados a la izquierda con línea verde sutil. */
.atp-shop:not(.atp-category-archive) .atp-section-title{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  text-align:left;
  font-size:clamp(24px,2vw,31px);
  line-height:1.15;
  letter-spacing:-.025em;
  margin:0 0 18px;
}
.atp-shop:not(.atp-category-archive) .atp-section-title::after{
  content:"";
  flex:1 1 auto;
  height:1px;
  min-width:40px;
  background:rgba(79,143,47,.72);
}
@media(max-width:640px){
  .atp-shop:not(.atp-category-archive) .atp-section-title{
    gap:10px;
    font-size:23px;
    margin-bottom:15px;
  }
}


/* v1.3.3: fondo blanco real para imágenes transparentes y optimización exclusiva para teléfonos. */
.atp-category-card,
.atp-category-card img{
  background-color:#fff;
}

@media(max-width:640px){
  .atp-shop{
    padding:12px 14px 42px;
    overflow-x:hidden;
  }

  .atp-section{
    margin-top:28px;
  }

  .atp-shop:not(.atp-category-archive) .atp-section-title{
    gap:9px;
    font-size:21px;
    line-height:1.12;
    letter-spacing:-.02em;
    margin-bottom:14px;
    white-space:nowrap;
  }

  .atp-shop:not(.atp-category-archive) .atp-section-title::after{
    min-width:24px;
  }

  .atp-hero{
    padding:22px 18px;
    gap:12px;
  }

  .atp-hero h1{
    font-size:31px;
    line-height:1.04;
    margin-bottom:12px;
  }

  .atp-hero p{
    font-size:15px;
    line-height:1.48;
    margin-bottom:16px;
  }

  .atp-hero-actions{
    gap:9px;
  }

  .atp-btn{
    min-height:44px;
    padding:0 16px;
    font-size:14px;
  }

  .atp-hero-products{
    height:150px;
    margin-top:2px;
  }

  .atp-hero-composite{
    width:100%;
    max-width:100%;
  }

  .atp-carousel{
    padding:0 22px;
  }

  .atp-carousel-viewport{
    padding:3px;
  }

  .atp-carousel-track{
    gap:12px;
  }

  .atp-carousel-item{
    flex-basis:100%;
  }

  .atp-carousel-arrow{
    padding:3px!important;
    font-size:34px!important;
  }

  .atp-carousel-prev{left:-2px}
  .atp-carousel-next{right:-2px}

  .atp-category-card{
    height:250px;
    border-radius:12px;
  }

  .atp-category-card img{
    object-fit:contain;
  }

  .atp-category-card:after{
    background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.78) 100%);
  }

  .atp-category-overlay{
    left:12px;
    right:12px;
    bottom:13px;
  }

  .atp-category-overlay h3{
    font-size:18px;
    margin-bottom:9px;
  }

  .atp-carousel-dots{
    margin-top:12px;
  }

  .atp-promo-card{
    height:auto;
    min-height:190px;
    grid-template-columns:minmax(0,1fr) 118px;
    gap:8px;
    padding:16px;
    border-radius:13px;
  }

  .atp-promo-content h3{
    font-size:18px;
    line-height:1.15;
    margin:7px 0 7px;
  }

  .atp-promo-content p{
    font-size:12px;
    margin-bottom:7px;
  }

  .atp-promo-price{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    white-space:normal;
    font-size:21px;
    line-height:1.05;
    margin-bottom:10px;
  }

  .atp-promo-price del{
    margin-right:0;
    font-size:13px;
  }

  .atp-promo-image img{
    width:118px;
    height:132px;
    max-width:100%;
  }

  .atp-promo-card .atp-btn-small{
    min-height:39px;
    padding:0 14px;
    font-size:13px;
  }

  .atp-catalog-toolbar{
    gap:10px;
    margin-bottom:14px;
  }

  .atp-results-count{
    font-size:14px;
  }

  .atp-search-box,
  .atp-sort-box,
  .atp-mobile-filter-toggle{
    min-height:50px;
    border-radius:10px;
  }

  .atp-mobile-filter-toggle{
    width:100%;
    background:var(--atp-green-dark);
    border-color:var(--atp-green-dark);
    color:#fff;
    font-size:16px;
  }

  .atp-products-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .atp-product-card{
    border-radius:13px;
  }

  .atp-product-image{
    height:250px;
    padding:16px;
  }

  .atp-product-body{
    padding:0 16px 16px;
  }

  .atp-product-body h3{
    min-height:0;
    font-size:17px;
  }

  .atp-product-price{
    font-size:20px;
  }

  .atp-product-button{
    min-height:46px!important;
    font-size:14px!important;
  }

  .atp-advisor{
    margin-top:24px;
    padding:18px;
  }
}

/* v1.3.4: tarjetas de categorías con imagen separada del título. */
.atp-category-card{
  height:270px;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  background:#fff;
  border:1px solid var(--atp-line);
  box-shadow:0 6px 18px rgba(23,48,30,.05);
}
.atp-category-card img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:contain;
  object-position:center top;
  padding:8px 8px 0;
  background:#fff;
}
.atp-category-card:hover img{
  transform:scale(1.025);
}
.atp-category-card:after{
  display:none;
}
.atp-category-overlay{
  position:relative;
  z-index:2;
  left:auto;
  right:auto;
  bottom:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  padding:6px 12px 12px;
  text-align:center;
  color:var(--atp-text);
  background:#fff;
}
.atp-category-overlay h3{
  margin:0;
  min-height:21px;
  color:var(--atp-text);
  font-size:17px;
  line-height:1.2;
}
.atp-category-overlay a{
  padding:8px 14px;
  color:var(--atp-green-dark);
  border:1px solid rgba(79,143,47,.72);
  background:#fff;
}

@media(max-width:640px){
  .atp-category-card{
    height:230px;
  }
  .atp-category-card img{
    padding:6px 6px 0;
    object-position:center top;
  }
  .atp-category-overlay{
    gap:7px;
    padding:5px 8px 10px;
  }
  .atp-category-overlay h3{
    min-height:18px;
    font-size:14px;
  }
  .atp-category-overlay a{
    padding:7px 10px;
    font-size:12px;
  }
}

/* v1.3.6: imágenes del hero administrables desde WooCommerce > Amnesia Tienda. */
.atp-hero-products{
  position:relative;
  isolation:isolate;
  overflow:visible;
}
.atp-hero-product{
  position:absolute;
  display:block;
  max-width:none;
  object-fit:contain;
  background:transparent!important;
  filter:drop-shadow(0 14px 13px rgba(25,50,30,.11));
  pointer-events:none;
}
.atp-hero-product-left{
  width:34%;
  height:58%;
  left:1%;
  top:27%;
}
.atp-hero-product-center{
  width:43%;
  height:82%;
  left:29%;
  top:5%;
}
.atp-hero-product-right{
  width:35%;
  height:72%;
  right:0;
  top:18%;
}
@media(max-width:1200px){
  .atp-hero-product-left{width:35%;left:0;top:29%}
  .atp-hero-product-center{width:45%;left:27%;top:5%}
  .atp-hero-product-right{width:36%;right:-1%;top:19%}
}
@media(max-width:900px){
  .atp-hero-products{overflow:hidden}
  .atp-hero-product-left{width:34%;height:55%;left:0;top:31%}
  .atp-hero-product-center{width:44%;height:78%;left:28%;top:7%}
  .atp-hero-product-right{width:34%;height:66%;right:0;top:21%}
}
@media(max-width:640px){
  .atp-hero-products{height:145px}
  .atp-hero-product-left{width:36%;height:52%;left:-1%;top:32%}
  .atp-hero-product-center{width:46%;height:76%;left:27%;top:7%}
  .atp-hero-product-right{width:36%;height:62%;right:-1%;top:23%}
}

/* v1.3.7: configuración individual de posición y tamaño del hero. */
.atp-hero-product{
  width:var(--atp-size)!important;
  height:auto!important;
  left:var(--atp-x)!important;
  right:auto!important;
  top:var(--atp-y)!important;
  max-height:none!important;
  object-position:center center;
}
@media(max-width:900px){
  .atp-hero-product{max-height:none!important}
}
@media(max-width:640px){
  .atp-hero-product{max-height:none!important}
}

/* v1.3.9: el tamaño configurable no queda limitado por una altura máxima. */
.atp-hero-products{contain:layout paint;}
.atp-hero-product{max-height:none!important;}


/* v1.4.0: el lienzo público del banner replica la escala de la vista previa. */
.atp-hero-products{
  width:100%;
  max-width:620px;
  height:auto!important;
  aspect-ratio:620 / 235;
  justify-self:center;
  contain:none!important;
  overflow:visible!important;
}
.atp-hero-product{
  max-width:none!important;
  max-height:none!important;
}
@media(max-width:1200px){
  .atp-hero-products{max-width:560px}
}
@media(max-width:900px){
  .atp-hero-products{width:min(100%,620px);max-width:620px;aspect-ratio:620 / 235;overflow:visible!important}
}
@media(max-width:640px){
  .atp-hero-products{width:100%;max-width:520px;height:auto!important;aspect-ratio:520 / 185;overflow:visible!important}
}

/* v1.6.0: diseño de tarjetas unificado con Amnesia Inicio Pro.
   No altera columnas, anchos, alturas ni cantidad de productos. */
.atp-product-card{
  transform:translateZ(0);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
  will-change:transform;
}
.atp-product-card .atp-product-image{
  position:relative;
  border-bottom:1px solid #e6ebe4;
}
.atp-product-card .atp-product-body h3{
  position:relative;
  width:100%;
  margin-bottom:10px;
  padding-bottom:11px;
  border-bottom:1px solid #edf1eb;
  text-align:center;
}
.atp-product-card .atp-product-body h3 a{
  display:block;
  width:100%;
  text-align:center;
}
.atp-product-card .atp-product-meta{
  text-align:center;
}
.atp-product-card .atp-product-price{
  width:100%;
  min-height:46px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.25;
}
.atp-product-card .atp-product-price del,
.atp-product-card .atp-product-price del .woocommerce-Price-amount,
.atp-product-card .atp-product-price del .woocommerce-Price-currencySymbol{
  color:#b84a4a!important;
}
.atp-product-card .atp-product-price ins{
  text-decoration:none;
}
.atp-product-card .atp-product-badges{
  top:10px;
  left:10px;
  gap:5px;
}
.atp-product-card .atp-badge{
  min-height:25px;
  padding:4px 8px;
  border-radius:6px;
  font-size:11px;
  line-height:1;
  box-shadow:0 4px 10px rgba(40,89,30,.18);
}
@media(hover:hover) and (pointer:fine){
  .atp-product-card:hover{
    z-index:4;
    transform:translateY(-4px) scale(1.015);
    border-color:rgba(79,143,47,.42);
    box-shadow:0 15px 28px rgba(18,35,28,.10),0 12px 24px -12px rgba(79,143,47,.75);
  }
}
