/* ===========================
   TIPOGRAFÍAS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #000000;
    background-color: #ffffff;
    line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
.h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: #000000;
    letter-spacing: 0.5px;
    text-transform: none;
}

/* ===========================
   COLORES DE MARCA
   =========================== */

:root {
    --brand-color: #a66665;
    --color-negro: #000000;
    --color-blanco: #ffffff;
}

/* Enlaces */
a {
    color: var(--color-negro);
    text-decoration: none;
}

a:hover,
a:focus,
body#checkout a:hover,
body#checkout a:focus {
    color: var(--brand-color);
}

#subcategories ul li .subcategory-name:hover,
.block-categories .arrows .arrow-down:hover,
.block-categories .arrows .arrow-right:hover,
.block-categories .collapse-icons .add:hover,
.block-categories .collapse-icons .remove:hover,
.cart-grid-body a.label:hover,
.product-miniature .highlighted-informations .quick-view:hover {
    color: var(--brand-color);
}

/* Botones */
.btn,
.featured-products .all-product-link {
    display: inline-block;
    padding: 1em 1.6em;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    height: fit-content;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-blanco);
    background-color: var(--brand-color);
    border: 1px solid var(--brand-color);
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover,
.btn:focus,
.featured-products .all-product-link:hover,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:disabled:hover {
    background-color: var(--color-negro);
    border-color: var(--color-negro);
    color: var(--color-blanco);
}

.carousel .carousel-item figure {
    display: block;
}

/* ===========================
   HEADER — BASE
   =========================== */

#header {
    background: var(--color-blanco);
    border-bottom: 1px solid #f0f0f0;
}

/* ===========================
   BARRA SUPERIOR
   =========================== */

.header-nav {
    font-size: .8em;
    background-color: var(--color-negro);
}

#header .header-nav .container {
    width: 1200px;
    max-width: 96%;
}

#header .header-nav .user-info,
#header .header-nav #_desktop_contact_link #contact-link,
.sitemap {
    margin-top: .5rem;
}

#header .header-nav .user-info a,
#header .header-nav #_desktop_contact_link #contact-link a,
.sitemap {
    color: var(--color-blanco);
}

#header .header-nav .blockcart {
    height: 2rem;
    padding: .35rem;
}

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

#header .header-top {
    padding: 1rem 0;
}

#header .header-top .container {
    width: 96%;
    max-width: 96%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#_desktop_logo {
    width: 14%;
}

.header-nav-center.hidden-sm-down {
    width: 77%;
    display: flex;
    justify-content: center;
}

.header-icons.hidden-sm-down {
    width: 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ===========================
   MENÚ PRINCIPAL
   =========================== */

#header .top-menu a,
#header .top-menu a[data-depth="0"] {
    font-size: .85em;
    color: var(--color-negro);
    text-transform: none;
}

#header .top-menu a:hover,
#header .top-menu a[data-depth="0"]:hover {
    color: var(--brand-color);
}

#header .top-menu .sub-menu {
    margin-top: 18px;
    width: max-content;
    min-width: max-content;
    left: auto;
}

/* ===========================
   BOTÓN LUPA
   =========================== */

.rubio-search-trigger {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--color-negro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}

.rubio-search-trigger:hover {
    color: var(--brand-color);
}

/* ===========================
   SEARCH OVERLAY
   =========================== */

.rubio-search-overlay {
    position: fixed;
    top: 10%;
    right: 0;
    width: 28%;
    height: 10%;
    background: var(--color-blanco);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rubio-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.rubio-search-overlay-inner {
    width: 100%;
    padding: 0 50px;
    position: relative;
}

.rubio-search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--color-negro);
    padding-bottom: 12px;
    gap: 12px;
}

.rubio-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-negro);
    background: transparent;
    padding: 0;
}

.rubio-search-input::placeholder {
    color: #ccc;
}

.rubio-search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-negro);
    display: flex;
    align-items: center;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.rubio-search-submit:hover {
    color: var(--brand-color);
}

.rubio-search-close {
    position: absolute;
    bottom: 110%;
    right: 50px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: color 0.2s;
}

.rubio-search-close:hover {
    color: var(--color-negro);
}

/* ===========================
   FOOTER
   =========================== */

#footer {
    background-color: var(--color-negro);
    color: #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid #222;
}

