/* ============================================
   TABLET PORTRAIT (768px và nhỏ hơn)
   ============================================ */
@media (max-width: 768px) {

  /* Hero Section - Điều chỉnh chiều cao */
  .page-home .hero-fullwidth {
    height: 100vh;
  }

  .page-home .hero-content {
    width: 100%;
    padding: 15px;
    text-align: center;
  }

  .page-home .hero-content h1 {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.3;
    white-space: break-spaces;
  }

  .page-home .hero-content p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  /* Hero CTA - Stack buttons vertically */
  .page-home .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .page-home .hero-cta .btn {
    width: fit-content;
  }

  /* Hero Navigation */
  .page-home .hero-nav {
    padding: 0 15px;
  }

  .page-home .hero-prev,
  .page-home .hero-next {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .page-home .hero-dots {
    bottom: 20px;
    gap: 10px;
  }

  .page-home .hero-dots .dot {
    width: 8px;
    height: 12px;
  }

  .page-home .hero-dots .dot.active {
    width: 24px;
  }

  /* Section Spacing */
  .page-home .section {
    padding: 40px 0;
  }

  .page-home .section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Product Grid - Horizontal Scroll */
  .page-home .grid,
  .page-home .products-grids {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 0 15px 20px 15px;
    margin: 0 -15px; /* Edge-to-edge scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    grid-template-columns: unset;
  }

  .page-home .grid::-webkit-scrollbar,
  .page-home .products-grids::-webkit-scrollbar {
    display: none;
  }

  .page-home .product-card {
    min-width: 220px;
    width: 220px;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Package Grid - Horizontal Scroll */
  .page-home .package-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 0 15px 20px 15px;
    margin: 0 -15px; /* Edge-to-edge scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    grid-template-columns: unset;
  }

  .page-home .package-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .package-card {
    min-width: 280px;
    width: 280px;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin-bottom: 0;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Card Adjustments */
  .page-home .card {
    border-radius: 12px;
  }

  .page-home .card img {
    padding: 12px;
  }

  .page-home .card-body {
    padding: 14px;
    gap: 8px;
  }

  .page-home .card-body>div:first-child {
    font-size: 25x;
    min-height: 36px;
    -webkit-line-clamp: 2;
  }

  .page-home .card-body .price {
    font-size: 16px;
  }

  .page-home .card-body .price .original-price {
    font-size: 20px;
  }

  .page-home .card-body .price .sale-price {
    font-size: 25px;
  }

  /* Promotion Grid - 1 cột */
  .page-home .promotion-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Booking Section */
  .page-home .booking-section {
    padding: 30px 20px;
    border-radius: 16px;
    margin-top: -30px;
    display: none;
  }

  .page-home .booking-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .page-home form {
    padding: 24px;
  }

  .page-home form .row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .page-home input,
  .page-home textarea,
  .page-home select {
    padding: 10px 14px;
    font-size: 14px;
  }

  /* Newsletter Section */
  .page-home .newsletter-section {
    padding: 35px 20px;
    border-radius: 16px;
  }

  .page-home .newsletter-section h2 {
    font-size: 28px;
  }

  .page-home .newsletter-section p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .page-home .newsletter-section input[type="email"] {
    padding: 12px 18px;
    font-size: 15px;
  }

  .page-home .newsletter-section .btn-primary {
    padding: 12px 32px;
    font-size: 15px;
  }

  /* Carousel Navigation - Inside frame on mobile */
  .page-home .product-carousel-wrapper .swiper-button-prev {
    left: 8px;
    width: 36px;
    height: 36px;
    display: none;
  }


  .product-carousel-wrapper .swiper-button-prev::after .page-home .product-carousel-wrapper .swiper-button-next::after {
    font-size: 14px;
    display: none;
  }

  /* Map Section */
  .page-home .map-section iframe {
    height: 100%;
  }

  /* Package Grid - Responsive */
  .page-home .popular-packages-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 300px);
  }

  .page-home .package-overlay {
    padding: 1.5rem;
  }

  .page-home .package-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .page-home .section-popular-packages .section-title h2 {
    font-size: 16px;
  }

  .page-home .packages-footer-action .btn-view-all {
    font-size: 10px;
    padding: 10px 20px;
  }

  .page-home .package-price-bar {
    font-size: 16px;
  }

  .page-home .btn-learn-more {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* .page-home .package-name {
    font-size: 12px;
    margin-top: 0;
  } */

  /* .page-home .package-price-bar {
    font-size: 12px;
  }

  .page-home .package-desc {
    font-size: 10px;
  } */

  /* .page-home .btn-explore {
    font-size: 10px;
  } */
}


/* ============================================
   TOUCH ENHANCEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {

  /* Tăng kích thước vùng chạm */
  .page-home .card {
    cursor: pointer;
  }

  .page-home .hero-prev,
  .page-home .hero-next,
  .page-home .hero-dots .dot {
    min-width: 10px;
    min-height: 10px;
  }

  .page-home .product-carousel-wrapper .swiper-button-prev,
  .page-home .product-carousel-wrapper .swiper-button-next {
    display: none;
  }

  /* Loại bỏ hiệu ứng hover trên thiết bị cảm ứng */
  .page-home .card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .page-home .card:active {
    transform: scale(0.98);
  }

  /* Active states for buttons */
  .page-home .btn:active {
    transform: scale(0.95);
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {

  /* Reduce animation complexity on mobile */
  .page-home .hero-slide {
    transition: opacity 0.5s ease-in-out;
  }

  .page-home .card {
    transition: transform 0.2s ease;
  }

  .page-home .card:hover img {
    transform: none;
  }

  /* Simplify shadows on mobile for better performance */
  .page-home .card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .page-home .card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {

  /* Tăng kích thước font cho dễ đọc */
  .page-home body {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Tăng khoảng cách giữa các phần tử tương tác */
  .page-home .hero-cta .btn {
    margin: 6px 0;
  }

  /* Đảm bảo contrast tốt trên mobile */
  .page-home .hero-content h1,
  .page-home .hero-content p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================
   PACKAGES: stacked mobile layout + "Xem thêm"
   ============================================ */
@media (max-width: 768px) {

  /* Ensure packages section title keeps desktop styling */
  .page-home .section-packages .section-packages-title {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .page-home .section-packages .section-packages-title h2 {
    font-family: 'Philosopher', serif;
    font-size: 36px;
    color: var(--zz-blue-dark);
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .page-home .section-packages .line {
    height: 2px;
    background: var(--zz-blue-dark);
    flex: 1;
    max-width: 200px;
    opacity: 0.6;
  }

  .page-home .section-packages {
    padding: 24px 0;
  }

  .page-home .section-packages .package-carousel-wrapper {
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* ensure load-more centers by centering the wrapper's inline content */
  .page-home .section-packages .package-carousel-wrapper,
  .page-home .section-products .product-carousel-wrapper {
    text-align: center;
    /* Stack carousel content so the load-more button sits directly under the slides */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-home .section-packages .packages-swiper .swiper-wrapper {
    display: block;
    /* stack slides vertically */
  }

  .page-home .section-packages .packages-swiper .swiper-slide {
    display: block;
    margin-bottom: 18px;
  }

  .page-home .section-packages .card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .page-home .section-packages .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }

  .page-home .section-packages .card-body {
    width: 58%;
    padding: 8px 0;
    text-align: left;
  }

  /* Promotion Grid */
  /* Redesigned Promotion List Mobile */
  .page-home .promotion-list {
    gap: 40px;
    margin-top: 20px;
  }

  .page-home .promotion-card {
    flex-direction: column;
    gap: 20px;
  }

  .page-home .promotion-card.reverse {
    flex-direction: column;
  }

  .page-home .promotion-image {
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .page-home .promotion-content {
    padding: 0 10px;
  }

  .page-home .promotion-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .page-home .promotion-desc {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .page-home .promotion-content .btn-explore {
    padding: 10px 24px;
    font-size: 12px;
  }

  .page-home .promotion-grid {
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .section-promotions .card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .page-home .section-promotions .card img {
    height: 100px;
    object-fit: cover;
  }

  .page-home .section-promotions .card-body {
    padding: 6px;
  }

  /* Mirror packages mobile layout for products as well */
  .page-home .section-products .section-products-title {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
  }

  .page-home .section-products .section-products-title h2 {
    font-family: 'Philosopher', serif;
    font-size: 36px;
    color: var(--zz-blue-dark);
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .page-home .section-products .line {
    height: 2px;
    background: var(--zz-blue-dark);
    flex: 1;
    max-width: 500px;
    opacity: 0.6;
  }

  .page-home .section-products {
    padding: 24px 0;
  }

  .page-home .section-products .product-carousel-wrapper {
    padding: 0 12px;
    box-sizing: border-box;
  }

  .page-home .section-products .products-swiper .swiper-wrapper {
    display: block;
    /* stack slides vertically */
  }

  .page-home .section-products .products-swiper .swiper-slide {
    display: block;
    margin-bottom: 18px;
  }

  .page-home .section-products .card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .page-home .section-products .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }

  .page-home .section-products .card-body {
    width: 58%;
    padding: 8px 0;
    text-align: left;
  }

  .page-home .packages-loadmore {
    display: block;
    /* center via wrapper text-align */
    margin: 12px 0 0;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--bg);
    border: 2px solid var(--zz-blue);
    color: var(--zz-blue);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    vertical-align: middle;
    /* make button feel attached to cards: fill available width but cap to a comfortable size */
    width: fit-content;
  }

  .page-home .packages-loadmore:hover {
    background: var(--zz-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 107, 172, 0.12);
  }

  .page-home .packages-loadmore:active {
    transform: translateY(0);
  }

  .page-home .packages-loadmore:focus-visible {
    outline: 3px solid rgba(15, 107, 172, 0.18);
    outline-offset: 3px;
  }

  .page-home .section-promotions .card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

}

/* ============================================
   MOBILE (480px và nhỏ hơn)
   ============================================ */
@media (max-width: 480px) {

  /* Hero Section - Compact */
  .page-home .hero-fullwidth {
    height: 100vh;
  }

  .page-home .hero-content h1 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .page-home .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .page-home .hero-cta .btn-hero-small {
    padding: 11px 24px;
    font-size: 14px;
    min-width: 140px;
  }

  .page-home .hero-prev,
  .page-home .hero-next {
    /* width: 32px;
    height: 32px;
    font-size: 14px; */
    display: none;
  }

  .page-home .hero-dots {
    bottom: 15px;
    gap: 8px;
  }

  .page-home .hero-dots .dot {
    width: 7px;
    height: 12px;
  }

  .page-home .hero-dots .dot.active {
    width: 20px;
  }

  /* Section Spacing */
  .page-home .section {
    padding: 10px 0;
  }

  .page-home .section-products {
    padding: 20px 0;
    justify-items: center;
    background-color: transparent;
  }

  .page-home .section-products h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-family: 'Philosopher', sans-serif;
  }

  .page-home .section-products .line {
    display: none;
  }

  .page-home .section-products .product-carousel-wrapper {
    width: 100%;
  }

  .page-home .section-products .product-name {
    font-size: 15px;
    font-weight: 600;
    min-height: 40px;
    font-family: 'Philosopher', sans-serif;
  }

  .page-home .section-products .description {
    min-height: 50px;
  }

  .page-home .section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    font-family: 'Philosopher', sans-serif;
  }

  .page-home .section h2::after {
    width: 50px;
    height: 3px;
    bottom: -10px;
  }

  /* Container Padding */
  .page-home .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Product Grid - Narrow gaps */
  .page-home .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Card Styling */
  .page-home .card {
    border-radius: 10px;
  }

  .page-home .card img {
    padding: 8px;
  }

  .page-home .card-body {
    padding: 12px 10px;
    gap: 6px;
  }

  .page-home .card-body>div:first-child {
    font-size: 18px;
    min-height: 32px;
    font-weight: 600;
  }

  .page-home .card-body .muted {
    font-size: 11px;
  }

  .page-home .card-body .price {
    font-size: 15px;
    gap: 4px;
  }

  .page-home .card-body .price .original-price {
    font-size: 15px;
  }

  .page-home .card-body .price .sale-price {
    font-size: 18px;
  }

  /* Promotion Grid */
  /* Redesigned Promotion List Mobile */
  .page-home .promotion-list {
    gap: 40px;
    margin-top: 20px;
  }

  .page-home .promotion-card {
    flex-direction: column;
    gap: 20px;
  }

  .page-home .promotion-card.reverse {
    flex-direction: column;
  }

  .page-home .promotion-image {
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .page-home .promotion-content {
    padding: 0 10px;
  }

  .page-home .promotion-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .page-home .promotion-desc {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .page-home .promotion-content .btn-explore {
    padding: 10px 24px;
    font-size: 12px;
  }

  .page-home .promotion-grid {
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .section-promotions .card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .page-home .section-promotions .card img {
    height: 100px;
    object-fit: cover;
  }

  .page-home .section-promotions .card-body {
    padding: 6px;
  }

  .page-home .section-promotions .product-name {
    font-size: 12px;
    min-height: auto;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .page-home .section-promotions .muted {
    font-size: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-home .promo-card::before {
    font-size: 24px;
    top: 10px;
    right: 10px;
  }

  /* Featured Products Mobile */
  .page-home .featured-products-layout {
    flex-direction: column;
    gap: 20px;
  }

  .page-home .featured-sidebar {
    width: 100%;
  }

  .page-home .category-tabs-vertical {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    position: static;
    gap: 10px;
  }

  .page-home .category-tab {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 14px;
    margin: 5px;
  }

  .page-home .category-tab:hover,
  .page-home .category-tab.active {
    padding-left: 16px;
    /* Reset slide effect */
    background: var(--zz-blue);
    color: #fff;
    border-color: var(--zz-blue);
  }

  .page-home .products-grids {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-home .section-featured-products .product-name {
    font-size: 13px;
  }

  /* Booking Section */
  .page-home .booking-section {
    padding: 24px 16px;
    border-radius: 12px;
    margin-top: -20px;
    display: none !important;
  }

  .page-home .booking-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-home form {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .page-home form .row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .page-home label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .page-home input,
  .page-home textarea,
  .page-home select {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
  }

  .page-home .btn {
    font-size: 15px;
  }

  .page-home .note {
    font-size: 12px;
    margin-top: 10px;
  }

  .page-home .alert {
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Newsletter Section */
  .page-home .newsletter-section {
    padding: 28px 16px;
    border-radius: 12px;
  }

  .page-home .newsletter-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .page-home .newsletter-section p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .page-home .newsletter-section input[type="email"] {
    padding: 11px 16px;
    font-size: 14px;
    border-radius: 25px;
  }

  .page-home .newsletter-section .btn-primary {
    padding: 11px 28px;
    font-size: 14px;
    margin-top: 12px;
  }

  /* Carousel Navigation */
  .page-home .product-carousel-wrapper .swiper-button-prev {
    left: 5px;
    width: 32px;
    height: 32px;
  }

  .page-home .product-carousel-wrapper .swiper-button-next {
    right: 5px;
    width: 32px;
    height: 32px;
    display: none;
  }

  .product-carousel-wrapper .swiper-button-prev::after .page-home .product-carousel-wrapper .swiper-button-next::after {
    font-size: 12px;
    display: none;
  }

  /* Map Section */
  .page-home .map-section iframe {
    height: 100%;
  }

  /* Package Grid */
  .page-home .popular-packages-grid {
    grid-template-rows: repeat(4, 250px);
  }

  .page-home .package-overlay {
    padding: 1rem;
  }

  .page-home .package-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .page-home .btn-learn-more {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .page-home .booking-section {
    display: none;
  }

  .page-home .section-packages .section-packages-title h2 {
    font-size: 18px;
  }

  .page-home .section-promotions-title h2 {
    font-size: 18px;
  }


}

/* ============================================
   EXTRA SMALL MOBILE (360px và nhỏ hơn)
   ============================================ */
@media (max-width: 360px) {

  /* Hero - Very compact */
  .page-home .hero-fullwidth {
    height: 100vh;
  }

  .page-home .hero-content h1 {
    font-size: 22px;
  }

  .page-home .hero-content p {
    font-size: 13px;
  }

  .page-home .hero-cta .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* Section */
  .page-home .section h2 {
    font-size: 22px;
  }

  /* Grid - Single column for very small screens */
  .page-home .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Card */
  .page-home .card-body {
    padding: 10px;
  }

  .page-home .card-body>div:first-child {
    font-size: 15px;
    min-height: 28px;
  }

  .page-home .card-body .price .sale-price {
    font-size: 15px;
  }

  /* Forms */
  .page-home .booking-section {
    padding: 20px 12px;
    display: none;
  }

  .page-home form {
    padding: 16px 12px;
  }

  .page-home input,
  .page-home textarea,
  .page-home select {
    padding: 9px 12px;
    font-size: 13px;
  }

  /* Package Grid */
  .page-home .popular-packages-grid {
    grid-template-rows: repeat(4, 220px);
  }

  .page-home .package-overlay h3 {
    font-size: 1.1rem;
  }
}

/* ============================================
   LANDSCAPE ORIENTATION (Mobile/Tablet)
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .page-home .hero-fullwidth {
    height: 100vh;
  }

  .page-home .hero-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .page-home .hero-content p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .page-home .hero-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .page-home .hero-dots {
    bottom: 10px;
  }

  .page-home .section-promotions-title h2 {
    font-size: 18px;
  }
}

/* Featured Products Mobile (Horizontal Tabs) */
@media (max-width: 768px) {
  .page-home .featured-products-layout-v2 {
    gap: 20px;
  }

  .page-home .category-tabs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-home .category-tabs-horizontal {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    flex-wrap: nowrap;
  }

  .page-home .category-tab {
    white-space: nowrap;
    min-width: auto;
    padding: 8px 16px;
    font-size: 13px;
  }

  .page-home .tabs-line {
    display: none;
    /* Hide line on mobile */
  }

  .page-home .products-grids {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}