/* =========================================================
   TVC STORE - CLEANED & ORGANIZED RESPONSIVE CSS
   ========================================================= */

/* =========================================================
   1. CSS VARIABLES
   ========================================================= */
:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;

    --red-500: #ef4444;

    --yellow-300: #fde047;
    --yellow-400: #facc15;

    --white: #ffffff;

    --max-width: 1280px;
}

/* =========================================================
   2. RESET & BASE STYLES
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================================
   FIXED HEADER WRAPPER (Stacks Top Bar, Header, and Nav perfectly)
   ========================================================= */

.header-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.header-fixed-wrapper .top-bar,
.header-fixed-wrapper .main-header,
.header-fixed-wrapper .main-nav {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
}

.header-fixed-wrapper .main-nav {
    border-bottom: 1px solid var(--gray-200);
}

.tvc-hero-section {
    position: relative;
}

body {
    width: 100%;
    min-width: 0;
    padding-top: 135px; /* Automatically clears the fixed wrapper height */
    font-family: 'Segoe UI', sans-serif, Tahoma, Geneva, Verdana;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 165px;
    }
}

/* =========================================================
   3. CONTAINER & GRID FLOW
   ========================================================= */
.container,
.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.category-grid,
.product-grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* =========================================================
   4. TOP BAR & RESPONSIVE LAYOUT
   ========================================================= */

.top-bar {
    width: 100%;
    background-color: var(--blue-900);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--blue-800);
}

.top-bar-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar i {
    margin-right: 0.25rem;
}

/* =========================================================
   LANGUAGE DROPDOWN
   ========================================================= */

.lang-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.lang-toggle:hover {
    background-color: var(--blue-800);
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 105px;
    background-color: #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    padding: 6px;
    overflow: hidden;
}

.lang-dropdown-menu.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--blue-900);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.lang-option:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.lang-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 577px) {
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1.5rem;
    }

    .top-bar-group {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .top-bar-suppliers {
        flex: 1;
        justify-content: flex-start;
    }

    .top-bar-middle.top-bar-service {
        flex: 2;
        justify-content: center;
        gap: 1.5rem;
        font-size: 0.72rem;
    }

    .top-bar-auth {
        flex: 1;
        justify-content: flex-end;
        gap: 1.25rem;
    }
}

@media screen and (max-width: 576px) {
    .top-bar {
        padding: 6px 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        font-size: 0.52rem;
        gap: 6px;
    }

    .top-bar-suppliers {
        order: 1;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .top-bar-middle.top-bar-service {
        order: 2;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        font-size: 0.52rem;
    }

    .top-bar-auth {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-top: 1px solid var(--blue-800);
        padding-top: 5px;
        margin-top: 2px;
        font-size: 0.6rem;
        gap: 12px;
    }
}

/* =========================================================
   PROFILE ICON & TOGGLE (Matches Language Dropdown & Flag Size)
   ========================================================= */

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--white);
    transition: background-color 0.2s;
}

.profile-toggle:hover {
    background-color: var(--blue-800);
}

.profile-icon-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-icon-fallback {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
}


/* =========================================================
   5. MAIN HEADER
   ========================================================= */
.main-header {
    width: 100%;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-image-link {
    display: flex;
    align-items: center;
}

.header-logo-img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-tvc {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-900);
}

.logo-store {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-900);
    letter-spacing: 0.5px;
    text-align: center;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-left: 1rem;
    border-left: 1px solid var(--gray-300);
    padding-left: 1rem;
}

/* =========================================================
   SEARCH BAR (Custom Pill Design with Camera & Gradient Button)
   ========================================================= */
.search-container {
    flex: 1;
    max-width: 42rem;
    min-width: 150px;
    margin: 0 1rem;
}