.footer-top .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
    gap: 50px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-blanco);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: .875rem;
    line-height: 1.2rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--brand-color);
}

.footer-brand .footer-logo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
    display: block;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #aaa;
    color: #aaa;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--brand-color);
    color: var(--brand-color);
    background: transparent;
}

.footer-newsletter p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form input[type="email"] {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 11px 16px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.footer-form input[type="email"]::placeholder {
    color: #666;
}

.footer-form input[type="email"]:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: none;
}

.footer-form .btn {
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    font-size: 0.8rem;
}

.footer-bottom {
    padding: 22px 0;
}

.footer-bottom .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copy {
    color: #737373;
    font-size: 0.8rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li a {
    color: #737373;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-legal li a:hover {
    color: var(--brand-color);
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-payments img {
    height: 22px;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.footer-payments img:hover {
    opacity: 0.9;
}

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

    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-newsletter {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-top .container,
    .footer-bottom .container {
        padding: 0 4em;
    }
}

/* ===========================
   ESPACIADOS Y CONTENEDORES
   =========================== */

h1,
h2 {
    margin-bottom: 20px;
}

.material-icons {
    font-size: 20px;
}

#wrapper .breadcrumb {
    margin: 0 1.4em 3em;
}

/* ===========================
   DETALLES VISUALES
   =========================== */

input,
textarea,
select {
    border-radius: 0;
    border: 1px solid #dcdcdc;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-color);
    box-shadow: none;
}

#wrapper {
    padding-top: 0;
    background: var(--color-blanco);
}

.js-content-wrapper {
    padding: 0;
}

.container {
    width: 100%;
}

/* ===========================
   HOME
   =========================== */

.carousel .carousel-inner {
    height: 650px;
}

.carousel .carousel-control {
    display: none;
}

#carousel .carousel-item figure>a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #57333387;
}

.carousel .carousel-item .caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: 500px;
} 

.carousel .carousel-item .caption .display-1 {
    font-size: 4em;
    color: var(--color-blanco);
}

.carousel .carousel-item .caption-description p {
    line-height: 1.2rem;
}

/* Custom text */
#custom-text {
    padding: 3.125rem 0 0;
    margin-bottom: 0;
}

#custom-text h2,
.h2.products-section-title.text-uppercase {
    font-size: 2.6em;
    text-transform: none;
}

/* ===========================
   CATEGORÍAS HOME 
   =========================== */

.rubio-categorias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px 300px;
    gap: 12px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 4em;
}
 
#custom-text .rubio-categorias .cat:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
 
#custom-text .rubio-categorias .cat:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
 
#custom-text .rubio-categorias .cat:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}
 
#custom-text .rubio-categorias .cat:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}
 
#custom-text .rubio-categorias .cat:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;
}
 
#custom-text .rubio-categorias .cat:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
}

.cat {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
}

#custom-text .rubio-categorias .cat a,
#custom-text .rubio-categorias .cat a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

#custom-text .rubio-categorias .cat a {
    position: absolute;
    inset: 0;
}

.cat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(61, 37, 37, .5), rgba(61, 37, 37, .8));
    pointer-events: none;
}

.cat-overlay h3 {
    color: var(--color-blanco);
    font-size: 26px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.cat:hover img {
    transform: scale(1.08);
}

.cat:hover .cat-overlay {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .45));
}

.cat:hover .cat-overlay h3 {
    display: none;
}

@media (max-width: 900px) {
    .rubio-categorias {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: fit-content;
        padding: 0 1em;
    }

    #custom-text .rubio-categorias .cat:nth-child(n) {
        grid-column: auto;
        grid-row: auto ;
    }
}

@media (max-width: 600px) {
    .rubio-categorias {
        grid-template-columns: 1fr;
    }
}

/* Faceted search */
.facet-dropdown.open>.select-title {
    border: 3px solid var(--brand-color);
}

.facet-dropdown .select-list:hover {
    background: var(--brand-color);
}

.facet-dropdown .dropdown-menu {
    box-shadow: none;
}

/* ===========================
   BANNER RUTINAS
   =========================== */

