/* ============================================================
   Home Page Template – ACF Flexible Content
   Thay thế Elementor cho trang chủ Soccerstore.vn
   ============================================================ */

/* ── Common ────────────────────────────────────────────── */
.gbd-home-page {
    overflow-x: hidden;
}

.gbd-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.gbd-section {
    padding: 40px 0;
}

/* Optional dark/light background on section */
body[data-mode="dark"] .gbd-section--bg-dark {
    background-color: #0d0e14;
}

body[data-mode="light"] .gbd-section--bg-dark {
    background-color: #f2f4f8;
}

.gbd-section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 25px;
    letter-spacing: 0.5px;
}

.gbd-product-section-header,
.gbd-posts-section-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 40px;
}

.gbd-posts-section-heading,
.gbd-product-section-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    position: relative;
}

.gbd-view-all-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    padding: 9px 22px;
    border: 1.5px solid #FFC107;
    background: #FFC107;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.gbd-view-all-btn:hover {
    background: #FFD740;
    border-color: #FFD740;
    color: #000;
}

/* ── Hero Banner ──────────────────────────────────────── */
.gbd-hero-section {
    padding: 0 0 35px;
}

.gbd-hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.gbd-hero-grid {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

/* Full-width hero (single banner) */
.gbd-hero-grid--full .gbd-hero-banner-wrap {
    flex: 1 0 100%;
}

/* Sized columns */
.gbd-hero-banner-wrap.size-large  { flex: 0 0 calc(41% - 7px); }
.gbd-hero-banner-wrap.size-medium { flex: 0 0 calc(26% - 7px); }
.gbd-hero-banner-wrap.size-full   { flex: 1 0 100%; }

/* Stack column (small banners grouped vertically) */
.gbd-hero-col-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.gbd-hero-col-stack .gbd-hero-banner-wrap {
    flex: 1;
}

.gbd-hero-banner-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    min-width: 0;
}

.gbd-hero-banner-link {
    display: block;
    height: 100%;
}

.gbd-hero-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.35s ease;
}

.gbd-hero-banner-wrap:hover img {
    transform: scale(1.025);
}

.gbd-hero-banner-content {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 2;
    pointer-events: none;
}

.gbd-hero-banner-content .banner-title {
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.1;
    color: #191919;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.gbd-hero-banner-content .banner-subtitle {
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    color: #191919;
    margin: 0 0 16px;
}

.gbd-hero-banner-btn {
    display: inline-block;
    padding: 14px 44px;
    background: #0C0C0C;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    pointer-events: auto;
}

.gbd-hero-banner-btn:hover {
    background: #fff;
    color: #000;
}

/* ── Service Bar ──────────────────────────────────────── */
.gbd-service-bar {
    padding: 10px 0 0;
}

.gbd-service-bar-inner {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.gbd-service-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F3F5FA;
    border-radius: 10px;
    padding: 14px 15px;
    text-decoration: none;
    color: #111;
    transition: box-shadow 0.2s;
}

.gbd-service-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #111;
}

.gbd-service-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gbd-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body[data-mode="light"] .gbd-service-icon img {
    filter: brightness(0) saturate(100%);
}

.gbd-service-text {
    font-size: 15px;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    color: #111;
    white-space: pre-line;
}

.gbd-service-text strong,
.gbd-service-text span {
    font-weight: 600;
    color: #ff513a;
}

body[data-mode="dark"] .gbd-service-text strong,
body[data-mode="dark"]  .gbd-service-text span {
    color: #FFE11B;
}

/* ── Image Grid ───────────────────────────────────────── */
.gbd-image-grid {
    padding: 40px 0;
}

.gbd-image-grid-items {
    display: grid;
    gap: 12px;
}

.gbd-image-grid-items.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gbd-image-grid-items.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gbd-image-grid-items.cols-5 { grid-template-columns: repeat(5, 1fr); }
.gbd-image-grid-items.cols-6 { grid-template-columns: repeat(6, 1fr); }
.gbd-image-grid-items.cols-7 { grid-template-columns: repeat(7, 1fr); }

.gbd-image-grid-item {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #333;
}

.gbd-image-grid-item-img {
    overflow: hidden;
    border-radius: 8px;
}

