/*
Theme Name: HDPOS Theme
Theme URI: http://localhost:8080/hdpost
Description: A custom, standalone theme for HDPOS based on the HDPOS design.
Author: HDPOS Team
Version: 1.0.0
Text Domain: hdpos
*/

/* Layout Core */
:root {
    --color-brand-primary: #6366F1;
    /* Fresh Indigo */
    --color-brand-secondary: #14B8A6;
    /* Fresh Teal */
    --color-text-main: #1E293B;
    /* Slate 800 */
    --color-text-muted: #64748B;
    /* Slate 500 */
    --color-price: #F43F5E;
    /* Vibrant Rose/Pink for prices */
}

body {
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: var(--color-brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-brand-secondary);
}

/* Override common color classes for freshness */
.color-brand-3 {
    color: var(--color-brand-primary) !important;
}

.color-brand-2 {
    color: var(--color-brand-secondary) !important;
}

.color-gray-500 {
    color: var(--color-text-muted) !important;
}

.color-gray-900,
.color-gray-1000,
.color-gray-1100 {
    color: var(--color-text-main) !important;
}

/* Button Overrides */
.btn-brand-2 {
    background-color: var(--color-brand-primary) !important;
    border-color: var(--color-brand-primary) !important;
}

.btn-brand-2:hover {
    background-color: var(--color-brand-secondary) !important;
    border-color: var(--color-brand-secondary) !important;
}

.price-main {
    color: var(--color-price) !important;
}


/* Sidebar behavior is now controlled by the design's style.css and our inline JS in functions.php */
.main {
    transition: padding-left 0.3s ease;
}