.rubio-rutinas {
    position: relative;
    max-width: 100%;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 5em;
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.rutinas-imagen {
    position: absolute;
    inset: 0;
    flex: none;
}

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

.rutinas-imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

.rutinas-texto {
    position: relative;
    z-index: 1;
    flex: none;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#custom-text .rutinas-texto h2 {
    font-size: 3rem;
    color: var(--color-blanco);
    margin-bottom: 20px;
    line-height: 1.2;
}

#custom-text .rutinas-texto p {
    color: var(--color-blanco);
    line-height: 1.4em;
}

@media (max-width: 900px) {
    .rubio-rutinas {
        min-height: 420px;
        margin: 50px 0;
    }
}

@media (max-width: 600px) {
    .rubio-rutinas {
        min-height: 360px;
    }

    .rutinas-texto {
        padding: 40px 24px;
    }

    #custom-text .rutinas-texto h2 {
        font-size: 1.7rem;
    }
}

/* ===========================
   GARANTÍAS
   =========================== */

.rubio-garantias {
    background-color: #a6666512;
    padding: 4em 2em;
    text-align: center;
    margin: 5em 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.garantia-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding: 0 50px;
    flex: 0 0 auto;
}

.garantia-icon {
    max-width: 40px;
    color: var(--brand-color);
}

.garantia-texto strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-negro);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.garantia-texto p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

.garantia-sep {
    width: 2px;
    height: 40px;
    background: #e8ddd5;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .garantia-item {
        padding: 0 20px;
    }

    .garantia-sep {
        display: none;
    }
}

@media (max-width: 600px) {
    .rubio-garantias {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px 20px;
    }

    .garantia-item {
        padding: 0;
    }
}

#products .up .btn-secondary,
#products .up .btn-tertiary {
    color: #fff;
}

/* ===========================
   REVIEWS
   =========================== */

.rubio-reviews {
    background-color: #a6666512;
    padding: 6em 2em;
    text-align: center;
    margin: 5em 0 0;
}

.rubio-reviews h2 {
    margin-bottom: .8em;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--color-blanco);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.review-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.review-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--brand-color);
    font-weight: 500;
}

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

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

    .rubio-reviews h2 {
        font-size: 1.6rem;
    }
}

/* ===========================
   BANNER LOCAL
   =========================== */

.rubio-local {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.rubio-local-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rubio-local-texto {
    background: var(--color-negro);
    padding: 6em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rubio-local-texto .about-label {
    color: var(--brand-color);
    text-align: left;
}

#custom-text .rubio-local-texto h2 {
    color: var(--color-blanco);
    margin-bottom: 20px;
    text-align: left;
}

#custom-text .rubio-local-texto p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aaa;
    text-align: left;
    margin-bottom: 14px;
}

.rubio-local-texto .btn {
    margin: .4em 0;
    align-self: start;
}

.rubio-local-texto .btn:hover {
    background: transparent;
    color: var(--color-blanco);
    border-color: var(--color-blanco);
}

@media (max-width: 900px) {
    .rubio-local {
        grid-template-columns: 1fr;
    }

    .rubio-local-imagen img {
        min-height: 300px;
    }

    .rubio-local-texto {
        padding: 50px 30px;
    }
}

/* ===========================
   CARRUSEL MARCAS
   =========================== */

.rubio-marcas {
    padding: 6em 0 2em;
    overflow: hidden;
    text-align: center;
}

.rubio-marcas h2 {
    margin-bottom: 1em;
}

.marcas-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.marcas-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    will-change: transform;
}

.marca-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 160px;
}

.marca-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.marca-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===========================
   FEATURED PRODUCTS — CARRUSEL
   =========================== */

.featured-products {
    max-width: 1200px;
    margin: 5em auto 0;
    padding: 0 1em;
    position: relative;
}

.featured-products .products.row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    align-items: stretch;
}

.featured-products .products.row::-webkit-scrollbar {
    display: none;
}

.featured-products .js-product {
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
    padding: 0 8px;
    margin: 0.4em 0;
    transition: transform 0.3s ease;
}

.featured-products .js-product:hover {
    transform: translateY(-5px);
}

.featured-products .product-miniature {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.rubio-slider-prev,
.rubio-slider-next {
    position: absolute;
    top: calc(50% + 20px);
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-blanco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.rubio-slider-prev {
    left: 0;
}

.rubio-slider-next {
    right: 0;
}

.rubio-slider-prev::before,
.rubio-slider-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-negro);
    border-right: 2px solid var(--color-negro);
    transition: border-color 0.3s ease;
}

