/* -------- Global Typography -------- */
*, *::before, *::after {
    font-family: Inter, "SF Pro Text", Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif;
}

/* -------- Scrollbar -------- */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}

.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* -------- Megamenu Core -------- */
.nmenu-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Bridge: transparent area between trigger & panel to prevent gap flicker */
.nmenu-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
    z-index: 9998;
}

.nmenu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #efefef;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.nmenu-panel-categories {
    width: 100%;
    height: 560px;
    max-height: calc(85vh - 80px);
    overflow: hidden;
}

.nmenu-panel.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* -------- Trigger btn -------- */
.nmenu-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #3d4152;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    border: none;
    background: transparent;
    user-select: none;
}

.nmenu-btn:hover,
.nmenu-btn.active {
    background: #fff5f0;
    color: #ff6a00;
}

.nmenu-btn .chevron {
    transition: transform 0.2s;
    color: #aaa;
}

.nmenu-btn.active .chevron {
    transform: rotate(180deg);
    color: #ff6a00;
}

/* -------- Left sidebar categories -------- */
.cat-sidebar {
    width: 325px;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
    border-right: 1.5px solid #f5f5f5;
    padding: 10px 8px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.cat-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9.5px 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    font-size: 14px;
    font-weight: 600;
    color: #3d4152;
    white-space: nowrap;
    position: relative;
}

.cat-sidebar-item:hover,
.cat-sidebar-item.cat-active {
    background: #fff5f0;
    color: #ff6a00;
}

.cat-sidebar-item img.cat-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.cat-sidebar-item .cat-icon-ph {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff9a3c22, #ff6a0022);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
}

/* -------- Right sub-category panel -------- */
.cat-sub-content {
    flex: 1;
    padding: 22px 34px 30px;
    overflow-y: auto;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
}

.cat-sub-panel {
    display: none;
}

.cat-sub-panel.cat-panel-active {
    display: block;
}

.sub-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(104px, 1fr));
    gap: 28px 26px;
}

.sub-cat-link {
    font-size: 12px;
    font-weight: 700;
    color: #3d4152;
    padding: 8px 6px;
    border-radius: 12px;
    transition: color 0.15s, background 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    min-width: 0;
}

.sub-cat-link:hover {
    color: #ff6a00;
    background: #fff5f0;
    transform: translateY(-2px);
}

.sub-cat-thumb {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: #f6f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ff6a00;
    font-size: 22px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.sub-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-cat-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

@media (max-width: 1200px) {
    .nmenu-panel-categories {
        width: min(1040px, calc(100vw - 32px));
    }

    .sub-cat-grid {
        grid-template-columns: repeat(5, minmax(96px, 1fr));
        gap: 22px;
    }

    .cat-sidebar {
        width: 260px;
    }
}

.cat-heading-link {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 18px;
    display: block;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5f5f5;
}

.cat-heading-link:hover {
    color: #ff6a00;
}

/* -------- Vendor cards -------- */
.vendor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 10px;
    border: 1.5px solid #f3f3f3;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    background: #fafafa;
    text-decoration: none;
}

.vendor-card:hover {
    border-color: #ff6a00;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.10);
    transform: translateY(-2px);
    background: #fff;
}

.vendor-card img {
    height: 38px;
    width: 80px;
    object-fit: contain;
}

.vendor-card span {
    font-size: 11px;
    font-weight: 700;
    color: #444;
    text-align: center;
    max-width: 90px;
    line-height: 1.3;
}

    border-top: 1px solid #f1f5f9;
}

.vm-factories-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vm-factories-label a {
    color: #ff6a00;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 700;
}

.vm-factories-label a:hover {
    text-decoration: underline;
}

.vm-factories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.vm-factory-logo {
    height: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    transition: all 0.15s ease;
    text-decoration: none !important;
    overflow: hidden;
}

.vm-factory-logo:hover {
    border-color: #ff6a00;
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.12);
}

.vm-factory-logo img {
    max-height: 22px;
    max-width: 100%;
    object-fit: contain;
}

.vm-factory-logo span {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .vm-dropdown-grid {
        grid-template-columns: 220px 1fr 190px;
        gap: 10px;
    }
    .vm-card {
        padding: 12px 8px;
    }
    .vm-hero-card {
        padding: 14px 12px;
    }
}

/* -------- Protection cards -------- */
.protection-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1.5px solid #f3f3f3;
    transition: border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    background: #fafafa;
}

.protection-card:hover {
    border-color: #ff6a00;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.10);
    background: #fff;
}

.protection-card .p-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.protection-card .p-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 2px;
}

.protection-card .p-text p {
    font-size: 11.5px;
    color: #888;
    margin: 0;
}

