/* ===========================================
   MATRIX INDUSTRIAL TRADERS — MODERN SHOP & CATEGORIES
   Industrial B2B Product Catalog Design System
   Layout: Full-Size Edge-to-Edge Hero -> Products / Categories Below
   Grid: 3-Col Desktop | 2-Col Tablet | 1-Col Mobile
   Focus: Full Product Image Showcase
   =========================================== */

/* Box sizing and overflow protection */
html, body {
    overflow-x: hidden;
}

.mit-shop-header *,
.mit-products-section *,
.mit-categories-section *,
.woocommerce ul.products li.mit-product-card *,
.mit-category-grid * {
    box-sizing: border-box;
}

/* =========================================
   1. FULL-WIDTH EDGE-TO-EDGE CONTAINERS
   ========================================= */
/* Remove boxed container constraints on Shop and Categories pages */
body.page-template-page-product-categories #content,
body.page-template-page-product-categories #content.site-content,
body.page-template-page-product-categories .site-content,
body.page-template-page-product-categories #content .ast-container,
body.page-template-page-product-categories .ast-container,
body.page-template-page-product-categories .mit-categories-page,
body.page-template-page-product-categories #primary,
body.page-template-page-product-categories .site-main,
body.page-template-page-product-categories main,
body.woocommerce:not(.single-product) #content,
body.woocommerce:not(.single-product) #content.site-content,
body.woocommerce:not(.single-product) .site-content,
body.woocommerce-page:not(.single-product) #content,
body.woocommerce-page:not(.single-product) #content.site-content,
body.woocommerce-page:not(.single-product) .site-content,
body.woocommerce:not(.single-product) #content .ast-container,
body.woocommerce-page:not(.single-product) #content .ast-container,
body.woocommerce:not(.single-product) .ast-container,
body.woocommerce-page:not(.single-product) .ast-container,
body.woocommerce.archive .ast-container,
body.woocommerce:not(.single-product) #primary,
body.woocommerce-page:not(.single-product) #primary,
body.woocommerce:not(.single-product) .site-main,
body.woocommerce-page:not(.single-product) .site-main,
body.woocommerce:not(.single-product) #primary.content-area,
body.woocommerce-page:not(.single-product) #primary.content-area {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column;
    float: none !important;
}

/* Offset the fixed header (85px on desktop, 70px on mobile) */
body.page-template-page-product-categories .site-content,
body.page-template-page-product-categories #content,
body.woocommerce:not(.single-product) .site-content,
body.woocommerce:not(.single-product) #content,
body.woocommerce-page:not(.single-product) .site-content,
body.woocommerce-page:not(.single-product) #content {
    padding-top: 85px !important;
}

@media (max-width: 921px) {
    body.page-template-page-product-categories .site-content,
    body.page-template-page-product-categories #content,
    body.woocommerce:not(.single-product) .site-content,
    body.woocommerce:not(.single-product) #content,
    body.woocommerce-page:not(.single-product) .site-content,
    body.woocommerce-page:not(.single-product) #content {
        padding-top: 70px !important;
    }
}

/* Hide default Astra archive title "Shop" */
.woocommerce .ast-archive-description,
.woocommerce-page .ast-archive-description,
.ast-archive-description,
h1.ast-archive-title {
    display: none !important;
}

.ast-woocommerce-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ========================================
   2. FULL-SIZE HERO SECTION (EDGE-TO-EDGE & EXPANSIVE)
   ========================================= */
.mit-shop-header {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #001224 0%, #002244 38%, #003366 75%, #004080 100%) !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mit-shop-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 12% 25%, rgba(0, 102, 204, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 88% 75%, rgba(0, 70, 150, 0.28) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}

.mit-shop-header__inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 110px 24px 95px; /* Full-size expansive padding */
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mit-categories-header .mit-shop-header__inner {
    padding: 125px 24px 115px; /* Full-size expansive presence for categories hero */
    min-height: 440px;
}

.mit-shop-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 36px;
    width: 100%;
}

.mit-categories-header .mit-shop-hero {
    margin: 0 auto 0;
}

.mit-shop-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e2e8f0;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 9999px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.mit-shop-hero__title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
}