.rubio-slider-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.rubio-slider-next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.rubio-slider-prev:hover,
.rubio-slider-next:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
}

.rubio-slider-prev:hover::before,
.rubio-slider-next:hover::before {
    border-color: #fff;
}

.product-flags li.product-flag {
    background: var(--brand-color);
}

/* ===========================
   CATEGORÍA — LAYOUT
   =========================== */

.page-category #wrapper,
.page-product #wrapper {
    margin-top: 1.4em;
}

.page-cms #wrapper,
.page-authentication #wrapper {
    margin-top: 1.4em;
    margin-left: 1.4em;
}

#left-column {
    padding-right: 30px;
}

.page-category .row,
.page-product .row {
    width: 96%;
    margin: auto;
}

.block-categories {
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    padding: 20px;
    min-height: 150px;
}

.block-categories .category-top-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block-categories .category-top-menu>li>a {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-negro);
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.category-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-sub-menu li[data-depth="0"]>a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-negro);
    display: block;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.category-sub-menu li[data-depth="0"]>a:hover {
    color: var(--brand-color);
}

.category-sub-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    display: block;
    padding: 6px 0 6px 12px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.category-sub-link:hover {
    color: var(--brand-color);
    border-left-color: var(--brand-color);
    padding-left: 16px;
}

.collapse-icons {
    float: right;
    cursor: pointer;
}

.collapse-icons .material-icons {
    font-size: 1rem;
    color: #999;
}

.collapse-icons .material-icons.remove {
    display: none;
}

.collapse-icons[aria-expanded="true"] .material-icons.add {
    display: none;
}

.collapse-icons[aria-expanded="true"] .material-icons.remove {
    display: inline;
}

.block-category {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 2em 0;
    min-height: max-content;
}

.block-category .h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-negro);
    margin-bottom: 0;
}

.block-category #category-description {
    margin: 1.4em 0;
    line-height: 1.4em;
}

#subcategories {
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 40px;
}

.subcategory-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-negro);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.subcategories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategories-list li {
    border: 1px solid #a666654f;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.subcategories-list li:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.subcategory-image {
    display: none;
}

.subcategories-list h5 {
    padding: 1em;
    margin: 0;
}

.subcategory-name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 500;
    color: var(--color-negro);
    transition: color 0.2s ease;
}

#subcategories ul li .subcategory-name:hover {
    color: var(--brand-color);
}

.cat_desc {
    padding: 0 16px 16px;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.6;
}

.cat_desc p {
    margin: 0;
}

#js-product-list {
    margin-top: 4em;
}

.page-not-found h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-negro);
    margin-bottom: 10px;
}

.page-not-found p {
    font-size: .9rem;
    color: #777;
    margin-bottom: 24px;
}

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

@media (max-width: 768px) {
    #left-column {
        padding-right: 15px;
        margin-bottom: 30px;
    }

    #content-wrapper {
        padding-left: 0;
    }

    .carousel .carousel-item .caption {
        left: 0;
        bottom: 10%;
    }

    .carousel .carousel-item .caption .display-1 {
        font-size: 2em;
    }

    .carousel .carousel-item img {
        transform: translateY(0px);
        height: 400px;
        object-fit: cover;
    }

    .carousel .carousel-inner {
        height: 400px;
    }

    .carousel .carousel-item .caption .caption-description p {
        color: white;
    }

    .rutinas-texto {
        flex: auto;
    }
}

@media (max-width: 600px) {
    .subcategories-list {
        grid-template-columns: 1fr;
    }

    .block-category .h1 {
        font-size: 1.5rem;
    }
}

/* ===========================
   CONTACTO
   =========================== */

.page-contact #left-column,
.page-contact #wrapper .breadcrumb {
    display: none;
}

.page-contact #content-wrapper {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.rubio-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.contact-hero p {
    font-size: 1rem;
    color: #666;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: #a6666512;
    border: 1px solid #f0e8dc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-color);
}

.contact-info-block h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--color-negro);
    margin-bottom: 4px;
}

.contact-info-block p {
    font-size: 0.9rem;
    color: #444;
    margin: 0 0 4px;
    line-height: 1.5;
}

.contact-info-block p a {
    color: #444;
    transition: color 0.2s ease;
}

