body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f8f5ef;
  color: #222;
}


/* =========================================================
   PRODUCT COLLECTION PAGE
   K.J. KIRAN JEWELLERS LLP
========================================================= */

.collection-section-subcategory {
    position: relative;
    overflow: hidden;

    min-height: 100vh;

    padding: 35px 28px 80px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(202, 164, 87, 0.10),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(125, 18, 18, 0.05),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #f8f3e9 52%,
            #fffdf9 100%
        );
}


/* =========================================================
   COLLECTION HEADING
========================================================= */

.collection-heading-subcategory {
    max-width: 850px;

    margin: 0 auto 45px;

    text-align: center;
}


.collection-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #b47b12;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.collection-heading-subcategory h1 {
    margin: 0;

    color: #7c1111;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(32px, 4vw, 40px);

    font-weight: 400;

    line-height: 1.15;
}


.collection-heading-subcategory h1 span {
    color: #a87318;
}


/* GOLD DECORATIVE DIVIDER */

.collection-divider {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin: 16px 0 10px;
}


.collection-divider span {
    width: 65px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            #c99a43
        );
}


.collection-divider span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            #c99a43
        );
}


.collection-divider i {
    color: #c18a27;

    font-size: 11px;

    font-style: normal;
}


.collection-heading-subcategory .small-title {
    color: #a87417;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

#products {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    width: min(100%, 1280px);

    margin: 0 auto;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid rgba(193, 145, 55, 0.30);

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(75, 52, 24, 0.08);

    text-decoration: none;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* GOLD BOTTOM ACCENT */

.product-card::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #8b1717,
            #d5a74c,
            #8b1717
        );

    transform: translateX(-50%);

    transition: width 0.4s ease;
}


/* =========================================================
   PRODUCT IMAGE WRAPPER
========================================================= */

.product-image-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f3ede3;
}


/* subtle luxury border inside image 

.product-image-wrapper::after {
    content: "";

    position: absolute;

    inset: 9px;

    z-index: 3;

    border:
        1px solid rgba(255, 255, 255, 0.48);

    border-radius: 8px;

    pointer-events: none;
}*/


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image-wrapper img,
.product-card > img {

    display: block;

    width: 100%;
    height: 330px;

    object-fit: cover;
    object-position: center;

    cursor: pointer;

    transition:
        transform 0.65s cubic-bezier(.2, .7, .2, 1);
}


/* =========================================================
   NEW PRODUCT TAG
========================================================= */

.product-image-wrapper .new-tag {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 10;

    width: auto;
    height: auto;

    padding: 7px 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #761010,
            #a61e1e
        );

    border:
        1px solid rgba(255,255,255,0.35);

    border-radius: 30px;

    box-shadow:
        0 5px 15px rgba(70, 0, 0, 0.18);

    font-size: 8px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    pointer-events: none;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info {
    position: relative;

    padding: 18px 18px 20px;
}


/* small jewellery accent */

.product-info::before {
    content: "";

    display: block;

    width: 34px;
    height: 2px;

    margin-bottom: 11px;

    background:
        linear-gradient(
            90deg,
            #861313,
            #d2a64e
        );
}


/* =========================================================
   PRODUCT NAME
========================================================= */

.product-info h2 {
    margin: 0 0 11px;

    color: #761010;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 200;

    line-height: 1.2;
}


/* =========================================================
   PRODUCT DETAILS

   This intentionally styles ALL p fields.
   Therefore additional Sanity fields can remain visible.
========================================================= */

.product-info p {
    position: relative;

    margin: 0;

    padding: 5px 0;

    color: #625c53;

    border-bottom:
        1px solid rgba(187, 161, 113, 0.14);

    font-size: 12px;

    line-height: 1.3;
}


.product-info p:last-child {
    border-bottom: none;
}


/* bold labels such as Weight / Purity */

.product-info p strong,
.product-info p b {
    color: #38342f;

    font-weight: 600;
}


/* CATEGORY */

