/* =========================================================
   DOMURA — ESTILOS PRINCIPALES
   ========================================================= */


/* =========================================================
   1. CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}


/* =========================================================
   2. HEADER DOMURA
   ========================================================= */

header {
    background-color: #F5EFE7;
    border-bottom: 1px solid #E5DACE;
}


/* =========================================================
   2.1 BARRA SUPERIOR
   ========================================================= */

.top-bar {
    height: 38px;
    background-color: #3B311B;
    color: #F5EFE6;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 40px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.top-bar-left,
.top-bar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left {
    justify-self: start;
}

.top-bar-center {
    justify-self: center;
    justify-content: center;
    white-space: nowrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.top-bar-left i,
.top-bar-center i,
.secure-purchase i {
    font-size: 11px;
}

.secure-purchase {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icons a {
    color: #F5EFE6;
    text-decoration: none;
    font-size: 13px;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.65;
    transform: translateY(-1px);
}


/* =========================================================
   2.2 HEADER PRINCIPAL
   ========================================================= */

.top-header {
    height: 105px;

    background-color: #F5EFE6;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 25px;

    padding: 0 45px;

    border-bottom: 1px solid #E5DDD2;

    position: relative;
    overflow: visible;
}


/* =========================================================
   2.3 MARCA DOMURA
   ========================================================= */

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    gap: 14px;

    height: 105px;
    align-self: center;
}


/* LOGO */

.domura-logo {
    width: 128px;
    height: 128px;

    object-fit: contain;
    flex-shrink: 0;
    display: block;
}


/* BLOQUE TEXTO */

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    height: 105px;
}


/* NOMBRE */

.brand-text .logo {
    font-family: "Cormorant Garamond", serif;

    font-size: 32px;
    font-weight: 600;
    letter-spacing: 4px;

    color: #3B2A20;
    line-height: 1;
}


/* SLOGAN */

.brand-text .slogan {
    margin-top: 6px;

    font-family: "Lato", sans-serif;

    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #806B5C;

    white-space: nowrap;
}


/* =========================================================
   2.4 MENÚ PRINCIPAL
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 34px;

    white-space: nowrap;
    align-self: center;
}

.main-nav a {
    position: relative;

    text-decoration: none;

    color: #4A3528;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;

    padding: 8px 0;

    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #9A765B;
}


/* MENÚ ANTIGUO OCULTO */

header > .main-nav {
    display: none;
}


/* =========================================================
   2.5 ACCIONES DEL HEADER
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    align-self: center;
}


/* =========================================================
   2.6 BUSCADOR
   ========================================================= */

.search-box {
    display: flex;
    align-items: center;

    width: 220px;
    height: 40px;

    border: 1px solid #CFC1B3;
    border-radius: 22px;

    background-color: #FBF8F3;

    padding: 0 14px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.search-box input {
    flex: 1;
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-family: "Lato", sans-serif;
    font-size: 12px;

    color: #3B2A20;
}

.search-box input::placeholder {
    color: #8F8175;
}

.search-box:focus-within {
    border-color: #8D7969;

    box-shadow:
        0 3px 12px rgba(74, 53, 40, 0.08);
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex-shrink: 0;

    border: none;
    background: transparent;

    color: #4A3528;

    font-size: 14px;

    padding: 0;
    margin-right: 8px;
}


/* =========================================================
   2.7 ICONO CUENTA
   ========================================================= */

.account-button {
    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 19px;
    color: #4A3528;
}


/* =========================================================
   2.8 ICONO CARRITO
   ========================================================= */

.cart-button {
    position: relative;

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 19px;
    color: #4A3528;
}


/* =========================================================
   2.9 CONTADOR CARRITO
   ========================================================= */

#cart-count {
    position: absolute;

    top: -8px;
    right: -9px;

    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #4A3728;
    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
}


/* =========================================================
   2.10 BOTÓN MENÚ MÓVIL
   ========================================================= */

.mobile-menu-button {
    display: none;

    border: none;
    background: transparent;

    color: #3B2A20;

    padding: 0;
}


/* =========================================================
   3. CONTENIDO PRINCIPAL
   ========================================================= */

main {
    padding: 0 0 50px;
}


/* =========================================================
   4. CATEGORÍAS
   ========================================================= */

.categories {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 30px;

    padding: 10px 10px 30px;

    flex-wrap: wrap;
}

.categories a {
    text-decoration: none;

    color: #6F6258;

    font-size: 12px;
    letter-spacing: 0.8px;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.categories a:hover {
    color: #4A3728;
    opacity: 0.65;
}


/* =========================================================
   5. HERO ANTIGUO
   ========================================================= */

.hero {
    text-align: center;

    padding: 70px 20px;

    background-color: #F8F4EF;

    margin-bottom: 55px;
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: 48px;
    font-weight: 500;

    color: #4A3728;

    margin-bottom: 15px;
}

.hero p {
    max-width: 650px;

    margin: 0 auto;

    color: #6F6258;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   6. SECCIÓN PRODUCTOS
   ========================================================= */

.products-section {
    padding: 20px 0 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title p {
    margin-bottom: 5px;

    color: #9A8878;

    font-family: "Lato", sans-serif;

    font-size: 10px;
    letter-spacing: 3px;
}

.section-title h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 36px;
    font-weight: 500;

    color: #4A3728;
}


/* =========================================================
   7. CUADRÍCULA PRODUCTOS
   ========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 35px;

    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   8. TARJETA PRODUCTO
   ========================================================= */

.product-card {
    background-color: #ffffff;

    border: 1px solid #E8DED4;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(74, 55, 40, 0.08);
}


/* =========================================================
   9. IMAGEN PRODUCTO
   ========================================================= */

.product-image {
    width: 100%;
    height: 330px;

    overflow: hidden;

    background-color: #F5EFE7;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}


/* =========================================================
   10. INFORMACIÓN PRODUCTO
   ========================================================= */

.product-info {
    padding: 20px;
}

.product-code {
    display: block;

    margin-bottom: 7px;

    color: #9A8878;

    font-size: 10px;
    letter-spacing: 1.5px;
}

.product-info h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 24px;
    font-weight: 500;

    color: #4A3728;

    margin-bottom: 8px;

    line-height: 1.2;
}

.product-info p {
    font-size: 13px;

    color: #777777;

    line-height: 1.6;

    margin-bottom: 18px;
}

.product-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;

    color: #4A3728;

    white-space: nowrap;
}

.product-price.bajo-pedido {
    font-size: 11px;

    letter-spacing: 1px;

    color: #8B7563;
}


/* =========================================================
   11. BOTÓN AGREGAR
   ========================================================= */

.add-to-cart-button {
    border: none;

    background-color: #4A3728;
    color: #ffffff;

    padding: 11px 17px;

    font-size: 11px;
    letter-spacing: 0.8px;

    white-space: nowrap;

    border-radius: 25px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.add-to-cart-button:hover {
    background-color: #6B5140;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(74, 55, 40, 0.18);
}

.add-to-cart-button i {
    margin-right: 6px;

    font-size: 10px;
}


/* =========================================================
   12. CARRITO
   ========================================================= */

.cart-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: 430px;
    max-width: 92%;

    height: 100vh;

    background-color: #ffffff;

    box-shadow:
        -10px 0 35px rgba(0, 0, 0, 0.12);

    z-index: 1000;

    padding: 30px;

    overflow-y: auto;

    transform: translateX(100%);

    transition:
        transform 0.3s ease;
}

.cart-panel.active {
    transform: translateX(0);
}


/* =========================================================
   12.1 HEADER CARRITO
   ========================================================= */

.cart-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    margin-bottom: 10px;

    border-bottom: 1px solid #E8DED4;
}

.cart-header h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 32px;
    font-weight: 500;

    color: #4A3728;
}

