/* WooCommerce Product Listing Grid - f7808bb2 */

.wpg-f7808bb2-wrapper {
    width: 100%;
    position: relative;
}

/* Grid Layout */
.wpg-f7808bb2-grid {
    display: grid;
    gap: 24px;
}

.wpg-f7808bb2-cols-1 { grid-template-columns: repeat(1, 1fr); }
.wpg-f7808bb2-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wpg-f7808bb2-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wpg-f7808bb2-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wpg-f7808bb2-cols-5 { grid-template-columns: repeat(5, 1fr); }
.wpg-f7808bb2-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Product Card */
.wpg-f7808bb2-card {
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wpg-f7808bb2-card:hover {
    transform: translateY(-4px);
}

/* Card Image */
.wpg-f7808bb2-card-image {
    position: relative;
    overflow: hidden;
    height: 380px;
    background: #f5f5f5;
}

.wpg-f7808bb2-card-image .wpg-f7808bb2-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.wpg-f7808bb2-main-img,
.wpg-f7808bb2-alt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.wpg-f7808bb2-alt-img {
    opacity: 0;
}

/* Image Hover Effects */
.wpg-f7808bb2-hover-zoom .wpg-f7808bb2-card:hover .wpg-f7808bb2-main-img {
    transform: scale(1.08);
}

.wpg-f7808bb2-hover-swap .wpg-f7808bb2-card:hover .wpg-f7808bb2-alt-img {
    opacity: 1;
}

/* Badges */
.wpg-f7808bb2-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.wpg-f7808bb2-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.wpg-f7808bb2-badge-sale {
    background: #e74c3c;
    color: #fff;
}

.wpg-f7808bb2-badge-best {
    background: #c9a84c;
    color: #fff;
}

/* Quick View */
.wpg-f7808bb2-quick-view {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 3;
    color: #1a1a1a;
    backdrop-filter: blur(4px);
}

.wpg-f7808bb2-card:hover .wpg-f7808bb2-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.wpg-f7808bb2-quick-view:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Thumbnails */
.wpg-f7808bb2-thumbs {
    padding: 8px 12px;
    overflow: hidden;
}

.wpg-f7808bb2-thumbs-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wpg-f7808bb2-thumbs-track::-webkit-scrollbar {
    display: none;
}

.wpg-f7808bb2-thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    scroll-snap-align: start;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
}

.wpg-f7808bb2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpg-f7808bb2-thumb-active,
.wpg-f7808bb2-thumb:hover {
    border-color: #1a1a1a;
    opacity: 1;
}

/* Card Info */
.wpg-f7808bb2-card-info {
    padding: 16px;
}

.wpg-f7808bb2-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 6px;
}

.wpg-f7808bb2-category a {
    color: inherit;
    text-decoration: none;
}

.wpg-f7808bb2-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.wpg-f7808bb2-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wpg-f7808bb2-title a:hover {
    color: #555;
}

.wpg-f7808bb2-price {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.wpg-f7808bb2-price del {
    color: #aaa;
    font-weight: 400;
    margin-right: 6px;
}

.wpg-f7808bb2-price ins {
    text-decoration: none;
    color: #e74c3c;
}

/* Add to Cart */
.wpg-f7808bb2-actions .button,
.wpg-f7808bb2-actions .add_to_cart_button,
.wpg-f7808bb2-actions a.added_to_cart {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    box-sizing: border-box;
}

.wpg-f7808bb2-actions .button:hover,
.wpg-f7808bb2-actions .add_to_cart_button:hover {
    background: #333;
}

.wpg-f7808bb2-actions a.added_to_cart {
    background: #27ae60;
    margin-top: 6px;
    font-size: 12px;
}

/* Feature Sections */
.wpg-f7808bb2-feature {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpg-f7808bb2-feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wpg-f7808bb2-feature:hover .wpg-f7808bb2-feature-bg {
    transform: scale(1.05);
}

.wpg-f7808bb2-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.wpg-f7808bb2-feature:hover .wpg-f7808bb2-feature-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.wpg-f7808bb2-feature-content {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.wpg-f7808bb2-feature-title {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wpg-f7808bb2-feature-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    line-height: 1.7;
    font-weight: 300;
}

.wpg-f7808bb2-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 4px;
    transition: border-color 0.3s ease;
}

.wpg-f7808bb2-feature-link:hover {
    border-color: #fff;
}

/* Load More */
.wpg-f7808bb2-load-more {
    text-align: center;
    margin-top: 48px;
}

.wpg-f7808bb2-load-more-btn {
    display: inline-block;
    padding: 14px 48px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.wpg-f7808bb2-load-more-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.wpg-f7808bb2-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.wpg-f7808bb2-load-more-btn.wpg-f7808bb2-loading {
    pointer-events: none;
    position: relative;
}

.wpg-f7808bb2-load-more-btn.wpg-f7808bb2-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    animation: wpg-f7808bb2-spin 0.6s linear infinite;
}

@keyframes wpg-f7808bb2-spin {
    to { transform: rotate(360deg); }
}

/* Pagination */
.wpg-f7808bb2-pagination {
    text-align: center;
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wpg-f7808bb2-pagination a,
.wpg-f7808bb2-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.wpg-f7808bb2-pagination a:hover {
    background: #f5f5f5;
}

.wpg-f7808bb2-pagination .current {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Quick View Modal */
.wpg-f7808bb2-quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpg-f7808bb2-qv-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.wpg-f7808bb2-qv-body {
    position: relative;
    background: #fff;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 2;
    animation: wpg-f7808bb2-fadeIn 0.3s ease;
}

@keyframes wpg-f7808bb2-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wpg-f7808bb2-qv-loading {
    padding: 60px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.wpg-f7808bb2-qv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.wpg-f7808bb2-qv-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 5;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.wpg-f7808bb2-qv-close:hover {
    color: #000;
}

.wpg-f7808bb2-qv-gallery {
    background: #f5f5f5;
    padding: 20px;
}

.wpg-f7808bb2-qv-main-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
}

.wpg-f7808bb2-qv-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
}

.wpg-f7808bb2-qv-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color 0.2s ease;
}

.wpg-f7808bb2-qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpg-f7808bb2-qv-thumb-active {
    border-color: #1a1a1a;
}

.wpg-f7808bb2-qv-details {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wpg-f7808bb2-qv-details h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 12px;
}

.wpg-f7808bb2-qv-price {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.wpg-f7808bb2-qv-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.wpg-f7808bb2-qv-view-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.3s ease;
}

.wpg-f7808bb2-qv-view-btn:hover {
    background: #333;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .wpg-f7808bb2-feature {
        grid-column: span 2 !important;
    }
}

@media (max-width: 767px) {
    .wpg-f7808bb2-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .wpg-f7808bb2-feature {
        grid-column: span 1 !important;
        min-height: 300px;
    }

    .wpg-f7808bb2-feature-title {
        font-size: 22px;
    }

    .wpg-f7808bb2-card-image {
        height: 320px;
    }

    .wpg-f7808bb2-thumbs-track {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .wpg-f7808bb2-thumb {
        scroll-snap-align: start;
    }

    .wpg-f7808bb2-qv-content {
        grid-template-columns: 1fr;
    }

    .wpg-f7808bb2-qv-main-img {
        height: 250px;
    }

    .wpg-f7808bb2-qv-details {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .wpg-f7808bb2-card-image {
        height: 260px;
    }

    .wpg-f7808bb2-feature {
        min-height: 240px;
    }

    .wpg-f7808bb2-feature-content {
        padding: 24px 16px;
    }
}