.search-box {
    width: 100%;
    display: flex;
    background-color: #e8f0fe !important;
    border: none !important;
    /* border: 1px solid var(--blue-100, #e0eaf6); */
    border-radius: 9999px !important;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.search-input {
    width: 100%;
    min-width: 0;
    padding: 0.5rem 1.25rem;
    border: none !important;
    outline: none !important;
    font-size: 0.875rem;
    background-color: transparent !important;
    color: var(--gray-800);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-camera-btn {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 1rem;
    padding: 0 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-camera-btn:hover {
    color: var(--blue-600);
}

.search-btn {
    flex-shrink: 0;
    background-color: #0b57d0 !important;
    color: var(--white);
    padding: 0.65rem 1.2rem;
    border: none !important;
    border-top-right-radius: 9999px !important;
    border-bottom-right-radius: 9999px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: #0945a8 !important;
}


/* =========================================================
   HEADER ICONS (Unselected = Outline, Active = Solid Fill)
   ========================================================= */
.header-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--blue-900);
    flex-shrink: 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    color: var(--blue-900);
    transition: color 0.2s ease;
}

.icon-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Unselected state: Outline appearance */
.icon-item:not(.active) i {
    color: transparent !important;
    -webkit-text-stroke: 1.5px var(--blue-900);
}

/* Active state: Solid fill appearance */
.icon-item.active,
.icon-item:hover {
    color: var(--blue-600);
}

.icon-item.active i {
    color: var(--blue-600) !important;
    -webkit-text-stroke: 0;
    transform: scale(1.1);
}

/* =========================================================
   6. NAVIGATION & CATEGORY DROPDOWN (Left-Aligned)
   ========================================================= */
/* =========================================================
   6. NAVIGATION & CATEGORY DROPDOWN (Left-Aligned)
   ========================================================= */
.main-nav {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 9999;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Forces left alignment across all screens */
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-900);
    padding: 0.75rem 2.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-container a {
    position: relative;
    padding: 0.25rem 0;
    font-weight: normal;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.nav-container a:hover {
    color: var(--blue-600);
}

/* =========================================================
   NAVBAR ACTIVE HIGHLIGHT BUTTON STYLE
   ========================================================= */
.nav-container a.nav-active,
.nav-container a.active {
    background-color: var(--blue-900, #1e3a8a) !important;
    color: var(--white, #ffffff) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

/* Ensure icons inside active links match white text */
.nav-container a.nav-active i,
.nav-container a.active i {
    color: var(--white, #ffffff) !important;
}

/* Optional hover state for active buttons */
.nav-container a.nav-active:hover,
.nav-container a.active:hover {
    background-color: var(--blue-800, #1e40af) !important;
    color: var(--white, #ffffff) !important;
}

/* Category Dropdown Menu */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* =========================================================
   Category Dropdown Menu (Full-Width Hover with Text Spacing)
   ========================================================= */

/* =========================================================
   Category Dropdown Menu
   ========================================================= */

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background-color: #e5e7eb;
    min-width: 250px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
    border: none;
    padding: 1rem 0;
    z-index: 999999 !important;
    }

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 45px;
    width: 12px;
    height: 12px;
    background-color: #e5e7eb;
    transform: rotate(45deg);
    border-top-left-radius: 3px;
}

/* Show dropdown */
.dropdown-menu.show {
    display: block !important;
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    margin-top: 10px;
}

.dropdown-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-800);
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}


.dropdown-menu a {
      display: block;
      padding: 5px 20px;
      font-size: 15px;
      color: #242f67;
      text-decoration: none;
      transition: all 0.2s ease;
    }

/* FULL-WIDTH hover effect */
.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--blue-600);
}

    .nav-link dropdown-toggle {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      position: relative;
      padding-bottom: 6px;
    }

    .dropdown-item::after {
      content: "";
      position: absolute;
      left: 0;
      top: 100%;
      width: 100%;
      height: 14px;
    }

    .dropdown-menu:hover .services-menu {
      display: block;
    }  

    .dropdown-menu a:hover,
    .dropdown-menu a.active-item {
        background-color: rgba(0, 0, 0, 0.08);
        color: var(--blue-600); 
    }

    .dropdown-item.active .dropdown-menu {
      display: block;
    }


/* =========================================================
   7. HERO SECTION
   ========================================================= */

/* The section stretches full width edge-to-edge for the background */
.tvc-hero-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    background: url("../image/hero.png") no-repeat center bottom;
    background-size: cover;
    padding: 3rem 0 4rem 0;
    overflow: hidden;
}

/* This inherits your global .container styling so it aligns with other sections */
.hero-container.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-left-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 550px;
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1.15;
    word-break: break-word;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--blue-800);
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
}

/* Reduced width for the glass box */
.hero-right-features {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 320px;
    min-width: 0;
}

.features-glass-box {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
    width: 100%;
    box-sizing: border-box;
}

.features-glass-box h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 0.75rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 0;
}