.cart-header button {
    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    color: #4A3728;

    font-size: 26px;
}


/* =========================================================
   13. PRODUCTOS CARRITO
   ========================================================= */

.cart-items {
    padding: 5px 0;
}

.empty-cart {
    padding: 35px 0;

    text-align: center;

    color: #999999;

    font-size: 13px;
}

.cart-product {
    display: grid;

    grid-template-columns:
        75px 1fr auto;

    gap: 14px;

    padding: 18px 0;

    border-bottom: 1px solid #E8DED4;
}

.cart-product-image {
    width: 75px;
    height: 75px;

    object-fit: cover;

    background-color: #F5EFE7;
}

.cart-product-info {
    min-width: 0;
}

.cart-product-code {
    display: block;

    margin-bottom: 3px;

    color: #9A8878;

    font-size: 9px;
    letter-spacing: 1px;
}

.cart-product-info h3 {
    margin-bottom: 5px;

    color: #4A3728;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.2;
}

.cart-product-info p {
    margin-bottom: 2px;

    color: #777777;

    font-size: 11px;
}

.cart-product-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    align-self: center;
}

.cart-product-actions button {
    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #DCCFC2;

    background-color: #ffffff;

    color: #4A3728;

    font-size: 14px;
}

.cart-product-actions span {
    min-width: 18px;

    text-align: center;

    color: #4A3728;

    font-size: 12px;
}

.cart-product-actions .remove-product {
    margin-left: 5px;

    border: none;

    color: #999999;

    font-size: 18px;
}

.cart-product-actions .remove-product:hover {
    color: #4A3728;
}


/* =========================================================
   14. FOOTER CARRITO
   ========================================================= */

.cart-footer {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #DCCFC2;
}

.cart-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;

    color: #4A3728;

    font-size: 15px;
}

.cart-total strong {
    font-size: 19px;
}


/* =========================================================
   15. BOTÓN CHECKOUT
   ========================================================= */

.checkout-button {
    width: 100%;

    padding: 14px;

    border: none;

    background-color: #4A3728;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 0.7px;

    transition:
        background-color 0.2s ease;
}

.checkout-button:hover {
    background-color: #6F6258;
}


/* =========================================================
   16. CHECKOUT
   ========================================================= */

.checkout-modal {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background-color: rgba(35, 28, 23, 0.45);

    z-index: 2000;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.checkout-modal.active {
    opacity: 1;

    visibility: visible;
}

.checkout-box {
    width: 100%;

    max-width: 550px;

    max-height: 90vh;

    overflow-y: auto;

    background-color: #ffffff;

    padding: 35px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2);
}

.checkout-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;

    margin-bottom: 20px;

    border-bottom: 1px solid #E8DED4;
}

.checkout-header h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 32px;
    font-weight: 500;

    color: #4A3728;
}

.checkout-header button {
    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    color: #4A3728;

    font-size: 26px;
}


/* =========================================================
   17. PRODUCTOS CHECKOUT
   ========================================================= */

.checkout-items {
    margin-bottom: 20px;
}

.checkout-product {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #E8DED4;
}

.checkout-product img {
    width: 70px;
    height: 70px;

    object-fit: cover;

    background-color: #F5EFE7;
}

.checkout-product > div {
    flex: 1;
}

.checkout-product span {
    display: block;

    margin-bottom: 3px;

    color: #9A8878;

    font-size: 9px;
    letter-spacing: 1px;
}

.checkout-product h3 {
    margin-bottom: 4px;

    color: #4A3728;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;
    font-weight: 500;
}

.checkout-product p {
    margin-bottom: 3px;

    color: #777777;

    font-size: 12px;
}

.checkout-product strong {
    color: #4A3728;

    font-size: 13px;
}


/* =========================================================
   18. TOTAL CHECKOUT
   ========================================================= */

.checkout-total {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 18px 0;

    margin-bottom: 20px;

    border-top: 1px solid #DCCFC2;
    border-bottom: 1px solid #DCCFC2;

    color: #4A3728;

    font-size: 15px;
}

.checkout-total strong {
    font-size: 19px;
}


/* =========================================================
   19. DATOS CLIENTE
   ========================================================= */

.customer-data {
    margin-top: 20px;
}

.customer-data h3 {
    margin-bottom: 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: 24px;
    font-weight: 500;

    color: #4A3728;
}

.customer-data input {
    width: 100%;

    display: block;

    padding: 13px 12px;

    margin-bottom: 12px;

    border: 1px solid #DCCFC2;

    background-color: #ffffff;

    color: #333333;

    font-size: 13px;

    outline: none;
}

.customer-data input::placeholder {
    color: #999999;
}

.customer-data input:focus {
    border-color: #8B7563;
}


/* =========================================================
   20. BOTÓN CONTINUAR
   ========================================================= */

.checkout-confirm {
    width: 100%;

    padding: 14px;

    margin-top: 8px;

    border: none;

    background-color: #4A3728;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 0.7px;

    transition:
        background-color 0.2s ease;
}

