/*
Theme Name: NaturaVida
Theme URI: https://example.com/
Author: NaturaVida
Description: Tema para catálogo de suplementos naturales — categorías de productos, páginas de producto, blog informativo y páginas de servicio (basado en el mockup de NaturaVida).
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: naturavida
*/

:root{
  --green-dark:#1F4D3A;
  --green-darker:#163829;
  --beige:#F3ECDD;
  --white:#FFFFFF;
  --accent:#B5432F;
  --text:#1D2A22;
  --text-soft:#4B5A50;
  --border:#E4D9C2;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --container:1240px;
  --font-head:'Mulish', sans-serif;
  --font-body:'Inter', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:clip;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  line-height:1.55;
  overflow-x:hidden;
  width:100%;
}
h1,h2,h3{
  font-family:var(--font-head);
  color:var(--green-dark);
  margin:0;
  line-height:1.15;
}
a{color:inherit;text-decoration:none;}
img,svg{display:block;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:2px;
}

/* ---------- HEADER ---------- */
header{
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:999;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 24px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.35rem;
  color:var(--green-dark);
  flex-shrink:0;
}
.logo svg{width:34px;height:34px;}
.logo img{max-height:44px;width:auto;}
.custom-logo-link{display:flex;align-items:center;}

nav.main-nav{flex:1;display:flex;justify-content:center;}
.nav-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.nav-list > li{position:relative;}
.nav-list > li > a{
  display:block;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  color:var(--green-darker);
  transition:background .15s ease;
  white-space:nowrap;
}
.nav-list > li > a:hover{background:var(--beige);}

.has-dropdown{position:relative;}
.dropdown{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(6px);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:0 12px 28px rgba(31,77,58,0.12);
  min-width:230px;
  padding:10px;
  opacity:0;
  visibility:hidden;
  transition:opacity .15s ease, transform .15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.dropdown a{
  display:block;
  padding:9px 12px;
  border-radius:var(--radius-sm);
  font-size:0.92rem;
  color:var(--text);
}
.dropdown a:hover{background:var(--beige);}

.header-cta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
  position:relative;
}
.icon-btn{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  color:var(--green-dark);
}
.icon-btn:hover{background:var(--beige);}

.search-popover{
  position:absolute;
  top:56px;
  right:0;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:12px;
  box-shadow:0 12px 28px rgba(31,77,58,0.12);
  display:none;
  z-index:60;
}
#search-toggle:checked ~ .search-popover{display:block;}
.search-popover .search-form{display:flex;gap:6px;}
.search-popover input[type="search"]{
  padding:9px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  width:220px;
  font-family:inherit;
}
.search-popover input[type="submit"]{
  padding:9px 16px;
  border:none;
  border-radius:999px;
  background:var(--green-dark);
  color:var(--white);
  font-weight:700;
}

.burger{display:none;}

