/* ═══════════════════════════════════════════════════════════════════════════════
   BUYING HOUSE — MODERN, COLORFUL & CLEAN WHITE FRONTEND DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
    /* ─── Base Color Tokens ─────────────────────────────────────────────────── */
    --ink: #0f172a;
    --navy: #1e293b;
    --navy-deep: #090d16;
    --navy-rich: #1e3a8a;

    /* ─── Clean Pure White Canvas ───────────────────────────────────────────── */
    --paper: #ffffff;
    --sand: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-subtle: #f1f5f9;
    --line: #e2e8f0;
    --line-subtle: #f1f5f9;
    --line-focus: #6366f1;
    --muted: #475569;
    --muted-light: #94a3b8;

    /* ─── Vibrant Modern Gradient Palette ────────────────────────────────────── */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-glow: rgba(79, 70, 229, 0.25);
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);

    --accent-orange: #ea580c;
    --accent-amber: #f59e0b;
    --warm-gradient: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);

    --accent-emerald: #10b981;
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --accent-purple: #8b5cf6;
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

    --accent-cyan: #06b6d4;
    --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    --accent-rose: #f43f5e;
    --rose-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);

    --gold: #f59e0b;
    --gold-deep: #d97706;
    --clay: #e11d48;
    --ok: #10b981;

    /* ─── Shadows & Glows ────────────────────────────────────────────────────── */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.07), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 24px 45px -10px rgba(79, 70, 229, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.22);

    /* ─── Dimensions & Typography ────────────────────────────────────────────── */
    --header: 4.5rem;
    --radius: 1.25rem;
    --radius-sm: 0.75rem;
    --radius-pill: 9999px;
    --font: "Times New Roman", Times, serif;
    --font-heading: "Times New Roman", Times, serif;
    --serif: "Times New Roman", Times, serif;

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

/* ─── Global Reset & Base ───────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    background-color: #ffffff;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: #1e293b;
    background: #ffffff;
    font-family: var(--font);
    font-size: 1.025rem;
    font-weight: 400;
    line-height: 1.68;
    letter-spacing: -0.011em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color 0.25s ease, opacity 0.25s ease;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

input,
select,
textarea {
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #0f172a;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -0.04em;
    line-height: 1.14;
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    letter-spacing: -0.032em;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 750;
    letter-spacing: -0.024em;
    line-height: 1.3;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.018em;
}

p {
    margin-top: 0;
    line-height: 1.7;
    color: #1e293b;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -4rem;
    z-index: 50;
    background: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: calc(0.5rem + var(--safe-top));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap {
    width: min(1320px, calc(100% - 2.5rem - var(--safe-left) - var(--safe-right)));
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ✨ DIVERSE TRANSITIONS & SCROLL ENTRANCE SYSTEM ("VIBINNO TRANSITION") ✨
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Universal Anim Target & Transition Base */
.anim-target,
.anim-fade-up,
.anim-fade-down,
.anim-fade-left,
.anim-fade-right,
.anim-zoom-in,
.anim-flip-up {
    will-change: opacity, transform;
    transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Fade Up */
.anim-fade-up {
    opacity: 0;
    transform: translateY(32px);
}

.anim-fade-up.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Fade Down */
.anim-fade-down {
    opacity: 0;
    transform: translateY(-26px);
}

.anim-fade-down.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Fade Left (Slides in from left) */
.anim-fade-left {
    opacity: 0;
    transform: translateX(-36px);
}

.anim-fade-left.is-in-view {
    opacity: 1;
    transform: translateX(0);
}

/* 4. Fade Right (Slides in from right) */
.anim-fade-right {
    opacity: 0;
    transform: translateX(36px);
}

.anim-fade-right.is-in-view {
    opacity: 1;
    transform: translateX(0);
}

/* 5. Zoom In (Scales up with smooth blur clear) */
.anim-zoom-in {
    opacity: 0;
    transform: scale(0.92);
}

.anim-zoom-in.is-in-view {
    opacity: 1;
    transform: scale(1);
}

/* 6. Flip Up (Subtle 3D Perspective Flip) */
.anim-flip-up {
    opacity: 0;
    transform: perspective(1000px) rotateX(14deg) translateY(26px);
}

.anim-flip-up.is-in-view {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* Fallback for users with prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .anim-target,
    .anim-fade-up,
    .anim-fade-down,
    .anim-fade-left,
    .anim-fade-right,
    .anim-zoom-in,
    .anim-flip-up {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* ─── Top News & Maintenance Marquee ────────────────────────────────────────── */
.site-maintenance-marquee {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-top, 0px));
    background: linear-gradient(90deg, #e11d48, #be123c);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: sticky;
    top: 0;
    z-index: 40;
}

.site-updated-news-bar {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.site-updated-news-inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.45rem 1rem calc(0.45rem + env(safe-area-inset-top, 0px));
    gap: 0.85rem;
    box-sizing: border-box;
}

.site-updated-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.24rem 0.75rem;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.site-updated-news-dot {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: news-pulse 1.8s infinite ease-in-out;
}

@keyframes news-pulse {

    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
}

.site-updated-news-marquee {
    flex: 1;
    display: block;
    margin: 0;
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

body.has-updated-news:not(.is-maintenance) .site-header {
    top: 2.35rem;
}

body.is-maintenance {
    cursor: not-allowed;
}

body.is-maintenance a,
body.is-maintenance button,
body.is-maintenance input,
body.is-maintenance select,
body.is-maintenance textarea,
body.is-maintenance label,
body.is-maintenance summary,
body.is-maintenance [role="button"] {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

body.is-maintenance .site-header {
    top: 2.35rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SITE HEADER — ULTRA-CLEAN WHITE GLASSMORPHISM
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: var(--safe-top);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    backdrop-filter: saturate(1.4) blur(18px);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    min-height: var(--header);
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: calc(1.2rem + var(--safe-left));
    padding-right: calc(1.2rem + var(--safe-right));
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
    max-width: min(17rem, calc(100% - 3.5rem));
    transition: transform 0.25s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-logo-img {
    max-height: 68px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    display: block;
    flex: 0 1 auto;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 0 1 auto;
    line-height: 1.15;
}

.brand strong,
.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-sub,
.brand-text>span {
    display: block;
    color: var(--muted);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 2px;
}

.nav-toggle {
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: #ffffff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.28rem;
    padding: 0;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.nav-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.nav-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.site-nav {
    display: none;
    padding-bottom: 0.9rem;
}

.site-nav.is-open {
    display: block;
    width: 100%;
    order: 5;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 0.8rem 1rem 1.2rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    margin-bottom: 0.8rem;
    animation: menuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-nav a {
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    text-decoration: none;
    border-top: 1px solid var(--line);
    color: #334155;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-nav a:hover {
    color: #4f46e5;
    padding-left: 0.4rem;
}

.site-nav a[aria-current="page"] {
    color: #4f46e5;
    font-weight: 700;
}

.nav-quote {
    margin-top: 0.7rem;
}

@media (max-width: 959px) {

    .site-nav a {
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #0f172a;
    }

    .site-nav a:hover {
        color: var(--accent-orange);
    }

    .site-nav a[aria-current="page"] {
        color: var(--accent-orange);
        font-weight: 700;
    }

    .nav-quote {
        width: 100%;
        margin-bottom: 0.4rem;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTONS — VIBRANT, EYE-CATCHY WITH MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease;
}

/* Subtle Shimmer Sheen on Hover */
.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(60deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.65s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 120%;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Radiant Gold/Amber/Orange CTA */
.btn-gold {
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    color: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(234, 88, 12, 0.4);
    border: none;
    padding: 0.1rem 1rem;

}

.btn-gold:hover {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    box-shadow: 0 14px 30px -4px rgba(234, 88, 12, 0.55);
}

/* Electric Indigo/Royal Blue CTA */
.btn-navy {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff !important;
    box-shadow: 0 10px 24px -4px rgba(79, 70, 229, 0.38);
    border: none;
    padding: 0.1rem 1rem;
}

.btn-navy:hover {
    background: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
    box-shadow: 0 14px 30px -4px rgba(79, 70, 229, 0.5);
}

/* Clean White Line Button */
.btn-line {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    box-shadow: var(--shadow-sm);
    padding: 0.1rem 1rem;
}

.btn-line:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.04);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12);
}

/* Translucent Ghost Button (for Dark Banners) */
.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* ─── Hero Carousel — Modern Split Design (Original Background & Design Preserved) ─── */

/* ---------- Base Shell ---------- */
.hero-carousel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #fcf6ee 0%, #fdfaf5 45%, #f6ecdc 100%);
    width: 100%;
    height: clamp(540px, 78vh, 700px);
    min-height: 520px;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}

/* Light & elegant rhythmic dot matrix (mix of big, medium, and small dots) */
.hero-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        /* Large dots (soft, subtle warm tint) */
        radial-gradient(circle, rgba(232, 114, 36, 0.06) 0, rgba(232, 114, 36, 0.06) 6px, transparent 7px),
        /* Medium dots (in between) */
        radial-gradient(circle, rgba(232, 114, 36, 0.04) 0, rgba(232, 114, 36, 0.04) 3.5px, transparent 4.5px),
        /* Small accent dots at (26px, 0) */
        radial-gradient(circle, rgba(232, 114, 36, 0.025) 0, rgba(232, 114, 36, 0.025) 1.8px, transparent 2.5px),
        /* Small accent dots at (0, 26px) */
        radial-gradient(circle, rgba(232, 114, 36, 0.025) 0, rgba(232, 114, 36, 0.025) 1.8px, transparent 2.5px);
    background-size: 52px 52px, 52px 52px, 52px 52px, 52px 52px;
    background-position: 0 0, 26px 26px, 26px 0, 0 26px;
    z-index: 1;
    opacity: 1;
}

/* ─── Track & Slides ────────────────────────────────────────────────────────── */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.6s ease;
    z-index: 1;
    display: flex;
    align-items: center;
}

.carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* ─── Two-Column Inner Layout ───────────────────────────────────────────────── */
.carousel-slide-inner.wrap {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    height: 100%;
    display: grid;
    grid-template-columns: 0.95fr 1.2fr;
    align-items: center;
    gap: 2.2rem;
    padding-inline: max(1.5rem, var(--safe-left, 1.5rem));
    position: relative;
    z-index: 3;
}

/* ─── Left Column: Copy & Actions ───────────────────────────────────────────── */
.carousel-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.12em;
    hyphens: auto;
    overflow-wrap: break-word;
    z-index: 4;
}

.carousel-kicker-wrap {
    margin-bottom: 1.1rem;
    opacity: 0;
    transform: translateY(14px);
    transition: all 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.carousel-slide.is-active .carousel-kicker-wrap {
    opacity: 1;
    transform: translateY(0);
}

.carousel-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.34rem 0.95rem;
    border-radius: 9999px;
    background: rgba(232, 114, 36, 0.1);
    border: 1px solid rgba(232, 114, 36, 0.28);
    color: #cb580e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.carousel-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e87224;
    box-shadow: 0 0 8px rgba(232, 114, 36, 0.6);
}

.carousel-title {
    font-family: var(--font-heading);
    /* font-size: clamp(2rem, 4vw, 3.8rem); */
    line-height: 1.10;
    font-weight: 800;
    color: #0c1b33;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.carousel-slide.is-active .carousel-title {
    opacity: 1;
    transform: translateY(0);
}

.carousel-lede {
    font-size: clamp(1.2rem, 1vw, 1rem);
    line-height: 1.65;
    color: #29313a;
    max-width: 38ch;
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.12em;
    hyphens: auto;
    overflow-wrap: break-word;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.carousel-slide.is-active .carousel-lede {
    opacity: 1;
    transform: translateY(0);
}

/* Action Buttons Wrap */
.carousel-action-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
}

.carousel-slide.is-active .carousel-action-wrap {
    opacity: 1;
    transform: translateY(0);
}

.carousel-cta-btn {
    background: linear-gradient(135deg, #e87224 0%, #cb580e 100%);
    color: #ffffff !important;
    border-radius: 9999px;
    padding: 0.1rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: none;
    box-shadow: 0 10px 24px rgba(232, 114, 36, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(232, 114, 36, 0.45);
    background: linear-gradient(135deg, #f07e32 0%, #d86216 100%);
}

.carousel-cta-secondary {
    background: #111827;
    color: #ffffff !important;
    border-radius: 9999px;
    padding: 0.1rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.16);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-cta-secondary:hover {
    background: #030712;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.25);
}

/* ─── Right Column: Image — direct, large, no card wrapper ──────────────────── */
.carousel-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 4;
    padding-block: 1rem 1.25rem;
    margin-top: -2.25rem;
}

/* Photo Frame — photo flush with frame (pray soman soman) */
.carousel-slide-photo-frame {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    line-height: 0;
    height: 420px;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent;
    border: none;
    box-shadow: none !important;
}

.carousel-slide-photo {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 1.25rem !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.carousel-slide.is-active .carousel-slide-photo {
    transform: none !important;
    transition: none !important;
}

/* Deprecated carousel badge (hidden completely) */
.carousel-floating-badge {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FLOATING ACTION DOCK — FIXED RIGHT-BOTTOM (WHATSAPP + UP/DOWN SECTION SCROLL)
   ═══════════════════════════════════════════════════════════════════════════════ */
.floating-quick-dock {
    position: fixed;
    right: 0.45rem;
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        right 0.2s ease,
        bottom 0.2s ease;
}

.floating-quick-dock>* {
    pointer-events: auto;
}

/* Base button styles */
.floating-dock-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.2s ease,
        color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.floating-dock-btn:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 2px;
}

/* WhatsApp Floating Button — Sleek & Compact */
.floating-dock-whatsapp {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    animation: floatingDockPulse 3.5s ease-in-out infinite;
}

.floating-dock-whatsapp:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.12);
    color: #ffffff !important;
}

.floating-dock-whatsapp:active {
    transform: scale(0.92);
}

.dock-whatsapp-icon {
    display: block;
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
}

.floating-dock-whatsapp:hover .dock-whatsapp-icon {
    transform: scale(1.06) rotate(-5deg);
}

@keyframes floatingDockPulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 9px 22px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.12);
    }
}

