/* ========================================
   SHOP PAGE STYLES
   ======================================== */

/* Shop Area */

:root {
  /**
  @font family declaration
  */
  --tp-ff-teko: 'Teko', serif;
  --tp-ff-body: 'Inter', sans-serif;
  --tp-ff-heading: 'Inter', sans-serif;
  --tp-ff-inter: 'Inter', sans-serif;
  --tp-ff-p: 'Inter', sans-serif;
  --tp-ff-besley: 'Besley', serif;
  --tp-ff-mango-thin: 'MangoGrotesqueThin', serif;
  --tp-ff-mango-light: 'MangoGrotesqueLight', serif;
  --tp-ff-mango: 'MangoGrotesque', serif;
  --tp-ff-mango-medium: 'MangoGrotesqueMed', serif;
  --tp-ff-mango-semibold: 'MangoGrotesqueSemBd', serif;
  --tp-ff-mango-bold: 'MangoGrotesque', serif;
  --tp-ff-clash-light: 'ClashDisplay-Light', serif;
  --tp-ff-clash-regular: 'ClashDisplay-Regular', serif;
  --tp-ff-clash-medium: 'ClashDisplay-Medium', serif;
  --tp-ff-clash-semibold: 'ClashDisplay-Semibold', serif;
  --tp-ff-clash-bold: 'ClashDisplay-Bold', serif;
  --tp-ff-grotesk: 'Space Grotesk', serif;
  --tp-ff-platform: 'Platform', serif;
  --tp-ff-playfair: 'Playfair Display', serif;
  --tp-ff-satisfy: 'Satisfy', cursive;
  --tp-ff-dirtyline: 'dirtyline-36daysoftype-2022', serif;
  --tp-ff-phudu: 'Phudu', serif;
  --tp-ff-poppins: 'Poppins', serif;
  --tp-ff-onest: 'Onest', serif;
  --tp-ff-fontawesome: "Font Awesome 6 Pro";
  /**
  @color declaration
  */
  --tp-common-white: #ffffff;
  --tp-common-black: #141414;
  --tp-common-black-2: #232323;
  --tp-common-black-3: #000;
  --tp-common-black-4: #0a0a0a;
  --tp-common-black-5: #121212;
  --tp-common-black-6: #212121;
  --tp-common-black-7: #0E0F11;
  --tp-common-black-8: #1a1b1e;
  --tp-common-black-9: #16302f;
  --tp-common-black-10: #21212D;
  --tp-common-cream: #f9f4e8;
  --tp-common-cream-2: #FFF6BF;
  --tp-common-cream-3: #ffffe6;
  --tp-common-yellow: #ffc446;
  --tp-common-yellow-1: #FFF669;
  --tp-common-yellow-green: #E9FF48;
  --tp-common-green-light: #D0FF71;
  --tp-common-green-regular: #C1ED00;
  --tp-common-green-solid: #17312F;
  --tp-common-pink-light: #FDE1DA;
  --tp-common-paste: #43D4A0;
  --tp-common-paste-2: #0C5752;
  --tp-common-sky: #C5FCFC;
  --tp-common-red: #FF4851;
  --tp-common-red-2: #FF481F;
  --tp-common-red-3: #FF5722;
  --tp-common-blue: #7463FF;
  --tp-common-brown: #453030;
  --tp-grey-1: #f8f8f8;
  --tp-grey-2: #f1f1f1;
  --tp-grey-3: #F8F8FB;
  --tp-grey-4: #F6F8EF;
  --tp-coffe-1: #653624;
  --tp-coffe-2: #552411;
  --tp-cream-1: #B7AB98;
  --tp-cream-2: #CFC292;
  --tp-text-body: #2e2d2d;
  --tp-theme-green: #A0FF27;
  --tp-theme-pink: #EC6FD5;
  --tp-theme-yellow: #FFB701;
  --tp-border-1: #EAEBED;
  --tp-border-2: #e7e7e7;

  /* main color */
  --tp-brand-primary-color: #34679A;      
  --tp-navi-background-color: #14293D;
  --tp-secondary-color: #2AB7CA;
  --tp-secondary-light-color: #6bd3e0;
  --accent-color: #F6C90E;
  --temp1: #F0A500;
  --section-background: #8DA9C4;



  /* main text color */
  --tp-heading-text-color: #0F0F0F;
  --tp-primary-text-color: #34679A;
  --tp-h2-text-color: #1C1C1C;
  --tp-subtitle-text-color: #3C3C3C;
  --tp-white-text-color: #FFFFFF;
  --tp-sub-white-text-color: #E1E8F0;
}

