/* ================================================================
   KIRTI KUNJ GOLD & DIAMOND
   MAIN STYLESHEET
   ================================================================ */


/* ================================================================
   1. ROOT VARIABLES
   ================================================================ */

:root {
    --dark: #07130f;
    --white: #ffffff;

    --header-height: 90px;

    --font-primary:
        "Montserrat",
        Arial,
        sans-serif;

    --font-heading:
        "Cormorant Garamond",
        Georgia,
        serif;
}


/* ================================================================
   2. RESET
   ================================================================ */

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


html {
    scroll-behavior: smooth;
}


body {
    min-width: 320px;

    background: var(--white);
    color: var(--dark);

    font-family: var(--font-primary);

    -webkit-font-smoothing: antialiased;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
}

/* ================================================================
   3. HEADER
   ================================================================ */

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
    position: sticky;

    top: 0;

    width: 100%;

    background: var(--dark);

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);

    z-index: 1000;

    transition:
        top 0.35s ease,
        width 0.35s ease,
        border-radius 0.35s ease,
        box-shadow 0.35s ease;
}

/* ================================================================
   FLOATING HEADER
   Appears after 100px of scrolling
   ================================================================ */

.site-header.is-floating {
    top: 14px;

    width: 94%;

    margin: 0 auto;

    border-radius: 6px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-container {
    width: 100%;
    min-height: var(--header-height);

    padding: 0 6%;

    display: grid;

    grid-template-columns: 1fr 20fr 1fr;

    align-items: center;
}


/* ================================================================
   4. LOGO
   ================================================================ */

.site-logo {
    display: block;

    width: fit-content;

    line-height: 0;
}


.site-logo img {
    width: auto;
    height: auto;

    max-width: 220px;
}


/* ================================================================
   5. DESKTOP NAVIGATION
   ================================================================ */

.main-navigation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 40px;
}


.nav-link {
    position: relative;

    display: flex;
    align-items: center;

    height: var(--header-height);

    color: rgba(255, 255, 255, 0.85);

    font-size: 17px;
    font-weight: 400;

    white-space: nowrap;

    transition: color 0.2s ease;
}


.nav-link:hover {
    color: var(--white);
}


/* Active navigation item */

.nav-link.active {
    color: var(--white);
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    width:65%;
    bottom: 28px;

    height: 1px;

    background: var(--white);
}


/* ================================================================
   6. LIVE RATE
   ================================================================ */

.live-rate {
    justify-self: end;

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--white);

    font-size: 18px;
    font-weight: 400;

    white-space: nowrap;

    transition: opacity 0.2s ease;
}

.live-rate ion-icon {
    font-size: 21px;

    color: var(--white);

    flex-shrink: 0;
}


/* ================================================================
   7. MOBILE MENU BUTTON
   ================================================================ */

.mobile-menu-toggle {
    display: none;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 7px;
}


.mobile-menu-toggle span {
    display: block;

    width: 29px;
    height: 2px;

    background: var(--white);
}


/* ================================================================
   8. TABLET
   ================================================================ */

@media (max-width: 1000px) {

    :root {
        --header-height: 80px;
    }


    .header-container {
        padding: 0 4%;
    }


.site-header.is-floating {
    width: 95%;}
    .main-navigation {
        gap: 25px;
    }


    .nav-link {
        font-size: 15px;
    }


    .site-logo img {
        max-width: 180px;
    }

}


/* ================================================================
   9. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    :root {
        --header-height: 72px;
    }

    .header-container {
        padding: 0 20px;
    }


    /* Mobile hamburger */

    .mobile-menu-toggle {
        display: flex;

        justify-self: start;
    }

   .site-header.is-floating {
        top: 10px;
    }

    /* Center logo */

    .site-logo {
        justify-self: center;
    }

    /* Hide desktop navigation */

    .main-navigation {
        display: none;
    }


    /* Mobile Live Rate */

    .live-rate {
        justify-self: end;

        min-height: 40px;

        padding: 0 13px;

        border: 1px solid rgba(255, 255, 255, 0.35);

        border-radius: 3px;

        gap: 6px;

        font-size: 14px;
    }


    .live-rate span {
        display:none;
    }

}


