:root {
    /* Brand Colors */
    --primary: #0c677a;      /* Deep Teal */
    --secondary: #00837d;    /* Emerald Teal */
    --accent: #ffefd5;       /* Soft Cream/Papaya */
    
    /* UI Shades */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --white-glass: rgba(255, 255, 255, 0.85);
    
    /* Layout */
    --safe-padding: 20px;
}
a{
    text-decoration: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--accent);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, .brand-logo {
    font-family: 'Playfair Display', serif;
}

/* Mobile-First Header */
/* Optimized Sticky Header */
.main-header {
    padding: 15px var(--safe-padding);
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update the Gap and Logo Size */
.nav-icons {
    display: flex;
    gap: 25px; /* Increased space between search and cart */
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 40px; /* Constrain the massive 4000px image */
    width: auto;  /* Maintain aspect ratio */
    object-fit: contain;
}

/* Base style for all icons */
.nav-container i {
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.2s ease;
    cursor: pointer;
    width: 24px; /* Fixed width prevents layout shift when switching weights */
    text-align: center;
}


/* Inactive state: looks like an outline/faded */
.nav-container i.inactive {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary); /* Creates a manual outline */
    opacity: 0.7;
}

/* Active state: solid color */
.nav-container i.active {
    color: var(--primary);
    -webkit-text-stroke: 0px;
    opacity: 1;
}


/* 1. THE INACTIVE/ACTIVE ICON LOGIC */
/* Base style for all icons - keep this clean */
.nav-container i {
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.2s ease;
    cursor: pointer;
    width: 24px;
    text-align: center;
    display: inline-block;
}

/* Inactive state: outlined */
.nav-container i.inactive {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
    opacity: 0.7;
}

/* Active state: filled */
.nav-container i.active {
    color: var(--primary);
    -webkit-text-stroke: 0px;
    opacity: 1;
}

#cart-count{
    color: inherit;
}

/*Cart Wrapper*/

.cart-wrapper {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--secondary); /* Emerald Teal */
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    /* Hide the badge if the count is 0 */
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class to show the badge when items are added */
.cart-badge.show {
    transform: scale(1);
}



/* 2. THE MENU OVERLAY */
.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Fills the entire mobile screen */
    background-color: var(--accent); /* Your brand cream color #ffefd5 */
    z-index: 9999; /* Ensures it sits on top of everything */
    
    /* Hidden state */
    display: none; 
    padding: 30px;
    flex-direction: column;
}

/* This class is toggled by our JavaScript */
.menu-container.show {
    display: flex;
}

/* 3. MENU COMPONENTS */
.menu-close {
    margin-bottom: 50px;
}

.menu-close i {
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin-bottom: 35px;
    /* Subtle animation as they appear */
    animation: fadeIn 0.4s ease forwards;
}

.menu-list a {
    text-decoration: none;
    color: var(--primary);
    font-family: 'Playfair Display', serif; /* Elegant Serif for luxury feel */
    font-size: 2rem;
    display: block;
    transition: letter-spacing 0.3s ease;
}

/* Small interactive touch for mobile */
.menu-list a:active {
    letter-spacing: 2px;
    color: var(--secondary);
}

/* A simple fade-in animation for the links */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.brand-logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-logo span {
    color: var(--primary);
}

.nav-icons i, .fa-bars {
    font-size: 1.2rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */

/*HERO CAROUSEL*/

.hero-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth swipe on iOS */
    height: 100%;
}

/* Hide scrollbar but keep functionality */
.carousel-container::-webkit-scrollbar {
    display: none;
}

.slide {
    min-width: 100%;
    height: 100%;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px var(--safe-padding);
}

/* Carousel Arrows */
.carousel-control {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.carousel-control i {
    font-size: 0.9rem; /* Smaller icons for a cleaner look */
}

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 10px;
}


.hero {
    height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: var(--safe-padding);
    /* Placeholder for your product photography */
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent), 
                url('https://images.unsplash.com/photo-1541643600914-78b084683601?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 40px 40px; /* Modern curved edges */
}

/* 2. Protect the content from the arrows */
.hero-content {
    color: var(--text-light);
    width: 100%;
    /* Add horizontal padding so text doesn't go behind the buttons */
    padding: 0 40px; 
    margin-bottom: 20px; /* Lower the text slightly */
    pointer-events: auto; /* Allows clicks to pass through to the slider if needed */
}


