/* ╔══════════════════════════════════════════════════════════════╗
   ║   JMD JEWELLERS — HOMEPAGE (LIGHT LUXURIOUS — ENHANCED)   ║
   ║   Ivory & Gold — Jewellery Patterns — Rich Interactivity   ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ─── LIGHT DESIGN TOKENS ─── */
.jmd-home {
    --jmd-ivory: #FBF8F3;
    --jmd-ivory-warm: #F5F0E8;
    --jmd-cream: #EDE7DB;
    --jmd-cream-dark: #DDD5C5;
    --jmd-linen: #F8F4ED;
    --jmd-gold-rich: #B8860B;
    --jmd-gold-deep: #9A7209;
    --jmd-gold-home: #C9A04A;
    --jmd-gold-bright: #D4A843;
    --jmd-gold-glow: #E8C96D;
    --jmd-gold-pale: #F0D78C;
    --jmd-text-dark: #2A2118;
    --jmd-text-body: #5C4F3D;
    --jmd-text-muted: #8A7D6B;
    --jmd-white: #FFFFFF;
    --jmd-border: rgba(185, 134, 11, 0.12);
    --jmd-border-soft: rgba(185, 134, 11, 0.06);
    --jmd-shadow-soft: 0 4px 24px rgba(42, 33, 24, 0.06);
    --jmd-shadow-lift: 0 20px 56px rgba(42, 33, 24, 0.1);
    --jmd-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.jmd-home {
    background: var(--jmd-ivory);
    color: var(--jmd-text-body);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════
   JEWELLERY SVG PATTERNS
   ═══════════════════════════════════════════ */
.jmd-hero__pattern,
.jmd-legacy__pattern,
.jmd-promise__pattern,
.jmd-visit__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 15 L30 25 L25 15Z' fill='none' stroke='%23C9A04A' stroke-width='0.4' opacity='0.3'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23C9A04A' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 60px 60px, 40px 40px;
    will-change: transform;
}

.jmd-promise__pattern {
    background-image:
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='40' cy='20' rx='12' ry='8' fill='none' stroke='%23C9A04A' stroke-width='0.3' opacity='0.2'/%3E%3Cellipse cx='40' cy='60' rx='12' ry='8' fill='none' stroke='%23C9A04A' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='40' y1='28' x2='40' y2='52' stroke='%23C9A04A' stroke-width='0.3' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    opacity: 0.35;
}

.jmd-visit__pattern {
    background-image:
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='20' fill='none' stroke='%23C9A04A' stroke-width='0.3' opacity='0.15'/%3E%3Ccircle cx='60' cy='60' r='24' fill='none' stroke='%23C9A04A' stroke-width='0.2' opacity='0.08'/%3E%3Cpath d='M60 36 L64 42 L60 48 L56 42Z' fill='none' stroke='%23C9A04A' stroke-width='0.4' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    opacity: 0.3;
}


/* ═══════════════════════════════════════════
   ANIMATION CLASSES
   ═══════════════════════════════════════════ */
.jmd-anim-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--jmd-ease), transform 0.9s var(--jmd-ease);
}

.jmd-anim-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.jmd-anim-expand {
    width: 0;
    transition: width 1.2s var(--jmd-ease);
}

.jmd-anim-expand.is-visible {
    width: 80px;
}

.jmd-scroll-reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.9s var(--jmd-ease), transform 0.9s var(--jmd-ease);
}

.jmd-scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes jmd-shimmer-light {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}


/* ═══════════════════════════════════════════
   ELEGANT SECTION DIVIDERS
   ═══════════════════════════════════════════ */
.jmd-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    max-width: 600px;
    margin: 0 auto;
}

.jmd-section-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--jmd-gold-home), transparent);
    opacity: 0.25;
}

.jmd-section-divider__ornament {
    font-size: 12px;
    color: var(--jmd-gold-home);
    margin: 0 16px;
    opacity: 0.4;
    animation: jmd-diamond-pulse 4s ease-in-out infinite;
}


/* ═══════════════════════════════════════════
   SECTION 1: HERO — 70vh Desktop
   ═══════════════════════════════════════════ */
.jmd-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 160, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 160, 74, 0.06) 0%, transparent 50%),
        linear-gradient(175deg, var(--jmd-ivory) 0%, var(--jmd-ivory-warm) 50%, var(--jmd-cream) 100%);
    padding: 60px 0 40px;
}

/* ─── HERO SLIDER ─── */
.jmd-hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.jmd-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    /* Default State: Waiting on the right */
    transform: translateX(100%);
    transition: transform 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.jmd-hero__slide.jmd-active {
    transform: translateX(0);
    z-index: 20;
}

/* Exiting slide just below active */

/* Alignment Modifiers */
.jmd-hero__slide.jmd-align-left {
    align-items: flex-start;
    text-align: left;
    padding-left: 10%;
    padding-right: 10%;
}

.jmd-hero__slide.jmd-align-right {
    align-items: flex-end;
    text-align: right;
    padding-right: 10%;
    padding-left: 10%;
}

/* Whole Slide Link Overlay */
.jmd-hero__slide-link {
    position: absolute;
    inset: 0;
    z-index: 100;
    /* Top most clickable layer */
    cursor: pointer;
}

/* Reset transition for instant jumps if needed (helper) */
.jmd-hero__slide.no-transition {
    transition: none !important;
}

.jmd-hero__overlay {
    display: none !important;
}

