@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --ts-primary-color: #7c3aed !important;
    --ts-link-color: #7c3aed !important;
    --ts-link-hover-color: #6d28d9 !important;
    --ts-dropdown-color: #0f172a !important;
    --ts-dropdown-bg: #ffffff !important;
    --ts-text-color: #0f172a !important;
    --ts-heading-color: #0f172a !important;
    --ts-border: #e2e8f0 !important;

    --em-font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    --em-font-body: 'Plus Jakarta Sans', -apple-system, sans-serif !important;

    --em-header-white: #ffffff !important;
    --em-header-grey-bg: #f8fafc !important;
    --em-header-top-bg: #f1f5f9 !important;
    --em-search-bg: #f8fafc !important;
    --em-hairline-grey: #e2e8f0 !important;
    --em-text-dark: #0f172a !important;
    --em-text-muted: #64748b !important;
    --em-violet-accent: #7c3aed !important;
    --em-bg-gradient: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #e9d5ff 100%) !important;
}

/* Custom Front Page Font Scoping (Does NOT touch header, navigation, or WooCommerce pages) */
.custom-front-page {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.custom-front-page h1,
.custom-front-page h2,
.custom-front-page h3,
.em-hero-title,
.em-section-title,
.em-promo-content h3,
.em-card-body h3,
.em-btn-primary,
.em-promo-btn,
.em-laptop-btn {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

body,
html,
#page,
#wrapper,
#main,
.site,
.page-container,
.site-content,
.main-content {
    background: #f4f6f8 !important;
    background-color: #f4f6f8 !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* ------------------------------------------------------------
   0.2 UNIFIED SITE-WIDE CONTAINER ALIGNMENT & SPACING
   All containers use the same max-width and horizontal padding
   for perfectly aligned left/right margins across every section.
   ------------------------------------------------------------ */
:root {
    --em-container-max-width: 1200px !important;
    --em-container-padding: 20px !important;
}

/* Global container centering — covers Bootstrap .container, 
   Elementor boxed containers, theme page-container, and WooCommerce */
/* 100% PERFECT ALIGNMENT ACROSS HEADER, LANDING PAGE & FOOTER */
body .container,
body .header-top>.container,
body .header-middle>.container,
body .header-bottom>.container,
body .custom-front-page .em-container,
body .custom-front-page .container,
body .custom-footer-area .container,
body .em-hero-section .em-container,
body .em-products-section .em-container,
body .em-promo-section .em-container,
body .em-product-tabs-section .em-container,
body .em-laptop-brands-section .em-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Elementor containers — match same max-width */
body .elementor-section-boxed>.elementor-container {
    max-width: var(--em-container-max-width) !important;
    padding-left: var(--em-container-padding) !important;
    padding-right: var(--em-container-padding) !important;
}

/* Elementor flex/grid containers (new container system) */
body .e-con {
    --container-max-width: 1200px;
}

body .e-con-boxed>.e-con-inner {
    max-width: var(--em-container-max-width) !important;
    padding-left: var(--em-container-padding) !important;
    padding-right: var(--em-container-padding) !important;
}

/* Full-width Elementor sections still need inner content aligned */
body .elementor-section-full_width>.elementor-container {
    padding-left: var(--em-container-padding) !important;
    padding-right: var(--em-container-padding) !important;
}

/* Slider Revolution / top slideshow alignment */
body .top-slideshow {
    max-width: 100% !important;
    padding: 0 !important;
}

body .top-slideshow .top-slideshow-wrapper {
    max-width: var(--em-container-max-width) !important;
    margin: 0 auto !important;
    padding: 0 var(--em-container-padding) !important;
}

/* WooCommerce shop / archive content alignment */
body.woocommerce .page-container,
body.woocommerce-page .page-container,
body .woocommerce>.page-container {
    max-width: var(--em-container-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--em-container-padding) !important;
    padding-right: var(--em-container-padding) !important;
}

/* ------------------------------------------------------------
   0.1 DROPDOWN TEXT FONT COLOR & STYLING (FIX FOR ALL DROPDOWNS)
   ------------------------------------------------------------ */
/* Native Select Elements & Option Tags Font Color */
body select,
body option,
body select option,
body .ts-search-by-category select,
body .ts-search-by-category select option,
body .select-category-wrapper select,
body .select-category-wrapper select option,
body .woocommerce-ordering select,
body .woocommerce-ordering select option,
body .variations select,
body .variations select option,
body select.orderby option {
    color: #0f172a !important;
    background-color: #ffffff !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Selected & Hover Option States */
body select:focus option,
body select option:checked,
body select option:hover {
    color: #7c3aed !important;
    background-color: #f1f5f9 !important;
}

/* Ensure Sub-menu text items remain readable dark with violet hover */
body .ts-menu ul.sub-menu a,
body .main-menu ul.sub-menu a,
body .dropdown-menu a,
body ul.sub-menu a,
body .ts-mega-menu-wrapper a,
body .elementor-widget-wp-widget-nav_menu a {
    color: #0f172a !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

body .ts-menu ul.sub-menu a:hover,
body .main-menu ul.sub-menu a:hover,
body .dropdown-menu a:hover,
body ul.sub-menu a:hover,
body .ts-mega-menu-wrapper a:hover,
body .elementor-widget-wp-widget-nav_menu a:hover {
    color: #7c3aed !important;
}

/* Select2 / Custom JS Dropdown Font Colors */
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-dropdown,
.select2-results__option,
.nice-select,
.nice-select .option {
    color: #0f172a !important;
    background-color: #ffffff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.nice-select .option:hover,
.nice-select .option.selected {
    background-color: rgba(124, 58, 237, 0.08) !important;
    color: #7c3aed !important;
}

/* ------------------------------------------------------------
   1. MAIN HEADER CONTAINER (HAIRLINE BOTTOM BORDER)
   ------------------------------------------------------------ */
body .ts-header,
body .header-template,
body .header-sticky,
body #ts-header {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    color: #0f172a !important;
}

/* ------------------------------------------------------------
   2. TOP ANNOUNCEMENT BAR (HAIRLINE DIVIDER)
   ------------------------------------------------------------ */
body .header-top,
body .ts-header-top {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 2px 0 !important;
}

body .header-top a,
body .ts-header-top a {
    color: #475569 !important;
}

body .header-top a:hover,
body .ts-header-top a:hover {
    color: #7c3aed !important;
}

/* ------------------------------------------------------------
   3. MIDDLE HEADER & SEARCH BAR (PREMIUM MARKET STANDARD)
   ------------------------------------------------------------ */
body .header-middle {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .header-middle>.container,
body .is-sticky .header-middle>.container {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    min-height: 100px !important;
    display: flex !important;
    align-items: center !important;
}

/* Reset Inner Containers */
body .ts-search-by-category,
body .ts-search-by-category .search-table,
body .ts-search-by-category .search-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: block !important;
}

/* The Main Pill Container is the <form> */
body .ts-search-by-category form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 40px !important;
    height: 44px !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .ts-search-by-category form:focus-within {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1) !important;
}

/* Category Dropdown (Left) */
body .ts-search-by-category .select-category {
    background-color: transparent !important;
    color: #475569 !important;
    border: none !important;
    border-right: 1px solid #e2e8f0 !important;
    font-weight: 500 !important;
    padding: 0 15px 0 20px !important;
    font-size: 0.9rem !important;
    height: 100% !important;
    margin: 0 !important;
    outline: none !important;
}

/* Search Input (Middle) */
body .ts-search-by-category .search-table {
    flex: 1 !important;
    height: 100% !important;
}

body .ts-search-by-category .search-content {
    display: flex !important;
    flex-direction: row !important;
    height: 100% !important;
    width: 100% !important;
}

body .ts-search-by-category input[type="text"] {
    flex: 1 !important;
    background-color: transparent !important;
    color: #0f172a !important;
    border: none !important;
    font-size: 0.95rem !important;
    padding: 0 15px !important;
    height: 100% !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Search Button Container (Right) */
body .ts-search-by-category .search-button {
    height: 100% !important;
    width: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #7c3aed !important;
    border-radius: 0 40px 40px 0 !important;
    transition: background 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
}

body .ts-search-by-category .search-button:hover {
    background: #6d28d9 !important;
}

/* Hide the default "Search" text on the submit input */
body .ts-search-by-category .search-button input[type="submit"],
body .ts-search-by-category .search-button button {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    font-size: 0 !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style the magnifying glass icon inside the button */
body .ts-search-by-category .search-button:before {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    z-index: 5 !important;
}

/* Header Action Icons (Account, Wishlist, Cart) */
body .ts-header .header-right,
body .ts-header .header-right a,
body .ts-header .my-account-wrapper a,
body .ts-header .my-wishlist-wrapper a,
body .ts-header .shopping-cart-wrapper a {
    color: #0f172a !important;
    transition: color 0.2s ease !important;
}

body .ts-header .header-right a:hover,
body .ts-header .my-account-wrapper a:hover {
    color: #7c3aed !important;
}

/* Unified Badge Colors (Purple instead of mixed red/purple) */
body .header-cart .cart-number,
body .my-wishlist-wrapper .tini-wishlist .count-number,
body .header-wishlist .wishlist-number,
body .count,
body .cart-number,
body .wishlist-count {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2) !important;
}

/* Mini Cart & Sidebar Buttons (Fixing the Red 'Continue Shopping' Button) */
body .ts-sidebar-content .button,
body .woocommerce-mini-cart .button,
body .ts-tiny-cart-wrapper .button,
body .ts-floating-sidebar .button {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body .ts-sidebar-content .button:hover,
body .woocommerce-mini-cart .button:hover,
body .ts-tiny-cart-wrapper .button:hover,
body .ts-floating-sidebar .button:hover {
    background-color: #6d28d9 !important;
    border-color: #6d28d9 !important;
}

/* Hide the navigation bar completely */
body .header-bottom {
    display: none !important;
}


/* ------------------------------------------------------------
   5. ALL BUTTONS & CARDS (LIGHTEST GREY HAIRLINE BORDER)
   ------------------------------------------------------------ */
body a.sr7-btn,
body .sr7-btn,
body .elementor-button,
body .elementor-button-wrapper a,
body .button,
body a.button,
body button.button,
body input[type="submit"] {
    border: 1px solid var(--em-hairline-grey) !important;
}

body .elementor-widget-icon-box .elementor-icon-box-wrapper,
body .ts-feature-box,
body .feature-box,
body .em-trust-badges-wrapper {
    border: 1px solid var(--em-hairline-grey) !important;
}

body .product-inner,
body ul.products li.product .product-inner,
body .woocommerce ul.products li.product {
    border: 1px solid var(--em-hairline-grey) !important;
}

/* ------------------------------------------------------------
   4. FRONT PAGE SPECIFIC LAYOUT & SPACING
   ------------------------------------------------------------ */
.custom-front-page,
#main-content,
.site-content,
.page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Global Section Spacing & Clearfix (Prevents all overlaps) */
section[class*="em-"] {
    padding-bottom: 68px !important;
    margin-bottom: 0 !important;
    clear: both !important;
    display: block !important;
    position: relative;
    width: 100%;
}

/* Specific inner margin removal to avoid double spacing */
.em-products-section,
.em-promo-section,
.em-product-tabs-section,
.em-category-products-section {
    margin-bottom: 0 !important;
}

.em-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------------------------------------------------
   6. FOOTER ALIGNMENT & HAIRLINE DIVIDERS
   ------------------------------------------------------------ */
/* Legacy footer CSS removed */

@media (min-width: 769px) {

    body .footer-container .elementor-7645>.elementor-element,
    body .footer-container .elementor-7645 .e-con-boxed,
    body .footer-container .e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 40px !important;
        max-width: var(--em-container-max-width) !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    body .footer-container .elementor-element-f133b27 {
        flex: 0 0 28% !important;
        max-width: 28% !important;
        width: 28% !important;
    }

    body .footer-container .elementor-element-1e0491e {
        flex: 1 1 68% !important;
        max-width: 68% !important;
        width: 68% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    body .footer-container ul {
        list-style: none !important;
        padding-left: 0 !important;
        margin: 0 !important;
    }

    body .footer-container ul li {
        margin-bottom: 10px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {

    body .footer-container .e-con-inner,
    body .footer-container .elementor-element-1e0491e {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
        width: 100% !important;
    }

    body .footer-container .e-child,
    body .footer-container .elementor-element-f133b27,
    body .footer-container .elementor-element-1e0491e {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    body .footer-container ul {
        list-style: none !important;
        padding-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

body #to-top,
body a#to-top,
body .scroll-to-top {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid var(--em-hairline-grey) !important;
}

/* ============================================================
   CUSTOM FRONT PAGE (FRONT-PAGE.PHP) STYLES
   ============================================================ */

.custom-front-page {
    padding-bottom: 51px;
}

.em-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------------------------------------------------
   FRONT PAGE TYPOGRAPHY (3D POP & READABILITY)
   ------------------------------------------------------------ */
.custom-front-page h1,
.custom-front-page h2,
.custom-front-page h3,
.em-hero-title,
.em-section-title {
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8), 0px 4px 8px rgba(0, 0, 0, 0.05) !important;
    line-height: 1.25 !important;
}

.custom-front-page p,
.em-hero-subtitle,
.em-section-subtitle {
    color: #334155 !important;
    line-height: 1.65 !important;
    font-size: 1.02rem !important;
    font-weight: 500 !important;
}

/* High Contrast Light Paragraphs inside Dark Cards & Banners */
.em-promo-banner p,
.em-promo-content p,
.em-laptop-card p,
.em-card-body p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------
   GLOBAL BUTTONS (UNIFIED STYLE & ANIMATION)
   ------------------------------------------------------------ */
button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn),
.button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn),
.btn:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn),
input[type="button"]:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn),
input[type="submit"]:not(.minus):not(.plus),
.em-btn-primary,
.woocommerce a.button:not(.show-password-input):not(.minus):not(.plus),
.woocommerce button.button:not(.show-password-input):not(.minus):not(.plus),
.woocommerce input.button:not(.minus):not(.plus),
.woocommerce #respond input#submit {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 40px !important;
    /* Unified pill shape */
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.15) !important;
    text-transform: capitalize !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):hover,
.button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):hover,
.btn:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):hover,
input[type="button"]:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):hover,
input[type="submit"]:not(.minus):not(.plus):hover,
.em-btn-primary:hover,
.woocommerce a.button:not(.show-password-input):not(.minus):not(.plus):hover,
.woocommerce button.button:not(.show-password-input):not(.minus):not(.plus):hover,
.woocommerce input.button:not(.minus):not(.plus):hover,
.woocommerce #respond input#submit:hover {
    background-color: #6d28d9 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px rgba(124, 58, 237, 0.3) !important;
}

button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):active,
.button:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):active,
.btn:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):active,
input[type="button"]:not(.show-password-input):not(.minus):not(.plus):not(.qty-btn):active,
input[type="submit"]:not(.minus):not(.plus):active,
.woocommerce a.button:not(.show-password-input):not(.minus):not(.plus):active,
.woocommerce button.button:not(.show-password-input):not(.minus):not(.plus):active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.1) !important;
}