.shop-area {
    background: #fff;
}

/* Offcanvas Support */
body.offcanvas-opened {
    overflow: hidden;
}

.tp-offcanvas-2-area {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: left 0.3s ease;
}

.tp-offcanvas-2-area.opened {
    left: 0;
}

/* Shop Header */
.shop-header {
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.results-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.results-count strong {
    color: #0066cc;
    font-weight: 700;
}

/* Sidebar */
.shop-sidebar {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget {
    margin-bottom: 40px;
    
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066cc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    font-size: 16px;
    color: #0066cc;
}

/* Search Form */
/* Search Form */
/* Search Form Container */
.search-form {
    width: 100%;
}

.search-form form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Input Field */
.search-form input[type="text"] {
    width: 100%;
    padding: 12px 50px 12px 18px;
    border: 1px solid #e4e8f0;
    border-radius: 30px;
    font-size: 14px;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.search-form input[type="text"]::placeholder {
    color: #9aa0a6;
}

/* Focus Style */
.search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--tp-brand-primary-color);
    background: #f3f3f3;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

/* Search Button (Blue Circle Icon) */
.search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--tp-brand-primary-color);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 102, 204, 0.3);
}

.search-form button:hover {
    background: var(--tp-secondary-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .search-form input[type="text"] {
        font-size: 15px;
        padding: 12px 48px 12px 16px;
    }

    .search-form button {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-form input[type="text"] {
        font-size: 14px;
        padding: 10px 44px 10px 14px;
    }

    .search-form button {
        width: 30px;
        height: 30px;
    }
}



/* Sort Select */
/* Sort Dropdown */
.sort-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e4e8f0;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.sort-select:hover {
    border-color: #b7c6d6;
    background: #fff;
}

.sort-select:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

/* Filter List */
/* Base Filter List */
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each Item */
.filter-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

/* Label Styling */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding-left: 2px;
}

/* Checkbox */
.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #ccd2da;
    cursor: pointer;
    accent-color: #0066cc;
    transition: all 0.3s ease;
}

/* Hover */
.filter-list li:hover {
    color: #0066cc;
}

/* Nested Category List */
.filter-list ul {
    list-style: none;
    margin: 6px 0 0 26px; /* Indent for child filters */
    padding: 0;
    border-left: 1.5px dashed #e4e8f0; /* subtle visual link */
}

.filter-list ul li {
    margin-bottom: 8px;
    color: #555;
    font-size: 13.5px;
}

/* Parent item */
.filter-list > li > .filter-checkbox {
    font-weight: 600;
}

/* Expand/Collapse Arrows */
.filter-list .toggle-icon {
    margin-left: auto;
    font-size: 12px;
    color: #888;
    transition: transform 0.3s ease;
}

.filter-list .expanded .toggle-icon {
    transform: rotate(180deg);
}

/* Count numbers (e.g., (3), (2)) */
.filter-count {
    color: #888;
    font-size: 13px;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-list li {
        font-size: 15px;
    }

    .filter-list ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .filter-list li {
        font-size: 14px;
    }
}


/* Custom Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 5px 0;
    transition: color 0.3s ease;
    user-select: none;
    gap: 8px;
}

.filter-checkbox:hover {
    color: #0066cc;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: #0066cc;
    border-color: #0066cc;
}

.filter-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

.filter-checkbox i {
    font-size: 14px;
    opacity: 0.7;
}

/* Products Grid */
.shop-products {
    min-height: 400px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
   
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f5f5f5;
}

.product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Badges */
.badge-featured,
.badge-sale {
    position: absolute;
    top: -10px;
    right: 15px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    z-index: 2;
}

.badge-featured {
    background: #28a745;
}

.badge-sale {
    background: var(--tp-secondary-color);
    top: 50px;
}

/* Product Info */
.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 12px;
    color: #0066cc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #0066cc;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Product Meta */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.product-sku {
    color: #999;
}

