/*
Theme Name: Mỹ phẩm
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ============ CELESTIA WINE BAR STYLES ============ */
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.elementor-element.elementor-element-3016e1f,
[data-id="3016e1f"] {
    position: relative !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}
.elementor-element.elementor-element-3016e1f .elementor-background-slideshow,
.elementor-element.elementor-element-3016e1f .elementor-background-slideshow__slide,
[data-id="3016e1f"] .elementor-background-slideshow,
[data-id="3016e1f"] .elementor-background-slideshow__slide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.celestia-mobile-banner-video-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.celestia-mobile-banner-video-wrap video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: none !important;
    background: #000 !important;
    border: none !important;
}
}

/* ==========================================================================
   THE DEAD RABBIT (NYC) LUXURY MOBILE HEADER & 1PX MORPHING HAMBURGER
   - Logo luôn đứng giữa tuyệt đối (Dead Center) ở cả 2 trạng thái đóng và mở menu
   - Nút Hamburger 1px bên phải biến hình mượt mà thành dấu X (Cubic-Bezier)
   - Popup overlay mờ dần toàn màn hình phong cách The Dead Rabbit NYC
   ========================================================================== */
@media (max-width: 849px) {
    #header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 100005 !important;
        transition: background-color 380ms cubic-bezier(.4, 0, .2, 1), box-shadow 380ms ease !important;
    }
    .header-main {
        transition: background-color 380ms cubic-bezier(.4, 0, .2, 1) !important;
    }
    .header-bg-color {
        transition: opacity 380ms cubic-bezier(.4, 0, .2, 1) !important;
    }

    .header-main .header-inner {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* LOGO LUÔN ĐỨNG CHÍNH GIỮA TUYỆT ĐỐI (DEAD-CENTER) BẤT KỂ MENU MỞ HAY ĐÓNG */
    .header-main .header-inner #logo,
    .header-main .header-inner .flex-col.logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        max-width: 200px !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100004 !important;
        pointer-events: auto !important;
    }
    .header-main .header-inner #logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .header-main .header-inner #logo img.header-logo-dark {
        display: block !important;
        max-height: 38px !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    .header-main .header-inner #logo img:not(.header-logo-dark) {
        display: none !important;
    }

    /* Nút Hamburger bên góc PHẢI */
    .header-main .header-inner .flex-col.show-for-medium.flex-right {
        order: 2 !important;
        margin: 0 !important;
        margin-left: auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        width: auto !important;
        z-index: 100005 !important;
    }
    .header-main .mobile-nav.nav-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ẩn hoàn toàn desktop elements và cột thừa */
    .header-main .header-inner .hide-for-medium,
    .header-main .header-inner .flex-col.hide-for-medium,
    .header-main .header-inner .flex-col.hide-for-medium.flex-right,
    .header-main .header-inner .flex-col.hide-for-medium.flex-left,
    .header-main .header-inner .flex-left,
    .header-main .header-inner .flex-col.flex-left,
    .header-main .header-inner .flex-col.show-for-medium.flex-left {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        flex: 0 0 0% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
}

/* ==========================================================================
   NÚT HAMBURGER 1PX SIÊU MỎNG BIẾN HÌNH CHUẨN THE DEAD RABBIT NYC
   ========================================================================== */
.celestia-deadrabbit-burger,
.nav-icon.has-icon > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 100005 !important;
    -webkit-tap-highlight-color: transparent !important;
}

.celestia-deadrabbit-burger .burger-box {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 18px !important;
}

.celestia-deadrabbit-burger .burger-inner {
    position: relative !important;
    width: 26px !important;
    height: 18px !important;
}

/* 3 thanh siêu mỏng 1px - Đồng trục top: 50% để xoay biến hình không bao giờ bị giật */
.celestia-deadrabbit-burger .top-bun,
.celestia-deadrabbit-burger .patty,
.celestia-deadrabbit-burger .bottom-bun {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    margin-top: -0.75px !important;
    width: 26px !important;
    height: 1.5px !important;
    background-color: #dfb26a !important;
    border-radius: 0 !important;
    transform-origin: 50% 50% !important;
    transition: transform 380ms cubic-bezier(.2, .6, .3, 1), opacity 260ms ease, background-color 200ms ease !important;
    will-change: transform, opacity !important;
    pointer-events: none !important;
}