.features-list li i {
    font-size: 1rem;
    color: var(--blue-600);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.features-list li div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.features-list li strong {
    font-size: 0.78rem;
    color: var(--blue-900);
    font-weight: 700;
    word-break: break-word;
}

.features-list li span {
    font-size: 0.68rem;
    color: var(--gray-600);
    word-break: break-word;
}

/* =========================================================
   HERO ACTION BUTTONS (Wholesale B2B & Retail B2C)
   ========================================================= */
.hero-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
    max-width: 280px;
}

.hero-btn {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: none;
    border-radius: 1.25rem;
    padding: 0.9rem 1.25rem;
    color: var(--blue-950, #1e293b);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    gap: 1.15rem;
}

.hero-btn:hover {
    transform: translateY(-2px);
    border-color: var(--blue-600);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.18);
    color: var(--blue-600);
}

.hero-btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-btn i {
    font-size: 2.5rem;
    color: var(--blue-900);
    /* margin-bottom: 0.25rem; */
}

.hero-btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.hero-btn-text strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.2px;
}

.hero-btn-text span {
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
}


@media screen and (max-width: 480px) {
    .hero-action-buttons {
        flex-direction: column;
    }
    .hero-btn {
        width: 100%;
    }
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container.container {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        margin-top: 1rem;
    }

    .hero-left-content {
        max-width: 100%;
    }

    .hero-right-features {
        flex: unset;
        justify-content: center;
        width: 100%;
    }

    .features-glass-box {
        max-width: 100%;
    }
}


/* =========================================================
   RESPONSIVE FLASH SALE SECTION (Side-by-Side for Tablet & Laptop)
   ========================================================= */

.flash-sale-section {
    width: 95%;
    max-width: var(--max-width);
    margin: 1rem auto;
    padding: 1rem 1rem;
    box-sizing: border-box;
    /*background: var(--blue-100);*/
    border-radius: 1.5rem;
}

/* Main Wrapper: Default to Vertical Stack ONLY for smaller mobile phones */
.flash-sale-wrapper {
    background-color: var(--blue-900, #1e3a8a);
    border-radius: 1.5rem;
    padding: 1rem;
    color: var(--white, #ffffff);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    width: 98%;
    box-sizing: border-box;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

/* On Tablets and Laptops (Screens wider than 768px), switch to Side-by-Side */
@media screen and (min-width: 768px) {
    .flash-sale-wrapper {
        flex-direction: row;
        align-items: stretch;
        padding: 1rem;
        gap: 1.5rem;
    }
}

/* Left Pane Column */
.flash-left-pane {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
    min-width: 0;
}

@media screen and (min-width: 768px) {
    .flash-left-pane {
        flex: 1;
        width: 50%;
    }
}

/* Right Pane Column */
.flash-right-pane {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .flash-right-pane {
        flex: 1;
        width: 50%;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 1.5rem;
    }
}

/* Top Row Layout for Left Side elements */
.flash-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
}

/* --- LEFT SIDE ELEMENTS (Larger 3D Bolt) --- */
.flash-thunder-3d {
    position: relative;
    width: 110px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(-8px 10px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.9));
    transform: rotate(-6deg) skewY(-4deg);
    flex-shrink: 0;
}

@media screen and (min-width: 768px) {
    .flash-thunder-3d {
        width: 135px;
        height: 175px;
    }
}

.thunder-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flash-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 1;
    min-width: 0;
}

.flash-slant-badge {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-size: 0.42rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    transform: skew(-15deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
    margin-bottom: 0.1rem;
    margin-left: 0.2rem;
}



@media screen and (min-width: 768px) {
    .flash-slant-badge {
        font-size: 0.45rem;
    }
}

.flash-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.5px;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.1rem;
}

@media screen and (min-width: 768px) {
    .flash-title {
        font-size: 2.2rem;
    }
}

.flash-title .title-white {
    color: #ffffff;
}