/* Ensure content sits above overlay/slide */
.jmd-hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
}

/* Progress Bar */
.jmd-hero__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(184, 134, 11, 0.1);
    z-index: 50;
    /* Ensure above slides (z-index 20) */
}

.jmd-hero__progress-fill {
    height: 100%;
    width: 0;
    background: var(--jmd-gold-rich);
}

/* Keyframe for reliable progress animation */
@keyframes jmd-progress-grow {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.jmd-hero__progress-fill.animating {
    animation: jmd-progress-grow 6000ms linear forwards;
}

/* Particles */
.jmd-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.jmd-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--jmd-gold-glow);
    opacity: 0;
    animation: jmd-particle-rise 14s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(201, 160, 74, 0.35);
}

.jmd-particle--1 {
    left: 12%;
    animation-delay: 0s;
    animation-duration: 16s;
}

.jmd-particle--2 {
    left: 30%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.jmd-particle--3 {
    left: 48%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.jmd-particle--4 {
    left: 65%;
    animation-delay: 1.5s;
    animation-duration: 15s;
}

.jmd-particle--5 {
    left: 80%;
    animation-delay: 4.5s;
    animation-duration: 17s;
}

.jmd-particle--6 {
    left: 93%;
    animation-delay: 7s;
    animation-duration: 12s;
}

@keyframes jmd-particle-rise {
    0% {
        transform: translateY(70vh) scale(0);
        opacity: 0;
    }

    15% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.2;
    }

    85% {
        opacity: 0;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* Corner Ornaments */
.jmd-hero__corner {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 2;
    opacity: 0.18;
}

.jmd-hero__corner::before,
.jmd-hero__corner::after {
    content: '';
    position: absolute;
}

.jmd-hero__corner--tl {
    top: 30px;
    left: 30px;
}

.jmd-hero__corner--tl::before {
    top: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--tl::after {
    top: 0;
    left: 0;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--tr {
    top: 30px;
    right: 30px;
}

.jmd-hero__corner--tr::before {
    top: 0;
    right: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(to left, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--tr::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--bl {
    bottom: 30px;
    left: 30px;
}

.jmd-hero__corner--bl::before {
    bottom: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--bl::after {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 80px;
    background: linear-gradient(to top, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--br {
    bottom: 30px;
    right: 30px;
}

.jmd-hero__corner--br::before {
    bottom: 0;
    right: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(to left, var(--jmd-gold-rich), transparent);
}

.jmd-hero__corner--br::after {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 80px;
    background: linear-gradient(to top, var(--jmd-gold-rich), transparent);
}

/* Hero Content */
.jmd-hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 40px;
}

.jmd-hero__diamond-icon {
    margin-bottom: 16px;
    color: var(--jmd-gold-home);
    opacity: 0.45;
}

.jmd-hero__prelude {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--jmd-text-muted);
    margin-bottom: 20px;
}

.jmd-hero__divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--jmd-gold-rich), transparent);
    margin: 0 auto 24px;
    opacity: 0.3;
}

.jmd-hero__title {
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1;
}

.jmd-hero__title-line {
    display: block;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    background: linear-gradient(135deg,
            var(--jmd-gold-deep) 0%, var(--jmd-gold-rich) 20%, var(--jmd-gold-glow) 40%,
            var(--jmd-gold-bright) 60%, var(--jmd-gold-rich) 80%, var(--jmd-gold-deep) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: jmd-shimmer-light 6s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(185, 134, 11, 0.15));
}

.jmd-hero__tagline {
    font-size: clamp(0.82rem, 1.4vw, 1.05rem);
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--jmd-text-muted);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Hero ornament divider */
.jmd-hero__divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.jmd-hero__ornament-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--jmd-gold-home));
}

.jmd-hero__ornament-line:last-child {
    background: linear-gradient(90deg, var(--jmd-gold-home), transparent);
}

.jmd-hero__ornament-diamond {
    font-size: 12px;
    color: var(--jmd-gold-home);
    opacity: 0.6;
    animation: jmd-diamond-pulse 3s ease-in-out infinite;
}

@keyframes jmd-diamond-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(5deg);
    }
}

/* Hero CTAs */
.jmd-hero__cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jmd-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s var(--jmd-ease);
    position: relative;
    overflow: hidden;
}

.jmd-hero__btn--primary {
    background: linear-gradient(135deg, var(--jmd-gold-rich), var(--jmd-gold-bright));
    color: var(--jmd-white);
    border: 1px solid var(--jmd-gold-rich);
    box-shadow: 0 4px 16px rgba(185, 134, 11, 0.2);
}

.jmd-hero__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
}

.jmd-hero__btn--primary:hover {
    background: linear-gradient(135deg, var(--jmd-gold-bright), var(--jmd-gold-glow));
    box-shadow: 0 8px 32px rgba(185, 134, 11, 0.3);
    transform: translateY(-3px);
    color: var(--jmd-white);
}

.jmd-hero__btn--primary:hover::before {
    left: 100%;
}

.jmd-hero__btn--ghost {
    background: transparent;
    color: var(--jmd-gold-rich);
    border: 1px solid var(--jmd-gold-home);
}

.jmd-hero__btn--ghost:hover {
    background: rgba(185, 134, 11, 0.06);
    border-color: var(--jmd-gold-rich);
    color: var(--jmd-gold-deep);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(185, 134, 11, 0.1);
}