.checkout-confirm:hover {
    background-color: #6F6258;
}


/* =========================================================
   21. WHATSAPP
   ========================================================= */

.whatsapp-button {
    width: 100%;

    padding: 14px;

    margin-top: 10px;

    border: none;

    background-color: #5B765B;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 0.5px;

    transition: opacity 0.2s ease;
}

.whatsapp-button:hover {
    opacity: 0.85;
}


/* =========================================================
   22. ADMINISTRACIÓN / PEDIDOS
   ========================================================= */

.admin-orders {
    max-width: 1100px;

    margin: 40px auto;

    padding: 20px;
}

.admin-orders h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 36px;
    font-weight: 500;

    color: #4A3728;

    margin-bottom: 25px;
}

.order-card {
    background-color: #F8F4EF;

    border: 1px solid #E5DACE;

    padding: 20px;

    margin-bottom: 20px;
}

.order-card h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    color: #4A3728;

    margin-bottom: 10px;
}

.order-card p {
    font-size: 13px;

    color: #666666;

    margin-bottom: 5px;
}

/* =========================================================
   12.5 FICHA DE PRODUCTO
   ========================================================= */

.product-detail-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(43, 33, 27, 0.55);

    z-index: 5000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.product-detail-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.product-detail-box {
    position: relative;

    width: 100%;
    max-width: 1100px;
    max-height: 90vh;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 55px;

    padding: 45px;

    background: #FFFFFF;

    overflow-y: auto;

    box-shadow:
        0 25px 70px rgba(43, 33, 27, 0.22);

    border: 1px solid #E8DED4;
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.product-detail-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: #F5EFE7;

    color: #4A3728;

    font-size: 25px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.product-detail-close:hover {
    background: #4A3728;
    color: #FFFFFF;
}


/* =========================================================
   GALERÍA
   ========================================================= */

.product-detail-gallery {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


/* =========================================================
   IMAGEN PRINCIPAL
   ========================================================= */

.product-detail-main-image {
    width: 100%;
    height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F7F3EE;

    overflow: hidden;
}

.product-detail-main-image {
    cursor: zoom-in;
}

.product-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-detail-main-image:hover img {
    transform: scale(1.15);
}


/* =========================================================
   MINIATURAS
   ========================================================= */

.product-detail-thumbnails {
    display: flex;

    gap: 10px;

    padding-top: 3px;
}

.product-detail-thumbnail {
    width: 76px;
    height: 76px;

    object-fit: cover;

    border: 1px solid #E5DACE;

    background: #F7F3EE;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.product-detail-thumbnail:hover {
    border-color: #8B7563;

    opacity: 0.8;

    transform: translateY(-2px);
}

.product-detail-thumbnail.active {
    border: 2px solid #4A3728;
    opacity: 1;
}

/* =========================================================
   INFORMACIÓN
   ========================================================= */

.product-detail-info {
    padding: 10px 25px 10px 0;
}


/* =========================================================
   CÓDIGO
   ========================================================= */

.product-detail-code {
    display: block;

    margin-bottom: 10px;

    color: #9A8878;

    font-size: 11px;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* =========================================================
   NOMBRE
   ========================================================= */

.product-detail-info h2 {
    margin: 0 0 14px;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;
    font-weight: 500;

    color: #4A3728;

    line-height: 1.05;
}


/* =========================================================
   PRECIO
   ========================================================= */

.product-detail-price {
    margin-bottom: 22px;

    color: #4A3728;

    font-size: 25px;

    font-weight: 600;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.product-detail-description {
    margin: 0 0 28px;

    color: #6F6258;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.product-detail-section {
    margin-bottom: 25px;

    padding-top: 20px;

    border-top: 1px solid #E8DED4;
}

.product-detail-section h3 {
    margin: 0 0 13px;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;
    font-weight: 600;

    color: #4A3728;
}


/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */

#product-detail-features {
    margin: 0;

    padding-left: 18px;

    color: #6F6258;

    font-size: 13px;

    line-height: 1.8;
}

#product-detail-features li {
    margin-bottom: 5px;
}


/* =========================================================
   ESPECIFICACIONES
   ========================================================= */

.product-detail-specs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 25px;

    padding: 18px 0;

    border-top: 1px solid #E8DED4;
    border-bottom: 1px solid #E8DED4;
}

.product-detail-specs div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.product-detail-specs span {
    color: #9A8878;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.product-detail-specs strong {
    color: #4A3728;

    font-size: 13px;

    font-weight: 500;
}


/* =========================================================
   CUIDADOS
   ========================================================= */

#product-detail-care {
    margin: 0;

    color: #6F6258;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   COMPRA
   ========================================================= */

.product-detail-purchase {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 28px;
}


/* =========================================================
   CANTIDAD
   ========================================================= */

.product-detail-quantity {
    display: flex;

    align-items: center;

    height: 48px;

    border: 1px solid #DCCFC3;
}

.product-detail-quantity button {
    width: 38px;
    height: 100%;

    border: none;

    background: #F7F3EE;

    color: #4A3728;

    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.2s ease;
}

.product-detail-quantity button:hover {
    background: #EDE3D9;
}

.product-detail-quantity span {
    min-width: 35px;

    text-align: center;

    color: #4A3728;

    font-size: 14px;
}


/* =========================================================
   BOTÓN CARRITO
   ========================================================= */

.product-detail-cart-button {
    flex: 1;

    height: 48px;

    border: none;

    background: #4A3728;

    color: #FFFFFF;

    font-family: "Lato", sans-serif;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-detail-cart-button:hover {
    background: #2B211B;

    transform: translateY(-1px);
}

.product-detail-cart-button i {
    margin-right: 8px;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.product-detail-whatsapp {
    width: 100%;

    height: 45px;

    margin-top: 12px;

    border: 1px solid #DCCFC3;

    background: transparent;

    color: #4A3728;

    font-family: "Lato", sans-serif;

    font-size: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.product-detail-whatsapp:hover {
    background: #F7F3EE;

    border-color: #BFAE9E;
}

.product-detail-whatsapp i {
    margin-right: 7px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .product-detail-modal {
        padding: 15px;
    }

    .product-detail-box {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 30px;

        max-height: 94vh;
    }

    .product-detail-main-image {
        height: 350px;
    }

    .product-detail-info {
        padding: 0;
    }

    .product-detail-info h2 {
        font-size: 34px;
    }
}


@media (max-width: 500px) {

    .product-detail-box {
        padding: 25px 20px;
    }

    .product-detail-main-image {
        height: 280px;
    }

    .product-detail-specs {
        grid-template-columns: 1fr;
    }

    .product-detail-purchase {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-quantity {
        width: 100%;
        justify-content: center;
    }

    .product-detail-cart-button {
        width: 100%;
    }
}

/* =========================================================
   23. TIPOGRAFÍA
   ========================================================= */

h1,
h2,
h3,
h4 {
    font-family: "Cormorant Garamond", serif;
}


/* =========================================================
   24. CARRUSEL HERO DOMURA
   ========================================================= */

.hero-carousel {
    position: relative;

    width: 100%;
    height: 460px;

    overflow: hidden;

    background-color: #E9DFD2;
}

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.20) 0%,
            rgba(255, 255, 255, 0.10) 22%,
            rgba(255, 255, 255, 0.10) 42%,
            rgba(255, 255, 255, 0.05) 65%,
            rgba(255, 255, 255, 0) 88%
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 500px;

    max-width: 45%;

    padding-top: 120px;

    margin-left: 8%;

    color: #2B211B;
}

.hero-eyebrow {
    display: block;

    margin-bottom: 18px;

    font-family: "Lato", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;

    color: #2B211B;
}

.hero-content h1 {
    margin: 0 0 20px;

    font-family: "Playfair Display", serif;

    font-size: 48px;

    line-height: 1.08;

    font-weight: 500;

    color: #2B211B;
}

.hero-content p {
    max-width: 430px;

    margin: 0 0 30px;

    font-family: "Lato", sans-serif;

    font-size: 15px;

    line-height: 1.7;

    color: #2B211B;
}

.hero-button {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 12px 24px;

    border: 1px solid rgba(43, 33, 27, 0.7);

    border-radius: 30px;

    color: #2B211B;

    background: transparent;

    font-family: "Lato", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    text-decoration: none;

    transition:
        all 0.3s ease;
}

.hero-button span {
    font-size: 17px;
}

.hero-button:hover {
    background-color: #2B211B;
    color: #FFFFFF;
}

.hero-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    background: rgba(40, 30, 22, 0.15);

    color: #FFFFFF;

    font-size: 18px;

    transition:
        all 0.3s ease;
}

.hero-arrow:hover {
    background: #FFFFFF;
    color: #3B2A20;
}

.hero-prev {
    left: 25px;
}

.hero-next {
    right: 25px;
}

.hero-dots {
    position: absolute;

    bottom: 22px;

    left: 50%;

    z-index: 5;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 1px solid #FFFFFF;

    border-radius: 50%;

    background: transparent;

    transition:
        all 0.3s ease;
}

.hero-dot.active {
    width: 24px;

    border-radius: 10px;

    background: #FFFFFF;
}


/* =========================================================
   25. MENÚ MÓVIL DOMURA
   ========================================================= */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(35, 27, 20, 0.35);

    z-index: 3000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: min(320px, 85vw);
    height: 100vh;

    background: #F5EFE6;

    z-index: 3001;

    padding: 25px 24px;

    box-shadow:
        10px 0 35px rgba(0, 0, 0, 0.12);

    transform: translateX(-100%);

    transition:
        transform 0.35s ease;

    display: flex;

    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #E5DDD2;
}

.mobile-menu-brand {
    font-family: "Cormorant Garamond", serif;

    font-size: 24px;

    letter-spacing: 3px;

    color: #3B2A20;
}

.mobile-menu-close {
    width: 34px;
    height: 34px;

    border: none;

    background: transparent;

    color: #4A3528;

    font-size: 28px;

    line-height: 1;
}

.mobile-menu-nav {
    display: flex;

    flex-direction: column;

    padding-top: 22px;
}

.mobile-menu-nav a {
    padding: 11px 0;

    text-decoration: none;

    color: #4A3528;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    letter-spacing: 0.8px;
}

.mobile-menu-section {
    margin-top: 15px;
    margin-bottom: 5px;

    color: #9A8878;

    font-family: "Lato", sans-serif;

    font-size: 9px;

    letter-spacing: 2px;
}

.mobile-menu-divider {
    height: 1px;

    background: #E5DDD2;

    margin: 14px 0;
}

.mobile-menu-footer {
    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid #E5DDD2;

    color: #806B5C;

    font-family: "Lato", sans-serif;

    font-size: 9px;

    letter-spacing: 0.5px;

    line-height: 1.5;
}


/* =========================================================
   26. NOSOTROS DOMURA
   ========================================================= */

.about-section {
    padding: 55px 20px;

    background: #F5EFE6;

    text-align: center;
}

.about-content {
    max-width: 720px;

    margin: 0 auto;
}

.about-eyebrow {
    margin-bottom: 14px;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    letter-spacing: 3px;

    color: #9A8878;
}

.about-content h2 {
    margin-bottom: 25px;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    font-weight: 500;

    color: #3B2A20;
}

.about-content p:not(.about-eyebrow) {
    margin-bottom: 15px;

    font-family: "Lato", sans-serif;

    font-size: 15px;

    line-height: 1.8;

    color: #6F6257;

    text-align: justify;
}


/* =========================================================
   27. CONTACTO DOMURA
   ========================================================= */

.contact-section {
    padding: 45px 20px;

    background: #3B2A20;

    text-align: center;
}

.contact-content {
    max-width: 650px;

    margin: 0 auto;
}

.contact-eyebrow {
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    letter-spacing: 3px;

    color: #C8B8A6;
}

.contact-content h2 {
    margin-bottom: 20px;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    font-weight: 500;

    color: #F5EFE6;
}

.contact-content p:not(.contact-eyebrow) {
    margin-bottom: 28px;

    font-family: "Lato", sans-serif;

    font-size: 15px;

    line-height: 1.8;

    color: #D8CEC3;
}

.contact-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 22px;

    border: 1px solid #C8B8A6;

    border-radius: 2px;

    color: #F5EFE6;

    background: transparent;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 10px;

    letter-spacing: 1.5px;

    transition:
        all 0.3s ease;
}