/* Trạng thái đóng: 3 thanh song song cách đều 7px */
.celestia-deadrabbit-burger .top-bun {
    transform: translateY(-7px) rotate(0deg) !important;
}
.celestia-deadrabbit-burger .patty {
    transform: translateY(0) scaleX(1) !important;
    opacity: 1 !important;
}
.celestia-deadrabbit-burger .bottom-bun {
    transform: translateY(7px) rotate(0deg) !important;
}

/* Hover ánh vàng vintage The Dead Rabbit */
.celestia-deadrabbit-burger:hover .top-bun,
.celestia-deadrabbit-burger:hover .patty,
.celestia-deadrabbit-burger:hover .bottom-bun {
    background-color: #f3da86 !important;
}

/* ==========================================================================
   HIỆU ỨNG BIẾN HÌNH MƯỢT MÀ THÀNH DẤU "X" VÀNG #dfb26a (KHI MENU MỞ)
   ========================================================================== */
body.celestia-menu-open .celestia-deadrabbit-burger .top-bun,
.celestia-deadrabbit-burger.is-active .top-bun {
    transform: translateY(0) rotate(45deg) !important;
    background-color: #dfb26a !important;
}
body.celestia-menu-open .celestia-deadrabbit-burger .patty,
.celestia-deadrabbit-burger.is-active .patty {
    transform: translateY(0) scaleX(0) !important;
    opacity: 0 !important;
}
body.celestia-menu-open .celestia-deadrabbit-burger .bottom-bun,
.celestia-deadrabbit-burger.is-active .bottom-bun {
    transform: translateY(0) rotate(-45deg) !important;
    background-color: #dfb26a !important;
}

/* Khi mở menu: Header trong suốt hòa quyện với overlay mà không bị giật layout */
body.celestia-menu-open #header,
body.celestia-menu-open #masthead,
body.celestia-menu-open .header-wrapper,
body.celestia-menu-open .header-main {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
body.celestia-menu-open .header-bg-color {
    opacity: 0 !important;
}

/* ==========================================================================
   BẢNG MÀU CHỦ ĐẠO CELESTIA WINE BAR:
   - Nền chủ đạo web: #0b2824 (Xanh thông hoàng gia / Deep Pine Emerald)
   - Chữ tiêu đề lớn H1, H2, Section Titles: #ede7f2 (Moonlight Pearl / Bạch Ngọc Ánh Trăng)
   - Hover tiêu đề: #ffffff (Bạch kim phát sáng)
   ========================================================================== */
:root {
    --primary-color: #0b2824 !important;
    --celestia-bg: #0b2824 !important;
    --celestia-heading: #ede7f2 !important;
    --celestia-gold: #dfb26a !important;
    --celestia-gold-hover: #f3da86 !important;
}

html,
body,
#wrapper,
#main,
#main.dark,
.page-wrapper,
.content-area {
    background-color: #0b2824 !important;
    color: #d8e4e0 !important;
}

/* Cho phép nền động phía sau hiển thị xuyên suốt */
#wrapper,
#main,
#main.dark,
.page-wrapper {
    background: transparent !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 1 !important;
}

/* TIÊU ĐỀ LỚN H1, H2, H3 MÀU #ede7f2 BẠCH NGỌC ÁNH TRĂNG */
h1, h2, h3,
.h1, .h2, .h3,
h1 a, h2 a, h3 a,
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-heading-title,
.section-title,
.section-title span,
.section-title b,
.section-title-main,
.entry-title,
.entry-title a,
.page-title,
.page-title a,
.product-title,
.product-title a,
.title-home,
.title-footer,
.featured-title,
.banner-title,
.heading-title,
.heading-title a {
    color: #ede7f2 !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
    transition: color 250ms ease, text-shadow 250ms ease !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
.entry-title a:hover,
.page-title a:hover,
.product-title a:hover,
.heading-title a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 16px rgba(237, 231, 242, 0.75) !important;
}

/* Điểm nhấn viền & đường gạch phân cách */
.is-divider {
    background-color: rgba(237, 231, 242, 0.25) !important;
}
.section-title-normal {
    border-bottom-color: rgba(237, 231, 242, 0.2) !important;
}
.section-title-normal span {
    border-bottom-color: #ede7f2 !important;
}
.section-title-bold span {
    border-color: rgba(237, 231, 242, 0.35) !important;
}

/* ==========================================================================
   19. MỤC "KHÁM PHÁ" (EXPLORE SECTION): CHỈ FULL BỀ NGANG TRÊN MOBILE
   TRÊN DESKTOP GIỮ NGUYÊN GIAO DIỆN GỐC, KHÔNG THAY ĐỔI
   ========================================================================== */

/* CHỈ ÁP DỤNG TRÀN VIỀN FULL CHIỀU NGANG CHO BẢN MOBILE (f3ad6f5 & d7e2db7) */
.elementor-element.elementor-element-f3ad6f5,
.elementor-3666 .elementor-element.elementor-element-f3ad6f5 {
    --width: 100% !important;
    --content-width: 100% !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: auto !important;
    --min-height: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
}

.elementor-element.elementor-element-d7e2db7,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-widget-container,
.elementor-element.elementor-element-d7e2db7 .elementor-swiper,
.elementor-element.elementor-element-d7e2db7 .elementor-slides-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

/* Chiều cao Slider mobile vừa vặn (Chỉ full chiều ngang, KHÔNG full chiều dọc) */
.elementor-element.elementor-element-d7e2db7 .swiper-slide,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .swiper-slide {
    height: 450px !important;
    min-height: unset !important;
    width: 100% !important;
}

/* Ảnh mobile phủ kín toàn bộ bề ngang (cover) */
.elementor-element.elementor-element-d7e2db7 .swiper-slide-bg,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .swiper-slide-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
}

