/* --- WooCommerce & Product Specific Styles --- */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.product-card-modern {
    background: white !important;
    border-radius: 32px !important;
    padding: 24px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 30px !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.product-card-modern:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.woocommerce ul.products li.product img,
.product-card-modern .product-image-modern img {
    border-radius: 24px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    object-fit: cover !important;
}

/* Minimal Rating Styles */
.product-rating-minimal {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
    color: var(--gp-text);
}

.product-rating-minimal .star-icon {
    color: #FFB800;
    font-size: 16px;
}

.product-rating-minimal .rating-value {
    font-weight: 600;
}

.product-rating-minimal .rating-count {
    color: #888;
}

/* Info and Footer */
.product-info-modern {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title-modern {
    font-size: 24px !important;
    color: var(--gp-primary) !important;
    margin: 12px 0 8px !important;
    line-height: 1.2 !important;
}

.product-desc-modern {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-link-modern,
.product-image-link-modern {
    text-decoration: none !important;
    display: block;
    transition: opacity 0.3s ease;
}

.product-link-modern:hover,
.product-image-link-modern:hover {
    opacity: 0.8;
}

/* Add to Basket Buttons */
.btn-add-to-basket {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F4F5F1 !important;
    color: var(--gp-primary) !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 16px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.btn-add-to-basket:hover {
    background: #E8EAE2 !important;
    transform: scale(1.02);
}

.woocommerce span.onsale {
    background-color: var(--gp-accent);
    line-height: 1.5;
    padding: 2px 12px;
    border-radius: var(--gp-radius);
    font-weight: 600;
}

/* Checkout & Cart */
.woocommerce-checkout #order_review,
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--gp-white);
    padding: 30px;
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
}

/* Trust Badge */
.gp-custom-trust-badge {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e2e2e2;
    border-radius: var(--gp-radius);
    background: var(--gp-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--gp-shadow);
}

/* Dynamic Blurred Background */
.gp-dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(15px) saturate(1.8);
    opacity: 0.5;
    pointer-events: none;
    transition: background-image 0.5s ease-in-out;
}

.single-product .ast-container {
    max-width: 1600px !important;
}

/* Rounder Product Section Elements */
.woocommerce-product-gallery,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery img {
    border-radius: var(--gp-radius) !important;
    overflow: hidden !important;
}

/* Global Price Styling */
.woocommerce-Price-amount.amount {
    color: inherit;
}

del .woocommerce-Price-amount.amount {
    color: #777 !important;
    font-size: 1.1em !important;
    font-weight: 500 !important;
}

ins .woocommerce-Price-amount.amount {
    color: #111 !important;
    font-size: 0.9em !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce span.onsale {
    background-color: var(--gp-primary) !important;
}