/* =========================================
   PRODUCT BREADCRUMB
========================================= */

.product-breadcrumb {
    padding: 20px 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.product-container {
    width: min(1400px, 90%);
    margin: auto;
}

.product-breadcrumb .product-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    color: var(--muted);
}

.product-breadcrumb a:hover {
    color: var(--black);
}

.product-breadcrumb span:last-child {
    color: var(--black);
}


/* =========================================
   PRODUCT SECTION
========================================= */

.product-section {
    padding: 70px 0 110px;
    background: var(--cream);
}

.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 75px;
    align-items: start;
}


/* =========================================
   GALLERY
========================================= */

.product-gallery {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 15px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-thumbnail {
    width: 85px;
    height: 105px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background: #ebe7e0;
}

.product-thumbnail.active {
    border-color: var(--black);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-thumbnail:hover img {
    transform: scale(1.05);
}


/* =========================================
   MAIN IMAGE
========================================= */

.product-main-image {
    position: relative;
    height: 690px;
    overflow: hidden;
    background: #ebe7e0;
}

.product-main-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.8s ease;
}

.product-main-image:hover > img {
    transform: scale(1.025);
}


/* =========================================
   PRODUCT BADGE
========================================= */

.product-detail-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    padding: 8px 12px;
    background: var(--black);
    color: var(--white);
    font-size: 7px;
    letter-spacing: 1.5px;
}


/* =========================================
   WISHLIST
========================================= */

.product-gallery-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,0.92);

    font-size: 23px;

    transition: all 0.3s ease;
}

.product-gallery-wishlist:hover {
    background: var(--black);
    color: var(--white);
}

.product-gallery-wishlist.active {
    background: var(--black);
    color: var(--white);
}


/* =========================================
   PRODUCT DETAILS
========================================= */

.product-details {
    padding-top: 10px;
}

.product-detail-category {
    display: block;
    margin-bottom: 15px;

    font-size: 8px;
    font-weight: 500;
    letter-spacing: 2.5px;

    color: var(--gold);
}

.product-details h1 {
    max-width: 600px;
    margin-bottom: 18px;

    font-family: var(--serif);
    font-size: clamp(45px, 4vw, 65px);
    font-weight: 400;
    line-height: 0.95;

    color: var(--black);
}


/* =========================================
   RATING
========================================= */

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;
}

.stars {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
}

.product-rating a {
    font-size: 9px;
    color: var(--muted);
    border-bottom: 1px solid var(--muted);
}


/* =========================================
   PRICE
========================================= */

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 13px;
}

.product-detail-price strong {
    font-size: 19px;
    font-weight: 500;
    color: var(--black);
}

.product-detail-price del {
    font-size: 12px;
    color: #999;
}

.product-detail-price span {
    padding: 5px 8px;
    background: #e8ded0;
    color: #76562c;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1px;
}

.tax-note {
    margin-top: 7px;
    font-size: 8px;
    color: #999;
}


/* =========================================
   DESCRIPTION
========================================= */

.product-description {
    max-width: 520px;
    margin: 30px 0;

    font-size: 12px;
    font-weight: 300;
    line-height: 1.9;

    color: var(--muted);
}


/* =========================================
   OPTIONS
========================================= */

.product-option {
    padding: 23px 0;
    border-top: 1px solid var(--border);
}

.option-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 16px;
}

.option-heading > span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.option-heading strong {
    font-size: 10px;
    font-weight: 400;
}

.option-heading a {
    font-size: 8px;
    color: var(--muted);
    border-bottom: 1px solid var(--muted);
}


/* =========================================
   METAL OPTIONS
========================================= */

.metal-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.metal-option {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 12px;

    border: 1px solid var(--border);

    font-size: 8px;

    color: var(--muted);

    transition: all 0.3s ease;
}

.metal-option.active,
.metal-option:hover {
    border-color: var(--black);
    color: var(--black);
}

.metal-dot {
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
}

.metal-dot.yellow {
    background: #d6af54;
}

.metal-dot.white {
    background: #e8e8e8;
}

.metal-dot.rose {
    background: #d9a69a;
}


/* =========================================
   SIZE OPTIONS
========================================= */

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    min-width: 46px;
    height: 40px;

    border: 1px solid var(--border);

    font-size: 9px;

    transition: all 0.3s ease;
}

.size-option:hover,
.size-option.active {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}


/* =========================================
   QUANTITY
========================================= */

.quantity-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 23px 0;

    border-top: 1px solid var(--border);
}

.quantity-section > span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.quantity-box {
    display: flex;
    align-items: center;

    border: 1px solid var(--border);
}

.quantity-box button {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.quantity-box input {
    width: 35px;
    height: 38px;

    border: 0;
    outline: 0;

    background: transparent;

    text-align: center;

    font-size: 10px;
}

.quantity-box input::-webkit-inner-spin-button,
.quantity-box input::-webkit-outer-spin-button {
    appearance: none;
}


/* =========================================
   ACTIONS
========================================= */

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin: 5px 0 25px;
}

