/* ============================================
   WOOCOMMERCE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    padding: clamp(40px, 8vh, 80px) 0 clamp(60px, 10vh, 100px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 120px);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 0;
    font-weight: 400;
}

/* Mood Filter */
.mood-filter-section {
    margin-bottom: 60px;
}

.mood-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mood-btn {
    padding: 12px 24px;
    border: 1px solid var(--black);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mood-btn:hover,
.mood-btn.active {
    background: var(--black);
    color: var(--white);
}

/* Products Grid */
.products-section {
    margin-bottom: 80px;
}

.products-grid,
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--gap);
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card {
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--gray-light);
}

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

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

.product-info {
    padding: 16px 0;
}

.product-category {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category a {
    color: inherit;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.product-price {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.price-from {
    font-size: 12px;
    color: var(--gray);
}

.price-amount,
.product-price .price {
    font-size: 18px;
    font-weight: 600;
}

.product-price .price del {
    opacity: 0.5;
    font-size: 14px;
}

.product-price .price ins {
    text-decoration: none;
    color: var(--accent);
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 12px 24px;
    border: 1px solid var(--black);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    pointer-events: auto;
}

.quick-view-btn:hover {
    background: var(--black);
    color: var(--white);
}

.quick-view-btn svg {
    width: 16px;
    height: 16px;
}

/* Quick View Modal */
.quick-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--gap);
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-view-overlay.active {
    display: flex;
    opacity: 1;
}

.quick-view-content {
    background: var(--white);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.quick-view-overlay.active .quick-view-content {
    transform: scale(1);
}

.close-quick-view {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--black);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-quick-view:hover {
    background: var(--gray-light);
}

.quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.quick-view-gallery img {
    width: 100%;
    height: auto;
}

.quick-view-summary .product-category {
    margin-bottom: 12px;
}

.quick-view-summary .product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-short-description {
    margin-bottom: 24px;
    color: var(--gray);
    line-height: 1.6;
}

.product-actions {
    margin-bottom: 24px;
}

.product-price-wrap {
    margin-bottom: 20px;
}

.quick-view-summary .product-price {
    font-size: 32px;
    font-weight: 600;
}

/* Variable Products */
.variations_form .variations {
    margin-bottom: 20px;
}

.variations_form .variations td {
    padding: 8px 0;
}

.variations_form .variations label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.variations_form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--black);
    font-family: var(--font-base);
    font-size: 14px;
}

.view-full-product {
    margin-top: 20px;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
    background: var(--gray-light);
}

.woocommerce-message {
    border-color: #22c55e;
}

.woocommerce-error {
    border-color: var(--accent);
}

.woocommerce-info {
    border-color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .mood-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mood-filter::-webkit-scrollbar {
        display: none;
    }
    
    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .quick-view-product {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .quick-view-btn {
        bottom: 16px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}