.mit-shop-hero__subtitle {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 auto 32px;
    font-weight: 400;
    max-width: 780px;
}

.mit-categories-header .mit-shop-hero__subtitle {
    margin: 0 auto 0;
}

/* Search Form */
.mit-search-form {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.mit-search-form__inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.mit-search-form__inner:focus-within {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.mit-search-form__icon {
    width: 22px;
    height: 22px;
    color: #64748b;
    flex-shrink: 0;
    margin-right: 14px;
}

.mit-search-form__input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #0f172a;
    padding: 11px 0;
}

.mit-search-form__input::placeholder {
    color: #94a3b8;
}

.mit-search-form__btn {
    background: #003366;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.mit-search-form__btn:hover {
    background: #002244;
    transform: scale(1.02);
}

/* Category Filter (Hero Pills) */
.mit-cat-filter-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 2px;
    margin-top: 18px;
}

.mit-cat-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.mit-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.mit-cat-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
    padding: 10px 22px;
    border-radius: 9999px;
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
}

.mit-cat-filter__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.mit-cat-filter__btn.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: #003366;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.mit-cat-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 11.5px;
    font-weight: 600;
    min-width: 22px;
    height: 22px;
    border-radius: 9999px;
    padding: 0 7px;
    line-height: 1;
}

.mit-cat-filter__btn.is-active .mit-cat-filter__count {
    background: #e8f0fa;
    color: #003366;
}

/* =========================================
   3. PRODUCTS & CATEGORIES SECTION (BELOW HERO)
   ========================================= */
.mit-products-section,
.mit-categories-section {
    background: #f8fafc;
    padding: 70px 0 100px;
    min-height: 500px;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

.mit-products-section__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* DESKTOP: EXACTLY 3 PER ROW */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products,
.mit-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* Hide default Astra shop archive ordering & counter */
.ast-shop-toolbar-container,
.woocommerce-ordering,
.woocommerce-result-count {
    display: none !important;
}

/* ========================================
   4. PRODUCT CARD (FULL IMAGE FOCUS)
   ======================================== */
.woocommerce ul.products li.mit-product-card,
.woocommerce-page ul.products li.mit-product-card,
ul.products li.mit-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow: 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.mit-product-card:hover,
.woocommerce-page ul.products li.mit-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(0, 51, 102, 0.12),
                0 4px 12px -2px rgba(0, 51, 102, 0.05);
    border-color: #cbd5e1;
}

.mit-product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.mit-product-card__link:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}

.mit-product-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    flex-shrink: 0;
}

.mit-product-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.mit-product-card:hover .mit-product-card__image {
    transform: scale(1.07);
}

.mit-product-card__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
}

.mit-product-card__title {
    font-family: "Poppins", sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 46px;
    transition: color 0.2s ease;
}

.mit-product-card:hover .mit-product-card__title {
    color: #003366;
}

.mit-product-card__category {
    display: inline-flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #003366;
    background: #eef4fb;
    border: 1px solid #e0ecf8;
    padding: 4px 12px;
    border-radius: 6px;
    width: fit-content;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mit-product-card:hover .mit-product-card__category {
    background: #e2effc;
    border-color: #c9e0f7;
}

/* ========================================
   5. CATEGORY CARD (FULL IMAGE FOCUS)
   ========================================= */
.mit-categories-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mit-categories-header .mit-shop-hero {
    margin-bottom: 0;
}

.mit-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow: 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mit-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(0, 51, 102, 0.12),
                0 4px 12px -2px rgba(0, 51, 102, 0.05);
    border-color: #cbd5e1;
}

.mit-category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inkerit !important;
}

.mit-category-card__link:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}

.mit-category-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
}

.mit-category-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.mit-category-card:hover .mit-category-card__image {
    transform: scale(1.07);
}

.mit-category-card__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
}

.mit-category-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mit-category-card__title {
    font-family: "Poppins", sans-serif;
    font-size: 17.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 !important;
    padding: 0 !important;
    transition: color 0.2s ease;
}

.mit-category-card:hover .mit-category-card__title {
    color: #003366;
}