/* ---------- HERO ---------- */
.hero-section{
  background:var(--white);
  padding:32px 0 40px;
}
.hero-slider{
  position:relative;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.hero-track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  border-radius:var(--radius-lg);
}
.hero-track::-webkit-scrollbar{display:none;}
.hero-slide{
  scroll-snap-align:start;
  flex:0 0 100%;
  min-height:340px;
  border-radius:var(--radius-lg);
  background:linear-gradient(120deg, var(--green-dark), var(--green-darker));
  display:flex;
  align-items:center;
  padding:40px 56px;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.hero-slide.alt{background:linear-gradient(120deg,#2B5F49,#1F4D3A);}
.hero-slide.alt2{background:linear-gradient(120deg,#3A6B54,#234f3c);}
.hero-copy{max-width:480px;position:relative;z-index:2;}
.hero-slide h1{
  color:var(--white);
  font-size:2.4rem;
  font-weight:800;
  letter-spacing:-0.01em;
  margin-bottom:14px;
}
.hero-slide .hero-subtitle{
  color:var(--white);
  font-family:var(--font-head);
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:12px;
}
.hero-slide p{
  font-size:1.02rem;
  opacity:.92;
  margin:0 0 22px;
}
.hero-cta{
  display:inline-block;
  background:var(--white);
  color:var(--green-dark);
  font-weight:700;
  padding:12px 26px;
  border-radius:999px;
  font-size:0.95rem;
}
.hero-cta:hover{background:var(--beige);}
.hero-placeholder-shape{
  position:absolute;
  right:-40px;
  top:-40px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
}

.hero-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}
.hero-dots a{
  width:9px;height:9px;
  border-radius:50%;
  background:var(--border);
  display:block;
}
.hero-dots a.active{background:var(--green-dark);width:22px;border-radius:6px;}

/* ---------- SECTION HEADINGS ---------- */
.section{padding:52px 0;}
.section.tinted{background:var(--beige);}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:28px;
  gap:16px;
}
.section-head h2{font-size:1.7rem;font-weight:800;}
.section-head p{color:var(--text-soft);margin-top:6px;font-size:0.98rem;}
.see-all{
  font-weight:600;
  font-size:0.92rem;
  color:var(--green-dark);
  border-bottom:2px solid var(--green-dark);
  padding-bottom:2px;
  white-space:nowrap;
}

/* ---------- DEALS RIBBON ---------- */
.deals{
  background:var(--accent);
  color:var(--white);
  padding:26px 0;
}
.deals .section-head h2,
.deals .section-head p{color:var(--white);}
.deals .see-all{color:var(--white);border-color:var(--white);}
.deals-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:4px;
}
.deals-track::-webkit-scrollbar{display:none;}
.deal-card{
  flex:0 0 220px;
  background:var(--white);
  border-radius:var(--radius-md);
  padding:14px;
  color:var(--text);
}
.deal-thumb{
  width:100%;height:130px;
  border-radius:var(--radius-sm);
  background:#EADFCB;
  display:flex;align-items:center;justify-content:center;
  color:var(--text-soft);
  font-size:.82rem;
  margin-bottom:10px;
}
.badge-off{
  display:inline-block;
  background:var(--accent);
  color:var(--white);
  font-size:.75rem;
  font-weight:700;
  padding:3px 9px;
  border-radius:999px;
  margin-bottom:8px;
}
.deal-card h3{font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:4px;}
.price-row{display:flex;align-items:baseline;gap:8px;margin-top:6px;flex-wrap:wrap;}
.price-now{font-weight:800;color:var(--green-dark);font-size:1.05rem;font-family:var(--font-head);}
.price-old{font-size:.85rem;color:var(--text-soft);text-decoration:line-through;}

/* ---------- TRUST PANEL ---------- */
.trust-panel{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.trust-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.trust-item .icon-wrap{
  width:46px;height:46px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--beige);
  display:flex;align-items:center;justify-content:center;
  color:var(--green-dark);
}
.trust-item h3{font-size:.98rem;font-weight:700;color:var(--text);margin-bottom:3px;}
.trust-item p{font-size:.85rem;color:var(--text-soft);margin:0;}

/* ---------- PRODUCT GRIDS ---------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.product-card{
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:16px;
  background:var(--white);
  transition:box-shadow .15s ease, transform .15s ease;
}
.product-card:hover{
  box-shadow:0 14px 28px rgba(31,77,58,0.10);
  transform:translateY(-2px);
}
.product-thumb{
  width:100%;height:160px;
  border-radius:var(--radius-sm);
  background:var(--beige);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-soft);
  font-size:.85rem;
  margin-bottom:14px;
}
.product-cat-tag{
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--green-dark);
  margin-bottom:6px;
}
.product-card h3{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:8px;}
.product-card .price-now{font-size:1.15rem;}
.add-btn{
  margin-top:12px;
  width:100%;
  padding:10px;
  border-radius:999px;
  border:none;
  background:var(--green-dark);
  color:var(--white);
  font-weight:700;
  font-size:.9rem;
}
.add-btn:hover{background:var(--green-darker);}

/* ---------- CATEGORY ICONS ---------- */
.cat-panel{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  text-align:center;
}
.cat-item a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.cat-icon{
  width:96px;height:96px;
  border-radius:50%;
  background:var(--beige);
  display:flex;align-items:center;justify-content:center;
  color:var(--green-dark);
  transition:background .15s ease;
}
.cat-item a:hover .cat-icon{background:#E9DEC4;}
.cat-item span{font-weight:700;font-size:.92rem;color:var(--text);}

/* ---------- WHY US / PAGE LAYOUT ---------- */
.why-us{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}
.why-us-visual{
  background:var(--green-dark);
  border-radius:var(--radius-lg);
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
}
.why-us-visual svg{width:120px;height:120px;}
.why-list{margin-top:20px;}
.why-list li{
  display:flex;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--border);
}
.why-list li:last-child{border-bottom:none;}
.why-list .num-icon{
  width:36px;height:36px;
  border-radius:50%;
  background:var(--beige);
  color:var(--green-dark);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.why-list h3{font-size:1rem;font-weight:700;margin-bottom:4px;}
.why-list p{font-size:.9rem;color:var(--text-soft);margin:0;}

/* ---------- BLOG LINKS ---------- */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.blog-card{
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--white);
}
.blog-thumb{
  width:100%;height:140px;
  background:#DCE7DF;
  display:flex;align-items:center;justify-content:center;
  color:var(--text-soft);
  font-size:.82rem;
}
.blog-body{padding:16px;}
.blog-tag{font-size:.72rem;font-weight:700;text-transform:uppercase;color:var(--accent);letter-spacing:.03em;}
.blog-card h3{font-size:.98rem;margin:8px 0;color:var(--text);font-weight:700;line-height:1.35;}
.blog-read{font-size:.85rem;font-weight:600;color:var(--green-dark);border-bottom:2px solid var(--green-dark);padding-bottom:1px;}

/* ---------- DELIVERY ---------- */
.delivery-panel{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.delivery-item{
  text-align:center;
  padding:22px 14px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
}
.delivery-item .icon-wrap{
  width:52px;height:52px;
  margin:0 auto 12px;
  border-radius:50%;
  background:var(--beige);
  display:flex;align-items:center;justify-content:center;
  color:var(--green-dark);
}
.delivery-item h3{font-size:.95rem;font-weight:700;margin-bottom:4px;}
.delivery-item p{font-size:.83rem;color:var(--text-soft);margin:0;}

/* ---------- SEO / INFO BLOCK ---------- */
.seo-block{
  background:var(--beige);
  border-radius:var(--radius-lg);
  padding:6px 28px;
}
.seo-block summary{
  cursor:pointer;
  padding:18px 0;
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.02rem;
  color:var(--green-dark);
  list-style:none;
}
.seo-block summary::-webkit-details-marker{display:none;}
.seo-block summary::after{
  content:"+";
  float:right;
  font-size:1.3rem;
}
.seo-block[open] summary::after{content:"–";}
.seo-text{
  padding-bottom:24px;
  color:var(--text-soft);
  font-size:.92rem;
}
.seo-text p{margin:0 0 14px;}
.seo-text p:last-child{margin-bottom:0;}

/* ---------- ARTICLE / PAGE CONTENT ---------- */
.entry-content{color:var(--text);font-size:1rem;}
.entry-content p{margin:0 0 16px;}
.entry-content h2{font-size:1.4rem;margin:32px 0 14px;}
.entry-content h3{font-size:1.15rem;margin:24px 0 10px;color:var(--text);}
.entry-content img{border-radius:var(--radius-md);margin:16px 0;}
.entry-content ul, .entry-content ol{margin:0 0 16px 20px;list-style:revert;}
.entry-content a{color:var(--green-dark);text-decoration:underline;}
.entry-content blockquote{border-left:4px solid var(--green-dark);margin:16px 0;padding:4px 20px;color:var(--text-soft);font-style:italic;}

.pagination{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.pagination a{
  font-weight:600;
  color:var(--green-dark);
  border-bottom:2px solid var(--green-dark);
  padding-bottom:2px;
}

/* ---------- FOOTER ---------- */
footer{
  background:var(--green-darker);
  color:#DCE9E1;
  padding:56px 0 28px;
  margin-top:8px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo{color:var(--white);}
.footer-brand p{font-size:.88rem;color:#B9CCC1;margin-top:12px;max-width:280px;}
footer h4{
  font-family:var(--font-head);
  color:var(--white);
  font-size:.95rem;
  margin-bottom:16px;
}
footer ul li{margin-bottom:10px;}
footer a{font-size:.88rem;color:#C3D6CB;}
footer a:hover{color:var(--white);}
.footer-bottom{
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  font-size:.82rem;
  color:#9CB3A6;
  flex-wrap:wrap;
  gap:10px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .cat-panel{grid-template-columns:repeat(3,1fr);}
  .trust-panel{grid-template-columns:repeat(3,1fr);}
  .blog-grid{grid-template-columns:repeat(2,1fr);}
  .delivery-panel{grid-template-columns:repeat(2,1fr);}
  .why-us{grid-template-columns:1fr;}
  .why-us-visual{order:-1;min-height:220px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media (max-width:760px){
  nav.main-nav{
    position:fixed;
    inset:64px 0 0 0;
    background:var(--white);
    transform:translateX(100%);
    transition:transform .2s ease;
    overflow-y:auto;
    padding:20px;
  }
  #nav-toggle:checked ~ nav.main-nav{transform:translateX(0);}
  .nav-list{flex-direction:column;align-items:stretch;gap:2px;}
  .nav-list > li > a{padding:14px 16px;border-radius:var(--radius-sm);}
  .dropdown{
    position:static;
    transform:none;
    opacity:1;
    visibility:visible;
    box-shadow:none;
    border:none;
    display:none;
    padding-left:14px;
  }
  .has-dropdown:focus-within .dropdown{display:block;}
  .burger{
    display:flex;
    align-items:center;justify-content:center;
    width:40px;height:40px;
    border:none;background:none;color:var(--green-dark);
  }
  .hero-slide{padding:28px 24px;min-height:280px;}
  .hero-slide h1{font-size:1.7rem;}
  .hero-slide .hero-subtitle{font-size:1.25rem;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .cat-panel{grid-template-columns:repeat(3,1fr);}
  .cat-icon{width:74px;height:74px;}
  .trust-panel{grid-template-columns:1fr 1fr;align-items:start;}
  .blog-grid{grid-template-columns:1fr;}
  .delivery-panel{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .section{padding:38px 0;}
  .section-head{flex-direction:column;align-items:flex-start;}
}

@media (max-width:480px){
  .trust-panel{grid-template-columns:1fr;gap:22px;}
  .delivery-panel{grid-template-columns:1fr;}
  .cat-panel{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:1fr;}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto !important;}
}

/* ==========================================================================
   PÁGINA DE OFERTA (template-oferta.php): galería-slider, secciones, aviso,
   opiniones, FAQ, CTA. Todo scoped bajo .page-template-template-oferta-php
   (clase que WordPress añade automáticamente al <body> cuando una Página usa
   este template) para no afectar Informativa, Categoría, blog ni el resto.
   ========================================================================== */

/* --- Slider de galería (bloque Galería de Gutenberg) --- */
.page-template-template-oferta-php .nv-gallery-slider{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:var(--beige);
  margin:24px 0;
  aspect-ratio:16/9;
}
.page-template-template-oferta-php .nv-gallery-slider__track{
  display:flex;
  height:100%;
  transition:transform .35s ease;
}
.page-template-template-oferta-php .nv-gallery-slider__slide{
  flex:0 0 100%;
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.page-template-template-oferta-php .nv-gallery-slider__slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:0;
}
.page-template-template-oferta-php .nv-gallery-slider__caption{
  padding:10px 16px;
  font-size:.85rem;
  color:var(--text-soft);
  background:var(--white);
}
.page-template-template-oferta-php .nv-gallery-slider__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;height:42px;
  border-radius:50%;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  color:var(--green-dark);
  font-size:1.2rem;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}
.page-template-template-oferta-php .nv-gallery-slider__arrow:hover{background:var(--white);transform:translateY(-50%) scale(1.06);}
.page-template-template-oferta-php .nv-gallery-slider__arrow--prev{left:14px;}
.page-template-template-oferta-php .nv-gallery-slider__arrow--next{right:14px;}
.page-template-template-oferta-php .nv-gallery-slider__dots{
  position:absolute;
  bottom:14px;
  left:0;right:0;
  display:flex;
  justify-content:center;
  gap:7px;
}
.page-template-template-oferta-php .nv-gallery-slider__dot{
  width:8px;height:8px;
  border-radius:50%;
  border:none;
  padding:0;
  background:rgba(255,255,255,.65);
  cursor:pointer;
  transition:background .15s ease, width .15s ease;
}
.page-template-template-oferta-php .nv-gallery-slider__dot.is-active{background:var(--white);width:22px;border-radius:5px;}

@media (max-width:600px){
  .page-template-template-oferta-php .nv-gallery-slider__arrow{width:36px;height:36px;font-size:1rem;}
}

/* --- Cabecera de la oferta: galería/imagen a la izquierda, H1+precio a la derecha --- */
.page-template-template-oferta-php .offer-hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
  padding-bottom:44px;
}
.page-template-template-oferta-php .offer-hero__media,
.page-template-template-oferta-php .offer-hero__info{
  min-width:0;
}
.page-template-template-oferta-php .offer-hero__media .nv-gallery-slider{margin:0;}
.page-template-template-oferta-php .offer-hero__image img{
  width:100%;
  height:auto;
  border-radius:var(--radius-lg);
  display:block;
}
.page-template-template-oferta-php .offer-hero__placeholder{
  background:var(--beige);
  border-radius:var(--radius-lg);
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-soft);
  font-size:.9rem;
}
.page-template-template-oferta-php .offer-hero__info h1{margin-top:10px;}

@media (max-width:800px){
  .page-template-template-oferta-php .offer-hero{grid-template-columns:1fr;gap:24px;padding-bottom:32px;}
}

/* --- Secciones estructuradas por H2 --- */
.page-template-template-oferta-php .product-section{margin:0 0 36px;}
.page-template-template-oferta-php .product-section:last-child{margin-bottom:0;}
.page-template-template-oferta-php .product-section__inner h2{font-size:1.35rem;margin-bottom:14px;}

.page-template-template-oferta-php .product-section--precautions .product-section__inner{
  background:#FDF2EF;
  border:2px solid var(--accent);
  border-radius:var(--radius-md);
  padding:22px 26px;
}
.page-template-template-oferta-php .product-section--precautions .product-section__inner h2{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--accent);
  margin-bottom:12px;
}
.page-template-template-oferta-php .product-section--precautions .product-section__inner h2::before{
  content:"\26A0";
  font-size:1.3rem;
  line-height:1;
}

.page-template-template-oferta-php .review-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:8px;
}
.page-template-template-oferta-php .review-card{
  background:var(--beige);
  border-radius:var(--radius-md);
  padding:18px 20px;
  font-size:.95rem;
  color:var(--text);
}
.page-template-template-oferta-php .review-card p{margin:0;}
.page-template-template-oferta-php .review-card blockquote{margin:0;border:none;padding:0;font-style:italic;}

@media (max-width:700px){
  .page-template-template-oferta-php .review-grid{grid-template-columns:1fr;}
}

.page-template-template-oferta-php .entry-content .wp-block-button__link,
.page-template-template-oferta-php .entry-content .wp-element-button{
  display:inline-block;
  background:var(--accent) !important;
  color:var(--white) !important;
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.1rem;
  padding:18px 46px;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 14px 30px rgba(181,67,47,.35);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.page-template-template-oferta-php .entry-content .wp-block-button__link:hover,
.page-template-template-oferta-php .entry-content .wp-element-button:hover{
  background:#9A3A28 !important;
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 18px 36px rgba(181,67,47,.45);
}
.page-template-template-oferta-php .entry-content .wp-block-buttons{
  justify-content:center;
  margin:20px 0;
}

.page-template-template-oferta-php .faq-accordion{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.page-template-template-oferta-php .faq-item{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:border-color .15s ease;
}
.page-template-template-oferta-php .faq-item.is-open{border-color:var(--green-dark);}
.page-template-template-oferta-php .faq-item__question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  background:none;
  border:none;
  text-align:left;
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.02rem;
  color:var(--text);
  cursor:pointer;
  transition:background .15s ease;
}
.page-template-template-oferta-php .faq-item__question:hover{background:var(--beige);}
.page-template-template-oferta-php .faq-item__icon{
  position:relative;
  width:20px;height:20px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--beige);
}
.page-template-template-oferta-php .faq-item.is-open .faq-item__icon{background:var(--green-dark);}
.page-template-template-oferta-php .faq-item__icon::before,
.page-template-template-oferta-php .faq-item__icon::after{
  content:"";
  position:absolute;
  background:var(--green-dark);
  border-radius:2px;
  transition:background .15s ease, transform .2s ease;
}
.page-template-template-oferta-php .faq-item__icon::before{left:5px;top:50%;width:10px;height:2px;transform:translateY(-50%);}
.page-template-template-oferta-php .faq-item__icon::after{left:50%;top:5px;width:2px;height:10px;transform:translateX(-50%);}
.page-template-template-oferta-php .faq-item.is-open .faq-item__icon::before,
.page-template-template-oferta-php .faq-item.is-open .faq-item__icon::after{background:var(--white);}
.page-template-template-oferta-php .faq-item.is-open .faq-item__icon::after{transform:translateX(-50%) scaleY(0);}
.page-template-template-oferta-php .faq-item__answer{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .25s ease;
}
.page-template-template-oferta-php .faq-item__answer-inner{overflow:hidden;}
.page-template-template-oferta-php .faq-item__answer-inner > *{padding:0 20px;margin-top:0;color:var(--text-soft);}
.page-template-template-oferta-php .faq-item__answer-inner > *:last-child{padding-bottom:18px;}
.page-template-template-oferta-php .faq-item.is-open .faq-item__answer{grid-template-rows:1fr;}

.page-template-template-oferta-php .faq-item__answer .wp-block-accordion-panel[hidden]{
  display:block !important;
}

/* Keep the area around the custom homepage hero white. */
.hero-section,
.hero-section > .container,
.ss-hero-wrap,
.nv-hero3-shell{
  background:#fff !important;
  background-image:none !important;
}
/* =========================================================
   SUPPLEMENTS SHOP MX
   PREMIUM WELLNESS BACKGROUND
========================================================= */


/* ---------- ЕДИНЫЙ ФОН ВСЕГО САЙТА ---------- */

html{
  background:#ffffff !important;
}

body{
  background:

    /* emerald glow — верх слева */
    radial-gradient(
      1000px 700px at -8% 4%,
      rgba(16, 122, 74, .12) 0%,
      rgba(16, 122, 74, .055) 32%,
      rgba(16, 122, 74, 0) 72%
    ),

    /* лёгкий green glow справа */
    radial-gradient(
      950px 700px at 108% 28%,
      rgba(62, 150, 101, .095) 0%,
      rgba(62, 150, 101, .035) 36%,
      rgba(62, 150, 101, 0) 72%
    ),

    /* очень мягкий тёплый мексиканский акцент */
    radial-gradient(
      760px 560px at 88% -8%,
      rgba(194, 78, 53, .055) 0%,
      rgba(194, 78, 53, .018) 36%,
      rgba(194, 78, 53, 0) 72%
    ),

    /* нижний wellness glow */
    radial-gradient(
      900px 650px at 35% 105%,
      rgba(143, 190, 158, .10) 0%,
      rgba(143, 190, 158, .035) 40%,
      transparent 74%
    ),

    /* базовый фон */
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdfb 36%,
      #f7faf7 68%,
      #f3f8f5 100%
    ) !important;

  background-repeat:no-repeat !important;
  background-size:cover !important;
  background-attachment:fixed !important;
}


/* =========================================================
   УБИРАЕМ ВСЕ СТАРЫЕ ПОЛОСЫ И ПОДЛОЖКИ
========================================================= */

main,
.site-main,
#primary,
.content-area,
.hero-section,
.hero-section > .container,
.hero-section .container,
.ss-hero-wrap,
.nv-hero3-shell,
.section,
.section.tinted{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
}


/* =========================================================
   HERO — СВЕТЛОЕ PREMIUM GLASS
========================================================= */

.ss-hero,
.nv-hero3{
  background:

    radial-gradient(
      600px 380px at 100% 0%,
      rgba(104, 173, 128, .10),
      transparent 70%
    ),

    linear-gradient(
      135deg,
      rgba(255,255,255,.91) 0%,
      rgba(255,255,255,.82) 48%,
      rgba(241,248,243,.82) 100%
    ) !important;

  border:1px solid rgba(255,255,255,.88) !important;

  border-radius:28px;

  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);

  box-shadow:
    0 22px 60px rgba(25, 80, 55, .08),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
}


/* убираем старый декоративный круг hero */
.ss-hero::before{
  background:
    radial-gradient(
      circle,
      rgba(71, 160, 105, .10) 0%,
      rgba(71, 160, 105, 0) 72%
    ) !important;
}


/* =========================================================
   PRODUCT CARDS
========================================================= */

.product-card{
  background:rgba(255,255,255,.88) !important;

  border:1px solid rgba(31,77,58,.10) !important;

  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);

  box-shadow:
    0 8px 28px rgba(31,77,58,.045);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.product-card:hover{
  transform:translateY(-4px);

  border-color:rgba(31,77,58,.18) !important;

  box-shadow:
    0 18px 38px rgba(31,77,58,.095);
}


/* =========================================================
   BLOG / OTHER CARDS
========================================================= */

.blog-card,
.delivery-item,
.deal-card{
  background:rgba(255,255,255,.86) !important;

  border:1px solid rgba(31,77,58,.09) !important;

  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);

  box-shadow:
    0 8px 26px rgba(31,77,58,.04);
}


/* =========================================================
   HEADER
========================================================= */

header{
  background:rgba(255,255,255,.90) !important;

  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);

  border-bottom:1px solid rgba(31,77,58,.08) !important;

  box-shadow:
    0 5px 22px rgba(31,77,58,.025);
}


/* =========================================================
   SEO / INFO
========================================================= */

.seo-block{
  background:rgba(255,255,255,.58) !important;

  border:1px solid rgba(255,255,255,.82);

  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);

  box-shadow:
    0 10px 32px rgba(31,77,58,.035);
}