/* Dedicated Reset for WooCommerce Quantity Stepper Buttons (- and +) */
body .quantity,
body .woocommerce .quantity,
body td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    padding: 3px 6px !important;
    width: auto !important;
    height: 40px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

body .quantity input.qty,
body .woocommerce .quantity input.qty {
    width: 42px !important;
    height: 34px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 4px !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

body .quantity input.qty::-webkit-outer-spin-button,
body .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

body .quantity .minus,
body .quantity .plus,
body .quantity button.minus,
body .quantity button.plus,
body .quantity input.minus,
body .quantity input.plus,
body .woocommerce .quantity .minus,
body .woocommerce .quantity .plus,
body td.product-quantity .minus,
body td.product-quantity .plus {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    transform: none !important;
    position: relative !important;
    overflow: visible !important;
}

body .quantity .minus:hover,
body .quantity .plus:hover,
body .quantity button.minus:hover,
body .quantity button.plus:hover,
body .quantity input.minus:hover,
body .quantity input.plus:hover,
body .woocommerce .quantity .minus:hover,
body .woocommerce .quantity .plus:hover {
    background: #7c3aed !important;
    background-color: #7c3aed !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Dedicated Reset for WooCommerce Show/Hide Password Eye Icon Toggle */
body .show-password-input,
body button.show-password-input,
body span.show-password-input,
body .woocommerce-form-login .show-password-input,
body .woocommerce-form-register .show-password-input {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 8px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    color: #475569 !important;
    font-size: 1.1rem !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    display: inline-block !important;
    z-index: 10 !important;
}

body .show-password-input:hover,
body button.show-password-input:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #7c3aed !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
}

/* Fix for search button to not get massive padding overriding its fixed width */
body .ts-search-by-category .search-button input[type="submit"],
body .ts-search-by-category .search-button button {
    padding: 0 !important;
    border-radius: 0 40px 40px 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

body .ts-search-by-category .search-button input[type="submit"]:hover,
body .ts-search-by-category .search-button button:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* ------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------ */
.em-hero-section {
    padding: 18px 0 22px 0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.em-hero-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr !important;
    gap: 20px !important;
    align-items: center;
}

.em-slide-content {
    padding-right: 0 !important;
}

.em-slide-image {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.em-hero-title {
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.02em !important;
}

.em-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    padding: 5px 14px !important;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.82rem !important;
    margin-bottom: 14px !important;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.em-hero-subtitle {
    font-size: 0.98rem !important;
    color: #475569 !important;
    margin-bottom: 22px !important;
    max-width: 480px !important;
    line-height: 1.5 !important;
}

.em-hero-actions {
    display: flex;
    gap: 16px;
}

.em-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.em-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
    color: #fff;
}

/* ============================================================
   E-COMMERCE VALUE HIGHLIGHTS BAR & TRUST PILLS
   ============================================================ */
.em-value-highlights-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    margin-bottom: 5px;
}

.em-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: center;
}

