/* ============================================
   COMPONENT STYLES
   Header, Footer, Navigation, Mega Menu
   ============================================ */

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-bar {
    background-color: #ebf1f6;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #192c39;
    padding: 14px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
    font-family: var(--font-primary);
    border-bottom: 1px solid #d2dfea;
    width: 100%;
}

.announcement-bar .mo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.announcement-bar__content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    overflow: hidden;
}

.announcement-bar__label {
    box-sizing: border-box;
    color: rgb(1, 57, 95);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    height: 33px;
    line-height: 33px;
    flex-shrink: 0;
    text-transform: none;
}

.announcement-bar__label svg {
    height: 22px;
    width: auto;
    margin-right: 2px;
    display: block;
}

.announcement-bar__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 4px;
}

.announcement-bar__chevron svg {
    height: 18px;
    width: auto;
    display: block;
}

.announcement-bar__text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 12px;
    display: flex;
    align-items: center;
}

.announcement-bar__marquee {
    box-sizing: border-box;
    display: inline-block;
    animation: marquee 15s linear infinite;
    color: rgb(1, 57, 95);
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    height: 27px;
    line-height: 27px;
}

.announcement-bar__marquee p {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
}

.announcement-bar__marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-bar__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #00a9e3;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
}

.announcement-bar__close:hover {
    opacity: 1;
}

.announcement-bar.hidden {
    display: none;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-gray);
    padding: 8px 0;
    font-size: var(--text-xs);
    position: relative;
    z-index: 1000;
}

.top-bar .mo-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-lg);
}

.top-bar__links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar__link {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.top-bar__link:hover {
    color: var(--color-primary-red);
}

/* Header Wrapper - Non-sticky */
.sticky-header-wrapper {
    position: relative;
    z-index: 1000;
    width: 100%;
}

.site-header {
    background: transparent;
    position: relative;
    z-index: 999;
    margin-bottom: -80px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition-base);
}

.site-header .mo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img, .site-logo svg {
    height: 40px;
    width: auto;
}

/* ===== HEADER LANGUAGE SWITCHER ===== */
.header-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-left: 8px;
    flex-shrink: 0;
}

.header-lang-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    line-height: 1.2;
}

.header-lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.header-lang-btn.is-active {
    background: #ffffff;
    color: #01395F !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.header-lang-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav__list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.main-nav__item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav__link {
    display: flex;
    align-items: center;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 0.994px;
    transition: color var(--transition-fast);
    position: relative;
    cursor: pointer;
    border: none;
    background-color: rgba(0, 0, 0, 0);
}

.main-nav__link:hover {
    color: #cbd5e1;
}

.main-nav__link:hover .nav-arrow {
    transform: translateY(2px);
    color: #cbd5e1;
}

.main-nav__item.active .main-nav__link {
    color: #ffffff;
    font-weight: 800;
}

.main-nav__link::after {
    display: none;
}

.nav-arrow {
    font-size: 11px;
    margin-left: 6px;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.75);
    transition: all var(--transition-fast);
    font-size: 18px;
}

.header-search-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #00a9e3;
}

.header-signin {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.header-signin:hover {
    color: var(--color-primary-red);
    background: var(--color-light-gray);
}

.header-signin i {
    font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255,255,255,0.85);
    z-index: 1010;
}

/* ===== SIMPLE DROPDOWN MENU ===== */
.simple-dropdown {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    min-width: 280px;
    width: max-content;
    background: #181C2F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.main-nav__item:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown li {
    margin: 0;
    padding: 0;
}

.simple-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: none;
    transition: color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.simple-dropdown li a:hover {
    color: #ffffff;
    font-weight: 700;
    background: transparent;
}

.simple-dropdown__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

.mega-menu__inner {
    display: flex;
    max-width: var(--container-max);
    margin: 0 auto;
    min-height: 260px;
}

/* Left section: Categories */
.mega-menu__section--categories {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-menu__section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #192c39;
    margin-bottom: 16px;
    font-family: var(--font-primary);
}

/* Category grid: 4 columns in 1 row */
.mega-menu__cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mega-menu__cat-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 4px;
}

.mega-menu__cat-card:hover {
    text-decoration: none;
}

.mega-menu__cat-img-wrap {
    width: 100%;
    height: 120px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
}

.mega-menu__cat-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mega-menu__cat-card:hover .mega-menu__cat-img {
    transform: scale(1.06);
}

.mega-menu__cat-img-placeholder {
    font-size: 1.5rem;
    color: #b0bec5;
}

.mega-menu__cat-name {
    color: rgb(51, 51, 51);
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    margin: 0 0 4px;
    transition: color 0.2s ease;
}

.mega-menu__cat-card:hover .mega-menu__cat-name {
    color: #00a9e3;
}

.mega-menu__cat-desc {
    color: rgb(46, 46, 46);
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA button */
.mega-menu__cta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e9eff4;
}

.mega-menu__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    border-radius: 0;
    color: #00a9e3;
    font-size: 16px;
    font-weight: 700;
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu__cta-btn:hover {
    background: transparent;
    color: #0c2340;
    text-decoration: underline;
}

