.page{
    margin: 0;
}
body{
    font-family: 'Mulish', sans-serif!important;
    padding-top: 70px;
}

h1, h2, h3{
    font-family: 'EB Garamond', serif;
}
h1{
    font-weight: 500;
}
a:visited{
    color: inherit;
}
a{
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit; /* mantiene el mismo color al pasar el cursor */
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
/* ---------------- nav ---------------- */
.nav-envios{
    text-align: center;
    color: #F0F2ED;
    font-weight: 200;
    font-size: 14px;
    background-color: #677453;
    padding: 2px;
    margin: 0;
    width: 100%;
}
.nav-info p{
    margin: 0 20px;
}
.nav-info{
    color: #3D4730;
    font-weight: 200;
    font-size: 14px;
    background-color: #E8ECE3;
    padding: 2px 30px;
    margin: 0;
    width: 100%;
}
.content-nav{ 
    background-color: #fff;
    height: 55px;
    padding: 0 30px;
}
.logo-navbar{
    height:40px;
    width:auto;
}
.navbar {
    padding: 0 !important;
}

.nav-cart{
    position:relative;
    font-size:1.6rem;
}

.cart-count{
    position:absolute;
    top:-6px;
    right:-10px;
    background:#000;
    color:#fff;
    font-size:0.6rem;
    padding:2px 5px;
    border-radius:20px;
}

/* mobile */
@media (max-width:991px){

.navbar-collapse{
    text-align:center;
    background:#fff;
    padding:20px 20px 15px;
    margin-top:10px;
    border-radius: 0px 0px 4px 4px;
}

.nav-cart{
    display:inline-flex;
    align-items:center;
    margin-top: 13px;
}

}

/* ---------------- footer ---------------- */
.site-footer {
    background-color: #313131;

    padding: 40px 10px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 220px;
    font-size:0.9rem!important;
    color: #D0D8C5!important;
}
.footer-col p{
    margin-bottom: 0.6rem;
}
.site-footer h3,
.site-footer h4 {
    margin-bottom: 15px;
}

.site-footer p {
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
margin: 0;
}
.footer-links a{
    font-size:0.9rem!important;
    color: #D0D8C5!important;
}
.footer-links li {
    list-style: none;
    margin-bottom: 0.6rem;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
    color: #D0D8C5!important;
}
.footer-links i,
.footer-col i{
    margin-right:8px;
    font-size:0.9rem;
}

/* Mobile */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

}

/* ---------------- migas de pan ---------------- */
.custom-breadcrumb {
    background-color: transparent !important;
    padding: 20px 0;
    color: #777;
    font-size: 14px;
}
.custom-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

/* ---------------- hero carrusel slider content-home-page.php ---------------- */
.hero-cinematic {
  position: relative;
  width: 100%;
  height: 69vh;
  overflow: hidden;
  background: black;
}

/* IMÁGENES (capa más baja) */
.cinematic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 1; /* debajo del overlay y texto */
}

.cinematic-slide.active {
  opacity: 1;
}

.cinematic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 12s ease-in-out infinite alternate;
}

/* Zoom suave */
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* OVERLAY OSCURO */
.cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2; /* encima de la imagen */
  display: flex;
  align-items: center;
  padding-left: 8%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 25%,
    rgba(0,0,0,0.35) 55%,
    transparent 100%
  );
}

/* TEXTO (capa más alta) */
.cinematic-text {
  max-width: 520px;
  color: white;
  position: relative;
  z-index: 3; /* encima de todo */
}

.cinematic-text h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.cinematic-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

.cinematic-btn {
display: inline-block; /*--*--*--*--*--*--*--* estilo de boton consistente --*--*--*--*--*--*--*--*--* */
    padding: 12px 30px;
    background-color: #B8A461;
color: #24291D!important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.cinematic-btn:hover {
    color: #000;
  opacity: 0.85;
}

