/* -------------------------------------------
   PRODUCT DETAILS RESPONSIVE FIXES & ZOOM
------------------------------------------- */

.pd-container {
    max-width: 1400px;
    margin: 8rem auto 4rem;
    padding: 0 2%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.pd-gallery-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.pd-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 80px;
    height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.pd-thumbnails::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.pd-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
}

.pd-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: 0.3s;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--gold);
    opacity: 1;
}

.pd-main-image {
    flex: 1;
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(207, 170, 107, 0.2);
    padding: 1rem;
    position: relative;
    overflow: hidden; /* Important for zoom lens */
    cursor: crosshair; /* Indicate zoomable */
}

.pd-main-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
    transition: transform 0.1s ease; /* For smooth zooming */
    transform-origin: center center;
}

/* Zoom Hover Effect on Desktop */
@media (min-width: 769px) {
    .pd-main-image:hover img {
        transform: scale(2.5); /* Increase scale for original quality feel */
    }
}

.pd-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.pd-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.pd-category {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.pd-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pd-mrp {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: normal;
}

.pd-price {
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: bold;
}

.pd-desc {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.pd-notes {
    margin-bottom: 3rem;
    background: var(--light-gray);
    padding: 2rem;
    border-left: 4px solid var(--gold);
}

.pd-note-item {
    margin-bottom: 1rem;
    color: var(--navy);
}

.pd-note-item span {
    font-weight: bold;
    color: var(--gold);
    display: inline-block;
    width: 120px;
}

.pd-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-addcart {
    flex: 1;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-addcart:hover {
    background: var(--gold);
}

.btn-buynow {
    flex: 1;
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-buynow:hover {
    background: var(--navy);
    color: var(--gold);
}

.btn-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    background: var(--cream);
    border: 1px solid rgba(207, 170, 107, 0.4);
    color: var(--navy);
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-wishlist:hover {
    background: var(--gold);
    color: var(--white);
}

@media (max-width: 768px) {
    .pd-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 6rem;
        padding: 0 1rem;
    }

    .pd-title {
        font-size: 2rem;
    }

    .pd-price-wrapper {
        gap: 1rem;
    }

    .pd-mrp {
        font-size: 1.2rem;
    }

    .pd-price {
        font-size: 2rem;
    }

    .pd-main-image {
        padding: 0;
        min-height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .pd-main-image img {
        width: 100%;
        max-width: 100%;
        max-height: 50vh;
        object-fit: contain;
        transform: none !important;
        margin: 0 auto;
    }

    .pd-gallery-container {
        /* Reverses order so thumbnails are below main image */
        flex-direction: column-reverse;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .pd-thumbnails {
        flex-direction: row;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px; /* space for scrollbar */
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }

    .pd-thumb {
        width: 80px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}


/* -------------------------------------------
   INDEX PAGE REFACTOR CLASSES
------------------------------------------- */

.home-hero-section {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.home-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(207,170,107,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.home-hero-left {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.home-hero-left h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.home-hero-left h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--white);
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.home-hero-left p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.home-hero-btn-container {
    display: flex;
    gap: 1.5rem;
}

.home-hero-btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--gold);
}

.home-hero-btn-primary:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold), 0 10px 20px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}

.home-hero-btn-outline {
    background: transparent;
    color: var(--gold);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--gold);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-hero-btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
    transform: translateY(-4px);
}

.home-hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-hero-badge {
    border: 1px solid rgba(212,175,55,0.2);
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, rgba(10,10,10,0.5) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    max-width: 400px;
}

.trust-strip {
    background: var(--gold);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.trust-strip-inner {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    gap: 3rem;
    color: var(--navy);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.features-section {
    padding: 4rem 5%;
    background: var(--light-gray);
    text-align: center;
}

.feature-card {
    padding: 2rem 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
}

.feature-icon {
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.discover-section {
    padding: 6rem 5% 4rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.discover-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0.09;
    padding: 2%;
}

.discover-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.discover-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.discover-desc {
    max-width: 600px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.discover-tags {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.discover-tag {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--gold);
    color: var(--navy);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-collection-section {
    padding: 8rem 5%;
    background: var(--white);
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.product-card {
    background: var(--cream);
    border: 1px solid rgba(207,170,107,0.2);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--navy);
    border-color: rgba(207, 170, 107, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}
.product-card:hover .product-card-title {
    color: var(--white);
}

.product-card-cat {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}
.product-card:hover .product-card-cat {
    color: rgba(255, 255, 255, 0.6);
}

.product-card-price {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.product-card-btn {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    padding: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
    transition: all 0.4s ease;
}
.product-card:hover .product-card-btn {
    background: var(--gold);
    color: var(--navy);
}
.product-card-btn:hover {
    background: var(--white) !important;
    color: var(--navy) !important;
}

.product-card-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: var(--light-gray);
    color: var(--navy);
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}
.product-card:hover .product-card-wishlist {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.product-card-wishlist:hover {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: var(--gold) !important;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--navy);
    color: var(--gold);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-shop-section {
    padding: 8rem 5%;
    background: var(--light-gray);
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.cat-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.cat-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cat-link {
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cat-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.why-section {
    padding: 8rem 5%;
    background: var(--white);
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.why-desc {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.why-card {
    padding: 3rem;
    background: var(--white);
    border: 1px solid rgba(207,170,107,0.2);
}

.why-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.why-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.mood-section {
    padding: 8rem 5%;
    background: var(--white);
}

.mood-desc {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.mood-card {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.mood-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.5);
    transition: background 0.3s;
}

.mood-card:hover .mood-overlay {
    background: rgba(10,10,10,0.3);
}

.mood-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spotlight-section {
    min-height: 550px;
    padding: 6rem 5%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heritage-section {
    padding: 8rem 5%;
    background: var(--light-gray);
    align-items: center;
}

.heritage-img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(207,170,107,0.3);
    padding: 1rem;
    background: var(--white);
}

.testimonial-section {
    padding: 8rem 5%;
    background: var(--cream);
    text-align: center;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border: 1px solid rgba(207,170,107,0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.offer-section {
    padding: 8rem 5%;
    background: var(--white);
}

.offer-card {
    background: var(--light-gray);
    padding: 4rem;
    border: 1px solid rgba(207,170,107,0.2);
}

.offer-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.offer-list {
    list-style: none;
    padding: 0;
}

.offer-list li {
    margin-bottom: 1rem;
    color: var(--navy);
    font-size: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-section {
    padding: 8rem 5%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(207,170,107,0.1) 0%, transparent 60%);
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.contact-input {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
    width: 100%;
}

.contact-textarea {
    grid-column: 1 / -1;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
    width: 100%;
}

.contact-submit {
    grid-column: 1 / -1;
    background: var(--gold);
    color: var(--navy);
    padding: 1.2rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-submit:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Media Queries for Index specific classes */
@media (max-width: 768px) {
    .home-hero-section {
        grid-template-columns: 1fr;
        padding-top: 100px;
        text-align: center;
    }

    .home-hero-left {
        padding-right: 0;
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-hero-left h1 {
        font-size: 3.5rem;
    }

    .home-hero-left h2 {
        font-size: 1.5rem;
    }

    .home-hero-btn-container {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .home-hero-right {
        display: flex; /* Override display none if applied from elsewhere */
        margin-bottom: 2rem;
    }

    .discover-title,
    .section-title,
    .contact-title,
    .offer-title {
        font-size: 2.8rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}