.contact-info-block p a:hover {
    color: var(--brand-color);
}

.contact-info-block span {
    font-size: 0.78rem;
    color: #999;
}

.contact-social h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--color-negro);
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 10px;
}

.contact-social-links .social-link {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.contact-social-links .social-link:hover {
    border-color: var(--brand-color);
    color: var(--brand-color);
}

.contact-form-wrapper {
    background: var(--color-blanco);
    border: 1px solid #f0f0f0;
    padding: 40px;
}

.contact-form-wrapper h2 {
    font-size: 1.4rem;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.rubio-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-contact .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.page-contact .form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-negro);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.page-contact .form-group label span {
    color: var(--brand-color);
    margin-left: 2px;
}

.page-contact .form-group label span.optional {
    color: #999;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.rubio-contact-form input[type="text"],
.rubio-contact-form input[type="email"],
.rubio-contact-form select,
.rubio-contact-form textarea {
    border: 1px solid #dcdcdc;
    border-radius: 0;
    padding: 11px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--color-negro);
    background: var(--color-blanco);
    transition: border-color 0.3s ease;
    width: 100%;
}

.rubio-contact-form input::placeholder,
.rubio-contact-form textarea::placeholder {
    color: #bbb;
}

.rubio-contact-form input:focus,
.rubio-contact-form select:focus,
.rubio-contact-form textarea:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: none;
}

.rubio-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.rubio-contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group-file input[type="file"] {
    padding: 8px 0;
    border: none;
    font-size: 0.82rem;
    color: #666;
    cursor: pointer;
}

.file-hint {
    font-size: 0.75rem;
    color: #aaa;
}

.rubio-contact-form .btn {
    align-self: flex-start;
    margin-top: 6px;
}

.contact-alert {
    padding: 14px 18px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    border-left: 3px solid;
}

.contact-alert-error {
    background: #fff5f5;
    border-color: #e53935;
    color: #c62828;
}

.contact-alert-success {
    background: #f5fdf5;
    border-color: #43a047;
    color: #2e7d32;
}

.contact-alert p {
    margin: 0;
}

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

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .contact-info-block {
        flex: 1 1 200px;
    }
}

@media (max-width: 600px) {
    .rubio-contact {
        padding: 40px 20px 60px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .page-contact .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
    }

    .rubio-contact-form .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   PÁGINA DE PRODUCTO
   =========================== */

.page-product #content-wrapper {
    padding: 0 20px;
}

.product-cover {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.product-cover .layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
}

.product-cover:hover .layer {
    opacity: 1;
}

.product-cover .layer .material-icons {
    color: var(--color-blanco);
    font-size: 2rem;
}

.product-images {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.thumb-container {
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.product-images>li.thumb-container .thumb.selected,
.product-images>li.thumb-container .thumb:hover {
    border: var(--brand-color) 3px solid;
}

.thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-flags {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    gap: 6px;
}

.product-flag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    color: var(--color-blanco);
}

.product-flag.new {
    background: var(--color-negro);
}

.product-flag.discount,
.product-flag.on-sale {
    background: var(--brand-color);
}

.page-product .h1 {
    font-size: 1.8rem;
}

.product-prices {
    margin-bottom: 20px;
}

.current-price-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-negro);
}

.regular-price {
    font-size: 1rem;
    color: #aaa;
    text-decoration: line-through;
}

.discount-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blanco);
    background: var(--brand-color);
    padding: 3px 8px;
}

.product-description-short {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.product-description-short h2:empty {
    display: none;
}

.product-variants {
    margin-bottom: 20px;
}

.product-variants-item {
    margin-bottom: 14px;
}

.product-variants-item .control-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--color-negro);
    margin-bottom: 8px;
}

.product-variants-item select.form-control-select {
    border: 1px solid #dcdcdc;
    border-radius: 0;
    padding: 10px 36px 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--color-negro);
    background-color: var(--color-blanco);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    width: 100%;
    max-width: 260px;
    transition: border-color 0.3s ease;
}

.product-variants-item select:focus {
    border-color: var(--brand-color);
    outline: none;
    box-shadow: none;
}

.product-add-to-cart {
    margin-bottom: 20px;
}

.product-add-to-cart>.control-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--color-negro);
    margin-bottom: 8px;
}

.product-quantity {
    gap: 1em;
    margin-bottom: 1em;
}