/* Up / Down Navigation Capsule — Compact, Light & Minimalist */
.floating-dock-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 9999px;
    padding: 2px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.03);
}

.floating-dock-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    /* Soft slate gray */
    padding: 0;
    transition: all 0.2s ease;
}

.floating-dock-nav-btn:hover {
    background: rgba(241, 245, 249, 0.95);
    color: #0f172a;
    transform: scale(1.08);
}

.floating-dock-nav-btn:active {
    transform: scale(0.9);
}

.dock-arrow-icon {
    display: block;
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.floating-dock-move-up:hover .dock-arrow-icon {
    transform: translateY(-2px);
}

.floating-dock-move-down:hover .dock-arrow-icon {
    transform: translateY(2px);
}

.floating-dock-nav-divider {
    display: block;
    width: 16px;
    height: 1px;
    background: rgba(226, 232, 240, 0.8);
    margin: 1px 0;
}

/* Tooltip on hover */
.dock-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dock-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.floating-dock-btn:hover .dock-tooltip,
.floating-dock-btn:focus-visible .dock-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 600px) {
    .page-hero .kicker {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .floating-quick-dock {
        right: max(1.25rem, calc(1.1rem + env(safe-area-inset-right, 0px)));
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
        gap: 0.45rem;
    }

    .floating-dock-whatsapp {
        width: 38px;
        height: 38px;
    }

    .dock-whatsapp-icon {
        width: 20px;
        height: 20px;
    }

    .floating-dock-nav-btn {
        width: 28px;
        height: 28px;
    }

    .dock-arrow-icon {
        width: 13px;
        height: 13px;
    }
}

@media (hover: none) {
    .dock-tooltip {
        display: none !important;
    }
}

/* ─── Navigation Arrows ──────────────────────────────────────────────────────── */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(223, 183, 108, 0.3);
    color: #0c1b33;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.carousel-btn:hover {
    background: #e87224;
    color: #ffffff;
    border-color: #e87224;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 28px rgba(232, 114, 36, 0.38);
}

.carousel-btn-prev {
    left: 1.5rem;
}

.carousel-btn-next {
    right: 1.5rem;
}

/* ─── Bottom Controls Deck (Counter & Dots) ─────────────────────────────────── */
.carousel-controls-deck {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
}

.carousel-counter {
    font-size: 0.78rem;
    font-weight: 700;
    color: #788596;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.05em;
}

.carousel-counter-current {
    color: #e87224;
    font-size: 0.95rem;
    font-weight: 800;
}

.carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    border: 0;
    background: #e2d9cd;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-dot:hover {
    background: #cbbca8;
}

.carousel-dot.is-on {
    /* width: 2.2rem; */
    background: linear-gradient(90deg, #e87224, #f59e0b);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION (HOME) — CLEAN WHITE WITH COLORFUL METRICS
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 4.8rem 0 3.6rem;
    background: #ffffff;
    overflow: hidden;
}

/* Ambient gradient glows on pure white */
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.07) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(50px);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.06) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(50px);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.32rem 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.22);
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.06);
    width: fit-content;
}

.kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.7);
    animation: news-pulse 1.8s infinite ease-in-out;
}

.hero h1,
.hero h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 1.15rem;
    max-width: 100%;
    width: 100%;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.16;
}

.hero .lede,
.lede {
    font-size: clamp(1.08rem, 1.3vw, 1.22rem);
    color: #475569;
    max-width: 100%;
    width: 100%;
    line-height: 1.68;
}

.hero-actions,
.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

/* ═══════════════════════════════════════════════════════
   STAT TIMELINE  —  alternating left / right, center trunk
   (inspired by the timeline card layout)
   ═══════════════════════════════════════════════════════ */

/*
  Grid: 3 columns [left | 80px trunk zone | right], 4 rows (one per card)
  Odd  cards → col 1, own row  (Left side)
  Even cards → col 3, own row  (Right side)
  Trunk runs vertically through all 4 rows via ::before on the wrapper.
*/
.stat-timeline {
    list-style: none;
    padding: 0.2rem 0;
    margin: 1.5rem auto 0;
    width: 100%;
    max-width: 480px;
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 0.25rem;
    position: relative;
}

/* ── Vertical trunk line — spans all 4 rows ── */
.stat-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(99, 102, 241, 0.5) 8%,
            rgba(99, 102, 241, 0.5) 92%,
            transparent 100%);
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
}

/* ── Each card on its own row, alternating sides ── */
.stat-tl-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.stat-tl-item:nth-child(2) {
    grid-column: 3;
    grid-row: 2;
}

.stat-tl-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.stat-tl-item:nth-child(4) {
    grid-column: 3;
    grid-row: 4;
}

/* ── Card base ── */
.stat-tl-item {
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 0.6rem;
    padding: 0.35rem 0.7rem;
    box-shadow: 0 3px 10px -3px rgba(15, 23, 42, 0.08),
        0 1px 3px -1px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: visible;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease,
        border-color 0.25s ease;
    z-index: 1;
}