/* Push main content when sidebar is expanded */
.main {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

@media (min-width: 992px) {
    .main {
        /* padding-left: 60px;  */
    }
}

/* Ensure submenus are visible and bridge works */
.hdpos-sidebar-menu ul li {
    position: relative;
}

/* Product Detail Specifics */
.product-detail .gallery-image {
    margin-bottom: 30px;
}

.product-detail .price-main {
    font-size: 24px;
    font-weight: 700;
}

.product-detail .box-border-product {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
}

/* WooCommerce Tabs Overrides */
.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.woocommerce-tabs ul.tabs li {
    margin-right: 20px;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Archive Page Specifics */
.box-filters {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.box-filters .span {
    border-right: 1px solid #eee;
    padding-right: 15px;
    margin-right: 15px;
}

/* Sidebar Widgets Styling */
.sidebar-border {
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 30px;
}

.sidebar-head {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-content ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.sidebar-content ul li:last-child {
    border-bottom: none;
}

.sidebar-content ul li a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.sidebar-content ul li a:hover {
    color: var(--primary);
}

.sidebar-content .number {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: #888;
}

/* Pagination Overrides */
.woocommerce-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    margin-top: 30px;
}

.woocommerce-pagination ul li {
    margin: 0 5px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: block;
    padding: 8px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    background: #fff;
}

.woocommerce-pagination ul li span.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Custom Logo Styles */
.header-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.header-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

@media (max-width: 991px) {
    .header-logo .custom-logo {
        max-height: 40px;
    }
}

/* WooCommerce Layered Nav Inline Styling */
.woocommerce-widget-layered-nav-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 10px 0 !important;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a {
    display: inline-block !important;
    padding: 6px 12px !important;
    background: #F0F3F8 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #425A8B !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid #E0E6EF !important;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a:hover {
    background: #FD9636 !important;
    color: #fff !important;
    border-color: #FD9636 !important;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a {
    background: #FD9636 !important;
    color: #fff !important;
    border-color: #FD9636 !important;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item .count {
    margin-left: 5px;
    font-size: 11px;
    opacity: 0.7;
}

.woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a .count {
    color: #fff !important;
    opacity: 1 !important;
}

/* List Nav Arrow Styling */
.list-nav-arrow {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-nav-arrow li {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.list-nav-arrow li:last-child {
    border-bottom: none;
}

.list-nav-arrow li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #425A8B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-left: 0;
}

.list-nav-arrow li a::before {
    content: "\e93c";
    /* Arrow icon placeholder or standard chevron */
    font-family: "remixicon";
    font-size: 14px;
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: -20px;
}

.list-nav-arrow li:hover a {
    padding-left: 25px;
    color: #FD9636;
}

.list-nav-arrow li:hover a::before {
    opacity: 1;
    left: 0;
}

.list-nav-arrow li .number {
    background: #F0F3F8;
    color: #425A8B;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.list-nav-arrow li:hover .number {
    background: #FD9636;
    color: #fff;
}

/* Sidebar Recent Posts Styling */
.list-posts-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-posts-sidebar li {
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.list-posts-sidebar li:last-child {
    border-bottom: none;
}

.list-posts-sidebar .post-info a {
    line-height: 1.4;
    display: block;
    transition: all 0.3s ease;
}

.list-posts-sidebar .post-info a:hover {
    color: #FD9636 !important;
}

/* YITH Compare Button Integration */
a.compare.added {
    display: none !important;
    /* Hide the "Added" link if plugin settings show it */
}

a.compare {
    border: 1px solid #D5DFE4 !important;
    height: 30px !important;
    width: 30px !important;
    background: #ffffff url(assets/imgs/template/compare.svg) no-repeat center !important;
    padding: 0px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-indent: -9999px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    border-radius: 4px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s cubic-bezier(0.28, 0.12, 0.22, 1);
    will-change: opacity, transform;
    cursor: pointer;
}

a.compare span.label {
    display: none !important;
    visibility: hidden !important;
    font-size: 0 !important;
    position: absolute;
}

/* Style YITH Widget / Bottom Bar */
.yith-woocompare-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yith-woocompare-widget a.compare {
    display: block !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    background: #425A8B !important;
    color: #fff !important;
    padding: 10px 20px !important;
    text-align: center;
    border-radius: 6px;
    opacity: 1 !important;
    transform: none !important;
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 700;
}

.yith-woocompare-widget a.compare:hover {
    background: #FD9636 !important;
}

/* Translate the comparison bar text via CSS if needed, but better via PHP */
.yith-woocompare-widget .clear-all {
    display: block;
    margin-top: 10px;
    color: #ff4d4f;
    font-size: 12px;
    text-align: center;
}

.card-product:hover a.compare,
.card-grid-inner:hover a.compare,
.swiper-slide:hover a.compare {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

a.compare:hover {
    background: #ffffff url(assets/imgs/template/compare.svg) no-repeat center !important;
    border-color: #FD9636 !important;
    background-color: #f8f9fa;
    border-color: #f8f9fa !important;
}

/* Dynamic product sections - card-product uniform height */
[data-idx="latest_products"] .card-product,
[data-idx="may_in_ma_vach"] .card-product,
[data-idx="may_quet_ma_vach"] .card-product,
[data-idx="giay_va_muc_in"] .card-product,
.related.products .card-product {
    height: 480px;
    overflow: hidden;
}

[data-idx="latest_products"] .card-product .card-grid-inner,
[data-idx="may_in_ma_vach"] .card-product .card-grid-inner,
[data-idx="may_quet_ma_vach"] .card-product .card-grid-inner,
[data-idx="giay_va_muc_in"] .card-product .card-grid-inner,
.related.products .card-product .card-grid-inner {
    height: 100%;
}

[data-idx="latest_products"] .card-product .image-box img,
[data-idx="may_in_ma_vach"] .card-product .image-box img,
[data-idx="may_quet_ma_vach"] .card-product .image-box img,
[data-idx="giay_va_muc_in"] .card-product .image-box img,
.related.products .card-product .image-box img {
    max-height: 180px;
    object-fit: contain;
    width: 100%;
}

/* Sidebar Widget Collapse */
.sidebar-content-collapse {
    max-height: 600px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.btn-view-more-widget {
    cursor: pointer;
    text-align: center;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    color: var(--color-brand-primary);
    font-weight: 600;
    font-size: 13px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: background 0.3s;
}

.btn-view-more-widget:hover {
    background: #f9f9f9;
}


@media (max-width: 767px) {
    [data-idx="latest_products"] .list-products-5 .card-grid-style-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

/* Premium YITH Compare Table Styling */
#yith-woocompare-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

#yith-woocompare-table th {
    background: #f8f9fa;
    color: #425A8B;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 15px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: left;
    width: 200px;
}

#yith-woocompare-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: top;
    text-align: center;
}

#yith-woocompare-table td:last-child {
    border-right: none;
}

#yith-woocompare-table td img {
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 150px;
    height: auto;
}

#yith-woocompare-table td .product_title {
    color: #425A8B;
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

#yith-woocompare-table td .price {
    color: #FD9636;
    font-weight: 700;
    font-size: 18px;
}

#yith-woocompare-table td .add_to_cart_button {
    background: #425A8B;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.2s ease;
}

#yith-woocompare-table td .add_to_cart_button:hover {
    background: #FD9636;
}

#yith-woocompare-table .remove a {
    color: #ff4d4f;
    text-decoration: none;
    font-size: 12px;
}