.em-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
}

.em-value-icon {
    font-size: 1.1rem;
}

.em-value-text strong {
    color: #0f172a;
    font-weight: 700;
}

.em-hero-trust-pills {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

.em-hero-trust-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.em-hero-trust-pills i {
    color: #10b981;
}

.em-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0f172a;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.em-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #7c3aed;
}

/* ============================================================
   SEAMLESS DISSOLVED HERO SHOWCASE (FRAMELESS & BLENDED)
   ============================================================ */
.em-hero-dissolved-showcase {
    position: relative;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    isolation: isolate;
}

/* Ambient Radial Glow Aura (Behind Gadgets) */
.em-hero-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(56, 189, 248, 0.12) 50%, rgba(248, 250, 252, 0) 75%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

/* Full Container Edge-to-Edge Hero Banner Image */
.em-hero-floating-gadgets {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    max-height: 330px !important;
    object-fit: cover !important;
    border-radius: 24px !important;
    animation: none !important;
    transform: none !important;
}

@keyframes floatGadgetsSeamless {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    100% {
        transform: translateY(-18px) rotate(1.5deg) scale(1.02);
    }
}

.em-glass-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.em-showcase-item {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.em-dynamic-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.em-glass-showcase:hover .em-dynamic-img {
    transform: scale(1.05) translateY(-10px);
}

/* --- CATEGORIES SECTION --- */
.em-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0 !important;
    color: #0f172a;
}

.em-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.em-view-all {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.em-view-all:hover {
    text-decoration: underline;
}

.em-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 68px;
}

.em-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.em-category-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
    border-color: #7c3aed;
}

.em-cat-icon {
    font-size: 2.5rem;
    color: #7c3aed;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.em-category-card:hover .em-cat-icon {
    transform: scale(1.1);
}

.em-category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* --- PRODUCTS GRID --- */
.em-products-section {
    margin-bottom: 45px;
}

/* ============================================================
   UNIFIED SITE-WIDE PRODUCT GRID CARDS (HOMEPAGE & ALL PAGES)
   ============================================================ */

/* 1. Grid Container Layout */
ul.products,
body.woocommerce ul.products,
.woocommerce ul.products,
.em-products-grid .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

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

/* 2. Product Card Container */
ul.products li.product,
body.woocommerce ul.products li.product,
.woocommerce ul.products li.product,
.em-products-grid .woocommerce ul.products li.product,
.em-products-grid ul.products li.product,
.product-inner {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

ul.products li.product:hover,
body.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:hover,
.em-products-grid .woocommerce ul.products li.product:hover,
.em-products-grid ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.15) !important;
    border-color: rgba(124, 58, 237, 0.4) !important;
}

/* 3. Product Card Image Zoom */
ul.products li.product img,
body.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img,
.em-products-grid .woocommerce ul.products li.product img,
.em-products-grid ul.products li.product img {
    border-radius: 12px !important;
    transition: transform 0.4s ease !important;
    object-fit: contain !important;
    max-height: 180px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
}

ul.products li.product:hover img,
body.woocommerce ul.products li.product:hover img,
.woocommerce ul.products li.product:hover img,
.em-products-grid .woocommerce ul.products li.product:hover img,
.em-products-grid ul.products li.product:hover img {
    transform: scale(1.06) !important;
}

/* 4. Product Title ('Outfit' Geometric Font, Clamped 2 Lines) */
ul.products li.product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product h2,
body.woocommerce ul.products li.product h3,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .product-name a,
.em-products-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.em-products-grid ul.products li.product h2,
.em-products-grid ul.products li.product h3,
.em-products-grid ul.products li.product .product-name a {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.7em !important;
    transition: color 0.2s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__title,
.em-products-grid .woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: #7c3aed !important;
}

/* 5. Product Price ('Outfit' Font, Electric Violet #7c3aed) */
ul.products li.product .price,
body.woocommerce ul.products li.product .price,
.em-products-grid .woocommerce ul.products li.product .price,
.em-products-grid ul.products li.product .price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #7c3aed !important;
    margin-bottom: 12px !important;
    display: block !important;
}