.gbd-image-grid-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.gbd-image-grid-item:hover img {
    transform: scale(1.06);
}

.gbd-image-grid-item-title {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* ── Product Grid (custom card) ──────────────────────── */
.gbd-product-grid {
    display: grid;
    gap: 16px;
}

.gbd-product-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gbd-product-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gbd-product-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.gbd-product-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }
.gbd-product-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }

/* ── Product Card ─────────────────────────────────────── */
.gbd-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.gbd-product-card__img-wrap {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gbd-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.gbd-product-card:hover .gbd-product-card__img-wrap img {
    transform: scale(1.05);
}

.gbd-product-card__body {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gbd-product-card__cat {
    font-size: 11px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    display: block;
}

.gbd-product-card__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gbd-product-card__name a {
    color: #222;
    text-decoration: none;
}

.gbd-product-card__name a:hover {
    color: #FF513A;
}

.gbd-product-card__price {
    font-size: 16px;
    font-weight: 500;
    color: #e74c3c;
    line-height: 1.3;
}

.gbd-product-card__price del,
.gbd-product-card__price del span.woocommerce-Price-amount.amount:first-child {
    display: inline-block;
    color: #fff !important;
    font-weight: 400;
    margin-right: 4px;
    text-decoration: line-through;
    opacity: 0.6;
}

.gbd-product-card__price ins,
.gbd-product-card__price ins span {
    text-decoration: none;
}

/* Light mode */

body[data-mode="light"] .gbd-product-card__price {
    color: #FF315A;
}

body[data-mode="light"] .gbd-product-card__price ins,
body[data-mode="light"] .gbd-product-card__price ins span {
    color: #FF315A !important;
}

body[data-mode="light"] .gbd-product-card__price del,
body[data-mode="light"] .gbd-product-card__price del .woocommerce-Price-amount.amount:first-child {
    color: #222 !important;
    opacity: 0.6;
}

/* Dark mode */


body[data-mode="dark"] .gbd-product-card__name a {
    color: #e0e0e0;
}

body[data-mode="dark"] .gbd-product-card__cat {
    color: #222;
}

/* Swiper slide card */
.gbd-product-swiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.gbd-product-swiper .swiper-slide .gbd-product-card {
    width: 100%;
}

/* ── Product Section ──────────────────────────────────── */
.gbd-product-section {
    padding: 40px 0;
}

.gbd-product-swiper,
.gbd-posts-swiper,
.gbd-brands-swiper {
    overflow: hidden;
}

/* Pre-init: prevent CLS before Swiper JS runs */
.gbd-product-swiper .swiper-wrapper,
.gbd-posts-swiper .swiper-wrapper,
.gbd-brands-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.gbd-product-swiper .swiper-slide,
.gbd-posts-swiper .swiper-slide,
.gbd-brands-swiper .swiper-slide {
    flex-shrink: 0;
    width: calc(50% - 5px); /* mobile default: 2 per row */
}

@media (min-width: 1025px) {
    .gbd-product-swiper .swiper-slide {
        width: calc(100% / var(--gbd-cols, 4));
    }
    .gbd-posts-swiper .swiper-slide {
        width: calc(100% / var(--gbd-cols, 3));
    }
    .gbd-brands-swiper .swiper-slide {
        width: calc(100% / var(--gbd-cols, 6));
    }
}

/* Grid with side banner */
.gbd-product-grid-with-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.gbd-product-grid-products {
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.gbd-product-grid-banner-col .gbd-side-banner {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.gbd-product-grid-banner-col img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gbd-product-grid-banner-col .gbd-side-banner:hover img {
    transform: scale(1.02);
}

/* ── Product Swiper Carousel ──────────────────────────── */
.gbd-product-swiper {
    position: relative;
    overflow: hidden;
}

/* Equal-height slides */
.gbd-product-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.gbd-product-swiper .swiper-slide {
    height: auto !important;
    display: flex;
    box-sizing: border-box;
}


/* Navigation buttons – shared */
.gbd-product-swiper .swiper-button-prev,
.gbd-product-swiper .swiper-button-next,
.gbd-posts-swiper .swiper-button-prev,
.gbd-posts-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    top: 38%;
    transition: opacity 0.2s ease, box-shadow 0.2s, transform 0.15s;
}

.gbd-product-swiper .swiper-button-prev:hover,
.gbd-product-swiper .swiper-button-next:hover,
.gbd-posts-swiper .swiper-button-prev:hover,
.gbd-posts-swiper .swiper-button-next:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transform: scale(1.08);
}

.gbd-product-swiper .swiper-button-prev::after,
.gbd-product-swiper .swiper-button-next::after,
.gbd-posts-swiper .swiper-button-prev::after,
.gbd-posts-swiper .swiper-button-next::after {
    font-size: 13px;
    font-weight: 800;
    color: #333;
}

body[data-mode="dark"] .gbd-product-swiper .swiper-button-prev,
body[data-mode="dark"] .gbd-product-swiper .swiper-button-next,
body[data-mode="dark"] .gbd-posts-swiper .swiper-button-prev,
body[data-mode="dark"] .gbd-posts-swiper .swiper-button-next {
    background: #2a2b38;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

body[data-mode="dark"] .gbd-product-swiper .swiper-button-prev::after,
body[data-mode="dark"] .gbd-product-swiper .swiper-button-next::after,
body[data-mode="dark"] .gbd-posts-swiper .swiper-button-prev::after,
body[data-mode="dark"] .gbd-posts-swiper .swiper-button-next::after {
    color: #ddd;
}

/* Pagination dots – shared */
.gbd-product-swiper .swiper-pagination,
.gbd-posts-swiper .swiper-pagination,
.gbd-brands-swiper .swiper-pagination {
    display: none;
}

/* ── Commitment Section ───────────────────────────────── */
.gbd-commitment-section {
    padding: 40px 0;
}

.gbd-commitment-grid {
    display: grid;
    gap: 12px;
}

.gbd-commitment-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gbd-commitment-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gbd-commitment-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gbd-commitment-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.gbd-commitment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F3F5FA;
    border-radius: 10px;
    padding: 14px 25px;
}

.gbd-commitment-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.gbd-commitment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gbd-commitment-text-wrap {
    flex: 1;
    min-width: 0;
}

.gbd-commitment-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.3;
}

.gbd-commitment-text {
    font-size: 16px;
    color: #222;
    margin: 0;
    font-family: Roboto, sans-serif;
    line-height: 1.4;
}

.gbd-commitment-text strong,
.gbd-commitment-text span {
    font-weight: 600;
    color: #ff513a;
}

/* ── Brands Swiper ────────────────────────────────────── */
.gbd-brands-swiper {
    position: relative;
    overflow: hidden;
    padding: 0 32px;
}

.gbd-brands-swiper .swiper-button-prev,
.gbd-brands-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, box-shadow 0.2s;
}

