/* ============================================================
   ThemeTiller — Professional Redesign
   Palette : Vivid Blue + Orange (e-commerce)
   This file loads last, so these overrides win.
   Colors are driven by admin "Theme Color Customization"
   via CSS variables defined in master.blade.php :root
   ============================================================ */

/* ===== GLOBAL / TYPOGRAPHY ===== */
body {
    background: #F1F5F9 !important;
    color: #1E293B;
    font-family: "Roboto", system-ui, sans-serif;
    letter-spacing: 0.1px;
}

a,
a:hover,
a:focus {
    color: #1E293B;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

/* ===== TOP BAR ===== */
#navbar_top {
    position: relative;
}

#navbar_top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color) 40%, #FBBF24);
    z-index: 60;
}

.top_header {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 60%, var(--primary-color) 100%) !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.18);
}

.top_header .container {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.top_header .text-light {
    color: #fff !important;
}

.top_header marquee {
    font-size: 14px;
    letter-spacing: 0.4px;
    font-weight: 400;
    color: #EFF6FF !important;
}

.top_header .topbar-hotline {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color)) !important;
    color: #fff !important;
    border-radius: 50px;
    min-height: 30px;
    line-height: 30px;
    padding: 0 16px !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35);
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top_header .topbar-hotline:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(249, 115, 22, 0.45);
}

.top_header .topbar-hotline i {
    color: #fff;
}

.top_header .topbar-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    margin: 0 4px;
}

.top_header .topbar-social {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.top_header .topbar-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.top_header .topbar-social a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== MAIN HEADER / LOGO AREA ===== */
.main-header {
    background: var(--header-bg) !important;
    border-bottom: 1px solid #E2E8F0;
}

.logo-area {
    padding: 18px 0;
    background: #FFFFFF;
}

.logo-header {
    align-items: center;
    grid-template-columns: 1fr 2.2fr 1fr;
}

.main-logo {
    height: 66px;
    display: flex;
    align-items: center;
}

.main-logo a {
    display: inline-flex;
    align-items: center;
}

.main-logo img {
    object-fit: contain;
    max-height: 58px;
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.18));
}

/* Search */
.main-search form {
    height: 48px;
    border: 2px solid var(--primary-color);
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    align-items: center;
}

.main-search form .search-inner-icon {
    color: #94A3B8;
    font-size: 15px;
    margin-left: 18px;
}

.main-search form:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.18);
}

.main-search form input {
    background: #fff !important;
    font-size: 14px !important;
    color: #1E293B;
    padding: 0 16px !important;
    flex: 1;
    min-width: 0;
}

.main-search form button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border-radius: 0 50px 50px 0;
    width: 58px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.main-search form button:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
}

/* Header action items */
.header-list-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-list-items ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.header-list-items ul li {
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-left: 4px;
}

.header-list-items ul li:hover {
    background: #EFF6FF;
}

.header-list-items ul li a {
    color: #334155;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-list-items ul li a:hover {
    color: var(--primary-color);
}

.header-list-items ul li p {
    display: inline-flex;
    align-items: center;
}

.header-list-items ul li i {
    color: var(--primary-color);
    font-size: 17px;
}

.header-list-items ul li span {
    background: var(--accent-color) !important;
    box-shadow: 0 0 0 2px #fff;
}

.header-list-items .track_btn a {
    border: 1px solid #BFDBFE;
    border-radius: 50px;
    padding: 7px 14px;
    background: #F8FAFC;
}

.header-list-items .track_btn a:hover {
    background: #EFF6FF;
    border-color: var(--primary-color);
}

/* Cart summary dropdown */
.cshort-summary {
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.18) !important;
    border: 1px solid #E2E8F0;
}

/* ===== MENU / NAVIGATION BAR ===== */
.menu-area {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}

.catagory_menu {
    padding: 0;
}