.contact-button i {
    font-size: 22px;
}

.contact-button:hover {
    background: #F5EFE6;

    color: #3B2A20;
}


/* =========================================================
   28. FOOTER DOMURA
   ========================================================= */

.site-footer {
    background: #241B16;

    color: #E8DED3;
}

.footer-main {
    max-width: 1200px;

    margin: 0 auto;

    padding: 55px 40px 45px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;

    font-size: 32px;

    letter-spacing: 4px;

    color: #F5EFE6;
}

.footer-brand p {
    font-family: "Lato", sans-serif;

    font-size: 12px;

    color: #BBAE9F;
}

.footer-column {
    display: flex;

    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 18px;

    font-family: "Montserrat", sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 2px;

    color: #C8B8A6;
}

.footer-column a {
    width: fit-content;

    margin-bottom: 9px;

    color: #BBAE9F;

    text-decoration: none;

    font-family: "Lato", sans-serif;

    font-size: 12px;

    transition:
        color 0.3s ease;
}

.footer-column a:hover {
    color: #F5EFE6;
}

.footer-socials {
    display: flex;

    gap: 14px;

    margin-top: 12px;
}

.footer-socials a {
    margin: 0;

    font-size: 20px;

    color: #BBAE9F;
}

.footer-bottom {
    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 40px;

    border-top:
        1px solid rgba(200, 184, 166, 0.18);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-family: "Lato", sans-serif;

    font-size: 9px;

    color: #8F8175;
}


