
.material-newsletter-enhanced {
    position: relative;
    overflow: hidden;
}

.material-newsletter-enhanced::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(200, 32, 47, 0.22) 0%, transparent 70%);
	/* animation: material-pulse 15s infinite linear; */
}

@keyframes material-pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.material-chip {
    background: linear-gradient(135deg, #C8202F, #F5A623);
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    box-shadow: 0 2px 4px rgba(200,32,47,0.3);
    animation: material-shimmer 3s infinite;
}

@keyframes material-shimmer {
    0% { opacity: 1; }
    50% { opacity: 0.9; box-shadow: 0 4px 8px rgba(200,32,47,0.4); }
    100% { opacity: 1; }
}

.material-form-container {
    position: relative;
    z-index: 2;
}

.material-form-field {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px !important;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 2px solid transparent;
}

.material-form-field:focus-within {
    border-color: #C8202F;
    box-shadow: 0 8px 16px rgba(200,32,47,0.2);
    transform: translateY(-2px);
}

.material-form-field i {
    color: #C8202F;
    font-size: 20px;
    margin-right: 8px;
}

.material-form-field input {
    flex: 1;
    border: none !important;
    height: 48px !important;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    background: transparent;
}

.material-form-field input:focus {
    outline: none;
    border: none !important;
}

.material-btn-subscribe {
    background: linear-gradient(135deg, #C8202F, #F5A623);
    color: white;
    border: none;
    height: 48px;
    padding: 0 24px;
    border-radius: 6px !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(200,32,47,0.3);
}

.material-btn-subscribe:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 8px rgba(200,32,47,0.4);
}

.material-btn-subscribe i {
    font-size: 18px;
    animation: material-slide 2s infinite;
}

@keyframes material-slide {
    0% { transform: translateX(0); }
    50% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* Material Icons in Contact List */
.material-icon {
    color: #C8202F !important;
    font-size: 18px !important;
    min-width: 24px;
    transition: all 0.3s ease;
}

.footer_contact_item:hover .material-icon {
    transform: scale(1.1);
    color: #F5A623 !important;
}

/* Material Social Icons */
.material-social-enhanced {
    gap: 16px !important;
}

.material-social-icon {
    background: linear-gradient(135deg, #C8202F, #F5A623) !important;
    position: relative;
    overflow: hidden;
}

.material-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.material-social-icon:hover::before {
    left: 100%;
}

.material-social-icon i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

/* Material Links Enhancement */
.material-links-enhanced a {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.material-links-enhanced a i {
    font-size: 16px;
    color: #C8202F;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.material-links-enhanced a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Material Column Titles */
.material-col-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.material-col-title i {
	font-size: 22px;
	color: #000;
	/* background: rgba(200,32,47,0.1); */
	/* padding: 6px; */
	border-radius: 8px;
	transition: all 0.3s ease;
}
.footer_col:hover .material-col-title i {
    transform: rotate(360deg);
    background: #C8202F;
    color: white;
}

/* Material Partners Carousel */
.material-partners-enhanced {
    position: relative;
}

.material-partners-enhanced h4 i {
    color: #C8202F;
    margin-right: 8px;
    animation: material-bounce 2s infinite;
}

@keyframes material-bounce {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.material-carousel-track {
    animation: material-scroll 30s linear infinite !important;
}

.material-carousel-track:hover {
    animation-play-state: paused !important;
}

.material-partner-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.material-partner-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,32,47,0.1), transparent);
    transition: left 0.5s ease;
}

.material-partner-item:hover::after {
    left: 100%;
}

@keyframes material-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* Material SEO Keywords */
.material-keywords-enhanced {
    gap: 12px !important;
}

.material-keyword {
    background: rgba(157, 157, 157, 0.13) !important;
    color: #403f3f !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.material-keyword::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,32,47,0.2), transparent);
    transition: left 0.5s ease;
}

.material-keyword:hover {
    background: linear-gradient(135deg, #C8202F, #F5A623) !important;
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(200,32,47,0.3);
}

.material-keyword:hover::before {
    left: 100%;
}

/* Material Bottom Bar */
.material-bottom-enhanced {
    position: relative;
    overflow: hidden;
}

.material-bottom-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C8202F, #F5A623, transparent);
    animation: material-line 3s infinite;
}

@keyframes material-line {
    0% { left: -100%; }
    100% { left: 100%; }
}

.material-legal-enhanced {
    background: rgba(200,32,47,0.1) !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(200,32,47,0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.material-legal-enhanced:hover {
    background: rgba(200,32,47,0.2) !important;
    transform: scale(1.05);
}

.material-legal-enhanced i {
    color: #C8202F;
    font-size: 18px;
}

.material-legal-enhanced i:first-child {
    animation: material-spin 4s infinite linear;
}

@keyframes material-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Material Adjustments */
@media (max-width: 768px) {
    .material-form-field {
        flex-direction: column;
        padding: 8px;
    }
    
    .material-form-field i {
        display: none;
    }
    
    .material-btn-subscribe {
        width: 100%;
        margin-top: 8px;
        justify-content: center;
    }
    
    .material-social-enhanced {
        justify-content: center;
    }
    
    .material-links-enhanced a {
        justify-content: center;
    }
    
    .material-col-title {
        justify-content: center;
    }
}

/* Material Ripple Effect */
.material-ripple {
    position: relative;
    overflow: hidden;
}

.material-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.material-ripple:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}
    /* ============================================
   Bestmark Footer Styles - footer_ prefix
   Brand Colors: Crimson #C8202F, Amber #F5A623
   ============================================ */

/* Footer breaks out of the boxed .page-wrapper (max-width 78%) so it
   spans the viewport like the fixed header, with 1280px inner content */
html { overflow-x: hidden; }
.page-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Newsletter Section - Top of Footer */
.footer_newsletter_section {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.footer_container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 0px;
}

.footer_newsletter_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer_newsletter_title {
    flex: 1;
    min-width: 300px;
}

.footer_newsletter_title strong {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.footer_newsletter_highlight {
    font-size: 20px;
    font-weight: 700;
    color: #C8202F;
    position: relative;
    padding-left: 15px;
}

.footer_newsletter_highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: #F5A623;
    border-radius: 3px;
}

.footer_newsletter_form {
    flex: 1;
    min-width: 300px;
}

/* Newsletter Form Styling */
.footer_newsletter_form .block.newsletter {
    display: flex;
    max-width: 100%;
}

.footer_newsletter_form .field.newsletter {
    flex: 1;
    margin: 0;
}

.footer_newsletter_form input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.footer_newsletter_form input:focus {
    border-color: #C8202F;
    outline: none;
}

.footer_newsletter_form .actions {
    display: flex;
}

.footer_newsletter_form .action.subscribe {
    height: 48px;
    padding: 0 25px;
    background: #C8202F;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.footer_newsletter_form .action.subscribe:hover {
    background: #a81825;
}

/* Main Footer */
.footer_main {
	background: #f0f2f4;
	color: #000;
	padding: 50px 0 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	border-top: 3px solid #DDD;
	position: relative;
}

.footer_main::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8202F, #F5A623, #C8202F);
}

/* Footer Grid */
.footer_grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer Columns */
.footer_col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Logo */
.footer_logo img {
    width: 140px;
    height: auto;
   
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.footer_logo img:hover {
    opacity: 0.9;
}

/* Column Titles */
.footer_col_title {
	color: #030303;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #BFBFBF;
	position: relative;
}

.footer_col_title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #F5A623;
}

/* Contact List */
.footer_contact_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #252525;
    line-height: 1.5;
}

.footer_contact_icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_contact_icon svg {
    width: 18px;
    height: 18px;
}

.footer_contact_text {
    flex: 1;
}

/* Social Icons */
.footer_social {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.footer_social_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer_social_icon:hover {
    background: #C8202F;
    transform: translateY(-3px);
}

.footer_social_icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

/* Footer Links */
.footer_links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_links li {
    margin-bottom: 10px;
}

.footer_links a {
	color: #0046be;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
	padding-left: 0;
}

.footer_links a:hover {
    color: #C8202F;
    transform: translateX(5px);
}

.footer_links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    color: #C8202F;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer_links a:hover::before {
    opacity: 1;
}

.footer_partners_section {
	padding: 30px 0;
	border: 1px solid rgba(200, 32, 47, 0.1);
	background: #e7e8ea;
}

.footer_partners_title {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer_partners_carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.footer_partners_carousel::before,
.footer_partners_carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}



.footer_partners_track {
    display: flex;
    gap: 30px;
    animation: footer_scroll 30s linear infinite;
    width: fit-content;
}

.footer_partners_track:hover {
    animation-play-state: paused;
}

.footer_partner_item {
    flex: 0 0 auto;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.footer_partner_item:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.footer_partner_item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    border-radius:10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer_partner_item:hover img {
    opacity: 1;
}

@keyframes footer_scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* SEO Keywords Section */
.footer_seo_section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer_seo_title {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px;
    letter-spacing: 0.5px;
}

.footer_seo_keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.footer_seo_keywords a {
    color: #999999;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer_seo_keywords a:hover {
    color: #C8202F;
}

/* Footer Bottom */
.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_copyright {
    color: #999999;
    font-size: 13px;
}

.footer_copyright #currentYear {
    color: #C8202F;
    font-weight: 600;
}

.footer_legal {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: white;
	font-weight: 300;
}

.footer_legal a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer_legal a:hover {
    color: #C8202F;
}

.footer_separator {
    color: #444444;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer_newsletter_wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer_newsletter_highlight {
        padding-left: 0;
    }
    
    .footer_newsletter_highlight::before {
        display: none;
    }
    
    .footer_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer_bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer_legal {
        justify-content: center;
    }
    
    .footer_col_title {
        margin-bottom: 10px;
    }
    
    .footer_partners_carousel::before,
    .footer_partners_carousel::after {
        width: 50px;
    }
    
    .footer_seo_keywords {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer_main {
        padding: 30px 0 0;
    }
    
    .footer_legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer_separator {
        display: none;
    }
    
    .footer_partner_item {
        width: 100px;
        height: 50px;
    }
    
    .footer_partners_track {
        gap: 15px;
    }
}

/* Newsletter Form Mobile Adjustments */
@media (max-width: 480px) {
    .footer_newsletter_form .block.newsletter {
        flex-direction: column;
    }
    
    .footer_newsletter_form input {
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .footer_newsletter_form .action.subscribe {
        border-radius: 6px;
        width: 100%;
    }
}

.footer_layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    gap: 30px;
    align-items: start;
    padding-bottom: 40px;
}

.footer_content {
    min-width: 0;
}

.footer_content .footer_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.footer_subscribe_card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.footer_subscribe_title {
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.footer_subscribe_copy {
    margin: 0 0 18px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.footer_subscribe_card .block-subscribe-footer label {
    margin: 0 0 8px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

.footer_subscribe_card .newsletter-content {
    display: block;
}

.footer_subscribe_card .input-box input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d5d9dd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer_subscribe_card .input-box input:focus {
    border-color: #C8202F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 32, 47, 0.12);
}

.footer_subscribe_card .action-button {
    margin-top: 12px;
}

.footer_subscribe_card .action-button button,
.footer_subscribe_card .action.subscribe {
    width: 100%;
    height: 46px;
    padding: 0 20px;
    border: 1px solid #C8202F;
    border-radius: 6px;
    background: #C8202F;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer_subscribe_card .action-button button:hover,
.footer_subscribe_card .action.subscribe:hover {
    background: #a81825;
    border-color: #a81825;
    box-shadow: 0 4px 12px rgba(200, 32, 47, 0.25);
}

.footer_subscribe_card .messages {
    margin-top: 10px;
}

@media (max-width: 992px) {
    .footer_layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .footer_subscribe_card {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .footer_layout {
        gap: 24px;
        padding-bottom: 30px;
    }

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

    .footer_subscribe_card {
        max-width: none;
        padding: 22px;
    }

    .footer_subscribe_card .action-button button,
    .footer_subscribe_card .action.subscribe {
        width: 100%;
    }
}

.bbx-footer {
    background: var(--pg-surface, #fff);
    color: var(--pg-text, #1d1d1f);
    padding: 0;
    border-top: 1px solid var(--pg-border, #e5e7eb);
    font-family: var(--ds-font, 'Inter', sans-serif);
}

.bbx-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.bbx-feedback {
    background: var(--ds-brand-soft, #fef2f2);
    border-bottom: 1px solid var(--pg-border, #e5e7eb);
}

.bbx-feedback-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
}

.bbx-feedback-label {
    color: var(--pg-text-2, #6e6e73);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bbx-feedback-label .mdi {
    color: var(--ds-brand, #c8202f);
    font-size: 17px;
}

.bbx-feedback-link {
    color: var(--ds-brand, #c8202f);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bbx-feedback-link:hover {
    text-decoration: underline;
}

.bbx-feedback-link .mdi {
    font-size: 16px;
}

.bbx-top {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
    gap: 32px;
    padding: 38px 0 34px;
}

.bbx-content {
    min-width: 0;
}

.bbx-brand-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--pg-border, #e5e7eb);
}

.bbx-logo img {
    width: 150px;
    height: auto;
    max-width: 100%;
    display: block;
    filter: none;
}

@media (prefers-color-scheme: dark) {
    :root:not(.bm-light) .bbx-logo img {
        filter: brightness(0) invert(1);
    }
}

.bm-dark .bbx-logo img {
    filter: brightness(0) invert(1);
}

.bbx-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    color: var(--pg-text-2, #6e6e73);
    font-size: 12px;
    line-height: 1.5;
}

.bbx-contact span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.bbx-contact .mdi {
    color: var(--ds-brand, #c8202f);
    font-size: 15px;
    margin-top: 1px;
    flex: 0 0 auto;
}

.bbx-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding-top: 28px;
}

.bbx-col h3 {
    margin: 0 0 14px;
    color: var(--pg-text, #1d1d1f);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

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

.bbx-col li {
    margin: 0 0 9px;
}

.bbx-col a {
    color: var(--pg-text-2, #6e6e73);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
}

.bbx-col a:hover {
    color: var(--ds-brand, #c8202f);
    text-decoration: underline;
}

.bbx-newsletter {
    align-self: start;
    background: var(--pg-surface-2, #f3f4f6);
    border: 1px solid var(--pg-border, #e5e7eb);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--pg-shadow, 0 8px 24px rgba(0, 0, 0, .06));
}

.bbx-newsletter h2 {
    margin: 0 0 8px;
    color: var(--pg-text, #1d1d1f);
    font-size: 18px;
    line-height: 1.3;
}

.bbx-newsletter p {
    margin: 0 0 16px;
    color: var(--pg-text-2, #6e6e73);
    font-size: 12px;
    line-height: 1.6;
}

.bbx-newsletter .block-subscribe-footer label {
    margin: 0 0 8px;
    color: var(--pg-text, #1d1d1f);
    font-size: 12px;
    font-weight: 700;
}

.bbx-newsletter .input-box input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--pg-border-strong, #d1d5db);
    border-radius: 8px;
    background: var(--pg-surface, #fff);
    color: var(--pg-text, #1d1d1f);
    font-size: 13px;
    box-sizing: border-box;
}

.bbx-newsletter .input-box input:focus {
    border-color: var(--ds-brand, #c8202f);
    outline: none;
    box-shadow: 0 0 0 3px var(--ds-focus, rgba(200, 32, 47, .16));
}

.bbx-newsletter .action-button {
    margin-top: 10px;
}

.bbx-newsletter .action.subscribe {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ds-brand, #c8202f);
    border-radius: 8px;
    background: var(--ds-brand, #c8202f);
    color: var(--ds-brand-contrast, #fff);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.bbx-newsletter .action.subscribe:hover {
    background: var(--ds-brand-strong, #9e1825);
    border-color: var(--ds-brand-strong, #9e1825);
}

.bbx-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--pg-border, #e5e7eb);
}

.bbx-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-brand, #c8202f);
    color: var(--ds-brand-contrast, #fff);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.bbx-social a:hover {
    background: var(--ds-brand-strong, #9e1825);
    transform: translateY(-2px);
}

.bbx-social .mdi {
    font-size: 17px;
}

.bbx-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--pg-border, #e5e7eb);
    border-bottom: 1px solid var(--pg-border, #e5e7eb);
}

.bbx-benefits div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--pg-text-2, #6e6e73);
    font-size: 12px;
}

.bbx-benefits .mdi {
    color: var(--ds-brand, #c8202f);
    font-size: 18px;
}

.bbx-legal {
    padding: 20px 0 28px;
}

.bbx-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-bottom: 14px;
}

.bbx-legal-links a {
    color: var(--pg-text-2, #6e6e73);
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
}

.bbx-legal-links a:hover {
    color: var(--ds-brand, #c8202f);
    text-decoration: underline;
}

.bbx-copyright {
    margin: 0;
    color: var(--pg-text-3, #94a3b8);
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .bbx-top {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .bbx-newsletter {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .bbx-inner {
        padding: 0 16px;
    }

    .bbx-feedback-inner {
        flex-direction: column;
        gap: 3px;
        padding: 10px 0;
        text-align: center;
    }

    .bbx-top {
        padding: 28px 0;
    }

    .bbx-brand-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

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

    .bbx-cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .bbx-newsletter {
        max-width: none;
    }

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

    .bbx-legal-links {
        gap: 6px 12px;
    }
}