/* ================================================================
   10. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .header-container {
        padding: 0 12px;
    }


    .mobile-menu-toggle {
        width: 32px;
    }


    .mobile-menu-toggle span {
        width: 26px;
    }


    .live-rate {
        padding: 0 9px;
    }

}

/* ================================================================
   MOBILE SIDE MENU
   ================================================================ */


/* ================================================================
   1. MENU OVERLAY
   ================================================================ */

.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 1998;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* ================================================================
   2. MOBILE MENU PANEL
   ================================================================ */
.mobile-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100dvh;

    z-index: 1999;

    display: flex;
    flex-direction: column;

    padding: 0 34px;

    background: #000000;

    visibility: hidden;
    opacity: 0;

    overflow-y: auto;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
/* ================================================================
   3. OPEN STATE
   ================================================================ */

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
}
/* ================================================================
   MOBILE MENU CONTENT ANIMATION
   ================================================================ */

.mobile-menu-header,
.mobile-navigation,
.mobile-social-links,
.mobile-menu-footer {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}


/* ================================================================
   MENU HEADER
   Appears first
   ================================================================ */

.mobile-menu.is-open .mobile-menu-header {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.15s;
}


/* ================================================================
   MAIN NAVIGATION
   ================================================================ */

.mobile-menu.is-open .mobile-navigation {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.25s;
}


/* ================================================================
   SOCIAL LINKS
   ================================================================ */

.mobile-menu.is-open .mobile-social-links {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.35s;
}


/* ================================================================
   FOOTER
   ================================================================ */

.mobile-menu.is-open .mobile-menu-footer {
    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.45s;
}

.mobile-menu-overlay.is-open {
    opacity: 1;

    visibility: visible;
}


/* ================================================================
   4. MENU HEADER
   ================================================================ */

.mobile-menu-header {
    min-height: 98px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    flex-shrink: 0;
}


/* ================================================================
   5. MENU LOGO
   ================================================================ */

.mobile-menu-logo {
    display: block;

    line-height: 0;
}


.mobile-menu-logo img {
    width: auto;
    height: auto;

    max-width: 160px;
}


/* ================================================================
   6. CLOSE BUTTON
   ================================================================ */

.mobile-menu-close {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--white);

    cursor: pointer;
}


.mobile-menu-close ion-icon {
    font-size: 34px;

    font-weight: 300;
}


/* ================================================================
   7. PRIMARY MOBILE NAVIGATION
   ================================================================ */

.mobile-navigation {
    display: flex;

    flex-direction: column;

    margin-top: 20px;
}


.mobile-nav-link {
    min-height: 54px;

    display: flex;

    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    color: var(--white);

    font-family: var(--font-primary);

    font-size: 20px;
    font-weight: 400;

    transition: opacity 0.2s ease;
}


.mobile-nav-link:hover {
    opacity: 0.65;
}


/* ================================================================
   8. SOCIAL / INFORMATION LINKS
   ================================================================ */

.mobile-social-links {
    display: flex;

    flex-direction: column;

    gap: 23px;

    margin-top: 38px;
}


.mobile-social-link {
    display: flex;

    align-items: center;

    gap: 17px;

    color: rgba(255, 255, 255, 0.72);

    font-family: var(--font-primary);

    font-size: 15px;
    font-weight: 400;

    transition: color 0.2s ease;
}


.mobile-social-link:hover {
    color: var(--white);
}


.mobile-social-link ion-icon {
    width: 20px;
    height: 20px;

    font-size: 20px;

    color: var(--white);

    flex-shrink: 0;
}


/* ================================================================
   9. PENDING LINKS
   ================================================================ */

.mobile-social-link.pending-link {
    cursor: default;
}


/* ================================================================
   10. MOBILE MENU FOOTER
   ================================================================ */

.mobile-menu-footer {
    margin-top: auto;

    padding: 28px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;

    flex-direction: column;

    gap: 12px;

    flex-shrink: 0;
}


.mobile-menu-footer a {
    color: rgba(255, 255, 255, 0.55);

    font-family: var(--font-primary);

    font-size: 13px;

    transition: color 0.2s ease;
}


