/* --- SISTEMA DE DISEÑO DE LUJO - FLORERÍA MONI --- */
:root {
    /* Paleta de colores */
    --luxury-black: #0D0D0D;
    --luxury-dark-gray: #1A1A1A;
    --gold: #D4AF37;
    --gold-light: #FDF6C7;
    --gold-dark: #AA771C;
    --gold-muted: rgba(212, 175, 55, 0.65);
    --cream: #FCFAF2;
    --cream-light: #F9F7EF;
    --rose-cream: #F5EFEB;
    --white: #FFFFFF;
    
    /* Textos */
    --text-dark: #2A201C;
    --text-muted: #6E6864;
    --border-color: #E8E2D5;
    
    /* Fuentes */
    --font-sans: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, serif;
}

/* --- ESTILOS GENERALES Y RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: #fcfaf7;
    background-image: url('../images/Fondo_final.jpeg');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Aura dorada flotante premium para dar profundidad */
body::after {
    content: '';
    position: fixed;
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(252, 250, 242, 0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: floatAura 25s infinite alternate ease-in-out;
}

@keyframes floatAura {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, 10%) scale(1.1); }
}

/* SECCIONES Y CONTENEDORES CON FONDO FLORAL VISIBLE */
section, .hero-split-section, 
.categories-section, .featured-section, .testimonials-section, 
.catalog-header-section, .bg-cream, .bg-white-section {
    background-color: transparent !important;
}

/* TARJETAS, FORMULARIOS Y CONTENIDOS SÓLIDOS (100% LEGIBLES EN BLANCO SÓLIDO) */
.card, .product-card, .product-card-luxury, .card-body, .testimonial-card,
.modal-content, .category-card-luxury, .product-details, .price-badge,
.cart-summary-card, .checkout-card, .auth-card, .profile-card {
    background-color: #ffffff !important;
}

/* Asegurar que las tarjetas de producto y testimonios tengan fondo blanco opaco */
.product-details, .category-info {
    background-color: #ffffff !important;
    border-radius: 0 0 12px 12px;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--luxury-black);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* --- ENCABEZADO Y NAVEGACIÓN --- */
.gold-top-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    width: 100%;
}

.bg-luxury-black {
    background-color: var(--luxury-black) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.logo-img {
    height: 55px;
    max-height: 65px;
    object-fit: contain;
    mix-blend-mode: lighten;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: all 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.04);
}

.logo-footer {
    height: 50px;
    object-fit: contain;
    mix-blend-mode: lighten;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.nav-link-gold {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}
.nav-link-gold:hover {
    color: var(--gold);
}
.nav-link-gold::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link-gold:hover::after {
    width: 60%;
}

.border-gold {
    border: 1px solid var(--gold) !important;
}

.border-gold-light {
    border-color: rgba(212, 175, 55, 0.2) !important;
}

.border-gold-dropdown {
    border: 1px solid var(--gold) !important;
}

.dropdown-item.text-gold:hover {
    background-color: var(--gold);
    color: var(--luxury-black) !important;
}

/* Iconos de Redes y Carrito */
.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    padding: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    transition: all 0.3s ease;
}
.cart-icon-wrapper:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--luxury-black);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-gold {
    background-color: var(--gold);
}

/* Botones Premium SÓLIDOS (NUNCA TRANSPARENTES) */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    border: none !important;
    color: var(--luxury-black) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    color: var(--luxury-black) !important;
}