.cinematic-btn-dark {
    background: #534A2C;
    margin-left: 5px;
    color: #fff!important;
}

.cinematic-btn-dark:hover {
    color: #000;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-cinematic {
    height: 75vh;
  }

  .cinematic-text h1 {
    font-size: 1.8rem;
  }

  .cinematic-overlay {
    padding-left: 6%;
    background: rgba(0,0,0,0.65);
  }
}

/* ---------------- section categorias individuales y selección  content-home-page.php ---------------- */
.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    width: 100%;
    margin-bottom: 20px;
}

.card-oil {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.card-oil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.card-overlay h2 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
    text-align: center;
}

/* Desktop */
@media (min-width: 1200px) {

    .cards-wrapper {
        grid-template-columns: 1fr 1fr; /* 50% + 50% */
    }

    .card-oil:hover img {
        transform: scale(1.05);
    }

    .card-oil:hover .card-overlay {
        background: rgba(0,0,0,0.55);
    }
}

/* ---------------- sección productos  content-home-page.php ---------------- */
.home-products {
    max-width: 1200px;   /* controla el ancho */
    margin: 0 auto;      /* centra horizontalmente */
    padding: 30px 0 40px;     /* aire en los costados en mobile */
}

.home-products ul.products {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap; 
}

.home-products ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;    
    margin: 0;
}
.section-title {
    margin-bottom: 40px;
    font-size: 2rem;
}
/* Botón */
.home-products-button {
    margin-top: 25px;
    text-align: center;
}

.btn-ver-tienda {
    display: inline-block;
    padding: 12px 50px;
    background-color: #B8A461;
    color: #24291D!important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-ver-tienda:hover {
    color: #000;
  opacity: 0.85;
}
@media (max-width: 768px) {

    .home-products ul.products {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }

    .home-products ul.products li.product {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

}

/* ---------------- sección about  content-home-page.php ---------------- */
.home-about {
    padding: 40px 20px;
}

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-content {
    flex: 1;
}
.about-content h3{
font-size: 3rem;
}
.about-subtitle {
    font-weight: 500;
    margin-bottom: 40px;
}

.about-content p {
    line-height: 1.7;
}
@media (max-width: 768px) {

    .about-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .about-image,
    .about-content {
        width: 100%;
    }
    .about-content p {
        text-align: left; /*  solo el párrafo alineado izquierda */
    }
}

/* ---------------- sección homenaje  content-home-page.php ---------------- */
.home-tribute {
    padding: 80px 20px;
}

.tribute-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.tribute-content {
    flex: 0 0 60%;
}

.tribute-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
}

.tribute-image img {
    width: 100%;
    height: auto;
    max-height: 650px; /* opcional para que no sea gigante */
    object-fit: contain;
}
.tribute-accent {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #B8A461; 
}
@media (max-width: 768px) {

    .tribute-wrapper {
        flex-direction: column;
        gap: 30px;
    }

}

/* ---------------- sección reseñas ---------------- */
.section-reviews {
    padding: 40px 20px;
    text-align: center;
}