ul.products li.product .price del,
body.woocommerce ul.products li.product .price del,
.em-products-grid .woocommerce ul.products li.product .price del {
    font-size: 0.92rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-right: 6px !important;
}

ul.products li.product .price ins,
body.woocommerce ul.products li.product .price ins,
.em-products-grid .woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #7c3aed !important;
}

/* 6. Hide Cluttered Raw Metadata from All Product Grid Cards */
ul.products li.product .sku-wrapper,
ul.products li.product .product-sku,
ul.products li.product .product-categories,
ul.products li.product .product-cat,
ul.products li.product .short-description,
ul.products li.product .product-short-description,
ul.products li.product .product-desc,
ul.products li.product .product-meta,
.em-products-grid .sku-wrapper,
.em-products-grid .product-sku,
.em-products-grid .product-categories,
.em-products-grid .product-cat,
.em-products-grid .short-description,
.em-products-grid .product-short-description,
.em-products-grid .product-desc,
.em-products-grid .product-meta {
    display: none !important;
}

/* 7. Action Button (Pill Button) */
ul.products li.product .button,
body.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button,
.em-products-grid .woocommerce ul.products li.product .button,
.em-products-grid ul.products li.product a.button {
    width: 100% !important;
    border-radius: 30px !important;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    text-align: center !important;
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

ul.products li.product:hover .button,
body.woocommerce ul.products li.product:hover a.button,
.woocommerce ul.products li.product:hover .button,
.em-products-grid .woocommerce ul.products li.product:hover .button,
.em-products-grid ul.products li.product:hover a.button {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}

.em-products-grid.em-grid-6 .woocommerce ul.products {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
}

/* --- PROMO BANNER --- */
.em-promo-section {
    margin-bottom: 45px;
}

.em-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Entire card link wrapper */
.em-promo-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 44px 48px;
    border-radius: 28px;
    text-decoration: none !important;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 35px -10px rgba(15, 23, 42, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    isolation: isolate;
}

/* Apple Specific Styling - Deep Royal Purple & Violet Gradient with Glow */
.em-promo-apple {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Samsung Specific Styling - Rich Indigo & Deep Midnight Gradient */
.em-promo-samsung {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hover State Animations */
.em-promo-banner:hover {
    transform: translateY(-8px) scale(1.01);
}

.em-promo-apple:hover {
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.45);
    border-color: rgba(255, 255, 255, 0.3);
}

.em-promo-samsung:hover {
    box-shadow: 0 25px 50px -12px rgba(67, 56, 202, 0.45);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Decorative Ambient Glow Orbs */
.em-promo-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(30px);
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

.em-promo-glow.alt-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.em-promo-banner:hover .em-promo-glow {
    transform: scale(1.25) translate(-10px, 10px);
    opacity: 0.85;
}

/* Badge styling */
.em-promo-badge {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.em-promo-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Content typography */
.em-promo-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.em-promo-content h3 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.em-promo-content p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 28px 0;
    line-height: 1.5;
    max-width: 90%;
}

/* Innovative Action Button / Pill */
.em-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.em-btn-arrow {
    transition: transform 0.3s ease;
}

.em-promo-banner:hover .em-promo-btn {
    background: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateX(4px);
}

.em-promo-banner:hover .em-btn-arrow {
    transform: translateX(5px);
}

/* --- WHAT'S NEW SECTION --- */
.em-whats-new-section {
    margin-bottom: 68px;
}

.em-whats-new-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.em-whats-new-block {
    padding: 30px 20px;
    text-align: center;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.em-whats-new-block:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
    border-color: #7c3aed;
}

.em-whats-new-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.em-whats-new-block p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}

.em-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    transition: gap 0.2s;
}

.em-view-link:hover {
    gap: 12px;
    color: #6d28d9;
}

/* --- CATEGORY PRODUCTS LAYOUT --- */
.em-cat-products-layout {
    display: flex;
    gap: 30px;
}

.em-cat-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
}

.em-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.em-cat-list li {
    margin-bottom: 10px;
}

.em-cat-list li a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.em-cat-list li.active a,
.em-cat-list li a:hover {
    background: #f3e8ff;
    color: #7c3aed;
    font-weight: 600;
}

.em-cat-products-grid {
    width: 100%;
}

/* --- PRODUCT TABS --- */
.em-product-tabs-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%) !important;
    padding: 45px 0 !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 45px;
}

.em-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    margin-bottom: 30px;
}

.em-tabs-nav {
    display: flex;
    gap: 15px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

.em-tabs-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.em-tabs-nav li::before,
.em-tabs-nav li::after {
    display: none !important;
}

.em-tab-btn {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    color: #475569 !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    transform: none !important;
}

.em-tab-btn.active,
.em-tab-btn:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2) !important;
}

.em-tab-pane {
    padding: 20px 10px !important;
    /* Allow shadow bleed space */
    border: none !important;
    background: transparent !important;
}

/* --- 6 & 8 COLUMN PRODUCT GRIDS --- */
.em-products-grid.em-grid-6 .woocommerce ul.products {
    grid-template-columns: repeat(6, 1fr) !important;
}

