/* ===== FAVORITOS PAGE ===== */
.favoritos-page {
    min-height: 60vh;
    padding: 50px 0;
}

.favoritos-page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.favoritos-empty {
    text-align: center;
    padding: 60px 20px;
}

.favoritos-empty i {
    font-size: 60px;
    color: #d4c4c6;
    margin-bottom: 20px;
}

.favoritos-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
}

.favoritos-empty a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #333;
    border: 1.5px solid #333;
    border-radius: 20px;
    padding: 10px 30px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.favoritos-empty a:hover {
    background-color: #333;
    color: #fff;
}

/* Card en página favoritos */
.fav-card {
    background: #fff;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fav-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.fav-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.fav-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.fav-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fav-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #a0726e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.fav-card-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}

.btn-eliminar-fav {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #e63946;
    border: 1.5px solid #e63946;
    border-radius: 20px;
    background: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-top: 8px;
}

.btn-eliminar-fav:hover {
    background-color: #e63946;
    color: #fff;
}

.btn-fav-add-cart {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: #5a3a2e;
    border: 1.5px solid #5a3a2e;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-top: auto;
}

.btn-fav-add-cart:hover {
    background-color: #fff;
    color: #5a3a2e;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #333;
    --secondary-color: #f8f9fa;
    --accent-color: #d4af37;
    --text-color: #333;
    --light-text: #666;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
}

/* ===== TOP BANNER ===== */
.top-banner {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
}

.top-banner .banner-text-rotate {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.top-banner .banner-text-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* ===== HEADER ===== */
.header-main {
    border-bottom: 1px solid #e0e0e0;
}

.header-border {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.header-main a {
    color: var(--text-color);
    font-size: 12px;
    transition: color 0.3s;
}

.header-main a:hover {
    color: var(--accent-color);
}

.logo-img {
    height: 100px;
    width: auto;
}

.cart-icon {
    font-size: 20px;
    color: var(--text-color);
    transition: color 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-icon:hover {
    color: var(--accent-color);
}

.cart-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5a3a2e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0 4px;
    line-height: 1;
    position: absolute;
    top: -8px;
    right: -10px;
}

.cart-counter.hidden {
    display: none;
}

/* ===== CART OFFCANVAS ===== */
.cart-offcanvas {
    width: 400px !important;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
}

.cart-offcanvas-header {
    border-bottom: 1px solid #e8ddd8;
    padding: 20px 24px;
}

.cart-offcanvas-header .offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
}

.cart-offcanvas-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

/* Cart empty state */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
}

.cart-empty i {
    font-size: 52px;
    color: #d4c4c6;
    margin-bottom: 18px;
}

.cart-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #999;
    margin: 0;
}

/* Cart animations */
@keyframes cartItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cartQtyPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.3); color: #5a3a2e; }
    100% { transform: scale(1); }
}

@keyframes cartSubtotalFlash {
    0%   { color: #5a3a2e; }
    40%  { color: #d4af37; }
    100% { color: #5a3a2e; }
}

/* Cart items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0e8e5;
    position: relative;
    animation: cartItemFadeIn 0.35s ease both;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-item.cart-item-removing {
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-qty-value.cart-qty-animate {
    animation: cartQtyPulse 0.35s ease;
}

.cart-item-subtotal.cart-subtotal-animate {
    animation: cartSubtotalFlash 0.45s ease;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f8f5f5;
}

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

.cart-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9ccc9;
    border-radius: 20px;
    overflow: hidden;
    height: 30px;
    margin-bottom: 6px;
}

.cart-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 100%;
    border: none;
    background: transparent;
    color: #5a3a2e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    user-select: none;
}

.cart-qty-btn:hover {
    background-color: #f3ece9;
}

.cart-qty-value {
    width: 32px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-left: 1px solid #d9ccc9;
    border-right: 1px solid #d9ccc9;
    line-height: 30px;
}

.cart-item-subtotal {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #5a3a2e;
    margin: 0;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background: none;
    color: #c0a8a3;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #e63946;
}

/* Cart footer */
.cart-offcanvas-footer {
    border-top: 1px solid #e8ddd8;
    padding: 20px 24px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.cart-total span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #5a3a2e;
}

.btn-finalizar-compra {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    background-color: #5a3a2e;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-finalizar-compra:hover {
    background-color: #4a2e24;
    box-shadow: 0 4px 14px rgba(90,58,46,0.3);
}

/* Favoritos link */
.favoritos-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.favoritos-link:hover {
    color: #e63946;
}

.favoritos-link .fa-heart {
    font-size: 16px;
}

.favoritos-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0 4px;
    line-height: 1;
}

.favoritos-counter.hidden {
    display: none;
}

/* Cart icon bounce animation on add */
@keyframes cartBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.35); }
    50%  { transform: scale(0.9); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.cart-icon.cart-bounce i {
    animation: cartBounce 0.5s ease;
}

.cart-counter.cart-counter-pop {
    animation: cartBounce 0.4s ease;
}

/* ===== CART CONFIRM MODAL ===== */
.cart-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
    padding: 20px;
}