.reviews-wrapper {
    max-width: 1100px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.review-card {
    position: relative;
    flex: 0 0 320px;
    padding: 50px 30px 40px;
    background: #f8f8f6;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: #B8A461;
    opacity: 0.25;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-text {
    font-style: italic;
    line-height: 1.7;
}

.review-product {
    font-weight: 600;
    color: #B8A461;
}

.review-author {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {

    .reviews-wrapper {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding: 0 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .review-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

}

/* ---------------- sección propuesta de valor  content-home-page.php  ---------------- */
.home-value {
    padding: 80px 20px;
    text-align: center;
}

.value-wrapper {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-item {
    padding: 5px;
}

.value-icon {
    margin-bottom: 15px;
}

.value-icon{
    font-size:42px;
    color:#B8A461;
    margin-bottom:10px;
}

.value-item h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.value-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Mobile: 2 arriba y 1 centrada abajo */
@media (max-width: 768px) {

    .value-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .value-item:nth-child(3) {
        grid-column: span 2;
        max-width: 300px;
        margin: 0 auto;
    }

}

/* ---------------- sección CTA  content-home-page.php ---------------- */
.home-cta {
    position: relative;
}

.cta-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,0.35); /* oscurece la imagen para contraste */
    padding: 20px;
}

.cta-overlay h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.cta-overlay p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    max-width: 500px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: #B8A461;
    color: #24291D!important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
}

.btn-cta:hover::after {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .cta-overlay h4 {
        font-size: 1.5rem;
    }

    .cta-overlay p {
        font-size: 0.9rem;
    }

    .cta-overlay {
        padding: 15px;
    }
}

/* ---------------- sección Formulario de contacto archivo content-contact-section.php ---------------- */
.home-contact {
    background-color: #313131;
    border-bottom: 1px solid #3D4532;
    padding: 40px 5px;
    color: #D0D8C5;
}

/* Layout de columnas */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Columna de info */
.contact-info, .contact-form {
    flex: 1 1 400px;
}

/* Título y texto centrados */
.contact-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-text {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.85;
}

/* Teléfono y correo */
.contact-details i{
    margin-right:8px;
    color:#B8A461;
}

/* Redes sociales */
.contact-socials{
    display:flex;
    gap:20px;
    margin:20px 6px 0 0;
}

.contact-socials a{
    font-size:1.5rem;
    color:#B8A461;
    text-decoration:none;
    transition:opacity .3s ease, transform .3s ease;
}

.contact-socials a:hover{
    opacity:.7;
    transform:scale(1.1);
}

.contact-form {
    width: 100%;
}
.fluentform .ff-el-group{
    margin-bottom: 0;
}
/* Botón submit Fluent Forms */
.ff-btn-submit,
.ff-btn.ff-btn-submit,
.fluentform .ff-btn-submit {
    background-color: #B8A461!important;
    color: #24291D!important;
}


/* ---------------- sección FAQ ---------------- */
.home-faq {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background-color: #E9E3CE;
    color: #403922;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #a08d4f;
}

.faq-answer {
    display: none;
    padding: 10px 20px;
    background-color: #f8f8f6;
    border-radius: 8px;
}

.faq-answer p {
    margin: 0;
    color: #000;
}

@media (max-width: 768px) {
    .faq-wrapper {
        gap: 10px;
    }
}

/*----------------estilos tienda archive-product.php -----------------*/
.shop-hero {
    background: #f8f8f8;
}

.shop-products .product {
    border: none;
    text-align: center;
}

/*----------------estilos tienda categoria taxonomy-product_cat.php -----------------*/
/* indivudual */
.hero-individual{
    padding:30px 20px;
    text-align:center;
    background-color: #E9E3CE;
}

.hero-individual h1{
    font-size:2rem;
    margin-bottom:10px;
}

.hero-individual .hero-desc{
    max-width:500px;
    margin:auto;
    opacity:.8;
}

/*  seleción premium  */
.hero-seleccion{
    padding:50px 5px 30px;
    background-color: #525C43;
}

.hero-grid{
    max-width:1100px;
    margin:auto;
}

.hero-text{
    max-width:520px;
}

.hero-eyebrow{
    text-transform:uppercase;
    font-size:.75rem;
    letter-spacing:2px;
    color:#B8A461;
}

.hero-seleccion h1{
    font-size:2.5rem;
    margin:10px 0 15px;
    color: #fff;
}

.hero-seleccion p{
    opacity:.8;
    color: #fff;
}

/*----------------estilos producto single-product.php -----------------*/
.producto-hero{
    position:relative;
}

.producto-bg{
    min-height:80vh;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}

.producto-overlay{
    width:100%;
    display:flex;
    justify-content:flex-end;
}

.producto-info{
    max-width:420px;
    color:#000;
}


.producto-titulo {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.producto-precio {
    font-size: 22px;
    margin-bottom: 25px;
}


/* Contenedor cantidad */
.producto-carrito .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 46px;
}

/* Input número */
.producto-carrito .quantity input.qty {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
}

/* Quitar flechas nativas */
.producto-carrito .quantity input.qty::-webkit-outer-spin-button,
.producto-carrito .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Botones menos y más */
.producto-carrito .quantity::before,
.producto-carrito .quantity::after {
    content: '';
}

/* Creamos botones reales */
.producto-carrito .quantity {
    position: relative;
    background: #F0F2ED;
}

.producto-carrito .quantity input.qty {
    padding: 0;
}

/* Botones */
.producto-carrito .quantity button {
    width: 40px;
    height: 100%;
    border: none;
    background: #F0F2ED;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}
/* Input cantidad sin fondo */
.producto-carrito .quantity input.qty {
    background: #F0F2ED !important;
}
.producto-carrito .quantity button:hover {
    background: #f2f2f2;
}
/* Cantidad + botón en línea */

.producto-carrito form.cart {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.producto-carrito .quantity {
    margin: 0;
}

.producto-carrito .single_add_to_cart_button {
    background-color: #B8A461;
    color: #000;
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 600;
    border: none;
    transition: opacity 0.3s ease;
}

.producto-carrito .single_add_to_cart_button:hover {
    opacity: 0.85;
}

.producto-descripcion {
    margin-top: 20px;
    line-height: 1.7;
    color: #444;
}

/* Miniaturas en fila */
.woocommerce div.product .flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 0;
}

/* Quitar floats que Woo agrega */
.woocommerce div.product .flex-control-nav.flex-control-thumbs li {
    float: none !important;
    width: 80px !important;
    margin: 0 !important;
    list-style: none;
}
/* Quitar numeración */
.woocommerce div.product .flex-control-nav.flex-control-thumbs li::marker {
    content: none !important;
}

/*----------------- CARRITO -----------------*/
.carrito-moderno {
    padding: 60px 0;
}

.carrito-header h1 {
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 10px;
}

.carrito-header p {
    color: #777;
    margin-bottom: 50px;
}

/* LAYOUT BLOCKS */
.wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}
.wc-block-components-main{
    width: 100%!important;
}

/* Sidebar sticky */
.wc-block-components-sidebar {
    position: sticky;
    top: 120px;
    width: 100%;
}

/* RESUMEN */
.wc-block-cart__totals {
    background: #fafafa;
    padding: 40px;
    border-radius: 16px;
}

/* ITEMS */
.wc-block-cart-items {
    border: none;
}

.wc-block-cart-item {
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.wc-block-cart-item__image img {
    border-radius: 8px;
}

.wc-block-cart-item__product a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: #111;
}

.wc-block-cart-item__product a:hover {
    opacity: 0.7;
}

/* BOTÓN FINALIZAR */
.wc-block-cart__submit-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #B8A461;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    transition: opacity 0.3s ease;
}

.wc-block-cart__submit-button:hover {
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .wc-block-components-sidebar {
        position: relative;
        top: 0;
    }
}

/*----------------- CHECKOUT -----------------*/
.checkout-moderno {
    padding: 60px 0;
}

.checkout-header h1 {
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 10px;
}

.checkout-header p {
    color: #777;
    margin-bottom: 50px;
}

/* Layout 2 columnas */ 
.wc-block-checkout .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Sidebar sticky */
.wc-block-checkout .wc-block-components-sidebar {
    position: sticky;
    top: 120px;
}

/* tarjetas - secciones */
.wc-block-components-panel {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}
/* inputs */
.wc-block-components-text-input input, 
.wc-blocks-components-select__select{
    border: 1px solid #ddd!important;
    border-radius: 8px!important;
    font-size: 15px;
    transition: border 0.2s ease!important;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
    border: 2px solid #B8A461!important;
    outline: none;
}

/* resumen pedido */
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
    background: #fafafa;
    padding: 40px;
    border-radius: 16px;
}
/* botón finalizar */
.wc-block-checkout__actions_row .wc-block-components-button {
    background-color: #B8A461;
    color: #000;
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 600;
    border: none;
    transition: opacity 0.3s ease;
}