/* Top colour accent */
.stat-tl-item:nth-child(1) {
    border-top: 2.5px solid #6366f1;
}

.stat-tl-item:nth-child(2) {
    border-top: 2.5px solid #f97316;
}

.stat-tl-item:nth-child(3) {
    border-top: 2.5px solid #10b981;
}

.stat-tl-item:nth-child(4) {
    border-top: 2.5px solid #8b5cf6;
}

/* ── Text alignment ── */
.stat-tl-item:nth-child(odd) {
    text-align: right;
}

.stat-tl-item:nth-child(even) {
    text-align: left;
}

/* ══ LEFT cards (col 1) — connector line + circle extend RIGHT toward trunk ══ */

/* Horizontal line: starts at card right, 20px wide → reaches trunk center */
.stat-tl-item:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.7));
    transform: translateY(-50%);
    z-index: 2;
}

/* Circle node centered at trunk (20px from card right edge) */
.stat-tl-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    transform: translateY(-50%);
    z-index: 3;
}

/* ══ RIGHT cards (col 3) — connector line + circle extend LEFT toward trunk ══ */
.stat-tl-item:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.7), rgba(99, 102, 241, 0.25));
    transform: translateY(-50%);
    z-index: 2;
}

.stat-tl-item:nth-child(even):after {
    content: "";
    position: absolute;
    top: 50%;
    left: -26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    transform: translateY(-50%);
    z-index: 3;
}

/* ── Hover: slides away from trunk ── */
.stat-tl-item:nth-child(odd):hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 18px -4px rgba(79, 70, 229, 0.16);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-tl-item:nth-child(even):hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px -4px rgba(79, 70, 229, 0.16);
    border-color: rgba(99, 102, 241, 0.3);
}

/* ── Number / value ── */
.stat-timeline strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 900;
    font-family: var(--serif);
    line-height: 1.2;
    padding-bottom: 2px;
    color: #0f172a;
}