.catagory_menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.catagory_menu ul li a {
    color: #fff !important;
    margin: 0 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

li.cat_bar {
    position: relative;
}

li.cat_bar > a {
    background: transparent !important;
    height: 50px;
    padding: 14px 12px;
    border-radius: 8px;
    transition: background 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

li.cat_bar:hover > a,
li.cat_bar.active > a {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

li.cat_bar > a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

li.cat_bar:hover > a::after,
li.cat_bar.active > a::after {
    width: 60%;
}

/* Dropdowns */
.menu-area .Cat_menu,
ul.Cat_menu {
    background: #fff !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    width: 240px;
    padding: 8px 0;
}

ul.Cat_menu li {
    padding: 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

ul.Cat_menu li a {
    padding: 10px 14px;
    transition: background 0.2s ease;
}

ul.Cat_menu li a:hover {
    background: #EFF6FF;
}

ul.Cat_menu li a span {
    color: #334155 !important;
}

ul.Cat_menu li a:hover span {
    color: var(--primary-color) !important;
}

ul.child_menu {
    background: #fff !important;
    border-left: 1px solid #E2E8F0 !important;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

ul.child_menu li a {
    color: #475569 !important;
}

ul.child_menu li a:hover {
    color: var(--primary-color) !important;
}

li.child_main > a {
    color: #1E293B !important;
}

/* ===== HERO SLIDER ===== */
.main_slider .owl-nav button.owl-prev,
.main_slider .owl-nav button.owl-next {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    color: #fff !important;
    font-size: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.main_slider .owl-nav button.owl-prev:hover,
.main_slider .owl-nav button.owl-next:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color)) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.5);
}

.main_slider .owl-nav .owl-prev {
    left: 12px;
}

.main_slider .owl-nav .owl-next {
    right: 12px;
}

.slider-item {
    border-radius: 0;
    overflow: hidden;
}

/* ===== PRODUCT SLIDERS ===== */
.product_slider .owl-nav button.owl-prev,
.product_slider .owl-nav button.owl-next,
.flash_sale_slider .owl-nav button.owl-prev,
.flash_sale_slider .owl-nav button.owl-next,
.hotdeals-slider, .cat-circle-carousel .owl-nav button.owl-prev,
.hotdeals-slider, .cat-circle-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    color: var(--primary-color) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 6;
    transition: all 0.3s;
}

.product_slider:hover .owl-nav button.owl-prev,
.product_slider:hover .owl-nav button.owl-next,
.flash_sale_slider:hover .owl-nav button.owl-prev,
.flash_sale_slider:hover .owl-nav button.owl-next,
.hotdeals-slider, .cat-circle-carousel:hover .owl-nav button.owl-prev,
.hotdeals-slider, .cat-circle-carousel:hover .owl-nav button.owl-next {
    opacity: 1;
}

.product_slider .owl-nav button.owl-prev:hover,
.product_slider .owl-nav button.owl-next:hover,
.flash_sale_slider .owl-nav button.owl-prev:hover,
.flash_sale_slider .owl-nav button.owl-next:hover,
.hotdeals-slider, .cat-circle-carousel .owl-nav button.owl-prev:hover,
.hotdeals-slider, .cat-circle-carousel .owl-nav button.owl-next:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.product_slider .owl-nav .owl-prev,
.flash_sale_slider .owl-nav .owl-prev,
.hotdeals-slider, .cat-circle-carousel .owl-nav .owl-prev {
    left: -16px;
}

.product_slider .owl-nav .owl-next,
.flash_sale_slider .owl-nav .owl-next,
.hotdeals-slider, .cat-circle-carousel .owl-nav .owl-next {
    right: -16px;
}

/* ===== SECTION TITLES ===== */
.section-title-header {
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 10px;
    position: relative;
}

.section-title-name {
    font-family: "Lato", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.section-title-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.sec_title h3.section-title-header,
.home-page-section-title-box h3 {
    color: #0F172A;
}

/* ===== VIEW MORE / SECTION BUTTONS ===== */
a.view_more_btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    border-radius: 50px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.view_more_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45);
    color: #fff;
}

/* ===== PRODUCT CARDS ===== */
.product_item {
    background: #fff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product_item .product_item_inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product_item .pro_btn {
    margin-top: auto;
}