.btn-outline-gold {
    border: 1.5px solid var(--gold) !important;
    background-color: #ffffff !important; /* Fondo blanco sólido para evitar transparencias */
    color: #967015 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.btn-outline-gold:hover {
    background-color: var(--gold) !important;
    color: var(--luxury-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-luxury-dark {
    background-color: var(--luxury-black);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.btn-luxury-dark:hover {
    background-color: var(--gold);
    color: var(--luxury-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --- HERO SPLIT SECTION (Propuesta Florería.png) --- */
.hero-split-section {
    height: calc(100vh - 68px);
    min-height: 600px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.bg-cream-hero {
    background-color: rgba(245, 230, 232, 0.90) !important;
    backdrop-filter: blur(4px);
}

.bg-pink-hero {
    background-color: rgba(245, 210, 218, 0.45) !important;
}

/* Stats section: asegurar que no quede debajo del hero */
.stats-section {
    position: relative;
    z-index: 2;
    background-color: #ffffff !important;
}

.hero-sub {
    color: var(--gold-dark);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-dark);
    font-weight: 400;
}

.text-accent-gold-playfair {
    color: var(--gold-dark);
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 450px;
    line-height: 1.6;
}

/* Marco de Imagen Ovalado */
.oval-image-frame-container {
    width: 85%;
    max-width: 400px;
    aspect-ratio: 1 / 1.4;
    perspective: 1000px;
}
.oval-image-frame {
    width: 100%;
    height: 100%;
    border-radius: 200px; /* Oval shape */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(42, 32, 28, 0.15);
    border: 8px solid var(--cream-light);
    transition: transform 0.5s ease;
}
.oval-image-frame:hover {
    transform: scale(1.03) rotate(1deg);
}
.oval-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-vertical-bar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
}
.social-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.social-vertical-bar a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.social-vertical-bar a:hover {
    color: var(--gold-dark);
}

/* Stats Section — fondo blanco sólido para legibilidad */
.stats-section {
    background-color: #ffffff !important;
}

/* Fondo beige para encabezados de sección del Home */
.section-header-band {
    background-color: var(--cream-light);
    padding: 40px 20px 25px 20px;
    margin: 0 -12px 30px -12px;
    text-align: center;
    border-radius: 12px;
}

/* Barra Social con recuadro beige */
.social-vertical-bar {
    background-color: var(--cream-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 10px;
}

/* --- TARJETAS DE PRODUCTO --- */
.product-card-luxury {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.product-card-luxury:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(42, 32, 28, 0.08);
    border-color: var(--gold-dark);
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card-luxury:hover .product-img-wrapper img {
    transform: scale(1.08);
}
.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 15px;
    background: linear-gradient(0deg, rgba(13,13,13,0.8) 0%, rgba(13,13,13,0) 100%);
    transition: all 0.35s ease;
}
.product-card-luxury:hover .product-actions {
    bottom: 0;
}
.btn-gold-action {
    background-color: var(--gold);
    color: var(--luxury-black);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-gold-action:hover {
    background-color: var(--white);
    color: var(--luxury-black);
}

.text-dark-brown {
    color: var(--text-dark);
}

.price-label {
    font-size: 1.15rem;
}

/* --- CATEGORÍAS --- */
.category-card-luxury {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.category-card-luxury:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}
.category-img-wrapper {
    position: relative;
    aspect-ratio: 1.6;
    overflow: hidden;
}
.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card-luxury:hover .category-img-wrapper img {
    transform: scale(1.05);
}
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13,13,13,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-card-luxury:hover .category-overlay {
    opacity: 1;
}
.btn-outline-white {
    border: 1.5px solid var(--white);
    color: var(--white);
    background: transparent;
    font-weight: 600;
    border-radius: 4px;
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--luxury-black);
}

.small-divider {
    width: 60px;
    height: 2px;
}

/* --- FOOTER --- */
.border-top-gold {
    border-top: 2px solid var(--gold) !important;
}
.text-gold {
    color: var(--gold) !important;
}
.text-gold-muted {
    color: var(--gold-muted) !important;
}
.footer-link {
    color: var(--gold-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--gold);
}
.social-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--luxury-dark-gray);
    color: var(--gold);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.social-icon:hover {
    background-color: var(--gold);
    color: var(--luxury-black);
    transform: translateY(-2px);
}

/* --- DETALLES DE PRODUCTO --- */
.border-cream {
    border: 1px solid var(--border-color) !important;
}
.border-cream-light {
    border-bottom: 1px solid rgba(232, 226, 213, 0.5) !important;
}
.bg-cream-light {
    background-color: var(--cream-light) !important;
}
.thumbnail-wrapper.selected,
.thumbnail-wrapper:hover {
    border-color: var(--gold) !important;
}
.extra-item-card {
    transition: border-color 0.3s ease;
}
.extra-item-card:hover {
    border-color: var(--gold);
}

/* --- LOGIN / REGISTER / RECOVER --- */
.login-container-luxury {
    max-width: 480px;
    margin: 50px auto;
    border: 1px solid var(--border-color);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15);
}

/* --- CARRO DE COMPRAS --- */
.text-gold-dark {
    color: var(--gold-dark);
}
.font-bold {
    font-weight: 700;
}

/* --- CHECKOUT & TARJETA 3D INTERACTIVA --- */
.credit-card-3d {
    width: 320px;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}
.credit-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.credit-card-3d.flipped .credit-card-inner {
    transform: rotateY(180deg);
}
.credit-card-front,
.credit-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.credit-card-back {
    transform: rotateY(180deg);
}
.card-chip {
    width: 45px;
    height: 32px;
    background: linear-gradient(135deg, #f0d070 0%, #a07010 100%);
    border-radius: 6px;
}
.card-magnetic-strip {
    background-color: #1a1a1a;
}

/* Overlay de Procesamiento */
.payment-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 13, 13, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.processing-card {
    width: 90%;
    max-width: 400px;
    border: 1.5px solid var(--gold);
}
.spinner-gold {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- RASTREO Y LÍNEA DE TIEMPO --- */
.tracking-timeline-container {
    position: relative;
    padding: 20px 0;
}
.tracking-progress-bar {
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}
.tracking-progress-line {
    height: 100%;
    transition: width 0.8s ease;
}
.tracking-step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--border-color);
    z-index: 2;
    position: relative;
}
.tracking-step-dot.active {
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.25);
}

.tracking-history-item {
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    padding-bottom: 20px;
}
.tracking-history-item:last-child {
    border-left: none;
}
.history-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 3px;
    border: 2.5px solid var(--white);
}

/* --- ESTILOS DE ADMINISTRACIÓN --- */
.stat-card-admin {
    border-left-width: 5px !important;
    position: relative;
    overflow: hidden;
}
.border-left-gold {
    border-left: 5px solid var(--gold) !important;
}
.border-left-danger {
    border-left: 5px solid #d9534f !important;
}
.card-icon-admin {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 3rem;
}
.bg-danger-light-custom {
    background-color: rgba(217, 83, 79, 0.08) !important;
    border: 1px solid rgba(217, 83, 79, 0.15);
}
.bg-danger-light-row {
    background-color: rgba(217, 83, 79, 0.03) !important;
}
.border-danger-light {
    border: 1px solid rgba(217, 83, 79, 0.2);
}

/* --- CLASES DE UTILIDAD --- */
.font-playfair {
    font-family: var(--font-serif);
}
.text-xs {
    font-size: 0.75rem;
}
.text-xxs {
    font-size: 0.68rem;
}
.italic {
    font-style: italic;
}
.cursor-pointer {
    cursor: pointer;
}
.tracking-widest {
    letter-spacing: 0.15em;
}
.tracking-wider {
    letter-spacing: 0.08em;
}

/* --- EFECTOS DE MICRO-INTERACCIÓN --- */
.hover-grow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.hover-grow:hover {
    transform: scale(1.15);
}

/* --- RESPONSIVE STYLING --- */
@media (max-width: 991px) {
    .hero-split-section {
        height: auto;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .oval-image-frame-container {
        margin: 30px auto 0;
    }
    .border-end-cream {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }
}
@media (max-width: 575px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .credit-card-3d {
        width: 280px;
        height: 175px;
    }
    .tracking-timeline-container {
        display: none; /* Ocultar barra horizontal en móviles muy pequeños */
    }
}

/* --- ESTILOS DE FILTRADO Y MENÚ DE NAVEGACIÓN --- */
.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    margin-bottom: 8px;
}
.filter-link:hover {
    color: var(--gold-dark);
    background-color: var(--cream-light);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(5px);
}
.filter-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    font-weight: 600;
    border-color: var(--gold-dark);
    box-shadow: 0 4px 15px rgba(170, 119, 28, 0.2);
}