.mobile-menu-footer a:hover {
    color: var(--white);
}


/* ================================================================
   11. MOBILE MENU ONLY
   Hide the drawer completely on desktop.
   ================================================================ */

@media (min-width: 769px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }

}


/* ================================================================
   12. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .mobile-menu {
        padding: 0 22px;
    }


    .mobile-menu-header {
        min-height: 70px;
    }

    .mobile-navigation {
        margin-top: 12px;
    }


    .mobile-nav-link {
        min-height: 52px;

        font-size: 18px;
    }


    .mobile-social-links {
        gap: 21px;

        margin-top: 32px;
    }


    .mobile-social-link {
        font-size: 14px;

        gap: 15px;
    }


    .mobile-menu-footer {
        padding-bottom: 22px;
    }

}
/* ================================================================
   JEWELLERY CATEGORY CAROUSEL
   MANUAL DRAG / SWIPE
   ================================================================ */
/* ================================================================
   JEWELLERY CATEGORY CAROUSEL
   ================================================================ */


/* ================================================================
   1. CAROUSEL
   ================================================================ */

.category-carousel {
    width: 100%;

    overflow: hidden;

    background: var(--white);

    padding: 32px 0;

    cursor: grab;

    user-select: none;

    touch-action: pan-y;
}


.category-carousel:active {
    cursor: grabbing;
}


/* ================================================================
   2. TRACK
   ================================================================ */

.category-track {
    width: max-content;

    display: flex;

    align-items: flex-start;

    will-change: transform;
}


/* ================================================================
   3. CATEGORY ITEM
   ================================================================ */

.category-item {
    width: 11.111vw;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    padding: 0 12px;

    color: var(--dark);

    text-align: center;

    user-select: none;
}


/* ================================================================
   4. CATEGORY IMAGE
   ================================================================ */

.category-image {
    width: 108px;
    height: 108px;

    overflow: hidden;

    border-radius: 50%;

    background: #eeeeee;

    pointer-events: none;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.08);
}


.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    pointer-events: none;

    transition:
        transform 0.35s ease;
}


/* ================================================================
   5. HOVER
   ================================================================ */

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


/* ================================================================
   6. CATEGORY NAME
   ================================================================ */

.category-item span {
    font-family: var(--font-primary);

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.02em;

    line-height: 1.2;

    white-space: nowrap;

    pointer-events: none;
}


/* ================================================================
   7. TABLET
   ================================================================ */

@media (max-width: 1000px) {

    .category-carousel {
        padding: 28px 0;
    }


    .category-item {
        width: 18vw;

        padding: 0 10px;

        gap: 16px;
    }


    .category-image {
        width: 112px;
        height: 112px;
    }


    .category-item span {
        font-size: 13px;
    }

}


/* ================================================================
   8. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .category-carousel {
        padding: 20px 0;
    }


    .category-item {
        width: 23vw;

        padding: 0 5px;

        gap: 13px;
    }


    .category-image {
        width: 88px;
        height: 88px;

        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.08);
    }


    .category-item span {
        font-size: 10px;

        letter-spacing: 0.03em;
    }

}


/* ================================================================
   9. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .category-carousel {
        padding: 18px 0;
    }


    .category-item {
        gap: 12px;
    }


    .category-image {
        width: 72px;
        height: 72px;
    }


    .category-item span {
        font-size: 10px;
    }

}

/* ================================================================
   RESPONSIVE HERO / BANNER CAROUSEL
   ================================================================ */


/* ================================================================
   1. CAROUSEL
   ================================================================ */

.hero-carousel {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #ffffff;
}


/* ================================================================
   2. SLIDE
   ================================================================ */

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* First slide establishes the carousel height */

.hero-slide:first-child {
    position: relative;
}


/* ================================================================
   3. ACTIVE SLIDE
   ================================================================ */

.hero-slide.active {
    opacity: 1;

    visibility: visible;
}


/* ================================================================
   4. IMAGE
   ================================================================ */

.hero-slide picture {
    display: block;

    width: 100%;
}


.hero-slide img {
    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    object-fit: cover;
}