.flash-title .title-blue {
    background: linear-gradient(180deg, #ffffff 10%, #60a5fa 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flash-slant-strip {
    transform: skew(-12deg);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.flash-slant-strip.primary {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 0.45rem;
    padding: 0.05rem 0.3rem;
    margin-bottom: 2px;
    margin-left: 0.2rem;
}

@media screen and (min-width: 768px) {
    .flash-slant-strip.primary {
        font-size: 0.5rem;
    }
}

.flash-slant-strip.secondary {
    background: transparent;
    color: #93c5fd;
    font-size: 0.4rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 0.3rem;
}

@media screen and (min-width: 768px) {
    .flash-slant-strip.secondary {
        font-size: 0.45rem;
    }
}

/* --- COUNTDOWN TIMER CIRCLE (Added Distance from Flash Sale) --- */
.flash-timer-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 2rem; /* Increases distance between Flash Sale text and the timer */
}

.flash-timer-box {
    background: radial-gradient(circle, #2563eb 0%, #1e3a8a 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 95px;
    height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

@media screen and (min-width: 768px) {
    .flash-timer-box {
        width: 110px;
        height: 110px;
    }
}

.timer-label {
    font-size: 0.45rem;
    color: var(--blue-200, #bfdbfe);
    margin-bottom: 1px;
}

@media screen and (min-width: 768px) {
    .timer-label {
        font-size: 0.52rem;
    }
}

.timer-digits {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

@media screen and (min-width: 768px) {
    .timer-digits {
        font-size: 0.78rem;
    }
}

.timer-units {
    font-size: 0.35rem;
    color: var(--blue-300, #93c5fd);
    display: flex;
    gap: 10px;
    margin-top: 1px;
}

@media screen and (min-width: 768px) {
    .timer-units {
        font-size: 0.38rem;
    }
}
/* --- RIGHT SIDE: CARDS VIEWPORT & CONTAINER --- */
.flash-header-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    display: block;
}

.flash-cards-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.flash-cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: max-content;
    align-items: stretch;
    animation: circularLoop 25s linear infinite;
}

@keyframes circularLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.375rem));
    }
}

.flash-card {
    background-color: var(--white);
    border-radius: 0.6rem;
    padding: 0.4rem;
    color: var(--gray-800);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 130px;
    height: 175px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .flash-card {
        width: 135px;
        height: 185px;
        padding: 0.5rem;
    }
}

.flash-card:hover {
    transform: translateY(-3px);
}

.discount-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--blue-900);
    color: var(--white);
    font-size: 0.45rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    z-index: 2;
}

.flash-card-img-wrapper {
    width: 100%;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    margin-bottom: 0;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .flash-card-img-wrapper {
        height: 105px;
    }
}

.flash-card-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height:100%;
    object-fit: contain;
    object-position: center;
}

