/* Root Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #d4af37;
    --accent-color: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-color: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--secondary-color);
    background-color: rgba(212, 175, 55, 0.1);
}

.cart-icon {
    position: relative;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--white);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 5px;
}

.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-menu:hover {
    color: var(--white);
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--secondary-color), #f5e6c8);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

/* Shop Section */
.shop {
    padding: 6rem 0;
    background-color: var(--white);
}

.shop h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Filter Buttons */
/* Shop Controls */
.shop-controls {
    margin-bottom: 3rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-container i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.search-container input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-container input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    color: var(--text-color);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: fadeIn 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.product-card.hidden {
    display: none;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures a perfect square container */
    background: #ffffff; /* Clean white background for contained images */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    align-self: flex-start;
}

/* Ensure consistent spacing even when badge is missing */
.product-info::before {
    content: '';
    display: block;
    height: 1.5rem;
    margin-bottom: 0.5rem;
    display: none; /* We'll use a better approach: min-height on a wrapper if needed, but flex-grow usually handles it */
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    min-height: 3rem; /* Allow up to 2 lines without shifting layout */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-type {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-button {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #1da851);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f5f5, #fff);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.7;
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-card span {
    font-size: 0.85rem;
    color: #999;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: linear-gradient(135deg, #f5f5f5, #fff);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #ccc;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        padding: 80px 20px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .close-menu {
        display: block;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        font-size: 1.2rem;
        text-align: left;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat {
        padding: 1rem 0.5rem;
    }

    .stat h3 {
        font-size: 1.3rem;
    }

    .stat p {
        font-size: 0.75rem;
    }

    .about-image {
        order: -1;
        height: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .about-image img {
        width: 100% !important;
        max-width: 300px;
        height: auto !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
        padding: 0;
    }

    .product-name {
        font-size: 1rem;
        min-height: 2.5rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }

    .filter-buttons::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 0.6rem 1.2rem;
        white-space: nowrap;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem;
    }
    
    .product-info {
        padding: 0.8rem;
    }

    .product-name {
        font-size: 0.9rem;
        min-height: 2.2rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }

    .product-type {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .product-price-container {
        margin-bottom: 0.6rem;
        gap: 6px;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .original-price {
        font-size: 0.85rem;
    }

    .product-actions {
        gap: 0.4rem;
    }

    .add-to-cart-btn, .view-detail-btn {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
        border-radius: 6px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-bottom: 0;
    }

    .shop h2, .testimonials h2, .faq h2, .about h2, .contact h2 {
        font-size: 1.6rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px 10px; /* Reduced side padding for small screens */
    display: none; 
    align-items: center; /* Center vertically if content is short */
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto; /* Centers correctly in flex container */
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--white);
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.cart-item-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.remove-item {
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 0.5rem;
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    background: var(--light-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.whatsapp-checkout {
    width: 100%;
    background: #25D366;
    color: white;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Image Modal (Lightbox) */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--secondary-color);
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.image-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3001;
}

.image-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Make product images look clickable */
.product-image img {
    cursor: zoom-in;
    transition: var(--transition);
}

.product-image img:hover {
    transform: scale(1.05);
}

@media only screen and (max-width: 700px) {
    .image-modal-content {
        width: 95%;
    }
}

/* Product Detail Modal Specific Styles */
.product-detail-content {
    max-width: 800px !important;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
}

.detail-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
}

.detail-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-description-full {
    font-size: 1.1rem;
    color: #555;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.close-detail-modal {
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-detail-modal:hover {
    color: var(--white);
}

.view-detail-btn {
    width: 100%;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.view-detail-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .product-detail-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 95vh;
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        overflow-y: auto;
    }

    .detail-image-container {
        height: 220px;
        max-height: 30vh;
        flex-shrink: 0;
    }

    .image-modal {
        padding: 0;
    }

    .image-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 75vh;
        margin: 0;
        border-radius: 0;
        object-fit: contain;
    }

    .product-description-full {
        font-size: 0.95rem;
        margin: 0.8rem 0;
    }

    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    #caption {
        font-size: 0.9rem;
        width: 95%;
        padding: 10px 0;
    }

    .image-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        background: rgba(0,0,0,0.6);
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--secondary-color);
    }
}
