/* Reset & Base Styles */
.shop-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Layout Grid */
.shop-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        order: 1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .shop-sidebar.mobile-expanded {
        max-height: 5000px;
    }

    .shop-main-content {
        order: 2;
    }
}

/* Sidebar Styles */
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shop-filter-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shop-filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
}

.shop-filter-title i {
    color: #3b82f6;
}

/* Category List */
.shop-category-list {
    list-style: none;
}

.shop-category-item {
    margin-bottom: 0.25rem;
}

.shop-category-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

.shop-category-btn:hover {
    background-color: #f3f4f6;
}

.shop-category-btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-category-icon {
    color: #3b82f6;
}

.shop-category-count {
    font-size: 0.75rem;
    background: #dbeafe;
    color: #3b82f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.shop-subcategory-list {
    list-style: none;
    padding-left: 2rem;
    margin-top: 0.5rem;
    display: none;
}

.shop-subcategory-list.shop-active {
    display: block;
}

.shop-subcategory-item {
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.shop-subcategory-item:hover {
    background-color: #f9fafb;
}

.shop-subcategory-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
}

.shop-subcategory-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.shop-subcat-count {
    font-size: 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: auto;
}

/* Range Slider */
.shop-range-container {
    margin: 1rem 0;
}

.shop-range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.shop-range-value {
    text-align: center;
}

.shop-range-value-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.shop-range-value-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.shop-range-slider-wrapper {
    position: relative;
    height: 30px;
    margin: 1.5rem 0;
}

.shop-range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
}

.shop-range-track-fill {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.shop-range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
}

.shop-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.shop-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #2563eb;
}

.shop-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.shop-range-input::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: #2563eb;
}

