/* Khan&Co Homepage Custom Overrides – aligned with khan-design-system tokens (FIGMA_SPEC_HOME_2621-80708)
 * Design dimensions sourced from v/992b18a5-17a5-4dd3-bd6e-7532f49a72b0.svg and home.css (Figma desktop export).
 * Verification: header desktop (1:1544), Frame 1171276716/6846/6807, Shop By Category (1:1580), New Arrivals (1:1633), Most Popular (1:1692), Best Sellers (1:1909), Collections (1:2162),
 * footer (1:2227), Subscribe to our newsletter – values mapped in this file and custom_header.css. */

/* Fine Art Sans Serif from public/assets/fonts (home.css) */
@font-face {
    font-family: 'Fine Art Sans Serif';
    src: url('/assets/fonts/Fineartsansserifregular.ttf') format('truetype'),
         url('/assets/fonts/Fine%20Art%20Sans%20Serif%20Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --khan-font-serif: 'Fine Art Sans Serif', 'Playfair Display', serif;
    --khan-font-sans: 'Readex Pro', sans-serif; /* home.css: body/nav/buttons use Readex */
    --khan-black: var(--khan-text, #111);
    --khan-gold: #D4AF37;
    --khan-gray-light: var(--khan-bg, #fafafa);
    --khan-font-size-xs: 20.8px; /* Figma primary button label: Readex 20.8px */
}

/* Global Background - #FAFAFA; page wrapper 1440×6810.8 (home.css: Homepage Page- desktop) */
body.khan-home-page,
body.khan-home-page .aiz-main-wrapper,
html {
    background: #FAFAFA !important;
}

body.khan-home-page .aiz-main-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 6810.8px;
    box-sizing: border-box;
}

/* home.css: Frame 1171276716 – padding 12px 130px 48px, gap 30px */
#homePage.khan-home,
body.khan-home-page #homePage.khan-home {
    background: #FAFAFA !important;
    padding: 12px 130px 48px; /* home.css: Frame 1171276716 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px; /* home.css: gap 30px between sections */
    width: 100%;
    box-sizing: border-box;
}

/* Section spacing: override Bootstrap py-5 so gap 30px dominates (home.css Frame 1171276716) */
.khan-home section.py-5 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
.khan-home .khan-announcement-wrapper,
.khan-home .khan-hero-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Responsive: relax horizontal padding so layout does not break (plan §12) */
@media (max-width: 1199px) {
    #homePage.khan-home,
    body.khan-home-page #homePage.khan-home {
        padding-left: 24px;
        padding-right: 24px;
    }
    body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}
@media (max-width: 767px) {
    #homePage.khan-home,
    body.khan-home-page #homePage.khan-home {
        padding-left: 16px;
        padding-right: 16px;
    }
    body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Use design system container on home (home.css: Frame 1171276846 – 1180px, padding 0) */
