/**
 * Broiling Machine - Custom Styles
 * eiden.co.kr inspired: dark hero, fullwidth brand banners, tech feel
 *
 * @package Broiling_Machine
 */

/* ═══════════════════════════════════════════════
   HEADER - Dark charcoal header (eiden style)
   ═══════════════════════════════════════════════ */

.bm-header {
    background: rgba(33, 33, 33, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-header.scrolled {
    background: rgba(33, 33, 33, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.bm-header .fc-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bm-header .fc-nav-list li {
    list-style: none;
}

.bm-header .fc-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bm-header .fc-nav-list a:hover {
    color: #fff;
}

.bm-header .fc-header-actions a {
    color: rgba(255, 255, 255, 0.8);
}

.bm-header .fc-header-actions a:hover {
    color: #fff;
}

/* Logo */
.bm-logo-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.bm-logo-text small {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   HAMBURGER MENU (CSS-only)
   ═══════════════════════════════════════════════ */

.bm-menu-checkbox {
    display: none;
}

.bm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    gap: 5px;
}

.bm-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile Nav Panel */
.bm-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 9999;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.bm-mobile-nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
}

.bm-mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bm-mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.bm-mobile-nav a:hover {
    color: var(--bm-blue-light);
}

/* CSS-only toggle */
body:has(.bm-menu-checkbox:checked) .bm-mobile-nav {
    display: flex;
    transform: translateX(0);
}

body:has(.bm-menu-checkbox:checked)::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* ═══════════════════════════════════════════════
   HERO SLIDER (Fullscreen - eiden style)
   ═══════════════════════════════════════════════ */

.bm-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 0;
}

.bm-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.bm-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.bm-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.bm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(33, 33, 33, 0.85) 0%,
        rgba(38, 50, 56, 0.6) 50%,
        rgba(33, 33, 33, 0.75) 100%
    );
    z-index: 1;
}

.bm-hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding-top: 80px;
}

.bm-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--bm-blue-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bm-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.bm-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.bm-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Indicators */
.bm-hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.75rem;
}

.bm-hero-dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 2px;
}

.bm-hero-dot.active {
    background: #fff;
    width: 60px;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

.bm-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    text-align: center;
}

.bm-btn-primary {
    background: var(--bm-blue);
    color: #fff;
}

.bm-btn-primary:hover {
    background: var(--bm-blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}

.bm-btn-secondary {
    background: transparent;
    color: var(--bm-charcoal);
    border: 2px solid var(--bm-charcoal);
}

.bm-btn-secondary:hover {
    background: var(--bm-charcoal);
    color: #fff;
}

.bm-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bm-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.bm-btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.bm-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

.bm-btn-orange {
    background: var(--bm-orange);
    color: #fff;
}

.bm-btn-orange:hover {
    background: var(--bm-orange-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
}

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */

.bm-section-header,
.bm-section-header-center {
    margin-bottom: 2.5rem;
}

.bm-section-header-center {
    text-align: center;
    padding: 3rem 1.5rem 1rem;
}

.bm-section-label,
.bm-section-label-light {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.bm-section-label {
    color: var(--bm-blue);
}

.bm-section-label-light {
    color: var(--bm-blue-light);
}

.bm-section-title,
.bm-section-title-light {
    font-family: 'Pretendard', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.bm-section-title {
    color: var(--bm-text-dark);
}

.bm-section-title-light {
    color: #fff;
}

.bm-section-header-light {
    text-align: center;
    margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════════
   CATEGORY PORTAL (5-column grid)
   ═══════════════════════════════════════════════ */

.bm-category-portal {
    padding: 4rem 0;
    background: var(--bm-bg-light);
}

.bm-portal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.bm-portal-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem 1.2rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.bm-portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--bm-blue);
}

.bm-portal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-charcoal);
    background: var(--bm-bg-section);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bm-portal-card:hover .bm-portal-icon {
    background: var(--bm-blue);
    color: #fff;
}

.bm-portal-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bm-text-dark);
    margin-bottom: 0.3rem;
}

.bm-portal-desc {
    font-size: 0.75rem;
    color: var(--bm-text-muted);
    line-height: 1.4;
    margin: 0;
}

/* ═══════════════════════════════════════════════
   BRAND SHOWCASE (eiden core - fullwidth bg + overlay)
   ═══════════════════════════════════════════════ */

.bm-brand-showcase {
    padding: 0 0 0;
    background: var(--bm-bg-dark);
}

.bm-brand-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Placeholder backgrounds (replaced by real images via customizer/uploads) */
.bm-brand-banner-0 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.bm-brand-banner-1 {
    background: linear-gradient(135deg, #263238 0%, #37474F 100%);
}

.bm-brand-banner-2 {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

.bm-brand-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bm-brand-banner-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 4rem 0;
}

.bm-brand-banner-content.bm-brand-align-right {
    margin-left: auto;
    text-align: right;
}

.bm-brand-banner-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.bm-brand-banner-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.bm-brand-banner-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bm-brand-banner-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════
   FEATURED PRODUCTS (4-column grid + tab filter)
   ═══════════════════════════════════════════════ */

.bm-featured-products {
    padding: 5rem 0;
    background: #fff;
}

/* Product Tabs */
.bm-product-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
}

.bm-tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bm-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.bm-tab-btn:hover {
    color: var(--bm-text-dark);
}

.bm-tab-btn.active {
    color: var(--bm-blue);
    border-bottom-color: var(--bm-blue);
}

/* Product Grid */
.bm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    transition: opacity 0.3s ease;
}

/* Product Card */
.bm-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.bm-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bm-product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bm-bg-section);
}

