/*
 * shop.css — WooCommerce Products Archive / Shop Page Styles
 *
 * Styles the product archive page rendered by woocommerce/archive-product.php.
 * Provides the two-column layout (sidebar + grid), product cards, filters,
 * pagination, and list/grid view toggles.
 *
 * TABLE OF CONTENTS
 * ──────────────────────────────────────────────────────────────
 * 1.  Page Layout       — .products-page-layout (sidebar + grid)
 * 2.  Sidebar Filters   — .products-sidebar, .filter-group
 * 3.  Price Slider      — Dual-thumb range input, track gradient
 * 4.  Filter Checkboxes — .category-filter, .brand-filter
 * 5.  Products Grid     — .products-grid, .product-card
 * 6.  Product Card      — Thumbnail, price, badge, quick actions
 * 7.  List View         — .products-grid.list-view card overrides
 * 8.  Sorting Bar       — Results count, sort dropdown, view toggles
 * 9.  Pagination        — Inherits from styles.css pagination tokens
 * 10. Mobile Filters    — Slide-in overlay, #filterOverlay
 * 11. Empty State       — No results message
 * ──────────────────────────────────────────────────────────────
 *
 * Enqueued by: functions.php — wp_enqueue_style('viromarket-shop')
 * Used on:     is_shop(), is_product_category(), is_product_tag()
 *
 * @package ViroMarket
 */

/*--------------------------------------------------------------
# Products Page Styles
--------------------------------------------------------------*/
.page-content {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Breadcrumbs (Global in styles.css) */

/* Layout */
.products-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

/* Sidebar Filters */
.products-sidebar {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 20px;
}

.mobile-menu-header {
    display: none;
}

.filter-group {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-light-grey);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--viro-secondary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title svg {
    width: 18px;
    height: 18px;
    color: var(--color-grey);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Custom Form Elements (Checkboxes & Radios) */
.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--viro-secondary-color);
    transition: all var(--transition-fast);
    padding: 8px 0;
}

.filter-item:hover {
    color: var(--viro-primary-color);
    padding-left: 8px;
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    background-color: white;
    outline: none;
}

.filter-item input[type="checkbox"] {
    border-radius: 4px;
}

.filter-item input[type="radio"]:checked {
    border-color: var(--viro-primary-color);
    border-width: 2px;
}

.filter-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--viro-primary-color);
    border-radius: 50%;
}

.filter-item input[type="checkbox"]:checked {
    border-color: var(--viro-primary-color);
    background-color: var(--viro-primary-color);
}

.filter-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-item:hover input[type="radio"],
.filter-item:hover input[type="checkbox"] {
    border-color: var(--viro-primary-color);
    transform: scale(1.1);
}

.item-count {
    margin-left: auto;
    color: var(--color-grey);
    font-size: 0.85rem;
}

/* Page Header & Descriptions */
.page-header-simple {
    margin-bottom: 35px;
    padding-bottom: 5px;
    border-bottom: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--viro-secondary-color);
    margin-bottom: 15px;
}

.page-description {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--color-grey);
    line-height: 1.6;
}

.page-description p {
    margin-bottom: 0;
}

/* Breadcrumb Overrides for Shop */
.breadcrumbs {
    margin-bottom: 15px;
}

.breadcrumbs ol {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-grey);
}

.breadcrumbs a {
    color: var(--viro-primary-color);
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--viro-secondary-color);
}

.breadcrumbs li:not(:last-child)::after {
    color: #CBD5E1;
    margin: 0 12px;
}

/* Filter Items (Radio & Checkbox) */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Filter Item & Checkbox styles moved to global styles.css */

.view-more-link {
    color: var(--viro-primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
    transition: color 0.3s ease;
}

.view-more-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Matching parent gap */
}

.view-more-container.show {
    max-height: 3000px;
}

/* Price Range Slider Styling */
.range-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-col {
    flex: 1;
}

.input-col span {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-grey);
    margin-bottom: var(--spacing-3xs);
}