.stat-tl-item:nth-child(1) strong {
    background: linear-gradient(135deg, #1e1b4b, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-tl-item:nth-child(2) strong {
    background: linear-gradient(135deg, #7c2d12, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-tl-item:nth-child(3) strong {
    background: linear-gradient(135deg, #064e3b, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-tl-item:nth-child(4) strong {
    background: linear-gradient(135deg, #4c1d95, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Label ── */
.stat-timeline span {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.1rem;
    display: block;
    line-height: 1.3;
}

/* ── Mobile: responsive 2×2 grid with auto-wrapping, no text clipping ── */
@media (max-width: 768px) {
    .stat-timeline {
        width: 100% !important;
        max-width: 100% !important;
        margin: 1.5rem 0 0 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto !important;
        gap: 0.65rem !important;
        padding: 0 !important;
    }

    .stat-timeline::before {
        display: none !important;
    }

    .stat-tl-item,
    .stat-tl-item:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
        text-align: left !important;
        overflow: visible !important;
        padding: 0.5rem 0.65rem !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .stat-tl-item::before,
    .stat-tl-item::after,
    .stat-tl-item:nth-child(n)::before,
    .stat-tl-item:nth-child(n)::after {
        display: none !important;
    }

    .stat-timeline strong {
        font-size: 0.98rem !important;
        line-height: 1.25 !important;
        display: block !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        padding-bottom: 2px !important;
    }

    .stat-timeline span {
        font-size: 0.58rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        letter-spacing: 0.03em !important;
        margin-top: 0.12rem !important;
    }
}

@media (max-width: 360px) {
    .stat-timeline {
        gap: 0.45rem !important;
    }

    .stat-tl-item {
        padding: 0.42rem 0.52rem !important;
    }

    .stat-timeline strong {
        font-size: 0.88rem !important;
    }

    .stat-timeline span {
        font-size: 0.52rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE HERO (INNER PAGES) — WARM SIGNATURE DESIGN MATCHING SLIDER BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(2.8rem, 4.2vw, 3.6rem) 0 clamp(2.2rem, 3.2vw, 2.8rem);
    background: linear-gradient(135deg, #fcf6ee 0%, #fdfaf5 45%, #f6ecdc 100%);
    border-bottom: 1px solid rgba(223, 183, 108, 0.35);
    overflow: hidden;
}

/* Light & elegant rhythmic dot matrix (mix of big, medium, and small dots matching slider) */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        /* Large dots (soft, subtle warm tint) */
        radial-gradient(circle, rgba(232, 114, 36, 0.06) 0, rgba(232, 114, 36, 0.06) 6px, transparent 7px),
        /* Medium dots (in between) */
        radial-gradient(circle, rgba(232, 114, 36, 0.04) 0, rgba(232, 114, 36, 0.04) 3.5px, transparent 4.5px),
        /* Small accent dots at (26px, 0) */
        radial-gradient(circle, rgba(232, 114, 36, 0.025) 0, rgba(232, 114, 36, 0.025) 1.8px, transparent 2.5px),
        /* Small accent dots at (0, 26px) */
        radial-gradient(circle, rgba(232, 114, 36, 0.025) 0, rgba(232, 114, 36, 0.025) 1.8px, transparent 2.5px);
    background-size: 52px 52px, 52px 52px, 52px 52px, 52px 52px;
    background-position: 0 0, 26px 26px, 26px 0, 0 26px;
    z-index: 1;
    opacity: 1;
}

.page-hero .wrap {
    position: relative;
    z-index: 3;
    width: min(100%, calc(100% - 2.5rem - var(--safe-left) - var(--safe-right)));
    max-width: 100%;
}

.page-hero .kicker {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    gap: 0.5rem;
    padding: 0.34rem 0.95rem;
    border-radius: 9999px;
    background: rgba(232, 114, 36, 0.1);
    border: 1px solid rgba(232, 114, 36, 0.28);
    color: #cb580e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-hero .kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e87224;
    box-shadow: 0 0 8px rgba(232, 114, 36, 0.6);
    display: inline-block;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.6vw, 3.1rem);
    font-weight: 800;
    color: #0c1b33;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 0.8rem;
    max-width: 100%;
    width: 100%;
}

.page-hero p:not(.kicker) {
    max-width: 100%;
    width: 100%;
    color: #1e293b;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTIONS & GRIDS — CRISP WHITE BACKGROUNDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.section {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
}

.section-next {
    padding-top: 0;
}

.section-alt {
    background: #ffffff;
    position: relative;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    pointer-events: none;
}

.section-alt .wrap {
    position: relative;
    z-index: 2;
}

.section h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 0.55rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}

.grid {
    display: grid;
    gap: 1.35rem;
}

.cards-4 {
    gap: 1.15rem;
}

.cards-2,
.cards-3,
.cards-4,
.cards-6 {
    grid-template-columns: 1fr;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CARDS & SWATCH CARDS — PURE WHITE WITH COLORFUL HOVER GLOWS
   ═══════════════════════════════════════════════════════════════════════════════ */
.card,
.swatch-card,
.quote-panel,
.form-card,
.notice {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.05);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.32s ease;
}

.card,
.swatch-card {
    padding: 1.4rem;
    text-decoration: none;
    color: inherit;
    display: block;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.card:hover,
.swatch-card:hover,
.card-lift:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 45px -10px rgba(79, 70, 229, 0.16), 0 4px 10px rgba(0, 0, 0, 0.03);
    border-color: rgba(99, 102, 241, 0.35);
}

.card h2,
.card h3,
.swatch-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    transition: color 0.25s ease;
}

.card:hover h2,
.card:hover h3,
.swatch-card:hover h3 {
    color: #4f46e5;
}

.muted {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Service Card Index Badge with Multi-Color Gradients */
.card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    font-size: 1.05rem;
    font-weight: 900;
    font-family: var(--serif);
    color: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.cards-2 article:nth-child(4n+1) .card-index,
.service-card:nth-child(4n+1) .card-index {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
}

.cards-2 article:nth-child(4n+2) .card-index,
.service-card:nth-child(4n+2) .card-index {
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
}

.cards-2 article:nth-child(4n+3) .card-index,
.service-card:nth-child(4n+3) .card-index {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.cards-2 article:nth-child(4n+4) .card-index,
.service-card:nth-child(4n+4) .card-index {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

/* ── Service Section 6-Columns Grid & Compact Cards ── */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 520px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 820px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

.service-card {
    padding: 0.95rem 0.95rem !important;
    border-radius: 0.85rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .card-index {
    width: 1.95rem !important;
    height: 1.95rem !important;
    border-radius: 0.55rem !important;
    font-size: 0.84rem !important;
    margin-bottom: 0.65rem !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2) !important;
    flex-shrink: 0;
}

.service-card h2,
.service-card h3 {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.32 !important;
}

.service-card .muted {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

/* ── Why Choose Us 4-Columns Grid & Cards ── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.why-card {
    background: #ffffff;
    border-top: 4px solid #4f46e5;
    padding: 1.25rem 1.25rem !important;
    border-radius: 1rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.why-card h3 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.35 !important;
}

.why-card .muted {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
}

.why-card:nth-child(4n+1),
.cards-2 .why-card:nth-child(4n+1) {
    border-top-color: #4f46e5;
}

.why-card:nth-child(4n+2),
.cards-2 .why-card:nth-child(4n+2) {
    border-top-color: #ea580c;
}

.why-card:nth-child(4n+3),
.cards-2 .why-card:nth-child(4n+3) {
    border-top-color: #10b981;
}

.why-card:nth-child(4n+4),
.cards-2 .why-card:nth-child(4n+4) {
    border-top-color: #8b5cf6;
}

/* ── Factory Network — nominated plant plates ── */
.plant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 560px) {
    .plant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .plant-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1180px) {
    .plant-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.plant-card {
    --plant: #1e3a8a;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.plant-card--knit {
    --plant: #1c3d5a;
}

.plant-card--polo {
    --plant: #047857;
}

.plant-card--woven {
    --plant: #b45309;
}

.plant-card--outer {
    --plant: #334155;
}

.plant-card--fleece {
    --plant: #6d28d9;
}

.plant-card--denim {
    --plant: #1d4ed8;
}

.plant-card--kids {
    --plant: #be123c;
}

.plant-card--sport {
    --plant: #c2410c;
}

.plant-card--home {
    --plant: #0e7490;
}

.plant-card:nth-child(5n+1) {
    --plant: #1e3a8a;
}

.plant-card:nth-child(5n+2) {
    --plant: #0f766e;
}

.plant-card:nth-child(5n+3) {
    --plant: #1d4ed8;
}

.plant-card:nth-child(5n+4) {
    --plant: #9a3412;
}

.plant-card:nth-child(5n+5) {
    --plant: #6d28d9;
}

.plant-card-hero {
    position: relative;
    height: 7.4rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(160deg, color-mix(in srgb, var(--plant) 82%, #0f172a) 0%, var(--plant) 58%, color-mix(in srgb, var(--plant) 70%, #f59e0b) 100%);
}

.plant-card-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 11px,
            rgba(255, 255, 255, 0.05) 11px,
            rgba(255, 255, 255, 0.05) 12px);
    pointer-events: none;
}

.plant-card-skyline {
    position: absolute;
    right: -8px;
    bottom: -2px;
    width: 78%;
    height: auto;
}

.plant-card-index {
    position: absolute;
    left: 0.85rem;
    top: 0.75rem;
    z-index: 1;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
}

.plant-card-stamp {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    z-index: 1;
    padding: 0.18rem 0.5rem;
    border: 1.5px dashed rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(8deg);
}

.plant-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1rem 1.05rem;
    flex: 1;
}

.plant-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.plant-card-loc svg {
    flex-shrink: 0;
    color: var(--plant);
}

.plant-card h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.plant-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.plant-card-tags span {
    padding: 0.16rem 0.48rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--plant) 10%, #f8fafc);
    color: var(--plant);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.3;
}

.plant-card-metric {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin: 0.35rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

.plant-card-metric span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.plant-card-metric strong {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--plant);
}

.plant-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--plant) 45%, #e2e8f0);
    box-shadow: 0 22px 40px -12px color-mix(in srgb, var(--plant) 38%, transparent);
}

.plant-card:hover h3 {
    color: var(--plant);
}

.plant-card:focus-visible {
    outline: 2px solid var(--plant);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM PRODUCT & SWATCH CARDS — UNIQUE & EYE-CATCHING UI
   ═══════════════════════════════════════════════════════════════════════════════ */
.swatch-card,
.product-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.35rem;
    padding: 0 !important;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.38s ease;
}

.swatch-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 44px -10px rgba(15, 23, 42, 0.14),
        0 0 0 1.5px rgba(234, 88, 12, 0.35);
    border-color: rgba(234, 88, 12, 0.4);
}

/* Plain swatch cards (no product body) have their card padding reset to 0,
   so give the text its own padding instead of sitting flush on the edges. */
.cards-6 .swatch-card:not(.product-card)>h3 {
    padding: 0.95rem 0.9rem 0;
    margin: 0 0 0.4rem;
}

.cards-6 .swatch-card:not(.product-card)>p {
    padding: 0 0.9rem 0.95rem;
    margin: 0;
}

.cards-6 .swatch-card:not(.product-card)>h3:last-child {
    padding-bottom: 0.95rem;
}

.cards-6 .swatch-card:not(.product-card)>p+.meta {
    padding: 0 0.9rem 0.95rem;
}

/* Product Thumbnail Box with Soft Studio Lighting */
.product-thumb {
    height: 14.5rem;
    position: relative;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem;
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
}

/* Plain photo cards: solid white card and the photo blends straight into it —
   no filled/gradient background box behind the image (border stays). */
.product-grid-plain .swatch-card {
    background: #ffffff;
    min-width: 0;
    max-width: 100%;
}

.product-grid-plain .product-thumb {
    background: none;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.product-grid-plain .product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.swatch-card:hover .product-thumb img,
.product-card:hover .product-thumb img {
    transform: scale(1.08) translateY(-3px);
}

/* Floating Glassmorphic Category Badge */
.product-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.swatch-card:hover .product-badge,
.product-card:hover .product-badge {
    background: #ffffff;
    border-color: rgba(234, 88, 12, 0.35);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

/* Floating Circular Quick Action Button */
.product-thumb-action {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swatch-card:hover .product-thumb-action,
.product-card:hover .product-thumb-action {
    background: linear-gradient(135deg, #e87224 0%, #cb580e 100%);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.08) rotate(-45deg);
    box-shadow: 0 6px 18px rgba(232, 114, 36, 0.4);
}

/* Card Body Content */
.product-card-body {
    padding: 1.25rem 1.3rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.product-card-body h3,
.swatch-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    transition: color 0.25s ease;
}

.swatch-card:hover .product-card-body h3,
.product-card:hover .product-card-body h3 {
    color: #e87224;
}

.product-card-body .muted {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

/* Product Specs Row (Fabric & MOQ) */
.product-specs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.product-fabric-text {
    font-size: 0.86rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.product-fabric-text::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
    display: inline-block;
}

.product-moq-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 0.4rem;
    white-space: nowrap;
}

/* Card Footer Link with Sliding Arrow */
.product-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.product-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 750;
    color: #0f172a;
    transition: all 0.25s ease;
}

.product-arrow-icon {
    transition: transform 0.25s ease, color 0.25s ease;
    color: #ea580c;
}

.swatch-card:hover .product-explore-link,
.product-card:hover .product-explore-link {
    color: #ea580c;
}

.swatch-card:hover .product-arrow-icon,
.product-card:hover .product-arrow-icon {
    transform: translateX(4px);
    color: #ea580c;
}

/* ═══════════════════════════════════════════════════════════════
   DARAZ-STYLE PRODUCT & CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════ */

/* Grid wrapper — tighter gap like Daraz's dense grid */
.daraz-grid {
    display: grid;
    gap: 0.6rem;
}

/* The card itself */
.dcard {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 0.35rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    cursor: pointer;
}

.dcard:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

/* Image area — square ratio like Daraz */
.dcard-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.dcard-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
    padding: 0.5rem;
}

.dcard:hover .dcard-img img {
    transform: scale(1.05);
}

/* Fallback swatch when no image */
.dcard-img .swatch {
    width: 100%;
    height: 100%;
    min-height: unset;
    border-radius: 0;
    margin: 0;
}

/* Discount badge top-left (Daraz style: red pill) */
.dcard-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    z-index: 3;
    background: #f57224;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.12rem 0.35rem;
    border-radius: 0.15rem;
    line-height: 1.4;
}

/* Wishlist/action button top-right */
.dcard-action {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dcard:hover .dcard-action {
    opacity: 1;
    color: #f57224;
    border-color: #f57224;
}

/* Card body — tight padding like Daraz */
.dcard-body {
    padding: 0.55rem 0.65rem 0.65rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
}

/* Meta row: fabric + MOQ */
.dcard-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.dcard-fabric {
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dcard-fabric::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f57224;
    display: inline-block;
    flex-shrink: 0;
}

.dcard-moq {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

/* Product name */
.dcard-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #212121;
    line-height: 1.4;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font);
    letter-spacing: 0;
}

/* Price row */
.dcard-price-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.dcard-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f57224;
    letter-spacing: -0.01em;
}

/* "Explore" link in place of price for B2B */
.dcard-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f57224;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 0.3rem;
    border-top: 1px solid #f5f5f5;
}

.dcard-link svg {
    transition: transform 0.2s ease;
}

.dcard:hover .dcard-link svg {
    transform: translateX(3px);
}

/* Category label strip */
.dcard-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 0.2rem;
}

/* Responsive: match Daraz's grid behaviour */
@media (max-width: 1100px) {
    .daraz-grid.cards-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 720px) {
    .daraz-grid.cards-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .daraz-grid.cards-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dcard-img {
        aspect-ratio: 1 / 1;
    }
}

/* Fallback Swatches */
.swatch {
    width: 100%;
    height: 100%;
    min-height: 14.5rem;
    border-radius: 0;
    margin: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
        var(--swatch, #1e3a8a);
    position: relative;
    overflow: hidden;
}

.swatch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.04) 10px, rgba(255, 255, 255, 0.04) 20px);
}

.tone-knit {
    --swatch: #1c3d5a;
}

.tone-polo {
    --swatch: #10b981;
}

.tone-woven {
    --swatch: #f59e0b;
}

.tone-outer {
    --swatch: #475569;
}

.tone-fleece {
    --swatch: #8b5cf6;
}

.tone-denim {
    --swatch: #2563eb;
}

.tone-kids {
    --swatch: #f43f5e;
}

.tone-sport {
    --swatch: #ea580c;
}

.tone-home {
    --swatch: #06b6d4;
}

.swatch.has-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255, 255, 255, 0.15) 10px, rgba(255, 255, 255, 0.15) 11px),
        var(--swatch, #1c3d5a);
}

.swatch-title,
.swatch-card .swatch-title,
.swatch-card:hover .swatch-title,
.swatch-card:hover .swatch h2,
.swatch h2.swatch-title,
.swatch p.swatch-title {
    margin: 0;
    color: #ffffff !important;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.5) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COLORFUL BADGES & PILL TAGS ("COLORFULL HOBE")
   ═══════════════════════════════════════════════════════════════════════════════ */
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.2rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: #4338ca;
    border: 1px solid rgba(79, 70, 229, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.18);
}