.shop-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Hot Products */
.shop-hot-product {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-hot-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.shop-hot-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.shop-hot-product-info {
    flex: 1;
}

.shop-hot-product-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-hot-product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.shop-hot-product-rating i {
    color: #fbbf24;
}

.shop-hot-product-price {
    color: #3b82f6;
    font-weight: 700;
}

/* Reset Button */
.shop-btn-reset {
    width: 100%;
    padding: 0.75rem;
    background: #f3f4f6;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.shop-btn-reset:hover {
    background: #e5e7eb;
}

/* Mobile Filter Toggle Button */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

.filter-toggle-btn i {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .filter-toggle-btn {
        display: flex;
    }
}

/* Toolbar */
.shop-toolbar {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-toolbar-info {
    color: #374151;
    font-weight: 500;
}

.shop-toolbar-info strong {
    color: #3b82f6;
}

.shop-toolbar-sort {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
}

.shop-toolbar-sort:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Active Filters */
.shop-active-filters {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: none;
}

.shop-active-filters.shop-show {
    display: block;
}

.shop-active-filters-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shop-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.shop-filter-tag-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.125rem 0.25rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.shop-filter-tag-remove:hover {
    background: #bfdbfe;
}

.shop-btn-clear-all {
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.shop-btn-clear-all:hover {
    text-decoration: underline;
}

/* Products Grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.shop-product-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.shop-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.shop-product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 208px;
}

.shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.shop-product-card:hover .shop-product-image {
    transform: scale(1.1);
}

.shop-product-badge {
    position: absolute;
    top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.shop-badge-hot {
    left: 0.5rem;
    background: #ef4444;
}

.shop-badge-sale {
    left: 0.5rem;
    background: #10b981;
}

.shop-product-content {
    padding: 1rem;
}

.shop-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.shop-stars {
    display: flex;
    color: #fbbf24;
    font-size: 0.75rem;
}

.shop-stars i.shop-empty {
    color: #d1d5db;
}

.shop-review-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.shop-product-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.shop-product-category {
    display: inline-block;
    background: #f3e8ff;
    color: #7c3aed;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.shop-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.shop-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.shop-product-age {
    font-size: 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.shop-btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.shop-btn-add-cart:hover {
    background: #2563eb;
}

/* No Results */
.shop-no-results {
    background: white;
    padding: 3rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
}

.shop-no-results.shop-show {
    display: block;
}

.shop-no-results i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.shop-no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}

.shop-no-results p {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Load More */
.shop-load-more-wrapper {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem;
}

.shop-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #14b8a6;
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.shop-load-more-btn:hover {
    background: #0d9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.shop-load-more-btn:active {
    transform: translateY(0);
}

.shop-load-more-remaining {
    font-size: 0.78rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Search Input */
.shop-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-search-input {
    width: 100%;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-search-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
    background: #fff;
}

.shop-search-input::placeholder {
    color: #9ca3af;
}

.shop-search-clear {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.shop-search-clear:hover {
    color: #ef4444;
}

/* Hidden Helper */
.shop-hidden {
    display: none !important;
}

/* Text Helper */
.shop-text-gray-500 {
    color: #6b7280;
}

@keyframes shopPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.shop-badge-pulse {
    animation: shopPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}



/* Shop page qv related css start */
/* ============================================
   PRODUCT CARD & IMAGE STYLES
   ============================================ */

/* Product Image Wrapper */
.shop-product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}

/* Product Images */
.shop-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.shop-product-img-default {
    opacity: 1;
    z-index: 1;
}

.shop-product-img-hover {
    opacity: 0;
    z-index: 2;
    transform: scale(1.1);
}

.shop-product-card:hover .shop-product-img-default {
    opacity: 0;
}

.shop-product-card:hover .shop-product-img-hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Product Badge */
.shop-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
}

.shop-badge-hot {
    background: #ef4444;
    color: white;
}

.shop-badge-sale {
    background: #10b981;
    color: white;
}

.shop-badge-pulse {
    animation: shop-pulse 2s infinite;
}

@keyframes shop-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ============================================
   HOVER ACTION BUTTONS
   ============================================ */

.shop-hover-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10;
}

.shop-product-card:hover .shop-hover-actions {
    opacity: 1;
    transform: translateX(0);
}

.shop-action-btn {
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4b5563;
}

.shop-action-btn:hover {
    background: #0d9488;
    color: #ffffff;
    transform: scale(1.1);
}

.shop-action-btn.shop-active {
    background: #ef4444;
    color: #ffffff;
}

.shop-action-btn i {
    font-size: 16px;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */

#shop-quickview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#shop-quickview-modal.shop-open {
    display: flex;
    opacity: 1;
}

.shop-qv-container {
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

@media (min-width: 1024px) {
    .shop-qv-container {
        flex-direction: row;
    }
}

/* ============================================
   QUICK VIEW - LEFT SIDE (IMAGES)
   ============================================ */

.shop-qv-left {
    width: 100%;
    height: 50%;
    padding: 1.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

@media (min-width: 1024px) {
    .shop-qv-left {
        width: 50%;
        height: 100%;
        padding: 2rem;
        background: #f9fafb;
    }
}

.shop-qv-main-display {
    position: relative;
    width: 100%;
    height: 100%;
    flex-grow: 1;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
}

.shop-qv-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s;
}

/* ============================================
   ZOOM COMPONENTS
   ============================================ */

.shop-zoom-lens {
    position: absolute;
    border: 2px solid #0d9488;
    width: 150px;
    height: 150px;
    background: rgba(13, 148, 136, 0.15);
    cursor: crosshair;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.shop-zoom-result {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 20px;
    width: 450px;
    height: 450px;
    background-color: white;
    border: 4px solid white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    background-repeat: no-repeat;
    border-radius: 12px;
    transition: opacity 0.2s;
}

@media (max-width: 1023px) {
    .shop-zoom-result,
    .shop-zoom-lens {
        display: none !important;
    }

    .shop-qv-main-display {
        cursor: default;
    }
}

/* ============================================
   IMAGE NAVIGATION BUTTONS
   ============================================ */

.shop-qv-prev,
.shop-qv-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    color: #333;
    border: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.shop-qv-main-display:hover .shop-qv-prev,
.shop-qv-main-display:hover .shop-qv-next {
    opacity: 1;
}

.shop-qv-prev:hover,
.shop-qv-next:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.shop-qv-prev {
    left: 10px;
}

.shop-qv-next {
    right: 10px;
}

/* ============================================
   THUMBNAILS & GALLERY
   ============================================ */

.shop-qv-thumbs-container {
    position: relative;
    height: 80px;
    flex-shrink: 0;
    margin-top: 10px;
}

.shop-qv-thumbs-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.shop-qv-thumbs-track::-webkit-scrollbar {
    height: 6px;
}

.shop-qv-thumbs-track::-webkit-scrollbar-track {
    background: transparent;
}

.shop-qv-thumbs-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.shop-qv-thumbs-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.shop-qv-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.shop-qv-thumb:hover {
    opacity: 0.8;
    border-color: #0d9488;
}

.shop-qv-thumb.shop-active {
    border-color: #0d9488;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.shop-qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   QUICK VIEW - RIGHT SIDE (INFO)
   ============================================ */

.shop-qv-right {
    width: 100%;
    height: 50%;
    padding: 1.5rem;
    overflow-y: auto;
}

@media (min-width: 1024px) {
    .shop-qv-right {
        width: 50%;
        height: 100%;
        padding: 2.5rem;
        border-left: 1px solid #f3f4f6;
    }
}

.shop-qv-right::-webkit-scrollbar {
    width: 6px;
}

.shop-qv-right::-webkit-scrollbar-track {
    background: transparent;
}

.shop-qv-right::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.shop-qv-right::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.shop-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.shop-notification.shop-show {
    transform: translateY(0);
    opacity: 1;
}

.shop-notification-success {
    border-left: 4px solid #10b981;
}

.shop-notification-success i {
    color: #10b981;
    font-size: 1.25rem;
}

.shop-notification-warning {
    border-left: 4px solid #f59e0b;
}

.shop-notification-warning i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.shop-notification-info {
    border-left: 4px solid #3b82f6;
}

.shop-notification-info i {
    color: #3b82f6;
    font-size: 1.25rem;
}

/* ============================================
   WISHLIST & COMPARE BADGES
   ============================================ */

.shop-wishlist-badge,
.shop-compare-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    /* Show action buttons on mobile */
    .shop-hover-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Smaller action buttons on mobile */
    .shop-action-btn {
        width: 35px;
        height: 35px;
    }
    
    .shop-action-btn i {
        font-size: 14px;
    }
    
    /* Smaller thumbnails on mobile */
    .shop-qv-thumb {
        width: 60px;
        height: 60px;
    }
    
    /* Adjust quick view padding */
    .shop-qv-left,
    .shop-qv-right {
        padding: 1rem;
    }
    
    /* Navigation buttons always visible on mobile */
    .shop-qv-prev,
    .shop-qv-next {
        opacity: 1;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    /* Even smaller buttons on very small screens */
    .shop-action-btn {
        width: 32px;
        height: 32px;
    }
    
    .shop-action-btn i {
        font-size: 12px;
    }
    
    /* Compact thumbnails */
    .shop-qv-thumb {
        width: 50px;
        height: 50px;
    }
    
    .shop-qv-thumbs-container {
        height: 60px;
    }
    
    /* Smaller navigation buttons */
    .shop-qv-prev,
    .shop-qv-next {
        width: 30px;
        height: 30px;
    }
    
    .shop-qv-prev {
        left: 5px;
    }
    
    .shop-qv-next {
        right: 5px;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus styles for keyboard navigation */
.shop-action-btn:focus,
.shop-qv-thumb:focus,
.shop-qv-prev:focus,
.shop-qv-next:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .shop-product-image,
    .shop-hover-actions,
    .shop-action-btn,
    .shop-qv-thumb,
    .shop-qv-prev,
    .shop-qv-next,
    .shop-notification {
        transition: none;
    }
    
    .shop-badge-pulse {
        animation: none;
    }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .shop-action-btn {
        border: 2px solid currentColor;
    }
    
    .shop-qv-thumb {
        border-width: 3px;
    }
    
    .shop-qv-thumb.shop-active {
        border-width: 4px;
    }
}

/* =============================
   CARD CONTAINER & IMAGE
   ============================= */
.shop-product-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px; /* More rounded corners */
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.shop-product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #e5e7eb;
}

.shop-product-image-wrapper {
    position: relative;
    padding-top: 100%; /* Square aspect ratio */
    background: #f9fafb; /* Light gray background for image area */
    overflow: hidden;
}

/* =============================
   BADGES
   ============================= */
.shop-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444; /* Red background */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* =============================
   CONTENT AREA
   ============================= */
.shop-product-content {
    padding: 1.25rem; /* Generous padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shop-product-name {
    font-size: 1.1rem;
    font-weight: 800; /* Extra bold title */
    color: #1f2937; /* Dark gray */
    margin-bottom: 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

/* Rating */
.shop-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.shop-stars {
    color: #fbbf24; /* Amber/Yellow stars */
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.shop-review-count {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* =============================
   PRICE ROW (The specific style you asked for)
   ============================= */
.shop-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shop-price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* Current Price: Teal, Bold, Large symbol */
.shop-current-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0d9488; /* Teal-600 */
    line-height: 1;
    font-family: sans-serif; /* Helps Taka symbol alignment */
}

/* Old Price: Pink, Strikethrough */
.shop-old-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e375aa; /* Specific pinkish color from image */
    text-decoration: line-through;
}

/* Save Text: Green, Right aligned */
.shop-save-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: #16a34a; /* Green-600 */
}

/* =============================
   BUTTON
   ============================= */
.shop-btn-add-cart {
    width: 100%;
    background: #14b8a6; /* Teal-500 */
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto; /* Pushes button to bottom */
}

.shop-btn-add-cart:hover {
    background: #0d9488; /* Teal-600 */
}

.shop-btn-add-cart i {
    font-size: 1.1rem;
}


/* Hot product */
.shop-hot-product {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
}

.shop-hot-product:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-hot-product-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.shop-hot-product-info {
    flex-grow: 1;
    min-width: 0; /* Prevents text overflow issues */
}

.shop-hot-product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.shop-hot-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

/* Shop page qv related css end */