/**

 * Xuan Cuong Handicraft - Module: responsive.css

 * Global Responsive Design (Mobile / Tablet Breakpoints & Overrides)

 */


/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   Header, Footer, and Home Page Sections
   ========================================================================== */


/* ==========================================================================
   LAYOUT 2 CỘT CÓ CỘT CỐ ĐỊNH (1025px – 1519px)
   Với lề 120px, vùng nội dung chỉ còn ~785px (1025) – 1280px (1519): các cột
   sidebar / ảnh cố định cần co lại, dưới 1280px thì xếp chồng hoặc giảm số cột.
   ========================================================================== */


/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP 1440px / 1280px)
   Design gốc ở 1920px. Các khối dưới đây thu nhỏ khoảng cách và chiều cao cho màn
   desktop nhỏ hơn; cỡ chữ tiêu đề dùng biến --fs-* co giãn trong variables.css.
   Luôn giới hạn min-width để không đè lên các rule tablet/mobile
   (<= 1024px / <= 991px) đã khai báo trong các module khác.
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1440px) {
    .watermark-handicraft {
        font-size: 240px;
    }

    /* Khoảng cách & chiều cao section */
    .herosection {
        padding-bottom: 96px;
    }

    .hero-scroll-indicator {
        margin-top: 120px;
    }

    .section-corporate-home-banner {
        padding: 96px 0;
    }

    .section-partners {
        padding: 80px 0;
    }

    .workshop-story-box {
        padding-left: 60px;
        min-height: 640px;
    }

    .partners-hero-grid {
        gap: 100px;
    }

    .partners-hero-img-wrap {
        height: 560px;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .watermark-handicraft {
        font-size: 200px;
    }

    /* Khoảng cách & chiều cao section */
    .section-corporate-home-banner {
        padding: 80px 0;
    }

    .workshop-story-box {
        padding-left: 48px;
        min-height: 560px;
    }

    .partners-hero-grid {
        gap: 64px;
    }

    .partners-hero-img-wrap {
        height: 500px;
    }
}

/* Các selector có override ở <= 1200px trong pages.css / partners.css:
   chỉ áp dụng từ 1201px để không đè lên giá trị sẵn có */
@media (min-width: 1201px) and (max-width: 1440px) {
    .order-hero-watermark {
        font-size: 240px;
    }

    .order-hero-content-wrap {
        margin-left: -140px;
    }

    .vip-testimonials-viewport {
        height: 780px;
    }

    .vip-slide-image {
        min-height: 780px;
    }

    .vip-slide-content {
        padding-top: 60px;
        padding-bottom: 60px;
        padding-right: 72px;
        gap: 32px;
    }

    .journal-featured-post {
        margin-bottom: 120px;
    }
}

@media (min-width: 1201px) and (max-width: 1280px) {
    .order-hero-watermark {
        font-size: 200px;
    }

    .order-hero-content-wrap {
        margin-left: -100px;
    }

    .vip-testimonials-viewport {
        height: 720px;
    }

    .vip-slide-image {
        min-height: 720px;
    }
}

/* Các selector có override ở <= 991px: áp dụng từ 992px */
@media (min-width: 992px) and (max-width: 1440px) {
    .order-hero-banner {
        height: 600px;
        min-height: 600px;
    }

    .custom-process-grid {
        min-height: 740px;
    }

    /* min-height thay cho height cố định để nội dung 5 bước không tràn khỏi nền */
    .custom-process-card {
        height: auto;
        min-height: calc(740px * 0.8);
    }

    .custom-process-photo {
        height: 780px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .order-hero-banner {
        height: 600px;
        min-height: 600px;
    }

    .custom-process-grid {
        min-height: 720px;
    }

    /* min-height thay cho height cố định để nội dung 5 bước không tràn khỏi nền */
    .custom-process-card {
        height: auto;
        min-height: calc(720px * 0.8);
    }

    .custom-process-photo {
        height: 720px;
    }
}

@media (min-width: 1025px) and (max-width: 1519px) {

    /* ==========================================================================
        DESKTOP NHỎ (1025px – 1519px)
        Gap 40px+ và padding card lớn chỉ hợp với màn ~1920px: thu gọn để card không
        bị to và khoảng trắng không loãng khi lề 2 bên đã là 80px.
        Tablet (<= 1024px) đã có override riêng trong từng module nên không đụng tới.
        ========================================================================== */
    /* Header */
    .site-nav-group,
    .header-right-action {
        gap: 24px;
    }

    .xc-mega-menu-dropdown {
        padding: 32px;
        gap: 24px;
    }

    /* Materials (trang chủ & slider chất liệu) */
    .materials-three-grid {
        gap: 24px;
    }

    .material-card {
        padding: 1.5rem;
    }

    .materials-intro-row {
        gap: 32px;
        margin-bottom: 3rem;
    }

    .materials-slider-track:not(.swiper-wrapper) {
        gap: 24px;
    }

    .material-slide-card {
        width: 320px;
        height: 400px;
    }

    .material-slide-panel {
        padding: 24px;
    }

    .materials-progress-wrap {
        margin-top: 36px;
    }

    /* Sản phẩm */
    .curated-products-grid {
        gap: 2rem 1.5rem;
    }

    .shop-layout-grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 32px;
    }

    .shop-sidebar-filter {
        padding: 24px;
    }

    .catalog-grid-three,
    .related-products-grid,
    .favorite-asymmetric-grid,
    .favorite-row,
    .sale-slider-track:not(.swiper-wrapper),
    .reviews-cards-slider:not(.swiper) {
        gap: 24px;
    }

    .product-main-layout {
        gap: 2rem;
    }

    .search-results-grid-four {
        gap: 2rem 1.5rem;
    }

    /* Corporate / B2B */
    .corporate-boxes-grid {
        gap: 24px;
    }

    .corporate-box-card,
    .bulk-red-card {
        padding: 40px 32px;
    }

    .rfq-block-inner {
        gap: 3rem;
    }

    /* Trang Đặt hàng & quà tặng */
    .logo-bulk-header,
    .logo-bulk-grid {
        gap: 32px;
    }

    .ready-order-layout {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 48px;
    }

    .ready-steps-grid {
        column-gap: 24px;
        row-gap: 40px;
    }

    .custom-process-card {
        padding-top: 48px;
        padding-bottom: 48px;
        padding-right: 40px;
    }

    .process-steps-list {
        column-gap: 24px;
        row-gap: 40px;
    }

    .custom-rfq-layout,
    .order-faq-layout,
    .faq-layout-grid,
    .faq-support-layout {
        gap: 32px;
    }

    /* Journal / bài viết */
    .journal-cards-grid,
    .section-artisan-press .journal-cards-grid {
        gap: 24px;
    }

    .journal-filter-tabs {
        gap: 20px;
    }

    /* Ảnh nổi bật cố định 577px (480px ở <= 1200px) làm cột chữ chỉ còn ~150px */
    .journal-featured-post {
        gap: 40px;
    }

    .featured-post-thumb-wrap {
        width: 46%;
        height: auto;
    }

    .journal-articles-grid {
        column-gap: 24px;
        row-gap: 40px;
    }

    /* Giới thiệu / đối tác / liên hệ */
    .story-intro-row {
        gap: 2.5rem;
    }

    .maker-card-info {
        padding: 1.5rem 1.25rem;
    }

    .artisan-profile-row {
        gap: 40px;
    }

    .artisan-four-cols-row {
        gap: 24px;
    }

    .achievements-slider-track {
        gap: 24px;
    }

    .achievement-card {
        width: 320px;
        height: 420px;
    }

    .achievement-panel {
        padding: 20px 24px;
    }

    .partners-grid-layout {
        gap: 40px;
    }

    .partner-logos-strip {
        gap: 28px 40px;
    }

    .map-floating-card {
        padding: 2rem 1.75rem;
    }

    .workshop-story-card {
        padding: 3.5rem;
    }

    .legal-layout {
        gap: 48px;
    }

    .space-slider-header {
        gap: 32px;
    }

    /* Ảnh cố định 540px làm cột chữ + 3 pill bị bóp */
    .partners-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .partners-pills-row {
        gap: 20px;
    }

    .footer-columns-grid {
        gap: 2rem;
    }

    .review-card-caption {
        padding: 20px 24px;
    }

    .review-card-caption p {
        line-height: 26px;
    }
}

/* Chi tiết bài viết: cột trái 940px cố định làm sidebar còn ~185px ở 1401–1519px */
@media (min-width: 1201px) and (max-width: 1519px) {
    .article-layout-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

    .article-left-col {
        width: 100%;
    }

    .sidebar-promo-banner {
        padding: 32px 24px;
        min-height: 400px;
    }

    .article-meta-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }
}

