/* Additional WooCommerce Styling */

/* Product Cards */
.product-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top-wrapper {
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .price {
    font-weight: 600;
}

.product-card .btn-primary {
    background: var(--elderink-primary);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
}

.product-card .btn-primary:hover {
    background: var(--elderink-secondary);
}

/* Hero Section Enhanced */
.hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
    padding: 5rem 0;
    margin-bottom: 0;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

/* WooCommerce Product Archive */
.woocommerce-products-header {
    padding: 2rem 0;
}

.woocommerce ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--elderink-dark);
}

.woocommerce ul.products li.product .price {
    font-size: 1.5rem;
    color: var(--elderink-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product .button {
    background: var(--elderink-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--elderink-secondary);
}

/* Single Product */
.woocommerce div.product {
    padding: 2rem 0;
}

.woocommerce div.product .summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce div.product .product_title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--elderink-dark);
    margin-bottom: 1rem;
}

.woocommerce div.product .price {
    font-size: 2rem;
    color: var(--elderink-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.woocommerce div.product form.cart {
    margin-bottom: 2rem;
}

.woocommerce div.product form.cart .button {
    background: var(--elderink-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
}

.woocommerce div.product form.cart .button:hover {
    background: var(--elderink-secondary);
}

/* Cart Page */
.woocommerce-cart table.cart {
    border: none;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    padding: 1rem;
    vertical-align: middle;
}

.woocommerce-cart table.cart img {
    width: 80px;
    height: auto;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 2rem;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart .wc-proceed-to-checkout .button {
    background: var(--elderink-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
}

.woocommerce-cart .wc-proceed-to-checkout .button:hover {
    background: var(--elderink-secondary);
}

/* Checkout Page */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.woocommerce-checkout #order_review {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-checkout #place_order {
    background: var(--elderink-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
}

.woocommerce-checkout #place_order:hover {
    background: var(--elderink-secondary);
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* Badges */
.woocommerce span.onsale {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .product-card .card-img-top-wrapper {
        min-height: 150px;
    }
    
    .woocommerce div.product .product_title {
        font-size: 1.5rem;
    }
    
    .woocommerce div.product .price {
        font-size: 1.5rem;
    }
}