/* Scroll Indicator */
.jmd-hero__scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.jmd-hero__scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--jmd-gold-home), transparent);
    animation: jmd-scroll-breathe 2.5s ease-in-out infinite;
}

@keyframes jmd-scroll-breathe {

    0%,
    100% {
        opacity: 0.25;
        height: 30px;
    }

    50% {
        opacity: 0.7;
        height: 40px;
    }
}

.jmd-hero__scroll-text {
    font-size: 0.58rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jmd-text-muted);
    opacity: 0.4;
}


/* ═══════════════════════════════════════════
   SECTION 2: MARQUEE — Horizontal Continuous Ticker
   ═══════════════════════════════════════════ */
.jmd-marquee {
    background: var(--jmd-white);
    border-top: 1px solid var(--jmd-border);
    border-bottom: 1px solid var(--jmd-border);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.jmd-marquee::before,
.jmd-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.jmd-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--jmd-white) 0%, transparent 100%);
}

.jmd-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--jmd-white) 0%, transparent 100%);
}

/* Track: 3 identical content blocks for seamless infinite loop */
.jmd-marquee__track,
.jmd-home .jmd-marquee .jmd-marquee__track {
    display: flex !important;
    width: max-content !important;
    will-change: transform;
    -webkit-animation: jmd-marquee-move 20s linear infinite !important;
    animation: jmd-marquee-move 20s linear infinite !important;
}

/* Move by one-third of track width per cycle (one content block) = seamless loop */
@-webkit-keyframes jmd-marquee-move {
    0% {
        -webkit-transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-33.3333%);
    }
}

@keyframes jmd-marquee-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.3333%);
    }
}

/* Hover pause removed to fix sticky behavior on touch */

.jmd-marquee__content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
    /* Removed width constraint to allow content to fit */
}

.jmd-marquee__item {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    white-space: nowrap;
    padding: 0 20px;
}

.jmd-marquee__sep {
    font-size: 7px;
    color: var(--jmd-gold-glow);
    padding: 0 4px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   METAL RATES MARQUEE (Review)
   ═══════════════════════════════════════════ */
.jmd-marquee.jmd-marquee-rates {
    background: var(--jmd-gold);
    border-bottom: 1px solid var(--jmd-border);
    padding: 12px 0;
    color: #fff;
    margin-top: -1px;
    /* Overlap border */
}

/* Override track animation for reverse direction */
.jmd-home .jmd-marquee.jmd-marquee-rates .jmd-marquee__track {
    -webkit-animation: jmd-marquee-move-reverse 35s linear infinite !important;
    animation: jmd-marquee-move-reverse 35s linear infinite !important;
}

.jmd-marquee.jmd-marquee-rates .jmd-marquee__item {
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.jmd-marquee.jmd-marquee-rates .jmd-marquee__sep {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

/* Reverse Animation: Left to Right */
@-webkit-keyframes jmd-marquee-move-reverse {
    0% {
        -webkit-transform: translateX(-33.3333%);
    }

    100% {
        -webkit-transform: translateX(0);
    }
}

@keyframes jmd-marquee-move-reverse {
    0% {
        transform: translateX(-33.3333%);
    }

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


/* ═══════════════════════════════════════════
   SECTION: ANIMATED STATS COUNTERS
   ═══════════════════════════════════════════ */
.jmd-stats {
    padding: 56px 0;
    background: var(--jmd-ivory);
}

.jmd-stats__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.jmd-stats__item {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
}

.jmd-stats__number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--jmd-gold-deep), var(--jmd-gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jmd-stats__suffix {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--jmd-gold-deep), var(--jmd-gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jmd-stats__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jmd-text-muted);
    margin-top: 8px;
}

.jmd-stats__divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--jmd-gold-home), transparent);
    opacity: 0.25;
    flex-shrink: 0;
}


/* Fix for WooCommerce grid pseudo-elements appearing as items */
.jmd-featured ul.products::before,
.jmd-featured ul.products::after {
    content: none !important;
    display: none !important;
}

/* ═══════════════════════════════════════════
   SECTION 3: LEGACY — Brand Story
   ═══════════════════════════════════════════ */
.jmd-legacy {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-image: url('https://jmdjewellers.flowndeveloper.me/wp-content/uploads/2026/02/BGSL.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax effect for luxury feel */
}

/* Add an overlay to ensure text readability over the image */
.jmd-legacy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(251, 248, 243, 0.60);
    /* Ivory overlay with 60% opacity (clearer image) */
    z-index: 0;
}

.jmd-legacy>* {
    position: relative;
    z-index: 1;
    /* Ensure content sits above overlay */
}

.jmd-legacy__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.jmd-legacy__left {
    text-align: center;
}

.jmd-legacy__year-badge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(185, 134, 11, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle, rgba(201, 160, 74, 0.06) 0%, transparent 70%), var(--jmd-white);
    box-shadow: 0 8px 32px rgba(42, 33, 24, 0.06), inset 0 0 40px rgba(201, 160, 74, 0.04);
}

.jmd-legacy__year-badge::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(185, 134, 11, 0.06);
}

.jmd-legacy__year-badge::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed rgba(185, 134, 11, 0.04);
}

.jmd-legacy__year-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--jmd-gold-deep), var(--jmd-gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jmd-legacy__year-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    margin-top: 6px;
    line-height: 1.4;
    opacity: 0.75;
}

.jmd-legacy__right {
    max-width: 640px;
}

.jmd-legacy__kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    margin-bottom: 16px;
}