.input-group.bootstrap-touchspin {
    border: 1px solid #dcdcdc;
}

.input-group.bootstrap-touchspin input[type="number"] {
    width: 56px;
    text-align: center;
    border: none;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    border-radius: 0;
    font-size: 0.9rem;
    padding: 8px 4px;
    -moz-appearance: textfield;
}

.input-group.bootstrap-touchspin input[type="number"]::-webkit-outer-spin-button,
.input-group.bootstrap-touchspin input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.bootstrap-touchspin .btn-touchspin {
    color: var(--color-negro);
    border: none;
}

.bootstrap-touchspin .btn-touchspin:hover {
    color: var(--color-negro);
}

.add-to-cart {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 13px 28px;
    background: var(--brand-color);
    border: 1px solid var(--brand-color);
    color: var(--color-blanco);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: var(--color-negro);
    border-color: var(--color-negro);
}

.add-to-cart .material-icons {
    font-size: 1.1rem;
}

#product-availability {
    margin-top: 10px;
}

#product-availability .alert-warning {
    background: transparent;
    border: 1px solid var(--brand-color);
    font-size: 0.82rem;
    color: #a66665;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
    border-bottom: #a66665 3px solid;
}

.tabs .nav-tabs .nav-link.active {
    color: #a66665;
}

#product-availability .alert-warning .material-icons {
    font-size: 1rem;
    color: var(--brand-color);
}

.alert-content-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blockreassurance_product {
    display: flex;
    gap: 20px;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.blockreassurance_product>div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 140px;
}

.blockreassurance_product p {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.tabs {
    margin-top: 30px;
}

.nav-tabs {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.nav-tabs .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #999;
    padding: 12px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    display: block;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-tabs .nav-link:hover {
    color: var(--color-negro);
    border-bottom-color: var(--brand-color);
}

.nav-tabs .nav-link.active {
    color: var(--brand-color);
    border-bottom-color: var(--brand-color);
}

.tab-content .product-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.tab-content .product-description h2 {
    display: none;
}

.product-quantities label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--color-negro);
    margin-right: 6px;
}

.product-quantities span {
    font-size: 0.85rem;
    color: #666;
}

.product-reassurance-banner {
    background: #a6666512;
    margin: 3em 0;
    padding: 2em 4em;
}

.product-reassurance-banner .blockreassurance_product {
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;
    border: none;
    padding: 0;
    margin: 0;
}

.product-reassurance-banner .blockreassurance_product>div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
    flex: 0 0 auto;
    max-width: 180px;
}

.product-reassurance-banner svg {
    width: 40px !important;
    height: 40px !important;
}

.product-reassurance-banner svg path,
.item-product svg path {
    fill: var(--brand-color);
}

.blockreassurance_product .block-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.product-reassurance-banner p {
    font-size: 0.75rem;
    color: #999 !important;
    line-height: 1.4;
    margin: 0;
}

.product-accessories-section {
    margin: 50px 0;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.product-accessories-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
    text-align: center;
}

.product-description ul,
.product-description ol {
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-description ul li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.product-description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: var(--brand-color);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .product-reassurance-banner {
        padding: 24px 20px;
    }

    .product-reassurance-banner .blockreassurance_product {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .product-reassurance-banner .blockreassurance_product {
        flex-direction: row;
        justify-content: space-around;
        gap: 20px;
    }

    .product-reassurance-banner .blockreassurance_product>div {
        max-width: 120px;
    }

    .product-tabs-section {
        padding: 0;
    }
}

/* ===========================
   SHOP
   =========================== */
.form-control:focus { 
  outline: .1875rem solid var(--brand-color);
}
.form-control:focus {
  border-color: var(--brand-color); 
}

#blockcart-modal .product-name {
    font-size: 1.125rem;
    color: var(--brand-color);
}

#header .header-nav .cart-preview.active {
    background: var(--brand-color);
}

.page-cart .cart-grid.row {
    max-width: 96%;
    margin: 1em auto;
}

.page-order .container,
.page-search #wrapper .container {
    max-width: 96%;
    margin: 1em auto;
}

.page-cart .product-price {
    color: var(--brand-color);
    margin-top: .4em;
}

.page-cart .blockreassurance_product p,
.page-order .blockreassurance_product p {
    display: none;
}