.wc-block-checkout__actions_row .wc-block-components-button:hover {
    opacity: 0.85;
}
/* Ocultar bloques de descuento y cargos si están vacíos */
.wp-block-woocommerce-checkout-order-summary-discount-block:empty,
.wp-block-woocommerce-checkout-order-summary-fee-block:empty {
    display: none;
}
/* responsive */
@media (max-width: 992px) {

    .wc-block-checkout .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
    }

    .wc-block-checkout .wc-block-components-sidebar {
        position: relative;
        top: 0;
    }

}

/*-------------------------sección organolépcticas-------------------------------*/
.organolepticas-section {
    padding: 30px 40px;
    background: #f8f6f2;
    border-radius: 16px;
        max-width: 1200px;   /* controla el ancho */
    margin: 50px auto;      /* centra horizontalmente */
    padding: 30px 0 40px; 
}

.organolepticas-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 1px;
}
/* tabs navegación */
.organolepticas-tabs .tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    background: transparent;
    border: 1px solid #d8d4cc;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e7e3da;
}

.tab-btn.active {
    background: #505F25;
    color: #fff;
    border-color: #505F25;
}

/* CONTENIDO TABS */
.tabs-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

.tab-panel p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Animación suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .organolepticas-section {
        padding: 40px 20px;
    }

    .organolepticas-title {
        font-size: 22px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/*--------------- seccion productos relacionados single-product.php  ---------------------*/

.section-related-products .related h2{
    margin-bottom:30px;
}

.section-related-products{
   
    max-width: 1200px;   /* controla el ancho */
    margin: 0 auto;      /* centra horizontalmente */
    padding: 30px 0 40px;     /* aire en los costados en mobile */
}

/*-------------------------sección organolépcticas PACK ------------------------------*/
.organolepticas-pack {
    padding: 80px 0;
}

.organolepticas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.aceite-col {
    background: #f8f6f2;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.aceite-nombre {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 600;
}

.aceite-tabla {
    width: 100%;
    border-collapse: collapse;
}

.aceite-tabla th {
    text-align: left;
    font-weight: 600;
    padding: 14px 0;
    width: 35%;
    vertical-align: top;
}

.aceite-tabla td {
    padding: 14px 0;
    line-height: 1.6;
}

.aceite-tabla tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .organolepticas-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --------------------SECCIÓN VALOR AGREGADO en single-product.php --------------------*/
.valor-agregado-section {
    text-align: center;

        max-width: 1200px;   /* controla el ancho */
    margin: 0 auto;      /* centra horizontalmente */
    border-radius: 16px;
        padding: 80px 20px;
}

/* GRID */
.valor-agregado-grid {
    max-width: 1700px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* TARJETA */
.valor-card {
    padding: 40px 30px;
}

.valor-icon{
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#F8F6EF;
    margin:0 auto 15px;
    font-size:32px;
    color:#B8A461;
}

.valor-icon img {
    width: 50px;
    height: auto;
}

.valor-titulo {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.valor-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* RESPONSIVE */
@media (max-width:600px){

.valor-agregado-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

/* tercera tarjeta centrada */
.valor-card:nth-child(3){
    grid-column:1 / -1;
    max-width:320px;
    margin:0 auto;
}

.valor-card{
    padding:25px 15px;
}

.valor-titulo{
    font-size:16px;
}

.valor-desc{
    font-size:14px;
}

}


/* seccion single product maridajes recetas */
.maridajes-section {
    padding: 100px 0;
}

.maridajes-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 60px;
}

.maridajes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.maridaje-card {
    transition: transform 0.4s ease;
    cursor: pointer;
}

.maridaje-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.maridaje-card h3 {
    font-size: 18px;
    font-weight: 500;
}

.maridaje-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .maridajes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .maridajes-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------  QUIÉNES SOMOS content-qs.php ------------------ */

.page-quienes .qs-tribute {
    padding: 110px 20px;
}
.page-quienes .qs-about {
    padding: 0px 20px 110px;
}
.page-quienes .qs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

/* Eyebrow */
.page-quienes .qs-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #B8A461;
    margin-bottom: 18px;
    text-align: center;
}

/* Título */
.page-quienes .qs-title {
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Texto */
.page-quienes .qs-text p {
    line-height: 1.85;
    font-size: 1rem;
    color: #444;
}

/* sección TRIBUTO - ilustración de fondo  */

.page-quienes .qs-tribute{
    position: relative;
    overflow: hidden;
    padding:110px 20px;
}

/* GRID SOLO UNA COLUMNA */
.page-quienes .qs-tribute .qs-grid{
    max-width:720px;
    margin:0 auto;
    display:block;
}

/* TITULOS CENTRADOS */
.page-quienes .qs-tribute .qs-eyebrow,
.page-quienes .qs-tribute .qs-title{
    text-align:center;
}

/* TEXTO LEGIBLE */
.page-quienes .qs-tribute .qs-text p{
    text-align:left;
}

/* IMAGEN DECORATIVA */
.page-quienes .qs-tribute::after{
    content:"";
    position:absolute;

    right:-10px;
    bottom:-10px;

    width:620px;
    height:620px;

    background:url("/wp-content/uploads/2026/02/ilustracion.png") no-repeat center/contain;
    z-index:0;
    opacity:.15;
    pointer-events:none;
}

/* MOBILE */
@media (max-width:768px){

.page-quienes .qs-tribute{
    padding:80px 20px;
}

.page-quienes .qs-tribute::after{
    width:440px;
    height:440px;
    right:-30px;
    bottom:-30px;
}

}

/* sección NOSOTROS */

.page-quienes .qs-about .qs-media {
    position: relative;
    display: inline-block;
}

.page-quienes .qs-about .qs-media img {
    display: block;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

/* FONDO decorativo SOLO aquí */
.page-quienes .qs-about .qs-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f6f4ed;
    border-radius: 32px;
    transform: translate(25px, 25px);
    z-index: 1;
}

@media (max-width: 768px) {

        .page-quienes .qs-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .page-quienes .qs-about .qs-media::after {
        display: none;
    }

}

/*  PAGE CONTACTO content-contacto.php  */

.page-contacto .contacto-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contacto-redes{
    margin-top:20px;
    display:flex;
    gap:18px;
}

.contacto-redes a{
    font-size:1.6rem;
    color:#313131;
    transition:opacity .3s ease;
}

.contacto-redes a:hover{
    opacity:.6;
}

/* Columna izquierda */

.page-contacto .contacto-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #CBB453;
    margin-bottom: 15px;
}

.page-contacto .contacto-title {
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 25px;
}

.page-contacto .contacto-info p {
    line-height: 1.8;
    color: #444;
}

/* Columna formulario */

.page-contacto .contacto-form-wrapper {
    background: #f9f7f2;
    padding: 50px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

/*  ESTILOS FLUENT FORM de esta pagina content-contacto*/

/* Labels */
.page-contacto .contacto-form-wrapper label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Inputs */
.page-contacto .contacto-form-wrapper input,
.page-contacto .contacto-form-wrapper textarea,
.page-contacto .contacto-form-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Focus elegante */
.page-contacto .contacto-form-wrapper input:focus,
.page-contacto .contacto-form-wrapper textarea:focus,
.page-contacto .contacto-form-wrapper select:focus {
    border-color: #CBB453;
    outline: none;
    box-shadow: 0 0 0 3px rgba(203,180,83,0.15);
}

/* Botón */
.page-contacto .contacto-form-wrapper button,
.page-contacto .contacto-form-wrapper .ff-btn-submit {
    background: #1c1c1c;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover botón */
.page-contacto .contacto-form-wrapper button:hover,
.page-contacto .contacto-form-wrapper .ff-btn-submit:hover {
    background: #CBB453;
    color: #1c1c1c;
}

/*   MOBILE  */

@media (max-width: 768px) {

    .page-contacto .contacto-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 70px 20px;
    }

    .page-contacto .contacto-info {
        text-align: center;
    }

    .page-contacto .contacto-info p {
        text-align: left;
    }

}


/* -------------------- tarjetas de producto loops woocommerce --------------------*/

ul.products li.product {
    background: #fff;
    border: 1px solid #e9e9e9;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin:auto;
}

/* Hover sutil */

ul.products li.product:hover {
    border-color: #d6d6d6;
    transform: translateY(-3px);
}

/* Imagen */

ul.products li.product img {
    margin: 0 auto 15px;
    border-radius: 6px;
}

/* Título */

ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
}

/* Precio */

ul.products li.product .price {
    font-size: 0.95rem;
    color: #666;

}

/* Botón */

ul.products li.product .button {
    display: inline-block;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    border: 1px solid #B8A461;
    background: transparent;
    color: #222;
    transition: all 0.25s ease;
    margin-top: 20px;
    border-radius: 6px;
    margin: 7px;
}

/* Hover botón */

ul.products li.product .button:hover {
    background: #B8A461;
    color: #fff;
}

/* Ocultar elementos innecesarios si aparecen */

ul.products li.product .star-rating {
    margin: 0 auto 10px;
}


/* ----------- cards dentro de tienda y tienda categoría --------------- */

/* ---------- GRID TIENDA ---------- */

.post-type-archive-product ul.products,
.tax-product_cat ul.products{
    display:grid;
    grid-template-columns:repeat(auto-fill,200px);
    justify-content:center;
    gap:70px;
}
/* ---------- CARD ---------- */

.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product{
    border:none !important;
    box-shadow:none !important;
    padding:0;
    margin:0;
    width:200px;      /* ancho fijo */
    max-width:200px;  /* seguridad */
    position:relative;
    text-align:center;
    overflow:hidden;
}

/* ---------- IMAGEN ---------- */

ul.products li.product img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    display:block;
    transition:all .35s ease;
}

