/* WooCommerce Styles for Isabella Theme */

/* Shop Page */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    margin-bottom: 2rem;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Fredoka One', cursive;
    color: #333;
    margin: 1rem;
    font-size: 1.1rem;
}

.woocommerce ul.products li.product .price {
    color: #ff69b4;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 1rem 1rem;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.6;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 1rem;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
    color: white;
}

/* Single Product */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.woocommerce div.product .woocommerce-product-gallery {
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-product-gallery img {
    border-radius: 15px;
}

.woocommerce div.product .summary {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.1);
}

.woocommerce div.product .product_title {
    font-family: 'Fredoka One', cursive;
    color: #ff69b4;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.woocommerce div.product .price {
    color: #ff69b4;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.woocommerce div.product form.cart .quantity {
    margin-right: 1rem;
}

.woocommerce div.product form.cart .quantity input {
    border: 2px solid #ff69b4;
    border-radius: 10px;
    padding: 0.5rem;
    width: 60px;
    text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

/* Cart */
.woocommerce table.cart {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.1);
}

.woocommerce table.cart th,
.woocommerce table.cart td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce table.cart th {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    font-family: 'Fredoka One', cursive;
}

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

.woocommerce .cart-collaterals .cart_totals {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.1);
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: 'Fredoka One', cursive;
    color: #ff69b4;
    margin-bottom: 1rem;
}

/* Checkout */
.woocommerce form .form-row {
    margin-bottom: 1rem;
}

.woocommerce form .form-row label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem;
    width: 100%;
    font-family: 'Quicksand', sans-serif;
    transition: border-color 0.3s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #ff69b4;
    outline: none;
}

.woocommerce #payment {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.1);
}

.woocommerce #payment .payment_methods {
    list-style: none;
    padding: 0;
}

.woocommerce #payment .payment_methods li {
    margin-bottom: 1rem;
}

.woocommerce #place_order {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .woocommerce div.product .summary {
        padding: 1rem;
    }
}