/* =========================================================
   29. MI CUENTA DOMURA
   ========================================================= */

.account-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 10000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(35, 29, 24, 0.55);
}

.account-modal.active {
    display: flex;
}

.account-box {
    width: 100%;

    max-width: 420px;

    padding: 30px;

    background: #fdfbf7;

    border-radius: 12px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.18);
}

.account-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 15px;

    border-bottom:
        1px solid #e8e0d6;
}

.account-header h2 {
    margin: 0;

    color: #42362d;

    font-family: "Cormorant Garamond", serif;

    font-size: 30px;

    font-weight: 500;
}

.account-header button {
    width: 32px;
    height: 32px;

    border: none;

    background: none;

    font-size: 28px;

    cursor: pointer;

    color: #42362d;
}

.account-content {
    text-align: center;

    padding-top: 28px;
}

.account-icon {
    font-size: 36px;

    color: #8a735e;
}

.account-content h3 {
    color: #42362d;

    margin-top: 14px;

    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;

    font-size: 28px;

    font-weight: 500;
}

.account-content p {
    color: #75695e;

    line-height: 1.6;

    font-size: 14px;

    margin-bottom: 24px;
}

.account-login-button,
.account-register-button {
    display: block;

    width: 100%;

    padding: 13px;

    margin-top: 12px;

    cursor: pointer;

    font-size: 14px;

    transition:
        0.2s ease;
}

.account-login-button {
    background: #42362d;

    color: #ffffff;

    border:
        1px solid #42362d;
}

.account-login-button:hover {
    background: #59493d;
}

.account-register-button {
    background: transparent;

    color: #42362d;

    border:
        1px solid #b7a38f;
}

.account-register-button:hover {
    background: #f2ede6;
}


/* =========================================================
   30. FORMULARIO INICIAR SESIÓN
   ========================================================= */

.login-form {
    display: none;

    margin-top: 25px;

    animation:
        loginFadeIn 0.35s ease;
}

.login-form h3 {
    margin: 0 0 8px;

    color: #42362d;

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;

    font-weight: 500;

    letter-spacing: 0.3px;
}

.login-form::before {
    content: "Tu espacio personal";

    display: block;

    margin-bottom: 22px;

    color: #9a8877;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.login-form input,
.register-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    margin-bottom: 12px;

    border:
        1px solid #ddd2c5;

    border-radius: 2px;

    background: #fffdfa;

    color: #42362d;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    outline: none;

    transition:
        all 0.25s ease;
}

.login-form input::placeholder,
.register-form input::placeholder {
    color: #aa9c8f;
}

.login-form input:focus,
.register-form input:focus {
    border-color: #8a735e;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(138, 115, 94, 0.08);
}

#login-submit-button,
#register-submit-button {
    width: 100%;

    padding: 14px;

    margin-top: 8px;

    border:
        1px solid #42362d;

    border-radius: 2px;

    background: #42362d;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        all 0.25s ease;
}

#login-submit-button:hover,
#register-submit-button:hover {
    background: #59493d;

    border-color: #59493d;
}


/* =========================================================
   31. CREAR CUENTA
   ========================================================= */

.register-form {
    display: none;

    margin-top: 25px;

    animation:
        loginFadeIn 0.35s ease;
}

.register-form h3 {
    margin: 0 0 22px;

    color: #42362d;

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;

    font-weight: 500;
}


/* =========================================================
   32. ANIMACIÓN CUENTA
   ========================================================= */