.em-products-grid.em-grid-4 .woocommerce ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 1199px) {
    .em-products-grid.em-grid-6 .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .em-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .em-hero-subtitle {
        margin: 0 auto 32px auto;
    }

    .em-hero-actions {
        justify-content: center;
    }

    .em-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .em-products-grid .woocommerce ul.products,
    .em-products-grid.em-grid-6 .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .em-whats-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .em-hero-title {
        font-size: 2.5rem;
    }

    .em-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .em-whats-new-grid {
        grid-template-columns: 1fr;
    }

    .em-products-grid .woocommerce ul.products,
    .em-products-grid.em-grid-6 .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* --- CUSTOM FOOTER --- */
.custom-footer-area,
.custom-footer-area *,
.custom-footer-top,
.footer-col,
.footer-col ul li a,
.footer-contact p,
.custom-footer-bottom,
.footer-copyright-left,
.footer-copyright-right {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

.footer-col h4,
.footer-col.col-links h4 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-footer-area {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 68px 0 34px 0;
    color: #334155;
}

/* 1. Desktop Layout (4 Columns) */
.custom-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 180px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-contact p {
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #334155;
    font-weight: 500;
}

.footer-contact-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-col.col-links h4 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col.col-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col.col-links ul li {
    list-style: none !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

/* Link Animation on Hover */
.footer-col.col-links ul li a {
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.footer-col.col-links ul li a:hover {
    color: #7c3aed !important;
    transform: translateX(6px);
}

/* Footer Bottom Bar */
.custom-footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 20px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: #475569;
    font-weight: 500;
}

/* --- RESPONSIVE FOOTER MEDIA QUERIES --- */

/* 2. Tablet Layout (2x2 Grid) */
@media (max-width: 1024px) {
    .custom-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* 3. Mobile Layout (Stacked & 100% Center / Middle Aligned) */
@media (max-width: 768px) {
    .em-promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .em-promo-banner {
        padding: 30px;
    }

    .custom-footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

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

    .footer-logo-link {
        margin: 0 auto 20px auto !important;
        display: inline-block !important;
        text-align: center !important;
    }

    .footer-logo {
        margin: 0 auto !important;
    }

    .footer-contact {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact p {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 6px !important;
        margin-bottom: 18px !important;
        width: 100% !important;
    }

    .footer-contact-icon {
        margin: 0 0 4px 0 !important;
    }

    .footer-col.col-links {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-col.col-links h4 {
        text-align: center !important;
        margin-bottom: 14px !important;
        width: 100% !important;
    }

    .footer-col.col-links ul {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-col.col-links ul li {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-col.col-links ul li a {
        text-align: center !important;
        display: inline-block !important;
    }

    .footer-col.col-links ul li a:hover {
        transform: translateY(-2px) !important;
    }

    .footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 10px !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .footer-copyright-left,
    .footer-copyright-right {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ------------------------------------------------------------
   WOOCOMMERCE SHOP PAGE SPACING FIXES
   ------------------------------------------------------------ */
/* Breadcrumbs and Title Area */
body.woocommerce .breadcrumb-title-wrapper {
    margin-bottom: 20px !important;
}

body.woocommerce .page-title {
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e2e8f0;
}

/* Shop Toolbar (Before Loop) */
body.woocommerce .before-loop-wrapper {
    margin-bottom: 40px !important;
    padding: 20px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
}

/* Ensure gap below toolbar and grid */
body.woocommerce ul.products {
    margin-top: 40px !important;
}

/* Pagination Spacing & Styling */
body.woocommerce nav.woocommerce-pagination,
body.woocommerce .ts-pagination {
    margin-top: 68px !important;
    margin-bottom: 68px !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

body.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: flex !important;
    gap: 10px !important;
}

body.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
}

body.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
}

body.woocommerce nav.woocommerce-pagination ul li a:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

/* ============================================================
   FUTURISTIC LAPTOP BRANDS SECTION
   ============================================================ */
.em-laptop-brands-section {
    margin-bottom: 68px;
}

.em-laptop-section-header {
    margin-bottom: 30px;
    text-align: left;
}

.em-laptop-section-header .em-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.em-section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.em-laptop-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Individual Futuristic Card Link */
.em-laptop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 28px 24px;
    border-radius: 24px;
    text-decoration: none !important;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

/* Shimmer Light Reflection Sweep */
.em-card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease-in-out;
    pointer-events: none;
    z-index: 3;
}

.em-laptop-card:hover .em-card-shimmer {
    left: 140%;
}

/* Brand Background Gradients & Borders */
.em-card-macbook {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.em-card-hp {
    background: linear-gradient(145deg, #0369a1 0%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.em-card-asus {
    background: linear-gradient(145deg, #991b1b 0%, #0f172a 100%);
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.em-card-dell {
    background: linear-gradient(145deg, #1d4ed8 0%, #0f172a 100%);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

/* Hover Elevations & Neon Borders */
.em-laptop-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.em-card-macbook:hover {
    box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.em-card-hp:hover {
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.35);
    border-color: rgba(56, 189, 248, 0.5);
}

.em-card-asus:hover {
    box-shadow: 0 20px 40px -10px rgba(239, 68, 68, 0.35);
    border-color: rgba(248, 113, 113, 0.5);
}

.em-card-dell:hover {
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.35);
    border-color: rgba(96, 165, 250, 0.5);
}

/* Glow Orbs */
.em-card-glow {
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(35px);
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
    opacity: 0.6;
}

.glow-macbook {
    background: rgba(255, 255, 255, 0.2);
}

.glow-hp {
    background: rgba(56, 189, 248, 0.35);
}

.glow-asus {
    background: rgba(239, 68, 68, 0.35);
}

.glow-dell {
    background: rgba(59, 130, 246, 0.35);
}

.em-laptop-card:hover .em-card-glow {
    transform: scale(1.3) translate(-10px, -10px);
    opacity: 0.9;
}

/* Card Header Components */
.em-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.em-card-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-macbook {
    background: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-hp {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-asus {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-dell {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.em-brand-logo {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* Card Body Typography */
.em-card-body {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.em-card-body h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.em-card-body p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    line-height: 1.45;
}

/* Card Footer Button */
.em-card-footer {
    position: relative;
    z-index: 2;
}

.em-laptop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.em-arrow-icon {
    transition: transform 0.3s ease;
}

.em-laptop-card:hover .em-laptop-btn {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.em-laptop-card:hover .em-arrow-icon {
    transform: translateX(4px);
}

/* Responsive Media Queries for 4 Laptop Cards */
@media (max-width: 1024px) {
    .em-laptop-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .em-laptop-brands-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .em-laptop-card {
        min-height: 240px;
        padding: 24px 20px;
    }
}

/* Decorative Corner Vector Graphics */
.em-corner-vector {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 5;
    color: #ffffff !important;
    opacity: 0.85 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transition: all 0.4s ease;
}

.em-promo-banner:hover .em-corner-vector,
.em-laptop-card:hover .em-corner-vector {
    transform: rotate(45deg) scale(1.25);
    opacity: 1 !important;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

/* ============================================================
   PER-SECTION SIDE ANIMATED VECTOR GRAPHICS (VISIBLE & ALIGNED)
   ============================================================ */
section[class*="em-"],
.em-hero-section,
.em-best-selling,
.em-promo-section,
.em-product-tabs-section,
.em-laptop-brands-section {
    position: relative !important;
    z-index: 1;
    overflow: visible !important;
}

.em-section-side-vector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 240px;
    pointer-events: none !important;
    z-index: 0;
    user-select: none;
    opacity: 0.65;
}

.em-section-side-vector.vector-left {
    left: -40px;
    animation: floatSecVectorLeft 12s ease-in-out infinite alternate;
}

.em-section-side-vector.vector-right {
    right: -40px;
    animation: floatSecVectorRight 15s ease-in-out infinite alternate;
}

@keyframes floatSecVectorLeft {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }

    100% {
        transform: translateY(-40%) rotate(8deg) scale(1.1);
    }
}

@keyframes floatSecVectorRight {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }

    100% {
        transform: translateY(-60%) rotate(-8deg) scale(1.1);
    }
}

/* ============================================================
   FOOTER SIDE ANIMATED VECTORS (VISIBLE & ALIGNED)
   ============================================================ */
.custom-footer-area {
    position: relative !important;
    overflow: hidden;
}

.em-footer-side-vector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 240px;
    pointer-events: none !important;
    z-index: 0;
    user-select: none;
    opacity: 0.65;
}

.em-footer-side-vector.vector-left {
    left: -35px;
    animation: floatFooterLeft 14s ease-in-out infinite alternate;
}

.em-footer-side-vector.vector-right {
    right: -35px;
    animation: floatFooterRight 16s ease-in-out infinite alternate;
}

@keyframes floatFooterLeft {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-40%) rotate(12deg) scale(1.1);
    }

    100% {
        transform: translateY(-60%) rotate(-6deg) scale(0.95);
    }
}

@keyframes floatFooterRight {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-60%) rotate(-12deg) scale(1.1);
    }

    100% {
        transform: translateY(-40%) rotate(6deg) scale(0.95);
    }
}

/* Hide side vectors on mobile & small tablet screens under 1024px */
@media (max-width: 1024px) {

    .em-section-side-vector,
    .em-footer-side-vector {
        display: none !important;
    }
}

/* ============================================================
   OFFICIAL ELEXTROMART LOGO DISPLAY (HEADER & FOOTER)
   ============================================================ */
body .logo img,
body .logo img.normal-logo,
body .logo img.mobile-logo,
body .logo img.sticky-logo {
    height: 85px !important;
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain !important;
}

body .custom-footer-area img.footer-logo,
body .custom-footer-area .footer-logo-link img,
body .footer-col img,
body .footer-col .footer-logo,
body .footer-logo-link img,
body img.footer-logo,
.footer-logo {
    height: 75px !important;
    max-height: 75px !important;
    min-height: 60px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 20px !important;
}

/* ============================================================
   SHOPPING CART PAGE SPACING & ACTION BUTTONS ALIGNMENT
   ============================================================ */
body .woocommerce-cart .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

body .woocommerce-cart-form {
    flex: 1 1 65% !important;
    min-width: 320px !important;
}

body .cart-collaterals {
    flex: 1 1 30% !important;
    min-width: 300px !important;
}

body .woocommerce-cart-form table.cart td.actions {
    padding: 20px 15px !important;
}

body .woocommerce-cart-form .actions .coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-right: 15px !important;
}

body .woocommerce-cart-form .actions input[type="text"]#coupon_code {
    height: 46px !important;
    border-radius: 30px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 20px !important;
    font-size: 0.9rem !important;
    background: #ffffff !important;
}

body .woocommerce-cart-form .actions button[name="apply_coupon"],
body .woocommerce-cart-form .actions button[name="update_cart"] {
    margin: 4px 6px !important;
}

/* ============================================================
   1. MOBILE RESPONSIVE: HEADER & HAMBURGER MENU
   ============================================================ */
@media (max-width: 991px) {
    body .header-middle {
        padding: 6px 0 !important;
    }

    body .header-middle>.container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        min-height: 70px !important;
        height: 70px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }

    /* Left Box: ONLY 44px wide, tightly surrounding the purple 3-line icon */
    body .header-middle .ts-mobile-icon-toggle {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 20 !important;
    }

    /* Icon span inside .ts-mobile-icon-toggle */
    .ts-mobile-icon-toggle .icon {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #7c3aed !important;
        cursor: pointer !important;
        pointer-events: none !important;
    }

    .ts-mobile-icon-toggle .icon:before {
        content: "" !important;
        width: 26px !important;
        height: 26px !important;
        display: block !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        pointer-events: none !important;
        margin: 0 !important;
    }

    .ts-mobile-icon-toggle .icon:after {
        display: none !important;
        content: "" !important;
    }

    /* ABSOLUTE 100% DEAD CENTER LOGO ALIGNMENT ON EVERY PAGE */
    body .header-middle .logo-wrapper {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 15 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
    }

    body .logo img,
    body .logo img.normal-logo,
    body .logo img.mobile-logo,
    body .logo img.sticky-logo {
        height: 46px !important;
        max-height: 46px !important;
        width: auto !important;
    }

    body .header-middle .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Right Box: Header Icons */
    body .header-middle .header-right {
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 20 !important;
    }

    /* Hide inline middle search bar on mobile (removes double search bar) */
    body .header-center .ts-search-by-category {
        display: none !important;
    }
}

/* ============================================================
   2. MOBILE RESPONSIVE: HERO SECTION
   ============================================================ */
@media (max-width: 991px) {
    .em-hero-section {
        padding: 20px 0 !important;
    }

    .em-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .em-slide-content {
        padding-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .em-hero-title {
        font-size: 1.9rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .em-hero-subtitle {
        font-size: 0.9rem !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
    }

    .em-slide-image {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .em-hero-dissolved-showcase {
        width: 100% !important;
        border-radius: 18px !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    }

    .em-hero-floating-gadgets {
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: cover !important;
        border-radius: 18px !important;
    }
}

/* ============================================================
   3. MOBILE RESPONSIVE: PRODUCT CARDS & GRIDS
   ============================================================ */
@media (max-width: 767px) {

    /* Merto standard: 2-column grid via --ts-columns */
    .em-products-grid .woocommerce,
    .em-products-grid .woocommerce .products,
    .woocommerce .products,
    .ts-shortcode .content-wrapper,
    .ts-shortcode .column-content,
    .woocommerce.main-products.grid {
        --ts-columns: 2 !important;
    }

    /* Ensure proper grid display */
    .em-products-grid .woocommerce .products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: var(--ts-h-gap, 0px) !important;
    }

    /* Product card inner spacing */
    .woocommerce .products .product .product-wrapper {
        padding: 8px !important;
    }

    .woocommerce .products .product h3,
    .woocommerce .products .product .woocommerce-loop-product__title {
        font-size: 0.85rem !important;
        min-height: 2.4em !important;
    }

    .woocommerce .products .product .price {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {

    /* Merto standard: 2 columns on small phones */
    .em-products-grid .woocommerce,
    .em-products-grid .woocommerce .products,
    .woocommerce .products,
    .ts-shortcode .content-wrapper,
    .ts-shortcode .column-content,
    .woocommerce.main-products.grid,
    .woocommerce :is(.cross-sells, .up-sells, .related) {
        --ts-columns: 2 !important;
    }

    .em-products-grid .woocommerce .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ============================================================
   3B. MOBILE RESPONSIVE: DISCOVER PRODUCTS TABS HEADER
   ============================================================ */
@media (max-width: 767px) {

    /* Stack title and buttons vertically */
    .em-tabs-header {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    /* Title on one single line */
    .em-tabs-header .em-section-title {
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* Buttons wrap below, centered */
    .em-tabs-header .em-tabs-nav {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Slightly smaller buttons on mobile */
    .em-tabs-header .em-tab-btn {
        padding: 8px 18px !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================================
   4. MOBILE RESPONSIVE: PROMOTIONAL BANNERS
   ============================================================ */
@media (max-width: 991px) {
    .em-promo-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .em-promo-banner {
        padding: 24px 20px !important;
        min-height: 170px !important;
    }

    .em-promo-content h3 {
        font-size: 1.3rem !important;
    }
}

/* ============================================================
   5. MOBILE RESPONSIVE: LAPTOP BRANDS SHOWCASE
   ============================================================ */
@media (max-width: 991px) {
    .em-laptop-brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 480px) {
    .em-laptop-brands-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .em-laptop-card {
        min-height: 170px !important;
        padding: 20px 16px !important;
    }
}

/* ============================================================
   6. MOBILE RESPONSIVE: FOOTER SECTION
   ============================================================ */
@media (max-width: 991px) {
    .custom-footer-top {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: left !important;
    }

    .custom-footer-area .footer-logo,
    body .footer-col .footer-logo {
        height: 55px !important;
        max-height: 55px !important;
    }

    .custom-footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }
}

/* ============================================================
   7. MOBILE & DESKTOP FLOATING SEARCH SIDEBAR (#ts-search-sidebar)
   ============================================================ */
#ts-search-sidebar {
    z-index: 99999 !important;
}

#ts-search-sidebar .ts-sidebar-content {
    background: #ffffff !important;
    padding: 0 !important;
}

/* Top Bar: Category Select / Heading + Close Button */
#ts-search-sidebar .ts-search-by-category form {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
}

#ts-search-sidebar .ts-search-by-category .select-category,
#ts-search-sidebar .ts-search-by-category form > h5 {
    width: calc(100% - 50px) !important;
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 40px 0 20px !important;
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    cursor: pointer !important;
}

/* Fix Close Button Single X Icon */
#ts-search-sidebar .ts-sidebar-content .close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 50px !important;
    height: 52px !important;
    background: #f1f5f9 !important;
    border-left: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

#ts-search-sidebar .ts-sidebar-content .close:before {
    display: none !important;
    content: "" !important;
}

#ts-search-sidebar .ts-sidebar-content .close:after {
    content: "" !important;
    font-family: inherit !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    display: block !important;
}

/* Search Input Table Container */
#ts-search-sidebar .ts-search-by-category form > .search-table {
    width: 100% !important;
    padding: 20px 16px !important;
    flex: none !important;
    box-sizing: border-box !important;
}

/* Fix Input Box Height & Border */
#ts-search-sidebar .ts-search-by-category .search-table .search-field {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: 1.5px solid #0f172a !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    padding: 0 50px 0 14px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#ts-search-sidebar .ts-search-by-category .search-table .search-field input[type="text"] {
    width: 100% !important;
    height: 100% !important;
    line-height: 48px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

#ts-search-sidebar .ts-search-by-category .search-table .search-field input[type="text"]::placeholder {
    color: #94a3b8 !important;
}

/* Black Search Submit Button */
#ts-search-sidebar .ts-search-by-category .search-table .search-button {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    bottom: 4px !important;
    width: 40px !important;
    height: 40px !important;
    background: #000000 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

#ts-search-sidebar .ts-search-by-category .search-table .search-button:before {
    content: "" !important;
    font-family: inherit !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    display: block !important;
    pointer-events: none !important;
}

#ts-search-sidebar .ts-search-by-category .search-table .search-button input[type="submit"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    border: none !important;
}

/* ============================================================
   8. MOBILE HAMBURGER MENU DRAWER (#group-icon-header)
   ============================================================ */
@media (max-width: 991px) {
    /* Main Drawer Backdrop Container */
    #group-icon-header.ts-floating-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    #group-icon-header.active,
    body.menu-mobile-active #group-icon-header {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Dark Overlay Backdrop */
    #group-icon-header .overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: none !important;
        filter: none !important;
        z-index: 1 !important;
    }

    /* Fixed Left White Drawer Panel */
    #group-icon-header .ts-sidebar-content {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        max-height: 100vh !important;
        width: 320px !important;
        max-width: 82vw !important;
        background: #ffffff !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 10 !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
    }

    #group-icon-header.active .ts-sidebar-content,
    body.menu-mobile-active #group-icon-header .ts-sidebar-content {
        transform: translateX(0) !important;
    }

    #group-icon-header .sidebar-content {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    /* Top bar wrapper for Close button */
    #group-icon-header .tab-mobile-menu {
        display: block !important;
        background: transparent !important;
        height: 50px !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    #group-icon-header .tab-mobile-menu li#main-menu,
    #group-icon-header .tab-mobile-menu li#vertical-menu,
    #group-icon-header .menu-title,
    #group-icon-header .mobile-menu-wrapper {
        display: none !important;
    }

    /* Top-Right Close (X) Button */
    #group-icon-header .tab-mobile-menu li.close,
    #group-icon-header .close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 10px !important;
        right: 15px !important;
        width: 36px !important;
        height: 36px !important;
        background: #f1f5f9 !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        z-index: 99 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #group-icon-header .tab-mobile-menu li.close:after,
    #group-icon-header .close:after {
        content: "" !important;
        width: 18px !important;
        height: 18px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        display: block !important;
    }

    /* Wishlist & Account Section ONLY */
    #group-icon-header .group-button-header {
        border-top: 1px solid #f1f5f9 !important;
        padding: 20px 24px !important;
        background: #ffffff !important;
        margin: 0 !important;
        display: block !important;
    }

    #group-icon-header .group-button-header .header-language,
    #group-icon-header .group-button-header .header-currency {
        display: none !important;
    }

    #group-icon-header .group-button-header .meta-bottom {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    #group-icon-header .my-wishlist-wrapper a.tini-wishlist,
    #group-icon-header .my-account-wrapper a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 0.95rem !important;
        font-weight: 400 !important;
        color: #64748b !important;
        text-decoration: none !important;
    }

    #group-icon-header .my-wishlist-wrapper a.tini-wishlist:before {
        content: "" !important;
        width: 18px !important;
        height: 18px !important;
        display: inline-block !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l8.78-8.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }

    #group-icon-header .my-account-wrapper a:before {
        content: "" !important;
        width: 18px !important;
        height: 18px !important;
        display: inline-block !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
    }

    #group-icon-header .my-wishlist-wrapper .count-number,
    #group-icon-header .my-wishlist-wrapper span.count {
        background: transparent !important;
        color: #64748b !important;
        padding: 0 !important;
        font-weight: 400 !important;
    }
}