.input-col input {
    width: 100%;
    padding: var(--spacing-xs);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.filter-actions-sidebar {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.products-sidebar .filter-actions-sidebar .btn-filter-apply,
.products-sidebar .filter-actions-sidebar .btn-apply-price {
    width: 100%;
    height: 48px;
    background-color: #ffffff !important;
    color: var(--viro-primary-color) !important;
    border: 1.5px solid var(--viro-primary-color) !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-sidebar .filter-actions-sidebar .btn-filter-apply:hover,
.products-sidebar .filter-actions-sidebar .btn-apply-price:hover {
    background-color: var(--viro-primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-reset-filters {
    width: 100%;
    height: 48px;
    background-color: var(--color-white);
    color: var(--color-grey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 8px;
}

.btn-reset-filters:hover {
    background-color: #f8f9fa;
    border-color: var(--viro-primary-color);
    color: var(--viro-primary-color);
    transform: translateY(-2px);
}

.btn-reset-filters svg {
    width: 16px;
    height: 16px;
}

/* Color Options */
.color-options {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color-options li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--viro-secondary-color);
    cursor: pointer;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
}

/* Rating Stars */
.stars-filter {
    display: flex;
    gap: 2px;
}

.stars-filter svg {
    width: 14px;
    height: 14px;
}

/* Sidebar Banner */
.sidebar-banner {
    margin-top: var(--spacing-xl);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.sidebar-banner .banner-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sidebar-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: overlay;
}

.sidebar-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.sidebar-banner .banner-text {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    z-index: 3;
    color: var(--color-white);
}

.sidebar-banner .banner-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.sidebar-banner .banner-text h4 {
    font-size: 1.4rem;
    margin: 0 0 15px;
    font-weight: 800;
    line-height: 1.2;
}

.sidebar-banner .shop-now {
    color: var(--viro-primary-color);
    font-weight: 800;
    text-decoration: none;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-normal);
}

.sidebar-banner .shop-now:hover {
    gap: 10px;
    color: white;
}

/* WooCommerce Notices */
.woocommerce-notices-wrapper {
    width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-light-grey);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--viro-primary-color);
    border-radius: var(--radius-md);
    color: var(--viro-secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    background-color: var(--viro-primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.woocommerce-message .button:hover {
    background-color: var(--viro-secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-error {
    border-left-color: #ef4444;
}

.woocommerce-info {
    border-left-color: #3b82f6;
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-lightest);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.toolbar-left {
    display: flex;
    align-items: center;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-dropdown-custom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-dropdown-custom .sort-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--viro-secondary-color);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 5px;
}

.sort-dropdown-custom .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
    height: 52px;
    background: var(--color-white);
    border: 1px solid #e1e4e8;
    border-radius: 16px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.sort-dropdown-custom .select-wrapper:hover {
    border-color: var(--viro-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sort-dropdown-custom select {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* Custom Select Styling */
.select-selected {
    width: 100%;
    padding: 0 35px 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color, #1a1a1a);
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-items {
    position: absolute;
    background-color: var(--color-white);
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 12px;
    border: 1px solid var(--color-border, #e1e4e8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.select-hide {
    display: none;
}

.select-items div {
    color: var(--color-grey, #4b5563);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.select-items div:hover {
    background-color: var(--viro-primary-light);
    color: var(--viro-primary-color);
}

.same-as-selected {
    background-color: var(--viro-primary-light);
    color: var(--viro-primary-color) !important;
}

.select-arrow-active .chevron {
    transform: translateY(-50%) rotate(180deg) !important;
}

.sort-dropdown-custom .chevron {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--viro-primary-color);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.sort-dropdown-custom .select-wrapper:hover .chevron {
    transform: translateY(-50%) scale(1.1);
}

/* Pagination Section */
.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.pagination-link,
.pagination-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: var(--viro-secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.pagination-link.active {
    background-color: var(--viro-primary-color);
    color: white;
    border-color: var(--viro-primary-color);
    box-shadow: 0 4px 12px rgba(96, 211, 180, 0.3);
}

.pagination-link:hover:not(.active),
.pagination-btn:hover:not(.disabled) {
    border-color: var(--viro-primary-color);
    color: var(--viro-primary-color);
    background-color: var(--viro-primary-light);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-dots {
    color: var(--color-grey);
    font-weight: 600;
    padding: 0 5px;
}

.view-toggles {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    color: var(--color-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mobile-filter:hover {
    color: var(--viro-primary-color);
    border-color: var(--viro-primary-color);
}

.view-btn:hover {
    color: var(--viro-primary-color);
    border-color: var(--viro-primary-color);
}

.view-btn.active {
    color: white;
    border-color: var(--viro-primary-color);
    background-color: var(--viro-primary-color);
    box-shadow: 0 8px 20px rgba(98, 208, 182, 0.25);
}

.view-btn svg {
    width: 22px;
    height: 22px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Product Card Styling */
.product-card {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    width: 100%;
    height: 100%;
}

.product-card:hover {
    border-color: var(--viro-primary-color);
    box-shadow: var(--shadow-md);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

/* Swiper slide equal heights helper */
.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.swiper-slide .product-card {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}


.btn-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 1px solid #e1e4e8;
    border-radius: 50%;
    background: white;
    color: var(--color-grey);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-wishlist:hover {
    background-color: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 8px 15px rgba(245, 81, 87, 0.25);
    transform: scale(1.1);
}

.btn-wishlist i,
.btn-wishlist svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.3px;
}

.badge-discount,
.badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-white);
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.badge-discount {
    background-color: var(--accent-red);
}

.badge-new {
    background-color: var(--viro-primary-color);
}

.badge-new-inline {
    background-color: var(--viro-primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8125rem;
    color: var(--viro-primary-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--viro-secondary-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--viro-primary-color);
}

.product-meta {
    font-size: 0.875rem;
    color: var(--color-grey);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price,
.current-price span,
.current-price bdi,
.current-price ins,
.current-price ins span,
.current-price ins bdi {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--viro-primary-color);
    line-height: 1.1;
    display: inline-block;
    white-space: nowrap;
}

.current-price del,
.current-price del span,
.current-price del bdi {
    font-size: 1rem;
    color: #999999;
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 5px;
}

.product-card.sale .current-price,
.product-card.sale .current-price ins,
.product-card.sale .current-price ins span,
.product-card.sale .current-price ins bdi {
    color: var(--accent-red);
}

.current-price .woocommerce-Price-currencySymbol {
    font-size: 0.75em;
    font-weight: 700;
    margin-left: 4px;
}

.old-price,
.old-price span,
.old-price bdi {
    font-size: 1.1rem;
    color: #999999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating svg {
    width: 14px;
    height: 14px;
}

.product-rating svg.star-filled,
.product-rating svg.star-half {
    color: #FFB340;
    fill: #FFB340;
}

.product-rating svg.star-empty {
    color: #DDD;
    fill: none;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--color-grey);
}

.product-actions {
    margin-top: auto;
    padding-top: 15px;
    position: relative;
    z-index: 2;
}

.btn-add-cart {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-white);
    border: 1px solid #e1e4e8;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--viro-secondary-color) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.btn-add-cart.loading span::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: btn-spinner 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes btn-spinner {
    to {
        transform: rotate(360deg);
    }
}

.btn-add-cart:hover {
    background-color: var(--viro-primary-color) !important;
    border-color: var(--viro-primary-color) !important;
    color: var(--color-white) !important;
    box-shadow: 0 8px 15px rgba(98, 208, 182, 0.3);
    transform: translateY(-3px);
}

.btn-add-cart:hover svg,
.btn-add-cart:hover i {
    transform: translateX(3px);
}

.btn-add-cart svg {
    width: 18px;
    height: 18px;
}

/* Styling for when the button transforms into "View Cart" */
.btn-add-cart.btn-view-cart-active {
    background-color: var(--viro-secondary-color) !important;
    border-color: var(--viro-secondary-color) !important;
    color: white !important;
}

.btn-add-cart.btn-view-cart-active:hover {
    background-color: var(--viro-primary-color) !important;
    border-color: var(--viro-primary-color) !important;
    box-shadow: 0 8px 15px rgba(98, 208, 182, 0.4);
}

@keyframes btnPopIn {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* List View Modification */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    flex-direction: row;
    height: auto;
    min-height: 220px;
}

.products-grid.list-view .product-image-wrapper {
    width: 280px;
    height: auto;
    min-height: 220px;
    flex-shrink: 0;
}

.products-grid.list-view .product-info {
    padding: var(--spacing-xl);
    justify-content: center;
}

.products-grid.list-view .product-actions {
    margin-top: var(--spacing-md);
    width: 100%;
}

.btn-add-cart a:hover {
    color: var(--color-white) !important;
}


/* Load More */
.load-more-container {
    margin-top: var(--spacing-xxl);
    text-align: center;
}

.btn-load-more {
    padding: 12px 40px;
    background-color: var(--color-white);
    border: 2px solid var(--viro-primary-color);
    color: var(--viro-primary-color);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-load-more:hover {
    background-color: var(--viro-primary-color);
    color: var(--color-white);
}

/* Shop Page Refinements */
.btn-mobile-filter {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--viro-secondary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-mobile-filter:hover {
    background-color: var(--viro-primary-color);
    border-color: var(--viro-primary-color);
    color: var(--color-white);
}

.btn-mobile-filter:hover svg {
    stroke: var(--color-white) !important;
}

.results-count {
    font-size: 0.9rem;
    color: var(--color-grey);
    margin-right: var(--spacing-lg);
}

/* Sort Dropdown Styling */
.sort-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-dropdown-wrapper label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--viro-secondary-color);
    white-space: nowrap;
}

.sort-select-styled {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--viro-secondary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2360d3b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 200px;
    box-shadow: var(--shadow-sm);
}

.sort-select-styled:hover {
    border-color: #60d3b4;
}

.sort-select-styled:focus {
    outline: none;
    border-color: #60d3b4;
    box-shadow: 0 0 0 4px rgba(96, 211, 180, 0.1);
}

/* Color Swatches Grid */
.color-swatches-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.swatch-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.swatch-item.active {
    border-color: var(--viro-primary-color);
    transform: scale(1.1);
}

.swatch-color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.swatch-color.all-colors {
    background: linear-gradient(45deg, #ff4d4d, #2196f3, #4caf50, #ffeb3b);
}

/* View More Container */
.view-more-container {
    display: none;
    flex-direction: column;
    gap: 12px;
    /* margin-top: 12px; */
}

.view-more-container.show {
    display: flex;
}

/* Price Range Slider (Dual Thumb) */
.price-slider-container {
    padding: 10px 0;
}

.price-range-slider-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.price-range-slider-wrapper .slider-track {
    width: 100%;
    height: 5px;
    position: absolute;
    background: var(--color-border-lightest);
    border-radius: var(--radius-full);
}

.price-range-slider-wrapper input[type="range"] {
    position: absolute;
    width: 100%;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    margin: 0;
}

.price-range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    height: 22px;
    width: 22px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 2.5px solid var(--viro-primary-color);
    cursor: pointer;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    z-index: 5;
    position: relative;
}

.price-range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(98, 208, 182, 0.15);
}

.price-range-slider-wrapper input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 2.5px solid var(--viro-primary-color);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
}

.price-range-slider-wrapper input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

/* Styled Inputs */
.range-inputs-styled {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

.range-inputs-styled {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.range-inputs-styled .input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.range-inputs-styled label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--viro-secondary-color);
    margin-bottom: 2px;
}

.input-with-currency {
    display: flex;
    align-items: center;
    background: var(--color-light-grey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: all var(--transition-normal);
    width: 100%;
}

.input-with-currency:focus-within {
    border-color: var(--viro-primary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(96, 211, 180, 0.15);
}

.input-with-currency span {
    font-size: 0.85rem;
    color: var(--viro-secondary-color);
    font-weight: 800;
    margin-right: 4px;
}

.input-with-currency input {
    border: none;
    background: none;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--viro-secondary-color);
    text-align: left;
    outline: none;
}

/* Mobile Sidebar Drawer */
.category-new-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-header-mobile h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-header-mobile button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--viro-secondary-color);
}

/* Star Empty Styling */
.star-empty {
    color: var(--color-text-lighter);
    fill: var(--color-text-lighter);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .btn-mobile-filter {
        display: flex;
    }

    .products-page-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100%;
        background-color: var(--color-white);
        z-index: 2100;
        padding: 0;
        padding-bottom: 100px;
        /* Space to clear the mobile bottom navigation */
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        display: block;
        /* Overwrite prev hidden state */
    }

    .products-sidebar.active {
        left: 0;
    }

    /* Mobile Sidebar Overlay */
    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        z-index: 2099;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .filter-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex !important;
        border-bottom: 1px solid #f1f1f1 !important;
        background: white !important;
        padding: 1.25rem 1.5rem !important;
    }

    .mobile-menu-header .section-title {
        font-family: var(--font-primary) !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        color: #111 !important;
    }

    .mobile-menu-header .close-menu {
        color: var(--viro-secondary-color) !important;
    }

    .results-count {
        display: none;
    }

    .filter-group {
        border-bottom: 8px solid #f8f8f8;
        padding: 0 !important;
    }

    .filter-title {
        padding: 20px 25px !important;
        margin-bottom: 0 !important;
        background: white;
        font-size: 0.95rem !important;
        border-bottom: 1px solid #f5f5f5;
        font-weight: 800 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Vertical Editorial Filters (Matches All Categories Drawer) */
    .filter-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }

    .filter-item {
        padding: 18px 25px !important;
        border-bottom: 1px solid #f5f5f5 !important;
        background: white !important;
        width: 100% !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .filter-item:hover {
        background-color: #fafafa !important;
    }

    .filter-item input {
        display: block !important;
        margin-right: 12px !important;
    }

    .filter-item .item-label {
        display: flex;
        align-items: center;
        gap: 15px;
        font-weight: 600;
        color: var(--viro-secondary-color);
        flex: 1;
        font-size: 0.95rem;
    }

    .filter-item .item-label i,
    .filter-item .item-label svg {
        color: #acacac;
        width: 20px;
        height: 20px;
        transition: color 0.3s ease;
    }

    .filter-item:has(input:checked) {
        background-color: rgba(98, 208, 182, 0.05) !important;
    }

    .filter-item:has(input:checked) .item-label {
        color: var(--viro-primary-color) !important;
    }

    .filter-item:has(input:checked) .item-label i,
    .filter-item:has(input:checked) .item-label svg {
        color: var(--viro-primary-color) !important;
    }

    .view-more-link {
        display: block !important;
        padding: 15px 25px !important;
        text-align: center;
        background: #fafafa !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-bottom: 1px solid #eee;
        font-weight: 700;
        color: var(--viro-primary-color);
    }

    .price-slider-container {
        padding: 10px 25px 25px !important;
    }

    .filter-actions-sidebar {
        padding: 20px 25px 40px !important;
    }
}

@media (max-width: 768px) {



    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        gap: 12px;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .products-toolbar {
        background: #fff !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 20px !important;
        padding: 12px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .toolbar-left {
        display: none;
    }

    .toolbar-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .sort-dropdown-custom {
        width: 100%;
        gap: 0;
    }

    .sort-dropdown-custom .sort-label {
        display: none;
    }

    .sort-dropdown-custom .select-wrapper {
        width: 100% !important;
        height: 48px !important;
        border: 1px solid #e1e4e8 !important;
        border-radius: 12px !important;
        /* padding: 0 15px !important; */
        background: #fff !important;
        min-width: 0;
    }

    .sort-dropdown-custom select {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        background: transparent !important;
        padding: 0 25px 0 0 !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        color: #1a1a1a !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .sort-dropdown-custom .chevron {
        right: 12px !important;
        color: var(--viro-primary-color) !important;
    }

    .btn-mobile-filter {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        border: 1px solid #e1e4e8 !important;
        background: #fff !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.2s ease;
    }

    .btn-mobile-filter span {
        display: none;
    }

    .btn-mobile-filter:hover {
        background-color: #fff !important;
        border-color: #e1e4e8 !important;
        color: var(--viro-secondary-color) !important;
    }

    .btn-mobile-filter i,
    .btn-mobile-filter svg {
        width: 20px;
        height: 20px;
        stroke: var(--viro-secondary-color);
        stroke-width: 2;
    }

    .btn-mobile-filter:hover svg {
        stroke: var(--viro-secondary-color) !important;
    }

    .view-toggles {
        gap: 6px;
        display: flex;
    }

    .view-btn {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        border: 1px solid #e1e4e8 !important;
        background: #fff !important;
        color: #6b7280 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.2s ease;
    }

    .view-btn:hover {
        background: #fff !important;
        border-color: #e1e4e8 !important;
        color: #6b7280 !important;
    }

    .view-btn.active {
        background: var(--viro-primary-color) !important;
        border-color: var(--viro-primary-color) !important;
        color: #fff !important;
        box-shadow: 0 4px 10px rgba(98, 208, 182, 0.3) !important;
    }

    /* List View Card Layout - Swapped Image to Left */
    .products-grid.list-view {
        grid-template-columns: 1fr;
    }

    .products-grid.list-view .product-card {
        display: grid;
        grid-template-areas:
            "image content"
            "actions actions";
        grid-template-columns: 140px 1fr;
        gap: 15px;
        padding: 15px;
        height: auto;
        border-radius: var(--radius-lg);
    }

    .products-grid.list-view .product-image-wrapper {
        grid-area: image;
        width: 100%;
        height: 140px;
        min-height: auto;
        border-radius: var(--radius-md);
    }

    .products-grid.list-view .product-info {
        grid-area: content;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }

    .products-grid.list-view .product-actions {
        grid-area: actions;
        display: flex;
        gap: 12px;
        margin-top: 5px;
        width: 100%;
    }

    .products-grid.list-view .btn-wishlist {
        /* Already positioned absolutely via global or inherited styles */
        width: 42px;
        height: 42px;
    }

    .products-grid.list-view .btn-add-cart {
        flex: 1;
        padding: 0 20px;
        height: 50px;
        font-size: 1rem;
        font-weight: 700;
        background-color: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        color: var(--viro-secondary-color) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .products-grid.list-view .product-title {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 5px;
        color: var(--viro-secondary-color);
    }

    .products-grid.list-view .product-category {
        font-size: 0.85rem;
        color: var(--viro-primary-color);
        margin-bottom: 8px;
    }

    .products-grid.list-view .product-price {
        margin-top: 8px;
        margin-bottom: 0;
    }

    .products-grid.list-view .product-meta {
        font-size: 0.85rem;
        color: var(--color-grey);
        margin-bottom: 8px;
    }

    .products-grid.list-view .rating-count {
        font-size: 0.85rem;
        color: var(--color-grey);
        font-weight: 500;
        opacity: 0.8;
    }

    .products-grid.list-view .stars i {
        width: 13px;
        height: 13px;
    }

    .products-grid:not(.list-view) .current-price,
    .products-grid:not(.list-view) .current-price span,
    .products-grid:not(.list-view) .current-price bdi,
    .products-grid:not(.list-view) .current-price ins,
    .products-grid:not(.list-view) .current-price ins span,
    .products-grid:not(.list-view) .current-price ins bdi {
        font-size: 1.1rem !important;
        white-space: normal !important;
        word-break: break-all;
    }

    .products-grid:not(.list-view) .old-price,
    .products-grid:not(.list-view) .old-price span,
    .products-grid:not(.list-view) .old-price bdi {
        font-size: 0.85rem !important;
    }

    .product-price {
        gap: 5px !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 476px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Refined List View for very small screens */
    .products-grid.list-view .product-card {
        grid-template-columns: 110px 1fr;
        gap: 12px;
        padding: 12px;
    }

    /* .products-grid.list-view .product-image-wrapper {
        height: 110px;
    } */

    .products-grid.list-view .product-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .products-grid.list-view .product-category {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .products-grid.list-view .current-price {
        font-size: 1.3rem;
    }

    .products-grid.list-view .btn-add-cart {
        height: 50px;
        font-size: 0.9rem;
    }
}

/* Full Width Promo Section */
.full-width-promo {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 20px;
    padding: 60px;
    margin: 60px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.full-width-promo .promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.full-width-promo .promo-content {
    max-width: 50%;
    z-index: 2;
    text-align: left;
}

.full-width-promo .promo-tag {
    color: #60d3b4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.full-width-promo .promo-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.full-width-promo .promo-desc {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.full-width-promo .promo-image {
    max-width: 40%;
    z-index: 2;
    transition: transform 0.5s ease;
}

.full-width-promo:hover .promo-image {
    transform: scale(1.05) rotate(2deg);
}

.full-width-promo .promo-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@media (max-width: 992px) {
    .full-width-promo {
        padding: 40px;
    }

    .full-width-promo .promo-container {
        flex-direction: column;
        text-align: center;
    }

    .full-width-promo .promo-content {
        max-width: 100%;
        text-align: center;
    }

    .full-width-promo .promo-image {
        max-width: 80%;
    }

    .full-width-promo .promo-title {
        font-size: 2.2rem;
    }
}

@media(max-width : 476px) {
    .products-page-layout {
        display: block;
    }
}

/* Star Empty Styling handled above in .product-rating svg.star-empty */


/* Section: No Products Found (Empty State) */
.no-results-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    text-align: center;
    background-color: var(--color-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    margin: 20px 0;
    min-height: 400px;
}

.no-results-container.active {
    display: flex;
}

.no-results-icon {
    width: 180px;
    height: auto;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--viro-secondary-color);
    margin-bottom: 10px;
}

.no-results-text {
    color: var(--color-grey);
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.btn-reset-filters {
    background-color: var(--viro-primary-color);
    color: white;
    padding: 12px 5px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-reset-filters:hover {
    background-color: var(--viro-secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .no-results-icon {
        width: 140px;
    }

    .no-results-title {
        font-size: 1.25rem;
    }
}

/* Section: Product Details Page */
.product-details-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .product-details-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.breadcrumb-container {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-lg);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-grey);
    direction: ltr;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--viro-primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--color-grey);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
    color: var(--color-border);
}

.product-details-section {
    padding: var(--spacing-xl) 0;
    direction: ltr;
    font-family: var(--font-family);
}

.product-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
}

@media (min-width: 992px) {
    .product-gallery {
        position: sticky;
        top: 30px;
    }
}

.gallery-thumbnails {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumb-item.active {
    border-color: var(--viro-primary-color);
    box-shadow: 0 0 0 2px rgba(98, 208, 182, 0.2);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-image-wrapper {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.main-image-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-grey);
}

.product-info-col {
    text-align: left;
}

.brand-badge {
    margin-bottom: 15px;
}

.brand-badge img {
    height: 30px;
    object-fit: contain;
}

/* Cart Empty State Styling */
.cart-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border);
    margin: 40px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.empty-illustration {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.empty-illustration img {
    width: 180px;
    height: auto;
    opacity: 0.8;
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--viro-secondary-color);
    margin-bottom: 12px;
}

.empty-desc {
    font-size: 1rem;
    color: var(--color-grey);
    max-width: 450px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.btn-return-shop {
    position: relative;
    background-color: transparent;
    color: var(--viro-primary-color) !important;
    padding: 16px 45px;
    border: 2px solid var(--viro-primary-color);
    border-radius: var(--radius-md);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-return-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--viro-primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-return-shop:hover {
    color: var(--color-white) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(98, 208, 182, 0.25);
}

.btn-return-shop:hover::before {
    width: 100%;
}

.btn-return-shop i,
.btn-return-shop svg {
    color: var(--viro-primary-color);
    stroke: var(--viro-primary-color);
    transition: all 0.4s ease;
}

.btn-return-shop:hover i,
.btn-return-shop:hover svg {
    color: var(--color-white);
    stroke: var(--color-white);
    transform: translateX(-5px);
}

.cart-security-badges {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0.6;
}

.cart-security-badges i {
    font-size: 1.5rem;
}

/* ── Overrides for bold currency & 100% button width ── */
.woocommerce-Price-currencySymbol {
    font-weight: inherit !important;
}

.viro-deal-card:has(.viro-deal-actions) {
    padding-bottom: 96px !important;
}

.product-actions {
    width: 100% !important;
    display: flex !important;
}

.elementor-widget-viro-deals-countdown .viro-deal-actions,
div.elementor-widget-viro-deals-countdown .viro-deal-actions,
.viro-deal-content .viro-deal-actions,
.viro-deal-actions {
    position: absolute !important;
    bottom: 24px !important;
    left: 24px !important;
    right: 24px !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 5 !important;
    display: flex !important;
}

.btn-add-cart,
.elementor-widget-viro-deals-countdown .viro-btn-add-deal,
div.elementor-widget-viro-deals-countdown .viro-btn-add-deal,
.viro-deal-content .viro-btn-add-deal,
.viro-btn-add-deal {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

@media (max-width: 480px) {
    .viro-deal-card:has(.viro-deal-actions) {
        padding-bottom: 84px !important;
    }
    
    .elementor-widget-viro-deals-countdown .viro-deal-actions,
    div.elementor-widget-viro-deals-countdown .viro-deal-actions,
    .viro-deal-content .viro-deal-actions,
    .viro-deal-actions {
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
    }
}