/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Perketat margin kiri hanya untuk header */
.header .container {
    padding-left: 12px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section - Logo di kiri, teks di kanan */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 1.5rem; /* basis untuk menyamakan tinggi logo dan teks */
}

.logo-image {
    height: 40px !important; /* sama dengan tinggi teks */
    max-height: 40px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
    flex-shrink: 0; /* Mencegah logo mengecil */
}

.logo h2 {
    color: #333333;
    font-weight: 600;
    font-size: 1.5rem; /* mengikuti ukuran .logo */
    margin: 0;
    line-height: 1; /* sejajar vertikal */
    white-space: nowrap; /* Mencegah teks terpotong */
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #25D366;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #25D366;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: #ffffff;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.furniture-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.furniture-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.category-card p {
    color: #666666;
}

/* Location Section */
.location-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-details {
    margin-bottom: 2rem;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333333;
}

.location-details i {
    color: #25D366;
    width: 20px;
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

/* Slider + Lightbox */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.image-slider .slider-track { 
    cursor: grab; 
}

.image-slider.grabbing .slider-track { 
    cursor: grabbing; 
}

.slider-track img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    flex: 0 0 100%;
    cursor: pointer;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 8px;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}

.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbs img:hover {
    opacity: 0.8;
}

.thumbs img.active {
    opacity: 1;
    border-color: #25D366;
}

/* Enhanced Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    cursor: grab;
    position: relative;
}

.lightbox-image:active {
    cursor: grabbing;
}

/* Elegant Header */
.lightbox-header {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.image-counter {
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* Compact Zoom Indicator */
.zoom-indicator {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.zoom-level {
    color: white;
    font-size: 12px;
    font-weight: 500;
    background: rgba(0,0,0,0.6);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-header {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    
    .zoom-indicator {
        bottom: 20px;
    }
    
    .lightbox-image {
        max-width: 95vw;
        max-height: 80vh;
    }
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 3rem;
}

.search-filter {
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input input:focus {
    border-color: #25D366;
}

.search-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 8px;
}

.category-filter select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.category-filter select:focus {
    border-color: #25D366;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category {
    background-color: #e0e0e0;
    color: #333333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #25D366;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #666666;
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-icon {
    font-size: 2.5rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.about-card p {
    color: #666666;
    line-height: 1.6;
}

.about-features h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.feature-item i {
    color: #25D366;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #666666;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #666666;
    line-height: 1.6;
}

.social-links h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #25D366;
    color: white;
    transform: translateY(-2px);
}

.contact-form {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #25D366;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #f5f5f5;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #333333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #666666;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #25D366;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #666666;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-image {
        height: 32px !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #f5f5f5;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        max-width: none;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
    }
    
    .location-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-image {
        height: 28px !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Enhanced Product Slider & Zoom */
.product-slider {
    position: relative;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.product-slider .slick-slide {
    padding: 0;
    position: relative;
}

.product-slider .slick-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.product-slider .slick-slide img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Slick Navigation Buttons */
.product-slider .slick-prev,
.product-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.product-slider .slick-prev {
    left: 15px;
}

.product-slider .slick-next {
    right: 15px;
}

.product-slider .slick-prev:hover,
.product-slider .slick-next:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.product-slider .slick-prev:before,
.product-slider .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #333;
}

.product-slider .slick-prev:before {
    content: '\f053';
}

.product-slider .slick-next:before {
    content: '\f054';
}

/* Slick Dots */
.product-slider .slick-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-slider .slick-dots li {
    margin: 0;
}

.product-slider .slick-dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
    padding: 0;
}

.product-slider .slick-dots button:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.product-slider .slick-dots .slick-active button {
    background: #25D366;
    transform: scale(1.3);
}

/* Thumbnail Slider */
.thumbnail-slider {
    margin-top: 10px;
    padding: 0 20px;
}

.thumbnail-slider .slick-slide {
    padding: 0 5px;
}

.thumbnail-slider img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.thumbnail-slider .slick-current img {
    border-color: #25D366;
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-slider img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-slider .slick-slide img {
        height: 220px;
    }
    
    .thumbnail-slider img {
        height: 50px;
    }
    
    .product-slider .slick-prev,
    .product-slider .slick-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-slider .slick-slide img {
        height: 200px;
    }
    
    .thumbnail-slider {
        padding: 0 10px;
    }
    
    .thumbnail-slider img {
        height: 45px;
    }
}

/* Custom Zoom Overlay System */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-overlay.active {
    opacity: 1;
}

.zoom-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.zoom-image-container img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: grab;
}

.zoom-image-container img:active {
    cursor: grabbing;
}

/* Zoom Close Button */
.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10000;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Zoom Navigation Buttons */
.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.zoom-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.zoom-prev {
    left: 20px;
}

.zoom-next {
    right: 20px;
}

/* Zoom Counter */
.zoom-counter {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto;
    width: auto;
    min-width: 60px;
    backdrop-filter: blur(10px);
}

/* AGGRESSIVE SCROLL RESTORATION - FIXES SCROLL LOCK */
body.zoom-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Force scroll restoration when zoom is NOT open */
body:not(.zoom-open),
html:not(.zoom-open) {
    overflow: auto !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Additional scroll restoration for all elements */
html, body {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

/* Ensure no scroll lock remains */
html, body {
    position: static !important;
    width: auto !important;
    height: auto !important;
}

/* Force enable scroll on all scrollable elements */
* {
    scroll-behavior: auto !important;
}

/* Responsive adjustments for zoom */
@media (max-width: 768px) {
    .zoom-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .zoom-close {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .zoom-counter {
        bottom: -40px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .zoom-image-container img {
        max-width: 95%;
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .zoom-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .zoom-close {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .zoom-prev {
        left: 10px;
    }
    
    .zoom-next {
        right: 10px;
    }
}