/* ================================================================
   5. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .hero-carousel {
        width: 100%;
    }


    .hero-slide img {
        width: 100%;

        height: auto;

        object-fit: cover;
    }

}

/* ================================================================
   OUR COLLECTION
   ================================================================ */


/* ================================================================
   1. COLLECTION SECTION
   ================================================================ */

.collection-section {
    width: 100%;

    padding: 50px 3%;

    background: var(--white);
}


/* ================================================================
   2. COLLECTION INTRO
   ================================================================ */

.collection-intro {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 28px;
}


.collection-intro h2 {
    margin: 0;

    color: var(--dark);

    font-family: var(--font-heading);

    font-size: 36px;

    line-height: 1.1;

    text-transform: uppercase;
}


.collection-intro p {
    margin: 10px 0 0;

    color: var(--dark);

    font-family: var(--font-primary);

    font-size: 14px;

    line-height: 1.5;
}


/* ================================================================
   3. COLLECTION GRID
   ================================================================ */

.collection-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


/* ================================================================
   4. COLLECTION CARD
   ================================================================ */

.collection-card {
    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 8px;

    line-height: 0;

    background: #f5f5f5;
}


.collection-card img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


/* ================================================================
   5. HOVER
   ================================================================ */

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


/* ================================================================
   6. TABLET
   ================================================================ */

@media (max-width: 1000px) {

    .collection-section {
        padding: 42px 2.5%;
    }


    .collection-intro {
        margin-bottom: 24px;
    }


    .collection-intro h2 {
        font-size: 32px;
    }


    .collection-intro p {
        font-size: 13px;
    }


    .collection-grid {
        gap: 16px;
    }

}


/* ================================================================
   7. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .collection-section {
        padding: 36px 12px;
    }


    .collection-intro {
        margin-bottom: 22px;
    }


    .collection-intro h2 {
        font-size: 29px;
    }


    .collection-intro p {
        max-width: 340px;

        font-size: 12px;

        line-height: 1.5;
    }


    .collection-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .collection-card {
        border-radius: 7px;
    }

}


/* ================================================================
   8. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .collection-section {
        padding: 32px 10px;
    }


    .collection-intro h2 {
        font-size: 27px;
    }


    .collection-intro p {
        font-size: 11px;
    }


    .collection-grid {
        gap: 14px;
    }

}
/* ================================================================
   DIAMOND JEWELLERY
   ================================================================ */


/* ================================================================
   1. SECTION
   ================================================================ */

.diamond-section {
    width: 100%;

    padding: 48px 3%;

    background: var(--white);
}


/* ================================================================
   2. HEADING
   ================================================================ */

.diamond-intro {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    text-align: center;
}


.diamond-intro h2 {
    margin: 0;

    color: var(--dark);

    font-family: var(--font-heading);

    font-size: 36px;

    font-weight: 500;

    line-height: 1.1;

    text-transform: uppercase;
}


/* ================================================================
   3. GRID
   ================================================================ */

.diamond-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}


/* ================================================================
   4. CARD
   ================================================================ */

.diamond-card {
    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;

    line-height: 0;
}


.diamond-card img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


/* ================================================================
   5. HOVER
   ================================================================ */

.diamond-card:hover img {
    transform: scale(1.02);
}


/* ================================================================
   6. TABLET
   ================================================================ */

@media (max-width: 1000px) {

    .diamond-section {
        padding: 42px 2.5%;
    }


    .diamond-intro {
        margin-bottom: 24px;
    }


    .diamond-intro h2 {
        font-size: 32px;
    }


    .diamond-grid {
        gap: 9px;
    }

}


/* ================================================================
   7. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .diamond-section {
        padding: 34px 12px;
    }


    .diamond-intro {
        margin-bottom: 22px;
    }


    .diamond-intro h2 {
        font-size: 29px;
    }


    .diamond-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    /* ------------------------------------------------------------
       Mobile visual order

       Desktop:
       Ring | Earring | Bangle | Bracelet
       Necklace | Pendant | Mangalsutra | Nose Pin

       Mobile:
       Ring | Earring
       Bracelet | Bangle
       Necklace | Pendant
       Mangalsutra | Nose Pin
       ------------------------------------------------------------ */

    .diamond-card:nth-child(4) {
        order: 3;
    }


    .diamond-card:nth-child(3) {
        order: 4;
    }


    .diamond-card:nth-child(5) {
        order: 5;
    }


    .diamond-card:nth-child(6) {
        order: 6;
    }


    .diamond-card:nth-child(7) {
        order: 7;
    }


    .diamond-card:nth-child(8) {
        order: 8;
    }

}