/* Vibrant Alternating Pill Accents */
.swatch-card:nth-child(4n+1) .pill,
.meta span:nth-child(4n+1) {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    color: #4338ca;
    border-color: rgba(79, 70, 229, 0.3);
}

.swatch-card:nth-child(4n+2) .pill,
.meta span:nth-child(4n+2) {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(245, 158, 11, 0.12) 100%);
    color: #c2410c;
    border-color: rgba(234, 88, 12, 0.3);
}

.swatch-card:nth-child(4n+3) .pill,
.meta span:nth-child(4n+3) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.3);
}

.swatch-card:nth-child(4n+4) .pill,
.meta span:nth-child(4n+4) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.3);
}

/* ─── Certification Logo Cards (home) ──────────────────────────────── */
.cert-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (max-width: 1080px) {
    .cert-logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .cert-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        margin-top: 1rem;
    }
}

.cert-logo-card {
    --cert-accent: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 6.75rem;
    padding: 0.85rem 1.15rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1rem;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
}

/* Subtle accent bottom glow bar */
.cert-logo-card::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--cert-accent);
    opacity: 0;
    transform: scaleX(0.35);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
}

.cert-logo-card:nth-child(6n+1) {
    --cert-accent: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
}

.cert-logo-card:nth-child(6n+2) {
    --cert-accent: linear-gradient(90deg, #0ea5e9 0%, #10b981 100%);
}

.cert-logo-card:nth-child(6n+3) {
    --cert-accent: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.cert-logo-card:nth-child(6n+4) {
    --cert-accent: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
}

.cert-logo-card:nth-child(6n+5) {
    --cert-accent: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.cert-logo-card:nth-child(6n+6) {
    --cert-accent: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
}

.cert-logo-card:hover,
.cert-logo-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 18px 38px -8px rgba(79, 70, 229, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    z-index: 20;
    outline: none;
}

.cert-logo-card:hover::after,
.cert-logo-card:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.cert-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cert-logo-card img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 3.4rem;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-logo-card:hover img,
.cert-logo-card:focus-visible img {
    transform: scale(1.06);
}

.cert-logo-name {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #334155;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.cert-logo-card:hover .cert-logo-name {
    color: #4f46e5;
}

/* Floating Sleek Tooltip with Certification Name on Hover */
.cert-hover-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.9rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    white-space: nowrap;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.4), 0 4px 10px -2px rgba(15, 23, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease,
        transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.22s ease;
    z-index: 30;
}

.cert-hover-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.cert-logo-card:hover .cert-hover-tooltip,
.cert-logo-card:focus-visible .cert-hover-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
}

.cert-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cert-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 7.5rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm, 0.75rem);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.cert-card-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

@media (max-width: 599px) {
    .cert-logo-card {
        height: 5.75rem;
        padding: 0.65rem 0.85rem;
        border-radius: 0.85rem;
    }

    .cert-logo-card img {
        max-height: 2.8rem;
    }

    .cert-hover-tooltip {
        font-size: 0.74rem;
        padding: 0.35rem 0.75rem;
        bottom: calc(100% + 8px);
    }

    .cert-card-logo {
        height: 6.25rem;
        padding: 0.5rem 0.75rem;
        margin-bottom: 1rem;
    }
}

/* Category Filter Bar */
.filter-row {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.filter-row a {
    flex: none;
    scroll-snap-align: start;
    text-decoration: none;
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    border: 1.5px solid var(--line);
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-row a:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.15);
}

.filter-row a.is-on {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROCESS STEPS — VIVID STEP NUMBERS
   ═══════════════════════════════════════════════════════════════════════════════ */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.15rem;
}

.steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.95rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 1.25rem;
    padding: 1.8rem 1.4rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.steps li:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px -8px rgba(79, 70, 229, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
}

.step-no {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.steps li:nth-child(5n+1) .step-no {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.steps li:nth-child(5n+2) .step-no {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.steps li:nth-child(5n+3) .step-no {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.steps li:nth-child(5n+4) .step-no {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
}

.steps li:nth-child(5n+5) .step-no {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.35);
}

.steps li strong {
    font-size: 1.15rem;
    font-weight: 750;
    color: #0f172a;
    display: block;
    text-align: center;
}

.steps li div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.steps li p {
    text-align: center;
    margin-top: 0.35rem;
}

/* Homepage process: 6 compact cards per row */
#home-process .steps-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

#home-process .steps-compact li {
    padding: 0.7rem 0.4rem 0.75rem;
    gap: 0.4rem;
    border-radius: 0.85rem;
    min-width: 0;
}

#home-process .steps-compact .step-no {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.78rem;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
}

#home-process .steps-compact li strong {
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.25;
}

@media (min-width: 640px) {
    #home-process .steps-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 700px) {
    #home-process .steps-compact {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.5rem;
    }

    #home-process .steps-compact li {
        padding: 0.55rem 0.3rem 0.6rem;
        gap: 1.5rem !important;
    }

    #home-process .steps-compact .step-no {
        width: 1.65rem;
        height: 1.65rem;
        font-size: 0.72rem;
    }

    #home-process .steps-compact li strong {
        font-size: 0.88rem;
        line-height: 2.2;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BUYER LOGO ROW
   ═══════════════════════════════════════════════════════════════════════════════ */
.logo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.logo-row>span,
.logo-row>a {
    min-height: 4.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.1rem;
    background: #ffffff;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-row>span:hover,
.logo-row>a:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #4f46e5;
    color: #4f46e5;
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.14);
}

.logo-row .buyer-logo {
    max-height: 2.2rem;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0.45rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
    transition: transform 0.25s ease;
}

.logo-row>span:hover .buyer-logo {
    transform: scale(1.06);
}

.logo-row .buyer-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* Market cards - horizontal split: flag on left, info on right */
.market-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius, 1.25rem);
    min-height: 8.5rem;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
}

.market-card-flag-wrap {
    flex: 0 0 36%;
    width: 36%;
    position: relative;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-self: stretch;
}

.market-card-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.market-card:hover .market-card-flag-img {
    transform: scale(1.08);
}

.market-card-flag-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.market-card-info {
    flex: 1 1 64%;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.market-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
    color: #0f172a;
    line-height: 1.25;
}

.market-card-note {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    color: #334155;
}

@media (max-width: 540px) {
    .market-card-flag-wrap {
        flex: 0 0 32%;
        width: 32%;
    }

    .market-card-info {
        padding: 0.9rem 1rem;
    }

    .market-card-title {
        font-size: 1.1rem;
    }

    .market-card-note {
        font-size: 0.82rem;
    }
}

.market-pill-flag {
    width: 1.15rem;
    height: 0.8rem;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: -1px;
    margin-right: 0.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Buyer desk cards - horizontal split: logo on left, info on right */
.buyer-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius, 1.25rem);
    min-height: 8.5rem;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.buyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
}

.buyer-card-logo-wrap {
    flex: 0 0 36%;
    width: 36%;
    position: relative;
    background: #f8fafc;
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    align-self: stretch;
    overflow: hidden;
}