.khan-home .container {
    max-width: 1180px; /* From SVG: rect width="1180" */
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ========== Header desktop (home.css: header desktop, Frame 1171276811, Frame 1171276807) ========== */
/* Figma: header full-screen width; wrapper is 100% so header fills viewport edge-to-edge */
body.khan-home-page .khan-header-v3 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #FFFFFF !important;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}
/* home.css: header desktop – 1440×161, #FFFFFF, box-shadow 0px 1px 5px rgba(0,0,0,0.04) */
/* home.css: Header 1 – 31px height, padding 8px 130px, gap 214px, #000000 */
body.khan-home-page .khan-announcement-bar-v3 {
    height: 31px;
    padding: 8px 130px;
    background: #000000;
}
/* home.css: Frame 1171276811 – 80px height, border-bottom 1px solid #DEE5ED; Frame 1171276807 – gap 38px */
body.khan-home-page .khan-main-header-row {
    height: 80px;
    border-bottom: 1px solid #DEE5ED;
    gap: 38px;
}
/* home.css: Frame 1171276807 – 1180px inner, padding 0, margin 0 auto (no 130px here; that’s page gutter) */
body.khan-home-page .khan-header-container {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}
/* Keep announcement bar and main row aligned: same effective content width */
body.khan-home-page .khan-announcement-bar-v3 {
    display: flex;
    justify-content: center;
    align-items: center;
}
body.khan-home-page .khan-announcement-bar-v3 > span {
    max-width: 1180px;
    width: 100%;
    text-align: center;
}
/* home.css: KHAN&CO. logo – Fine Art Sans Serif 400, 36.8073px, line-height 38px, #020202 */
body.khan-home-page .khan-logo-main {
    font-family: var(--khan-font-serif);
    font-weight: 400;
    font-size: 36.8073px;
    line-height: 38px;
    color: #020202;
}
/* home.css: Menu / Members' sale – Readex Pro 400, 14px, line-height 18px, #424242, capitalize (see custom_header.css .khan-nav-link-v3) */

/* Global Homepage Typography – use design tokens */
.khan-home h1,
.khan-home h2,
.khan-home h3 {
    font-family: var(--khan-font-serif);
    font-weight: 400;
    color: var(--khan-text);
}

/* Section titles: Figma Shop By Category – Readex Pro 500, 28.8px, line-height 34.56px, #222029 */
.khan-home .khan-section-title {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 28.8px;
    line-height: 34.56px;
    color: #222029;
}

/* Buttons – token-aligned */
.khan-btn-solid {
    background-color: #000 !important; /* Black background for SHOP NOW button */
    color: #fff !important; /* Button color #fff */
    border-radius: 9.1215px !important; /* From SVG: rx="9.1215" */
    width: 215px !important; /* From SVG: width="215" */
    height: 57px !important; /* From SVG: height="57" */
    padding: 0 !important; /* Remove padding to use fixed dimensions */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: var(--khan-font-sans);
    text-transform: uppercase;
    font-size: var(--khan-font-size-xs);
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .khan-btn-solid {
        width: auto !important; /* Allow flexible width on mobile */
        min-width: 180px;
        padding: 0.75rem 1.5rem !important;
    }
}

.khan-btn-solid:hover {
    background-color: #333 !important;
    color: #fff;
}

/* Accessibility: visible focus for keyboard users */
.khan-btn-solid:focus-visible,
.khan-section-view-all:focus-visible,
.khan-announcement-link:focus-visible,
.khan-collection-card:focus-visible {
    outline: 2px solid #020202;
    outline-offset: 2px;
}

/* Figma: Hero button – white bg, black text, Readex 500 20.8px */
.khan-hero-slide .khan-btn-solid {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 20.8px !important;
    font-weight: 500 !important;
}
.khan-hero-slide .khan-btn-solid:hover {
    background: #f0f0f0 !important;
    color: #000000 !important;
}

/* Announcement wrapper – spacing from design system */
/* home.css: sections align to 1180px content width; gap 30px between sections */
.khan-announcement-wrapper,
.khan-hero-wrapper {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
.khan-announcement-wrapper {
    margin-top: 16px; /* tighter gap between header and banner per Figma */
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .khan-announcement-wrapper {
        margin-top: 48px; /* Reduced by 12px from 60px */
    }
}

.khan-announcement-slide {
    height: 180px; /* From SVG: rect height="180" */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Figma: content centered */
    overflow: hidden;
    border-radius: 12px; /* From SVG: rect rx="12" */
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 1180px;
}

.khan-announcement-slide .khan-hero__content {
    padding-left: 0;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* Figma: first line "SALE – LAST CALL" Readex Light 21px; second "UP TO 70% Off" Fine Art 43.77px */
.khan-announcement-title {
    color: #fff;
    font-family: 'Readex Pro', sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.khan-announcement-title span {
    display: block;
    font-family: var(--khan-font-serif);
    font-size: 43.77px;
    font-weight: 400;
    line-height: 1;
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
}

/* home.css: Announcement "SHOP NOW" – Readex Pro 500, 16px, underline, white text link */
.khan-announcement-link {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-decoration: underline;
    color: #FFFFFF;
    transition: opacity 0.3s;
}
.khan-announcement-link:hover {
    color: #FFFFFF;
    opacity: 0.8;
}

.khan-hero-wrapper {
    margin-bottom: 0;
    position: relative;
}

.khan-hero-slide {
    height: 560px; /* From SVG: rect height="560" */
    border-radius: 12px; /* From SVG: rect rx="12" */
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding: 163px 60px; /* home.css: slider padding */
    width: 100%;
    max-width: 1180px;
    box-sizing: border-box;
}

/* Remove dark overlay on hero/announcement images (design now uses clean photography) */
.khan-hero__overlay {
    background: transparent !important;
}

.khan-btn-outline-white {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff !important; /* Button color #fff */
    border: 1px solid #fff;
    width: 215px !important; /* From SVG: width="215" */
    height: 57px !important; /* From SVG: height="57" */
    border-radius: 9.1215px !important; /* From SVG: rx="9.1215" */
    padding: 0 !important; /* Remove padding to use fixed dimensions */
    font-family: var(--khan-font-sans);
    text-transform: uppercase;
    font-size: var(--khan-font-size-xs);
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .khan-btn-outline-white {
        width: auto !important; /* Allow flexible width on mobile */
        min-width: 180px;
        padding: 0.75rem 1.5rem !important;
    }
}

.khan-btn-outline-white:hover {
    background: #fff;
    color: var(--khan-text);
}

.khan-hero__img {
    height: 100%;
    object-fit: cover;
}

.khan-hero__content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px; /* home.css: Container gap 24px (between title-block and button) */
    max-width: 582px; /* home.css: Container width 582px */
}

/* Center-aligned variant – keep text and button visually centered inside slide */
.khan-hero--center .khan-hero__content {
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Figma: 8px gap between title and subtitle */
.khan-hero__title-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.khan-hero__title {
    font-size: 48px;
    line-height: 100%; /* home.css: 48px */
    color: #FFFFFF; /* home.css: hero title on dark overlay */
    margin-bottom: 0;
}

.khan-hero__subtitle {
    font-family: 'Readex Pro', sans-serif; /* home.css: hero subtitle */
    font-weight: 300;
    font-size: 21px;
    line-height: 120%; /* home.css: 25px */
    color: #F5F5F5;
    margin-bottom: 0;
    max-width: 582px;
    margin-left: 0;
    margin-right: auto;
}

/* Figma: Hero pagination bar 51×4px, active segment 19px, 8px gap from slider */
.khan-hero-wrapper .khan-hero-dots {
    position: absolute;
    bottom: 8px; /* Figma: 8px gap between slider and dots */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 51px;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 56px;
    padding: 0;
    z-index: 10;
}

.khan-hero-wrapper .khan-hero-dot {
    width: 19px !important;
    height: 4px !important;
    border-radius: 56px !important;
    background: transparent !important;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}

.khan-hero-wrapper .khan-hero-dot.active {
    background: #000 !important;
    width: 19px !important;
}

/* Figma: Hero arrows 40×70px, rounded left 8px, translucent, blur, shadow */
.khan-hero-wrapper .khan-hero-arrow {
    width: 40px !important;
    height: 70px !important;
    border-radius: 8px 0 0 8px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(1px);
    box-shadow: 0 2px 6px rgba(20, 23, 28, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.khan-hero-wrapper .khan-hero-arrow--next {
    border-radius: 0 8px 8px 0 !important;
}

/* Shop By Category – tokens */
.khan-category-tiles--3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px; /* home.css/SVG: tiles at 0, 398.67, 797.33 with width 382.67 = 16px gap */
}

.khan-category-tile {
    position: relative;
    height: 470px; /* home.css: category tile */
    overflow: hidden;
    border-radius: 12px;
}

/* Figma 1:1580: gradient overlay bottom 73px for category name readability */
.khan-category-tile::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 73px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    z-index: 1;
    pointer-events: none;
}

.khan-category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.khan-category-tile:hover img {
    transform: scale(1.05);
}

.khan-category-text-overlay {
    position: absolute;
    bottom: var(--khan-spacing-lg);
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.khan-category-name {
    font-family: var(--khan-font-serif);
    font-size: 24px;
    margin-bottom: var(--khan-spacing-xs);
}

/* New Arrivals – Figma 1:1633: Section py-48; inner box #F2F2F2, p-45, rounded-12; row gap-16; left 316px */
.khan-home section.khan-new-arrivals-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    min-height: 513px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-container {
    padding: 45px !important;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background: #F2F2F2;
    border-radius: 12px;
}
/* Force LTR so text stays left, carousel right (matches Figma when site is RTL) */
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-row {
    /* display: flex; */
    /* flex-wrap: wrap; */
    gap: 24;
    margin-left: 32 !important;
    margin-right: 32 !important;
}
/* Figma: left column fixed 316px, pt 90px, pb 18.243px, gap 24px (title → subtitle → button) */
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-left {
    flex: 0 0 316px;
    max-width: 316px;
    padding-top: 90px !important;
    padding-bottom: 18.243px !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-carousel-col {
    flex: 1 1 auto;
    min-width: 0;
}
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-title {
    margin-bottom: 2.28px !important;
}
.khan-home section.khan-new-arrivals-section .khan-new-arrivals-subtitle {
    margin-bottom: 0 !important;
}
/* Figma: SHOP NOW button Readex Pro Medium 20.8px */
.khan-home section.khan-new-arrivals-section .khan-btn-solid {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20.8px !important;
}
@media (max-width: 991px) {
    .khan-home section.khan-new-arrivals-section .khan-new-arrivals-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 0 !important;
    }
}

/* Figma New Arrivals cards (1:1644): 244×423px, shadow -1px 3px 22px rgba(65,89,96,0.02), name strip px 8.399 12 */
.khan-new-arrivals-section .aiz-card-box {
    width: 244px;
    max-width: 244px;
    min-height: 423px;
    height: 423px;
    border-radius: 12px;
    box-shadow: -1px 3px 22px rgba(65, 89, 96, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
    background: #fff;
}
.khan-new-arrivals-section .aiz-card-box .position-relative:first-child {
    height: 375px;
    min-height: 375px;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}
.khan-new-arrivals-section .aiz-card-box .position-relative:first-child .img-fit,
.khan-new-arrivals-section .aiz-card-box .position-relative:first-child img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.khan-new-arrivals-section .aiz-card-box .p-2.p-md-3,
.khan-new-arrivals-section .aiz-card-box > .p-2 {
    padding: 12px 8.399px !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    background: #fff;
}
.khan-new-arrivals-section .aiz-card-box h2 a,
.khan-new-arrivals-section .aiz-card-box h3 a,
.khan-new-arrivals-section .aiz-card-box .fw-600.fs-16,
.khan-new-arrivals-section .aiz-card-box .fs-14 .fw-600 {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 23.516px !important;
    color: #292933 !important;
    text-align: center !important;
}
/* Figma: card shows only product name – hide description, price, swatches, badges, wishlist */
.khan-new-arrivals-section .aiz-card-box .product_dec,
.khan-new-arrivals-section .aiz-card-box .fs-14,
.khan-new-arrivals-section .aiz-card-box .fs-12,
.khan-new-arrivals-section .aiz-card-box div.fs-14.d-flex,
.khan-new-arrivals-section .aiz-card-box .fs-12.text-success,
.khan-new-arrivals-section .aiz-card-box .khan-color-swatches {
    display: none !important;
}
.khan-new-arrivals-section .aiz-card-box .khan-price-row {
    display: none !important;
}
.khan-new-arrivals-section .aiz-card-box .khan-badge,
.khan-new-arrivals-section .aiz-card-box .khan-wishlist-icon,
.khan-new-arrivals-section .aiz-card-box .custom-p-icon {
    display: none !important;
}
/* Figma: 16px gap between New Arrivals cards */
.khan-new-arrivals-section .aiz-carousel .carousel-box {
    /* Horizontal gap between cards */
    padding: 0 24px !important;
}
.khan-new-arrivals-section .aiz-carousel .slick-list {
    margin: 0 -24px;
}
.khan-new-arrivals-section .aiz-carousel .slick-slide {
    padding: 0 24px;
}
/* Figma: arrows 40px white circle, shadow 0px 2px 6px rgba(20,23,28,0.1) */
.khan-new-arrivals-section .aiz-carousel .slick-arrow {
    box-shadow: 0 2px 6px rgba(20, 23, 28, 0.1) !important;
    /* Pull arrows closer to first/last card, not far outside the grey box */
    top: 50%;
}
.khan-new-arrivals-section .aiz-carousel .slick-prev {
    left: -10px !important;
    right: auto !important;
}
.khan-new-arrivals-section .aiz-carousel .slick-next {
    right: -10px !important;
    left: auto !important;
}

/* Figma: "New Arrivals" – Fine Art 32px; gap to subtitle 2.28px */
.khan-new-arrivals-title {
    font-family: var(--khan-font-serif) !important;
    font-weight: 400 !important;
    font-size: 32px !important;
    line-height: 100% !important;
    color: #000000 !important;
    margin-bottom: 2.28px !important;
}
/* Figma: "Stay ahead of the style curve..." – Readex Pro 300, 18px, line-height 150%, #000000 */
.khan-new-arrivals-subtitle {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 150% !important;
    color: #000000 !important;
    margin-top: 0 !important;
}

/* Other sections using .bg-white (e.g. hidden Best Sellers) – keep grey card style */
.khan-home section.py-5.bg-white:not(.khan-new-arrivals-section) {
    background: /*#F2F2F2*/ transparent !important;
    border-radius: 12px;
    padding: var(--khan-spacing-lg);
    min-height: 513px !important;
}

/* Most Popular – from Figma node 1:1692 (figma-mp-* only).
   Section: .figma-mp-section (grey #F2F2F2, horizontal padding defines section start/end).
   Container: .figma-mp-container (max-width 1180px, centered). Cards live inside carousel. */
.figma-mp-section {
    width: 100%;
    box-sizing: border-box;
    background: /*#F2F2F2*/ transparent;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
}
@media (min-width: 1400px) {
    .figma-mp-section {
        padding-left: 130px;
        padding-right: 130px;
    }
}
.figma-mp-container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    overflow: hidden;
}
.figma-mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.figma-mp-title {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 28.8px;
    line-height: 34.56px;
    color: #222029;
    margin: 0;
}
.figma-mp-view-all {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #020202;
    text-decoration: underline;
}
.figma-mp-view-all:hover {
    color: #020202;
    opacity: 0.8;
}
.figma-mp-section .figma-mp-container {
    width: 100%;
}
.figma-mp-carousel {
    width: 100%;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}
.figma-mp-carousel .slick-list {
    display: block !important;
    overflow: hidden;
}
.figma-mp-carousel .slick-track {
    display: flex !important;
}
.figma-mp-carousel .slick-slide {
    display: block !important;
    height: auto;
}
.figma-mp-carousel .slick-slide > div {
    display: block !important;
    width: 100%;
}
.figma-mp-carousel .slick-arrow {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #E8E8E8 !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    z-index: 2;
}
.figma-mp-carousel .slick-arrow:before {
    color: #222029 !important;
    opacity: 1;
}
.figma-mp-carousel .slick-arrow:hover {
    background: #D8D8D8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}
.figma-mp-carousel .slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.figma-mp-carousel .slick-prev { left: 12px !important; right: auto !important; }
.figma-mp-carousel .slick-next { right: 12px !important; left: auto !important; }
.figma-mp-carousel .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 6px;
}
.figma-mp-carousel .slick-dots li {
    margin: 0;
}
.figma-mp-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #B0B0B0;
    font-size: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.figma-mp-carousel .slick-dots li.slick-active button {
    background: #222029;
    transform: scale(1.15);
}
.figma-mp-carousel .slick-list {
    margin: 0 -12px !important;
    overflow: hidden;
}
.figma-mp-carousel .slick-slide {
    padding: 0 12px !important;
    height: auto;
    box-sizing: border-box !important;
}
.figma-mp-carousel .slick-slide > div {
    box-sizing: border-box !important;
}
.figma-mp-carousel .carousel-box {
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

/* Card fills slide content area so slide padding creates visible gap between cards */
.figma-mp-carousel .figma-mp-item {
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 12px;
    box-shadow: -1px 3px 22px rgba(65, 89, 96, 0.02);
    display: block;
}

.figma-mp-item {
    width: 100%;
    max-width: 283px;
    min-width: 283px;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: -1px 3px 22px rgba(65, 89, 96, 0.02);
    display: block;
}
.figma-mp-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #FFFFFF;
}
.figma-mp-card-image {
    position: relative;
    height: 370px;
    min-height: 370px;
    flex-shrink: 0;
    overflow: hidden;
}
.figma-mp-card-image-link {
    display: block;
    height: 100%;
}
.figma-mp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.figma-mp-badge-exclusive {
    position: absolute;
    left: 8px;
    top: 8px;
    background: #212121;
    color: #FFFFFF;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    padding: 4px 6px;
    border-radius: 6px;
}
.figma-mp-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}
.figma-mp-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 7.529px;
    border: none;
    background: #FFFFFF;
    border-radius: 7.529px;
    box-shadow: 0 3.765px 7.529px -1.882px rgba(16, 24, 40, 0.1), 0 1.882px 3.765px -1.882px rgba(16, 24, 40, 0.06);
    cursor: pointer;
}
.figma-mp-wishlist-btn svg { display: block; }
.figma-mp-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 14px;
    background: #FFFFFF;
    align-items: flex-start;
    text-align: left;
}
.figma-mp-card-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
}
.figma-mp-card-title {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22.4px;
    color: #212121;
    display: block;
    text-decoration: none;
    text-align: left;
}
.figma-mp-card-title:hover { color: #212121; opacity: 0.8; }
.figma-mp-card-desc {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #68656e;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
.figma-mp-price-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
}
.figma-mp-price-current {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: #000000;
}
.figma-mp-price-del {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #1b1b28;
    opacity: 0.5;
    text-decoration: line-through;
}
.figma-mp-discount {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: #0DAC57;
}
.figma-mp-swatches {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    height: 24px;
    padding: 2px 0;
}
.figma-mp-swatch {
    width: 24px;
    height: 24px;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
    flex-shrink: 0;
}

/* SHOP All / See All link (Shop By Category and others; Most Popular uses .figma-mp-view-all) */
.khan-section-view-all {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 150% !important;
    color: #020202 !important;
    text-decoration: underline !important;
}
.khan-section-view-all:hover {
    color: #020202 !important;
    opacity: 0.8;
}

/* Best Sellers – same full card as Most Popular (Figma); mirror Most Popular styles */
.khan-best-sellers-section {
    background: transparent; /* Figma: light grey card background */
    width: 100%;
    box-sizing: border-box;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
}
.khan-best-sellers-section.py-5 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}
@media (min-width: 1400px) {
    .khan-best-sellers-section {
        padding-left: 130px;
        padding-right: 130px;
    }
}
.khan-best-sellers-section > .container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}
.khan-best-sellers-section .khan-section-title.mb-4 {
    margin-bottom: 12px !important;
}