.cart-confirm-overlay.visible {
    opacity: 1;
    background: rgba(0, 0, 0, 0.45);
}

.cart-confirm-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(10px);
    transition: transform 0.25s ease;
}

.cart-confirm-overlay.visible .cart-confirm-modal {
    transform: scale(1) translateY(0);
}

.cart-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: #5a3a2e;
}

.cart-confirm-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cart-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cart-confirm-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-confirm-cancel {
    background: #f5f0ed;
    color: #5a3a2e;
}

.cart-confirm-cancel:hover {
    background: #ebe3de;
}

.cart-confirm-accept {
    background: #e63946;
    color: #fff;
}

.cart-confirm-accept:hover {
    background: #d12836;
}

/* ===== NAVIGATION ===== */
.main-nav {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.search-icon {
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    order: 3;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--accent-color);
}

/* Search Container */
.search-container {
    display: none;
    width: 100%;
    padding: 15px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.search-container.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-color);
}

.search-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

/* Desktop dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-arrow {
    font-size: 8px;
    margin-left: 3px;
    transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
    min-width: 160px;
    z-index: 100;
}
/* Invisible bridge to keep hover alive between link and dropdown */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu li {
    padding: 0;
}
.nav-dropdown-menu li a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 12px;
    white-space: nowrap;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu li a:hover {
    background: #f8f5f0;
    color: var(--accent-color);
}

/* Nav badge/tag */
.nav-menu li a,
.nav-mobile-parent-row a,
.nav-menu-mobile li > a {
    position: relative;
}
.nav-menu a.has-badge,
.nav-mobile-parent-row a.has-badge,
.nav-menu-mobile li > a.has-badge {
    padding-top: 18px;
}
.nav-badge {
    position: absolute;
    top: 0;
    right: -4px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
}

/* Mobile sub-menu accordion */
.nav-mobile-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-mobile-parent-row a {
    flex: 1;
}
.nav-mobile-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
}
.nav-mobile-children {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.nav-mobile-children li {
    padding: 8px 0;
    border-bottom: none;
}
.nav-mobile-children li a {
    font-size: 13px;
    color: #888;
}
.nav-mobile-children li a:hover {
    color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    order: 1;
}

.nav-menu-desktop {
    order: 2;
    flex: 1;
    justify-content: center;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav-menu-mobile {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.nav-menu-mobile.active {
    display: block;
    max-height: 500px;
    padding: 20px 0;
}

.nav-menu-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu-mobile li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu-mobile li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu-mobile li a:hover {
    color: var(--accent-color);
}

/* ===== BANNER CAROUSEL ===== */
.banner-carousel {
    position: relative;
    margin-bottom: 40px;
}

.banner-carousel .carousel-inner {
    max-height: 450px;
    overflow: hidden;
}

.banner-carousel .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
    margin: 40px 0;
}

.instagram-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f0e8 0%, #faf8f5 50%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.instagram-box:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.instagram-icon {
    font-size: 48px;
    color: #fff;
    padding: 15px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
}

.instagram-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
}

.instagram-handle {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #d4af37;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    margin: 60px 0;
    padding: 0;
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.products-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.products-carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.6s ease-in-out;
}