.blockreassurance_product .item-product {
    height: 45px;
}

body#checkout section.checkout-step.-reachable.-current .step-number {
    background-color: var(--brand-color);
}

#main .page-footer {
    margin-bottom: 0;
}

/* ===========================
   PAGS MARCAS
   =========================== */

.page-manufacturer #wrapper {
    margin-top: 1em;
}

.page-manufacturer #main {
    margin: 0 4em;
}

/* ===========================
   SOBRE NOSOTROS
   =========================== */

.cms-id-4 #wrapper,
.page-content.page-cms.page-cms-4 {
    padding: 0;
    margin: 0;
}

.cms-id-4 #wrapper .breadcrumb,
.cms-id-4 .page-header {
    display: none;
}

.rubio-about {
    max-width: 100%;
    overflow-x: hidden;
}

.about-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-color);
    margin-bottom: 14px;
}

.about-hero {
    background-color: #a6666512;
    padding: 90px 40px;
    text-align: center;
    position: relative;
}

.about-hero-inner {
    max-width: 740px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
}

.about-filosofia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 40px;
}

.about-filosofia-texto h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 18px;
    text-align: left;
}

.about-filosofia-texto>p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 32px;
    text-align: left;
}

.about-values {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-values li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    color: var(--brand-color);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.about-values strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-negro);
    margin-bottom: 4px;
}

.about-values p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.about-filosofia-imagen img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.about-mueve {
    background: var(--color-negro);
    padding: 80px 40px;
    text-align: center;
}

.about-mueve-inner {
    max-width: 700px;
    margin: 0 auto;
}

.about-mueve .about-label {
    color: var(--brand-color);
}

.about-mueve h2 {
    font-size: 2rem;
    color: var(--color-blanco);
    margin-bottom: 20px;
}

.about-mueve p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 14px;
}

/* Líneas — fix separación y h2 */
.about-lineas {
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 40px;
    text-align: center;
}

.about-lineas>.about-label {
    display: block;
    margin-bottom: 14px;
}

.about-lineas>h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.about-lineas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-linea-card {
    position: relative;
    text-align: left;
    padding: 28px 24px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.about-linea-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.about-linea-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-color);
    transform: translateY(-3px);
    cursor: pointer;
}

.about-linea-card:hover h3 {
    color: var(--brand-color);
    transition: color 0.2s;
}

.about-linea-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #f0e8dc;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1;
}

.about-linea-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.about-linea-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.about-comunidad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #a6666512;
}

.about-comunidad-texto {
    padding: 90px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-comunidad-texto h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.about-comunidad-texto p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 28px;
    text-align: left;
}

.about-comunidad-imagen img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
}

.about-cierre {
    text-align: center;
    padding: 90px 40px;
    max-width: 640px;
    margin: 0 auto;
}

.about-cierre h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.about-cierre p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 14px;
}

.about-cierre-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--brand-color) !important;
    margin-bottom: 30px !important;
}

@media (max-width: 1100px) {
    .about-lineas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .about-filosofia,
    .about-comunidad {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-filosofia-imagen img {
        height: 360px;
    }

    .about-comunidad-texto {
        padding: 50px 30px;
    }

    .about-lineas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 60px 20px;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-filosofia {
        padding: 50px 20px;
    }

    .about-lineas {
        padding: 50px 20px;
    }

    .about-lineas-grid {
        grid-template-columns: 1fr;
    }

    .about-mueve {
        padding: 50px 20px;
    }

    .about-cierre {
        padding: 50px 20px;
    }
}

/* ===========================
   HEADER MÓVIL
   =========================== */

.header-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-mobile #_mobile_cart,
.header-mobile #_mobile_user_info {
    display: flex;
    align-items: center;
}

.header-mobile #menu-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px;
}

.header-mobile #menu-icon .material-icons {
    font-size: 24px;
    color: var(--color-negro);
}

/* En móvil el logo queda centrado */
@media (max-width: 991px) {
    .header-top-inner {
        position: relative;
        height: 64px;
        padding: 0 16px;
    }

    #_desktop_logo {
        width: 38%;
    }

    .header-logo {
        position: absolute;
    }

    .header-logo img {
        max-height: 36px;
        width: auto;
    }

    .header-logo h1 {
        margin: 0;
        line-height: 1;
    }
}