.protection-card .p-arrow {
    margin-left: auto;
    color: #ccc;
    transition: color 0.18s, transform 0.18s;
}

.protection-card:hover .p-arrow {
    color: #ff6a00;
    transform: translateX(3px);
}

/* -------- Mobile accordion -------- */
.mob-acc-content {
    display: none !important;
}

.mob-acc-content.mob-open {
    display: block !important;
}

.mob-acc-content.mob-vendor-list.mob-open {
    display: flex !important;
}

.mob-acc-chevron {
    transition: transform 0.2s;
}

.mob-acc-btn.mob-expanded .mob-acc-chevron {
    transform: rotate(180deg);
}

/* -------- Keyframes -------- */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nmenu-panel.is-open {
    animation: menuFadeIn 0.18s ease forwards;
}

/* Tabs */
#nav-tabs {
    max-width: 1280px;
    margin: 12px auto 0;
    padding: 0 16px;
}

.tab-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1.5px solid #f3f4f6;
    scroll-behavior: smooth;
    scroll-padding-inline: 50%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    position: relative;
    top: 1.5px;
    padding: 10px 14px;
    border: none;
    border-bottom: 2.5px solid transparent;
    background: transparent;
    color: #3d4152;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.tab-btn:hover,
.tab-btn:focus-visible {
    color: #ff6a00;
}

.tab-btn:focus-visible {
    outline: 2px solid rgba(255, 106, 0, .35);
    outline-offset: -2px;
    border-radius: 6px 6px 0 0;
}

.tab-btn.tab-active {
    color: #ff6a00;
    font-weight: 800;
    border-bottom-color: #ff6a00;
    border-bottom: 5px solid;
}

.tab-badge {
    color: #f59e0b;
    animation: bounce 1s infinite;
}

@media (max-width: 768px) {
    .desk-only {
        display: none !important;
    }

    #mob-ham {
        display: none !important;
    }

    #desk-nav {
        display: none !important;
    }

    .top-announcement-left {
        padding-left: 16px !important;
    }

    .top-announcement-right {
        padding-right: 16px !important;
    }

    .header-row-main {
        padding: 10px 16px !important;
        gap: 8px !important;
    }

    .header-logo-wrap {
        margin-left: -6px !important;
    }

    .header-logo-img {
        max-height: 32px !important;
        max-width: 155px !important;
    }

    .header-icons-wrap {
        gap: 4px !important;
        flex-shrink: 0 !important;
    }

    .header-icon-btn,
    #nav-cart-icon,
    #nav-account-btn {
        width: 36px !important;
        height: 36px !important;
    }

    #nav-account-btn img {
        width: 30px !important;
        height: 30px !important;
    }

    #nav-account-btn svg,
    .header-icon-btn svg,
    #nav-cart-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .user-account-dropdown-wrap.is-open .user-account-menu {
        display: block !important;
    }

    .user-account-menu {
        max-width: calc(100vw - 24px) !important;
    }

    /* Keep the complete tab group centered whenever it fits.
   JavaScript centers the active tab when horizontal overflow is needed. */
    #nav-tabs {
        padding-inline: 10px;
    }

    .tab-row {
        justify-content: safe center;
    }

    .tab-btn {
        font-size: 12px;
        padding: 9px 8px;
        gap: 4px;
    }

    /* Search bar - compact on mobile */
    #nav-search input {
        padding: 9px 12px !important;
        font-size: 12px !important;
    }

    #nav-search button[type=submit] {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    #nav-search button[type=button] {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .header-row-main {
        padding: 8px 12px !important;
    }

    .header-logo-wrap {
        margin-left: -5px !important;
    }

    .header-logo-img {
        max-height: 28px !important;
        max-width: 135px !important;
    }

    .header-icons-wrap {
        gap: 2px !important;
    }

    .header-icon-btn,
    #nav-cart-icon,
    #nav-account-btn {
        width: 32px !important;
        height: 32px !important;
    }

    #nav-tabs {
        padding-inline: 6px;
    }

    .tab-btn {
        font-size: 11px;
        padding-inline: 6px;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* ========================================================
   ALIBABA-STYLE VERIFIED MANUFACTURERS MEGAMENU PANEL (FULL SCREEN WIDTH)
   ======================================================== */
.nmenu-wrap-static {
    position: static !important;
}

#desk-nav .desk-nav-container {
    position: static !important;
}

.nmenu-panel-verified {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 24px 24px !important;
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: none !important;
    border-right: none !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
}