.product-info .category,
.category {
    color: #ad791b;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   HOVER — DESKTOP ONLY
========================================================= */

@media (hover: hover) {

    .product-card:hover {
        transform: translateY(-7px);

        border-color:
            rgba(185, 132, 36, 0.58);

        box-shadow:
            0 20px 45px rgba(69, 48, 24, 0.15);
    }


    .product-card:hover::after {
        width: 100%;
    }


    .product-card:hover img {
        transform: scale(1.055);
    }

}


/* =========================================================
   LOADING / ERROR
========================================================= */

.products-loading,
.error-message {
    grid-column: 1 / -1;

    padding: 45px 20px;

    color: #8a641f;

    text-align: center;

    font-family: Georgia, serif;

    font-size: 16px;
}


/* =========================================================
   LAPTOP / SMALL DESKTOP

   3 products instead of squeezing 4 cards
========================================================= */

@media (max-width: 1100px) {

    #products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .collection-section-subcategory {
        padding:
            45px 18px 65px;
    }


    .collection-heading-subcategory {
        margin-bottom: 32px;
    }


    #products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .product-image-wrapper img,
    .product-card > img {
        height: auto;

        aspect-ratio: 1 / 1;

        object-fit: cover;
    }

}


/* =========================================================
   MOBILE

   KEEP 2 PRODUCTS PER ROW
========================================================= */

@media (max-width: 600px) {

    .collection-section-subcategory {
        padding:
            36px 8px 50px;
    }


    .collection-heading-subcategory {
        padding: 0 10px;

        margin-bottom: 28px;
    }


    .collection-eyebrow {
        font-size: 7px;

        letter-spacing: 2.3px;
    }


    .collection-heading-subcategory h1 {
        font-size: 28px;
    }


    .collection-heading-subcategory .small-title {
        font-size: 7px;
font-family: Georgia, "Times New Roman", serif;
        letter-spacing: 2px;
    }


    .collection-divider {
        margin:
            12px 0 8px;
    }


    .collection-divider span {
        width: 40px;
    }


    /* TWO PRODUCTS */

    #products {
        width: 100%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    /* CARD */

    .product-card {
        border-radius: 9px;

        box-shadow:
            0 5px 15px rgba(70, 50, 25, 0.08);
    }


    /* IMAGE */

    .product-image-wrapper img,
    .product-card > img {
        width: 100%;

        height: auto;

        aspect-ratio: 1 / 1;

        object-fit: cover;
    }


    .product-image-wrapper::after {
        inset: 5px;

        border-radius: 5px;
    }


    /* NEW BADGE */

    .product-image-wrapper .new-tag {
        top: 8px;
        left: 8px;

        padding: 5px 8px;

        font-size: 6px;

        letter-spacing: 1px;
    }


    /* INFORMATION */

    .product-info {
        padding: 11px 9px 13px;
    }


    .product-info::before {
        width: 23px;

        margin-bottom: 7px;
    }


    .product-info h2 {
        margin-bottom: 7px;

        font-size: 13px;

        line-height: 1.25;

        display: -webkit-box;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }


    .product-info p {
        padding: 3px 0;

        font-size: 9.5px;

        line-height: 1.35;
    }


    .product-info .category,
    .category {
        font-size: 8px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    #products {
        gap: 7px;
    }


    .product-info {
        padding: 9px 7px 11px;
    }


    .product-info h2 {
        font-size: 10.3px;
    }


    .product-info p {
        font-size: 8.5px;
    }

}


 
@media (max-width: 768px) {

    /* Two products per row */
    #products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 6px;
    }

    /* Product card */
    .product-card {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Image container */
    .product-image-wrapper {
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: hidden;
    }

    /* Image fills the card */
    .product-image-wrapper img,
    .product-card > img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
        display: block;
    }

}
    
/* ======================================================
   K.J. KIRAN JEWELLERS LLP
   LUXURY PRODUCT DETAIL PAGE
  after openiong specific product design
====================================================== */

.product-page {
    --wine: #79151c;
    --wine-dark: #4d0c13;
    --gold: #b88630;
    --gold-light: #e6c88d;
    --ivory: #fffdf8;
    --cream: #f8f2e8;
    --ink: #302821;

    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 28px max(24px, calc((100vw - 1320px)/2)) 90px;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(192,151,74,.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fffdf9,
            #f8f1e6 55%,
            #fffdf9
        );

    color: var(--ink);
}

.product-page *,
.product-page *::before,
.product-page *::after {
    box-sizing: border-box;
}

/* BREADCRUMB */