/* ============================================================
   9. WOOCOMMERCE & MY ACCOUNT PAGE MOBILE ALIGNMENT
   ============================================================ */
@media (max-width: 991px) {
    /* Full container width & padding */
    body.woocommerce-account #main,
    body.woocommerce-account .page-container,
    body.woocommerce-account .main-content,
    body.woocommerce-account .main-content-wrapper,
    body.woocommerce-account .woocommerce {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        float: none !important;
        background: #ffffff !important;
    }

    /* Page Heading (Login Title) */
    body.woocommerce-account h1.entry-title,
    body.woocommerce-account h2 {
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        color: #000000 !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }

    /* Login Form Container */
    body.woocommerce-account #customer_login,
    body.woocommerce-account .woocommerce-form-login {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 30px 0 !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    body.woocommerce-account #customer_login .col-1,
    body.woocommerce-account #customer_login .col-2,
    body.woocommerce-account .col2-set .col-1,
    body.woocommerce-account .col2-set .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Input Field Labels */
    body.woocommerce-account form.login label,
    body.woocommerce-account .woocommerce-form-login label {
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    body.woocommerce-account form.login label .required,
    body.woocommerce-account .woocommerce-form-login label .required {
        color: #ef4444 !important;
    }

    /* Text Inputs: 48px height, rounded border */
    body.woocommerce-account form.login input.input-text,
    body.woocommerce-account form.login input[type="text"],
    body.woocommerce-account form.login input[type="password"],
    body.woocommerce-account form.login input[type="email"],
    body.woocommerce-account .woocommerce-form-login input.input-text {
        height: 48px !important;
        min-height: 48px !important;
        border: 1px solid #475569 !important;
        border-radius: 8px !important;
        padding: 0 16px !important;
        font-size: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        color: #0f172a !important;
        box-shadow: none !important;
    }

    /* Form Rows Spacing */
    body.woocommerce-account form.login .form-row,
    body.woocommerce-account .woocommerce-form-login .form-row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
    }

    /* Remember Me & Lost your password row: Aligned left & right */
    body.woocommerce-account .woocommerce-form-login p.form-row:has(.woocommerce-form-login__rememberme),
    body.woocommerce-account .woocommerce-form-login p.form-row:has(.lost_password),
    body.woocommerce-account .woocommerce-form-login .inline,
    body.woocommerce-account .woocommerce-form-login .rememberme-lostpassword-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 12px !important;
        margin-bottom: 24px !important;
    }

    body.woocommerce-account .woocommerce-form-login label.woocommerce-form-login__rememberme,
    body.woocommerce-account .woocommerce-form-login label.inline {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        margin: 0 !important;
        cursor: pointer !important;
    }

    body.woocommerce-account .woocommerce-form-login input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        border-radius: 4px !important;
        margin: 0 !important;
        cursor: pointer !important;
    }

    /* Lost your password link */
    body.woocommerce-account .woocommerce-form-login .lost_password,
    body.woocommerce-account .woocommerce-form-login .lost_password a {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #64748b !important;
        text-decoration: underline !important;
        margin: 0 !important;
        float: none !important;
        display: inline-block !important;
    }

    /* Solid BLACK LOG IN Button */
    body.woocommerce-account .woocommerce-form-login button.button,
    body.woocommerce-account .woocommerce-form-login button[type="submit"],
    body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit {
        background: #000000 !important;
        background-color: #000000 !important;
        color: #ffffff !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        height: 46px !important;
        line-height: 46px !important;
        padding: 0 36px !important;
        border-radius: 6px !important;
        border: none !important;
        cursor: pointer !important;
        width: auto !important;
        display: inline-block !important;
        box-shadow: none !important;
        margin-top: 10px !important;
    }

    body.woocommerce-account .woocommerce-form-login button.button:hover {
        background: #1e293b !important;
        color: #ffffff !important;
    }
}