/* <= 1200px: sidebar 360px chiếm gần nửa vùng nội dung → đưa xuống dưới bài viết,
   chia 2 cột (Đọc tiếp | Ưu đãi). Áp dụng từ 992px để nối liền rule <= 991px của pages.css */
@media (min-width: 992px) and (max-width: 1200px) {
    .article-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .article-left-col {
        width: 100%;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto 1fr;
        column-gap: 24px;
    }

    .article-sidebar .sidebar-heading {
        grid-column: 1 / -1;
    }

    .sidebar-promo-banner {
        min-height: 340px;
        padding: 36px 28px;
    }
}

@media (min-width: 1280px) and (max-width: 1519px) {

    /* Chi tiết sản phẩm: đánh giá */
    .reviews-layout-grid {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {

    /* Chi tiết sản phẩm: cột giới thiệu 320px làm slider đánh giá còn ~410px */
    .reviews-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding: 3.5rem 0;
    }

    /* Sản phẩm liên quan: 4 cột chỉ còn ~175px */
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 2 cột rộng ~370–500px: dùng khung vuông để card không cao quá màn hình */
    .related-banner-card,
    .related-product-card {
        aspect-ratio: 1 / 1;
    }

    /* Trang sản phẩm: sidebar lọc + 3 cột chỉ còn ~130px/card */
    .shop-layout-grid {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .catalog-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Trang chủ: tiêu đề 330px + 5 logo chỉ còn ~70px/logo → xếp chồng */
    .partners-grid-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .partners-title-col {
        flex: 0 0 auto;
    }

    .partners-logos-col {
        width: 100%;
    }

    /* Đặt hàng & quà tặng: cột trái 452px làm lưới bước còn ~115px/cột */
    .ready-order-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .process-steps-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Về chúng tôi: 4 nghệ nhân/hàng chỉ còn ~166px */
    .artisan-four-cols-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

    /* Đối tác: ảnh + chữ cạnh nhau quá chật → xếp chồng */
    .partners-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }
}

/* Tablet: lề 1.25rem nhỏ hơn độ lệch -24px của mũi tên slider ưu đãi → tràn ngang 4px */
@media (min-width: 769px) and (max-width: 1024px) {
    .slider-arrow-prev {
        left: -16px;
    }

    .slider-arrow-next {
        right: -16px;
    }
}

@media (max-width: 1024px) {

    /* ==========================================================================
        RESPONSIVE DESIGN (MOBILE / TABLET)
        ========================================================================== */
    .herosection {
        background-image:
            linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.3) 100%),
            url('../../images/hero-woman.jpg');
        padding-top: 4rem;
        padding-bottom: 200px;
    }

    .hero-text-block {
        padding: 2rem 0;
    }

    .curated-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }

    .curated-thumb-wrap {
        height: 300px;
    }

    .workshop-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rfq-block-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .footer-columns-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* --------------------------------------------------------------------------
        1. TABLET LANDSCAPE & MEDIUM SCREENS (<= 1024px)
        -------------------------------------------------------------------------- */
    .container {
        padding: 0 var(--page-gutter);
    }

    /* Typography */
    .section-subtitle,
    .script-accent-gold,
    .script-accent-dark,
    .script-accent-brown {
        font-size: 30px;
    }

    .section-title,
    .materials-title,
    .curated-title,
    .workshop-title,
    .partners-heading,
    .rfq-headline,
    .journal-title,
    .process-heading,
    .corporate-heading,
    .story-main-title,
    .team-title,
    .projects-title,
    .split-title,
    .care-title,
    .reviews-title {
        font-size: 34px;
    }

    /* Top Bar on Tablet/Mobile: vẫn hiện (sticky cùng header), chữ gọn hơn */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-announcement-text,
    .top-promo-link {
        font-size: 14px;
        line-height: 20px;
    }

    /* Header & Navigation */
    .site-header {
        position: sticky;
        /* Dính ngay dưới topbar sticky (--xc-topbar-h do main.js đo), không dùng top: 0 kẻo bị topbar đè */
        top: var(--xc-topbar-h, 0px);
        z-index: 99999;
    }

    .header-inner {
        position: relative;
        height: 76px;
    }

    .brand-logo-header-img {
        height: 52px;
        max-height: 52px;
    }

    .header-nav {
        gap: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 32px;
        height: 32px;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .mobile-menu-toggle .bar {
        width: 24px;
        height: 2px;
        background-color: #FFFFFF;
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    }

    .mobile-menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Site Navigation positioned absolute relative to .header-inner */
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: var(--xc-primary, #881111);
        background-image: linear-gradient(180deg, #7A0F13 0%, #54080B 100%);
        padding: 1.5rem 1.5rem 2.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1050;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-navigation.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Topbar Tools inside menu (Search, Contact, Language) */
    .mobile-nav-topbar-tools {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        padding-bottom: 1.25rem;
        margin-bottom: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-nav-topbar-tools .mobile-search-form {
        position: relative;
        width: 100%;
    }

    .mobile-nav-topbar-tools .top-search-input {
        width: 100%;
        height: 42px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: var(--radius-sm, 4px);
        color: #FFFFFF;
        padding: 0 40px 0 14px;
        font-size: 15px;
        font-family: var(--font-sans);
        transition: all 0.2s ease;
    }

    .mobile-nav-topbar-tools .top-search-input:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--xc-cta, #D6BF89);
    }

    .mobile-nav-topbar-tools .top-search-input::placeholder {
        color: rgba(255, 255, 255, 0.65);
    }

    .mobile-nav-topbar-tools .top-search-submit {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.85);
        font-size: 15px;
        cursor: pointer;
        padding: 6px;
    }

    .mobile-topbar-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2px 4px;
    }

    .mobile-topbar-meta .top-link-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #FFFFFF;
        font-size: 14.5px;
        text-decoration: none;
    }

    .mobile-topbar-meta .top-link-item:hover {
        color: var(--xc-cta, #D6BF89);
    }

    .mobile-topbar-meta .top-pipe {
        color: rgba(255, 255, 255, 0.3);
    }

    .mobile-topbar-meta .top-lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 14.5px;
    }

    .mobile-topbar-meta .lang-switch-opt {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        font-weight: 500;
        padding: 2px 4px;
    }

    .mobile-topbar-meta .lang-switch-opt.is-active {
        color: var(--xc-cta, #D6BF89);
        font-weight: 700;
    }

    .main-navigation .mobile-nav-cta {
        display: block;
        margin-top: 2.5rem;
    }

    .main-navigation .mobile-nav-cta .btn-cta-gold {
        height: auto;
        width: 100%;
        text-align: center;
        padding: 0.85rem;
        font-size: 1rem;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .main-navigation .nav-menu>li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-navigation .nav-menu a {
        font-size: 1rem;
        padding: 0.75rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #FFFFFF;
    }

    .main-navigation .nav-menu a:hover {
        color: var(--xc-cta);
        padding-left: 6px;
    }

    /* Submenu Drawer: danh sách thụt lề, viền vàng bên trái, chữ sáng trên nền drawer */
    .main-navigation .nav-menu .sub-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        transform: none !important;
        background: transparent;
        border: none;
        border-left: 1px solid rgba(214, 191, 137, 0.45);
        border-radius: 0;
        padding: 0 0 0 1rem;
        margin: 0 0 1rem 0.25rem;
        gap: 0;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .main-navigation .nav-menu .sub-menu li {
        width: 100%;
    }

    .main-navigation .nav-menu .sub-menu li a {
        display: block;
        padding: 0.6rem 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        border-bottom: none;
    }

    .main-navigation .nav-menu .sub-menu li a:hover,
    .main-navigation .nav-menu .sub-menu li.current-menu-item>a {
        color: var(--xc-cta, #D6BF89);
        padding-left: 0;
    }

    .main-navigation .nav-menu>li.has-dropdown>a .nav-arrow {
        transition: transform 0.25s ease;
    }

    .main-navigation .nav-menu>li.has-dropdown.is-open>a {
        color: var(--xc-cta, #D6BF89);
    }

    .main-navigation .nav-menu>li.has-dropdown.is-open>a .nav-arrow {
        transform: rotate(180deg);
    }

    /* Mega Menu Drawer Adapter */
    .main-navigation .nav-menu .xc-mega-menu-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        background-color: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        padding: 1.2rem;
        margin: 0.25rem 0 1rem;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .main-navigation li.menu-item-has-children.is-open>.sub-menu,
    .main-navigation li.has-mega-menu.is-open>.xc-mega-menu-dropdown {
        display: block;
    }

    .main-navigation .xc-mega-menu-dropdown::before {
        display: none !important;
    }

    .main-navigation .xc-mega-menu-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .main-navigation .xc-mega-col-photo {
        display: none;
    }

    .main-navigation .xc-mega-heading {
        color: var(--xc-cta, #D6BF89);
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .main-navigation .xc-mega-list li {
        margin-bottom: 8px;
    }

    .main-navigation .xc-mega-list li a {
        color: #FFFFFF !important;
        font-size: 15px;
        padding: 4px 0;
    }

    /* Section 1: Hero Banner */
    .herosection {
        min-height: 100svh;
        padding-top: 4.5rem;
        padding-bottom: 160px;
    }

    .hero-text-block {
        max-width: 100%;
        padding: 1rem 0;
    }

    .hero-subtext {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }

    /* Section 2: Materials Trio */
    .section-materials-dark {
        margin-top: -100px;
        padding-bottom: 0;
    }

    .materials-header {
        margin-bottom: 2rem;
    }

    .materials-three-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .material-card {
        max-width: 100%;
        aspect-ratio: 9 / 13;
        padding: 1.5rem;
    }

    /* Enable permanent visibility of content and soft overlay on tablet */
    .material-card-overlay {
        opacity: 0.85;
        visibility: visible;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .material-card-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .material-name {
        font-size: 26px;
        margin-bottom: 0.4rem;
    }

    .material-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .material-link {
        font-size: 16px;
    }

    /* Section 3: Curated Products */
    .section-curated-products {
        margin-top: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .curated-header-flex {
        margin-bottom: 2.5rem;
    }

    .curated-product-card:first-child {
        grid-column: span 2;
    }

    .curated-thumb-wrap {
        height: 300px;
    }

    .curated-product-card:first-child .curated-thumb-wrap {
        height: 360px;
    }

    .curated-item-name {
        font-size: 20px;
    }

    .curated-product-card:first-child .curated-item-name {
        font-size: 20px;
    }

    /* Section 4: Workshop Story */
    .section-workshop-family {
        padding: 4.5rem 0;
    }

    .workshop-header {
        margin-bottom: 2.5rem;
    }

    .workshop-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .workshop-photo-wrap {
        height: 440px;
    }

    .workshop-story-card {
        height: auto;
        padding: 3.5rem 2.5rem;
    }

    /* Section 5: Corporate RFQ */
    .section-corporate-rfq {
        padding: 4.5rem 0;
    }

    .rfq-block-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .rfq-title-col {
        max-width: 100%;
    }

    /* Section 6: Journal Preview */
    .section-journal-preview {
        padding: 4rem 0;
    }

    .journal-cards-grid {
        gap: 24px;
    }

    /* --- Homepage Sections for Tablet (<= 1024px) --- */
    /* Section: Workshop Story (VTV) */
    .section-workshop-vtv {
        padding: 70px 0;
    }

    .workshop-vtv-title {
        font-size: 34px;
    }

    .workshop-vtv-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .workshop-video-wrapper {
        max-height: 480px;
    }

    .workshop-story-box {
        padding: 48px 32px;
        min-height: auto;
    }

    /* Section: Materials */
    .section-materials {
        padding: 60px 0 50px;
    }

    .materials-intro-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
        margin-bottom: 2.5rem;
    }

    .materialstitle {
        font-size: 34px;
    }

    .material-slide-card {
        width: 320px;
        height: 400px;
    }

    /* Section: Featured Products */
    .section-favorite-products {
        padding: 60px 0;
    }

    .favorite-title {
        font-size: 34px;
    }

    .favorite-asymmetric-grid {
        gap: 30px;
    }

    .favorite-row {
        gap: 30px;
    }

    .favorite-thumb-wrap {
        height: 380px;
    }

    /* Section: Sale Products Carousel */
    .section-sale-products {
        padding: 60px 0;
    }

    .sale-section-title {
        font-size: 40px;
    }

    .sale-product-card {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }

    .sale-slider-track {
        gap: 24px;
    }


    /* Section: Corporate Bespoke Banner */
    .section-corporate-home-banner {
        padding: 80px 0;
    }

    .corporate-banner-title {
        font-size: 34px;
        margin-bottom: 40px;
    }

    .corporate-boxes-grid {
        gap: 24px;
    }

    .corporate-box-card {
        width: 100%;
        padding: 40px 30px;
    }

    /* Section: Journal Preview */
    .section-journal-preview {
        padding: 60px 0;
    }

    .journal-title {
        font-size: 34px;
    }

    .journal-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .journal-cards-grid> :last-child {
        grid-column: span 2;
    }

    /* Section: Partners */
    .section-partners {
        padding: 70px 0;
    }

    .partners-heading {
        font-size: 34px;
    }

    .partners-grid-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }

    .partners-title-col {
        flex: 0 0 auto;
        width: 100%;
    }

    .partners-logos-col {
        width: 100%;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 30px 24px;
    }

    /* Footer */
    .footer-columns-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .footer-motif {
        width: 380px;
        height: 380px;
    }

    /* Other Subpages Layouts */
    .shop-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .catalog-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .partners-hero-img-wrap {
        height: 400px;
    }

    .artisan-photo-frame {
        max-width: 320px;
        aspect-ratio: 242 / 310;
        height: auto;
    }

    .favorite-row {
        flex-direction: column;
    }

    .artisan-four-cards-grid,
    .artisan-four-cols-row,
    .partners-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    /* ==========================================================================
        RESPONSIVE: CONTACT PAGE (LIÊN HỆ)
        ========================================================================== */
    .contact-map-section {
        height: 520px;
    }

    .map-floating-card {
        max-width: 330px;
        padding: 2rem 1.75rem;
    }

    .space-slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .space-header-left {
        flex: 1 1 100%;
    }

    .space-slide-item:not(.swiper-slide) {
        height: auto;
        aspect-ratio: 13 / 7;
        max-width: 1300px;
    }
}

@media (max-width: 640px) {
    .curated-products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }

    .curated-product-card:first-child {
        grid-column: span 1;
    }

    .curated-thumb-wrap {
        height: 240px;
    }
}

/* ==========================================================================
   DESKTOP NHỎ & TABLET (769px – 1519px)
   Lề 2 bên tăng lên 80px (--page-gutter trong variables.css); các wrapper không
   dùng .container được đồng bộ theo cùng biến
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1519px) {
    .shop-container {
        padding: 0 var(--page-gutter);
    }

    .about-hero-text {
        padding-left: var(--page-gutter);
    }

    .favorite-thumb-wrap {
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .curated-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {

    /* --------------------------------------------------------------------------
        2. TABLET PORTRAIT & MOBILE (<= 768px)
        -------------------------------------------------------------------------- */
    .container {
        padding: 0 var(--page-gutter);
    }

    /* Typography */
    .section-subtitle,
    .script-accent-gold,
    .script-accent-dark,
    .script-accent-brown {
        font-size: 30px;
    }

    .section-title,
    .materials-title,
    .curated-title,
    .workshop-title,
    .partners-heading,
    .rfq-headline,
    .journal-title,
    .process-heading,
    .corporate-heading,
    .story-main-title,
    .team-title,
    .projects-title,
    .split-title,
    .care-title,
    .reviews-title {
        font-size: 32px;
        line-height: 1.25;
    }

    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: space-between;
    }

    .top-bar-links {
        order: 1;
        width: 100%;
        justify-content: space-between;
        font-size: 0.95rem;
    }

    .top-link-item,
    .top-lang-switch {
        font-size: 0.95rem;
    }

    .top-bar-search {
        order: 2;
        width: 100%;
    }

    .top-search-input {
        width: 100%;
        height: 38px;
        padding: 6px 12px;
        font-size: 0.95rem;
    }

    /* Header */
    .header-inner {
        height: 68px;
    }

    .brand-logo-header-img {
        height: 44px;
        max-height: 44px;
    }

    .header-right-action {
        gap: 0.6rem;
    }

    .btn-cta-gold {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
    }

    .main-navigation {
        padding: 1.25rem 1.25rem 2.5rem;
    }

    .main-navigation .mobile-nav-brand .brand-logo-header-img {
        height: 42px;
        max-height: 42px;
    }

    .main-navigation .mobile-nav-close {
        width: 38px;
        height: 38px;
    }

    .main-navigation .xc-mega-menu-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    /* Section 1: Hero Banner */
    .herosection {
        padding-top: 3.5rem;
        background-position: center;
        background-size: cover;
    }

    .hero-headline {
        margin-bottom: 0.85rem;
    }

    .hero-subtext {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-cta-wrap {
        width: 100%;
    }

    .btn-hero-red {
        justify-content: center;
        font-size: 1.05rem;
        padding: 0.8rem 1.4rem;
    }

    /* Section 2: Materials Trio */
    .section-materials-dark {
        margin-top: 0;
        padding: 3.5rem 0;
        background-color: #120F0D;
    }

    .materials-three-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        max-width: 480px;
        margin: 0 auto;
    }

    .material-card {
        aspect-ratio: 16 / 11;
        min-height: 280px;
        padding: 1.75rem;
    }

    .material-name {
        font-size: 26px;
    }

    .material-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .material-link {
        font-size: 16px;
    }

    /* Section 3: Curated Products */
    .section-curated-products {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .curated-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }

    .curated-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .curated-product-card:first-child {
        grid-column: span 2;
    }

    .curated-thumb-wrap {
        height: 220px;
        margin-bottom: 0.85rem;
    }

    .curated-product-card:first-child .curated-thumb-wrap {
        height: 260px;
    }

    .curated-item-name {
        font-size: 20px;
    }

    .curated-product-card:first-child .curated-item-name {
        font-size: 20px;
    }

    .curated-item-tag {
        font-size: 14px;
    }

    /* Section 4: Workshop Story */
    .section-workshop-family {
        padding: 3.5rem 0;
    }

    .workshop-header {
        margin-bottom: 2rem;
    }

    .workshop-photo-wrap {
        height: 340px;
    }

    .workshop-story-card {
        padding: 2.5rem 1.5rem;
    }

    .story-p1,
    .story-p2,
    .workshop-story-card p {
        font-size: 16.5px;
        line-height: 26px;
        margin-bottom: 1.2rem;
    }

    .btn-story-red {
        font-size: 1rem;
        padding: 0.7rem 1.4rem;
    }

    /* Section 5: Corporate RFQ */
    .section-corporate-rfq {
        padding: 3.5rem 0;
        background-size: 140px auto, 100px auto, 280px auto, cover;
    }

    .corporate-order-form {
        gap: 1.25rem;
    }

    .form-grid-two {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .form-field label {
        font-size: 1rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .btn-submit-gold {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 1.05rem;
        padding: 12px;
    }

    /* Section 6: Journal Preview */
    .section-journal-preview {
        padding: 3.5rem 0;
    }

    .journal-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }

    .journal-cards-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        max-width: 480px;
        margin: 0 auto;
    }

    /* --- Homepage Sections for Mobile (<= 768px) --- */
    /* Section: Workshop Story (VTV) */
    .section-workshop-vtv {
        padding: 50px 0;
    }

    .workshop-vtv-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .workshop-vtv-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .workshop-video-wrapper {
        max-height: 320px;
    }

    .btn-video-play-pulse {
        width: 60px;
        height: 60px;
    }

    .btn-video-play-pulse .play-video-img {
        width: 48px;
        height: 44px;
    }

    .workshop-story-box {
        padding: 32px 20px;
        min-height: auto;
    }

    .workshop-story-box .story-lead {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 24px;
    }

    /* Section: Materials */
    .section-materials {
        padding: 50px 0 40px;
    }

    .materials-intro-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 2rem;
    }

    .materialstitle {
        font-size: 32px;
        line-height: 1.25;
    }

    .materials-desc-col p {
        font-size: 16px;
        line-height: 24px;
    }

    .materials-slider-section-wrap {
        padding-left: 1.25rem;
    }

    .material-slide-card {
        width: 270px;
        height: 350px;
    }

    .materials-slider-track {
        gap: 16px;
    }

    .material-slide-panel {
        padding: 20px 16px;
    }

    .material-item-title {
        font-size: 20px;
    }

    .material-item-desc {
        font-size: 14px;
        line-height: 20px;
    }

    /* Section: Featured Products */
    .section-favorite-products {
        padding: 50px 0;
    }

    .favorite-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .favorite-header-centered {
        margin-bottom: 2rem;
    }

    .favorite-asymmetric-grid {
        gap: 20px;
        margin-bottom: 2rem;
    }

    .favorite-row {
        flex-direction: column;
        gap: 20px;
    }

    .favorite-row-1 .card-wide,
    .favorite-row-1 .card-standard,
    .favorite-row-2 .card-standard,
    .favorite-row-2 .card-wide {
        flex: 0 0 100%;
        width: 100%;
    }

    .favorite-thumb-wrap {
        height: 280px;
    }

    .favorite-product-title {
        font-size: 18px;
    }

    /* Section: Sale Products Carousel */
    .section-sale-products {
        padding: 50px 0;
    }

    .sale-section-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .sale-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 2rem;
    }

    .sale-product-card {
        flex: 0 0 85%;
        width: 85%;
        max-width: 85%;
    }

    .sale-slider-track {
        gap: 16px;
        padding-bottom: 16px;
    }


    .sale-badge-pill,
    .product-card-badge,
    .product-badge {
        font-size: 15px;
        line-height: 24px;
        padding: 2px 14px 4px 14px;
        top: 12px;
        right: 12px;
    }

    .sale-price-current {
        font-size: 20px;
    }

    .sale-price-old {
        font-size: 20px;
    }

    .sale-product-name {
        font-size: 18px;
        line-height: 26px;
    }

    .slider-arrow-btn {
        width: 36px;
        height: 36px;
    }

    .slider-arrow-btn svg {
        width: 28px;
        height: 28px;
    }

    /* Section: Corporate Bespoke Banner */
    .section-corporate-home-banner {
        padding: 60px 0;
    }

    .corporate-banner-title {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 30px;
    }

    .corporate-boxes-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .corporate-box-card {
        width: 100%;
        padding: 36px 20px;
        gap: 14px;
    }

    .corp-box-title {
        font-size: 20px;
    }

    .corp-box-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .corp-box-link {
        font-size: 16px;
    }

    /* Section: Journal Preview */
    .section-journal-preview {
        padding: 50px 0;
    }

    .journal-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .journal-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 2rem;
    }

    .journal-link-all {
        position: static;
    }

    .journal-cards-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .journal-cards-grid> :last-child {
        grid-column: span 1;
    }

    /* Section: Partners */
    .section-partners {
        padding: 50px 0;
    }

    .partners-heading {
        font-size: 32px;
        line-height: 1.25;
        text-align: center;
    }

    .partners-grid-layout {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .partners-title-col {
        text-align: center;
        width: 100%;
    }

    .partners-logos-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        width: 100%;
    }

    .partner-img-brand {
        max-height: 48px;
    }

    /* Footer */
    .site-footer {
        padding: 3.5rem 0 2rem 0;
    }

    .footer-columns-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .footer-col-brand {
        margin-bottom: 0.25rem;
    }

    .footer-social-wrap {
        margin-top: 1.25rem;
        gap: 1rem;
    }

    .footer-bct-badge {
        margin-top: 1rem;
    }

    .footer-bct-img {
        width: 120px;
    }

    .brand-logo-footer-img {
        width: 120px;
    }

    .footer-motif {
        width: 180px;
        height: 220px;
        opacity: 0.25;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        padding-top: 1.5rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }

    /* Other Subpages Layouts */
    .shop-hero-banner {
        height: 200px;
        margin-bottom: 30px;
    }

    .shop-hero-title {
        font-size: 34px;
    }

    .shop-layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .catalog-sort-group {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .catalog-filter-dropdown {
        flex: 1 1 auto;
    }

    .catalog-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .catalog-dropdown-panel {
        width: 100%;
        right: 0;
        left: 0;
    }

    .catalog-grid-three {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .search-results-grid-four {
        grid-template-columns: minmax(0, 1fr);
    }

    .reviews-cards-row,
    .promo-cards-grid,
    .care-photos-gallery,
    .steps-two-by-two,
    .perks-two-grid,
    .team-cards-grid,
    .projects-grid-three {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-question-bar {
        grid-template-columns: minmax(0, 1fr) 30px;
    }

    .faq-label-counter {
        display: none;
    }

    .faq-answer-drawer {
        padding-left: 0;
    }

    /* Page: About Us (Về chúng tôi) Responsive */
    .about-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-hero-text {
        padding: 3.5rem 1.25rem 3rem;
    }

    .watermark-handicraft {
        font-size: 5rem;
        left: -10px;
        opacity: 0.05;
    }

    .about-hero-image {
        min-height: 380px;
        height: 380px;
    }

    .about-hero-image img {
        transform: translateY(-60px);
    }

    .story-intro-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .story-two-photos {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .story-two-photos .photo-right {
        max-height: 400px;
    }

    .about-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.25rem;
        padding-top: 2.5rem;
    }

    .about-stats-strip .stat-box:last-child {
        grid-column: 1 / -1;
    }

    .about-team-section {
        padding: 3.5rem 0 4rem;
    }

    .team-cards-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .maker-card-simple .maker-photo {
        height: 360px;
    }

    .about-projects-section {
        padding: 3.5rem 0;
    }

    .artisan-section-script {
        font-size: 30px;
    }

    .material-slide-card {
        flex: 0 0 270px;
        width: 270px;
        height: 350px;
    }

    .cobranded-card,
    .team-member-card {
        flex: 0 0 290px;
        height: auto;
    }

    .favorite-thumb-wrap,
    .cobranded-card-thumb {
        height: 280px;
    }

    .artisan-four-cards-grid,
    .artisan-four-cols-row,
    .partners-stats-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .invitation-card-box {
        padding: 2.5rem 1.8rem;
    }

    .sale-action-group,
    .journal-link-all {
        position: static;
    }

    .slider-arrow-btn {
        display: none;
    }

    .contact-hero-section {
        padding: 3rem 0 2rem 0;
    }

    .contact-brand-title {
        font-size: 30px;
    }

    .contact-intro-sub {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    .contact-social-pills {
        gap: 10px;
    }

    .contact-social-pill {
        padding: 8px 16px;
        font-size: 14px;
    }

    .contact-map-section {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .map-visual-container {
        height: 350px;
    }

    .map-floating-card {
        max-width: 100%;
        margin-top: -30px;
        position: relative;
        z-index: 5;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 1.75rem 1.5rem;
    }

    .space-slide-item:not(.swiper-slide) {
        flex: 0 0 86vw;
        width: 86vw;
        max-width: 1300px;
        aspect-ratio: 13 / 7;
        height: auto;
    }

    .space-slider-controls {
        margin-top: 1.75rem;
        font-size: 16px;
    }
}

/* --------------------------------------------------------------------------
   3. MOBILE SMALL SCREENS (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--page-gutter);
    }

    /* Typography */
    .section-subtitle,
    .script-accent-gold,
    .script-accent-dark,
    .script-accent-brown {
        font-size: 20px;
    }

    .section-title,
    .materials-title,
    .curated-title,
    .workshop-title,
    .partners-heading,
    .rfq-headline,
    .journal-title,
    .process-heading,
    .corporate-heading,
    .story-main-title,
    .team-title,
    .projects-title,
    .split-title,
    .care-title,
    .reviews-title {
        font-size: 24px;
    }

    /* Header */
    .header-inner {
        height: 62px;
        min-height: auto;
    }

    .site-header.is-scrolled .header-inner {
        min-height: auto;
    }

    .brand-logo-header-img {
        height: 38px;
        max-height: 38px;
    }

    .btn-cta-gold {
        padding: 0.38rem 0.65rem;
        font-size: 0.74rem;
        letter-spacing: 0;
    }

    .main-navigation {
        padding: 1rem 1rem 2rem;
    }

    .main-navigation .mobile-nav-brand .brand-logo-header-img {
        height: 36px;
        max-height: 36px;
    }

    .main-navigation .mobile-nav-close {
        width: 36px;
        height: 36px;
    }

    /* Section 1: Hero Banner */
    .herosection {
        padding-top: 2.2rem;
        padding-bottom: 45px;
    }

    .hero-headline {
        font-size: 24px;
        line-height: 1.32;
    }

    .hero-subtext {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }

    .btn-hero-red {
        font-size: 0.95rem;
        padding: 0.7rem 1.1rem;
    }

    /* Section 2: Materials Trio */
    .section-materials-dark {
        padding: 2.5rem 0;
    }

    .material-card {
        aspect-ratio: auto;
        min-height: 250px;
        padding: 1.25rem;
    }

    .material-name {
        font-size: 24px;
    }

    .material-desc {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .material-link {
        font-size: 14.5px;
    }

    /* Section 3: Curated Products */
    .section-curated-products {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .curated-products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.6rem;
    }

    .curated-product-card:first-child {
        grid-column: span 1;
    }

    .curated-thumb-wrap,
    .curated-product-card:first-child .curated-thumb-wrap {
        height: 250px;
    }

    .curated-item-name,
    .curated-product-card:first-child .curated-item-name {
        font-size: 20px;
    }

    .curated-item-tag {
        font-size: 13.5px;
    }

    /* Section 4: Workshop Story */
    .section-workshop-family {
        padding: 2.5rem 0;
    }

    .workshop-photo-wrap {
        height: 240px;
    }

    .workshop-story-card {
        padding: 1.8rem 1.15rem;
    }

    .story-p1,
    .story-p2,
    .workshop-story-card p {
        font-size: 15.5px;
        line-height: 24px;
    }

    .story-cta-action {
        width: 100%;
    }

    .btn-story-red {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
    }

    /* Section 5: Corporate RFQ */
    .section-corporate-rfq {
        padding: 2.5rem 0;
        background-size: 90px auto, 65px auto, 190px auto, cover;
    }

    .form-field label {
        font-size: 0.95rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 0.95rem;
        padding: 0.6rem 0.75rem;
    }

    .btn-submit-gold {
        font-size: 0.95rem;
        padding: 11px;
    }

    /* Section 6: Journal Preview */
    .section-journal-preview {
        padding: 2.5rem 0;
    }

    .journal-cards-grid {
        max-width: 100%;
        gap: 1.6rem;
    }


    /* Section 7: Partners */
    .section-partners {
        padding: 2.2rem 0;
    }

    .partners-logos-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem 0.8rem;
    }

    .partner-text-brand {
        font-size: 0.95rem;
    }

    /* Footer */
    .site-footer {
        padding: 2.8rem 0 1.5rem 0;
    }

    .brand-logo-footer-img {
        width: 105px;
    }

    .footer-motif {
        width: 110px;
        height: 130px;
        opacity: 0.16;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 0.75rem;
    }

    .footer-list a,
    .contact-link {
        line-height: 36px;
        font-size: 15.5px;
    }

    .contact-desc {
        font-size: 15px;
        line-height: 23px;
    }

    .footer-copy,
    .footer-legal a {
        font-size: 14.5px;
    }

    /* Page: About Us (<= 480px) */
    .about-hero-text {
        padding: 2.8rem 1rem 2.2rem;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-desc {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .about-hero-image {
        min-height: 290px;
        height: 290px;
    }

    .about-hero-image img {
        transform: translateY(-25px);
    }

    .about-stats-strip .stat-box .num {
        font-size: 2.2rem;
    }

    .maker-card-simple .maker-photo {
        height: 300px;
    }
}

@media (max-width: 1024px) {

    /* Responsive adjustments for Figma Ver 2 */
    .workshop-vtv-grid,
    .materials-intro-row,
    .partners-hero-grid,
    .artisan-profile-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .favorite-row-1 .card-wide,
    .favorite-row-1 .card-standard,
    .favorite-row-2 .card-standard,
    .favorite-row-2 .card-wide {
        flex: 1 1 100%;
    }

    .sale-product-card {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }

    .space-slider-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {

    .workshop-vtv-title,
    .materialstitle,
    .favorite-title,
    .sale-main-title,
    .sale-section-title,
    .partners-hero-title,
    .cobranded-title,
    .invitation-title,
    .artisan-main-name,
    .artisan-main-heading {
        font-size: 30px;
        line-height: 1.25;
    }

    .sale-product-card {
        flex: 0 0 85%;
        width: 85%;
        max-width: 85%;
        height: auto;
    }

    .map-card-container {
        position: static;
        padding: 1.5rem 1rem;
        height: auto;
        justify-content: stretch;
    }

    .contact-space-slider-section {
        padding: 3.5rem 0 4rem 0;
    }

    .space-slider-track:not(.swiper-wrapper) {
        padding: 0 7vw;
        gap: 16px;
    }
}