/* Fix for popup sizing */
.yith-woocompare-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* ============================================================
   MAJOR MAKEOVER - MODERN TECH ELEGANCE
   ============================================================ */

/* Modern Category List Sidebar */
.menu-texts .menu-item a {
    padding: 12px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.menu-texts .menu-item a:hover,
.menu-texts .menu-item.current-menu-item a {
    background: rgba(79, 70, 229, 0.08) !important;
    color: var(--color-brand-primary) !important;
    border-color: rgba(79, 70, 229, 0.1);
    transform: translateX(5px);
}

.menu-texts .menu-item a img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 15px !important;
    transition: all 0.3s ease;
}

.menu-texts .menu-item a:hover img,
.menu-texts .menu-item.current-menu-item a img {
    transform: scale(1.2) rotate(5deg);
}

/* Section Titles Makeover */
.section-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 6px;
    background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-secondary));
    border-radius: 10px;
}

/* Container Spacing */
.section-box {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Hero Section / Banner Makeover */
.banner-item {
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Search Bar Makeover */
.box-search-top {
    border-radius: 30px !important;
    padding: 5px 10px 5px 25px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.box-search-top:focus-within {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    border-color: var(--color-brand-primary) !important;
}

.btn-search {
    border-radius: 25px !important;
    background: var(--color-brand-primary) !important;
}

/* Price Display */
.price-main {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--color-price) !important;
}

/* FontAwesome Icon Overrides */
.btn-wishlist,
.btn-compare,
.btn-quickview,
.btn-trend,
.btn-search,
.btn-open {
    background-image: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: inherit;
}

.icon-list::before {
    display: none !important;
}

.box-keysearch {
    position: relative;
}

.box-keysearch i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-brand-primary);
    pointer-events: none;
}

.hotline i {
    font-size: 18px;
    color: var(--color-brand-primary);
    vertical-align: middle;
}

.contact-support-item .icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--color-brand-primary);
}

/* Search Input Fix */
.box-keysearch .form-control {
    padding-right: 40px !important;
}

/* Header Shop Fix */
.header-shop .icon-list i {
    font-size: 20px;
    color: var(--color-brand-primary);
    vertical-align: middle;
}

.header-shop .icon-list span {
    vertical-align: middle;
}

.header-shop .number-item {
    top: -5px;
    right: -10px;
    background-color: var(--color-brand-primary);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Menu FontAwesome Icon Styling */
.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--color-brand-primary);
}

.menu-icon i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.has-icon .menu-text {
    vertical-align: middle;
}

/* Equal height for item-list in footer/index */
.list-col-5 {
    display: flex !important;
    flex-wrap: wrap;
    table-layout: auto !important;
}

.list-col-5 li {
    float: none !important;
    display: flex !important;
    flex-direction: column;
}