/* ============================================================
   10. SINGLE PRODUCT PAGE ALIGNMENT & CLEANUP
   ============================================================ */

/* Global: Hide broken/overflowing compare tooltip buttons completely on ALL screen sizes */
.single-product .summary .button-tooltip,
.single-product .summary a.compare,
.single-product .summary div.compare,
.single-product .summary .yith-woocompare-button,
.single-product .summary .yith-woocompare-add-button,
.single-product .summary [class*="button-tooltip"],
.single-product .summary [class*="compare"],
.single-product .summary [data-title*="Add To Con"],
.single-product .summary [data-title*="Add To Compa"],
.single-product .summary a[href*="action=yith-woocompare"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* ------------------------------------------------------------
   DESKTOP VIEW (min-width: 992px)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
    /* Cart Form: Clean Single Horizontal Row for Qty, Add to Cart, Buy Now */
    .single-product .summary form.cart {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        margin-top: 16px !important;
        margin-bottom: 20px !important;
        width: auto !important;
    }

    /* Quantity Box (- 1 +) */
    .single-product .summary form.cart .quantity {
        order: 1 !important;
        margin: 0 !important;
        float: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
        flex: 0 0 130px !important;
        height: 46px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 23px !important;
        padding: 0 6px !important;
        box-sizing: border-box !important;
    }

    .single-product .summary form.cart .quantity input.qty {
        width: 40px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        color: #0f172a !important;
        border: none !important;
        background: transparent !important;
        text-align: center !important;
    }

    .single-product .summary form.cart .quantity .plus,
    .single-product .summary form.cart .quantity .minus {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #cbd5e1 !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    /* Add To Cart Button: Clean Pill on Same Row */
    .single-product .summary .single_add_to_cart_button,
    .single-product .summary form.cart .single_add_to_cart_button,
    .single-product .summary form.cart button[type="submit"]:not(.buy-now-button) {
        order: 2 !important;
        width: auto !important;
        flex: 0 0 auto !important;
        min-width: 150px !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 23px !important;
        background: #7c3aed !important;
        background-color: #7c3aed !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        padding: 0 24px !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
        text-transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button span,
    .single-product .summary .single_add_to_cart_button span {
        display: inline-block !important;
        font-size: 0.95rem !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button:before {
        content: "+" !important;
        font-size: 1.1rem !important;
        margin-right: 6px !important;
        display: inline-block !important;
        color: #ffffff !important;
        position: static !important;
    }

    /* Buy Now Button: Clean Pill on Same Row */
    .single-product .summary .ts-buy-now-button,
    .single-product .summary .buy-now-button,
    .single-product .summary .wc-buy-now-button,
    .single-product .summary form.cart .buy-now-button,
    .single-product .summary form.cart button.buy-now-button,
    .single-product .summary form.cart a.ts-buy-now-button {
        order: 3 !important;
        width: auto !important;
        flex: 0 0 auto !important;
        min-width: 140px !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 23px !important;
        background: #7c3aed !important;
        background-color: #7c3aed !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        padding: 0 24px !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
        text-transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }
}

/* ------------------------------------------------------------
   MOBILE VIEW (max-width: 991px)
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    /* Summary container left aligned */
    .single-product .summary {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    /* Product Title Left Aligned */
    .single-product .summary .product_title {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    /* Rating Stars Left Aligned */
    .single-product .summary .woocommerce-product-rating {
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    /* Price Left Aligned */
    .single-product .summary p.price,
    .single-product .summary .price {
        font-size: 1.45rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        text-align: left !important;
    }

    /* Stock Badge Left Aligned */
    .single-product .summary .stock {
        display: inline-block !important;
        padding: 4px 12px !important;
        border-radius: 6px !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        margin: 4px 0 12px 0 !important;
        text-align: left !important;
    }

    /* Cart Form: Flex Layout for Qty + Buy Now (Line 1) and Add to Cart (Line 2) */
    .single-product .summary form.cart {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px 10px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    /* LINE 1 - LEFT: Quantity Box (- 1 +) */
    .single-product .summary form.cart .quantity {
        margin: 0 !important;
        float: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        flex: 0 0 120px !important;
        height: 46px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 23px !important;
        padding: 0 6px !important;
        box-sizing: border-box !important;
        order: 1 !important;
    }

    .single-product .summary form.cart .quantity input.qty {
        width: 40px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        color: #0f172a !important;
        border: none !important;
        background: transparent !important;
        text-align: center !important;
    }

    .single-product .summary form.cart .quantity .plus,
    .single-product .summary form.cart .quantity .minus {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #cbd5e1 !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    /* LINE 1 - RIGHT: Buy Now Button on SAME line as Quantity */
    .single-product .summary .ts-buy-now-button,
    .single-product .summary .buy-now-button,
    .single-product .summary .wc-buy-now-button,
    .single-product .summary form.cart .buy-now-button,
    .single-product .summary form.cart button.buy-now-button,
    .single-product .summary form.cart a.ts-buy-now-button {
        order: 2 !important;
        flex: 1 1 auto !important;
        min-width: 130px !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 23px !important;
        background: #7c3aed !important;
        background-color: #7c3aed !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        padding: 0 16px !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
        text-transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }

    /* LINE 2: + Add to Cart Button on NEW LINE (Full Width, Single Line Text) */
    .single-product .summary .single_add_to_cart_button,
    .single-product .summary form.cart .single_add_to_cart_button,
    .single-product .summary form.cart button[type="submit"]:not(.buy-now-button) {
        order: 3 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        height: 48px !important;
        line-height: 48px !important;
        border-radius: 24px !important;
        background: #7c3aed !important;
        background-color: #7c3aed !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        padding: 0 20px !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
        text-transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button span,
    .single-product .summary .single_add_to_cart_button span {
        display: inline-block !important;
        font-size: 0.95rem !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button:before {
        content: "+" !important;
        font-size: 1.1rem !important;
        margin-right: 6px !important;
        display: inline-block !important;
        color: #ffffff !important;
        position: static !important;
    }

    /* Wishlist Link Left Aligned with Full Text */
    .single-product .summary .yith-wcwl-add-to-wishlist,
    .single-product .summary .add-to-wishlist-button {
        margin: 12px 0 4px 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
    }

    .single-product .summary .yith-wcwl-add-to-wishlist a,
    .single-product .summary .yith-wcwl-add-to-wishlist a span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        color: #64748b !important;
        font-size: 0.9rem !important;
        text-decoration: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Product Meta (SKU / Categories) Left Aligned */
    .single-product .summary .product_meta {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #f1f5f9 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
    }
}