html, body {
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.suvenir-hero-wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 1;
    overflow: hidden;
}

.suvenir-hero {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; 
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 64px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    line-height: 1 !important;
    margin-bottom: 24px !important;
}

.hero-subtitle {
    font-family: 'Jost', sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    margin-bottom: 40px !important;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7 !important;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px !important;
    background: #0891B2;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #06b6d4;
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none !important;
}

/* =========================================
   PRODUCTS GRID
   ========================================= */
.suvenir-products-section {
    padding: 80px 0 !important;
    width: 94vw; 
    position: relative;
    left: 50%;
    margin-left: -47vw;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 5;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

@media (min-width: 1600px) {
    .suvenir-products-section {
        width: 96vw;
        margin-left: -48vw;
    }
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0891B2;
}

.product-carousel {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    overflow: hidden !important;
    background: #f8fafc;
}

.carousel-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-image.active { opacity: 1 !important; z-index: 2; }

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    z-index: 10;
    width: 40px; height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.carousel-prev svg, .carousel-next svg { width: 20px; height: 20px; stroke-width: 2.5; display: block; }
.product-card:hover .carousel-prev, .product-card:hover .carousel-next { opacity: 1; }
.carousel-prev:hover, .carousel-next:hover { background: #0891B2; color: #fff; transform: scale(1.1); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* PRODUCT INFO */
.product-info {
    padding: 28px !important;
    display: flex;
    flex-direction: column;
    gap: 10px !important;
}

.product-title {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    font-size: 28px !important;
    margin: 0 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.product-excerpt {
    font-family: 'Jost', sans-serif !important;
    font-size: 18px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid #f1f5f9;
}

.product-price {
    font-family: 'Jost', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0891B2 !important;
}

.product-stock {
    font-family: 'Jost', sans-serif !important;
    font-size: 14px !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    padding: 6px 16px !important;
    border-radius: 99px;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   MODAL
   ========================================= */
.product-detail-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2147483647 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 40px 20px;
    backdrop-filter: blur(5px);
}

.modal-detail-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 1400px; 
    margin: 2vh auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

@media (min-width: 1600px) {
    .modal-detail-content {
        max-width: 1700px;
    }
}

.close-detail-modal {
    position: absolute;
    right: 20px; top: 20px;
    width: 40px; height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; line-height: 1; color: #64748b;
    cursor: pointer; z-index: 100; transition: all 0.2s;
}

.close-detail-modal:hover { background: #ef4444; color: #fff; }

.modal-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.modal-gallery {
    background: #f8fafc;
    padding: 35px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e2e8f0;
}

.gallery-main {
    width: 100%;
    height: 520px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain !important; }

.gallery-thumbs {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%;
}
.gallery-thumb {
    width: 90px; height: 90px;
    border: 2px solid transparent; border-radius: 6px;
    cursor: pointer; opacity: 0.7; transition: all 0.2s;
    background: #fff; border: 1px solid #e2e8f0; overflow: hidden;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: #0891B2; opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* MODAL INFO */
.modal-info {
    padding: 45px !important;
    display: flex; 
    flex-direction: column;
}

#detailProductName {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    font-size: 38px !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    text-transform: none !important;
}

.detail-price-stock {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 28px; padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

#detailProductPrice {
    font-family: 'Jost', sans-serif !important;
    font-size: 32px !important;
    color: #0891B2 !important;
    font-weight: 700 !important;
}

#detailProductStock {
    font-family: 'Jost', sans-serif !important;
    background: #ecfdf5 !important; 
    color: #059669 !important;
    padding: 8px 18px !important; 
    border-radius: 99px;
    font-weight: 600 !important; 
    font-size: 15px !important;
    text-transform: uppercase;
}

#detailProductDesc {
    font-family: 'Jost', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 35px !important;
}

/* FORMA */
#orderFormDetail h3 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    font-size: 26px !important;
    margin-bottom: 24px !important;
    color: #0f172a !important;
    text-transform: none !important;
}

#orderFormDetail label {
    display: block;
    font-family: 'Jost', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
}

#orderFormDetail input, 
#orderFormDetail textarea {
    width: 100%;
    padding: 14px !important;
    margin-bottom: 18px !important;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: 'Jost', sans-serif !important;
    font-size: 16px !important;
    color: #0f172a !important;
    transition: all 0.2s;
    box-sizing: border-box;
}

#orderFormDetail input:focus, 
#orderFormDetail textarea:focus {
    outline: none; 
    border-color: #0891B2; 
    background: #fff; 
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-row-split { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 18px; 
}

.captcha-box { 
    background: #f0f9ff; 
    padding: 18px; 
    border-left: 4px solid #0891B2; 
    margin-bottom: 24px; 
    border-radius: 4px; 
    font-size: 16px !important;
    font-family: 'Jost', sans-serif !important;
}

.submit-order-btn {
    width: 100%;
    padding: 18px !important;
    background: #0f172a;
    color: white !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 4px;
}

.submit-order-btn:hover {
    background: #0891B2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .modal-layout { 
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .modal-info {
        overflow-y: visible;
        max-height: none;
        padding: 28px 22px !important;
    }
    
    .modal-gallery { 
        padding: 22px; 
        border-right: none; 
        border-bottom: 1px solid #e2e8f0;
        overflow: visible;
    }
    
    .gallery-main { 
        height: 320px; 
    }
    
    .gallery-thumbs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-thumb {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
    }
    
    #detailProductName { 
        font-size: 28px !important; 
    }
    
    .suvenir-products-section { 
        width: 95vw; 
        margin-left: -47.5vw; 
    }
    
    .product-detail-modal {
        padding: 20px 15px;
    }
    
    .modal-detail-content {
        margin: 0 auto;
        min-height: auto;
        max-height: none;
    }
}

@media (max-width: 600px) {
    .form-row-split { 
        grid-template-columns: 1fr; 
        gap: 0; 
    }
    
    .hero-title { 
        font-size: 42px !important; 
    }
    
    .hero-subtitle {
        font-size: 18px !important;
    }
    
    .gallery-main { 
        height: 280px; 
    }
    
    .product-detail-modal {
        padding: 10px;
    }
    
    .modal-detail-content {
        border-radius: 8px;
    }
    
    .close-detail-modal {
        right: 12px;
        top: 12px;
        width: 36px;
        height: 36px;
    }
    
    .modal-info {
        padding: 22px 18px !important;
    }
    
    #detailProductName {
        font-size: 24px !important;
        padding-right: 45px;
    }
    
    #detailProductPrice {
        font-size: 26px !important;
    }
    
    #detailProductDesc {
        font-size: 16px !important;
    }
    
    .detail-price-stock {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .product-title {
        font-size: 24px !important;
    }
    
    .product-excerpt {
        font-size: 16px !important;
    }
    
    .product-price {
        font-size: 22px !important;
    }
}