/* =========================================================
   НЕ ТРОГАЕМ ФИРМЕННЫЕ ЦВЕТНЫЕ СЕКЦИИ
========================================================= */

footer{
  background:var(--green-darker) !important;
}

.deals{
  background:var(--accent) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

  body{
    background:

      radial-gradient(
        700px 500px at -20% 0%,
        rgba(16,122,74,.09),
        transparent 70%
      ),

      radial-gradient(
        650px 500px at 120% 45%,
        rgba(76,155,108,.07),
        transparent 70%
      ),

      linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fbf9 100%
      ) !important;

    background-attachment:scroll !important;
  }

  .ss-hero,
  .nv-hero3{
    border-radius:22px;
  }
}

/* =========================================================
   BLOG / CATEGORY / SINGLE POST
   WELLNESS + PREMIUM BACKGROUND
   ========================================================= */

body.blog,
body.archive,
body.category,
body.single-post{
  background:
    radial-gradient(
      980px 720px at -8% 6%,
      rgba(24,126,78,.115) 0%,
      rgba(24,126,78,.045) 33%,
      transparent 72%
    ),
    radial-gradient(
      880px 650px at 108% 24%,
      rgba(115,177,137,.105) 0%,
      rgba(115,177,137,.038) 38%,
      transparent 72%
    ),
    radial-gradient(
      700px 520px at 84% -10%,
      rgba(201,103,72,.035) 0%,
      rgba(201,103,72,.012) 34%,
      transparent 70%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdfb 34%,
      #f6faf7 67%,
      #eef6f1 100%
    ) !important;

  background-repeat:no-repeat !important;
  background-size:cover !important;
  background-attachment:fixed !important;
}