.nmenu-panel-verified.is-open {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.nmenu-panel-verified .vm-dropdown-grid {
    display: flex !important;
    flex-direction: row !important;
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid #d0e6f9 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07) !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    min-height: 295px !important;
    height: 295px !important;
}

/* Hero Banner Card (Left Column - Balanced Proportion) */
.vm-hero-card {
    flex: 0 0 42% !important;
    min-width: 360px !important;
    max-width: 440px !important;
    background: linear-gradient(145deg, #eef7ff 0%, #e0f2fe 60%, #d6edfe 100%) !important;
    border-radius: 0 !important;
    padding: 28px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    border-right: 1px solid #cbe4fa !important;
    box-sizing: border-box !important;
}

.vm-hero-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.vm-hero-top {
    position: relative;
    z-index: 1;
}

.vm-hero-title {
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #111827 !important;
    margin: 0 0 24px 0 !important;
    letter-spacing: -0.02em !important;
    font-family: inherit !important;
}

.vm-verified-img {
    height: 24px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    margin: 0 4px 4px 4px !important;
    object-fit: contain !important;
}

.vm-hero-stats-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
}

.vm-stat-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.vm-stat-num {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    line-height: 1.1 !important;
}

.vm-stat-lbl {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    line-height: 1.3 !important;
    max-width: 100px !important;
}

.vm-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 24px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
    width: fit-content !important;
    position: relative;
    z-index: 1;
}

.vm-hero-btn:hover {
    background: #ff6a00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35) !important;
}

/* Feature Cards Column (Right 3 Cards - Slimmer Width, Taller Height & Rich UI) */
.vm-cards-col {
    flex: 1 1 58% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    align-items: stretch !important;
}

.vm-card {
    flex: 1 !important;
    position: relative !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 22px 18px !important;
    text-decoration: none !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vm-card:hover {
    filter: brightness(1.08) !important;
}

.vm-card-bg-1 {
    background-image: url('../img/verified_menu/smart_factory_search.jpg') !important;
}

.vm-card-bg-2 {
    background-image: url('../img/verified_menu/top_manufacturer_rankings.jpg') !important;
}

.vm-card-bg-3 {
    background-image: url('../img/verified_menu/factory_direct_samples.jpg') !important;
}

.vm-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.1) 30%, transparent 60%) !important;
    pointer-events: none !important;
    transition: background 0.3s ease !important;
}

.vm-card:hover .vm-card-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.18) 35%, transparent 65%) !important;
}

.vm-card-bottom {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
}

.vm-card-title-text {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
    display: block !important;
}

.vm-card-arrow-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #0f172a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.25s ease !important;
}

.vm-card:hover .vm-card-arrow-circle {
    transform: scale(1.14) !important;
    background: #ff6a00 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.4) !important;
}



@media (max-width: 1024px) {
    .nmenu-panel-verified .vm-dropdown-grid {
        flex-direction: column !important;
        height: auto !important;
    }
    .vm-hero-card {
        border-right: none !important;
        border-bottom: 1px solid #d0e6f9 !important;
    }
    .vm-cards-col {
        flex-direction: column !important;
    }
    .vm-card {
        min-height: 180px !important;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    .op-dropdown-grid {
        grid-template-columns: 1fr !important;
    }
    .op-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================================
   ALIBABA-STYLE ORDER PROTECTIONS MEGAMENU (FULL SCREEN WIDTH)
   ======================================================== */
.nmenu-panel-protection .op-dropdown-grid {
    display: grid !important;
    grid-template-columns: 310px minmax(0, 1fr) 250px !important;
    gap: 18px !important;
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

/* Order Protections Hero Card */
.op-hero-card {
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 60%, #fed7aa 100%);
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border: 1px solid #fed7aa;
    min-height: 250px;
}

.op-hero-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.op-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ea580c;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.12);
}

.op-hero-title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.op-hero-title span {
    color: #ea580c;
    display: inline-block;
}

.op-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding-top: 8px;
    border-top: 1px solid rgba(234, 88, 12, 0.2);
}

.op-stat-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.op-stat-num {
    font-size: 15px;
    font-weight: 900;
    color: #9a3412;
    min-width: 58px;
}

.op-stat-lbl {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
}

.op-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    background: #0f172a;
    color: #ffffff !important;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    width: fit-content;
}

.op-hero-btn:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