.khan-best-sellers-section .row.gutters-20 {
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 16px;
}
.khan-best-sellers-section .row.gutters-20 > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
.khan-best-sellers-section .row.gutters-20 > [class*="col-"].mb-4 {
    margin-bottom: 16px !important;
}

.khan-best-sellers-section .aiz-card-box--best-sellers {
    max-width: 283px;
    width: 100%;
    border-radius: 12px;
    box-shadow: -1px 3px 22px rgba(65, 89, 96, 0.02);
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.khan-best-sellers-section .khan-bs-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
[dir="rtl"] .khan-best-sellers-section .khan-bs-badges {
    left: 8px;
    right: auto;
}
.khan-best-sellers-section .khan-bs-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 6px;
    border-radius: 6px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}
.khan-best-sellers-section .khan-bs-pill--dark {
    background: #212121;
    color: #FFFFFF;
}
.khan-best-sellers-section .khan-bs-pill--soldout {
    background: #FF0000;
    color: #FFFFFF;
}
.khan-best-sellers-section .khan-bs-pill--back {
    background: #34c759;
    color: #FFFFFF;
}
.khan-best-sellers-section .khan-bs-pill__icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .position-relative:first-child {
    height: 370px;
    min-height: 370px;
    flex-shrink: 0;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .position-relative:first-child .img-fit,
.khan-best-sellers-section .aiz-card-box--best-sellers .position-relative:first-child img {
    height: 100%;
    object-fit: cover;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .p-2.p-md-3,
.khan-best-sellers-section .aiz-card-box--best-sellers > .p-2 {
    padding: 8px 12px !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #FFFFFF !important;
    align-items: center;
    text-align: center;
}

/* Best Sellers: keep wishlist pinned to top-right even in RTL */
.khan-best-sellers-section .khan-wishlist-icon,
.khan-best-sellers-section .absolute-top-right {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
}
[dir="rtl"] .khan-best-sellers-section .khan-wishlist-icon,
[dir="rtl"] .khan-best-sellers-section .absolute-top-right {
    right: 8px !important;
    left: auto !important;
}

/* Best Sellers CTA (Figma: 215×57, radius 9.121, bg #020202, Readex Medium 20.8) */
.khan-best-sellers-section .khan-bs-cta {
    background: #020202 !important;
    color: #FFFFFF !important;
    width: 215px !important;
    height: 57px !important;
    border-radius: 9.1215px !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20.8px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers h2 a,
.khan-best-sellers-section .aiz-card-box--best-sellers h3 a,
.khan-best-sellers-section .aiz-card-box--best-sellers .fw-600.fs-16 {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 23.516px !important;
    color: #292933 !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers h3.fw-600.fs-16 a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important; /* Stable wrapping like Figma */
    line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .product_dec {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #68656e !important;
    display: block !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-14.d-flex .fw-600,
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-14 .fw-600,
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-14.d-flex .text-primary {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #000000 !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .khan-price-row {
    gap: 4px !important; /* Figma gap */
    padding-top: 2px;
    padding-bottom: 2px;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .khan-price-discount {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #0DAC57 !important; /* Figma Success/500 */
    background: none !important;
    border: none !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-14.d-flex .text-secondary,
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-14 del {
    font-size: 14px !important;
    color: #1b1b28 !important;
    opacity: 0.5;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .fs-12.text-success {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #0dac57 !important;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .khan-color-swatches {
    gap: 4px;
    height: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.khan-best-sellers-section .aiz-card-box--best-sellers .khan-color-dot {
    width: 24px !important;
    height: 24px !important;
    border-radius: 20px !important;
    border-color: #e3e3e3 !important;
}

/* Best Sellers – responsive tweaks */
@media (max-width: 991.98px) {
    .khan-best-sellers-section .row.gutters-20 {
        row-gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .khan-best-sellers-section .aiz-card-box--best-sellers {
        max-width: 100%;
    }
}

/* Most Popular & Carousel Cards */
.aiz-carousel .carousel-box {
    border: none !important;
    padding: 0 15px; /* Gap between cards - adjust based on SVG */
}

/* Hide Best Sellers Section (Filter Tabs) */
.khan-home section.py-5.bg-white .khan-filter-tabs-custom {
    display: none !important;
}

/* Hide other sections that contain filter tabs; Best Sellers section (.khan-best-sellers-section) is shown */
.khan-home section.py-5.bg-white:has(ul.khan-filter-tabs-custom):not(.khan-best-sellers-section) {
    display: none !important;
}

/* All Sections - Height, Size, Arrows & Stepper */
.khan-home section.py-5 .aiz-carousel {
    position: relative;
}

/* All Sections Product Cards - Height & Size */
.khan-home section.py-5:not(.bg-white) .aiz-card-box {
    height: auto;
    min-height: 500px; /* Adjust height as needed */
    max-width: 100%;
}

.khan-home section.py-5:not(.bg-white) .aiz-card-box .img-fit {
    height: 350px; /* Adjust image height */
    min-height: 350px;
    object-fit: cover;
}

/* Collections We Love – Figma 1:2162: card image 540px, caption below (Readex Medium 16px #292933) */
.khan-collections-section {
    width: 100%;
    box-sizing: border-box;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 24px;
    padding-right: 24px;
    background: transparent;
    overflow: hidden;
}
.khan-collections-section.py-5 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}
@media (min-width: 1400px) {
    .khan-collections-section {
        padding-left: 130px;
        padding-right: 130px;
    }
}
.khan-collections-section > .container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.khan-collections-section .khan-collection-card {
    display: block;
    max-width: 364.444px;
    margin: 0 auto;
    width: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}
.khan-collections-section .khan-collection-card__img-wrap {
    height: 540px;
    min-height: 540px;
    overflow: hidden;
    border-radius: 11.429px;
    background: #e6e4e4;
}
.khan-collections-section .khan-collection-card__img-wrap img {
    height: 100% !important;
    width: 100%;
    max-height: none;
    display: block;
    object-fit: cover;
}
.khan-collections-section .khan-collection-card__caption {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #292933;
    padding: 7.619px 7.999px;
    text-align: center;
    background: transparent;
}
.khan-collections-section .khan-collection-card:hover .khan-collection-card__caption {
    color: #020202;
}

/* Figma: Collections section title Readex Pro 500 28.8px #222029; 16px gap between cards */
.khan-collections-section .khan-section-title {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 28.8px;
    line-height: 34.56px;
    color: #222029;
    margin-bottom: 24px !important; /* Figma gap between title and cards */
}
/* Figma 1:2162: arrows left -39px, right -40px */
.khan-collections-section .aiz-carousel .slick-prev {
    left: -39px !important;
}
.khan-collections-section .aiz-carousel .slick-next {
    right: -40px !important;
}
.khan-collections-section .aiz-carousel .slick-prev,
.khan-collections-section .aiz-carousel .slick-next {
    width: 40px !important;
    height: 40px !important;
    top: 328.5px !important; /* Figma: centered on 667px frame content */
    transform: translateY(0) !important;
}

/* Figma: left arrow is a faint icon (20% opacity), no circle */
.khan-collections-section .aiz-carousel .slick-prev {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0.2 !important;
}
.khan-collections-section .aiz-carousel .slick-prev:hover {
    opacity: 0.35 !important;
}
.khan-collections-section .aiz-carousel .slick-prev i,
.khan-collections-section .aiz-carousel .slick-prev:before {
    color: #222029 !important;
    opacity: 1 !important;
}

/* Figma: right arrow is a white circle with subtle shadow */
.khan-collections-section .aiz-carousel .slick-next {
    background: #FFFFFF !important;
    border-radius: 750px !important;
    box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1), 0 3px 1px 0 rgba(20, 23, 28, 0.1) !important;
    opacity: 1 !important;
}
.khan-collections-section .aiz-carousel .slick-next:hover {
    box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.14), 0 3px 6px 0 rgba(20, 23, 28, 0.12) !important;
}
.khan-collections-section .aiz-carousel .slick-next i,
.khan-collections-section .aiz-carousel .slick-next:before {
    color: #222029 !important;
    opacity: 1 !important;
}
.khan-collections-section .aiz-carousel .carousel-box {
    padding: 0 16px !important;
}
.khan-collections-section .aiz-carousel .slick-list {
    margin: 0 -16px;
}
.khan-collections-section .aiz-carousel .slick-slide {
    padding: 0 16px;
}

@media (max-width: 768px) {
    .khan-collections-section .khan-collection-card__img-wrap {
        height: 400px;
        min-height: 400px;
    }

    .khan-collections-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Legacy: other section carousels with overlay (keep for non-collections) */
.khan-home section.py-5 .aiz-carousel .carousel-box a.position-relative {
    height: 540px !important;
    min-height: 540px;
    max-height: 540px;
    display: block;
    overflow: hidden;
    border-radius: 11.4286px !important;
    max-width: 364.444px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .khan-home section.py-5 .aiz-carousel .carousel-box a.position-relative {
        height: 400px !important;
        min-height: 400px;
        max-height: 400px;
    }
}

.khan-home section.py-5 .aiz-carousel .carousel-box a.position-relative img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

.khan-home section.py-5 .aiz-carousel .carousel-box .position-absolute {
    bottom: 20px;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.khan-home section.py-5 .aiz-carousel .carousel-box .position-absolute h3 {
    font-family: var(--khan-font-serif);
    font-size: 24px;
    margin: 0;
}

/* Footer – Figma design tokens (node 1:2227) */
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-heading-11 {
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1;
    color: #e4e4e4 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-hr {
    border: 0;
    border-top: 1px solid #404043 !important;
    margin: 0;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-col-heading {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    color: #fff !important;
    text-transform: none;
    margin-bottom: 12px !important;
    letter-spacing: 0;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-list li {
    margin: 0;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-link {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #fff !important;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-link:hover {
    opacity: 1;
    color: #fff !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-brand-row {
    padding-top: 21px !important;
    padding-bottom: 21px !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-logo-text {
    font-family: var(--khan-font-serif, 'Fine Art Sans Serif', serif) !important;
    font-size: 44.07px !important;
    font-weight: 400 !important;
    color: #fff !important;
    letter-spacing: 0;
    margin-bottom: 15px !important;
    line-height: 1.2;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-tagline {
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 10.875px !important;
    line-height: 13.8px !important;
    color: #e4e4e4 !important;
    max-width: 378px;
    margin: 0 auto !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-row {
    border-top: 1px solid #404043 !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 0;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-left: 1px solid #404043;
    padding-left: 21px;
}
@media (max-width: 991.98px) {
    .khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-inner {
        justify-content: center;
    }
    .khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-right {
        border-left: none;
        padding-left: 0;
        justify-content: center;
    }
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-text {
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 13px !important;
    color: #e4e4e4 !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-link,
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-right a {
    color: #848484 !important;
    text-decoration: underline;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-link:hover,
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-right a:hover {
    color: #b0b0b0 !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-muted {
    color: #848484 !important;
}
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright-divider {
    color: #404043;
    font-weight: 300;
}

/* Footer Fixes - Icons, Logo, Subscribe Button */
/* Footer Social Icons - Proper spacing and size (Figma Design) */
.khan-footer-socials {
    display: flex !important;
    align-items: center;
    gap: 16px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 992px) {
    /* Figma: 40px between icons on desktop */
    .khan-footer-socials {
        gap: 40px !important;
    }
}

.khan-footer-socials li {
    margin: 0 !important;
    padding: 0;
    display: inline-block;
    line-height: 1;
}

.khan-footer-socials li.list-inline-item {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.khan-footer-socials a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s;
    line-height: 1;
    opacity: 0.8; /* Figma: 80% */
}

.khan-footer-socials a:hover {
    opacity: 0.7;
}

.khan-footer-socials i {
    font-size: 24px !important;
    line-height: 1 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}

.khan-footer-socials .khan-icon-inline {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Footer logo text uses .khan-footer-logo-text (Fine Art 44px) – see .khan-footer-logo-text above */

/* Footer Subscribe Section - Figma Design (node 1:2227) */
.khan-footer-wrapper-home .khan-footer-newsletter-row {
    padding-top: 38px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #404043 !important;
}
@media (min-width: 992px) {
    .khan-footer-wrapper-home .khan-footer-dark .khan-footer-top-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .khan-footer-wrapper-home .khan-footer-dark .khan-footer-socials {
        gap: 40px !important; /* Figma: pl-[40px] between icons */
    }
}
.khan-footer-wrapper-home .khan-footer-links-row {
    padding-top: 41px !important;
    padding-bottom: 41px !important;
}
.khan-footer-wrapper-home .khan-footer-links-row .khan-footer-col {
    max-width: 223px;
}

/* home.css: footer newsletter – Input 430×51, border-radius 14px, border #404043, bg rgba(255,255,255,0.137) */
.khan-footer-newsletter-form {
    display: flex !important;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 430px; /* home.css: Form width 430px */
}

.khan-footer-input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.137) !important; /* home.css */
    border: 1px solid #404043 !important; /* home.css */
    color: #fff !important;
    height: 51px !important; /* home.css: Input height 51px */
    padding: 18px 110px 18px 16px !important; /* room for button inside */
    font-size: 12.2891px !important; /* home.css: Inter 12.2891px */
    border-radius: 14px !important; /* home.css */
    transition: all 0.3s;
}

.khan-footer-input:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #606063 !important;
    outline: none;
    box-shadow: none;
}

.khan-footer-input::placeholder {
    color: #757575 !important; /* home.css */
}

/* home.css: Subscribe button – 91.9×40, border-radius 8px, bg #FFFFFF (Figma), must override .btn */
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-newsletter-form .khan-footer-subscribe-btn,
.khan-footer-wrapper-home .khan-footer-dark .khan-footer-newsletter-form button.khan-footer-subscribe-btn,
.btn.khan-footer-subscribe-btn {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: none !important;
    height: 40px !important;
    padding: 0 10px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    white-space: nowrap;
    transition: all 0.3s;
    cursor: pointer;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 91.9px;
}

.khan-footer-wrapper-home .khan-footer-dark .khan-footer-newsletter-form .khan-footer-subscribe-btn:hover,
.btn.khan-footer-subscribe-btn:hover {
    background: #f0f0f0 !important;
    color: #000 !important;
}

/* All Sections Slider Arrows */
.khan-home section.py-5 .aiz-carousel .slick-arrow {
    display: block !important;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.khan-home section.py-5 .aiz-carousel .slick-arrow:before {
    color: #000 !important;
    font-size: 18px;
    opacity: 1;
    font-weight: bold;
}

.khan-home section.py-5 .aiz-carousel .slick-prev {
    left: -20px;
}

.khan-home section.py-5 .aiz-carousel .slick-next {
    right: -20px;
}

.khan-home section.py-5 .aiz-carousel .slick-arrow:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    background: #fff !important;
}

.khan-home section.py-5 .aiz-carousel .slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* All Sections Slider Dots (Stepper) */
.khan-home section.py-5 .aiz-carousel .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    text-align: center;
}

.khan-home section.py-5 .aiz-carousel .slick-dots li {
    margin: 0 4px;
}

.khan-home section.py-5 .aiz-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
}

.khan-home section.py-5 .aiz-carousel .slick-dots li.slick-active button {
    background: #000;
}

/* Gap between product cards - From SVG measurements */
.khan-home .aiz-carousel .slick-list {
    margin: 0 -15px; /* Negative margin to offset padding */
}

.khan-home .aiz-carousel .slick-slide {
    padding: 0 15px; /* Gap between slides */
}

.product-box {
    box-shadow: none !important;
}

.product-box:hover {
    box-shadow: none !important;
}

/* Product Card Size - From SVG: rect width="390" height="551" (exclude Best Sellers: same full card as Most Popular) */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box {
    width: 100%;
    max-width: 390px; /* From SVG */
    height: auto;
    min-height: 551px; /* From SVG */
    padding: 0 !important;
    margin: 0;
}

.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .img-fit {
    height: auto;
    min-height: 390px;
    max-height: 502px; /* Calculated: 551px (card) - 24px (padding) - 25px (text) ≈ 502px */
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* Hide all elements except image and name (exclude Best Sellers: full card per Figma) */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .product_dec,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .fs-14.d-flex,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .khan-color-swatches,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .fs-12.text-success,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .custom-p-icon,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .cart-btn,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .khan-badge,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .absolute-top-left,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .absolute-top-right {
    display: none !important;
}

/* Remove empty space and add padding like SVG design */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0 !important;
}

/* Remove gap between image container and name */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .position-relative {
    flex: 1;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .position-relative + .p-2.p-md-3,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box > .p-2.p-md-3 {
    margin-top: 0 !important;
    padding-top: 0.75rem !important; /* Keep only top padding for name */
}

/* Ensure image container has no bottom margin/padding */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .position-relative img,
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .position-relative a {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block;
}

/* Keep only product name visible with proper padding from SVG */
.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box .p-2.p-md-3 {
    padding: 0.75rem 1rem !important; /* Padding from SVG design */
    text-align: center;
    margin: 0 !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.khan-home section.py-5.bg-white:not(.khan-best-sellers-section) .aiz-card-box h3.fw-600.fs-16 {
    margin: 0 !important;
    padding: 0;
    line-height: 1.4;
}

/* Slider Arrows - Show arrows with white circular background and black icons */
.khan-home section.py-5.bg-white .aiz-carousel {
    position: relative;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-arrow {
    display: block !important;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-arrow:before {
    color: #000 !important;
    font-size: 18px;
    opacity: 1;
    font-weight: bold;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-prev {
    left: -20px;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-next {
    right: -20px;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-arrow:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    background: #fff !important;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-arrow.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Slider Dots - Below carousel */
.khan-home section.py-5.bg-white .aiz-carousel .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    text-align: center;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-dots li {
    margin: 0 4px;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
}

.khan-home section.py-5.bg-white .aiz-carousel .slick-dots li.slick-active button {
    background: #000;
}

/* Best Sellers - Filter Tabs – token-aligned */
.khan-filter-tabs-custom {
    display: flex;
    justify-content: center;
    gap: var(--khan-spacing-lg);
    margin-bottom: var(--khan-spacing-lg);
    list-style: none;
    padding: 0;
}

.khan-filter-tabs-custom li a {
    color: var(--khan-muted);
    font-family: var(--khan-font-sans);
    text-transform: uppercase;
    font-size: var(--khan-font-size-sm);
    padding-bottom: var(--khan-spacing-xs);
    border-bottom: 2px solid transparent;
}

.khan-filter-tabs-custom li a.active,
.khan-filter-tabs-custom li a:hover {
    color: var(--khan-color-primary);
    border-bottom-color: var(--khan-color-primary);
}

/* Container – home.css Frame 1171276846: 1180px on home (do not override with design-system 1280px) */
@media (min-width: 1400px) {
    .khan-home .container {
        max-width: 1180px;
    }
}

/* Color Swatches - From SVG: width="23" height="23" rx="11.5" */
.khan-color-swatches {
    gap: 6px;
    height: 23px; /* From SVG: height="23" */
    /* Fixed height to prevent layout shift */
}

.khan-color-dot {
    width: 23px !important; /* From SVG: width="23" */
    height: 23px !important; /* From SVG: height="23" */
    border-radius: 11.5px !important; /* From SVG: rx="11.5" */
    border: 1px solid var(--khan-border);
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.khan-color-dot:hover {
    transform: scale(1.2);
    border-color: var(--khan-color-primary);
}

/* Price Badge - From SVG: width="70" height="28" rx="6" fill="#212121" */
.khan-home section.py-5:not(.bg-white) .aiz-card-box .fs-14.d-flex,
.khan-home section.py-5:not(.bg-white) .aiz-card-box .fs-12.text-success {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 70px; /* From SVG: width="70" */
    height: 28px !important; /* From SVG: height="28" */
    border-radius: 6px !important; /* From SVG: rx="6" */
    background: #212121 !important; /* From SVG: fill="#212121" */
    color: #fff !important;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
}

/* home.css: footer -destop – 1180px, padding 0 130px, gap 41px, border-top #404043 */
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 130px !important;
    gap: 41px; /* home.css: Frame 1171276809 gap 41px */
    border-top: 1px solid #404043;
    background: radial-gradient(107.2% 277.63% at 100% -4950%, #1C1C1E 0%, #000000 100%) !important;
}
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark .container {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* home.css: footer logo KHAN&CO. – Fine Art 44.0677px, line-height 45px, #FFFFFF */
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark h4 {
    font-family: var(--khan-font-serif) !important;
    font-weight: 400 !important;
    font-size: 44.0677px !important;
    line-height: 45px !important;
    color: #FFFFFF !important;
}
/* home.css: footer tagline – Readex Pro 400, 10.875px, line-height 14px, #E4E4E4, lowercase, center */
body.khan-home-page .khan-footer-wrapper-home .khan-footer-tagline,
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark p.text-muted {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 10.875px !important;
    line-height: 14px !important;
    color: #E4E4E4 !important;
    text-transform: lowercase;
    text-align: center;
}
/* home.css: newsletter row headings only – Nunito Sans 11px; column headings use .khan-footer-col-heading (Readex Pro) */
body.khan-home-page .khan-footer-wrapper-home .khan-footer-newsletter-row .khan-footer-heading-11 {
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    color: #E4E4E4 !important;
}
body.khan-home-page .khan-footer-wrapper-home .khan-footer-newsletter-row,
body.khan-home-page .khan-footer-wrapper-home .khan-footer-links-row {
    gap: 41px; /* home.css: footer sections gap 41px */
}
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark .khan-footer-socials {
    gap: 16px !important;
}
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark .khan-footer-copyright,
body.khan-home-page .khan-footer-wrapper-home .khan-footer-dark .khan-footer-contact {
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    line-height: 15px !important;
    color: #E4E4E4 !important;
}

/* ========== SVG values audit (v/992b18a5-17a5-4dd3-bd6e-7532f49a72b0.svg) ==========
 * Extracted from Figma export rects; all implemented in this file:
 * Page: 1440×6810.8 #FAFAFA; Header: 1440×161 white, 1440×31 black; Container: 1180;
 * Announcement: 1180×180 rx12; Hero: 1180×560 rx12; Button: 215×57 rx9.1215;
 * Dots: 19×4 rx2 black; New Arrivals: 1180×513 rx12 #F2F2F2; Collections: 364.444×540 rx11.4286;
 * Product card: 390×551; Swatches: 23×23 rx11.5; Price badge: 70×28 rx6 #212121.
 * SVG file is design reference only (not embedded on page). */

/* The Crown popup */
body.the-crown-popup-open {
    overflow: hidden;
}

.the-crown-popup {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    direction: ltr;
}

.the-crown-popup.is-hidden {
    display: none;
}

.the-crown-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.55);
}

.the-crown-popup__dialog {
    position: relative;
    width: min(100%, 700px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    direction: rtl;
    margin-left: auto;
    margin-right: auto;
}

.the-crown-popup__close {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(2px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.the-crown-popup__close-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.the-crown-popup__hero {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #111111;
}

.the-crown-popup__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.the-crown-popup__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.the-crown-popup__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.2) 100%);
}

.the-crown-popup__hero-title {
    position: absolute;
    top: 14px;
    left: 56px;
    right: 56px;
    z-index: 2;
    margin: 0;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-align: right;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.the-crown-popup__hero-title-text,
.the-crown-popup__hero-title-text .the-crown-popup__latin {
    color: #ffffff;
}

.the-crown-popup__body {
    padding: 22px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.the-crown-popup__state {
    width: 100%;
    display: none;
}

.the-crown-popup__state.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.the-crown-popup__copy {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 6px;
    text-align: center;
}

.the-crown-popup__copy--reward {
    max-width: 460px;
    padding-top: 4px;
}

.the-crown-popup__title {
    margin: 0;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.34;
    color: #000000;
    letter-spacing: -0.01em;
}

.the-crown-popup__latin {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.the-crown-popup__subtitle {
    margin: 14px 0 0;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: #424242;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__copy {
    max-width: 466px;
    padding-top: 8px;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__title {
    font-size: 20px;
    line-height: 1.3;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__subtitle {
    margin-top: 12px;
    font-size: 16px;
    max-width: 408px;
}

.the-crown-popup__title--reward {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
}

.the-crown-popup__subtitle--reward {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.5;
    color: #424242;
    text-align: center;
}

.the-crown-popup__tier-meta,
.the-crown-popup__tier-copy {
    margin: 0;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #424242;
    text-align: center;
}

.the-crown-popup__tier-meta {
    margin-top: 8px;
    font-size: 16px;
}

.the-crown-popup__tier-copy {
    max-width: 536px;
    margin-top: 14px;
}

.the-crown-popup__form {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36px;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__form {
    margin-top: 28px;
}

.the-crown-popup__label {
    display: block;
    margin-bottom: 8px;
    text-align: right;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #222029;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__label {
    margin-bottom: 10px;
    font-size: 15px;
}

.the-crown-popup__field-shell {
    width: 100%;
}

.the-crown-popup__field {
    position: relative;
    height: 60px;
    border: 1px solid #c2c1c9;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.the-crown-popup__country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.the-crown-popup__flag {
    width: 23px;
    height: 16px;
    display: block;
    border: 1px solid rgba(34, 32, 41, 0.08);
    border-radius: 1px;
    overflow: hidden;
}

.the-crown-popup__flag.is-ae {
    background:
        linear-gradient(90deg, #dc251c 0 31%, transparent 31% 100%),
        linear-gradient(180deg, #2b9f5a 0 33.33%, #f5f8fb 33.33% 66.66%, #222029 66.66% 100%);
}

.the-crown-popup__flag.is-sa {
    background-color: #006c35;
    background-image: url('../img/flags/sa.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.the-crown-popup__country-select {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.the-crown-popup__chevron {
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #7d7a86;
    border-bottom: 1.6px solid #7d7a86;
    transform: rotate(45deg) translateY(-1px);
    display: inline-block;
}

.the-crown-popup__country-label {
    font-family: 'Poppins', 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: #222029;
}

.the-crown-popup__country-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 120px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 5;
}

.the-crown-popup__country-menu-item {
    padding: 6px 14px;
    font-family: 'Readex Pro', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #222029;
    cursor: pointer;
    white-space: nowrap;
}

.the-crown-popup__country-menu-item.is-active {
    background: #f5f5f5;
    font-weight: 600;
}

.the-crown-popup__country-menu-item:hover {
    background: #f0f0f0;
}

.the-crown-popup__country.is-open .the-crown-popup__country-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.the-crown-popup__prefix {
    font-family: 'Poppins', 'Readex Pro', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    color: #222029;
    white-space: nowrap;
}

.the-crown-popup__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    font-family: 'Poppins', 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #222029;
    text-align: left;
    direction: ltr;
}

.the-crown-popup__input::placeholder {
    color: #9a97a3;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__field {
    padding: 0 20px;
    gap: 10px;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__country {
    gap: 4px;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__prefix,
.the-crown-popup__state[data-state="precheck"] .the-crown-popup__input {
    font-size: 16px;
}

.the-crown-popup__state[data-state="precheck"] .the-crown-popup__submit {
    margin-top: 16px;
}

.the-crown-popup__field-error {
    margin: 8px 0 0;
    min-height: 17px;
    text-align: right;
    font-family: 'Readex Pro', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #bf1e2e;
}

.the-crown-popup__field--focus {
    border-color: #222029;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.08);
}

.the-crown-popup__field--error {
    border-color: #bf1e2e;
    background: #fff6f7;
}

.the-crown-popup__field--success {
    border-color: #1f6f42;
    background: #f3fbf6;
}

.the-crown-popup__submit {
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 7.456px;
    background: #020202;
    color: #ffffff;
    min-height: 56px;
    padding: 16px 20px;
    font-family: 'Poppins', 'Readex Pro', sans-serif;
    font-weight: 700;
    font-size: 13.9px;
    line-height: 1.4;
    cursor: pointer;
}

.the-crown-popup__submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

.the-crown-popup__status {
    margin: 10px auto 0;
    padding: 0;
    min-height: 28px;
    max-width: 312px;
    font-family: 'Readex Pro', sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.the-crown-popup__status.is-success {
    color: #1f6f42;
}

.the-crown-popup__status.is-error {
    color: #9f221c;
}

.the-crown-popup__actions {
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
}

.the-crown-popup__promo-button {
    border: 0;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    min-height: 74px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: 0.3s ease;
    overflow: visible;
}

.the-crown-popup__promo-button:hover {
    transform: translateY(-1px);
}

.the-crown-popup__back-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(2px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.the-crown-popup__back-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.the-crown-popup[data-state="precheck"] .the-crown-popup__back-button {
    display: none;
}

.the-crown-popup__copy-toast {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    font-family: 'Readex Pro', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.the-crown-popup__copy-toast.show {
    opacity: 1;
    top: -32px;
}

.the-crown-popup__copy-toast-global {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1090;
    background: #000000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.the-crown-popup__copy-toast-global.is-visible {
    opacity: 1;
}

.the-crown-popup__promo-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 14.912px;
    line-height: 1.4;
}

.the-crown-popup__promo-main i {
    font-size: 21px;
    line-height: 1;
}

.the-crown-popup__promo-sub {
    display: block;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 300;
    font-size: 10px;
    line-height: 1.4;
    color: #bdbdbd;
}

.the-crown-popup__balance-pill {
    display: inline-block;
    margin: 16px auto 0;
    padding: 8px 14px;
    border: 1px solid #efeeee;
    border-radius: 24px;
    background: #f6f6f6;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #424242;
    text-align: center;
}

.the-crown-popup__submit--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 12px;
}

.the-crown-popup__footer {
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

.the-crown-popup__help-text {
    width: 100%;
    max-width: 288px;
    margin: 0 auto 4px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: #727272;
}

.the-crown-popup__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 2px 8px;
    color: #000000;
    text-decoration: none;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.the-crown-popup[data-state="precheck"] .the-crown-popup__help-text {
    max-width: 310px;
}

.the-crown-popup__whatsapp i {
    font-size: 21px;
    line-height: 1;
}

.the-crown-popup__whatsapp--disabled {
    opacity: 0.55;
    cursor: default;
}

.the-crown-popup__close:focus-visible,
.the-crown-popup__back-button:focus-visible,
.the-crown-popup__promo-button:focus-visible,
.the-crown-popup__submit:focus-visible,
.the-crown-popup__whatsapp:focus-visible,
.the-crown-popup__country-select:focus-visible {
    outline: 2px solid #020202;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .the-crown-popup {
        padding: 16px;
    }

    .the-crown-popup__dialog {
        width: min(100%, 390px);
        max-height: calc(100vh - 32px);
        border-radius: 20px;
        margin: 0 auto;
    }

    .the-crown-popup__close {
        top: 14px;
        left: 14px;
        width: 36px;
        height: 36px;
    }

    .the-crown-popup__back-button {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .the-crown-popup__hero {
        height: 254px;
        border-radius: 20px 20px 0 0;
    }

    .the-crown-popup__hero-title {
        top: 16px;
        left: 56px;
        right: 56px;
        font-size: 20px;
        line-height: 1.2;
    }

    .the-crown-popup__body {
        padding: 20px 16px 18px;
    }

    .the-crown-popup__state {
        max-width: 358px;
        margin: 0 auto;
    }

    .the-crown-popup__title {
        font-size: 18px;
        line-height: 1.4;
    }

    .the-crown-popup__subtitle {
        font-size: 15px;
        line-height: 1.47;
        max-width: 330px;
    }

    .the-crown-popup__state[data-state="precheck"] .the-crown-popup__title {
        font-size: 18px;
        line-height: 1.4;
    }

    .the-crown-popup__state[data-state="precheck"] .the-crown-popup__subtitle {
        font-size: 15px;
        max-width: 314px;
        margin-top: 14px;
    }

    .the-crown-popup__state[data-state="precheck"] .the-crown-popup__copy {
        max-width: 342px;
        padding-top: 0;
    }

    .the-crown-popup__title--reward {
        font-size: 18px;
        line-height: 1.4;
    }

    .the-crown-popup__subtitle--reward {
        max-width: 332px;
        font-size: 15px;
        line-height: 1.55;
    }

    .the-crown-popup__copy--reward {
        max-width: 342px;
        padding-top: 0;
    }

    .the-crown-popup__form {
        max-width: 358px;
        margin-top: 20px;
    }

    .the-crown-popup__actions {
        max-width: 358px;
        margin-top: 24px;
        gap: 12px;
    }

    .the-crown-popup__field {
        height: 60px;
        padding: 0 16px;
        gap: 10px;
        border-radius: 12px;
    }

    .the-crown-popup__promo-main {
        font-size: 14.912px;
    }

    .the-crown-popup__submit {
        min-height: 53px;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: 16px;
    }

    .the-crown-popup__promo-button {
        min-height: 70px;
        padding: 12px 16px;
        border-radius: 8px;
    }

    .the-crown-popup__tier-meta {
        font-size: 16px;
        line-height: 1.5;
    }

    .the-crown-popup__balance-pill {
        font-size: 13px;
        margin-top: 18px;
        padding: 9px 14px;
    }

    .the-crown-popup__tier-copy {
        max-width: 332px;
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.55;
    }

    .the-crown-popup__footer {
        margin-top: 24px;
    }

    .the-crown-popup__help-text {
        max-width: 300px;
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.45;
    }

    .the-crown-popup__whatsapp {
        gap: 6px;
        font-size: 15px;
    }
}