.jmd-legacy__heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--jmd-text-dark);
    line-height: 1.3;
    margin: 0 0 20px;
}

.jmd-legacy__line {
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, var(--jmd-gold-rich), var(--jmd-gold-glow), transparent);
    margin-bottom: 26px;
    border-radius: 1px;
}

.jmd-legacy__text {
    font-size: 1.02rem;
    line-height: 2;
    color: var(--jmd-text-body);
    margin-bottom: 32px;
}

.jmd-legacy__text strong {
    color: var(--jmd-gold-rich);
    font-weight: 600;
}

.jmd-legacy__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(185, 134, 11, 0.25);
    transition: all 0.35s ease;
}

.jmd-legacy__link:hover {
    color: var(--jmd-gold-deep);
    border-bottom-color: var(--jmd-gold-rich);
    gap: 14px;
}


/* ═══════════════════════════════════════════
   SECTION 4: COLLECTIONS
   ═══════════════════════════════════════════ */
.jmd-collections {
    padding: 100px 0 120px;
    position: relative;
    background: linear-gradient(180deg, var(--jmd-ivory-warm) 0%, var(--jmd-white) 40%, var(--jmd-ivory-warm) 100%);
}

.jmd-collections__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
    padding: 0 40px;
}

.jmd-collections__kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    margin-bottom: 16px;
}

.jmd-collections__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--jmd-text-dark);
    line-height: 1.3;
    margin: 0 0 22px;
}

.jmd-collections__title-line {
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, var(--jmd-gold-rich), var(--jmd-gold-glow), transparent);
    margin: 0 auto;
    border-radius: 1px;
}

.jmd-collections__grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Collection Cards (Enhanced) */
.jmd-coll-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 440px;
    padding: 60px 36px;
    background: var(--jmd-white);
    border: 1px solid var(--jmd-border);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.5s var(--jmd-ease);
    box-shadow: var(--jmd-shadow-soft);
}

/* Card number badge */
.jmd-coll-card__number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(185, 134, 11, 0.05);
    pointer-events: none;
    transition: color 0.4s ease;
}

.jmd-coll-card:hover .jmd-coll-card__number {
    color: rgba(185, 134, 11, 0.1);
}

/* Top gold border reveal */
.jmd-coll-card__border-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--jmd-gold-glow), var(--jmd-gold-rich), var(--jmd-gold-glow));
    border-radius: 0 0 3px 3px;
    transition: width 0.5s var(--jmd-ease);
}

.jmd-coll-card:hover .jmd-coll-card__border-top {
    width: 100%;
}

.jmd-coll-card__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    transition: all 0.6s ease;
    pointer-events: none;
}

.jmd-coll-card--gold .jmd-coll-card__glow {
    background: radial-gradient(circle, rgba(212, 168, 67, 0.6) 0%, transparent 70%);
}

.jmd-coll-card--silver .jmd-coll-card__glow {
    background: radial-gradient(circle, rgba(150, 150, 150, 0.5) 0%, transparent 70%);
}

.jmd-coll-card--diamond .jmd-coll-card__glow {
    background: radial-gradient(circle, rgba(100, 180, 220, 0.4) 0%, transparent 70%);
}

.jmd-coll-card--gold .jmd-coll-card__icon svg {
    stroke: var(--jmd-gold-rich);
}

.jmd-coll-card--silver .jmd-coll-card__icon svg {
    stroke: #8a8a8a;
}

.jmd-coll-card--diamond .jmd-coll-card__icon svg {
    stroke: #5ba4c4;
}

.jmd-coll-card:hover {
    transform: translateY(-14px);
    border-color: rgba(185, 134, 11, 0.2);
    box-shadow: var(--jmd-shadow-lift);
}

.jmd-coll-card:hover .jmd-coll-card__glow {
    opacity: 0.12;
    width: 380px;
    height: 380px;
}

.jmd-coll-card__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 74, 0.06), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.jmd-coll-card:hover .jmd-coll-card__shimmer {
    left: 100%;
}

/* Gemstones Long Card */
.jmd-coll-gemstones-card {
    display: block;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    margin-top: 48px;
    text-decoration: none;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0c0a07 0%, #1a1610 50%, #0d0b08 100%);
    border: 1px solid rgba(212, 168, 67, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: all 0.5s var(--jmd-ease);
}

.jmd-coll-gemstones-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 168, 67, 0.2);
    border-color: rgba(212, 168, 67, 0.25);
}

.jmd-coll-gemstones-card__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(212, 168, 67, 0.05) 0%, transparent 45%);
    pointer-events: none;
}

.jmd-coll-gemstones-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px 56px;
}

.jmd-coll-gemstones-card__icon {
    flex-shrink: 0;
    color: var(--jmd-gold-bright, #D4A843);
    opacity: 0.9;
}

.jmd-coll-gemstones-card__icon svg {
    display: block;
}

.jmd-coll-gemstones-card__content {
    flex: 1;
    min-width: 0;
}

.jmd-coll-gemstones-card__kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jmd-gold-bright, #D4A843);
    margin: 0 0 12px;
}

.jmd-coll-gemstones-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jmd-coll-gemstones-card__desc {
    font-size: 0.98rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 24px;
}

.jmd-coll-gemstones-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--jmd-gold-bright, #D4A843);
    transition: all 0.35s ease;
}