.list-col-5 li .item-list {
    flex: 1;
    height: auto !important;
}

/* Equal height for category cards */
.card-grid-style-2 {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    margin-bottom: 30px;
}

.card-grid-style-2 .info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Horizontal Category Cards */
.horizontal-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 15px !important;
    text-align: left !important;
    background-color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: bottom -5px right -10px !important;
    background-size: 160px !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 13px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.horizontal-card .info-right {
    flex: 1 !important;
    padding-right: 20px !important;
    align-items: flex-start !important;
    position: relative;
    z-index: 2;
}

.horizontal-card:hover {
    transition: none !important;
}




.list-sub-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-sub-categories li {
    padding: 2px 0;
    line-height: 1.2;
}

.list-sub-categories li a {
    font-size: 12px;
    color: var(--color-gray-500);
}

.list-sub-categories li a:hover {
    color: var(--color-brand-primary);
    text-decoration: underline;
}



/* Sidebar #secondary Makeover */
#secondary {
    position: sticky;
    top: 100px;
}

#secondary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#secondary li {
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

#secondary li a {
    color: var(--color-gray-500);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

#secondary li a:hover {
    color: var(--color-brand-primary);
    transform: translateX(3px);
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.1);
}

.widget-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--color-gray-1100);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-brand-primary);
    border-radius: 10px;
}

/* List Styles in Sidebar */
.list-nav-arrow,
.list-posts-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-nav-arrow li {
    padding: 10px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.list-nav-arrow li:last-child {
    border-bottom: none;
}

.list-nav-arrow li a {
    color: var(--color-gray-500);
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-nav-arrow li a:hover {
    color: var(--color-brand-primary);
    padding-left: 5px;
}

.list-nav-arrow li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 12px;
    color: var(--color-brand-secondary);
}

.list-posts-sidebar li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.list-posts-sidebar li a {
    line-height: 1.4;
    transition: color 0.3s ease;
}

.list-posts-sidebar li a:hover {
    color: var(--color-brand-primary) !important;
}

/* Category Card Styles */
.horizontal-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 25px !important;
    text-align: left !important;
    background-color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: bottom -10px right -10px !important;
    background-size: 100px !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.horizontal-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px) !important;
    border-color: var(--color-brand-primary) !important;
}

.horizontal-card .info-right {
    flex: 1 !important;
    padding-right: 20px !important;
    align-items: flex-start !important;
    position: relative;
    z-index: 2;
}

.bg-1,
.bg-2,
.bg-3,
.bg-4,
.bg-5,
.bg-6,
.bg-7,
.bg-8,
.bg-9,
.bg-10,
.bg-11,
.bg-12,
.bg-13,
.bg-14,
.bg-15,
.bg-16,
.bg-17,
.bg-18,
.bg-19,
.bg-20,
.bg-21,
.bg-22,
.bg-26,
.bg-27,
.bg-28,
.bg-29,
.bg-30,
.bg-31,
.bg-32 {
    background-color: transparent !important;
}

/* Responsive fixes */
@media (max-width: 991.98px) {
    .header-shop,
    .text-features {
        display: none !important;
    }

    /* Product card mobile height stabilization */
    .card-grid-style-3 {
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        padding: 10px !important;
    }

    .card-grid-style-3 .card-grid-inner {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .card-grid-style-3 h3 {
        height: 40px !important;
        overflow: hidden !important;
        margin-top: 10px !important;
        margin-bottom: 5px !important;
    }

    .card-grid-style-3 h3 a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        line-height: 1.4 !important;
        font-size: 14px !important;
    }

    .card-grid-style-3 .image-box {
        height: 150px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-grid-style-3 .image-box img {
        max-height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }

/* Tool Buttons FontAwesome Override */
.card-grid-style-3 .tools .btn {
    background-image: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #425A8B;
}

.card-grid-style-3 .tools .btn i {
    font-size: 14px;
}

.card-grid-style-3 .tools .btn:hover {
    color: #05509f;
    background-color: #ffffff !important;
}