/* ===== WOOCOMMERCE STYLING ===== */

/* Cart Page */
.woocommerce-cart .site-main {
    padding: 60px 0;
}

.woocommerce-cart .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-cart .entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce-cart .entry-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #000;
    margin: 20px auto;
}

/* Cart Table */
.woocommerce-cart table.cart {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-cart table.cart thead {
    background: #f8f8f8;
}

.woocommerce-cart table.cart th {
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.woocommerce-cart table.cart td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.woocommerce-cart table.cart .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.woocommerce-cart table.cart .product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: #000;
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    color: #000;
    font-weight: 500;
}

/* Quantity Input */
.woocommerce-cart .quantity input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Update Cart Button */
.woocommerce-cart .actions button.button {
    background: #000;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
}

.woocommerce-cart .actions button.button:hover {
    background: #333;
}

/* Coupon */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
}

.woocommerce-cart .coupon input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
}

/* Cart Totals */
.woocommerce-cart .cart_totals {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.woocommerce-cart .cart_totals .order-total {
    font-weight: 600;
    font-size: 18px;
}

/* Checkout Button */
.woocommerce-cart .checkout-button {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    width: 100%;
    text-align: center;
}

.woocommerce-cart .checkout-button:hover {
    background: #333;
}

/* ===== CHECKOUT PAGE ===== */
.woocommerce-checkout .site-main {
    padding: 60px 0;
}

.woocommerce-checkout .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-checkout .entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce-checkout .entry-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #000;
    margin: 20px auto;
}

/* Checkout Form */
.woocommerce-checkout .checkout {
    max-width: 800px;
    margin: 0 auto;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.woocommerce-checkout .form-row input:focus {
    border-color: #000;
    outline: none;
}

/* Order Review */
.woocommerce-checkout #order_review {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.woocommerce-checkout table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.woocommerce-checkout table.shop_table .order-total {
    font-weight: 600;
    font-size: 18px;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.woocommerce-checkout #payment .payment_methods {
    list-style: none;
    padding: 0;
}

.woocommerce-checkout #payment .payment_methods li {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.woocommerce-checkout #payment .payment_methods label {
    font-weight: 600;
    margin-left: 10px;
}

.woocommerce-checkout #payment .payment_box {
    background: #f8f8f8;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    background: #000;
    color: white;
    padding: 15px 40px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.woocommerce-checkout #place_order:hover {
    background: #333;
}

/* ===== MY ACCOUNT PAGE ===== */
.woocommerce-account .site-main {
    padding: 60px 0;
}

.woocommerce-account .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce-account .entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce-account .entry-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #000;
    margin: 20px auto;
}

/* Navigation */
.woocommerce-MyAccount-navigation {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #ddd;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #000;
    color: white;
}

/* Content */
.woocommerce-MyAccount-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.woocommerce-MyAccount-content button {
    background: #000;
    color: white;
    padding: 12px 30px;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

.woocommerce-MyAccount-content button:hover {
    background: #333;
}

/* Orders Table */
.woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.woocommerce-MyAccount-content table.shop_table th {
    background: #f8f8f8;
    padding: 12px;
    font-weight: 600;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

/* ===== SHOP PAGE ===== */
.woocommerce-shop .site-main {
    padding: 60px 0;
}

/* Hide the duplicate title completely */
.woocommerce-shop .page-title,
.woocommerce-shop .woocommerce-products-header__title {
    display: none !important;
}

/* Add a custom title */
.woocommerce-shop .woocommerce-products-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.woocommerce-shop .woocommerce-products-header::before {
    content: "Shop Our Collection";
    display: block;
    font-size: 42px;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
}

/* Products Grid */
.woocommerce-shop ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-shop ul.products li.product {
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.woocommerce-shop ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.woocommerce-shop ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.woocommerce-shop ul.products li.product h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.woocommerce-shop ul.products li.product .price {
    color: #000;
    font-weight: 600;
    margin-bottom: 15px;
}

.woocommerce-shop ul.products li.product .button {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: white;
    text-decoration: none;
    font-size: 12px;
    border: none;
    border-radius: 0;
}

.woocommerce-shop ul.products li.product .button:hover {
    background: #333;
}

/* ===== SINGLE PRODUCT PAGE ===== */
.woocommerce-product-page .site-main {
    padding: 60px 0;
}

.woocommerce-product-page .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.woocommerce-product-page .images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.woocommerce-product-page .summary h1 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
}

.woocommerce-product-page .summary .price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.woocommerce-product-page .summary .woocommerce-product-details__short-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.woocommerce-product-page .summary .quantity {
    margin-bottom: 20px;
}

.woocommerce-product-page .summary .quantity input {
    width: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.woocommerce-product-page .summary .single_add_to_cart_button {
    background: #000;
    color: white;
    padding: 15px 40px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.woocommerce-product-page .summary .single_add_to_cart_button:hover {
    background: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .woocommerce-shop ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .woocommerce-product-page .product {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 480px) {
    .woocommerce-shop ul.products {
        grid-template-columns: 1fr;
    }
}