.jmd-coll-gemstones-card:hover .jmd-coll-gemstones-card__link {
    color: var(--jmd-gold-glow, #E8C96D);
}

.jmd-coll-gemstones-card__link svg {
    transition: transform 0.35s ease;
}

.jmd-coll-gemstones-card:hover .jmd-coll-gemstones-card__link svg {
    transform: translateX(4px);
}

.jmd-coll-gemstones-card__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 10%, var(--jmd-gold-bright, #D4A843) 50%, transparent 90%);
    opacity: 0.6;
}

.jmd-coll-gemstones-card:hover .jmd-coll-gemstones-card__accent {
    opacity: 1;
}

.jmd-coll-card__content {
    position: relative;
    z-index: 2;
}

.jmd-coll-card__icon {
    margin-bottom: 24px;
    opacity: 0.55;
    transition: all 0.35s ease;
}

.jmd-coll-card:hover .jmd-coll-card__icon {
    opacity: 1;
    transform: scale(1.1);
}

.jmd-coll-card__title {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--jmd-text-dark);
    letter-spacing: 0.5px;
    margin: 0 0 14px;
}

.jmd-coll-card__desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--jmd-text-muted);
    margin: 0 0 28px;
    max-width: 300px;
}

.jmd-coll-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    padding: 10px 26px;
    border: 1px solid rgba(185, 134, 11, 0.25);
    border-radius: 2px;
    transition: all 0.35s ease;
}

.jmd-coll-card:hover .jmd-coll-card__link {
    background: var(--jmd-gold-rich);
    color: var(--jmd-white);
    border-color: var(--jmd-gold-rich);
    gap: 12px;
    box-shadow: 0 4px 16px rgba(185, 134, 11, 0.2);
}


/* ═══════════════════════════════════════════
   SECTION 5: FEATURED PRODUCTS
   ═══════════════════════════════════════════ */
.jmd-featured {
    padding: 100px 0 120px;
    position: relative;
    background: var(--jmd-linen);
    border-top: 1px solid var(--jmd-border-soft);
    border-bottom: 1px solid var(--jmd-border-soft);
}

.jmd-featured__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.jmd-featured__header {
    text-align: center;
    margin-bottom: 56px;
}

.jmd-featured__kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    margin-bottom: 16px;
}

.jmd-featured__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--jmd-text-dark);
    line-height: 1.3;
    margin: 0 0 22px;
}

.jmd-featured__title-line {
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, var(--jmd-gold-rich), var(--jmd-gold-glow), transparent);
    margin: 0 auto;
    border-radius: 1px;
}

/* WooCommerce overrides - Synced with Shop Page v7.1 (Exact Match) */
.jmd-featured__products .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
}

.jmd-featured__products .woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--jmd-bg-white, #fff);
    /* Match shop */
    border: 1px solid var(--jmd-border-soft, #f0ece4);
    /* Match shop */
    border-radius: 12px;
    /* Match shop */
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    /* Flex layout for sticky button */
    flex-direction: column;
    box-shadow: none;
    /* Initial state from shop */
}

.jmd-featured__products .woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 67, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(212, 168, 67, 0.06);
}

.jmd-featured__products .woocommerce ul.products li.product a img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Match shop aspect ratio */
    object-fit: cover;
    border-bottom: none;
    border-radius: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
}

.jmd-featured__products .woocommerce ul.products li.product:hover a img {
    transform: scale(1.06);
}

.jmd-featured__products .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--jmd-text-dark, #1a1a1a) !important;
    letter-spacing: 0.3px;
    padding: 18px 18px 6px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: center;
    transition: color 0.3s ease;
}

.jmd-featured__products .woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--jmd-gold-dark, #B8860B) !important;
}

.jmd-featured__products .woocommerce ul.products li.product .price {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--jmd-gold-dark, #B8860B) !important;
    padding: 4px 18px 16px !important;
    margin: 0 !important;
    display: block;
    text-align: center;
}