.product_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.16);
    border-color: #93C5FD !important;
}

.product_item_inner {
    border-radius: 10px;
    overflow: hidden;
}

.pro_img {
    background: #fff;
    border-radius: 10px;
}

.pro_img img {
    transition: transform 0.5s ease;
}

.product_item_inner:hover .pro_img img {
    transform: scale(1.06);
}

.pro_name {
    height: auto;
    min-height: 40px;
    margin-top: 8px;
}

.pro_name a {
    color: #1E293B;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.pro_name a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.pro_price {
    margin-bottom: 8px;
}

.pro_price p {
    color: var(--product-price-color) !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.pro_price del {
    color: #94A3B8 !important;
    font-size: 13px;
    font-weight: 400;
}

/* Product buttons */
.pro_btn button,
.cart_btn a,
.cart_btn.order_button a,
.product_item .cart_btn a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 10px 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.pro_btn button:hover,
.cart_btn a:hover,
.cart_btn.order_button a:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Sale badge */
.sale-badge-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    border-radius: 50%;
}

span.sale-badge-text {
    color: #fff !important;
}

span.sale-badge-text p {
    color: #fff !important;
}

/* Sold pill */
.pro_des .rounded-pill,
span[style*="FFBCA5"] {
    background: var(--sold-badge-bg) !important;
    color: var(--sold-badge-text) !important;
    font-weight: 600;
}