/*make subtitle smaller*/
.subtitle {
display: block; /* Ensures it sits on its own line */
    text-transform: uppercase;
    font-size: 0.65rem; /* Reduced from 0.7 or 0.8 */
    letter-spacing: 4px; /* Increased spacing for a high-end feel */
    color: var(--accent);
    margin-bottom: 8px; /* Space between subtitle and H2 */
    opacity: 0.9;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- CLEANED BUTTON LOGIC --- */
.btn-primary {
    background-color: var(--primary); 
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 30;
    font-size: small;
    border-radius: 5px;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* This ensures the animation is smooth */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    
    /* Critical for mobile: removes the default grey tap box */
    -webkit-tap-highlight-color: transparent;
}

/* Hover State (Desktop) */
/* Hover State (Desktop only) */
@media (hover: hover) {
    .btn-primary:hover {
        background-color: var(--secondary); 
        box-shadow: 0 4px 15px rgba(0, 131, 125, 0.3);
    }
}

/* Active/Click State (Mobile & Desktop) */
/* We only need ONE active rule to handle the color and scale */
.btn-primary:active {
    background-color: var(--secondary) !important; /* Forces the Emerald Teal color */
    transform: scale(0.96); /* The "press" animation */
    box-shadow: none;
}


/* COLLECTIONS */

.collections-section {
    padding: 60px var(--safe-padding);
    background-color: var(--accent);
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.section-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* The Slider Wrapper */
.collections-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

/* Hide scrollbar */
.collections-slider::-webkit-scrollbar {
    display: none;
}

/* Individual Cards */
.collection-card { 
    min-width: 180px; /* Prevents shrinking on desktop */
    max-width: 180px; /* Prevents growing on wide screens */
    
    flex-shrink: 0; /* Forces the browser to respect the 180px width */
    text-decoration: none;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.coll-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%; /* Keep this height consistent */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    
    /* Ensure the wrapper doesn't collapse */
    flex-shrink: 0;
}

.coll-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

/* Overlay Name */
.coll-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

/* Rating Stars */
.coll-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.coll-rating i {
    color: #d4af37; /* Gold stars */
    font-size: 0.8rem;
}

.coll-rating span {
    font-size: 0.8rem;
    margin-left: 5px;
    color: var(--primary);
    font-weight: bold;
}


/*Best Seller*/

.bestseller-section {
    padding: 60px var(--safe-padding);
    background-color: var(--white-glass);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
    gap: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Square images for a clean grid */
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* The "Bestseller" Badge */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

/* Floating Add Button */
.add-to-cart-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.add-to-cart-btn:active {
    transform: scale(0.9);
    background: var(--secondary);
    color: white;
}

/* Product Info */
.product-info h3 {
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

.price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: bold;
}

/* Desktop Adjustment */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 items per row on tablet/desktop */
    }
}



.all-products-section
{
    padding: 100px;
}



/* View more  */

.view-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px; /* Space between the grid and the button */
    padding-bottom: 20px;
}

/* We reuse your existing .btn-primary, but we want it 
   to be a specific width on desktop instead of 100% */
.view-more-container .btn-primary {
    max-width: 280px; /* Elegant width for a CTA button */
    text-decoration: none; /* In case you used an <a> tag */
}

.view-all-btn{
        width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px; /* Space between the grid and the button */
    padding-bottom: 20px;
}



/* TESTIMONIAL */
.testimonial-section {
    padding: 60px var(--safe-padding);
    background-color: var(--accent);
    border-top: 1px solid rgba(12, 103, 122, 0.05); /* Very subtle divider */
}

.testimonial-section .section-header {
    text-align: left; /* Alignment change for a more modern look */
    margin-bottom: 40px;
    padding-left: 10px;
}