.stock-status {
    font-weight: 600;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.pre-order {
    color: #adafae;
}
.stock-status.out-stock {
    color: #dc3545;
}

.stock-status i {
    margin-right: 5px;
}

/* Product Bottom */
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-current,
.price-sale {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
}

.price-regular {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.btn-view-detail {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-detail:hover {
    background: #0052a3;
    transform: scale(1.1);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-products i {
    font-size: 72px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-products h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-products p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* Pagination */
.shop-pagination {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination li.active span {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination li.disabled span {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.pagination li a i,
.pagination li span i {
    font-size: 12px;
}

/* Bottom spacing */
.mb-30 {
    margin-bottom: 30px;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

/* Buttons */
.btn-apply-filter,
.btn-clear-filter {
    flex: 1;
    min-width: 150px; /* Prevent button from getting too small */
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Apply Button */
.btn-apply-filter {
    background: #0066cc;
    color: #fff;
}

.btn-apply-filter:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Clear Button */
.btn-clear-filter {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-clear-filter:hover {
    background: #fff;
    color: #0066cc;
    border-color: #0066cc;
}

/* Icon Style */
.btn-apply-filter i,
.btn-clear-filter i {
    font-size: 12px;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .filter-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-apply-filter,
    .btn-clear-filter {
        width: 100%;
        font-size: 15px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .filter-actions {
        padding-top: 15px;
        gap: 8px;
    }

    .btn-apply-filter,
    .btn-clear-filter {
        font-size: 14px;
        padding: 12px;
    }
}




/* ========================================
   MOBILE SIDEBAR & RESPONSIVE STYLES
   ======================================== */

/* Mobile Sidebar Styles */
.mobile-filter-toggle {
    margin-top: 30px;
    display: none;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--tp-secondary-color) 0%, var(--tp-secondary-light-color) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.mobile-filter-toggle i {
    margin-right: 10px;
    font-size: 16px;
}

.shop-sidebar-wrapper {
    position: relative;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(2px);
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4444;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.sidebar-close-btn:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

/* Desktop - hide mobile elements */
@media (min-width: 992px) {
    .mobile-filter-toggle,
    .sidebar-overlay,
    .sidebar-close-btn {
        display: none !important;
    }
}

/* Responsive Grid */
@media (max-width: 1199px) {
    .shop-products .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Tablet and Mobile */
@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: flex !important;
        position: sticky;
        top: 80px;
        z-index: 100;
        background: var(--tp-primary-text-color);
    }

    .shop-area {
        padding-top: 100px !important;
    }

    .shop-sidebar-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: white;
        z-index: 999;
        overflow-y: auto;
        padding: 60px 20px 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .shop-sidebar-wrapper.active {
        left: 0;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .sidebar-close-btn {
        display: block !important;
    }

    .shop-products .col-lg-4,
    .shop-products .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-card {
        margin-bottom: 20px;
    }
}

/* Mobile Portrait - 2 columns */
@media (max-width: 767px) {
    .shop-area {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    .mobile-filter-toggle {
        top: 70px;
        font-size: 14px;
        padding: 12px 20px;
    }

    .shop-sidebar-wrapper {
        width: 90%;
        max-width: 320px;
        padding: 60px 15px 20px;
    }

    /* Keep 2 columns on mobile */
    .shop-products .col-lg-4,
    .shop-products .col-md-6,
    .shop-products .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .product-card {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .tp-blog-title{
    color: var(--tp-heading-text-color);
    font-family: var(--tp-ff-inter);
    font-size: 50px;
    letter-spacing: 1px;  
    }

    .product-title {
        font-size: 14px !important;
    }

    .product-description {
        font-size: 12px !important;
    }

    .results-count {
        font-size: 13px;
        text-align: center;
    }

    .shop-header {
        margin-bottom: 15px !important;
    }

    .mb-30 {
        margin-bottom: 15px !important;
    }
}

/* Very Small Mobile - Still 2 columns but with minimum width */
@media (max-width: 575px) {
    .container {
        min-width: 320px;
    }

    .shop-sidebar-wrapper {
        width: 92%;
        max-width: 300px;
    }

    .mobile-filter-toggle {
        font-size: 13px;
        padding: 10px 18px;
        top: 65px;
    }

    .shop-area {
        padding-top: 5px !important;
    }

    .tp-blog-title{
    color: var(--tp-heading-text-color);
    font-family: var(--tp-ff-inter);
    font-size: 30px;
    letter-spacing: 1px;  
    }

    /* 2 columns with tighter spacing */
    .shop-products .col-lg-4,
    .shop-products .col-md-6,
    .shop-products .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .product-card {
        font-size: 13px;
    }

    .product-image {
        height: auto;
    }

    .product-title {
        font-size: 13px !important;
        line-height: 1.3;
    }

    .product-brand {
        font-size: 11px !important;
    }

    .product-description {
        font-size: 11px !important;
        display: none; /* Hide description on very small screens */
    }

    .product-sku {
        font-size: 11px !important;
    }

    .product-price {
        font-size: 14px !important;
    }

    .widget-title {
        font-size: 15px !important;
    }

    .filter-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-apply-filter,
    .btn-clear-filter {
        width: 100%;
        text-align: center;
        padding: 10px !important;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }

    .pagination li {
        margin: 3px;
    }

    .pagination li a,
    .pagination li span {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* Extra small devices - absolute minimum */
@media (max-width: 400px) {
    .shop-products .col-lg-4,
    .shop-products .col-md-6,
    .shop-products .col-sm-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .product-title {
        font-size: 12px !important;
    }

    .product-price {
        font-size: 13px !important;
    }
}

/* Product card responsive improvements */
@media (min-width: 768px) and (max-width: 991px) {
    .product-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-bottom {
        margin-top: auto;
    }
}

/* Ensure sidebar scrolls smoothly on mobile */
.shop-sidebar-wrapper {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Hide scrollbar on mobile sidebar for cleaner look */
@media (max-width: 991px) {
    .shop-sidebar-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .shop-sidebar-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .shop-sidebar-wrapper::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
}

/* ========================================
   AUTOCOMPLETE SEARCH STYLES
   ======================================== */

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 5px;
    max-height: 450px;
    overflow-y: auto;
}

.autocomplete-list {
    padding: 8px 0;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f8f9fa;
}

.autocomplete-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.autocomplete-item-info {
    flex: 1;
    min-width: 0;
}

.autocomplete-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.autocomplete-item-sku {
    color: #888;
}

.autocomplete-item-brand {
    color: #0066cc;
    font-weight: 500;
}

.autocomplete-view-all {
    display: block;
    padding: 12px 15px;
    text-align: center;
    background: #f8f9fa;
    color: #0066cc;
    font-weight: 600;
    font-size: 13px;
    border-top: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-view-all:hover {
    background: #e9ecef;
    text-decoration: none;
}

.autocomplete-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.autocomplete-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Autocomplete Scrollbar styling */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Autocomplete responsive */
@media (max-width: 575px) {
    .autocomplete-dropdown {
        font-size: 12px;
    }

    .autocomplete-item-image {
        width: 40px;
        height: 40px;
    }

    .autocomplete-item-name {
        font-size: 12px;
    }
}


.tp-blog-title{
    color: var(--tp-heading-text-color);
    font-family: var(--tp-ff-inter);
    font-size: 60px;
    letter-spacing: 1px;  
}

/* Mobile full-screen sidebar modal styles */
.sidebar-overlay {
    display: none;
}

@media (max-width: 991px) {

    /* Show the mobile filter toggle on small screens */
    .mobile-filter-toggle {
        display: inline-flex;
        margin-bottom: 12px;
    }

    /* Fullscreen sidebar when opened-mobile is applied */
    #shopSidebar.opened-mobile {
        position: fixed;
        inset: 0;
        /* top:0; right:0; bottom:0; left:0 */
        width: 100vw;
        height: 100vh;
        z-index: 20000;
        /* above most header elements */
        background: #ffffff;
        padding: 20px 16px 24px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        box-sizing: border-box;
    }

    /* Overlay to dim background */
    .sidebar-overlay.opened-mobile {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 19999;
        /* below the sidebar */
    }

    /* Close button styling inside modal */
    .sidebar-close-btn {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 10000;
        background: transparent;
        border: none;
        font-size: 20px;
        color: #333;
    }

    /* Make filter actions sticky at bottom for easy access */
    .filter-actions {
        position: sticky;
        bottom: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 60%);
        padding-top: 12px;
        padding-bottom: 12px;
        display: flex;
        gap: 8px;
        justify-content: center;
    }

    .filter-actions .btn-apply-filter,
    .filter-actions .btn-clear-filter {
        flex: 1 1 auto;
    }

    /* Extra close button for mobile (visible inside modal) */
    #mobileFilterDone {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .mobile-filter-toggle {
        display: none;
    }
}