.buyer-card-logo-img {
    width: 100%;
    height: 100%;
    max-height: 4.8rem;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.buyer-card:hover .buyer-card-logo-img {
    transform: scale(1.08);
}

.buyer-card-logo-fallback {
    width: 100%;
    height: 100%;
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0.5rem;
}

.buyer-card-info {
    flex: 1 1 64%;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.buyer-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #0f172a;
    line-height: 1.25;
}

.buyer-card-market {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    margin-bottom: 0.35rem;
    width: fit-content;
}

.buyer-card-focus {
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
    color: #334155;
}

@media (max-width: 540px) {
    .buyer-card-logo-wrap {
        flex: 0 0 32%;
        width: 32%;
        padding: 0.6rem;
    }

    .buyer-card-info {
        padding: 0.9rem 1rem;
    }

    .buyer-card-title {
        font-size: 1.05rem;
    }

    .buyer-card-focus {
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA BAND — STUNNING COSMIC GRADIENT CARD
   ═══════════════════════════════════════════════════════════════════════════════ */
.cta-band {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(135deg, #090d16 0%, #1e1b4b 60%, #312e81 100%); */
    background: linear-gradient(135deg, #0F2911 0%, #0F291E 60%, #0F2729 100%);
    color: #ffffff;
    border-radius: 2rem;
    padding: 3.5rem 2.8rem;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

.cta-band::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

.cta-band .kicker {
    background: rgba(255, 255, 255, 0.15);
    color: #fde047;
    border-color: rgba(253, 224, 71, 0.4);
}

.cta-band .kicker::before {
    background: #fde047;
    box-shadow: 0 0 10px rgba(253, 224, 71, 0.8);
}

.cta-band h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-band .lede {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.cta-band .hero-actions {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FORMS & INPUTS — POLISHED ON CLEAN WHITE
   ═══════════════════════════════════════════════════════════════════════════════ */
.form-card {
    padding: 2rem;
    display: grid;
    gap: 1.2rem;
}

.form-grid {
    display: grid;
    gap: 1.1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

input:not(.select2-search__field):not(.cur-year):not(.flatpickr-hour):not(.flatpickr-minute):not(.flatpickr-second),
select:not(.flatpickr-monthDropdown-months),
textarea {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.25s ease;
}

.form-control {
    width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    border-radius: 0.65rem;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: inherit;
    font-size: 0.96rem;
    transition: all 0.25s ease;
}

.form-select {
    width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 0.65rem;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: inherit;
    font: inherit;
    transition: all 0.25s ease;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
    background: #ffffff;
}

.form-control.flatpickr-input {
    cursor: pointer;
    background: #ffffff;
}

textarea.form-control,
textarea {
    min-height: 8.5rem;
    resize: vertical;
}

input[type="file"].form-control {
    height: auto;
    min-height: 2.85rem;
    padding-top: 0.55rem;
    cursor: pointer;
}

.errors {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.2rem;
}

.notice {
    padding: 1rem 1.25rem;
    margin-bottom: 1.2rem;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 1rem;
    font-weight: 700;
}

.map-card {
    min-height: 15rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(6, 182, 212, 0.12) 100%),
        repeating-linear-gradient(90deg, #f1f5f9 0 20px, #e2e8f0 20px 21px),
        repeating-linear-gradient(#f1f5f9 0 20px, #e2e8f0 20px 21px);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    border: 1px solid var(--line);
    margin-top: 1.4rem;
}

.map-card a {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    width: 100%;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: #0f172a;
    transition: all 0.25s ease;
}

.map-card a:hover {
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCT DETAILS GALLERY & SPEC
   ═══════════════════════════════════════════════════════════════════════════════ */
.product-gallery {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-gallery.is-zooming {
    z-index: 20;
}

.gallery-stage {
    position: relative;
}

.gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    appearance: none;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    cursor: crosshair;
    transition: box-shadow 0.3s ease;
}

.gallery-main:hover,
.gallery-main:focus-visible {
    box-shadow: var(--shadow-hover);
}

.gallery-main>img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: clamp(0.75rem, 2.5vw, 1.75rem);
    object-fit: contain;
    object-position: center;
    display: block;
}

.gallery-lens {
    position: absolute;
    z-index: 2;
    display: none;
    pointer-events: none;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(15, 23, 42, 0.12);
}

.product-gallery.is-zooming .gallery-lens {
    display: block;
}

.product-gallery.is-zooming .gallery-zoom,
.product-gallery.is-zooming .gallery-count {
    opacity: 0;
}

.gallery-zoom-pane {
    position: absolute;
    top: 0;
    left: calc(100% + 1.1rem);
    z-index: 30;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    transform: translateY(8px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.product-gallery.is-zooming .gallery-zoom-pane {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.gallery-zoom-pane-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

@keyframes gallery-image-in {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-main>img.is-swapping {
    animation: gallery-image-in 0.45s ease;
}

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.gallery-main:hover .gallery-zoom {
    color: #ffffff;
    background: var(--primary);
    transform: scale(1.06);
}

.gallery-count {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    padding: 0.15rem 0.1rem 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.gallery-thumb {
    flex: 0 0 5.25rem;
    width: 5.25rem;
    height: 5.25rem;
    padding: 0.3rem;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 0.7rem;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.35);
}

.gallery-thumb.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Full-screen gallery dialog */
.gallery-dialog {
    width: min(1080px, calc(100% - 2rem));
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: 0;
    background: transparent;
}

.gallery-dialog::backdrop {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(10px);
}

.gallery-dialog-inner {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0.75rem;
    padding: 1rem;
    max-height: calc(100vh - 2rem);
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gallery-dialog-inner img {
    max-width: 100%;
    max-height: calc(100vh - 10rem);
    object-fit: contain;
    border-radius: 1rem;
}

.gallery-dialog-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink);
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}

.gallery-dialog-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.8rem;
    line-height: 1;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.gallery-dialog-nav:hover {
    background: var(--primary);
}

.gallery-dialog-nav.is-prev {
    left: -1.25rem;
}

.gallery-dialog-nav.is-next {
    right: -1.25rem;
}

.gallery-dialog-count {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}

.product-gallery.is-inner-zoom .gallery-zoom-pane {
    display: none;
}

.product-gallery.is-inner-zoom.is-zooming .gallery-lens {
    display: none;
}

.product-gallery.is-inner-zoom.is-zooming .gallery-main>img {
    transform: scale(2.4);
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

@media (max-width: 768px), (hover: none) {
    .product-gallery {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .gallery-stage {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .gallery-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        max-height: min(65vh, 460px);
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 1.25rem;
        cursor: pointer;
    }

    .gallery-main>img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: min(65vh, 460px);
        object-fit: contain;
        object-position: center;
        padding: clamp(0.5rem, 3vw, 1rem);
        transform: none !important;
    }

    .gallery-lens,
    .gallery-zoom-pane {
        display: none !important;
    }

    .product-gallery.is-inner-zoom.is-zooming .gallery-main>img {
        transform: none !important;
    }

    .gallery-thumbs {
        gap: 0.5rem;
        padding-bottom: 0.25rem;
        max-width: 100%;
    }

    .gallery-thumb {
        flex: 0 0 4.25rem;
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 0.75rem;
    }

    .gallery-dialog {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        max-height: 92vh;
        margin: auto;
        border-radius: 1.25rem;
    }

    .gallery-dialog-inner {
        padding: 0.75rem 0.5rem;
        max-height: 90vh;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        border-radius: 1.25rem;
        box-sizing: border-box;
    }

    .gallery-dialog-inner img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: min(68vh, calc(100vh - 7rem));
        object-fit: contain;
        display: block;
        margin: 0 auto;
        border-radius: 0.75rem;
    }

    .gallery-dialog-nav.is-prev {
        left: 0.35rem;
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.5rem;
    }

    .gallery-dialog-nav.is-next {
        right: 0.35rem;
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.5rem;
    }

    .gallery-dialog-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.35rem;
    }
}

.spec {
    display: grid;
    gap: 0.75rem;
    margin: 1.2rem 0 0;
}

.spec div {
    display: grid;
    gap: 0.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.spec dt {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spec dd {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.split {
    display: grid;
    gap: 1.8rem;
    min-width: 0;
}

.split > * {
    min-width: 0;
    max-width: 100%;
}

.prose p+p {
    margin-top: 0.95rem;
}

.about-mv {
    margin-top: 1.35rem;
}

.about-mv h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy, #0f2744);
}

.profile-download {
    margin-top: 1.25rem;
}

.profile-download .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ABOUT PAGE — OFFICE DETAILS CARD
   ═══════════════════════════════════════════════════════════════════════════════ */
.about-office-card {
    position: relative;
    padding: 1.85rem 2rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.about-office-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e87224 0%, #f59e0b 50%, #2563eb 100%);
    z-index: 2;
}

.about-office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(232, 114, 36, 0.35);
}

.about-office-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.about-office-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.75rem;
    border-radius: 9999px;
    background: rgba(232, 114, 36, 0.09);
    border: 1px solid rgba(232, 114, 36, 0.25);
    color: #cb580e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.about-office-badge svg {
    display: block;
    color: #e87224;
}

/* Office Heading — Styled exactly like h2 */
.about-office-card h2,
.about-office-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.8vw, 2.5rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}

.about-office-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.about-office-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.75rem 0.95rem;
    border-radius: 0.8rem;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(241, 245, 249, 0.95);
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-office-item:hover {
    background: #ffffff;
    border-color: rgba(226, 232, 240, 1);
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.about-office-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    flex-shrink: 0;
}

.about-office-icon svg {
    display: block;
}

.about-office-icon.icon-address {
    background: rgba(232, 114, 36, 0.12);
    color: #e87224;
}

.about-office-icon.icon-experience {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.about-office-icon.icon-phone {
    background: rgba(16, 185, 129, 0.13);
    color: #059669;
}

.about-office-icon.icon-email {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.about-office-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.about-office-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.about-office-val {
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    word-break: break-word;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.about-office-val:hover {
    color: #e87224;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TEAM CARD & MODAL DIALOG
   ═══════════════════════════════════════════════════════════════════════════════ */

.team-grid.cards-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .team-grid.cards-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 850px) {
    .team-grid.cards-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 580px) {
    .team-grid.cards-4 {
        grid-template-columns: 1fr !important;
    }
}

.team-grid.cards-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .team-grid.cards-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .team-grid.cards-3 {
        grid-template-columns: 1fr !important;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 100%;
    font: inherit;
    cursor: pointer;
    appearance: none;
    background: #ffffff;
    height: 100%;
    padding: 1.65rem 1.25rem 1.4rem;
}

.team-card-photo {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.15));
    display: grid;
    place-items: center;
    border: 3px solid #e2e8f0;
    margin: 0 auto;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .team-card-photo {
    transform: scale(1.05);
    border-color: #6366f1;
}

.team-card-photo img,
.team-dialog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-initials {
    font-family: var(--serif);
    font-size: 1.75rem;
    color: #4f46e5;
    font-weight: 800;
}

.team-card-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team-card-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.team-card-body .pill {
    margin-bottom: 0.6rem;
    font-size: 0.76rem;
}

.team-card-body .muted {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 0.65rem;
    line-height: 1.45;
}

.team-card-quote {
    margin: 0.5rem 0 0;
    font-style: italic;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.45;
}

.team-card-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.95rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4f46e5;
    transition: color 0.2s ease, gap 0.2s ease;
}

.team-card:hover .team-card-hint {
    color: #3730a3;
    gap: 0.55rem;
}

.team-dialog {
    width: min(720px, calc(100% - 2rem));
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    background: transparent;
}

.team-dialog::backdrop {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
}

.team-dialog-inner {
    position: relative;
    display: grid;
    gap: 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.team-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-dialog-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.team-dialog-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    display: grid;
    place-items: center;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

.team-dialog-photo-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}

.team-dialog-photo-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.team-dialog-photo-btn:hover img {
    transform: scale(1.08);
}

.team-dialog-photo-zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 50%;
}

.team-dialog-photo-btn:hover .team-dialog-photo-zoom-icon {
    opacity: 1;
}

.team-dialog-initials {
    font-size: 2.4rem;
    color: #4f46e5;
    font-weight: 800;
}

.team-dialog-copy h3 {
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
}

.team-dialog-quote {
    margin: 1rem 0 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
    color: #1e293b;
}

.team-dialog-focus {
    margin-top: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
}

.team-dialog-details {
    margin-top: 0.8rem;
    color: #334155;
    line-height: 1.7;
}

/* Passport Photo Lightbox Dialog */
.passport-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 1.25rem;
    overflow: visible;
    width: auto;
    max-width: 92vw;
}

.passport-dialog::backdrop {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.passport-dialog-inner {
    position: relative;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.4rem 2rem 1.6rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.passport-dialog-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
}

.passport-dialog-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.passport-photo-frame {
    width: min(280px, 75vw);
    aspect-ratio: 35 / 45;
    background: #f8fafc;
    border-radius: 0.45rem;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.passport-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.passport-photo-info {
    margin-top: 1.15rem;
    text-align: center;
}

.passport-photo-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.passport-photo-role {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SITE FOOTER — LUXURY DEEP SLATE WITH VIBRANT NEON ACCENTS
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #3f3f46 0%, #27272a 100%);
    color: #d4d4d8;
    padding: 0 0 var(--safe-bottom);
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-glow {
    height: 3px;
    background: linear-gradient(90deg, transparent, #4f46e5, #06b6d4, #ea580c, #f59e0b, transparent);
}

.footer-inner {
    display: grid;
    gap: 2.5rem;
    padding: 3.5rem 0 2.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    min-width: 0;
}

.footer-logo strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.footer-logo-frame {
    background: #ffffff;
    border-radius: 0.85rem;
    padding: 0.45rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
    max-height: 42px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-tagline {
    color: #94a3b8;
    max-width: 30rem;
    margin-bottom: 1rem;
    font-size: 1.02rem;
    line-height: 1.6;
}

.footer-address {
    margin-bottom: 1.4rem;
}

.footer-address a {
    color: #cbd5e1;
}

.footer-address a:hover {
    color: #ffffff;
}

.footer-cta {
    width: fit-content;
}

.footer-col h2 {
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.4rem;
}

.footer-links a,
.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.5rem;
    color: #94a3b8;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-ico {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    flex: none;
}

.footer-contact-list li:nth-child(1) .footer-ico {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
}

.footer-contact-list li:nth-child(2) .footer-ico {
    background: rgba(56, 189, 248, 0.16);
    color: #38bdf8;
}

.footer-contact-list li:nth-child(3) .footer-ico {
    background: rgba(37, 211, 102, 0.18);
    color: #25d366;
}

.footer-contact-list li:nth-child(4) .footer-ico {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
}

.footer-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0 calc(1.2rem + var(--safe-bottom));
    color: #64748b;
    font-size: 0.88rem;
}

.footer-bar-inner p {
    margin: 0;
}

.footer-bar-inner a {
    color: #38bdf8;
    font-weight: 700;
}

.footer-bar-inner a:hover {
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 700px) {
    .wrap {
        width: min(1320px, calc(100% - 3.5rem));
    }

    .cards-2,
    .cards-3,
    .cards-4,
    .cards-6,
    .split,
    .form-grid.two {
        grid-template-columns: 1fr 1fr;
    }

    .logo-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2.8rem;
        padding: 4rem 0 3rem;
        align-items: start;
    }

    .team-dialog-inner {
        grid-template-columns: 8.5rem 1fr;
        align-items: start;
        padding: 2.2rem;
    }
}

@media (min-width: 960px) {
    .nav-toggle {
        display: none;
    }

    .header-bar {
        flex-wrap: nowrap;
        gap: 1rem;
        overflow: visible;
        padding-left: calc(1.5rem + var(--safe-left));
        padding-right: calc(1.5rem + var(--safe-right));
    }

    .brand {
        flex: 0 0 auto;
        max-width: 18rem;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .brand-logo-img {
        max-height: 84px;
        max-width: 300px;
    }

    .site-nav {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        padding: 0.35rem 0;
        overflow: visible;
    }

    .nav-primary {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        justify-content: flex-end;
        gap: 0.25rem;
        overflow: visible;
        margin-left: auto;
    }

    .nav-links {
        display: flex;
        flex: 0 1 auto;
        min-width: 0;
        align-items: center;
        justify-content: flex-end;
        gap: 0.15rem 0.35rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .nav-actions {
        display: flex;
        flex: none;
        align-items: center;
        gap: 0.45rem;
    }

    .site-nav a {
        border: 0;
        min-height: 2.6rem;
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
        flex: none;
        border-radius: 0.25rem;
        padding: 0 1.1rem;
    }

    .site-nav a.nav-link {
        position: relative;
        padding: 0 1.05rem;
        color: #0f172a;
    }

    .site-nav a.nav-link::before,
    .site-nav a.nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 1.6rem;
        height: 3px;
        border-radius: 9999px;
        background: var(--accent-orange);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-nav a.nav-link::before {
        top: 0.35rem;
    }

    .site-nav a.nav-link::after {
        bottom: 0.35rem;
    }

    .site-nav a.nav-link:hover {
        background: transparent;
        color: var(--accent-orange);
    }

    .site-nav a.nav-link:hover::before,
    .site-nav a.nav-link:hover::after {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }

    .site-nav a[aria-current="page"] {
        background: transparent;
        color: var(--accent-orange);
        font-weight: 700;
    }

    .site-nav a.nav-link[aria-current="page"]::before,
    .site-nav a.nav-link[aria-current="page"]::after {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }

    .nav-more {
        position: relative;
        flex: none;
    }

    .nav-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        min-height: 2.6rem;
        padding: 0 1.05rem;
        border: 0;
        background: transparent;
        color: #0f172a;
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
        border-radius: 0.25rem;
        transition: color 0.2s ease;
    }

    .nav-more-btn:hover,
    .nav-more.is-open .nav-more-btn,
    .nav-more:has(a[aria-current="page"]) .nav-more-btn {
        color: var(--accent-orange);
        background: transparent;
    }

    .nav-more-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        min-width: 14.5rem;
        padding: 0.5rem;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 1rem;
        box-shadow: var(--shadow-hover);
        z-index: 50;
    }

    .nav-more.is-open .nav-more-menu {
        display: block;
        animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-more-menu a {
        display: flex;
        width: 100%;
        min-height: 2.5rem;
        padding: 0 0.85rem;
        border-radius: 0.75rem;
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .nav-more-menu a:hover {
        background: rgba(234, 88, 12, 0.08);
        color: var(--accent-orange);
    }

    .nav-quote {
        margin: 0 0 0 0.25rem;
        font-size: 0.95rem;
        min-height: 2.5rem;
        padding: 0.1rem 1rem;
        flex: none;
        white-space: nowrap;
    }

    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .cards-4 .product-thumb {
        height: 14rem;
        aspect-ratio: auto;
    }

    .cards-6 .product-thumb {
        height: 10.5rem;
        padding: 0.85rem;
        aspect-ratio: auto;
    }

    .cards-6 .product-card-body {
        padding: 0.9rem 0.9rem 1rem;
    }

    .cards-6 .product-card-body h3 {
        font-size: 1rem;
    }

    .cards-6 .product-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.55rem;
        top: 0.6rem;
        left: 0.6rem;
    }

    .cards-6 .product-thumb-action {
        width: 1.85rem;
        height: 1.85rem;
        top: 0.6rem;
        right: 0.6rem;
    }

    .cards-6 .product-explore-link {
        font-size: 0.78rem;
    }

    .cards-6 .swatch-card:not(.product-card) h3 {
        font-size: 0.95rem;
    }

    .cards-6 .swatch-card:not(.product-card)>p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .steps:not(.steps-compact) {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps li {
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 0.95rem;
    }
}

@media (max-width: 959px) {
    .nav-more {
        display: block !important;
    }

    /* In the mobile drawer, the overflow menu renders inline as regular full-width rows */
    .nav-more-btn {
        display: none !important;
    }

    .nav-more-menu {
        display: contents !important;
    }

    .nav-more-menu a:hover {
        color: var(--accent-orange);
    }

    .nav-primary,
    .nav-links,
    .nav-actions {
        display: contents;
    }

    .hero-carousel {
        height: auto;
        min-height: auto;
        padding: 3rem 1rem 5.5rem;
    }

    .carousel-track {
        height: auto;
        min-height: auto;
    }

    .carousel-slide {
        position: relative;
        height: auto;
        display: none;
    }

    .carousel-slide.is-active {
        display: flex;
    }

    .carousel-slide-inner.wrap {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding-inline: 0;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    .carousel-copy {
        align-items: stretch;
        text-align: justify;
        text-justify: inter-word;
        word-spacing: -0.12em;
        hyphens: auto;
        overflow-wrap: break-word;
        order: 2;
    }

    .carousel-showcase {
        order: 1;
        width: 100%;
        max-width: 100%;
        display: block;
        padding: 0;
        margin-top: 0;
        margin-bottom: 1.25rem;
        position: relative;
        overflow: hidden;
    }

    .carousel-slide-photo-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
        max-height: 320px !important;
        margin: 0 auto;
        border-radius: 1.15rem;
        background: transparent;
        padding: 0 !important;
        border: none;
        position: relative;
        overflow: hidden !important;
    }

    .carousel-slide-photo {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 1.15rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .carousel-floating-badge {
        display: none !important;
    }

    .carousel-lede {
        max-width: 100%;
    }

    .carousel-action-wrap {
        justify-content: center;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-controls-deck {
        bottom: 1.2rem;
    }
}

@media (max-width: 699px) {
    .cards-2 {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 2.2rem 1.4rem;
        border-radius: 1.5rem;
    }

    .hero-actions .btn {
        flex: 1 1 10rem;
    }
}

@media (min-width: 520px) and (max-width: 699px) {

    .cards-2,
    .cards-4,
    .cards-6 {
        grid-template-columns: 1fr 1fr;
    }

    .product-thumb,
    .cards-4 .product-thumb,
    .cards-6 .product-thumb {
        height: 13.5rem;
    }

    .swatch {
        height: 10rem;
    }
}

@media (max-width: 480px) {
    .carousel-title {
        font-size: 1.85rem;
    }

    .carousel-slide-photo-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
        max-height: 230px !important;
        border-radius: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .carousel-slide-photo {
        border-radius: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .carousel-floating-badge {
        display: none !important;
    }
}

.is-hidden {
    display: none !important;
}

.hero-actions--spaced {
    margin-top: 2rem;
}

#no-products-msg {
    padding: 2rem 0;
}

.page-block-figure {
    margin: 0;
}

.page-block-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.35rem;
    box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FACTORY CARDS — EQUAL HEIGHT (same width & height for every card in the grid)
   ═══════════════════════════════════════════════════════════════════════════════ */
/* Grid already uses align-items:stretch by default; make every swatch-card fill row height */
.grid.cards-2 .swatch-card,
.grid.cards-3 .swatch-card,
.grid.cards-4 .swatch-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Inner swatch image area: fixed height so all thumbnails are equal, identical initial navy color */
.grid.cards-2 .swatch-card .swatch,
.grid.cards-3 .swatch-card .swatch,
.grid.cards-4 .swatch-card .swatch,
.swatch-card .swatch.has-label,
.split .swatch.has-label {
    flex: 0 0 auto;
    height: 11rem;
    min-height: 11rem;
    max-height: 11rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255, 255, 255, 0.15) 10px, rgba(255, 255, 255, 0.15) 11px),
        #1c3d5a !important;
}

/* Text content grows to fill remaining card space, with clean padding */
.grid.cards-2 .swatch-card>p,
.grid.cards-3 .swatch-card>p,
.grid.cards-4 .swatch-card>p {
    flex-shrink: 0;
    padding: 0 1rem;
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
}

.grid.cards-2 .swatch-card>p:first-of-type,
.grid.cards-3 .swatch-card>p:first-of-type,
.grid.cards-4 .swatch-card>p:first-of-type {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

/* Push meta pills to the bottom so all cards align at the same baseline with proper padding */
.grid.cards-2 .swatch-card .meta,
.grid.cards-3 .swatch-card .meta,
.grid.cards-4 .swatch-card .meta {
    flex-shrink: 0;
    margin-top: auto;
    padding: 0.65rem 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Single factory detail page swatch */
.split .swatch {
    border-radius: 1.25rem;
    min-height: 18rem;
    height: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   QUALITY PAGE — 5-COLUMN SIMPLE INSPECTION CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.quality-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.quality-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: none;
    padding: 1.15rem 1.1rem 1.25rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.quality-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(234, 88, 12, 0.45);
    background: #fffdfb;
}

.quality-card h2 {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.quality-card:hover h2 {
    color: var(--accent-orange);
}

.quality-card .muted {
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (min-width: 600px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .quality-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCTS SHOWCASE — CATEGORY + SUBCATEGORY SIDEBAR & GRID
   ═══════════════════════════════════════════════════════════════════════════════ */
.products-section {
    padding-top: 1.5rem;
}

.products-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
}

.products-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.products-mobile-filter-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.products-count-badge {
    font-size: 0.84rem;
    color: var(--muted);
}

.products-count-badge strong {
    color: #0f172a;
    font-weight: 700;
}

.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Sidebar Box */
.products-sidebar {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}

.products-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.products-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.products-sidebar-title svg {
    color: var(--accent-orange);
}

.products-sidebar-close {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

/* Navigation Tree */
.pnav-tree {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pnav-item {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.18s ease;
    flex-grow: 1;
}

.pnav-item:hover {
    background: #f8fafc;
    color: var(--accent-orange);
}

.pnav-item.is-active {
    background: #fff7ed;
    color: #c2410c;
    font-weight: 700;
}

.pnav-all {
    margin-bottom: 0.35rem;
    border-bottom: 1px dashed #e2e8f0;
    border-radius: 0.5rem 0.5rem 0 0;
    padding-bottom: 0.75rem;
}

.pnav-label {
    flex-grow: 1;
}

.pnav-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    margin-left: 0.5rem;
    transition: all 0.18s ease;
}

.pnav-item.is-active .pnav-count,
.pnav-sub-item.is-active .pnav-count {
    background: #ffedd5;
    color: #c2410c;
}

.pnav-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-right: 0.6rem;
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.pnav-item:hover .pnav-bullet {
    background: var(--accent-orange);
}

.pnav-item.is-active .pnav-bullet {
    background: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

/* Category Row with Toggle */
.pnav-cat-row {
    display: flex;
    align-items: center;
    position: relative;
}

.pnav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 0.35rem;
    transition: all 0.2s ease;
    margin-right: 0.2rem;
}

.pnav-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.pnav-toggle svg {
    transition: transform 0.22s ease;
}

.pnav-group.is-expanded .pnav-toggle svg {
    transform: rotate(180deg);
}

/* Subcategory List */
.pnav-sub-list {
    display: none;
    flex-direction: column;
    padding-left: 1.25rem;
    margin: 0.15rem 0 0.4rem;
    border-left: 2px solid #f1f5f9;
    gap: 0.15rem;
}

.pnav-group.is-expanded .pnav-sub-list {
    display: flex;
}

.pnav-sub-item {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.65rem;
    border-radius: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.16s ease;
}

.pnav-sub-item:hover {
    color: var(--accent-orange);
    background: #f8fafc;
}

.pnav-sub-item.is-active {
    color: #c2410c;
    background: #fff7ed;
    font-weight: 700;
}

.pnav-sub-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-right: 0.55rem;
    flex-shrink: 0;
}

.pnav-sub-item.is-active .pnav-sub-bullet {
    background: #ea580c;
}

.pnav-sub-label {
    flex-grow: 1;
}

/* Products Main Area */
.products-main {
    min-width: 0;
}

/* Products Toolbar */
.products-toolbar {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.products-search-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.products-search-box {
    position: relative;
    flex-grow: 1;
}

.products-search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.products-search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    outline: none;
    transition: all 0.2s ease;
}

.products-search-box input:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.products-search-box input::placeholder {
    color: #94a3b8;
}

.products-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 1.35rem;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.products-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

/* Active Pills */
.products-active-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pills-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.filter-pill button {
    background: transparent;
    border: none;
    color: #ea580c;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
    font-weight: bold;
}

.filter-pill button:hover {
    color: #9a3412;
}

.pills-reset-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.2rem 0.4rem;
}

.pills-reset-btn:hover {
    color: #dc2626;
}

/* Grid layout with sidebar - 5 cards per row on desktop */
.products-daraz-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

/* Compact card styles for 5-per-row grid */
.products-daraz-grid .dcard {
    border-radius: 0.4rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-daraz-grid .dcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.products-daraz-grid .dcard-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.12;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.products-daraz-grid .dcard-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0.25rem;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.products-daraz-grid .dcard:hover .dcard-img img {
    transform: scale(1.04);
}

.products-daraz-grid .dcard-img .swatch {
    width: 100%;
    height: 100%;
    min-height: unset;
    border-radius: 0;
}

.products-daraz-grid .dcard-body {
    padding: 0.45rem 0.55rem 0.55rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.products-daraz-grid .dcard-name {
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0 0 0.2rem;
    font-weight: 600;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-daraz-grid .dcard-badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 3;
    font-size: 0.56rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.02em;
    background: rgba(245, 114, 36, 0.95);
    color: #ffffff;
}

.products-daraz-grid .dcard-action {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 3;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.85);
    transition: all 0.2s ease;
}

.products-daraz-grid .dcard:hover .dcard-action {
    background: #f57224;
    color: #ffffff;
    border-color: #f57224;
}

.products-daraz-grid .dcard-action svg {
    width: 11px;
    height: 11px;
}

.products-daraz-grid .dcard-meta-row {
    margin-top: auto;
    padding-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.products-daraz-grid .dcard-fabric {
    font-size: 0.66rem;
    font-weight: 600;
    color: #475569;
}

.products-daraz-grid .dcard-fabric::before {
    width: 4px;
    height: 4px;
}

.products-daraz-grid .dcard-parent-cat {
    font-size: 0.62rem;
    color: #94a3b8;
    margin-left: auto;
}

/* Empty State */
.products-empty-feedback {
    background: #ffffff;
    border: 1px dashed var(--line);
    border-radius: 1rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.products-empty-feedback .empty-box svg {
    margin-bottom: 0.85rem;
    color: #cbd5e1;
}

.products-empty-feedback h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .products-layout {
        grid-template-columns: 230px 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 1050px) {
    .products-layout {
        grid-template-columns: 220px 1fr;
        gap: 1rem;
    }

    .products-daraz-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 960px) {
    .products-mobile-bar {
        display: flex;
    }

    .products-layout {
        display: block;
    }

    /* Off-canvas mobile sidebar */
    .products-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1050;
        border-radius: 0;
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border: none;
        border-right: 1px solid var(--line);
        padding: 1.5rem 1.25rem;
    }

    .products-sidebar.is-open {
        left: 0;
    }

    .products-sidebar-close {
        display: block;
    }

    .sidebar-open-lock {
        overflow: hidden;
    }

    .products-daraz-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .products-daraz-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 520px) {
    .products-daraz-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
}