/* 2x2 Protection Cards Grid */
.op-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.op-card {
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.op-card-top {
    display: flex;
    flex-direction: column;
}

.op-card-visual {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.op-card-blue {
    background: #f0f9ff;
    border-color: #e0f2fe;
}
.op-card-blue .op-card-visual { color: #0284c7; }
.op-card-blue:hover {
    background: #e0f2fe;
    border-color: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.op-card-green {
    background: #f0fdf4;
    border-color: #dcfce7;
}
.op-card-green .op-card-visual { color: #16a34a; }
.op-card-green:hover {
    background: #dcfce7;
    border-color: #bbf7d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.12);
}

.op-card-amber {
    background: #fffbeb;
    border-color: #fef3c7;
}
.op-card-amber .op-card-visual { color: #d97706; }
.op-card-amber:hover {
    background: #fef3c7;
    border-color: #fde68a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.12);
}

.op-card-purple {
    background: #faf5ff;
    border-color: #f3e8ff;
}
.op-card-purple .op-card-visual { color: #9333ea; }
.op-card-purple:hover {
    background: #f3e8ff;
    border-color: #e9d5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(147, 51, 234, 0.12);
}

.op-card-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.op-card-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.38;
    margin: 0 0 8px 0;
}

.op-card-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.op-hl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* Right Column */
.op-right-col {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #f1f5f9;
    min-height: 250px;
}

.op-selections-head {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.op-sel-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.op-sel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.op-sel-link:hover {
    background: #ffffff;
    color: #ff6a00;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.op-sel-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.op-sel-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff5f0;
    color: #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.op-sel-arrow {
    color: #94a3b8;
    transition: transform 0.15s ease, color 0.15s ease;
}

.op-sel-link:hover .op-sel-arrow {
    color: #ff6a00;
    transform: translateX(3px);
}

/* ========================================================
   STICKY HEADER SEARCH BAR (Appears on Scroll)
   ======================================================== */
.header-sticky-search-wrap {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    flex: 1;
    max-width: 560px;
    margin: 0 16px;
    position: relative;
    z-index: 1050;
}

#main-site-header.has-scrolled-search .header-sticky-search-wrap {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.header-sticky-search-form {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #ff6a00;
    border-radius: 999px;
    padding: 2px 3px 2px 16px;
    box-shadow: 0 2px 10px rgba(255, 106, 0, 0.12);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.header-sticky-search-form:focus-within {
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.22);
}

.sticky-search-input-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.sticky-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 7px 8px 7px 0;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    position: relative;
    z-index: 2;
    font-family: inherit;
}

.header-sticky-search-wrap .search-flip-wrapper {
    position: absolute;
    left: 0;
    right: 8px;
    height: 22px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: Inter, "SF Pro Text", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    user-select: none;
}

.header-sticky-search-wrap .search-flip-text {
    display: inline-flex;
    align-items: center;
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #94a3b8;
    font-weight: 500;
}

.sticky-search-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.sticky-search-camera-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: transparent;
    border: none;
    cursor: not-allowed;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0.7;
}

.sticky-search-submit-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff6a00, #ff9000);
    color: #ffffff;
    padding: 7px 16px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}

.sticky-search-submit-btn:hover {
    opacity: 0.92;
}

.header-search-suggestions-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 480px;
    max-width: 580px;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}

/* Responsive header adjustments on scroll */
@media (max-width: 1024px) {
    .header-sticky-search-wrap {
        max-width: 380px;
        margin: 0 10px;
    }
    .header-search-suggestions-dropdown {
        min-width: 400px;
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    .header-sticky-search-wrap {
        margin: 0 6px;
        max-width: none;
    }
    .header-search-suggestions-dropdown {
        position: fixed !important;
        top: 54px !important;
        left: 10px !important;
        right: 10px !important;
        transform: none !important;
        width: calc(100vw - 20px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(80vh - 60px) !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22) !important;
        z-index: 999999 !important;
    }
    .header-sticky-search-form {
        padding: 2px 2px 2px 10px;
        border-width: 1.5px;
    }
    .sticky-search-input {
        font-size: 12px;
        padding: 5px 4px 5px 0;
    }
    .header-sticky-search-wrap .search-flip-wrapper {
        font-size: 11.5px;
    }
    .sticky-search-submit-btn {
        padding: 6px 10px;
        gap: 0;
    }
    .sticky-search-btn-label {
        display: none !important;
    }
    #main-site-header.has-scrolled-search .header-logo-img {
        height: 30px !important;
        max-width: 110px !important;
    }
}

@media (max-width: 480px) {
    .header-sticky-search-wrap {
        margin: 0 4px;
    }
    .header-search-suggestions-dropdown {
        top: 50px !important;
        left: 8px !important;
        right: 8px !important;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 12px !important;
    }
    #main-site-header.has-scrolled-search .header-logo-img {
        height: 26px !important;
        max-width: 95px !important;
    }
    .header-sticky-search-form {
        padding: 1px 1px 1px 8px;
    }
    .sticky-search-submit-btn {
        padding: 5px 8px;
    }
    .sticky-search-submit-btn svg {
        width: 12px;
        height: 12px;
    }
}