.product-page .product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;

    margin: 0 0 34px;
    padding: 12px 0;

    font-size: 12px;
    color: #927a60;
}

.product-page .product-breadcrumb a {
    color: #655447;
    text-decoration: none;
    transition: color .2s;
}

.product-page .product-breadcrumb a:hover {
    color: var(--wine);
}

.product-page .breadcrumb-separator {
    color: var(--gold);
}

/* MAIN TWO COLUMN LAYOUT */

.product-page .product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(35px, 5vw, 75px);
    align-items: start;
}

.product-page .product-gallery,
.product-page .product-info {
    min-width: 0;
}

/* IMAGE GALLERY */

.product-page .product-gallery-frame {
    position: relative;
    padding: 24px;
    overflow: hidden;

    border: 1px solid #e7d7b8;
    border-radius: 18px;

    background: #f4e9da;

    box-shadow:
        0 18px 50px rgba(91,65,33,.10);
}

.product-page .gallery-corner-label {
    position: relative;
    z-index: 2;

    margin-bottom: 14px;
    color: #956b2a;
    text-align: center;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
}

.product-page .product-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 12px;
    background: #f9f3ea;
    cursor: zoom-in;
}

.product-page .product-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;

    object-fit: contain;
    object-position: center;

    transition: transform .25s ease;
    transform-origin: center;
}

.product-page .gallery-bottom-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-top: 17px;

    color: #a17838;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}

.product-page .gallery-bottom-label span {
    color: var(--wine);
}

/* THUMBNAILS */

.product-page .product-thumbnails {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 18px;
    padding: 5px 3px 12px;

    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4a36c transparent;
}

.product-page .product-thumbnail {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;

    padding: 4px;
    object-fit: cover;

    background: #fff;
    border: 1px solid #dec99e;
    border-radius: 9px;

    cursor: pointer;
    transition: border-color .25s, box-shadow .25s;
}

.product-page .product-thumbnail:hover,
.product-page .product-thumbnail.active {
    border: 2px solid var(--gold);
    box-shadow: 0 3px 12px rgba(160,112,42,.16);
}

.product-page .gallery-help {
    margin-top: 5px;
    color: #9a856e;
    text-align: center;
    font-size: 11px;
}

.product-page .gallery-help i {
    margin-right: 5px;
}

/* RIGHT SIDE */

.product-page .product-info {
    padding: 12px 0;
    background: transparent;
}

.product-page .product-info::before {
    display: none;
}

.product-page .product-info-inner {
    width: 100%;
}

.product-page .product-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;

    color: #a1742d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.3px;
}

.product-page .brand-line {
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.product-page .product-category {
    margin-bottom: 8px;

    color: #a4773d;
    font-size: 11px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

/* PRODUCT NAME */

.product-page #productName {
    margin: 0 0 16px;

    color: var(--wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 47px);
    font-weight: 400;
    line-height: 1.17;
    letter-spacing: -.7px;
}

.product-page .product-title-divider {
    display: flex;
    align-items: center;
    gap: 10px;

    max-width: 250px;
    margin: 20px 0;
}

.product-page .product-title-divider span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, #b88a42, #e8d6b8);
}

.product-page .product-title-divider i {
    color: var(--gold);
    font-size: 13px;
    font-style: normal;
}

.product-page .product-code {
    margin-bottom: 29px;
    color: #8b8175;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* DESCRIPTION */

.product-page .product-description-block {
    margin-bottom: 25px;
}

.product-page .product-description-block h2,
.product-page .product-specification-panel h2 {
    margin: 0 0 12px;

    color: #503e31;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 500;
}

.product-page .product-short-description {
    margin: 0;
    max-width: 100%;

    color: #62594f;
    font-size: 14px;
    line-height: 1.95;
}

/* SPECIFICATIONS */

.product-page .product-specification-panel {
    margin: 25px 0;
    padding: 22px;

    border: 1px solid #e8d9bd;
    border-radius: 14px;

    background:
        linear-gradient(135deg, #fffdf9, #f8efe1);
}

.product-page .product-specification-panel h2 {
    margin-bottom: 17px;
}

.product-page .product-highlight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    margin: 0;
}

.product-page .detail-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    min-width: 0;
    padding: 16px;

    background: #fff;
    border: 1px solid #ebdfcb;
    border-radius: 10px;
}

