/* ==========================================================================
   Modern WooCommerce Product Page Beautifier
   Suffix: eb071ecf
   ========================================================================== */

/* 1. Global Product Page Enhancements */
.single-product div.product {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Elegant shadow and border for product images */
.single-product .woocommerce-product-gallery {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.single-product .woocommerce-product-gallery:hover {
    transform: translateY(-2px);
}

/* Product title, price & metadata typography */
.single-product .product_title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.single-product p.price, 
.single-product span.price {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #FF5733 !important; /* Vibrant brand Accent */
    margin-bottom: 1.5rem !important;
}

/* Style rating and product meta */
.single-product .woocommerce-product-details__short-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.single-product .product_meta {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.single-product .product_meta span {
    display: block;
    margin-bottom: 0.5rem;
}

.single-product .product_meta a {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.single-product .product_meta a:hover {
    color: #FF5733;
}

/* 2. Add To Cart Form & Button Modernization */
.single-product form.cart {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

/* Modern styling for variations table (if variable product) */
.single-product table.variations {
    width: 100%;
    margin-bottom: 1.5rem;
    border: none;
}

.single-product table.variations td {
    padding: 0.5rem 0;
    border: none;
}

.single-product table.variations select {
    width: 100%;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    font-size: 0.95rem !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
}

.single-product table.variations select:focus {
    border-color: #FF5733 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.1) !important;
}

/* Quantity Field styling */
.single-product .quantity {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    height: 48px;
}

.single-product .quantity input.qty {
    width: 60px !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #111827 !important;
    background: transparent !important;
}

/* Vibrant modern Add to Cart Button */
.single-product .single_add_to_cart_button.button {
    background: linear-gradient(135deg, #FF5733 0%, #E04F2C 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 0 2rem !important;
    height: 48px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.single-product .single_add_to_cart_button.button:hover {
    background: linear-gradient(135deg, #E04F2C 0%, #C83F1C 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 87, 51, 0.35) !important;
}

.single-product .single_add_to_cart_button.button:active {
    transform: translateY(0) !important;
}

/* Icon addition (using FontAwesome class compatibility) */
.single-product .single_add_to_cart_button.button::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
}

/* 3. Mobile Adaptation & Responsiveness */
@media screen and (max-width: 768px) {
    .single-product .product_title {
        font-size: 1.8rem !important;
        text-align: center;
    }
    
    .single-product p.price {
        text-align: center;
        margin-bottom: 1rem !important;
    }

    .single-product .woocommerce-product-gallery {
        margin-bottom: 2rem !important;
    }

    .single-product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem;
    }

    .single-product .quantity {
        width: 100% !important;
        justify-content: center;
    }

    .single-product .single_add_to_cart_button.button {
        width: 100% !important;
        height: 52px !important; /* Larger touch area for mobile */
    }
    
    .single-product .woocommerce-product-details__short-description {
        text-align: center;
    }
    
    .single-product .product_meta {
        text-align: center;
    }
}