/* ================================================================
   8. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .diamond-section {
        padding: 30px 10px;
    }


    .diamond-intro h2 {
        font-size: 27px;
    }


    .diamond-grid {
        gap: 7px;
    }

}
/* ================================================================
   DIAMOND JEWELLERY
   ================================================================ */


/* ================================================================
   1. SECTION
   ================================================================ */

.diamond-section {
    width: 100%;

    padding: 0 3% 55px;

    background: var(--white);
}


/* ================================================================
   2. HEADING
   ================================================================ */

.diamond-intro {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    text-align: center;
}


.diamond-intro h2 {
    margin: 0;

    color: var(--dark);

    font-family: var(--font-heading);

    font-size: 36px;

    font-weight: 500;

    line-height: 1.1;

    text-transform: uppercase;
}


/* ================================================================
   3. GRID
   ================================================================ */

.diamond-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}


/* ================================================================
   4. CARD
   ================================================================ */

.diamond-card {
    display: block;

    width: 100%;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;

    line-height: 0;
}


.diamond-card img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


/* ================================================================
   5. HOVER
   ================================================================ */

.diamond-card:hover img {
    transform: scale(1.02);
}


/* ================================================================
   6. TABLET
   ================================================================ */

@media (max-width: 1000px) {

    .diamond-section {
        padding: 0 2.5% 48px;
    }


    .diamond-intro {
        margin-bottom: 24px;
    }


    .diamond-intro h2 {
        font-size: 32px;
    }


    .diamond-grid {
        gap: 9px;
    }

}


/* ================================================================
   7. MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .diamond-section {
        padding: 0 12px 42px;
    }


    .diamond-intro {
        margin-bottom: 22px;
    }


    .diamond-intro h2 {
        font-size: 29px;
    }


    .diamond-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    /* ------------------------------------------------------------
       Mobile visual order

       Desktop:
       Ring | Earring | Bangle | Bracelet
       Necklace | Pendant | Mangalsutra | Nose Pin

       Mobile:
       Ring | Earring
       Bracelet | Bangle
       Necklace | Pendant
       Mangalsutra | Nose Pin
       ------------------------------------------------------------ */

    .diamond-card:nth-child(4) {
        order: 3;
    }


    .diamond-card:nth-child(3) {
        order: 4;
    }


    .diamond-card:nth-child(5) {
        order: 5;
    }


    .diamond-card:nth-child(6) {
        order: 6;
    }


    .diamond-card:nth-child(7) {
        order: 7;
    }


    .diamond-card:nth-child(8) {
        order: 8;
    }

}


/* ================================================================
   8. SMALL MOBILE
   ================================================================ */

@media (max-width: 420px) {

    .diamond-section {
        padding: 0 10px 38px;
    }


    .diamond-intro h2 {
        font-size: 27px;
    }


    .diamond-grid {
        gap: 7px;
    }

}

/* ================================================================
   9. DIAMOND CARD SWAP ANIMATION
   ================================================================ */

/*
   STAGGERED ZIGZAG ANIMATION

   Desktop / Tablet:

   1 ↔ 2   Ring ↔ Earring
       ↓
   3 ↔ 4   Bangle ↔ Bracelet
       ↓
   5 ↔ 6   Necklace ↔ Pendant
       ↓
   7 ↔ 8   Mangalsutra ↔ Nose Pin

   Each pair swaps independently.

   The grid order itself never changes.
*/


@keyframes diamond-swap-left {

    0%,
    18% {
        transform: translateX(0);
    }


    30%,
    48% {
        transform: translateX(calc(100% + 10px));
    }


    60%,
    100% {
        transform: translateX(0);
    }

}