.jmd-featured__products .woocommerce ul.products li.product .price del {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    color: var(--jmd-text-light, #bbb) !important;
    opacity: 1;
    /* Reset opacity */
}

/* Button - Transparent Gold Border (Exact Shop Match) */
.jmd-featured__products .woocommerce ul.products li.product .button,
.jmd-featured__products .woocommerce ul.products li.product a.button {
    display: block;
    width: auto !important;
    /* Not full width */
    margin: auto 18px 18px !important;
    /* Push to bottom */
    padding: 12px 20px !important;
    text-align: center;
    background: transparent !important;
    color: var(--jmd-gold-dark, #B8860B) !important;
    border: 1px solid var(--jmd-gold, #D4A843) !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    line-height: 1.4 !important;
}

.jmd-featured__products .woocommerce ul.products li.product .button:hover,
.jmd-featured__products .woocommerce ul.products li.product a.button:hover {
    background: var(--jmd-gold-dark, #B8860B) !important;
    color: #fff !important;
    border-color: var(--jmd-gold-dark, #B8860B) !important;
}

/* Badges - Synced from Shop (via functions.php injection) */
.jmd-featured__products .woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: var(--jmd-gold-dark, #B8860B) !important;
    /* Updated to match shop */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px !important;
    border-radius: 4px !important;
    /* Match shop */
    box-shadow: none;
    /* Match shop */
    line-height: 1.4 !important;
}

/* Metal Badges (Already in jmd-shop.css, duplicated here for safety if not loaded) */
.jmd-featured__products .jmd-metal-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
    line-height: 1.4;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Gold variants */
.jmd-featured__products .jmd-metal--gold24 {
    background: linear-gradient(135deg, #D4A843 0%, #F0D78C 50%, #D4A843 100%);
    color: #4a3000;
    border: 1px solid rgba(212, 168, 67, 0.4);
    box-shadow: 0 2px 8px rgba(212, 168, 67, 0.25);
}

.jmd-featured__products .jmd-metal--gold22 {
    background: linear-gradient(135deg, #C9A84C 0%, #E8CC6E 50%, #C9A84C 100%);
    color: #4a3000;
    border: 1px solid rgba(201, 168, 76, 0.4);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.jmd-featured__products .jmd-metal--gold18 {
    background: linear-gradient(135deg, #BF9B30 0%, #D4B85A 50%, #BF9B30 100%);
    color: #4a3000;
    border: 1px solid rgba(191, 155, 48, 0.4);
    box-shadow: 0 2px 8px rgba(191, 155, 48, 0.25);
}

.jmd-featured__products .jmd-metal--gold {
    background: linear-gradient(135deg, #D4A843 0%, #F0D78C 50%, #D4A843 100%);
    color: #4a3000;
    border: 1px solid rgba(212, 168, 67, 0.4);
    box-shadow: 0 2px 8px rgba(212, 168, 67, 0.25);
}

.jmd-featured__products .jmd-metal--silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #E8E8E8 50%, #C0C0C0 100%);
    color: #3a3a3a;
    border: 1px solid rgba(192, 192, 192, 0.5);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.jmd-featured__products .jmd-metal--platinum {
    background: linear-gradient(135deg, #E5E4E2 0%, #f4f4f4 50%, #E5E4E2 100%);
    color: #333;
    border: 1px solid rgba(200, 200, 200, 0.5);
    box-shadow: 0 2px 8px rgba(200, 200, 200, 0.25);
}

.jmd-featured__products .jmd-metal--other {
    background: var(--jmd-bg-cream, #F8F6F2);
    color: var(--jmd-text-body, #444);
    border: 1px solid var(--jmd-border-light, #eee9e0);
}


.jmd-featured__cta {
    text-align: center;
    margin-top: 56px;
}

.jmd-featured__view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    text-decoration: none;
    border: 1px solid rgba(185, 134, 11, 0.25);
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.jmd-featured__view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 74, 0.08), transparent);
    transition: left 0.7s ease;
}

.jmd-featured__view-all:hover {
    border-color: var(--jmd-gold-rich);
    color: var(--jmd-gold-deep);
    box-shadow: 0 6px 24px rgba(185, 134, 11, 0.12);
    transform: translateY(-3px);
    gap: 14px;
}

.jmd-featured__view-all:hover::before {
    left: 100%;
}


/* ═══════════════════════════════════════════
   PROMISE SECTION — Trust & Values (Dark Mode)
   ═══════════════════════════════════════════ */
.jmd-promise {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
    background-image: url('https://jmdjewellers.flowndeveloper.me/wp-content/uploads/2026/02/DarkBGLL.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark Overlay for better text contrast */
.jmd-promise::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* 65% dark overlay */
    z-index: 1;
}

/* Ensure pattern is subtle over dark bg */
.jmd-promise__pattern {
    opacity: 0.1;
    mix-blend-mode: overlay;
    z-index: 1;
}

.jmd-promise__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    /* Extremely subtle */
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.jmd-promise__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.jmd-promise__header {
    text-align: center;
    margin-bottom: 64px;
}

.jmd-promise__kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-bright);
    /* Bright gold for contrast */
    margin-bottom: 16px;
}

.jmd-promise__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: #fff;
    /* White title */
    line-height: 1.25;
    margin: 0 0 24px;
}

.jmd-promise__title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--jmd-gold-rich), var(--jmd-gold-bright), transparent);
    margin: 0 auto;
    border-radius: 1px;
    opacity: 0.8;
}

.jmd-promise__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Dark Mode Cards */
.jmd-promise-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(0, 0, 0, 0.2);
    /* Semi-transparent dark */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.45s var(--jmd-ease);
    position: relative;
    backdrop-filter: blur(4px);
    /* Glassmorphism */
}

.jmd-promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--jmd-gold-bright), transparent);
    border-radius: 0 0 2px 2px;
    transition: width 0.45s ease;
}

.jmd-promise-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(185, 134, 11, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.jmd-promise-card:hover::before {
    width: 80%;
}

.jmd-promise-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
    color: var(--jmd-gold-bright);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.35s ease;
}

.jmd-promise-card:hover .jmd-promise-card__icon-wrap {
    border-color: var(--jmd-gold-bright);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.jmd-promise-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.jmd-promise-card__text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white text */
    margin: 0;
}


/* ═══════════════════════════════════════════
   SECTION 7: SIGNATURE QUOTE (Enhanced)
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   SECTION 7: SIGNATURE QUOTE (Premium Gallery Style)
   ═══════════════════════════════════════════ */
.jmd-quote {
    padding: 140px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(201, 160, 74, 0.03) 0%, transparent 60%), #F9F5EE;
    /* Warm Ivory */
    overflow: hidden;
}

/* Container Frame */
.jmd-quote__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 1;

    /* Double Border Frame Effect */
    border: 1px solid rgba(185, 134, 11, 0.15);
    /* Inner thin gold */
    outline: 1px solid rgba(185, 134, 11, 0.08);
    /* Outer softer gold */
    outline-offset: 12px;
    background: rgba(255, 255, 255, 0.4);
    /* Slight glass fill */
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 40px rgba(185, 134, 11, 0.05);

    /* Subtle Floating Animation */
    animation: jmd-frame-float 6s ease-in-out infinite;
}