/* Buscador en Barra de Navegación */
.navbar-search-form .form-control {
    background-color: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--white) !important;
    transition: all 0.3s ease;
}
.navbar-search-form .form-control:focus {
    width: 240px;
    border-color: var(--gold);
    background-color: var(--luxury-black) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
.navbar-search-form .btn-search-nav {
    color: var(--gold-muted);
    transition: color 0.3s ease;
}
.navbar-search-form .form-control:focus + .btn-search-nav,
.navbar-search-form .btn-search-nav:hover {
    color: var(--gold) !important;
}

/* --- HOVER DROPDOWN Y ESTILOS DE LECTURA FACIL --- */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDropdown 0.2s ease-in-out;
    }
}
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu .dropdown-item {
    font-size: 1.1rem !important;
    padding: 10px 24px !important;
    letter-spacing: 0.5px;
}
.nav-link-gold {
    font-size: 1.05rem !important;
}

/* --- FORMATOS DE IMPRESIÓN (TARJETA Y REPARTO) --- */
.d-none-screen {
    display: none;
}

@media print {
    /* Ocultar elementos de pantalla */
    body * {
        visibility: hidden;
    }
    
    #printableSection, #printableSection * {
        visibility: visible;
    }
    
    #printableSection {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: block !important;
        background-color: white !important;
        color: black !important;
    }
    
    /* Evitar fondos oscuros en impresión */
    .print-card-box {
        border: 2px dashed #000;
        padding: 30px;
        width: 100%;
        max-width: 500px;
        margin: 50px auto;
        font-family: Georgia, serif;
        background-color: white !important;
        color: black !important;
        text-align: center;
        page-break-inside: avoid;
    }
    
    .print-card-box .logo-print {
        max-width: 150px;
        margin-bottom: 20px;
        filter: grayscale(1);
    }
    
    .print-card-box .dedicatoria-text {
        font-size: 1.6rem;
        line-height: 1.8;
        font-style: italic;
        margin: 30px 0;
        white-space: pre-wrap;
    }
    
    .print-card-box .publicidad-print {
        border-top: 1px solid #ccc;
        padding-top: 15px;
        font-size: 0.8rem;
        color: #666;
    }
    
    .print-slip-box {
        font-family: Arial, sans-serif;
        padding: 20px;
        width: 100%;
        margin: 20px auto;
        background-color: white !important;
        color: black !important;
        page-break-inside: avoid;
    }
    
    .print-slip-box h2 {
        border-bottom: 2px solid black;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    
    .print-slip-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }
    
    .print-slip-table th, .print-slip-table td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: left;
    }
    
    .print-slip-table th {
        background-color: #f2f2f2 !important;
    }
    
    .signature-line-box {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;
    }
    
    .signature-line {
        width: 45%;
        border-top: 1px solid black;
        text-align: center;
        padding-top: 10px;
        margin-top: 40px;
    }
}