.mit-category-card__count {
    display: inline-flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content;
    letter-spacing: 0.2px;
}

.mit-category-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #003366;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}

.mit-category-card__arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mit-category-card:hover .mit-category-card__arrow {
    transform: translateX(5px);
}

/* ========================================
   6. NO PRODUCTS STATE
   ========================================= */
.mit-no-products {
    text-align: center;
    padding: 70px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
    max-width: 600px;
    margin: 30px auto;
}

.mit-no-products__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    color: #003366;
    border-radius: 50%;
    margin-bottom: 20px;
}

.mit-no-products__icon {
    width: 32px;
    height: 32px;
}

.mit-no-products__title {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 10px;
}

.mit-no-products__desc {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.mit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #003366;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.mit-btn:hover {
    background: #002244;
    transform: translateY(-1px);
}

/* ========================================
   7. WOOCOMMERCE PAGINATION
   ========================================= */
.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
    margin: 50px 0 0 !important;
    text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 8px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li {
    border: none !important;
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #003366 !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current {
    background: #003366 !important;
    border-color: #003366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* =========================================
   8. RESPONSIVE BREAKPOINTS
   ======================================== */

/* TABLET: 2 PER ROW */
@media (max-width: 1024px) {
    /* Tablet Hero Search & Category Filter Optimization */
    .mit-search-form {
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
    }

    .mit-search-form__inner {
        padding: 6px 8px 6px 18px;
    }

    .mit-search-form__input {
        font-size: 15px;
    }

    .mit-search-form__btn {
        padding: 11px 24px;
        font-size: 14.5px;
    }

    .mit-cat-filter-wrapper {
        margin-top: 20px;
        padding: 6px 0 2px;
    }

    .mit-cat-filter {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .mit-cat-filter__btn {
        padding: 9px 18px;
        font-size: 14px;
    }

    .mit-cat-filter__count {
        min-width: 21px;
        height: 21px;
        font-size: 11px;
    }

    .mit-shop-header__inner {
        padding: 85px 24px 75px;
        min-height: 380px;
    }

    .mit-categories-header .mit-shop-header__inner {
        padding: 95px 24px 85px;
        min-height: 400px;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    .mit-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
}

/* MOBILE: 1 PER ROW (FULL FOCUS, MAX WIDTH 460PX) */
@media (max-width: 767px) {
    .mit-shop-header__inner {
        padding: 65px 20px 55px;
        min-height: 320px;
    }

    .mit-categories-header .mit-shop-header__inner {
        padding: 75px 20px 65px;
        min-height: 340px;
    }

    .mit-shop-hero__title {
        font-size: clamp(2rem, 7.5vw, 2.5rem);
    }

    .mit-shop-hero__subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    /* Mobile Hero Search & Category Filter Optimization */
    .mit-shop-header {
        overflow-x: clip;
        max-width: 100vw;
    }

    .mit-shop-header__inner {
        padding: 65px 20px 50px;
        min-height: auto;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }

    .mit-shop-hero {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mit-search-form {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .mit-search-form__inner {
        display: flex;
        align-items: center;
        padding: 4px 6px 4px 14px;
        border-radius: 50px;
        box-sizing: border-box;
        width: 100%;
        min-height: 48px;
    }

    .mit-search-form__icon {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .mit-search-form__input {
        flex: 1;
        min-width: 0;
        font-size: 14px;
        padding: 8px 0;
        -webkit-appearance: none;
    }

    .mit-search-form__input::placeholder {
        font-size: 13.5px;
    }

    .mit-search-form__btn {
        padding: 9px 20px;
        font-size: 13.5px;
        border-radius: 50px;
        flex-shrink: 0;
        min-height: 40px;
        line-height: 1.2;
    }

    .mit-cat-filter-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 6px 4px 10px;
        margin-top: 16px;
        scroll-snap-type: x proximity;
    }

    .mit-cat-filter {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        align-items: center;
        padding: 0 2px;
        width: max-content;
    }

    .mit-cat-filter__btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13.5px;
        min-height: 38px;
        border-radius: 9999px;
        scroll-snap-align: start;
        gap: 6px;
    }

    .mit-cat-filter__count {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
        padding: 0 6px;
    }

    .mit-products-section,
    .mit-categories-section {
        padding: 40px 0 70px;
    }

    .mit-products-section__inner {
        padding: 0 16px;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    .mit-category-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 460px !important;
        margin: 0 auto !important;
    }

    .mit-product-card__image-wrap,
    .mit-category-card__image-wrap {
        padding: 18px;
    }

    .mit-product-card__body,
    .mit-category-card__body {
        padding: 16px 18px 20px;
        gap: 10px;
    }

    .mit-product-card__title,
    .mit-category-card__title {
        font-size: 15.5px;
        min-height: auto;
    }

    .mit-product-card__category {
        font-size: 11.5px;
        padding: 3px 9px;
    }
}


/* =========================================
   8B. EXTRA SMALL & MICRO MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 480px) {
    .mit-shop-header__inner {
        padding: 55px 16px 45px;
    }

    .mit-search-form__inner {
        padding: 4px 5px 4px 12px;
    }

    .mit-search-form__icon {
        width: 17px;
        height: 17px;
        margin-right: 8px;
    }

    .mit-search-form__btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .mit-shop-header__inner {
        padding: 50px 12px 40px;
    }

    .mit-search-form__inner {
        padding: 3px 4px 3px 10px;
    }

    .mit-search-form__icon {
        width: 15px;
        height: 15px;
        margin-right: 6px;
    }

    .mit-search-form__input {
        font-size: 13px;
    }

    .mit-search-form__input::placeholder {
        font-size: 12px;
    }

    .mit-search-form__btn {
        padding: 8px 14px;
        font-size: 12.5px;
        min-height: 38px;
    }

    .mit-cat-filter__btn {
        padding: 7px 13px;
        font-size: 12.5px;
        min-height: 36px;
    }
}

/* ========================================
   9. HOMEPAGE FULL-WIDTH & HERO SLIDER SYSTEM
   ======================================== */

/* Suppress old static Elementor nested tabs widget and old footer on homepage */
.elementor-element-container_y85jmxkco,
.elementor-element-container_ceerorjy8 {
    display: none !important;
}

/* Homepage full width container reset */
body.home #content,
body.home #content.site-content,
body.home .site-content,
body.home .ast-container,
body.home #primary,
body.home .site-main,
body.home article.post-605,
body.home .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

body.home .site-content {
    padding-top: 85px !important;
}

@media (max-width: 921px) {
    body.home .site-content {
        padding-top: 70px !important;
    }
}

/* Hero Slider Container */
.mit-hero-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    background: #000d1a;
    min-height: 600px;
    height: 75vh;
    max-height: 740px;
    overflow: hidden;
    color: #ffffff;
}

.mit-hero-slider__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.mit-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mit-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Background with Ken Burns zoom */
.mit-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.65) contrast(1.1);
}

.mit-slide.is-active .mit-slide__bg {
    transform: scale(1);
}

/* Slide Gradient Overlay */
.mit-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #001224 0%, rgba(0, 18, 36, 0.92) 45%, rgba(0, 34, 68, 0.65) 75%, rgba(0, 51, 102, 0.4) 100%);
}