@keyframes jmd-frame-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Large decorative quotation marks as watermark */
.jmd-quote__mark {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(8rem, 15vw, 12rem);
    line-height: 1;
    color: var(--jmd-gold-home);
    opacity: 0.06;
    /* Very subtle watermark */
    pointer-events: none;
    user-select: none;
    position: absolute;
    z-index: -1;
}

.jmd-quote__mark--open {
    top: -40px;
    left: 20px;
}

.jmd-quote__mark--close {
    bottom: -60px;
    right: 20px;
    transform: rotate(180deg);
}

.jmd-quote__text {
    font-family: 'Playfair Display', 'Georgia', serif;
    /* Premium Serif */
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: #4A3B2A;
    /* Deep Bronze/Brown for elegance */
    line-height: 1.6;
    margin: 0 0 32px;
    letter-spacing: 0.2px;
    position: relative;
}

/* Decorative Divider below text */
.jmd-quote__attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.jmd-quote__attr-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--jmd-gold-home));
    position: relative;
}

.jmd-quote__attr-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 4px;
    background: var(--jmd-gold-home);
}

.jmd-quote__attr-line:last-child {
    background: linear-gradient(90deg, var(--jmd-gold-home), transparent);
}

.jmd-quote__attr-line:last-child::after {
    left: 0;
    right: auto;
}

.jmd-quote__attribution span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-deep);
}


/* ═══════════════════════════════════════════
   SECTION 8: VISIT US (Card Layout)
   ═══════════════════════════════════════════ */
.jmd-visit {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(201, 160, 74, 0.04) 0%, transparent 45%), var(--jmd-ivory);
}

.jmd-visit__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.jmd-visit__header {
    text-align: center;
    margin-bottom: 56px;
}

.jmd-visit__kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    margin-bottom: 16px;
}

.jmd-visit__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--jmd-text-dark);
    line-height: 1.3;
    margin: 0 0 22px;
}

.jmd-visit__line {
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, var(--jmd-gold-rich), var(--jmd-gold-glow), transparent);
    margin: 0 auto 24px;
    border-radius: 1px;
}

.jmd-visit__text {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--jmd-text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* Visit Cards Grid */
.jmd-visit__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.jmd-visit-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--jmd-white);
    border: 1px solid var(--jmd-border);
    border-radius: 6px;
    transition: all 0.4s var(--jmd-ease);
    box-shadow: 0 2px 12px rgba(42, 33, 24, 0.03);
}

.jmd-visit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(185, 134, 11, 0.2);
    box-shadow: var(--jmd-shadow-lift);
}

.jmd-visit-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--jmd-border);
    margin-bottom: 20px;
    color: var(--jmd-gold-rich);
    background: radial-gradient(circle, rgba(201, 160, 74, 0.04) 0%, transparent 70%);
    transition: all 0.35s ease;
}

.jmd-visit-card:hover .jmd-visit-card__icon {
    border-color: var(--jmd-gold-home);
    box-shadow: 0 0 20px rgba(201, 160, 74, 0.12);
}

.jmd-visit-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jmd-text-dark);
    margin: 0 0 12px;
    letter-spacing: 0.3px;
}

.jmd-visit-card__text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--jmd-text-muted);
    margin: 0 0 16px;
}

.jmd-visit-card__text a {
    color: var(--jmd-gold-rich);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.jmd-visit-card__text a:hover {
    color: var(--jmd-gold-deep);
}

.jmd-visit-card__text strong {
    color: var(--jmd-text-dark);
}

.jmd-visit-card__closed {
    font-size: 0.82rem;
    color: #c0392b;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
}

.jmd-visit-card__link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--jmd-gold-rich);
    text-decoration: none;
    transition: all 0.3s ease;
}

