.woo-grid-wrapper {
    width: 100%;
    font-family: inherit;
}

.woo-grid-category-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 0;
    overflow-x: auto;
    border-bottom: 1px solid #f3f4f6;
}

.woo-grid-category-bar.sticky-filter-bar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 99;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.woo-grid-category-bar .filter-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.25s ease;
}

.woo-grid-category-bar .filter-btn.active,
.woo-grid-category-bar .filter-btn:hover {
    background: #f57224;
    color: #fff;
}

/* Containers Layout */
.woo-grid-container {
    align-items: stretch;
}

/* LAYOUT MODE - GRID */
.woo-grid-container.layout-grid {
    display: grid;
    grid-gap: 12px;
}

/* LAYOUT MODE - HORIZONTAL SCROLL */
.woo-grid-container.layout-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.woo-grid-container.layout-scroll::-webkit-scrollbar {
    height: 6px;
}

.woo-grid-container.layout-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.woo-grid-container.layout-scroll::-webkit-scrollbar-thumb {
    background: #f57224;
    border-radius: 10px;
}

.woo-grid-container.layout-scroll .woo-product-card {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Product Card */
.woo-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.woo-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
}

.woo-grid-container.ratio-3-4 .card-image-wrap {
    aspect-ratio: 3/4;
}

.woo-grid-container.ratio-4-3 .card-image-wrap {
    aspect-ratio: 4/3;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-image-wrap.enable-zoom:hover img {
    transform: scale(1.08);
}

.badge-container {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
}

.product-badge {
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-radius: 2px;
    background: #3b82f6;
}

.product-badge.sale {
    background: #ef4444;
}

.product-badge.new {
    background: #10b981;
}

.card-overlay-actions {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease;
    z-index: 4;
}

.woo-product-card:hover .card-overlay-actions {
    opacity: 1;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.08);
    background: #f57224;
    color: #fff;
}

.card-info-wrap {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.product-title {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #212121;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

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

.rating-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars {
    font-size: 10px;
    color: #faca15;
    position: relative;
    display: inline-block;
}

.review-count {
    font-size: 10px;
    color: #9e9e9e;
}

.price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 15px;
    font-weight: 500;
    color: #f57224;
}

.product-price del.old-price {
    color: #9e9e9e;
    font-size: 11px;
    text-decoration: line-through;
    margin-left: 4px;
}

.product-price .discount-perc {
    font-size: 11px;
    color: #212121;
    margin-left: 4px;
}

.swatches-mock {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}

.swatches-mock .swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #eaeaea;
}

.grid-pagination-box {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.load-more-btn-elite {
    border: 1px solid #f57224;
    background: transparent;
    color: #f57224;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn-elite:hover {
    background: #f57224;
    color: #fff;
}

/* Modal Styling */
.woo-qv-overlay-e80db649 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.woo-qv-modal-e80db649 {
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: qvScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes qvScaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.woo-qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #f3f4f6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.woo-qv-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .woo-qv-columns {
        grid-template-columns: 1fr;
    }
}

.woo-qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woo-qv-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.woo-qv-details h2 {
    margin: 0;
    font-size: 20px;
    color: #212121;
}

.woo-qv-price {
    font-size: 18px;
    font-weight: 700;
    color: #f57224;
}

.woo-qv-desc {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

.qv-view-item-btn {
    background: #f57224;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.qv-view-item-btn:hover {
    background: #e05e1b;
    color: #fff;
}

/* Responsiveness for Quick View Button */
@media (max-width: 480px) {
    .woo-qv-details {
        padding: 15px;
        gap: 10px;
    }
    .woo-qv-details h2 {
        font-size: 16px;
    }
    .qv-view-item-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
}