.flash-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.store-info {
    font-size: 0.58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-brand-logo {
    width: 13px;
    height: 13px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    flex-shrink: 0;
}

.flash-date {
    font-size: 0.42rem;
    color: var(--gray-500);
    margin-bottom: 1px;
}

.flash-buy-btn {
    background-color: var(--blue-900);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    padding: 0.2rem;
    font-size: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.flash-buy-btn:hover {
    background-color: var(--blue-700);
}

/* =========================================================
   CROSS-DEVICE SCROLLABLE & AUTOMOVING VIEWPORT
   ========================================================= */

.flash-cards-viewport {
    width: 100%;
    overflow-x: auto; /* Enables smooth manual scrolling and touch gestures */
    overflow-y: hidden;
    position: relative;
    padding-bottom: 4px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    -webkit-overflow-scrolling: touch; /* Momentum scrolling for iPad & iPhone */
    touch-action: pan-x; /* Optimizes touch interaction strictly for horizontal panning */
}

.flash-cards-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Pause auto-scroll animation when hovering (laptop) or touching/interacting (mobile/tablet) */
.flash-cards-viewport:hover .flash-cards-container,
.flash-cards-viewport:active .flash-cards-container,
.flash-cards-viewport:focus .flash-cards-container {
    animation-play-state: paused;
}

/* --- BOTTOM FEATURES STRIP --- */
.flash-features-strip {
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6rem;
    padding: 0.4rem 0.6rem;
    color: var(--white, #ffffff);
    font-size: 0.5rem;
    gap: 0.4rem;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.feature-item i {
    font-size: 0.85rem;
    color: var(--blue-300, #93c5fd);
    flex-shrink: 0;
}
/* =========================================================
   PRODUCT CATEGORIES & RECOMMENDED PRODUCTS TRACKS
   ========================================================= */

.category-scroll-container,
.product-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--blue-100);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--blue-200);
}

.category-scroll-container::-webkit-scrollbar,
.product-scroll-container::-webkit-scrollbar {
    display: none;
}

.category-grid {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.product-grid {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.category-card {
    background-color: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 200px;
    min-height: 14rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card {
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    width: 240px;
    flex-shrink: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(37, 99, 235, 0.15);
    border-color: var(--blue-200);
}

.category-card:hover .category-name {
    color: var(--blue-600);
}

.category-icon {
    width: 100%;
    height: 7.5rem;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.category-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.2;
}

.product-img {
    width: 100%;
    height: 10rem;
    background-color: var(--white);
    border-radius: 0.35rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.product-img:hover img {
    transform: scale(1.05);
}

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    min-height: 2.4rem;
    line-height: 1.2;
}

.product-price {
    font-weight: bold;
    color: var(--blue-900);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.product-rating {
    color: var(--yellow-400);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.btn-add {
    margin-top: auto;
    background-color: var(--blue-800);
    color: var(--white);
    padding: 0.6rem 0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add:hover {
    background-color: var(--blue-900);
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--blue-900);
}

.see-all {
    color: var(--blue-600);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.see-all:hover {
    text-decoration: underline;
}

/* =========================================================
   COMPANY HIGHLIGHT SECTION
   ========================================================= */
.highlight-section {
    border: 2px solid var(--blue-400);
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    background-color: var(--white);
    position: relative;
    margin: 3.5rem auto;
    width: 100%;
    overflow: hidden;
}

.highlight-badge {
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #73a4f2 0%, #1e40af 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2.5rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    white-space: nowrap;
    clip-path: polygon(0% 0%, 100% 0%, 96% 100%, 4% 100%);
    border-radius: 1rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding-top: 0.5rem;
    text-align: center;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.stat-icon {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--blue-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    border: 3px solid var(--blue-100);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: var(--blue-900);
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.stat-value {
    color: var(--red-500);
    font-weight: bold;
    font-size: 1.4rem;
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* =========================================================
   PARTNERS SLIDER
   ========================================================= */
.partners-section {
    width: 100%;
    padding: 2rem 0;
    margin: 3.5rem auto;
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-900, #1e3a8a);
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.partners-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
    padding: 0 1rem;
}

.marquee-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.marquee-container::-webkit-scrollbar {
    display: none;
}

.marquee-container:active {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 60px;
    padding: 0 0.25rem;
    user-select: none;
}

.partner-logo-item img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(10%);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.partner-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    flex-shrink: 0;
    z-index: 10;
}

/* Hover & Active States (Only turns blue on hover or click) */
.partner-nav-btn:hover,
.partner-nav-btn:active {
    background-color: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}




/* =========================================================
   Alert Message Box
   ========================================================= */

/* Under Construction Modal */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 1rem;
}

.custom-modal-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #bfdbfe;
}

.modal-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.custom-modal-card h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.custom-modal-card p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
}

.contact-info-box {
    background-color: #f0f6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1.25rem 0;
    text-align: left;
    font-size: 0.85rem;
    color: #1e3a8a;
}

.contact-info-box div {
    margin-bottom: 0.4rem;
}

.contact-info-box div:last-child {
    margin-bottom: 0;
}

.btn-close-notice {
    background-color: #1e3a8a;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-close-notice:hover {
    background-color: #1d4ed8;
}


/* =========================================================
   Alert Message Box
   ========================================================= */
   

/* =========================================================
   FOOTER
   ========================================================= */
.main-footer {
    background-color: var(--blue-900);
    color: var(--white);
    padding-top: 2rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: start;
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.logo-tvc-part {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.logo-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1;
}

.logo-store-part {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-desc {
    font-size: 0.8rem;
    color: var(--blue-200);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.social-icon.fb { background-color: #1877f2; }
.social-icon.line { background-color: #00b900; }
.social-icon.ig { background: linear-gradient(to top right, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.social-icon.tt { background-color: #000000; }

.footer-col h4 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-links {
    font-size: 0.825rem;
    color: var(--blue-200);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--blue-200);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    color: var(--blue-200);
    font-size: 0.825rem;
    line-height: 1;
}

.footer-contact i {
    margin-top: 0.2rem;
    margin-right: 0.6rem;
    width: 1rem;
    flex-shrink: 0;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.78rem;
    color: var(--blue-300);
    text-align: center;
    flex-wrap: wrap;
}

.footer-bottom-links-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom-link {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
}

.footer-bottom-link:first-child {
    border-left: none;
    padding-left: 0;
}

.footer-bottom a {
    color: var(--blue-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* =========================================================
   CHAT BUTTON
   ========================================================= */
.chat-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 68px;
    height: 68px;
    background-color: #1a73e8;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 99999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.chat-widget:hover {
    transform: scale(1.05);
    background-color: #1557b0;
}

.chat-widget::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 55%;
    transform: translateY(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    background-color: #1a73e8;
    border-bottom-left-radius: 2px;
    z-index: -1;
}

.chat-widget i {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.chat-widget span {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
    line-height: 1;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media screen and (max-width: 1200px) {
    .container,
    .main-header,
    .nav-single-line-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .nav-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 1.25rem;
        justify-content: flex-start;
    }
    .footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 1024px) {
    .container,
    .main-header,
    .nav-single-line-wrapper {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .nav-container {
        justify-content: flex-start;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .container,
    .main-header,
    .nav-single-line-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-container {
        font-size: 0.65rem;
        gap: 0.75rem;
        justify-content: flex-start;
    }
    .main-header {
        padding: 0.75rem 0;
    }
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 0.75rem;
        column-gap: 1.5rem;
        align-items: center;
    }
    .logo-section {
        grid-column: 1 / -1;
        justify-content: center;
        text-align: left;
        gap: 0.4rem;
    }
    .header-logo-img {
        width: 60px;
    }
    .logo-text {
        font-size: 0.9rem;
        font-weight: 800;
        line-height: 1.1;
        white-space: nowrap;
    }
    .logo-tagline {
        display: block !important;
        font-size: 0.65rem;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
        border-left: 1px solid var(--gray-300);
        line-height: 1.2;
    }
    .search-container {
        grid-column: 1 / 2;
        margin: 0;
        min-width: 0;
    }
    .search-input {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    .search-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
    .header-icons {
        grid-column: 2 / 3;
        display: flex;
        flex-direction: row;
        gap: 0.6rem;
        flex-wrap: nowrap;
    }
    .icon-item {
        font-size: 0.65rem;
    }
    .icon-item i {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    .tvc-hero-section {
        padding: 2.5rem 1rem;
        background-position: center top;
    }
    .hero-container {
        flex-direction: column;
        gap: 1.75rem;
    }
    .hero-left-content {
        max-width: 100%;
        text-align: left;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-right-features {
        width: 100%;
        flex: unset;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
    .main-footer {
        padding-top: 2rem;
    }
}

@media screen and (max-width: 640px) {
    .container,
    .main-header,
    .nav-single-line-wrapper{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-container {
        font-size: 0.65rem;
        gap: 0.75rem;
        justify-content: flex-start;
    }
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .footer-bottom-links-group {
        justify-content: center;
    }
    .footer-bottom-link {
        border-left: none;
        padding-left: 0;
    }


}

@media screen and (max-width: 480px) {
    .container,
    .main-header,
    .nav-single-line-wrapper {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .nav-container {
        font-size: 0.65rem;
        gap: 0.75rem;
        justify-content: flex-start;
    }
    .highlight-section {
        padding: 2rem 0.4rem 1.2rem 0.4rem;
    }
    .highlight-grid {
        gap: 0.15rem;
    }
    .stat-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.8rem;
        border-width: 2px;
        margin-bottom: 0.3rem;
    }
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: -0.5px;
    }
    .stat-value {
        font-size: 0.8rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .footer-bottom-links-group {
        justify-content: center;
    }
    .footer-bottom-link {
        border-left: none;
        padding-left: 0;
    }
}

@media screen and (max-width: 360px) {
    .container,
    .main-header,
    .nav-single-line-wrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}


/* =========================================================
   HERO RESPONSIVE BREAKPOINT FIX
   ========================================================= */

/* Tablets and up (768px and wider) will now stay SIDE-BY-SIDE */
@media (min-width: 768px) {
    .hero-container.container {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-left-content {
        max-width: 550px;
        flex: 1;
    }

    .hero-right-features {
        flex: 0 0 320px;
        justify-content: flex-end;
    }
}

/* Mobile phones ONLY (767px and below) stack vertically */
@media (max-width: 767px) {
    .hero-container.container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.75rem;
    }

    .hero-left-content {
        max-width: 100%;
    }

    .hero-right-features {
        width: 100%;
        flex: unset;
        justify-content: center;
    }
}