@keyframes loginFadeIn {

    from {
        opacity: 0;

        transform:
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   33. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .top-header {
        grid-template-columns:
            auto 1fr auto;

        padding: 0 25px;

        gap: 20px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .search-box {
        width: 145px;
    }
}


/* =========================================================
   34. RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .top-bar {
        height: 32px;

        min-height: 32px;

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 0 12px;

        font-size: 9px;
    }

    .top-bar-left {
        display: flex;

        align-items: center;

        justify-content: center;

        gap: 6px;
    }

    .top-bar-center,
    .top-bar-right {
        display: none;
    }

    .top-bar-left i {
        font-size: 10px;
    }


    /* HEADER */

    .top-header {
        height: 76px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding: 0 12px;

        gap: 8px;
    }


    /* MARCA */

    .brand {
        order: 1;

        display: flex;

        align-items: center;

        gap: 8px;

        flex: 1 1 auto;

        min-width: 0;

        height: auto;
    }

    .domura-logo {
        width: 46px;

        height: 46px;

        flex: 0 0 46px;

        object-fit: contain;
    }

    .brand-text {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        width: auto;

        min-width: 0;

        height: auto;

        overflow: visible;
    }

    .brand-text .logo {
        display: block;

        visibility: visible;

        font-family: "Cormorant Garamond", serif;

        font-size: 18px;

        font-weight: 600;

        line-height: 1;

        letter-spacing: 2px;

        color: #3B2A20;

        white-space: nowrap;
    }

    .brand-text .slogan {
        display: block;

        visibility: visible;

        margin-top: 4px;

        font-family: "Lato", sans-serif;

        font-size: 6.5px;

        line-height: 1.2;

        letter-spacing: 0.5px;

        color: #806B5C;

        white-space: nowrap;
    }


    /* MENÚ */

    .top-header .main-nav {
        display: none;
    }


    /* HAMBURGUESA */

    .mobile-menu-button {
        order: 2;

        display: flex;

        align-items: center;

        justify-content: center;

        flex: 0 0 32px;

        width: 32px;

        height: 32px;

        border: none;

        background: transparent;

        color: #3B2A20;

        font-size: 18px;

        padding: 0;
    }


    /* ACCIONES */

    .header-actions {
        order: 3;

        width: auto;

        display: flex;

        align-items: center;

        justify-content: flex-end;

        gap: 4px;

        margin-left: 0;

        flex-shrink: 0;
    }


    /* BUSCADOR */

    .search-box {
        width: 32px;

        height: 32px;

        padding: 0;

        border: none;

        background: transparent;

        box-shadow: none;
    }

    .search-box input {
        display: none;
    }

    .search-button {
        width: 32px;

        height: 32px;

        margin: 0;

        padding: 0;

        font-size: 15px;
    }


    /* CUENTA */

    .account-button {
        width: 32px;

        height: 32px;

        padding: 0;

        font-size: 15px;
    }


    /* CARRITO */

    .cart-button {
        width: 32px;

        height: 32px;

        padding: 0;

        font-size: 15px;
    }

    #cart-count {
        top: -2px;

        right: -2px;

        min-width: 15px;

        height: 15px;

        display: flex;

        align-items: center;

        justify-content: center;

        border-radius: 50%;

        font-size: 8px;
    }


    /* CATEGORÍAS */

    .categories {
        display: none;
    }


    /* CONTENIDO */

    main {
        padding: 30px 15px;
    }


    /* HERO */

    .hero-carousel {
        height: 320px;
    }

    .hero-slide {
        background-position: center;
    }

    .hero-content {
        width: auto;

        max-width: 72%;

        margin-left: 9%;

        padding-top: 100px;
    }

    .hero-eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 32px;

        line-height: 1.12;
    }

    .hero-content p {
        font-size: 13px;

        line-height: 1.6;
    }

    .hero-button {
        padding: 11px 20px;

        font-size: 10px;
    }

    .hero-arrow {
        width: 36px;

        height: 36px;

        font-size: 15px;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }


    /* PRODUCTOS */

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .product-image {
        height: 155px;
    }

    .section-title h2 {
        font-size: 30px;
    }


    /* CARRITO */

    .cart-panel {
        width: 100%;

        max-width: 100%;

        padding: 25px 20px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 25px 35px;

        text-align: center;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h3 {
        margin-bottom: 14px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;

        padding: 18px 20px;

        gap: 8px;
    }


    /* NOSOTROS */

    .about-section {
        padding: 35px 20px;
    }

    .about-content h2 {
        font-size: 28px;

        line-height: 1.15;

        margin-bottom: 16px;
    }

    .about-content p:not(.about-eyebrow) {
        font-size: 13px;

        line-height: 1.6;
    }


    /* CONTACTO */

    .contact-section {
        padding: 20px 16px;
    }

    .contact-eyebrow {
        margin-bottom: 5px;

        font-size: 8px;

        letter-spacing: 2px;
    }

    .contact-content h2 {
        font-size: 20px;

        line-height: 1.2;

        margin-bottom: 8px;
    }

    .contact-content p:not(.contact-eyebrow) {
        font-size: 11px;

        line-height: 1.45;

        margin-bottom: 12px;
    }

    .contact-button {
        padding: 8px 13px;

        font-size: 8px;

        letter-spacing: 1px;
    }

    .contact-button i {
        font-size: 14px;
    }


    /* PRODUCTOS MÓVIL */

    .product-info {
        padding: 10px;
    }

    .product-code {
        font-size: 8px;

        margin-bottom: 4px;
    }

    .product-info h3 {
        font-size: 17px;

        margin-bottom: 5px;
    }

    .product-info p {
        font-size: 10px;

        line-height: 1.4;

        margin-bottom: 10px;
    }

    .product-price {
        font-size: 14px;
    }

    .add-to-cart-button {
        padding: 8px 12px;

        font-size: 9px;

        border-radius: 20px;
    }


    /* CUENTA */

    .account-box {
        width: 100%;

        max-width: 420px;

        padding: 25px 20px;
    }

}


/* =========================================================
   35. RESPONSIVE — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .top-header {
        height: 72px;

        padding: 0 10px;

        gap: 6px;
    }

    .brand {
        gap: 7px;
    }

    .domura-logo {
        width: 42px;

        height: 42px;

        flex-basis: 42px;
    }

    .brand-text .logo {
        font-size: 16px;

        letter-spacing: 1.8px;
    }

    .brand-text .slogan {
        font-size: 6px;

        letter-spacing: 0.35px;
    }

    .mobile-menu-button {
        flex: 0 0 30px;

        width: 30px;

        height: 30px;

        font-size: 17px;
    }

    .header-actions {
        gap: 2px;
    }

    .search-box,
    .search-button,
    .account-button,
    .cart-button {
        width: 30px;

        height: 30px;
    }

    .search-button,
    .account-button,
    .cart-button {
        font-size: 14px;
    }

    #cart-count {
        top: -2px;

        right: -2px;

        min-width: 14px;

        height: 14px;

        font-size: 8px;
    }

    main {
        padding: 30px 15px;
    }

    .hero-carousel {
        height: 280px;
    }

    .hero-content {
        max-width: 74%;

        margin-left: 9%;

        padding-top: 85px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .product-image {
        height: 170px;
    }

    .product-info {
        padding: 17px;
    }

    .product-info h3 {
        font-size: 22px;
    }

    .product-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

    .add-to-cart-button {
        width: 100%;
    }

    .cart-product {
        grid-template-columns:
            65px 1fr;

        gap: 10px;
    }

    .cart-product-image {
        width: 65px;

        height: 65px;
    }

    .cart-product-actions {
        grid-column: 2;

        justify-content: flex-start;
    }

    .checkout-modal {
        padding: 10px;
    }

    .checkout-box {
        padding: 25px 18px;
    }

    .checkout-header h2 {
        font-size: 27px;
    }

    .checkout-product img {
        width: 60px;

        height: 60px;
    }

}


/* =========================================================
   36. MENÚ MÓVIL — SOLO ESCRITORIO
   ========================================================= */