.product-page .detail-icon {
    color: var(--gold);
    font-size: 17px;
}

.product-page .detail-label {
    color: #93806b;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-page .detail-box strong {
    color: var(--wine);
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* PRICE */

.product-page .product-price-panel {
    padding: 22px 0;
    border-top: 1px solid #e6d8c1;
    border-bottom: 1px solid #e6d8c1;
}

.product-page .price-label {
    display: block;
    margin-bottom: 8px;

    color: #a0783b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.product-page .product-price {
    margin: 0;

    color: var(--wine);
    font-family: Georgia, serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.25;
}

.product-page .price-note {
    margin: 10px 0 0;

    color: #897e70;
    font-size: 11px;
    line-height: 1.7;
}

/* BUTTONS */

.product-page .product-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 27px;
}

.product-page .product-buttons button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    width: 100%;
    min-height: 55px;
    height: auto;
    padding: 12px 15px;

    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;

    transition:
        transform .25s,
        background .25s,
        box-shadow .25s;
}

.product-page .btn-primary {
    color: #fff;
    border: 1px solid var(--wine);
    background: linear-gradient(135deg, #8d1d25, #5d1018);
}

.product-page .btn-primary:hover {
    color: #fff;
    background: #4c0d14;
    box-shadow: 0 7px 18px rgba(105,19,29,.22);
}

.product-page .whatsapp-share {
    color: #fff;
    border: 1px solid #188d51;
    background: #208d55;
}

.product-page .whatsapp-share:hover {
    background: #167546;
    box-shadow: 0 7px 18px rgba(24,126,73,.18);
}

@media (hover: hover) {
    .product-page .product-buttons button:hover {
        transform: translateY(-2px);
    }
}

.product-page .product-assurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;

    margin-top: 22px;
    color: #997743;
    font-size: 11px;
    text-align: center;
}

/* TABLET */

@media (max-width: 1000px) {
    .product-page {
        padding: 25px 24px 65px;
    }

    .product-page .product-main {
        gap: 28px;
    }

    .product-page .product-gallery-frame {
        padding: 15px;
    }

    .product-page .product-buttons {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .product-page {
        padding: 16px 15px 55px;
    }

    .product-page .product-breadcrumb {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .product-page .product-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .product-page .product-gallery-frame {
        padding: 13px;
        border-radius: 13px;
    }

    .product-page .product-main-image {
        min-height: 0;
        aspect-ratio: 1 / 1;
        cursor: default;
    }

    .product-page .product-main-image img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        transform: none !important;
    }

    .product-page .gallery-corner-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .product-page .gallery-bottom-label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .product-page .gallery-help {
        display: none;
    }

    .product-page .product-thumbnail {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
    }

    .product-page .product-info {
        padding: 0;
    }

    .product-page #productName {
        font-size: 32px;
    }

    .product-page .product-short-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .product-page .product-specification-panel {
        padding: 14px;
    }

    .product-page .detail-box {
        padding: 13px;
    }

    .product-page .detail-box strong {
        font-size: 15px;
    }

    .product-page .product-buttons {
        grid-template-columns: 1fr;
        gap: 11px;
    }
}

/* SMALL PHONES */

@media (max-width: 380px) {
    .product-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-page #productName {
        font-size: 28px;
    }

    .product-page .product-highlight {
        gap: 8px;
    }

    .product-page .detail-box {
        padding: 10px;
    }

    .product-page .detail-box strong {
        font-size: 13px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .product-page *,
    .product-page *::before,
    .product-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* ENQUIRY BUTTON */

.product-page .product-buttons .enquiry-btn {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 55px;

    background: linear-gradient(
        135deg,
        #c99a45,
        #a77522
    );

    color: #ffffff;
    border: 1px solid #b88a3a;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: .4px;

    cursor: pointer;
    transition: .3s ease;
}

.product-page .product-buttons .enquiry-btn:hover {
    background: linear-gradient(
        135deg,
        #ad7a28,
        #865913
    );

    color: #ffffff;
    box-shadow: 0 8px 20px rgba(155, 109, 37, .22);
}

.product-page .enquiry-btn .fa-arrow-right {
    font-size: 12px;
}