/* --- BLOBS DE PROFUNDIDAD ORGANICA (Fondo Beige/Dorado dinámico) --- */
.bg-blob-1, .bg-blob-2, .bg-blob-3 {
    position: fixed;
    border-radius: 50%;
    z-index: -10;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.75;
}

.bg-blob-1 {
    top: -15%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(253, 246, 199, 0) 70%);
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.bg-blob-2 {
    bottom: -20%;
    right: -15%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(245, 239, 235, 0.95) 0%, rgba(252, 250, 242, 0) 70%);
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.bg-blob-3 {
    top: 40%;
    left: 50%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(252, 250, 242, 0) 70%);
    animation: floatBlob1 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -60px) scale(1.06); }
    100% { transform: translate(-40px, 40px) scale(0.94); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-70px, 50px) scale(1.05); }
    100% { transform: translate(50px, -70px) scale(0.95); }
}

/* --- ADMIN VERTICAL SIDEBAR LAYOUT --- */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: 270px;
    background-color: var(--luxury-black);
    border-right: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    transition: all 0.3s ease;
}

.admin-sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-decoration: none;
}

.admin-sidebar-menu {
    list-style: none;
    padding: 20px 12px;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 4px;
    transition: all 0.25s ease;
}

.admin-sidebar-link i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--gold);
    margin-right: 12px;
    transition: all 0.25s ease;
}