@keyframes diamond-swap-right {

    0%,
    18% {
        transform: translateX(0);
    }


    30%,
    48% {
        transform: translateX(calc(-100% - 10px));
    }


    60%,
    100% {
        transform: translateX(0);
    }

}


/* ================================================================
   PAIR 1
   Ring ↔ Earring
   ================================================================ */

.diamond-card:nth-child(1) {
    animation:
        diamond-swap-left
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 0s;
}


.diamond-card:nth-child(2) {
    animation:
        diamond-swap-right
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 0s;
}


/* ================================================================
   PAIR 2
   Bangle ↔ Bracelet
   ================================================================ */

.diamond-card:nth-child(3) {
    animation:
        diamond-swap-left
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 1.2s;
}


.diamond-card:nth-child(4) {
    animation:
        diamond-swap-right
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 1.2s;
}


/* ================================================================
   PAIR 3
   Necklace ↔ Pendant
   ================================================================ */

.diamond-card:nth-child(5) {
    animation:
        diamond-swap-left
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 2.4s;
}


.diamond-card:nth-child(6) {
    animation:
        diamond-swap-right
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 2.4s;
}


/* ================================================================
   PAIR 4
   Mangalsutra ↔ Nose Pin
   ================================================================ */

.diamond-card:nth-child(7) {
    animation:
        diamond-swap-left
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 3.6s;
}


.diamond-card:nth-child(8) {
    animation:
        diamond-swap-right
        12s
        cubic-bezier(0.65, 0, 0.35, 1)
        infinite;

    animation-delay: 3.6s;
}


/* ================================================================
   10. MOBILE SWAP ANIMATION
   ================================================================ */

/*
   Mobile:

   Ring       ↔ Earring
       ↓
   Bracelet   ↔ Bangle
       ↓
   Necklace   ↔ Pendant
       ↓
   Mangalsutra ↔ Nose Pin

   All movement remains horizontal.
*/


@media (max-width: 768px) {


    /* ------------------------------------------------------------
       MOBILE LEFT
       ------------------------------------------------------------ */

    @keyframes diamond-mobile-swap-left {

        0%,
        18% {
            transform: translateX(0);
        }


        30%,
        48% {
            transform: translateX(calc(100% + 8px));
        }


        60%,
        100% {
            transform: translateX(0);
        }

    }


    /* ------------------------------------------------------------
       MOBILE RIGHT
       ------------------------------------------------------------ */

    @keyframes diamond-mobile-swap-right {

        0%,
        18% {
            transform: translateX(0);
        }


        30%,
        48% {
            transform: translateX(calc(-100% - 8px));
        }


        60%,
        100% {
            transform: translateX(0);
        }

    }


    /* ============================================================
       PAIR 1
       Ring ↔ Earring
       ============================================================ */

    .diamond-card:nth-child(1) {
        animation:
            diamond-mobile-swap-left
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 0s;
    }


    .diamond-card:nth-child(2) {
        animation:
            diamond-mobile-swap-right
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 0s;
    }


    /* ============================================================
       PAIR 2
       Bracelet ↔ Bangle
       ============================================================ */

    .diamond-card:nth-child(4) {
        animation:
            diamond-mobile-swap-left
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 1.2s;
    }


    .diamond-card:nth-child(3) {
        animation:
            diamond-mobile-swap-right
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 1.2s;
    }


    /* ============================================================
       PAIR 3
       Necklace ↔ Pendant
       ============================================================ */

    .diamond-card:nth-child(5) {
        animation:
            diamond-mobile-swap-left
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 2.4s;
    }


    .diamond-card:nth-child(6) {
        animation:
            diamond-mobile-swap-right
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 2.4s;
    }


    /* ============================================================
       PAIR 4
       Mangalsutra ↔ Nose Pin
       ============================================================ */

    .diamond-card:nth-child(7) {
        animation:
            diamond-mobile-swap-left
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 3.6s;
    }


    .diamond-card:nth-child(8) {
        animation:
            diamond-mobile-swap-right
            12s
            cubic-bezier(0.65, 0, 0.35, 1)
            infinite;

        animation-delay: 3.6s;
    }

}


/* ================================================================
   11. REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    .diamond-card {
        animation: none !important;
    }

}