.mit-slide__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Slide Inner Layout (Split Grid) */
.mit-slide__inner {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 32px 100px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    box-sizing: border-box;
}

/* Content Column (Left) */
.mit-slide__content {
    max-width: 660px;
}

.mit-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 9999px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #93c5fd;
    text-transform: uppercase;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.mit-slide__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.mit-slide__title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.mit-slide__desc {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 580px;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.mit-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(25px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Slide active animations */
.mit-slide.is-active .mit-slide__eyebrow,
.mit-slide.is-active .mit-slide__title,
.mit-slide.is-active .mit-slide__desc,
.mit-slide.is-active .mit-slide__actions {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Buttons */
.mit-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

.mit-slide__btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.mit-slide__btn--primary {
    background: #004080;
    background: linear-gradient(135deg, #004080 0%, #0059b3 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 64, 128, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mit-slide__btn--primary:hover {
    background: linear-gradient(135deg, #0059b3 0%, #0073e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 89, 179, 0.5);
    color: #ffffff !important;
}

.mit-slide__btn--primary:hover svg {
    transform: translateX(4px);
}

.mit-slide__btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #f1f5f9 !important;
    backdrop-filter: blur(8px);
}

.mit-slide__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Visual Column (Right) */
.mit-slide__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.mit-slide.is-active .mit-slide__visual {
    transform: scale(1);
    opacity: 1;
}

.mit-slide__card-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.15);
    max-width: 440px;
    width: 100%;
    aspect-ratio: 4/3;
    background: #001224;
}

.mit-slide__card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mit-slide__card-preview:hover img {
    transform: scale(1.05);
}

.mit-slide__card-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(0, 18, 36, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mit-slide__card-badge-num {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
}

.mit-slide__card-badge-text {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
}

/* Slider Controls: Arrows */
/* Slider Controls: Prominent Both-Side Arrows */
.mit-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    z-index: 50 !important;
}

.mit-slider-arrow {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: #002855 !important;
    border: 2px solid #38bdf8 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    pointer-events: auto !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.4) !important;
}

.mit-slider-arrow svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #ffffff !important;
    fill: none !important;
    display: block !important;
    transition: transform 0.2s ease !important;
}

.mit-slider-arrow svg polyline,
.mit-slider-arrow svg path {
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 3.5px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.mit-slider-arrow:hover {
    background: #0073e6;
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(0, 115, 230, 0.6), 0 0 24px rgba(56, 189, 248, 0.5);
}

.mit-slider-arrow:active {
    transform: scale(0.94);
}

.mit-slider-arrow--prev:hover svg {
    transform: translateX(-3px);
}

.mit-slider-arrow--next:hover svg {
    transform: translateX(3px);
}

/* Slider Navigation: Bottom Tabs with Timer */
.mit-slider-nav {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 10;
}

.mit-slider-nav__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mit-slider-nav__item {
    background: rgba(0, 18, 36, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    text-align: left;
    transition: all 0.2s ease;
}

.mit-slider-nav__item:hover {
    background: rgba(0, 28, 56, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.mit-slider-nav__item.is-active {
    background: rgba(0, 36, 72, 0.9);
    border-color: #38bdf8;
}

.mit-slider-nav__num {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.mit-slider-nav__item.is-active .mit-slider-nav__num {
    color: #38bdf8;
}

.mit-slider-nav__label {
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mit-slider-nav__line {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.mit-slider-nav__line-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #38bdf8;
    border-radius: 9999px;
    transition: width 0.05s linear;
}

/* =========================================
   10. GLOBAL FULL-SIZE FOOTER SYSTEM
   ========================================= */
.mit-global-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #000d1a 0%, #001426 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 85px 0 0;
    overflow: hidden;
}

.mit-global-footer__inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.mit-global-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.15fr 1.35fr;
    gap: 48px;
    padding-bottom: 60px;
    align-items: start;
}

/* Footer Brand Area & Logo Card */
.mit-footer-brand {
    margin-bottom: 22px;
}

/* Footer Logo & Link - Enforced Consistency across Shop and WooCommerce pages */
.mit-footer-logo-link,
body.woocommerce .mit-global-footer .mit-footer-logo-link,
body.woocommerce-page .mit-global-footer .mit-footer-logo-link,
.woocommerce .mit-global-footer .mit-footer-logo-link,
.woocommerce-page .mit-global-footer .mit-footer-logo-link,
.woocommerce-shop .mit-global-footer .mit-footer-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.mit-footer-logo-link:hover,
body.woocommerce .mit-global-footer .mit-footer-logo-link:hover,
body.woocommerce-page .mit-global-footer .mit-footer-logo-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(56, 189, 248, 0.45) !important;
}

.mit-footer-logo-link:focus-visible,
body.woocommerce .mit-global-footer .mit-footer-logo-link:focus-visible,
body.woocommerce-page .mit-global-footer .mit-footer-logo-link:focus-visible {
    outline: 2px solid #38bdf8 !important;
    outline-offset: 3px !important;
}

.mit-footer-logo,
body.woocommerce .mit-global-footer .mit-footer-logo,
body.woocommerce-page .mit-global-footer .mit-footer-logo,
.woocommerce .mit-global-footer .mit-footer-logo,
.woocommerce-page .mit-global-footer .mit-footer-logo,
.woocommerce-shop .mit-global-footer .mit-footer-logo {
    display: block !important;
    height: 58px !important;
    max-height: 58px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.mit-footer-brand-name {
    display: none;
}

.mit-footer-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 24px;
    max-width: 360px;
}

.mit-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 14px;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.mit-footer-badge svg {
    width: 16px;
    height: 16px;
    color: #38bdf8;
    flex-shrink: 0;
}

/* Footer Headings & Nav */
.mit-footer-heading {
    font-family: "Poppins", sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.01em;
}

.mit-footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #0073e6;
    border-radius: 2px;
}

.mit-footer-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mit-footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.mit-footer-nav a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.mit-footer-nav a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}

/* Footer Contact */
.mit-footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mit-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mit-footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #38bdf8;
    transition: all 0.2s ease;
}

.mit-footer-contact-item:hover .mit-footer-contact-icon {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #ffffff;
}

.mit-footer-contact-icon svg {
    width: 17px;
    height: 17px;
}

.mit-footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mit-footer-contact-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.mit-footer-contact-val {
    font-size: 14px;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.mit-footer-contact-val:hover {
    color: #38bdf8 !important;
}

.mit-footer-cta {
    margin-top: 8px;
}

.mit-footer-enquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #004080 0%, #0059b3 100%);
    color: #ffffff !important;
    padding: 11px 24px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 64, 128, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.mit-footer-enquiry-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.mit-footer-enquiry-btn:hover {
    background: linear-gradient(135deg, #0059b3 0%, #0073e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 89, 179, 0.5);
    color: #ffffff !important;
}

.mit-footer-enquiry-btn:hover svg {
    transform: translateX(3px);
}

/* Footer Bottom Bar */
.mit-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.mit-footer-copy {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    color: #64748b;
}

.mit-footer-copy strong {
    color: #94a3b8;
}

.mit-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mit-footer-bottom-links a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.mit-footer-bottom-links a:hover {
    color: #38bdf8 !important;
}

.mit-footer-sep {
    color: #475569;
    font-size: 10px;
}

/* =========================================
   11. HERO & FOOTER RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
    .mit-hero-slider {
        height: 600px !important;
        min-height: 600px !important;
        max-height: none !important;
    }

    .mit-hero-slider__slides {
        height: 100% !important;
        min-height: 100% !important;
        position: relative !important;
    }

    .mit-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mit-slide__inner {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 28px !important;
        padding: 85px 24px 85px !important;
        max-width: 960px !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .mit-slide__content {
        max-width: 100% !important;
    }

    .mit-slide__title {
        font-size: clamp(1.9rem, 3.4vw, 2.6rem) !important;
        margin-bottom: 14px !important;
    }

    .mit-slide__desc {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .mit-slide__visual {
        display: flex !important;
    }

    .mit-slide__card-preview {
        max-width: 420px !important;
        width: 100% !important;
        aspect-ratio: 4/3 !important;
        margin: 0 auto !important;
    }

    /* Completely hide/remove both arrows on tablet */
    .mit-slider-arrows,
    .mit-slider-arrow {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Tablet footer: 2 columns from 601px to 1024px */
@media (max-width: 1024px) and (min-width: 601px) {
    .mit-global-footer {
        padding-top: 70px;
    }

    .mit-global-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 40px 36px !important;
        padding-bottom: 50px !important;
    }

    .mit-footer-col--brand {
        text-align: left !important;
        display: block !important;
        padding-right: 12px;
    }

    .mit-footer-brand {
        display: block !important;
        margin-bottom: 20px !important;
    }

    .mit-footer-logo-link,
    body.woocommerce .mit-global-footer .mit-footer-logo-link,
    body.woocommerce-page .mit-global-footer .mit-footer-logo-link {
        margin: 0 !important;
    }

    .mit-footer-desc {
        text-align: left !important;
        max-width: 100% !important;
        margin: 0 0 20px !important;
    }

    .mit-footer-badge {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .mit-hero-slider {
        height: 680px !important;
        min-height: 680px !important;
        max-height: none !important;
    }

    .mit-hero-slider__slides {
        height: 100% !important;
        min-height: 100% !important;
        position: relative !important;
    }

    .mit-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.5s ease, visibility 0.5s ease !important;
    }

    .mit-slide.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 2 !important;
    }

    .mit-slide.is-active .mit-slide__eyebrow,
    .mit-slide.is-active .mit-slide__title,
    .mit-slide.is-active .mit-slide__desc,
    .mit-slide.is-active .mit-slide__visual,
    .mit-slide.is-active .mit-slide__actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .mit-slide__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 75px 16px 75px !important;
        text-align: center !important;
        max-width: 440px !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .mit-slide__content {
        margin: 0 0 12px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .mit-slide__eyebrow {
        font-size: 11px !important;
        padding: 4px 14px !important;
        margin-bottom: 8px !important;
        letter-spacing: 1.5px !important;
    }

    .mit-slide__title {
        font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
        line-height: 1.22 !important;
        margin: 0 0 6px !important;
    }

    .mit-slide__desc {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        margin: 0 0 12px !important;
        max-width: 360px !important;
        color: #cbd5e1 !important;
    }

    /* FULL RESPONSIVE PRODUCT IMAGE CARD ON MOBILE - PROMINENT, CENTERED & 4:3 RATIO */
    .mit-slide__visual {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto 16px !important;
        opacity: 0;
        transform: translateY(12px);
        transition: all 0.5s ease 0.15s;
    }

    .mit-slide__card-preview {
        max-width: 330px !important;
        width: calc(100% - 20px) !important;
        height: auto !important;
        aspect-ratio: 4/3 !important;
        border-radius: 16px !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(255, 255, 255, 0.2) !important;
        overflow: hidden !important;
        position: relative !important;
        margin: 0 auto !important;
    }

    .mit-slide__card-preview img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .mit-slide__card-badge {
        padding: 6px 10px !important;
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        border-radius: 8px !important;
        gap: 8px !important;
        background: rgba(0, 18, 36, 0.92) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .mit-slide__card-badge-num {
        font-size: 11.5px !important;
        color: #38bdf8 !important;
    }

    .mit-slide__card-badge-text {
        font-size: 11px !important;
        color: #e2e8f0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mit-slide__actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .mit-slide__btn {
        padding: 9px 18px !important;
        font-size: 13px !important;
        border-radius: 40px !important;
    }

    .mit-slide__btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* Completely hide/remove both arrows on mobile devices */
    .mit-slider-arrows,
    .mit-slider-arrow {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Bottom tabs */
    .mit-slider-nav {
        bottom: 12px !important;
    }

    .mit-slider-nav__inner {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
        padding: 0 12px !important;
    }

    .mit-slider-nav__item {
        padding: 6px 4px !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 6px !important;
    }

    .mit-slider-nav__label {
        display: none !important;
    }

    .mit-slider-nav__num {
        font-size: 11px !important;
        text-align: center !important;
    }

    .mit-slider-nav__line {
        height: 2.5px !important;
    }

    .mit-global-footer {
        padding-top: 55px;
    }

    .mit-global-footer__grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding-bottom: 40px !important;
    }

    .mit-footer-col--brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mit-footer-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 18px;
    }

    .mit-footer-logo-link,
    body.woocommerce .mit-global-footer .mit-footer-logo-link,
    body.woocommerce-page .mit-global-footer .mit-footer-logo-link {
        margin: 0 auto !important;
    }

    .mit-footer-desc {
        max-width: 440px;
        margin: 0 auto 20px;
        text-align: center;
        font-size: 13.5px;
    }

    .mit-footer-badge {
        margin: 0 auto;
    }

    .mit-footer-heading {
        margin-bottom: 16px;
    }

    .mit-footer-heading::after {
        left: 0;
    }

    .mit-footer-contact-items {
        gap: 15px;
    }

    .mit-footer-cta {
        margin-top: 20px;
    }

    .mit-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 24px 0 30px;
    }

    .mit-footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}