.product-card-wrapper {
    flex: 0 0 25%;
    min-width: 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 380px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-card:hover::after {
    background: rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.products-control-prev,
.products-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-control-prev:hover,
.products-control-next:hover {
    background: rgba(0,0,0,0.7);
}

/* ===== SUMMER '26 SECTION ===== */
.summer-section {
    background-color: #e6c1c6;
}

.summer-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.summer-line {
    flex: 0 1 120px;
    height: 2px;
    background-color: #b8959a;
}

.summer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

/* Botón Ver Todos */
.btn-ver-todos {
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: #f0e8d8;
    color: #5a3a2e;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.btn-ver-todos:hover {
    background-color: #e6d9c3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    color: #5a3a2e;
    text-decoration: none;
}

/* ===== PRODUCTOS PAGE ===== */
.productos-page-section {
    background-color: #fff;
    min-height: 60vh;
}

.productos-page-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.productos-page-line {
    flex: 0 1 120px;
    height: 2px;
    background-color: #d4af37;
}

.productos-page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .productos-page-title {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .productos-page-line {
        flex: 0 1 60px;
    }
}

/* Filters Bar */
.filters-bar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filters-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-color);
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filters-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.filters-checkbox {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    min-height: 48px;
}

.filters-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.filters-checkbox .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.filters-checkbox .form-check-label {
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    margin-bottom: 0;
    user-select: none;
}

@media (max-width: 768px) {
    .filters-bar {
        padding: 15px;
    }
    
    .filters-select,
    .filters-checkbox .form-check-label {
        font-size: 13px;
    }
    
    .filters-checkbox {
        padding: 8px 12px;
        min-height: 44px;
    }
}

/* Products Loader */
.products-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.products-loader.hidden {
    display: none;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-card {
    background-color: #e6c1c6;
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-value:hover {
    color: #5a3a2e;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-card {
        padding: 40px 30px;
        border-radius: 20px;
    }
    
    .contact-label {
        font-size: 18px;
    }
    
    .contact-value {
        font-size: 18px;
    }
    
    .contact-item {
        margin-bottom: 30px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
    margin-top: 0;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.footer-img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-envio-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-envio-img {
    max-width: 35px;
    height: auto;
}

.footer-divider {
    border-color: #e6e6e6;
    opacity: 0.5;
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background-color: #f5f0e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a3a2e;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #d4af37;
    color: #fff;
    transform: translateY(-3px);
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

.footer-email {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #5a3a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #d4af37;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-title {
        font-size: 14px;
    }
    
    .footer-img {
        max-width: 80%;
    }
    
    .footer-envio-img {
        max-width: 50px;
    }
    
    .footer-logo {
        max-width: 90px;
        margin-top: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Botón WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Botón Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #d4af37;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #b89530;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 85px;
        right: 20px;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== SELECCIONADOS SECTION ===== */
.seleccionados-section {
    background-color: #e6c1c6;
}

.seleccionados-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.seleccionados-line {
    flex: 0 1 120px;
    height: 2px;
    background-color: #b8959a;
}

.seleccionados-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

/* --- Seleccionados Card --- */
.seleccionado-card {
    background-color: #fff;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.seleccionado-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.seleccionado-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #f8f5f5;
    flex-shrink: 0;
}

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

.seleccionado-card-img a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Product badges (NUEVO, -% OFF) */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-new,
.badge-off {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
    width: fit-content;
}

.badge-new {
    background: #5a3a2e;
    color: #fff;
}

.badge-off {
    background: #e63946;
    color: #fff;
}

.seleccionado-card .seleccionado-card-name a {
    color: inherit;
    text-decoration: none;
}

.seleccionado-card .seleccionado-card-name a:hover {
    text-decoration: underline;
}

/* Hover zoom solo en desktop */
@media (min-width: 992px) {
    .seleccionado-card:hover .seleccionado-card-img img {
        transform: scale(1.06);
    }
}

.favorite-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #5a3a2e;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.favorite-icon:hover {
    color: #7a4e40;
    transform: scale(1.15);
}

.favorite-icon.active {
    color: #e63946;
}

.favorite-icon.active:hover {
    color: #c0392b;
    transform: scale(1.15);
}

.seleccionado-card-body {
    padding: 16px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seleccionado-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #a0726e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.seleccionado-card-price-original {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.seleccionado-card-price-transfer {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 3px;
}

.seleccionado-card-cuotas {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 14px;
}

/* Quantity selector */
.qty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 14px;
    border: 1.5px solid #d9ccc9;
    border-radius: 24px;
    overflow: hidden;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    height: 36px;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    border: none;
    background: transparent;
    color: #5a3a2e;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
    padding: 0;
    user-select: none;
}

.qty-btn:hover {
    background-color: #f3ece9;
}

.qty-btn:active {
    background-color: #e8ddd8;
}

.qty-input {
    width: 40px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid #d9ccc9;
    border-right: 1px solid #d9ccc9;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
}

.btn-comprar {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #5a3a2e;
    border: 1.5px solid #c4a59e;
    border-radius: 24px;
    text-decoration: none;
    background: transparent;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    margin-top: auto;
}

.btn-comprar:hover {
    background-color: #5a3a2e;
    border-color: #5a3a2e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(90,58,46,0.25);
}

/* Seleccionados carousel mobile */
.seleccionados-carousel-mobile {
    position: relative;
    padding-bottom: 48px;
}

.seleccionados-carousel-mobile .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.seleccionados-carousel-mobile .seleccionado-card {
    max-width: 300px;
    width: 85%;
    margin: 0 auto;
}

/* Flechas laterales del carrusel mobile */
.seleccionados-carousel-mobile .carousel-control-prev,
.seleccionados-carousel-mobile .carousel-control-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    padding: 0;
}

.seleccionados-carousel-mobile .carousel-control-prev:hover,
.seleccionados-carousel-mobile .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.seleccionados-carousel-mobile .carousel-control-prev {
    left: 10px;
}

.seleccionados-carousel-mobile .carousel-control-next {
    right: 10px;
}

.seleccionados-carousel-mobile .carousel-control-prev-icon,
.seleccionados-carousel-mobile .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

/* Indicadores */
.seleccionados-indicators {
    bottom: 0;
    margin-bottom: 0;
}

.seleccionados-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #b8959a;
    border: none;
    opacity: 0.5;
    margin: 0 5px;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.seleccionados-indicators button.active {
    background-color: #a0726e;
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-menu {
        gap: 15px;
        font-size: 11px;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .product-card-wrapper {
        flex: 0 0 50%;
        min-width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .header-main a {
        font-size: 12px !important;
    }
    
    .header-main .text-end a {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }
    
    .header-main .text-end .cart-icon {
        margin-left: 8px !important;
    }
    
    .favoritos-link {
        font-size: 11px !important;
        gap: 4px !important;
    }
    
    .favoritos-link .fa-heart {
        font-size: 14px !important;
    }
    
    .cart-icon {
        font-size: 18px !important;
    }
    
    .search-container {
        padding: 10px 0;
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Hide desktop menu, show hamburger */
    .nav-menu-desktop {
        display: none !important;
    }
    
    .hamburger-menu {
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }
    
    .search-icon {
        order: 3;
    }
    
    .banner-carousel .carousel-item img {
        height: 300px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .instagram-handle {
        font-size: 18px;
    }
    
    .instagram-icon {
        font-size: 36px;
    }
    
    /* Ajustes para cards en mobile */
    .products-section {
        padding: 0;
    }
    
    .products-carousel-wrapper {
        padding: 0;
        gap: 0;
        justify-content: center;
        position: relative;
    }
    
    .products-carousel-container {
        padding: 0 45px;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    
    .products-carousel-track {
        gap: 0;
        justify-content: flex-start;
        width: 100%;
    }
    
    .product-card-wrapper {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .product-card {
        height: 400px;
        width: 100%;
        max-width: 250px;
        border-radius: 20px;
        overflow: hidden;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card img,
    .product-card .img-fluid {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 400px !important;
        border-radius: 20px;
        object-fit: cover;
        display: block;
    }

    .product-card:hover img {
        transform: none;
    }
    
    .products-control-prev,
    .products-control-next {
        position: absolute;
        width: 35px;
        height: 35px;
        font-size: 12px;
        z-index: 10;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .products-control-prev {
        left: 10px;
    }
    
    .products-control-next {
        right: 10px;
    }

    /* Cart offcanvas mobile */
    .cart-offcanvas {
        width: 100% !important;
        max-width: 100vw;
    }

    .cart-offcanvas-header {
        padding: 16px 20px;
    }

    .cart-offcanvas-body {
        padding: 14px 20px;
        padding-bottom: 0;
    }

    .cart-item {
        gap: 12px;
        padding-bottom: 14px;
    }

    .cart-item-img {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .cart-item-qty {
        height: 44px;
        margin-bottom: 8px;
    }

    .cart-qty-btn {
        width: 40px;
        min-width: 44px;
        min-height: 44px;
        font-size: 18px;
        -webkit-tap-highlight-color: rgba(90,58,46,0.1);
    }

    .nav-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }

    .btn-eliminar-fav,
    .btn-fav-add-cart {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-qty-btn:active {
        background-color: #e8ddd8;
    }

    .cart-qty-value {
        width: 38px;
        font-size: 15px;
        line-height: 38px;
    }

    .cart-item-remove {
        padding: 8px;
        font-size: 16px;
    }

    .cart-offcanvas-footer {
        padding: 18px 20px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    }

    .cart-total {
        margin-bottom: 14px;
    }

    .cart-total span:last-child {
        font-size: 20px;
    }

    .btn-finalizar-compra {
        padding: 16px 0;
        font-size: 15px;
        letter-spacing: 1.2px;
        border-radius: 28px;
        -webkit-tap-highlight-color: rgba(90,58,46,0.15);
    }

    .btn-finalizar-compra:active {
        background-color: #4a2e24;
        box-shadow: 0 2px 8px rgba(90,58,46,0.3);
    }

    .summer-title, .seleccionados-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 575.98px) {
    .logo-img {
        height: 60px;
    }
    
    .banner-carousel .carousel-item img {
        height: 250px;
    }
    
    .products-carousel-container {
        padding: 0 40px;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    
    .products-carousel-track {
        gap: 0;
        justify-content: flex-start;
        width: 100%;
    }
    
    .product-card-wrapper {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .product-card {
        height: 380px;
        width: 100%;
        max-width: 220px;
        overflow: hidden;
        background: transparent;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-card img,
    .product-card .img-fluid {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 380px !important;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

    .product-card:hover img {
        transform: none;
    }
    
    .products-control-prev,
    .products-control-next {
        position: absolute;
        width: 35px;
        height: 35px;
        font-size: 12px;
        z-index: 10;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .products-control-prev {
        left: 5px;
    }
    
    .products-control-next {
        right: 5px;
    }
}

/* ==================== PRODUCT DETAIL PAGE ==================== */

.product-detail-section {
    background-color: #fff;
    min-height: 60vh;
}

.product-detail-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f5f5;
    cursor: default;
}

.product-detail-img-wrapper.zooming {
    cursor: crosshair;
}

.product-detail-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* Gallery crossfade transition */
.pdp-img-current {
    position: relative;
    z-index: 1;
    transition: opacity 0.35s ease;
}

.pdp-img-current.fading {
    opacity: 0;
}

.pdp-img-next {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pdp-img-next.visible {
    opacity: 1;
}

/* Zoom on hover (desktop) */
.pdp-zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-repeat: no-repeat;
    background-size: 200%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    cursor: crosshair;
}

.product-detail-img-wrapper.zooming .pdp-zoom-lens {
    opacity: 1;
}

.product-detail-img-wrapper.zooming .pdp-img-current,
.product-detail-img-wrapper.zooming .pdp-img-next {
    opacity: 0;
}

.product-detail-img-wrapper.zooming .product-detail-fav {
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
}

/* PDP badges - slightly larger */
.product-badges-pdp {
    top: 14px;
    left: 14px;
}

.product-badges-pdp .badge-new,
.product-badges-pdp .badge-off {
    font-size: 12px;
    padding: 4px 12px;
}

/* Hide badges during zoom */
.product-detail-img-wrapper.zooming .product-badges {
    opacity: 0;
    pointer-events: none;
}

.product-detail-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}

.thumb:hover {
    opacity: 0.9;
}

.thumb.active {
    border-color: #5a3a2e;
    opacity: 1;
}

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

.product-detail-fav {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: #5a3a2e;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    z-index: 2;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}

.product-detail-fav:hover {
    transform: scale(1.15);
}

.product-detail-fav.active {
    color: #e63946;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-detail-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-detail-price-original {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.product-detail-price-transfer {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 4px;
}

.product-detail-price-transfer-value {
    font-weight: 700;
    font-size: 17px;
}

.product-detail-cuotas {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.product-detail-stock {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.product-detail-stock .fa-circle {
    font-size: 8px;
    vertical-align: middle;
    margin-right: 6px;
}

.product-detail-stock.stock-ok {
    color: #2e7d32;
}

.product-detail-stock.stock-low {
    color: #e63946;
    animation: stock-pulse 2s ease-in-out infinite;
}

.product-detail-stock.stock-out {
    color: #999;
}

@keyframes stock-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.product-detail-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.qty-selector-detail {
    flex-shrink: 0;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #5a3a2e;
    color: #fff;
    border: 2px solid #5a3a2e;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background-color: #fff;
    color: #5a3a2e;
    transform: translateY(-2px);
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Share button */
.btn-share-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent;
    color: #25D366;
    border: 1.5px solid #25D366;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 16px;
}

.btn-share-product:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
}

.product-detail-description {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 4px;
}

.product-detail-description h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.product-detail-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

.product-detail-features {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 16px;
}

.product-detail-features h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
}

.features-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.features-table tr:last-child {
    border-bottom: none;
}

.features-table td {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 8px 0;
    vertical-align: top;
}

.features-table .feature-label {
    font-weight: 600;
    color: #333;
    width: 35%;
    padding-right: 16px;
}

.features-table .feature-value {
    color: #555;
    line-height: 1.5;
}

.btn-back-products {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background-color: #5a3a2e;
    color: #fff;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-back-products:hover {
    background-color: #3e2820;
    color: #fff;
    transform: translateY(-2px);
}

/* Breadcrumbs PDP */
.pdp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.pdp-breadcrumbs a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.pdp-breadcrumbs a:hover {
    color: #5a3a2e;
}

.breadcrumb-sep {
    color: #ccc;
    font-size: 10px;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Navegación Anterior / Siguiente */
.pdp-nav-prevnext {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.pdp-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color 0.2s, transform 0.2s;
    max-width: 45%;
}

.pdp-nav-link:hover {
    background-color: #f8f5f5;
    transform: translateY(-2px);
    color: #333;
}

.pdp-nav-link i {
    font-size: 18px;
    color: #5a3a2e;
    flex-shrink: 0;
}

.pdp-nav-label {
    display: flex;
    flex-direction: column;
}

.pdp-nav-dir {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 500;
}

.pdp-nav-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5a3a2e;
    line-height: 1.3;
}

.pdp-nav-next {
    text-align: right;
    margin-left: auto;
}

/* Productos Relacionados */
.pdp-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.pdp-related-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 28px;
}

/* Responsive PDP */
@media (max-width: 768px) {
    .product-detail-name {
        font-size: 22px;
    }

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

    .product-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-add-cart {
        width: 100%;
    }

    .pdp-breadcrumbs {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .pdp-nav-link {
        padding: 8px 10px;
        gap: 8px;
    }

    .pdp-nav-name {
        font-size: 12px;
    }

    .pdp-nav-dir {
        font-size: 10px;
    }

    /* Thumbnails — smaller on mobile */
    .product-detail-thumbnails {
        gap: 8px;
        margin-top: 10px;
    }

    .thumb {
        width: 56px;
        height: 56px;
    }

    /* No zoom on mobile */
    .pdp-zoom-lens {
        display: none;
    }
}

/* ==================== PAGINACIÓN ==================== */

.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #d4af37;
    color: #d4af37;
}

.pagination-item.active .pagination-btn {
    background: #d4af37;
    border-color: #d4af37;
    color: #fff;
}

.pagination-item.disabled .pagination-btn {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #999;
}

/* Indicador "Página X de Y" — visible solo en mobile */
.pagination-info {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

/* Mobile: simplificar a ← Página X de Y → */
@media (max-width: 575.98px) {
    .pagination-btn {
        min-width: 44px;
        height: 44px;
    }

    .pagination-item.pagination-ellipsis,
    .pagination-item.pagination-num-item {
        display: none;
    }

    .pagination-info {
        display: flex;
        align-items: center;
    }
}

/* ==================== CHECKOUT PAGE ==================== */

.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #888;
    font-size: 13px;
}

.checkout-breadcrumbs a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-breadcrumbs a:hover {
    color: #5a3a2e;
}

.checkout-section {
    background-color: #fff;
    min-height: 60vh;
}

/* Título con líneas decorativas */
.checkout-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.checkout-line {
    flex: 0 1 120px;
    height: 2px;
    background-color: #d4af37;
}

.checkout-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #333;
    margin: 0;
}

/* Botón volver al carrito */
.btn-volver-carrito {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #5a3a2e;
    background: transparent;
    border: 1.5px solid #5a3a2e;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-volver-carrito:hover {
    background-color: #5a3a2e;
    color: #fff;
}

/* Estado carrito vacío */
.checkout-empty {
    text-align: center;
    padding: 60px 20px;
}

.checkout-empty i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
    display: block;
}

.checkout-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
}

/* Cards */
.checkout-card {
    background: #fff;
    border: 1px solid #f0e8e5;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.checkout-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.checkout-card-title i {
    color: #5a3a2e;
}

.checkout-resumen-card {
    position: sticky;
    top: 20px;
}

/* Inputs */
.checkout-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.checkout-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d9ccc9;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.checkout-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.checkout-input-error {
    border-color: #e63946;
}

.checkout-input-error:focus {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.checkout-textarea {
    resize: vertical;
    min-height: 60px;
}

.checkout-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #e63946;
    margin-top: 4px;
    min-height: 16px;
}

/* Radio groups */
.checkout-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-radio-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1.5px solid #d9ccc9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.checkout-radio-option:hover {
    border-color: #b8959a;
}

.checkout-radio-option:has(input:checked),
.checkout-radio-option.checked {
    border-color: #5a3a2e;
    background-color: #faf8f5;
}

.checkout-radio-option input[type="radio"] {
    accent-color: #5a3a2e;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkout-radio-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Entrega info */
.checkout-entrega-info {
    margin-top: 16px;
    padding: 14px 16px;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #555;
}

.checkout-entrega-info i {
    color: #5a3a2e;
}

.checkout-entrega-envio {
    margin-top: 16px;
}

.checkout-envio-note {
    margin-top: 10px;
    padding: 12px 16px;
    background-color: #fff8e1;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #6d5a00;
    border: 1px solid #ffe082;
    line-height: 1.5;
}

.checkout-envio-note i {
    color: #d4af37;
}

.checkout-metodo-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #999;
    margin: 12px 0 0 0;
}

.checkout-metodo-note i {
    color: #d4af37;
}

/* Resumen del pedido — items */
.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e8e5;
}

.checkout-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f8f5f5;
}

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

.checkout-item-info {
    flex-grow: 1;
    min-width: 0;
}

.checkout-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0 0 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-item-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin: 0;
}

.checkout-item-subtotal {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5a3a2e;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Total */
.checkout-resumen-total {
    padding-top: 16px;
    border-top: 2px solid #f0e8e5;
    margin-bottom: 20px;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.checkout-total-row span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.checkout-total-row span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.checkout-discount-row span {
    color: #28a745 !important;
}

.checkout-total-final {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0e8e5;
}

.checkout-total-final span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.checkout-total-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #5a3a2e;
}

/* Coupon section */
.checkout-coupon-section {
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0e8e5;
}
.btn-aplicar-cupon {
    padding: 10px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5a3a2e;
    background: #f0e8e5;
    border: 1px solid #d4af37;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-aplicar-cupon:hover {
    background: #d4af37;
    color: #fff;
}

/* Botón confirmar pedido (verde WhatsApp) */
.btn-confirmar-pedido {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    background-color: #25D366;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirmar-pedido:hover {
    background-color: #128C7E;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Estado post-envío */
.checkout-post-send {
    text-align: center;
    padding: 48px 24px;
    max-width: 520px;
    margin: 0 auto;
}

.checkout-post-send-icon {
    font-size: 56px;
    color: #25D366;
    margin-bottom: 20px;
}

.checkout-post-send-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.checkout-post-send-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 28px;
}

.checkout-post-send-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-finalizar-checkout {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    color: #5a3a2e;
    background: transparent;
    border: 1.5px solid #5a3a2e;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-finalizar-checkout:hover {
    background-color: #5a3a2e;
    color: #fff;
}

/* ===== CHECKOUT RESPONSIVE ===== */
@media (max-width: 768px) {
    .checkout-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .checkout-line {
        flex: 0 1 60px;
    }

    .checkout-card {
        padding: 20px 16px;
    }

    .checkout-resumen-card {
        position: static;
    }

    .checkout-radio-group {
        gap: 8px;
    }

    .checkout-radio-option {
        padding: 12px 14px;
    }

    .checkout-items {
        max-height: none;
    }

    .checkout-input {
        font-size: 16px;
    }
}

/* ===== STATIC CONTENT PAGES (asesoramiento, política, términos) ===== */

.static-page-section {
    padding: 60px 0;
}

.static-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #5a3a2e;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.static-page-content h3:first-child {
    margin-top: 0;
}

.static-page-content p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.static-page-content ul,
.static-page-content ol {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 1.5rem;
}

.static-page-content a {
    color: #5a3a2e;
    font-weight: 500;
    text-decoration: underline;
}

.static-page-content a:hover {
    color: #d4af37;
}

.static-page-steps {
    padding-left: 1.25rem;
}

.static-page-steps li {
    margin-bottom: 0.5rem;
}

.static-page-tips li {
    margin-bottom: 0.75rem;
}

.static-page-callout {
    background: #faf8f5;
    border-left: 4px solid #d4af37;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #5a3a2e;
}

.static-page-callout a {
    color: #25D366;
    font-weight: 600;
}

.static-page-callout a:hover {
    color: #128C7E;
}

/* Size table */
.size-table {
    border-color: #d9ccc9;
}

.size-table thead {
    background: #5a3a2e;
    color: white;
}

.size-table thead th {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-color: #5a3a2e;
    text-align: center;
    padding: 12px;
}

.size-table td {
    text-align: center;
    padding: 10px;
    font-size: 0.95rem;
    color: #444;
}

.size-table tbody tr:hover {
    background: #faf8f5;
}

/* Policy items */
.policy-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0ece8;
}

.policy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-item h3 i {
    color: #d4af37;
}

/* ===== AUTH PAGES (crear-cuenta, iniciar-sesión) ===== */

.auth-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.auth-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #5a3a2e;
    letter-spacing: 2px;
}

.auth-card .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a3a2e;
    letter-spacing: 0.3px;
}

.auth-card .form-control {
    border: 1px solid #d9ccc9;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-card .form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.btn-auth {
    background: #5a3a2e;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-auth:hover {
    background: #4a2a1e;
    color: white;
}

.auth-link {
    color: #5a3a2e;
    font-weight: 500;
    text-decoration: underline;
}

.auth-link:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .auth-card .form-control {
        font-size: 16px;
    }
}

/* ===== FOOTER TERMS LINK ===== */

.footer-terms-link {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.footer-terms-link:hover {
    color: #5a3a2e;
}

/* ===== STATIC & AUTH PAGES — RESPONSIVE ===== */

@media (max-width: 768px) {
    .static-page-section {
        padding: 40px 0;
    }

    .static-page-content h3 {
        font-size: 1.1rem;
    }

    .auth-card {
        margin: 0 12px;
        padding: 28px 24px;
    }

    .size-table thead th,
    .size-table td {
        font-size: 0.85rem;
        padding: 8px 6px;
    }

    .account-tabs {
        flex-wrap: wrap;
    }

    .account-tab {
        flex: 1 1 45%;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .order-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ===== MI CUENTA PAGE ===== */

.account-tabs {
    display: flex;
    gap: 0;
    border: 1px solid #d9ccc9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.account-tab {
    flex: 1;
    background: #fff;
    border: none;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: #5a3a2e;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-right: 1px solid #d9ccc9;
}

.account-tab:last-child {
    border-right: none;
}

.account-tab:hover {
    background: #f5f0eb;
}

.account-tab.active {
    background: #5a3a2e;
    color: #fff;
}

.account-panel {
    display: none;
}

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

.account-panel .auth-card {
    max-width: 600px;
}

.address-card {
    border: 1px solid #e8e0dc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.address-card:hover {
    border-color: #d4af37;
}

.address-card.address-default {
    border-color: #5a3a2e;
}

.order-card {
    border: 1px solid #e8e0dc;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #faf7f5;
    border-bottom: 1px solid #e8e0dc;
}

.order-items {
    padding: 10px 16px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    color: #555;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #e8e0dc;
    background: #faf7f5;
}

.order-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-pending,
.order-status-payment_pending {
    background: #fff3cd;
    color: #856404;
}

.order-status-paid,
.order-status-delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status-preparing,
.order-status-shipped,
.order-status-ready_for_pickup {
    background: #cff4fc;
    color: #055160;
}

.order-status-cancelled,
.order-status-refunded {
    background: #f8d7da;
    color: #842029;
}

.order-status-approved {
    background: #d4edda;
    color: #155724;
}

.order-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.order-status-in_process {
    background: #fff3cd;
    color: #856404;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