@media (min-width: 769px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }

}
.account-back-button {
    background: none;
    border: none;
    color: #6B5140;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.account-back-button:hover {
    color: #4A3728;
}
/* ======================================================
   CAMPOS DE CONTRASEÑA
   ====================================================== */

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8A7766;
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
}

.toggle-password:hover {
    color: #4A3728;
}
/* ======================================================
   BOTÓN CERRAR SESIÓN — DOMURA
   ====================================================== */

.logout-button {
    width: 100%;
    padding: 13px 20px;
    margin-top: 20px;

    background: transparent;
    color: #4A3728;

    border: 1px solid #B8A28F;
    border-radius: 3px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.2px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: #4A3728;
    color: #FFFFFF;
    border-color: #4A3728;
}
/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;

    text-decoration: none;

    font-size: 30px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);

    z-index: 9999;

    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Mensaje al pasar el mouse */

.whatsapp-tooltip {
    position: absolute;

    right: 70px;
    top: 50%;
    transform: translateY(-50%);

    background: #2B211B;
    color: #ffffff;

    padding: 9px 14px;

    border-radius: 6px;

    font-family: "Lato", sans-serif;
    font-size: 13px;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: all 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {

    .whatsapp-float {
        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 27px;
    }

    .whatsapp-tooltip {
        display: none;
    }

}

/* =========================================================
   VISOR DE IMAGEN AMPLIADA
   ========================================================= */

.product-image-viewer {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(43, 33, 27, 0.88);

    z-index: 10000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    cursor: zoom-out;
}

.product-image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.product-image-viewer img {
    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    background: transparent;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35);

    transform: scale(0.94);

    transition:
        transform 0.3s ease;
}

.product-image-viewer.active img {
    transform: scale(1);
}

.product-image-viewer-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255,255,255,0.08);

    color: #FFFFFF;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.product-image-viewer-close:hover {
    background: rgba(255,255,255,0.18);

    border-color: rgba(255,255,255,0.65);
}

/* =========================================================
   FLECHAS DEL VISOR
   ========================================================= */

.product-image-viewer-prev,
.product-image-viewer-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255,255,255,0.08);

    color: #FFFFFF;

    font-size: 38px;
    font-weight: 200;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.product-image-viewer-prev {
    left: 30px;
}

.product-image-viewer-next {
    right: 30px;
}

.product-image-viewer-prev:hover,
.product-image-viewer-next:hover {
    background: rgba(255,255,255,0.18);

    border-color: rgba(255,255,255,0.65);

    transform:
        translateY(-50%)
        scale(1.05);
}


/* =========================================================
   25. HERO PANORÁMICO — DOMURA
   ========================================================= */

.hero-carousel {
    width: 100%;
    max-width: none;
    height: 580px;

    margin-left: 0;
    margin-right: 0;

    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ==========================================
   CATEGORÍAS PREMIUM — DOMURA
========================================== */

.luxury-categories {
    padding: 48px 4.3% 28px;
    background: #F8F4EE;
}

.luxury-categories-heading {
    text-align: center;
    margin: 0 auto 30px;
}

.luxury-categories-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #8A7562;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
}

.luxury-categories-heading h2 {
    margin: 0 0 10px;
    color: #2B211B;
    font-family: "Cormorant Garamond", serif;
    font-size: 38px;
    font-weight: 500;
}

.luxury-categories-heading p {
    margin: 0;
    color: #776A5F;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.luxury-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    max-width: 1240px;
    margin: 0 auto;
}

.luxury-category-card {
    min-width: 0;
    overflow: visible;
    border: 1px solid #E8DED2;
    border-radius: 14px;
    background: #FBF8F3;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.luxury-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(43, 33, 27, 0.09);
}

.luxury-category-image {
    position: relative;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    aspect-ratio: 1 / 1;
    background: #E9DFD2;
}

.luxury-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-category-card:hover .luxury-category-image img {
    transform: scale(1.045);
}


.luxury-category-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    flex-shrink: -18px auto 0;

    margin: -22px auto 0;

    border: 1px solid #DCCDBD;
    border-radius: 50%;

    background: #FBF8F3;
    color: #4B382A;

    font-size: 14px;
    line-height: 1;

    box-shadow: 0 3px 10px rgba(43, 33, 27, 0.05);
}

.luxury-category-icon i {
    display: block;
    line-height: 1;
}

.luxury-category-info {
    padding: 0 10px 14px;
    text-align: center;
}

.luxury-category-info h3 {
    margin: 10px 0 14px;
    color: #33251C;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 500;
}

.luxury-category-info > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6F5A48;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
}

.luxury-category-info b {
    font-size: 15px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.luxury-category-card:hover .luxury-category-info b {
    transform: translateX(4px);
}

/* BENEFICIOS */

.luxury-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #E5DACE;
}

.luxury-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    color: #65574B;
    font-family: "Lato", sans-serif;
    font-size: 12px;
}

.luxury-benefit + .luxury-benefit {
    border-left: 1px solid #E5DACE;
}

.luxury-benefit i {
    color: #4B382A;
    font-size: 19px;
}

/* TABLET */

@media (max-width: 1000px) {
    .luxury-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .luxury-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 12px;
    }

    .luxury-benefit:nth-child(3) {
        border-left: none;
    }
}

/* MÓVIL */

@media (max-width: 600px) {
    .luxury-categories {
        padding: 34px 16px 22px;
    }

    .luxury-categories-heading h2 {
        font-size: 32px;
    }

    .luxury-categories-heading p {
        max-width: 300px;
        margin: 0 auto;
        font-size: 13px;
    }

    .luxury-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .luxury-category-image {
        aspect-ratio: 0.95 / 1;
    }

    .luxury-category-info {
        padding: 0 6px 16px;
    }

    .luxury-category-info h3 {
        font-size: 23px;
    }

    .luxury-category-info > span {
        gap: 5px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .luxury-category-icon {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }

    .luxury-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 14px 4px;
    }

    .luxury-benefit {
        justify-content: flex-start;
        gap: 8px;
        padding: 6px;
        font-size: 11px;
    }

    .luxury-benefit + .luxury-benefit {
        border-left: none;
    }

    .luxury-benefit i {
        font-size: 16px;
    }
}