.testimonial-slider {
    display: flex;
    gap: 40px; /* Increased gap creates "silence" between reviews */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

/* The New "Quiet" Card */
.testimonial-card {
    min-width: 240px; /* Slimmer width */
    max-width: 240px;
    background-color: transparent; /* Removed the "loud" white box */
    padding: 0; /* Removed heavy padding */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-aligned for elegance */
    text-align: left;
    flex-shrink: 0;
}

/* Smaller Profile */
.test-profile {
    width: 50px; /* Reduced size */
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    filter: grayscale(100%); /* Optional: makes images look more "editorial" */
    transition: filter 0.3s ease;
}

.testimonial-card:hover .test-profile {
    filter: grayscale(0%); /* Color returns on interaction */
}

.test-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slimmer Quote */
.test-quote {
    margin-bottom: 15px;
}

.test-quote i {
    display: none; /* Removed the big quote icon to reduce "noise" */
}

.test-quote p {
    font-size: 0.85rem; /* Smaller text */
    line-height: 1.6;
    color: var(--primary);
    font-style: normal; /* Removed italics for a cleaner look */
    font-weight: 300;
}

/* Clean Name Info */
.test-info h4 {
    font-family: 'Montserrat', sans-serif; /* Switched from Serif to Sans for simplicity */
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.test-info span {
    font-size: 0.65rem;
    color: var(--secondary);
    font-weight: 500;
}

/* FOOTER */

.main-footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px var(--safe-padding) 30px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr; /* Stacked on mobile */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h2.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-section h2.footer-logo span {
    color: var(--secondary);
}

.footer-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent); /* Soft cream for headers */
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 15px;
}

.delivery-info {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
}

.dev-credit a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

/* Desktop Grid */
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr; /* Logo section takes more space */
    }
    
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}



/*CART PAGE >>>>>> */




.cart-section {
    padding: 40px var(--safe-padding);
    background-color: var(--white-glass);
    min-height: 100vh;
}

.cart-header {
    margin-bottom: 30px;
}

.back-btn {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Item Styling */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.cart-item-img {
    width: 90px;
    height: 110px;
    background: var(--accent);
    border-radius: 10px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-category {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 15px;
}

/* Quantity Control */
.item-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 2px 8px;
    gap: 12px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary);
}

.remove-item {
    position: absolute;
    top: 20px;
    right: 0;
    background: none;
    border: none;
    color: #cc0000;
    opacity: 0.5;
    cursor: pointer;
}

/* Summary Box */
.cart-summary {
    background: var(--accent);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
    color: var(--primary);
}

/* Desktop Fix */
@media (min-width: 992px) {
    .cart-container {
        grid-template-columns: 2fr 1fr;
    }
}


.delivery-selection {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: bold;
}

.input-group select {
    padding: 12px;
    border: 1px solid rgba(12, 103, 122, 0.2);
    border-radius: 8px;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none; /* Removes default arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c677a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.input-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}



/*BEST SELLER PAGE */


.bestsellers-page-header {
    padding: 100px var(--safe-padding) 40px;
    background-color: var(--accent); /* The soft cream background */
    text-align: center;
}

.back-link {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.bestsellers-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.bestsellers-page-header p {
    font-size: 0.9rem;
    color: var(--text-dark);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.7;
    line-height: 1.6;
}

.products-container {
    padding: 60px var(--safe-padding);
}

/* Ensure the grid is perfectly responsive */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 items on mobile */
    gap: 30px 20px; /* More vertical space between rows */
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 items on tablets */
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 items on large screens */
    }
}




/* DETAILS PAGE */

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr; /* Stacked on mobile */
    gap: 40px;
    padding: 100px var(--safe-padding) 60px;
    max-width: 1200px;
    margin: 0 auto;
}





.pdp-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    background: var(--accent);
    aspect-ratio: 4/5;
}

.pdp-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a clean look */
}

.pdp-slide {
    min-width: 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Indicator Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Desktop Adjustment: Keep it 100% width of its container */
@media (min-width: 992px) {
    .product-gallery {
        position: sticky;
        top: 120px; /* Keeps image visible while scrolling info on desktop */
    }
}








@media (min-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1.2fr 0.8fr; /* Image gets more space on desktop */
        align-items: start;
    }
}

/* Image Styling */
.main-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--accent);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logic Panel */
.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: bold;
}

.info-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 10px 0;
    color: var(--primary);
}

.purchase-controls {
    margin: 30px 0;
}

.qty-input {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #ddd;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 30px;
    margin-top: 10px;
}

.qty-input button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary);
}

/* Delivery Box in PDP */
.pdp-delivery-box {
    background: var(--accent);
    padding: 20px;
    border-radius: 15px;
    margin: 30px 0;
}

.delivery-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.delivery-grid select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}


/* Target the plus buttons specifically */
.add-to-cart-btn, .qty-btn.plus {
    text-decoration: none !important; /* Removes the underline */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: red; /* Keeps your icon color */
}

/* Ensure no underline on hover either */
.add-to-cart-btn:hover, .qty-btn.plus:hover {
    text-decoration: none;
}