.add-to-bag,
.buy-now {
    height: 54px;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: all 0.3s ease;
}

.add-to-bag {
    background: var(--black);
    color: var(--white);
}

.add-to-bag:hover {
    background: var(--gold);
}

.buy-now {
    border: 1px solid var(--black);
    color: var(--black);
}

.buy-now:hover {
    background: var(--black);
    color: var(--white);
}


/* =========================================
   DELIVERY
========================================= */

.delivery-box {
    display: flex;
    gap: 15px;

    padding: 22px;

    background: #eeebe5;
}

.delivery-icon {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--gold);
}

.delivery-box strong {
    display: block;
    margin-bottom: 6px;

    font-size: 10px;
    font-weight: 500;
}

.delivery-box p {
    margin-bottom: 13px;

    font-size: 9px;
    line-height: 1.6;
    color: var(--muted);
}

.pincode-form {
    display: flex;

    width: 230px;

    border-bottom: 1px solid var(--black);
}

.pincode-form input {
    flex: 1;

    height: 35px;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 9px;
}

.pincode-form button {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#deliveryMessage {
    display: block;
    margin-top: 7px;
    font-size: 8px;
}


/* =========================================
   ACCORDIONS
========================================= */

.product-accordions {
    margin-top: 25px;
    border-top: 1px solid var(--border);
}

.product-accordion {
    border-bottom: 1px solid var(--border);
}

.accordion-title {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 21px 0;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    text-align: left;
}

.accordion-title span {
    font-size: 17px;
    font-weight: 300;
}

.accordion-content {
    display: none;
    padding: 0 0 22px;

    font-size: 10px;
    line-height: 1.8;
    color: var(--muted);
}

.accordion-content p {
    margin-bottom: 5px;
}

.accordion-content.open {
    display: block;
}


/* =========================================
   DIAMOND DETAILS
========================================= */

.diamond-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.diamond-details div {
    padding: 13px 5px;
    background: #eeebe5;
    text-align: center;
}

.diamond-details span {
    display: block;
    margin-bottom: 5px;

    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diamond-details strong {
    font-size: 10px;
    font-weight: 500;
}


/* =========================================
   PRODUCT STORY
========================================= */

.product-story {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 620px;

    background: var(--black);
    color: var(--white);
}

.product-story-image {
    overflow: hidden;
}

.product-story-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.product-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 12%;
}

.product-story-content .section-eyebrow {
    color: #d4ad72;
}

.product-story-content h2 {
    margin: 18px 0 25px;

    font-family: var(--serif);
    font-size: clamp(55px, 5vw, 75px);
    font-weight: 400;
    line-height: 0.9;
}

.product-story-content p {
    max-width: 430px;

    font-size: 12px;
    font-weight: 300;
    line-height: 1.9;

    color: rgba(255,255,255,0.65);
}


/* =========================================
   RELATED PRODUCTS
========================================= */

.related-products {
    padding: 110px 0;

    background: var(--cream);
}

.related-container {
    width: min(1400px, 90%);
    margin: auto;
}

.related-heading {
    text-align: center;
    margin-bottom: 55px;
}

.related-heading h2 {
    margin-top: 12px;

    font-family: var(--serif);
    font-size: clamp(45px, 5vw, 65px);
    font-weight: 400;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    display: block;
}

.related-image {
    height: 400px;
    overflow: hidden;
    background: #ebe7e0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.7s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.06);
}

.related-info {
    padding-top: 16px;
}

.related-info > span {
    font-size: 7px;
    letter-spacing: 2px;
    color: var(--gold);
}

.related-info h3 {
    margin: 7px 0;

    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.related-info p {
    font-size: 10px;
    color: var(--muted);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .product-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-details {
        max-width: 700px;
        margin: auto;
        width: 100%;
    }

    .product-main-image {
        height: 650px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 15px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .product-section {
        padding: 35px 0 70px;
    }

    .product-container {
        width: 88%;
    }

    .product-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .product-main-image {
        height: 500px;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
    }

    .product-thumbnail {
        flex-shrink: 0;
        width: 75px;
        height: 85px;
    }

    .product-details h1 {
        font-size: 48px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .delivery-box {
        padding: 17px;
    }

    .pincode-form {
        width: 100%;
    }

    .product-story {
        grid-template-columns: 1fr;
    }

    .product-story-image img {
        min-height: 450px;
    }

    .product-story-content {
        padding: 70px 8%;
    }

    .related-products {
        padding: 75px 0;
    }

    .related-container {
        width: 88%;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }

    .related-image {
        height: 250px;
    }

    .related-info h3 {
        font-size: 18px;
    }

    .diamond-details {
        grid-template-columns: repeat(2, 1fr);
    }

}