/* --- ESTILOS DE LUJO MINIMALISTA --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Montserrat:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fafafa; /* Blanco tiza premium */
    color: #040833; /* Azul marino icónico */
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-placeholder {
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- HEADER PRINCIPAL --- */
header {
    background-color: #040833;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(4, 8, 51, 0.15);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 8%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-placeholder {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #ffffff;
    position: relative;
    padding-bottom: 5px;
}

.logo-placeholder span {
    color: #00f5d4;
}

.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 60px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 10px 20px;
    padding-right: 45px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    outline: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: border-color 0.4s;
}

.search-container input:focus {
    border-color: #00f5d4;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-container button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #00f5d4;
    cursor: pointer;
    font-size: 14px;
}

.cart-container {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.cart-container i {
    font-size: 18px;
    color: #00f5d4;
    margin-right: 12px;
}

.cart-count {
    background-color: #ffffff;
    color: #040833;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 5px;
    font-weight: 500;
}

/* --- SUB-BARRA DE NAVEGACIÓN --- */
.sub-nav {
    background-color: #ffffff;
    padding: 15px 8%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1600px;
    margin: 0 auto;
    list-style: none;
}

.nav-links a {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(4, 8, 51, 0.6);
}

.nav-links a:hover {
    color: #040833;
}

/* --- CONTENIDO PRINCIPAL --- */
.main-container {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 8%;
}

.tags-filter {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(4, 8, 51, 0.05);
    padding-bottom: 20px;
}

.tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    color: rgba(4, 8, 51, 0.5);
    transition: all 0.3s;
    position: relative;
}

.tag:hover, .tag.turqueza-destacado {
    color: #040833;
}

.tag.turqueza-destacado::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #040833;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 50px;
}

.sidebar-filters {
    height: fit-content;
    padding-right: 20px;
}

.filter-group {
    margin-bottom: 40px;
}

.filter-group h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #040833;
    margin-bottom: 25px;
    font-weight: 600;
}

.filter-group ul {
    list-style: none;
}

.filter-group ul li {
    margin-bottom: 16px;
}

.filter-group ul li a {
    font-size: 13px;
    color: rgba(4, 8, 51, 0.6);
    font-weight: 300;
}

.filter-group ul li a:hover {
    color: #040833;
    padding-left: 6px;
}

.btn-clear {
    color: rgba(4, 8, 51, 0.4);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.btn-clear:hover {
    color: #ff3366;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(4, 8, 51, 0.02);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(4, 8, 51, 0.06);
}

.product-img-container {
    background-color: #fdfdfd;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(4, 8, 51, 0.3);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px dashed rgba(4, 8, 51, 0.08);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: #040833;
}

.product-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    font-weight: 300;
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(4, 8, 51, 0.05);
    padding-top: 20px;
}

.product-price {
    font-size: 15px;
    font-weight: 400;
    color: #040833;
    letter-spacing: 1.5px;
    font-family: 'Cinzel', serif;
}

/* --- FOOTER --- */
footer {
    background-color: #040833;
    margin-top: 120px;
    padding: 80px 8% 40px 8%;
    color: #ffffff;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h4 {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.footer-section p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 16px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 300;
}

.footer-section ul li a:hover {
    color: #00f5d4;
}

.footer-bottom {
    max-width: 1600px;
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.social-icons a {
    margin-left: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00f5d4;
}

@media (max-width: 992px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .sidebar-filters { display: none; }
    .header-top { flex-direction: column; gap: 25px; padding: 25px 5%; }
    .search-container { margin: 0; width: 100%; }
    .nav-links { flex-wrap: wrap; gap: 20px; }
}
/* ==========================================================================
   MAISON LA TURQUEZA - CORRECCIÓN PREMIUM MODAL DE LA BOLSA 
   ========================================================================== */

/* Fondo oscuro difuminado detrás del modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 51, 0.55);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Tarjeta contenedora de la bolsa */
.cart-modal {
    background: #ffffff;
    width: 90%;
    max-width: 460px;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(4, 8, 51, 0.15);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-sizing: border-box; /* Evita que el padding estire el botón hacia afuera */
}

.modal-overlay.active .cart-modal {
    transform: scale(1);
}

.cart-modal h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 25px;
    color: #040833;
}

/* Lista interna con scroll estético */
.cart-items-list {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 5px;
}

/* Scrollbar minimalista para la lista */
.cart-items-list::-webkit-scrollbar {
    width: 4px;
}
.cart-items-list::-webkit-scrollbar-thumb {
    background: rgba(4, 8, 51, 0.15);
    border-radius: 2px;
}

/* Renglón de cada joya */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(4, 8, 51, 0.06);
}

.cart-item-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #040833;
}

.cart-item-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
}

/* El gran botón de WhatsApp corporativo */
.btn-whatsapp-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    font-weight: 500;
    box-sizing: border-box;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: 10px;
}

.btn-whatsapp-send:hover {
    background-color: #1ebd59;
    transform: translateY(-1px);
}

/* Botón inferior para cerrar */
.btn-close-modal {
    background: transparent;
    border: none;
    color: rgba(4, 8, 51, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 20px;
    padding: 8px 16px;
    transition: color 0.2s;
    display: inline-block;
}

.btn-close-modal:hover {
    color: #ff3366;
}