/* 2 MŨI TÊN GIỮ NGUYÊN NHỎ GỌN Ở 2 BÊN TRÊN MOBILE */
/* ==========================================================================
   THE DEAD RABBIT STYLE SLIDER NAVIGATION & KHÁM PHÁ (MINIMAL ARROW ONLY)
   ========================================================================== */
.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button {
    width: 28px !important;
    height: 28px !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    color: #dfb26a !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 25 !important;
    opacity: 0.85 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover {
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translateY(-50%) scale(1.15) !important;
    opacity: 1 !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button svg,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button svg,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button svg,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button svg,
.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button svg path,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button svg path,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button svg path,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button svg path {
    width: 16px !important;
    height: 16px !important;
    fill: #dfb26a !important;
    color: #dfb26a !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85)) !important;
    transition: fill 0.25s ease !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover svg,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover svg,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover svg,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover svg,
.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover svg path,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button:hover svg path,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover svg path,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button:hover svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button-prev,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button-prev,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button-prev,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.elementor-element.elementor-element-d7e2db7 .elementor-swiper-button-next,
.elementor-3666 .elementor-element.elementor-element-d7e2db7 .elementor-swiper-button-next,
.elementor-element.elementor-element-2b6944e .elementor-swiper-button-next,
.elementor-3666 .elementor-element.elementor-element-2b6944e .elementor-swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

.elementor-3666 .explore:before {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   20. SECTION "OUR STORY" CELESTIA WINE BAR (CHUẨN GIAO DIỆN WAGYUYA EDITORIAL)
   Thay thế section bản đồ thành câu chuyện thương hiệu sang trọng đẳng cấp
   ========================================================================== */

#histoire,
.section-histoire {
    background: transparent;
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.histoire-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* CỘT TRÁI: KHUNG ẢNH VÀ BADGE VÀNG */
.histoire-image-wrap {
    position: relative;
}

.histoire-image-main {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(223, 178, 106, 0.15);
    display: block;
    transition: transform 0.4s ease;
}

.histoire-image-wrap:hover .histoire-image-main {
    transform: scale(1.015);
}

/* Badge vàng hoàng gia xoay dọc trên góc trái ảnh (Giống hệt Wagyuya) */
.histoire-badge {
    position: absolute;
    top: 2rem;
    left: -1.8rem;
    background: #dfb26a;
    background: linear-gradient(135deg, #f4dc9b 0%, #dfb26a 50%, #b88628 100%);
    color: #061c18;
    padding: 1rem 1.4rem;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    rotate: 180deg;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 5;
    border-radius: 2px;
}

/* CỘT PHẢI: TYPOGRAPHY NGHỆ THUẬT VÀ NỘI DUNG */
.histoire-content {
    display: block;
}

.desktop-histoire-header {
    display: block;
}

.mobile-histoire-header {
    display: none;
}

.section-eyebrow {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #dfb26a;
    margin: 0 0 1rem 0;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem) !important;
    font-weight: 400 !important;
    line-height: 1.16 !important;
    color: #ede7f2 !important;
    margin: 0 0 1rem 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.section-title em {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
    color: #dfb26a !important;
    display: block;
    font-weight: 400 !important;
    text-transform: none !important;
    margin-top: 0.35rem;
}

.section-divider {
    width: 60px;
    height: 1.5px;
    background: #dfb26a;
    margin: 1.8rem 0;
}

.section-text {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 0.96rem;
    color: #cbd8d4;
    line-height: 1.9;
    margin-bottom: 1.4rem;
    text-align: justify;
}

.section-text strong {
    color: #ede7f2;
    font-weight: 600;
}

/* THỐNG KÊ 3 CỘT Ở DƯỚI */
.histoire-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.8rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(223, 178, 106, 0.22);
}

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.15rem, 1.4vw, 1.38rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #dfb26a;
    line-height: 1.25;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.stat-label {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9bb2ac;
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   TỐI ƯU HÓA RESPONSIVE CHO TABLET VÀ MOBILE (CHUẨN WAGYUYA)
   ========================================================================== */
@media (max-width: 1024px) {
    .histoire-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .histoire-image-main {
        height: 440px;
    }
    .histoire-badge {
        left: -1rem;
        top: 1.5rem;
    }
}

@media (max-width: 768px) {
    #histoire,
    .section-histoire {
        padding: 3.5rem 0.5rem;
    }
    .histoire-inner {
        display: block !important;
        padding: 0 1rem;
    }
    /* Trên mobile: Đưa tiêu đề lên trên cùng */
    .desktop-histoire-header {
        display: none !important;
    }
    .mobile-histoire-header {
        display: block !important;
        margin-bottom: 1.8rem;
    }
    .mobile-histoire-header .section-title {
        font-size: 1.95rem !important;
        line-height: 1.18 !important;
    }
    .mobile-histoire-header .section-title em {
        font-size: 1.7rem !important;
    }
    .mobile-histoire-header .section-divider {
        margin: 1.3rem 0;
    }
    .histoire-image-wrap {
        width: 100%;
        margin-bottom: 2rem;
    }
    .histoire-image-main {
        width: 100%;
        height: 380px !important;
        border-radius: 6px;
    }
    .histoire-badge {
        left: 12px;
        top: 12px;
        padding: 0.75rem 1rem;
        font-size: 0.68rem;
    }
    .section-text {
        font-size: 0.92rem;
        line-height: 1.75;
    }
    .histoire-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem !important;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    .stat-number {
        font-size: clamp(0.78rem, 2.7vw, 0.95rem) !important;
        letter-spacing: 0.08em !important;
        line-height: 1.25 !important;
    }
    .stat-label {
        font-size: clamp(0.55rem, 1.9vw, 0.65rem) !important;
        letter-spacing: 0.1em !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .histoire-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }
    .stat-number {
        font-size: 0.8rem !important;
        letter-spacing: 0.06em !important;
    }
    .stat-label {
        font-size: 0.55rem !important;
        letter-spacing: 0.08em !important;
    }
}