body.blog main,
body.blog .site-main,
body.blog #primary,
body.blog .content-area,
body.blog .section,
body.blog .section.tinted,

body.archive main,
body.archive .site-main,
body.archive #primary,
body.archive .content-area,
body.archive .section,
body.archive .section.tinted,

body.category main,
body.category .site-main,
body.category #primary,
body.category .content-area,
body.category .section,
body.category .section.tinted,

body.single-post main,
body.single-post .site-main,
body.single-post #primary,
body.single-post .content-area,
body.single-post .section,
body.single-post .section.tinted{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
}

body.blog .blog-card,
body.archive .blog-card,
body.category .blog-card{
  background:rgba(255,255,255,.84) !important;
  border:1px solid rgba(255,255,255,.82) !important;
  border-radius:16px;
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:
    0 12px 32px rgba(31,77,58,.055),
    inset 0 1px 0 rgba(255,255,255,.88);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

body.blog .blog-card:hover,
body.archive .blog-card:hover,
body.category .blog-card:hover{
  transform:translateY(-4px);
  border-color:rgba(31,77,58,.13) !important;
  box-shadow:
    0 18px 42px rgba(31,77,58,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

body.blog .blog-thumb,
body.archive .blog-thumb,
body.category .blog-thumb{
  overflow:hidden;
  border-radius:15px 15px 0 0;
}

body.blog .blog-thumb img,
body.archive .blog-thumb img,
body.category .blog-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

body.blog .blog-card:hover .blog-thumb img,
body.archive .blog-card:hover .blog-thumb img,
body.category .blog-card:hover .blog-thumb img{
  transform:scale(1.025);
}

body.single-post article{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.82);
  border-radius:22px;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:
    0 16px 42px rgba(31,77,58,.055),
    inset 0 1px 0 rgba(255,255,255,.88);
  padding:32px;
}

body.single-post .entry-content{
  background:transparent !important;
}

body.blog .page-title,
body.archive .page-title,
body.category .page-title{
  color:var(--green-dark);
  font-weight:800;
  letter-spacing:-.02em;
}

body.blog header,
body.archive header,
body.category header,
body.single-post header{
  background:rgba(255,255,255,.90) !important;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(31,77,58,.07) !important;
  box-shadow:0 6px 24px rgba(31,77,58,.025);
}

@media(max-width:768px){
  body.blog,
  body.archive,
  body.category,
  body.single-post{
    background:
      radial-gradient(
        650px 500px at -20% 0%,
        rgba(24,126,78,.09),
        transparent 70%
      ),
      radial-gradient(
        600px 460px at 120% 38%,
        rgba(115,177,137,.07),
        transparent 70%
      ),
      linear-gradient(
        180deg,
        #ffffff 0%,
        #f7fbf8 100%
      ) !important;

    background-attachment:scroll !important;
  }

  body.single-post article{
    padding:22px 18px;
    border-radius:18px;
  }
}

/* ---------- ЛОГОТИПЫ ---------- */
header .logo img.custom-logo{
	height: 56px !important;
	width: auto !important;
	display: block;
}
.footer-brand .logo img.footer-logo-img{
	height: 56px !important;
	width: auto !important;
	display: block;
	margin-bottom: 10px;
}

/* ---------- FOOTER: заголовки-ссылки ---------- */
footer .footer-grid h4 a{
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}
footer .footer-grid h4 a:hover{
	text-decoration: underline;
}

/* ---------- CATÁLOGO: сетка вместо слайдера + пагинация ---------- */
.catalog-grid{
	display: grid !important;
	flex-wrap: unset !important;
	grid-template-columns: repeat(5, 1fr) !important;
	overflow-x: visible !important;
	gap: 20px;
}
@media (max-width:1024px){
	.catalog-grid{grid-template-columns: repeat(3, 1fr) !important;}
}
@media (max-width:760px){
	.catalog-grid{grid-template-columns: repeat(2, 1fr) !important;}
}
@media (max-width:480px){
	.catalog-grid{grid-template-columns: 1fr !important;}
}
.catalog-pagination{
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
	flex-wrap: wrap;
}
.catalog-pagination .page-numbers{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border);
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
}
.catalog-pagination .page-numbers.current{
	background: var(--green-dark);
	color: #fff;
	border-color: var(--green-dark);
}
.catalog-pagination .page-numbers:hover:not(.current){
	background: var(--beige);
}
html,
body {
	...
}