/* Right section: Featured panel */
.mega-menu__section--featured {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(170deg, #0c2340 0%, #1a3a5c 100%);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.mega-menu__section--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="rgba(255,255,255,0.02)" width="50" height="50"/><rect fill="rgba(255,255,255,0.02)" x="50" y="50" width="50" height="50"/></svg>');
    pointer-events: none;
}

.mega-menu__featured-card {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-menu__featured-card:hover {
    text-decoration: none;
    opacity: 0.95;
}

.mega-menu__featured-card:last-child {
    border-bottom: none;
}

.mega-menu__featured-title {
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    line-height: 27px;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.mega-menu__featured-card:hover .mega-menu__featured-title {
    color: #00a9e3;
}

.mega-menu__featured-arrow {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00a9e3;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.55rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mega-menu__featured-card:hover .mega-menu__featured-arrow {
    background: #ffffff;
    color: #00a9e3;
    transform: translateX(3px);
}

.mega-menu__featured-desc {
    font-family: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 21px;
    margin: 0;
}

/* Close button */
.mega-menu__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mega-menu__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .mega-menu {
        display: none !important;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1100;
    transition: left var(--transition-smooth);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-border-gray);
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-text-dark);
}

.mobile-menu__search {
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--color-border-gray);
}

.mobile-menu__search input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--color-border-gray);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    outline: none;
}

.mobile-menu__search input:focus {
    border-color: var(--color-primary-red);
}

.mobile-menu__nav {
    padding: var(--space-md) 0;
}

.mobile-menu__item {
    border-bottom: 1px solid var(--color-light-gray);
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    transition: background var(--transition-fast);
}

.mobile-menu__link:hover {
    background: var(--color-light-gray);
}

.mobile-menu__link i {
    font-size: 12px;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

.mobile-menu__submenu {
    display: none;
    background: var(--color-off-white);
    padding: var(--space-sm) 0;
}

.mobile-menu__item.open .mobile-menu__submenu {
    display: block;
}

.mobile-menu__item.open .mobile-menu__link i {
    transform: rotate(90deg);
}

.mobile-menu__sublink {
    display: block;
    padding: var(--space-sm) var(--space-xl);
    padding-left: var(--space-3xl);
    font-size: var(--text-sm);
    color: var(--color-text-body);
    transition: all var(--transition-fast);
}

.mobile-menu__sublink:hover {
    color: var(--color-primary-red);
    padding-left: calc(var(--space-3xl) + var(--space-sm));
}

.mobile-menu__footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--color-border-gray);
    margin-top: var(--space-md);
}

.mobile-menu__footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu__footer-link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Mobile overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 51, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-overlay__inner {
    width: 100%;
    max-width: 700px;
    padding: 0 var(--space-xl);
}

.search-overlay__input-wrap {
    position: relative;
}

.search-overlay__input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-size: var(--text-2xl);
    font-family: var(--font-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-overlay__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-overlay__input:focus {
    border-bottom-color: var(--color-primary-red);
}

.search-overlay__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.search-overlay__close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000000;
    color: #ffffff;
    padding-top: var(--space-4xl);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: var(--space-xl);
}

.footer-brand__logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-brand__desc {
    font-family: inherit;
    font-size: 14px;
    color: #cbd5e1 !important;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social__link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.footer-social__link:hover {
    background: #c82408;
    border-color: #c82408;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-column__title {
    color: #ffffff !important;
    font-family: inherit;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    text-decoration: none;
    margin-bottom: var(--space-lg);
}

.footer-column__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column__link {
    color: #cbd5e1 !important;
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-column__link:hover {
    color: #ffffff !important;
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 0;
    font-family: inherit;
    font-size: 13px;
    color: #94a3b8 !important;
}

.footer-bottom span {
    color: #94a3b8 !important;
}

.footer-bottom__links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom__link {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom__link:hover {
    color: #ffffff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .top-bar { display: none; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-signin { display: none; }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 767px) {
    .site-header .mo-container {
        height: 64px;
    }

    .site-logo img, .site-logo svg {
        height: 32px;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
        padding-bottom: var(--space-xl);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
        margin-bottom: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: var(--space-lg);
        grid-column: auto;
    }

    .footer-brand__logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand__desc {
        display: none;
    }

    .footer-social {
        justify-content: center;
        margin-top: var(--space-xs);
    }

    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: var(--space-md);
        margin-bottom: var(--space-xs);
    }

    .footer-column:last-of-type {
        border-bottom: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-bottom__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== REUSABLE POPUP MODAL ===== */
.zpty-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.zpty-modal.is-active {
    display: flex;
}

.zpty-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease forwards;
}

.zpty-modal__content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.zpty-modal__close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.zpty-modal__close:hover {
    color: #111;
}

.zpty-modal__body {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
}

.zpty-modal__left {
    background: #fdfdfd;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid #f0f0f0;
}

.zpty-modal__left img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.zpty-modal__product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.zpty-modal__product-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #A01020;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.zpty-modal__product-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.zpty-modal__right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #fff;
}

.zpty-modal__form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
}

.zpty-modal__form-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 24px 0;
}

.zpty-form-group {
    margin-bottom: 16px;
}

.zpty-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.zpty-form-control:focus {
    outline: none;
    border-color: #A01020;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(160, 16, 32, 0.1);
}

textarea.zpty-form-control {
    resize: none;
}

.zpty-modal__submit-btn {
    width: 100%;
    padding: 14px;
    background: #A01020;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zpty-modal__submit-btn:hover {
    background: #800a16;
}

/* Success layout */
.zpty-modal__success {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    z-index: 5;
}

.zpty-modal__success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 16px;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zpty-modal__success h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.zpty-modal__success p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.zpty-modal__success-btn {
    padding: 10px 32px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.zpty-modal__success-btn:hover {
    background: #111;
}

/* Spinner */
.zpty-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .zpty-modal__body {
        grid-template-columns: 1fr;
    }
    .zpty-modal__left {
        display: none;
    }
    .zpty-modal__right {
        padding: 30px 24px;
    }
}