/* ---------- OVERLAY BLANCO ---------- */

ul.products li.product::after{
    content:"";
    position:absolute;
    inset:0;
    background:#ffffff;
    opacity:0;
    transition:opacity .3s ease;
    pointer-events:none;
}

/* ---------- HOVER ---------- */

ul.products li.product:hover img{
    transform:scale(1.05);
}

ul.products li.product:hover::after{
    opacity:.25;
}

/* ---------- TITULO ---------- */

ul.products li.product h2{
    margin-top:15px;
}

/* ---------- PRECIO ---------- */

ul.products li.product .price{
    display:block;
    margin:8px 0 12px;
    text-align:center;
}

/* ---------- BOTON SOBRE IMAGEN ---------- */

.post-type-archive-product ul.products li.product .button,
.tax-product_cat ul.products li.product .button{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,20px);
    opacity:0;
    z-index:3;
    transition:all .3s ease;
    background:#fff;
}

/* hover boton */

.post-type-archive-product ul.products li.product:hover .button,
.tax-product_cat ul.products li.product:hover .button{
    background: #B8A461;
    color:#fff;
    opacity:1;
    transform:translate(-50%,0);
}

ul.products.columns-2 li.product,
ul.products.columns-3 li.product,
ul.products.columns-4 li.product{
    width:200px !important;
}