.jmd-visit-card__link:hover {
    color: var(--jmd-gold-deep);
    letter-spacing: 2px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .jmd-collections__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .jmd-coll-card {
        min-height: 360px;
    }

    .jmd-coll-gemstones-card {
        margin-top: 40px;
        padding: 0 24px;
    }

    .jmd-coll-gemstones-card__inner {
        padding: 40px 36px;
        gap: 32px;
    }

    .jmd-coll-gemstones-card__title {
        font-size: 1.5rem;
    }

    .jmd-promise__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jmd-featured__products .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .jmd-legacy__inner {
        gap: 50px;
    }

    .jmd-visit__cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .jmd-hero {
        min-height: 25vh;
        /* Further reduced to 25vh */
        padding: 30px 0 15px;
    }

    .jmd-hero__content {
        padding: 0 24px;
    }

    .jmd-hero__prelude {
        font-size: 0.66rem;
        letter-spacing: 3.5px;
    }

    .jmd-hero__tagline {
        font-size: 0.76rem;
        letter-spacing: 1.5px;
    }

    .jmd-hero__cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .jmd-hero__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .jmd-hero__corner {
        width: 40px;
        height: 40px;
    }

    .jmd-hero__corner--tl,
    .jmd-hero__corner--tr {
        top: 16px;
    }

    .jmd-hero__corner--bl,
    .jmd-hero__corner--br {
        bottom: 60px;
    }

    .jmd-hero__corner--tl,
    .jmd-hero__corner--bl {
        left: 16px;
    }

    .jmd-hero__corner--tr,
    .jmd-hero__corner--br {
        right: 16px;
    }

    .jmd-hero__corner::before {
        width: 40px;
    }

    .jmd-hero__corner::after {
        height: 40px;
    }

    .jmd-hero__ornament-line {
        width: 36px;
    }

    /* Stats - Hidden on Mobile as per user request */
    .jmd-stats {
        display: none !important;
    }

    /* Legacy */
    .jmd-legacy {
        padding: 80px 0;
    }

    .jmd-legacy__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 24px;
        text-align: center;
    }

    .jmd-legacy__left {
        display: flex;
        justify-content: center;
    }

    .jmd-legacy__year-badge {
        width: 160px;
        height: 160px;
    }

    .jmd-legacy__year-number {
        font-size: 3rem;
    }

    .jmd-legacy__heading {
        font-size: 1.5rem;
    }

    .jmd-legacy__line {
        margin-left: auto;
        margin-right: auto;
    }

    /* Collections */
    .jmd-collections {
        padding: 80px 0 90px;
    }

    .jmd-collections__grid {
        padding: 0 24px;
    }

    .jmd-coll-card {
        min-height: 300px;
        padding: 48px 24px;
    }

    .jmd-coll-card__number {
        font-size: 3rem;
    }

    .jmd-coll-gemstones-card {
        margin-top: 32px;
        padding: 0 16px;
    }

    .jmd-coll-gemstones-card__inner {
        flex-direction: column;
        padding: 36px 24px;
        gap: 24px;
    }

    .jmd-coll-gemstones-card__icon {
        width: 48px;
        height: 48px;
    }

    .jmd-coll-gemstones-card__icon svg {
        width: 48px;
        height: 48px;
    }

    .jmd-coll-gemstones-card__title {
        font-size: 1.35rem;
        text-align: center;
    }

    .jmd-coll-gemstones-card__desc {
        font-size: 0.9rem;
        text-align: center;
    }

    .jmd-coll-gemstones-card__link {
        margin: 0 auto;
    }

    /* Featured */
    .jmd-featured {
        padding: 80px 0 90px;
    }

    .jmd-featured__inner {
        padding: 0 24px;
    }

    .jmd-featured__products .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .jmd-featured__products .woocommerce ul.products li.product a img {
        height: 200px;
    }

    /* Promise */
    .jmd-promise {
        padding: 80px 0;
    }

    .jmd-promise__inner {
        padding: 0 24px;
    }

    .jmd-promise__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Quote */
    .jmd-quote {
        padding: 64px 0;
    }

    .jmd-quote__inner {
        padding: 0 24px;
    }

    .jmd-quote__mark {
        font-size: 3.5rem;
    }

    /* Visit */
    .jmd-visit {
        padding: 80px 0;
    }

    .jmd-visit__inner {
        padding: 0 24px;
    }

    /* Section Dividers */
    .jmd-section-divider {
        max-width: 300px;
        padding: 0 24px;
    }
}

@media (max-width: 480px) {
    .jmd-legacy__year-badge {
        width: 140px;
        height: 140px;
    }

    .jmd-legacy__year-number {
        font-size: 2.5rem;
    }

    .jmd-featured__products .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        /* Force 2 columns */
        max-width: 100%;
        /* Allow full width */
        margin: 0 auto;
        gap: 10px;
        /* Tighter gap */
        padding: 0 10px;
        /* Add side padding */
    }

    .jmd-featured__products .woocommerce ul.products li.product {
        margin-bottom: 0 !important;
        /* Remove bottom margin if any */
    }

    .jmd-featured__products .woocommerce ul.products li.product a img {
        height: 160px;
        /* Reduce height to fit 2-col */
        object-fit: cover;
    }

    /* Adjust font sizes for 2-col */
    .jmd-featured__products .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.85rem !important;
        padding: 8px 8px 0 !important;
    }

    .jmd-featured__products .woocommerce ul.products li.product .price {
        font-size: 0.9rem !important;
        padding: 4px 8px 12px !important;
    }

    .jmd-featured__products .woocommerce ul.products li.product .button {
        font-size: 0.7rem !important;
        padding: 8px 0 !important;
    }

    .jmd-promise-card {
        padding: 36px 18px;
    }

    .jmd-marquee__item {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    /* Remove fade on metal rates ticker for mobile */
    .jmd-marquee.jmd-marquee-rates::before,
    .jmd-marquee.jmd-marquee-rates::after {
        display: none !important;
    }

    .jmd-stats__number {
        font-size: 2rem;
    }

    .jmd-stats__suffix {
        font-size: 1.2rem;
    }
}


/* ═══════════════════════════════════════════
   ACCESSIBILITY & MOTION PREFERENCES
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .jmd-home {
        scroll-behavior: smooth;
    }
}

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

    .jmd-anim-fade,
    .jmd-scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .jmd-anim-expand {
        width: 80px !important;
        transition: none !important;
    }

    .jmd-particle {
        animation: none !important;
    }

    /* .jmd-marquee__track,
    .jmd-home .jmd-marquee .jmd-marquee__track {
        animation: none !important;
    } */

    .jmd-hero__scroll-line {
        animation: none !important;
    }

    .jmd-hero__ornament-diamond {
        animation: none !important;
    }

    .jmd-hero__title-line {
        animation: none !important;
    }

    .jmd-section-divider__ornament {
        animation: none !important;
    }
}