/* ===================== VARIABLES Y RESET ===================== */
:root {
    --primary-black: #000000;
    --text-color: #1a1a1a;
    --bg-white: #ffffff;
     --bg-white1: #ededed;
    --bg-muted: #f4f4f4;
    --accent-bronze: #b58d5f;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --shadow-subtle: 0 10px 30px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--sans-font);
    background-color: var(--bg-white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================== LOADER ===================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: var(--transition-smooth);
}

.loader-content {
    width: 200px;
    height: auto;
    animation: pulseLogo 2s infinite;
}

.loader-content img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

@keyframes pulseLogo {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.95); }
}

/* ===================== NAVEGACIÓN ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    box-shadow: var(--shadow-subtle);
}

.container_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    display: block;
    width: 120px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-bronze);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--accent-bronze);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-bronze);
    color: var(--primary-black);
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-black);
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===================== HERO ===================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--bg-white);
    background-color: var(--primary-black);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-family: var(--serif-font);
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero h1 .highlight {
    color: var(--accent-bronze);
    font-style: italic;
    text-transform: none;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* ===================== PAGE HEADER ===================== */
.page-header {
    padding-top: 80px;
    background-color: var(--primary-black);
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd0b2e9bd5e2?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.page-header-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
}

.breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--accent-bronze);
}

.breadcrumb span {
    color: var(--accent-bronze);
}

.page-header h1 {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

/* ===================== BOTONES ===================== */
.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--accent-bronze);
    color: var(--primary-black);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-black);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===================== COLECCIÓN / TIENDA ===================== */
.collection-grid,
.tienda-section {
    padding: 8rem 0;
    background-color: var(--bg-white1);
}

.section-title {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 5vw, 3rem);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-bronze);
    margin: 1.5rem auto 0;
}

/* Barra de herramientas */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.toolbar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.toolbar-right {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* Filtros de categoría */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--sans-font);
    transition: var(--transition-fast);
    color: var(--text-color);
}

.filter-btn:hover {
    border-color: var(--accent-bronze);
    color: var(--accent-bronze);
}

.filter-btn.active {
    background: var(--primary-black);
    border-color: var(--primary-black);
    color: var(--bg-white);
}

/* Selectores */
.toolbar-select {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: var(--bg-white);
    font-family: var(--sans-font);
    font-size: 0.8rem;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    min-width: 160px;
}

.toolbar-select:focus {
    border-color: var(--accent-bronze);
}

/* Contador */
.product-count {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
    align-self: center;
}

.product-count strong {
    color: var(--text-color);
}

/* Grid de productos */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-item {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.grid-item.hidden {
    display: none;
}

.product-card {
    background: var(--bg-white);
    padding: 20px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.product-card:hover {
    box-shadow: var(--shadow-subtle);
    transform: translateY(-5px);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-muted);
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.product-img {
    max-height: 100%;
    transition: var(--transition-smooth);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 1px;
    transition: var(--transition-smooth);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.btn-quick-view {
    background: #333;
    color: white;
}

.btn-quick-view:hover {
    background: #555;
}

.btn-add-cart {
    background: var(--accent-bronze);
    color: black;
}

.btn-add-cart:hover {
    background: black;
    color: white;
}

.product-details {
    text-align: left;
    margin-top: auto;
}

.product-category {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    display: block;
}

.product-name {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.product-price {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1rem;
}

/* Badge nuevo */
.badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--accent-bronze);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
}

/* Sin resultados */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 0;
    color: #aaa;
    font-family: var(--serif-font);
    font-size: 1.2rem;
    font-style: italic;
}

.no-results p {
    font-family: var(--sans-font);
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 0.5rem;
    font-style: normal;
}

/* ===================== MODAL ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content1 {
    background: var(--bg-white);


}
.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}


.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
    border-radius: 50%;
    color: #333;
}

.modal-close:hover {
    background: var(--primary-black);
    color: var(--bg-white);
}

.modal-gallery {
    position: relative;
    background: var(--bg-muted);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-main-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-fast);
    z-index: 5;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-nav:hover {
    background: var(--accent-bronze);
    color: white;
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.5);
}

.gallery-dot.active {
    background: var(--accent-bronze);
    transform: scale(1.2);
    border-color: white;
}

.modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-details .product-category {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.modal-details .product-name {
    font-family: var(--serif-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.modal-details .product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-bronze);
    margin-bottom: 2rem;
}

.modal-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Marcos en L */
.l-shaped-frames {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.l-frame {
    position: relative;
    border: 2px solid var(--accent-bronze);
    padding: 10px;
    background: var(--bg-white);
    transition: var(--transition-fast);
    cursor: pointer;
}

.l-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 30px;
    height: 30px;
    border-top: 3px solid var(--accent-bronze);
    border-left: 3px solid var(--accent-bronze);
}

.l-frame::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid var(--accent-bronze);
    border-right: 3px solid var(--accent-bronze);
}

.l-frame img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.l-frame-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    display: block;
}

/* Opciones de producto */
.product-options {
    margin-top: auto;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}

.color-swatch:hover,
.color-swatch.active {
    border-color: var(--primary-black);
    transform: scale(1.1);
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-muted);
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--accent-bronze);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    font-family: var(--sans-font);
    background: white;
}

.btn-add-to-cart {
    width: 100%;
    padding: 18px;
    background: var(--primary-black);
    color: var(--bg-white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    border-radius: 4px;
}

.btn-add-to-cart:hover {
    background: var(--accent-bronze);
    color: var(--primary-black);
}

/* ===================== CARRITO ===================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    z-index: 3500;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-color {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--accent-bronze);
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 25px;
    height: 25px;
    background: var(--bg-muted);
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 5px;
    display: inline-block;
}

.cart-item-remove:hover {
    color: red;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--primary-black);
    color: white;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-checkout:hover {
    background: var(--accent-bronze);
    color: black;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================== CONTACTO ===================== */
.contact-section {
    padding: 8rem 0;
    background: var(--bg-muted);
    scroll-margin-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--serif-font);
    font-size: 1.9rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-info > p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.contact-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.1rem;
    min-width: 22px;
    margin-top: 2px;
}

.contact-detail-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.contact-detail-text strong {
    display: block;
    color: var(--text-color);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}



/* ===================== FOOTER ===================== */
footer {
    padding: 5rem 0;
    background: var(--primary-black);
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.footer-logo {
    width: 150px;
    margin: 0 auto 2rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* ===================== ANIMACIONES ===================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        padding: 80px 30px 30px;
        gap: 1.5rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-img-wrapper {
        height: 250px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    
    .modal-gallery {
        min-height: 350px;
    }
    
    .modal-main-image {
        max-height: 300px;
    }
    
    .l-shaped-frames {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cart-sidebar {
        width: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toolbar-right {
        width: 100%;
        justify-content: flex-start;
    }
    
    .page-header {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-details {
        padding: 25px;
    }
    
    .l-shaped-frames {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .toolbar-right {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toolbar-select {
        width: 100%;
    }
    
    .contact-section {
        padding: 5rem 0;
    }
}