/* DOMURA — Carrusel adaptable a móviles */
@media (max-width: 768px) {
    .hero-carousel {
        height: 380px;
        position: relative;
        overflow: hidden;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 78%;
        max-width: 78%;
        margin-left: 6%;
        padding-top: 45px;
        box-sizing: border-box;
    }

    .hero-eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        width: 100%;
        max-width: 100%;
        font-size: 20px;
        line-height: 1.2;
        margin: 0 0 12px 0;
        text-align: left;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .hero-content p {
        width: 100%;
        max-width: 100%;
        font-size: 10px;
        line-height: 1.5;
        text-align: left;
        margin: 0 0 16px 0;
        padding: 0;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .hero-button {
        display: inline-block;
        font-size: 9px;
        padding: 8px 12px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 340px;
    }

    .hero-content {
        width: 78%;
        max-width: 78%;
        margin-left: 6%;
        padding-top: 35px;
    }

    .hero-content h1 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 11px;
    }
}

/* DOMURA — Ajuste de texto en móvil */
@media screen and (max-width: 768px) {
    .hero-carousel .hero-slide .hero-content p{
        width: 78% !important;
        max-width: 78% !important;
        margin-left: 6% !important;
        box-sizing: border-box;
    }

    .hero-carousel .hero-slide .hero-content h1 {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-carousel .hero-slide .hero-content p {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box;
    }
}


@media screen and (max-width: 768px) {
    .hero-carousel .hero-slide .hero-content h1,
    .hero-carousel .hero-slide .hero-content p {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    .hero-carousel .hero-slide .hero-content p {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* DOMURA — Ajuste de texto de la segunda diapositiva en móvil */
@media (max-width: 768px) {
    .hero-carousel .hero-slide:nth-of-type(2) .hero-content p {
        width: 75%;
        max-width: 75%;
        margin-left: 0;
        margin-right: auto;
        text-align: left;
        padding: 0;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }
}

/* DOMURA — Categorías compactas en móvil */
@media (max-width: 768px) {
    .category-card {
        padding: 10px;
    }

    .category-card img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }

    .category-card h3,
    .category-card h2,
    .category-card p {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .category-card img {
        height: 80px;
    }

    .category-card h3,
    .category-card h2,
    .category-card p {
        font-size: 11px;
    }
}

.site-footer {
  background-color: #3b2518;
  color: #d1c2b5;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 50px 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.brand-col .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-icon {
  width: 65px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 22px;
  font-weight: 600;
  color: #ede2d8;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #baa798;
  margin-top: 2px;
  text-align: center;
}

.brand-tagline {
  font-size: 11px;
  color: #a49182;
  margin-top: 4px;
  font-style: italic;
}

.col-title {
  color: #ede2d8;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #c4b5a7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: #d1c2b5;
  font-size: 19px;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.help-col {
  align-items: flex-start;
}

.help-question {
  color: #baa798;
  font-size: 13px;
}

.help-action {
  color: #ede2d8;
  font-size: 14px;
  margin-bottom: 14px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #4f3627;
  color: #ede2d8;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 25px;
  transition: background-color 0.2s, transform 0.2s;
}

.whatsapp-btn:hover {
  background-color: #5c3e2e;
  transform: scale(1.02);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 30px;
}

.bottom-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a49182;
}

.bottom-container p {
  margin: 0;
}

.heart {
  color: #e8d8c8;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  .bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* Contenedor general de la franja inferior */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Línea divisoria sutil */
  padding: 18px 30px;
  box-sizing: border-box;
}

/* Distribución a los extremos */
.bottom-container {
  width: 100%;
  max-width: 1250px; /* Mismo ancho máximo del resto del footer */
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Empuja el primero a la izquierda y el segundo a la derecha */
  align-items: center;
  font-size: 12px;
  color: #a49182;
}

/* Estilos de los textos */
.bottom-container .copyright {
  text-align: left;
}

.bottom-container .tagline-footer {
  text-align: right;
}

.heart {
  color: #e8d8c8;
  margin-left: 5px;
}

/* ===== FOOTER: LOGO Y TEXTO EN UNA SOLA FILA ===== */

.site-footer .brand-col {
    min-width: 0;
}

.site-footer .brand-col .footer-brand-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}

.site-footer .brand-col .footer-icon-img {
    display: block;
    width: 180px;
    height: auto;
    flex: 0 0 180px;
    filter: brightness(0) invert(1);
}

.site-footer .brand-col .footer-brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}


.site-footer .brand-col .footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: #ede2d8;
    letter-spacing: 0.12em;
    line-height: 1.1;
    margin: 0;
}

.site-footer .brand-col .footer-brand-tagline {
    margin-top: 4px;
    white-space: normal;
    line-height: 1.4;
}


/* ===== FOOTER CENTRADO EN CELULARES ===== */
@media (max-width: 768px) {

    .site-footer .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-col {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-col .social-icons {
        justify-content: center;
    }

    .site-footer .brand-col .footer-brand-wrap {
        justify-content: center;
    }

    .site-footer .footer-brand-info {
        align-items: flex-start;
        text-align: left;
    }
}
/* AJUSTE LOGO Y FOOTER DOMURA PARA CELULAR */
@media (max-width: 768px) {
  /* Contenedor del logo en el footer: apilar isotipo y texto en vertical */
  footer .footer-brand,
  footer .brand,
  footer .logo-container,
  .footer-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
  }

  /* Reducir e independizar el isotipo */
  footer .footer-brand img,
  footer .brand img,
  footer img[src*="logo"],
  footer svg {
    max-width: 90px !important;
    height: auto !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
  }

  /* Centrar el título DOMURA y evitar que se desborde */
  footer h2,
  footer h3,
  footer .brand-name,
  footer .logo-text {
    font-size: 1.5rem !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    margin: 0 auto 6px auto !important;
    width: 100% !important;
  }

  /* Eslogan centrado */
  footer p,
  footer .slogan,
  footer .tagline {
    font-size: 0.9rem !important;
    text-align: center !important;
    max-width: 260px !important;
    margin: 0 auto !important;
    line-height: 1.4 !important;
  }

  /* Evitar desbordes horizontales en toda la base */
  footer {
    overflow-x: hidden !important;
    padding: 35px 15px !important;
    box-sizing: border-box !important;
  }
}