.bm-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* eiden style: hover scale effect */
.bm-product-card:hover .bm-product-img img {
    transform: scale(1.08);
}

/* Product Badges */
.bm-product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.3rem;
    z-index: 2;
}

.bm-badge {
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.bm-badge-new {
    background: var(--bm-blue);
    color: #fff;
}

.bm-badge-sale {
    background: var(--bm-orange);
    color: #fff;
}

.bm-badge-best {
    background: var(--bm-charcoal);
    color: #fff;
}

/* Product Actions (hover overlay) */
.bm-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.bm-product-card:hover .bm-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.bm-product-action-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-charcoal);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.bm-product-action-btn:hover {
    background: var(--bm-blue);
    color: #fff;
}

/* Product Content */
.bm-product-content {
    padding: 1rem 1.2rem 1.2rem;
}

.bm-product-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.bm-product-name a {
    color: var(--bm-text-dark);
    text-decoration: none;
}

.bm-product-name a:hover {
    color: var(--bm-blue);
}

.bm-product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bm-text-dark);
}

.bm-product-price del {
    color: var(--bm-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.bm-product-price ins {
    text-decoration: none;
    color: var(--bm-orange);
}

.bm-products-more {
    text-align: center;
    margin-top: 2.5rem;
}

.bm-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--bm-text-muted);
}

/* ═══════════════════════════════════════════════
   STRENGTHS (3-column, dark bg - eiden "믿을 수 있는" style)
   ═══════════════════════════════════════════════ */

.bm-strengths {
    padding: 5rem 0;
    background: var(--bm-bg-dark);
}

.bm-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bm-strength-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.bm-strength-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.bm-strength-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bm-blue-light);
    background: rgba(21, 101, 192, 0.12);
    border-radius: 50%;
}

.bm-strength-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.bm-strength-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════
   B2B CTA BANNER (deep blue bg - eiden "사업자거래 상담")
   ═══════════════════════════════════════════════ */

.bm-cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bm-blue-dark) 0%, var(--bm-blue) 100%);
    text-align: center;
}

.bm-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.bm-cta-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.bm-cta-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.bm-cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.bm-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   SERVICE BAR (light bg)
   ═══════════════════════════════════════════════ */

.bm-service-bar {
    padding: 2.5rem 0;
    background: var(--bm-bg-section);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.bm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bm-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.bm-service-icon {
    flex-shrink: 0;
    color: var(--bm-blue);
}

.bm-service-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bm-text-dark);
}

.bm-service-desc {
    font-size: 0.75rem;
    color: var(--bm-text-muted);
}

/* ═══════════════════════════════════════════════
   MARKETPLACE LINK
   ═══════════════════════════════════════════════ */

.bm-marketplace-link {
    text-align: center;
    padding: 3rem 0;
    background: #fff;
}

.bm-marketplace-link p {
    color: var(--bm-text-muted);
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════
   FOOTER (dark bg - #212121)
   ═══════════════════════════════════════════════ */

.bm-footer {
    background: var(--bm-bg-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 3.5rem 0 0;
}

.bm-footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.bm-footer-brand-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
}

.bm-footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.bm-footer-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
}

.bm-footer-contact {
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.bm-footer-phone {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.bm-footer-email {
    color: rgba(255, 255, 255, 0.5);
}

.bm-footer-hours {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.bm-footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bm-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.bm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bm-footer-col li {
    margin-bottom: 0.5rem;
}

.bm-footer-col a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.bm-footer-col a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.bm-footer-bottom {
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.bm-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.bm-social-icons {
    display: flex;
    gap: 1rem;
}

.bm-social-icons a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.bm-social-icons a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════
   WooCommerce Overrides
   ═══════════════════════════════════════════════ */

.bm-products-grid-wc {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .bm-portal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bm-product-grid,
    .bm-products-grid-wc {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    /* Show hamburger, hide desktop nav */
    .bm-hamburger {
        display: flex;
    }

    .bm-header .fc-nav {
        display: none;
    }

    .bm-hero {
        height: 75vh;
        min-height: 500px;
    }

    .bm-hero-title {
        font-size: 2.4rem;
    }

    .bm-portal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bm-brand-banner {
        min-height: 350px;
    }

    .bm-brand-banner-name {
        font-size: 2rem;
    }

    .bm-strengths-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .bm-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bm-hero {
        height: 70vh;
        min-height: 450px;
    }

    .bm-hero-title {
        font-size: 2rem;
    }

    .bm-hero-desc {
        font-size: 0.9rem;
    }

    .bm-portal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .bm-product-grid,
    .bm-products-grid-wc {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .bm-brand-banner {
        min-height: 300px;
    }

    .bm-brand-banner-content,
    .bm-brand-banner-content.bm-brand-align-right {
        text-align: left;
        margin-left: 0;
        padding: 3rem 0;
    }

    .bm-brand-banner-name {
        font-size: 1.8rem;
    }

    .bm-strengths-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bm-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .bm-cta-title {
        font-size: 1.6rem;
    }

    .bm-footer-links-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .bm-hero {
        height: 60vh;
        min-height: 400px;
    }

    .bm-hero-title {
        font-size: 1.6rem;
    }

    .bm-hero-buttons {
        flex-direction: column;
    }

    .bm-hero-buttons .bm-btn {
        width: 100%;
        text-align: center;
    }

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

    .bm-product-tabs {
        gap: 0;
    }

    .bm-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .bm-brand-banner-name {
        font-size: 1.5rem;
    }

    .bm-cta-buttons {
        flex-direction: column;
    }

    .bm-cta-buttons .bm-btn {
        width: 100%;
    }

    .bm-service-grid {
        grid-template-columns: 1fr;
    }

    .bm-footer-links-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bm-footer-bottom-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
