/**
 * Custom WooCommerce Styling
 * Minimal styling for fully custom product template matching homepage
 */

/* ===== SHOP PAGE STYLES ===== */

/* Main shop title */
.woocommerce-products-header .section-title {
    font-family: 'Libre Baskerville', serif !important;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    color: #fde68a;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

/* Product grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

/* Individual product card */
.woocommerce ul.products li.product {
    background: linear-gradient(to bottom right, rgba(251, 191, 36, 0.1), rgba(30, 41, 59, 0.4));
    border: 1px solid rgba(253, 230, 138, 0.2);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(253, 230, 138, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Product title */
.woocommerce ul.products li.product h2, 
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Libre Baskerville', serif !important;
    color: #fde68a;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0;
    margin-top: 16px;
}

/* Product price */
.woocommerce ul.products li.product .price {
    font-family: 'Libre Baskerville', serif !important;
    color: #fcd34d !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 12px;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.5;
    color: #bfdbfe;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Add to cart button */
.woocommerce ul.products li.product .button {
    background: linear-gradient(to right, #fde68a, #fcd34d);
    color: #0f172a;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    margin-top: 16px;
    font-family: 'Libre Baskerville', serif !important;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
    border: none;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 211, 77, 0.4);
}

/* Sale badge */
.woocommerce span.onsale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    font-family: 'Libre Baskerville', serif !important;
    font-weight: 600;
    border-radius: 12px;
    min-width: auto;
    padding: 8px 12px;
    line-height: 1;
    min-height: auto;
    top: 16px;
    left: 16px;
    color: #ffffff;
}

/* ===== SINGLE PRODUCT PAGE - NO CONTAINERS, SEAMLESS ===== */

/* Remove all WooCommerce default styling */
.woocommerce div.product {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

/* Hide default WooCommerce elements we don't need */
.woocommerce-product-gallery__trigger,
.woocommerce-breadcrumb,
.product_meta {
    display: none !important;
}

/* ===== Product Reviews Section ===== */
/* Note: Layout styles are handled in product-reviews-carousel.php template */
/* This file only contains supplementary styling that doesn't conflict with layout */

.product-reviews-section {
    max-width: 1200px;
    margin: 0 auto;
}

.product-reviews-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-family: 'Baskervville', serif;
    color: #fde68a;
    text-align: center;
    margin-bottom: 48px;
}