.gbd-brands-swiper .swiper-button-prev { left: 0; }
.gbd-brands-swiper .swiper-button-next { right: 0; }

.gbd-brands-swiper .swiper-button-prev::after,
.gbd-brands-swiper .swiper-button-next::after {
    font-size: 11px;
    font-weight: 800;
    color: #555;
}

body[data-mode="dark"] .gbd-brands-swiper .swiper-button-prev,
body[data-mode="dark"] .gbd-brands-swiper .swiper-button-next {
    background: #2a2b38;
}

body[data-mode="dark"] .gbd-brands-swiper .swiper-button-prev::after,
body[data-mode="dark"] .gbd-brands-swiper .swiper-button-next::after {
    color: #bbb;
}

/* ── Brands Section ───────────────────────────────────── */
.gbd-brands-section {
    padding: 40px 0;
}

.gbd-brands-grid {
    display: grid;
    gap: 15px;
    align-items: center;
}

.gbd-brands-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gbd-brands-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gbd-brands-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.gbd-brands-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.gbd-brands-grid.cols-7 { grid-template-columns: repeat(7, 1fr); }
.gbd-brands-grid.cols-8 { grid-template-columns: repeat(8, 1fr); }

.gbd-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.2s, background 0.2s;
    overflow: hidden;
}

.gbd-brand-item:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    background: #fff;
}

.gbd-brand-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    height: auto;
    object-fit: contain;
    transition: filter 0.2s;
}

.gbd-brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #000;  
    text-align: center;
}