/* ===== PRODUCT GRID (category / shop) ===== */
.product-item-box {
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

/* ===== PRIMARY / FORM BUTTONS ===== */
.submit-btn,
.confirm-btn,
.order_place,
.wcart-btn,
.invoice_btn,
.coupon-form form button,
.go_cart,
.add_cart_btn,
.add-to-cart {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: var(--button-text-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.submit-btn:hover,
.confirm-btn:hover,
.order_place:hover,
.wcart-btn:hover,
.invoice_btn:hover,
.go_cart:hover,
.add_cart_btn:hover,
.add-to-cart:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
}

/* Order now (details page) */
.order_now_btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.order_now_btn:hover,
.order_now_btn:active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* ===== SIDEBAR / ACCORDION ===== */
.sidebar_item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.sidebar_item h2.accordion-header button.accordion-button {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 13px 20px;
}

.accordion-item {
    border-color: #E2E8F0;
}

.cust_according_body ul li a {
    color: #475569;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cust_according_body ul li:hover a {
    background-color: #EFF6FF !important;
    color: var(--primary-color);
}

/* Checkbox filters */
.subcategory-filter-label:hover {
    background-color: #EFF6FF !important;
}

.subcategory-filter-label input {
    border-color: var(--primary-color) !important;
}

.subcategory-filter-label input[type="checkbox"]:checked {
    background-color: var(--primary-color) !important;
}

/* ===== CATEGORY ITEMS ===== */
.cat_item {
    border-radius: 12px;
    border-color: #E2E8F0;
    transition: all 0.3s ease;
}

.cat_item:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.category-thumb {
    background: #EFF6FF;
    border-radius: 12px;
}

.front-category ul li a {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
}

.front-category ul li a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* ===== TIMER / COUNTDOWN ===== */
.timer_inner .syotimer-cell {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    font-weight: 700;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #E2E8F0;
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.pagination .page-item .page-link:hover {
    background: #EFF6FF;
    color: var(--secondary-color);
}

/* ===== FORMS ===== */
.form-control,
input,
select,
textarea {
    border-radius: 8px;
}

input.border-theme:focus,
.search_fix:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb ul li a,
.category-breadcrumb a {
    color: #64748B;
}

.category-breadcrumb strong {
    color: var(--primary-color);
}

/* ===== TABLES (track order etc.) ===== */
.tracktable thead {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
    color: #fff !important;
}

/* ===== CHAT / SCROLLTOP / LOADING ===== */
.chat-bubble {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45) !important;
}

.chat-popup-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff !important;
}

.scrolltop {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
}

.custom-loader {
    --c: radial-gradient(farthest-side, var(--primary-color) 92%, #0000) !important;
}

/* ===== FOOTER ===== */
.footer-top {
    background: linear-gradient(180deg, var(--footer-bg) 0%, #111E33 100%) !important;
    padding: 55px 0;
}

.footer-about a img {
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: #94A3B8 !important;
    font-size: 15px;
    line-height: 1.7;
}

.footer-about .footer-hotlint {
    color: var(--accent-color) !important;
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

.footer-menu .title {
    color: #FFFFFF !important;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.footer-menu .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-menu ul li a {
    color: #94A3B8 !important;
    font-size: 14.5px;
    transition: all 0.25s ease;
}

.footer-menu ul li a:hover {
    color: var(--accent-color) !important;
    padding-left: 6px;
}

.footer-bottom {
    background: #020617 !important;
    padding: 16px 0;
}

.copyright p {
    color: #CBD5E1;
    font-size: 13.5px;
}

.copyright p a {
    color: var(--accent-color);
}

.copyright p span,
.copyright p span a {
    color: var(--accent-color) !important;
}

/* ===== MOBILE MENU / BOTTOM NAV ===== */
.mobile-header {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.mobile-logo {
    background: #fff;
}

.menu-bar a.toggle {
    color: var(--primary-color) !important;
}

.menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-bag .margin-shopping span {
    background: var(--accent-color) !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px #fff;
}

li.mobile_home {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.mobile-search form {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.mobile-search form button {
    background: var(--accent-color) !important;
}

.footer_nav {
    background: #fff !important;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.1);
    padding: 8px 0;
}

.footer_nav ul li a span:first-child {
    color: #64748B;
}

.footer_nav ul li a span {
    font-size: 12px;
}

.footer_nav ul li a:hover span:first-child {
    color: var(--primary-color);
}

/* ===== FILTER SIDEBAR ===== */
.filter_btn,
.filter_close {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
}

.filter_sidebar.active::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .menu-bar {
        background: #fff !important;
    }
    .menu-bar a.toggle i {
        color: var(--primary-color) !important;
    }
    .logo-header {
        grid-template-columns: 1fr 1.8fr 1fr;
    }
    .header-list-items ul {
        gap: 0;
    }
    .header-list-items .track_btn {
        display: none !important;
    }
    .top_header .container {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .section-title-name {
        font-size: 17px;
    }
    .footer-top {
        padding: 35px 0;
    }
    .top_header .topbar-hotline {
        min-width: 0 !important;
        font-size: 13px !important;
        padding: 0 12px !important;
    }
}

/* ===== SHOP PAGE ===== */
.shop-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 55%, var(--accent-color) 100%);
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
}

.shop-header-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.shop-header-blob.hb1 {
    width: 210px;
    height: 210px;
    top: -80px;
    right: -60px;
}

.shop-header-blob.hb2 {
    width: 130px;
    height: 130px;
    bottom: -50px;
    left: -35px;
}

.shop-header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-header .category-breadcrumb {
    gap: 10px;
}

.shop-header .category-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.shop-header .category-breadcrumb a:hover {
    color: #fff;
}

.shop-header .category-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.shop-header .category-breadcrumb strong {
    color: #fff;
}

.shop-title {
    margin: 8px 0 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.shop-results {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.shop-toolbar .showing-data span {
    font-size: 14px;
    color: #64748B;
    text-align: left;
}

.shop-toolbar .sort {
    min-width: 220px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #0F172A;
    background-color: #F8FAFC;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.shop-toolbar .sort:hover {
    border-color: var(--primary-color);
}

.shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.view-toggle-group {
    display: inline-flex;
    background: #F1F5F9;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.view-toggle {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748B;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.view-toggle.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.view-toggle:hover:not(.active) {
    color: var(--primary-color);
}

.page-sort .sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
}

/* Quick view overlay */
.pro-quick-view {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    opacity: 0;
    z-index: 3;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.product_item:hover .pro-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pro-quick-view:hover {
    background: var(--accent-color);
    color: #fff;
}

/* List view layout */
.main_product_inner.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

.list-view .product_item {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
}

.list-view .product_item_inner {
    flex-direction: row;
    flex: 1;
    min-width: 0;
}

.list-view .pro_img {
    width: 200px;
    flex: 0 0 200px;
    height: auto;
    min-height: 180px;
}

.list-view .pro_des {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-view .pro_name {
    height: auto;
    min-height: 0;
}

.list-view .pro_name a {
    -webkit-line-clamp: 2;
}

.list-view .pro_btn {
    width: 170px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #E2E8F0;
    padding-left: 14px;
}

.list-view .pro_btn form {
    width: 100%;
}

.list-view .pro_btn button,
.list-view .cart_btn a {
    width: 100%;
}

.shop-page .category-product {
    gap: 14px;
}

.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94A3B8;
    background: #fff;
    border: 1px dashed #CBD5E1;
    border-radius: 14px;
}

.shop-empty i {
    font-size: 44px;
    margin-bottom: 12px;
    color: #CBD5E1;
}

/* Pagination */
.custom_paginate .pagination {
    flex-wrap: wrap;
    gap: 6px;
}

.custom_paginate .page-link {
    border: none;
    border-radius: 10px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    background: #F1F5F9;
    padding: 0 12px;
    transition: all 0.25s ease;
}

.custom_paginate .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.custom_paginate .page-link:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.custom_paginate .page-item.disabled .page-link {
    background: #E2E8F0;
    color: #94A3B8;
}

@media (max-width: 575px) {
    .shop-header {
        padding: 22px 20px;
    }
    .shop-title {
        font-size: 22px;
    }
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-toolbar .sort {
        width: 100%;
    }
    .shop-toolbar-actions {
        justify-content: space-between;
    }
    .list-view .product_item {
        flex-direction: column;
        gap: 0;
    }
    .list-view .pro_img {
        width: 100%;
        flex: 0 0 200px;
        height: 200px;
    }
    .list-view .pro_btn {
        width: 100%;
        border-left: none;
        border-top: 1px solid #E2E8F0;
        padding: 12px 0 0;
        margin-top: 10px;
    }
}

/* ===== CATEGORY PAGES (sidebar / meta) ===== */
.filter_sidebar .sidebar_item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.filter_sidebar .accordion-button {
    background: #F8FAFC;
    color: #0F172A;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 16px;
    border: none;
    box-shadow: none;
}

.filter_sidebar .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.filter_sidebar .accordion-button:focus {
    box-shadow: none;
}

.filter_sidebar .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.filter_sidebar .accordion-body {
    padding: 10px 16px 16px;
}

.filter_sidebar .cust_according_body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.filter_sidebar .cust_according_body ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #E2E8F0;
}

.filter_sidebar .cust_according_body ul li:last-child {
    border-bottom: none;
}

.filter_sidebar .cust_according_body ul li a {
    display: inline-block;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.filter_sidebar .cust_according_body ul li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.subcategory-filter-list {
    padding: 5px 0;
}

.subcategory-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.subcategory-filter-name {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
}

.subcategory-filter-label input.form-checkbox {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Price filter */
.filter-price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-price-inputs p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.filter-price-inputs input {
    border: none;
    background: transparent;
    width: 100%;
    font-weight: 600;
    color: #0F172A;
    padding: 0;
}

.filter-price-inputs input:focus {
    outline: none;
}

#price-range.ui-slider {
    height: 6px;
    background: #E2E8F0;
    border: none;
    border-radius: 50px;
    margin: 8px 4px 4px;
}

#price-range .ui-slider-range {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50px;
}

#price-range .ui-slider-handle {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-color);
    top: -6px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    cursor: pointer;
}

#price-range .ui-slider-handle:focus {
    outline: none;
}

.filter_close {
    display: none;
}

/* Meta description section */
.meta_des {
    padding: 12px 4px;
    color: #475569;
    line-height: 1.8;
    font-size: 14px;
}

.meta_des h1,
.meta_des h2,
.meta_des h3,
.meta_des h4 {
    color: #0F172A;
}

@media (max-width: 767px) {
    .filter_sidebar {
        margin-bottom: 20px;
    }
}