.admin-sidebar-link:hover, .admin-sidebar-link.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.05) 100%);
    color: var(--gold);
    border-left: 3px solid var(--gold);
    padding-left: 17px;
}

.admin-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
}

.admin-wrapper, .admin-main-content {
    background-color: transparent !important;
}

.admin-main-content .card, .admin-main-content .bg-white {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.admin-main-content {
    margin-left: 270px;
    flex-grow: 1;
    width: calc(100% - 270px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* === RESPONSIVE ENHANCEMENTS FOR ALL SCREENS === */

/* Mobile phones */
@media (max-width: 575.98px) {
    body {
        font-size: 14px;
    }
    .container, .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    .hero-split-section h1, h1.font-playfair {
        font-size: 1.6rem !important;
    }
    .hero-split-section h2 {
        font-size: 1.2rem !important;
    }
    .product-card-luxury, .category-card-luxury {
        margin-bottom: 1rem;
    }
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .card.p-4, .card.p-5 {
        padding: 1rem !important;
    }
    .btn-luxury-dark, .btn-luxury-gold {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .navbar-brand img.logo-img {
        height: 36px !important;
    }
    .table-responsive {
        font-size: 0.85rem;
    }
    .checkout-card, .cart-summary-card {
        padding: 1rem !important;
    }
    /* Fix time inputs stacking on very small screens */
    .d-flex.align-items-center.gap-2 {
        flex-wrap: nowrap;
    }
}

/* Tablets portrait */
@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        font-size: 15px;
    }
    .hero-split-section h1, h1.font-playfair {
        font-size: 1.8rem !important;
    }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Tablets landscape & small laptops */
@media (min-width: 768px) and (max-width: 1199.98px) {
    body {
        font-size: 15px;
    }
    .container {
        max-width: 960px;
    }
}

/* Large monitors & scaling (1440p+) */
@media (min-width: 1400px) {
    body {
        font-size: 16px;
    }
    .container {
        max-width: 1320px;
    }
}

/* Extra-large monitors (1920p / Full HD+) */
@media (min-width: 1920px) {
    :root {
        --font-scale: 1.1;
    }
    body {
        font-size: 17px;
    }
    .container {
        max-width: 1600px;
    }
    .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .hero-split-section h1 {
        font-size: 4.2rem !important;
    }
    .hero-desc {
        font-size: 1.25rem;
        max-width: 520px;
    }
    .hero-sub {
        font-size: 1rem;
    }
    h2.font-playfair, .section-header h2 {
        font-size: 2.8rem !important;
    }
    .product-card-luxury .product-details h4 {
        font-size: 1.15rem;
    }
    .stat-number {
        font-size: 2.8rem !important;
    }
    .stat-label {
        font-size: 1.05rem;
    }
    .testimonial-card p {
        font-size: 1.05rem;
    }
    .nav-link-gold {
        font-size: 1.05rem;
        padding: 0.5rem 1.2rem;
    }
    .logo-img {
        height: 65px;
        max-height: 75px;
    }
    .logo-footer {
        height: 60px;
    }
    .footer-link, .social-icon {
        font-size: 1.05rem;
    }
    .card.p-4 {
        padding: 2rem !important;
    }
    .btn-luxury-dark, .btn-luxury-gold, .btn-outline-gold {
        padding: 0.85rem 2.2rem;
        font-size: 1.05rem;
    }
    .oval-image-frame-container {
        max-width: 480px;
    }
}

/* 2K monitors (2560×1440) */
@media (min-width: 2400px) {
    body {
        font-size: 18px;
    }
    .container {
        max-width: 1800px;
    }
    .container-fluid {
        padding-left: 6rem;
        padding-right: 6rem;
    }
    .hero-split-section h1 {
        font-size: 4.8rem !important;
    }
    .hero-desc {
        font-size: 1.35rem;
        max-width: 580px;
    }
    h2.font-playfair, .section-header h2 {
        font-size: 3.2rem !important;
    }
    .nav-link-gold {
        font-size: 1.1rem;
        padding: 0.6rem 1.4rem;
    }
    .logo-img {
        height: 75px;
        max-height: 85px;
    }
    .logo-footer {
        height: 70px;
    }
    .product-card-luxury .product-details h4 {
        font-size: 1.25rem;
    }
    .price-label {
        font-size: 1.2rem;
    }
    .stat-number {
        font-size: 3.2rem !important;
    }
    .oval-image-frame-container {
        max-width: 540px;
    }
    .testimonial-card {
        padding: 2rem !important;
    }
    .testimonial-card p {
        font-size: 1.15rem;
    }
    .card.p-4 {
        padding: 2.5rem !important;
    }
    .form-control, .form-select {
        padding: 0.65rem 1rem;
        font-size: 1.05rem;
    }
    .form-label {
        font-size: 1rem;
    }
}

/* 4K / Ultra-wide monitors (3840×2160+) */
@media (min-width: 3200px) {
    body {
        font-size: 22px;
    }
    .container {
        max-width: 2400px;
    }
    .container-fluid {
        padding-left: 8rem;
        padding-right: 8rem;
    }
    .hero-split-section {
        min-height: 800px;
    }
    .hero-split-section h1 {
        font-size: 6rem !important;
    }
    .hero-desc {
        font-size: 1.6rem;
        max-width: 700px;
    }
    .hero-sub {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }
    h2.font-playfair, .section-header h2 {
        font-size: 4rem !important;
    }
    .nav-link-gold {
        font-size: 1.25rem;
        padding: 0.7rem 1.6rem;
    }
    .logo-img {
        height: 90px;
        max-height: 100px;
    }
    .logo-footer {
        height: 80px;
    }
    .stat-number {
        font-size: 4rem !important;
    }
    .stat-label {
        font-size: 1.3rem;
    }
    .product-card-luxury .product-details h4 {
        font-size: 1.5rem;
    }
    .price-label {
        font-size: 1.4rem;
    }
    .oval-image-frame-container {
        max-width: 650px;
    }
    .oval-image-frame {
        border-width: 12px;
    }
    .testimonial-card {
        padding: 3rem !important;
    }
    .testimonial-card p {
        font-size: 1.35rem;
    }
    .card.p-4 {
        padding: 3rem !important;
    }
    .btn-luxury-dark, .btn-luxury-gold, .btn-outline-gold {
        padding: 1rem 2.8rem;
        font-size: 1.3rem;
    }
    .form-control, .form-select {
        padding: 0.85rem 1.2rem;
        font-size: 1.2rem;
    }
    .form-label {
        font-size: 1.15rem;
    }
    .small-divider {
        width: 80px;
        height: 4px;
    }
    .social-icon {
        font-size: 1.4rem;
    }
    .footer-link {
        font-size: 1.2rem;
    }
    /* Spacing */
    .py-5 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    .mb-5 {
        margin-bottom: 4rem !important;
    }
    .gap-4 {
        gap: 2rem !important;
    }
}

/* Ensure all images scale properly */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure forms are touch-friendly on mobile */
@media (max-width: 767.98px) {
    input[type="text"], input[type="email"], input[type="tel"], 
    input[type="date"], input[type="time"], input[type="number"],
    input[type="password"], select, textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        min-height: 44px; /* Touch-friendly height */
    }
    .form-label {
        font-size: 0.85rem;
    }
}