body[data-mode="dark"]  .gbd-brand-name {
    color: #fff;  
}

/* ── Posts Section ────────────────────────────────────── */
.gbd-posts-section {
    padding: 40px 0;
}

.gbd-posts-swiper {
    overflow: hidden;
    position: relative;
}

.gbd-post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    height: 100%;
}

.gbd-post-card-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

.gbd-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gbd-post-card:hover .gbd-post-card-thumb img {
    transform: scale(1.05);
}

/* Date badge overlay */
.gbd-post-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    min-width: 44px;
}

.gbd-post-card-day {
    font-size: 20px;
    font-weight: 700;
}

.gbd-post-card-month {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

.gbd-post-card-body {
    padding: 14px 0 0;
    flex: 1;
}

.gbd-post-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 8px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gbd-post-card:hover .gbd-post-card-title {
    color: #FF513A;
}

.gbd-post-card-excerpt {
    color: #fff;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body[data-mode="light"] .gbd-post-card-excerpt {
    color: #222;
}
/* ── Light mode ──────────────────────────────────────── */
body[data-mode="light"] .gbd-commitment-icon img,
body[data-mode="light"] .gbd-service-icon img {
    filter: brightness(0) saturate(100%);
}

body[data-mode="light"] .gbd-section-heading,
body[data-mode="light"] .gbd-product-section-heading,
body[data-mode="light"] .gbd-posts-section-heading,
body[data-mode="light"] .gbd-commitment-title,
body[data-mode="light"] .gbd-commitment-text,
body[data-mode="light"] .gbd-service-text {
    color: #111;
}

body[data-mode="light"] .gbd-post-card-title {
    color: #222;
}

body[data-mode="light"] .gbd-image-grid-item-title {
    color: #333;
}

/* light mode btn inherits base yellow style – no override needed */

/* ── Dark mode ────────────────────────────────────────── */
body[data-mode="dark"] .gbd-service-item,
body[data-mode="dark"] .gbd-commitment-item {
    background: #171821;
    color: #e0e0e0;
}

body[data-mode="dark"] .gbd-service-text,
body[data-mode="dark"] .gbd-commitment-text,
body[data-mode="dark"] .gbd-commitment-title {
    color: rgb(255, 255, 255);
}

body[data-mode="dark"] .gbd-post-card-title {
    color: rgb(255, 225, 27);
}

body[data-mode="dark"] .gbd-image-grid-item-title {
    color: rgb(255, 255, 255);
}

body[data-mode="dark"] .gbd-view-all-btn {
    background: #FFC107;
    border-color: #FFC107;
    color: #000;
}

body[data-mode="dark"] .gbd-view-all-btn:hover {
    background: #FFD740;
    border-color: #FFD740;
    color: #000;
}

/* ── Desktop only: nav hover-reveal, no dots ─────────── */
@media (min-width: 769px) {
    /* Clip slides — no padding so Swiper width calc is exact */
    .gbd-product-swiper,
    .gbd-posts-swiper,
    .gbd-brands-swiper {
        overflow: hidden;
    }

    /* Nav buttons overlay edges of slides */
    .gbd-product-swiper .swiper-button-prev,
    .gbd-posts-swiper .swiper-button-prev { left: 4px; }

    .gbd-product-swiper .swiper-button-next,
    .gbd-posts-swiper .swiper-button-next { right: 4px; }

    /* Nav: hidden until user hovers the swiper */
    .gbd-product-swiper .swiper-button-prev,
    .gbd-product-swiper .swiper-button-next,
    .gbd-posts-swiper .swiper-button-prev,
    .gbd-posts-swiper .swiper-button-next,
    .gbd-brands-swiper .swiper-button-prev,
    .gbd-brands-swiper .swiper-button-next {
        opacity: 0;
        pointer-events: none;
    }

    .gbd-product-swiper:hover .swiper-button-prev,
    .gbd-product-swiper:hover .swiper-button-next,
    .gbd-posts-swiper:hover .swiper-button-prev,
    .gbd-posts-swiper:hover .swiper-button-next,
    .gbd-brands-swiper:hover .swiper-button-prev,
    .gbd-brands-swiper:hover .swiper-button-next {
        opacity: 1;
        pointer-events: auto;
    }

    /* Pagination: hidden on desktop */
    .gbd-product-swiper .swiper-pagination,
    .gbd-posts-swiper .swiper-pagination,
    .gbd-brands-swiper .swiper-pagination {
        display: none;
    }
}

/* ── Tablet (≤1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
    .gbd-hero-grid { flex-wrap: wrap; }
    .gbd-hero-banner-wrap.size-large  { flex: 1 0 100%; }
    .gbd-hero-banner-wrap.size-medium { flex: 0 0 calc(50% - 5px); }
    .gbd-hero-col-stack               { flex: 0 0 calc(50% - 5px); flex-direction: row; }
    .gbd-hero-col-stack .gbd-hero-banner-wrap { flex: 1; }

    .gbd-image-grid-items.cols-6,
    .gbd-image-grid-items.cols-7 { grid-template-columns: repeat(4, 1fr); }

    .gbd-product-grid.columns-5,
    .gbd-product-grid.columns-6 { grid-template-columns: repeat(3, 1fr); }

    .gbd-product-grid-with-banner { grid-template-columns: 1fr; }
    .gbd-product-grid-banner-col .gbd-side-banner { position: static; }

    .gbd-commitment-grid.cols-4,
    .gbd-commitment-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }

    .gbd-brands-grid.cols-6,
    .gbd-brands-grid.cols-7,
    .gbd-brands-grid.cols-8 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile (≤768px) ──────────────────────────────────── */
@media (max-width: 768px) {
    .gbd-hero-grid { flex-direction: column; }
    .gbd-hero-banner-wrap.size-large,
    .gbd-hero-banner-wrap.size-medium { flex: 1 0 100%; }
    .gbd-hero-col-stack { flex: 1 0 100%; flex-direction: column; }

    .gbd-view-all-btn { display: none; }

    .gbd-service-bar-inner { flex-wrap: wrap; }
    .gbd-service-item { flex: 1 0 100%; }

    .gbd-image-grid-items.cols-5,
    .gbd-image-grid-items.cols-6,
    .gbd-image-grid-items.cols-7 { grid-template-columns: repeat(3, 1fr); }

    .gbd-product-grid.columns-3,
    .gbd-product-grid.columns-4,
    .gbd-product-grid.columns-5,
    .gbd-product-grid.columns-6 { grid-template-columns: repeat(2, 1fr); }

    .gbd-commitment-grid.cols-2,
    .gbd-commitment-grid.cols-3,
    .gbd-commitment-grid.cols-4,
    .gbd-commitment-grid.cols-5 { grid-template-columns: 1fr; }

    .gbd-brands-grid.cols-5,
    .gbd-brands-grid.cols-6,
    .gbd-brands-grid.cols-7,
    .gbd-brands-grid.cols-8 { grid-template-columns: repeat(3, 1fr); }

    .gbd-hero-banner-content { left: 20px; bottom: 20px; }
    .gbd-hero-banner-content .banner-title { font-size: 28px; }
    .gbd-hero-banner-btn { font-size: 16px; padding: 10px 28px; }

    /* Swiper on mobile: nav always visible, no dots */
    .gbd-product-swiper .swiper-button-prev,
    .gbd-product-swiper .swiper-button-next,
    .gbd-posts-swiper .swiper-button-prev,
    .gbd-posts-swiper .swiper-button-next,
    .gbd-brands-swiper .swiper-button-prev,
    .gbd-brands-swiper .swiper-button-next {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    .gbd-product-swiper .swiper-pagination,
    .gbd-posts-swiper .swiper-pagination,
    .gbd-brands-swiper .swiper-pagination {
        display: none;
    }
}

/* ── Small mobile (≤480px) ───────────────────────────── */
@media (max-width: 480px) {
    .gbd-image-grid-items.cols-3,
    .gbd-image-grid-items.cols-4,
    .gbd-image-grid-items.cols-5,
    .gbd-image-grid-items.cols-6,
    .gbd-image-grid-items.cols-7 { grid-template-columns: repeat(2, 1fr); }

    .gbd-service-item { flex: 1 0 100%; }

    .gbd-commitment-grid { grid-template-columns: 1fr; }

    .gbd-brands-grid { grid-template-columns: repeat(2, 1fr); }

}
