/* ═══ Global: Hide sidebar on ALL pages ═══ */
#sidebar { display: none !important; }
#left-area { width: 100% !important; float: none !important; }
#content-area { overflow: visible !important; }

/* ═══ Modern Cart / Basket Page ═══ */

/* Full-width basket layout */
.woocommerce-cart .container { max-width: 1100px !important; }
.woocommerce-cart .main_title { font-size: 2em !important; font-weight: 800 !important; color: #0f172a !important; text-align: center !important; margin-bottom: 30px !important; padding-bottom: 0 !important; }

/* Cart table wrapper */
.woocommerce-cart table.shop_table { border: none !important; border-radius: 16px !important; overflow: hidden !important; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04) !important; border-collapse: separate !important; border-spacing: 0 !important; }

/* Table header */
.woocommerce-cart table.shop_table thead th { background: #0f172a !important; color: #fff !important; font-size: 0.85em !important; font-weight: 600 !important; letter-spacing: 0.5px !important; text-transform: uppercase !important; padding: 16px 20px !important; border: none !important; }

/* Table rows */
.woocommerce-cart table.shop_table td { padding: 20px !important; border-top: 1px solid #f1f5f9 !important; vertical-align: middle !important; background: #fff !important; }
.woocommerce-cart table.shop_table tr.cart_item:hover td { background: #f8fafc !important; }

/* Product thumbnail */
.woocommerce-cart table.shop_table .product-thumbnail { width: 100px !important; }
.woocommerce-cart table.shop_table .product-thumbnail img { border-radius: 12px !important; width: 80px !important; height: 80px !important; object-fit: cover !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; }

/* Product name */
.woocommerce-cart table.shop_table .product-name a { color: #0f172a !important; font-weight: 600 !important; font-size: 1.05em !important; text-decoration: none !important; transition: color 0.2s !important; }
.woocommerce-cart table.shop_table .product-name a:hover { color: #22c55e !important; }
.woocommerce-cart table.shop_table .product-name .variation,
.woocommerce-cart table.shop_table .product-name dl.variation { margin-top: 6px !important; font-size: 0.85em !important; color: #64748b !important; }

/* Price columns */
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal { font-weight: 700 !important; font-size: 1.05em !important; color: #0f172a !important; }
.woocommerce-cart table.shop_table .product-subtotal .amount { color: #0f172a !important; font-weight: 800 !important; }

/* Quantity input */
.woocommerce-cart table.shop_table .quantity .qty { width: 60px !important; height: 42px !important; border: 2px solid #e2e8f0 !important; border-radius: 8px !important; text-align: center !important; font-size: 1em !important; font-weight: 600 !important; color: #0f172a !important; background: #f8fafc !important; transition: border-color 0.2s !important; -moz-appearance: textfield !important; }
.woocommerce-cart table.shop_table .quantity .qty:focus { border-color: #22c55e !important; outline: none !important; box-shadow: 0 0 0 3px rgba(34,197,94,0.15) !important; }
.woocommerce-cart table.shop_table .quantity .qty::-webkit-inner-spin-button,
.woocommerce-cart table.shop_table .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0 !important; }

/* Staggs quantity buttons if present */
.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus { width: 36px !important; height: 42px !important; border: 2px solid #e2e8f0 !important; background: #f8fafc !important; color: #64748b !important; font-size: 1.2em !important; cursor: pointer !important; transition: all 0.2s !important; border-radius: 8px !important; }
.woocommerce-cart .quantity .minus:hover,
.woocommerce-cart .quantity .plus:hover { border-color: #22c55e !important; color: #22c55e !important; background: #f0fdf4 !important; }
.woocommerce-cart .quantity .minus { border-radius: 8px 0 0 8px !important; border-right: none !important; }
.woocommerce-cart .quantity .qty { border-radius: 0 !important; }
.woocommerce-cart .quantity .plus { border-radius: 0 8px 8px 0 !important; border-left: none !important; }

/* Remove item link */
.woocommerce-cart table.shop_table .product-remove a.remove { color: #94a3b8 !important; font-size: 1.4em !important; width: 32px !important; height: 32px !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 8px !important; transition: all 0.2s !important; text-decoration: none !important; background: transparent !important; }
.woocommerce-cart table.shop_table .product-remove a.remove:hover { color: #ef4444 !important; background: #fef2f2 !important; }

/* Description text in product name */
.woocommerce-cart .product-name .description,
.woocommerce-cart .product-name p { color: #64748b !important; font-size: 0.88em !important; margin-top: 4px !important; line-height: 1.5 !important; }

/* Coupon and update section */
.woocommerce-cart table.shop_table td.actions { padding: 20px !important; background: #f8fafc !important; border-top: 2px solid #f1f5f9 !important; }
.woocommerce-cart .coupon input#coupon_code { height: 44px !important; border: 2px solid #e2e8f0 !important; border-radius: 8px !important; padding: 0 14px !important; font-size: 0.95em !important; transition: border-color 0.2s !important; }
.woocommerce-cart .coupon input#coupon_code:focus { border-color: #22c55e !important; outline: none !important; box-shadow: 0 0 0 3px rgba(34,197,94,0.15) !important; }
.woocommerce-cart .coupon button,
.woocommerce-cart .coupon input[type="submit"] { background: #0f172a !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 0 20px !important; height: 44px !important; font-weight: 600 !important; font-size: 0.9em !important; cursor: pointer !important; transition: background 0.2s !important; letter-spacing: 0 !important; }
.woocommerce-cart .coupon button:hover,
.woocommerce-cart .coupon input[type="submit"]:hover { background: #1e293b !important; }
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"] { background: transparent !important; color: #64748b !important; border: 2px solid #e2e8f0 !important; border-radius: 8px !important; padding: 0 20px !important; height: 44px !important; font-weight: 600 !important; font-size: 0.9em !important; cursor: pointer !important; transition: all 0.2s !important; }
.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart input[name="update_cart"]:hover { border-color: #0f172a !important; color: #0f172a !important; }

/* ═══ Cart Totals Sidebar ═══ */
.woocommerce-cart .cart-collaterals { margin-top: 32px !important; }
.woocommerce-cart .cart_totals { background: #fff !important; border-radius: 16px !important; padding: 28px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04) !important; border: none !important; float: right !important; width: 400px !important; max-width: 100% !important; }
.woocommerce-cart .cart_totals h2 { font-size: 1.3em !important; font-weight: 700 !important; color: #0f172a !important; margin-bottom: 20px !important; padding-bottom: 14px !important; border-bottom: 2px solid #f1f5f9 !important; }
.woocommerce-cart .cart_totals table { border: none !important; box-shadow: none !important; }
.woocommerce-cart .cart_totals table th { color: #64748b !important; font-weight: 500 !important; padding: 12px 0 !important; border: none !important; background: transparent !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.95em !important; }
.woocommerce-cart .cart_totals table td { padding: 12px 0 !important; border: none !important; text-align: right !important; background: transparent !important; }
.woocommerce-cart .cart_totals .order-total th { font-weight: 700 !important; color: #0f172a !important; font-size: 1.1em !important; padding-top: 16px !important; border-top: 2px solid #f1f5f9 !important; }
.woocommerce-cart .cart_totals .order-total td { font-weight: 800 !important; color: #0f172a !important; font-size: 1.3em !important; padding-top: 16px !important; border-top: 2px solid #f1f5f9 !important; }
.woocommerce-cart .cart_totals .order-total .amount { color: #0f172a !important; }

/* Proceed to checkout button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .button { display: block !important; width: 100% !important; background: #22c55e !important; color: #fff !important; padding: 16px 24px !important; border-radius: 10px !important; font-size: 1.1em !important; font-weight: 700 !important; text-align: center !important; border: none !important; cursor: pointer !important; transition: all 0.2s !important; letter-spacing: 0.3px !important; margin-top: 20px !important; text-transform: none !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .button:hover { background: #16a34a !important; color: #fff !important; transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(34,197,94,0.3) !important; }

/* ═══ Empty Cart ═══ */
.woocommerce-cart .cart-empty { text-align: center !important; padding: 60px 20px !important; color: #64748b !important; font-size: 1.1em !important; }
.woocommerce-cart .return-to-shop a { display: inline-block !important; background: #22c55e !important; color: #fff !important; padding: 14px 32px !important; border-radius: 8px !important; font-weight: 600 !important; transition: background 0.2s !important; }
.woocommerce-cart .return-to-shop a:hover { background: #16a34a !important; color: #fff !important; }

/* ═══ WooCommerce notices ═══ */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info { border-top-color: #22c55e !important; background: #f0fdf4 !important; color: #166534 !important; border-radius: 10px !important; padding: 14px 20px !important; margin-bottom: 20px !important; }
.woocommerce-cart .woocommerce-error { border-top-color: #ef4444 !important; background: #fef2f2 !important; color: #991b1b !important; border-radius: 10px !important; }

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
  .woocommerce-cart .cart_totals { width: 100% !important; float: none !important; }
  .woocommerce-cart table.shop_table { font-size: 0.9em !important; }
  .woocommerce-cart table.shop_table .product-thumbnail img { width: 60px !important; height: 60px !important; }
  .woocommerce-cart table.shop_table td { padding: 12px !important; }
}

/* ═══ Modern Checkout Page ═══ */
.woocommerce-checkout #left-area { width: 100% !important; float: none !important; }
.woocommerce-checkout #sidebar { display: none !important; }
.woocommerce-checkout .container { max-width: 1100px !important; }
.woocommerce-checkout .main_title { font-size: 2em !important; font-weight: 800 !important; color: #0f172a !important; text-align: center !important; }

/* Checkout form fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea { border: 2px solid #e2e8f0 !important; border-radius: 8px !important; padding: 10px 14px !important; font-size: 0.95em !important; transition: border-color 0.2s !important; }
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus { border-color: #22c55e !important; outline: none !important; box-shadow: 0 0 0 3px rgba(34,197,94,0.15) !important; }

/* Checkout place order button */
.woocommerce-checkout #place_order { background: #22c55e !important; color: #fff !important; border: none !important; border-radius: 10px !important; padding: 16px 32px !important; font-size: 1.1em !important; font-weight: 700 !important; cursor: pointer !important; transition: all 0.2s !important; width: 100% !important; }
.woocommerce-checkout #place_order:hover { background: #16a34a !important; transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(34,197,94,0.3) !important; }

/* Order review table */
.woocommerce-checkout .woocommerce-checkout-review-order-table { border: none !important; border-radius: 12px !important; overflow: hidden !important; box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th { background: #0f172a !important; color: #fff !important; padding: 14px 16px !important; font-size: 0.85em !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table th { border: none !important; border-bottom: 1px solid #f1f5f9 !important; padding: 14px 16px !important; }

/* ═══ Product Pages ═══ */
.single-product .container { max-width: 1100px !important; }
.single-product .product .summary h1.product_title { font-size: 1.8em !important; font-weight: 800 !important; color: #0f172a !important; }
.single-product .product .price { color: #22c55e !important; font-size: 1.6em !important; font-weight: 700 !important; }
.single-product .product .price .amount { color: #22c55e !important; }
.single-product .product .woocommerce-product-details__short-description { color: #475569 !important; line-height: 1.7 !important; font-size: 0.95em !important; }
.single-product .single_add_to_cart_button { background: #22c55e !important; color: #fff !important; border: none !important; border-radius: 10px !important; padding: 14px 32px !important; font-size: 1.05em !important; font-weight: 700 !important; cursor: pointer !important; transition: all 0.2s !important; text-transform: none !important; }
.single-product .single_add_to_cart_button:hover { background: #16a34a !important; transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(34,197,94,0.3) !important; }
.single-product .quantity .qty { width: 60px !important; height: 48px !important; border: 2px solid #e2e8f0 !important; border-radius: 8px !important; text-align: center !important; font-size: 1em !important; font-weight: 600 !important; }
.single-product .quantity .qty:focus { border-color: #22c55e !important; outline: none !important; }
.single-product .woocommerce-tabs { margin-top: 30px !important; }
.single-product .woocommerce-tabs ul.tabs li a { color: #64748b !important; font-weight: 600 !important; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #0f172a !important; }
.single-product .product_meta { color: #64748b !important; font-size: 0.9em !important; }
.single-product .product_meta a { color: #22c55e !important; }
.single-product .product_meta a:hover { color: #16a34a !important; }

/* Product image on single page */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img { border-radius: 16px !important; }

/* ═══ Shop / Category Pages ═══ */
.post-type-archive-product .container { max-width: 1100px !important; }
.tax-product_cat .container { max-width: 1100px !important; }
.woocommerce ul.products li.product a img { border-radius: 12px !important; }
.woocommerce ul.products li.product .price { color: #22c55e !important; font-weight: 700 !important; }
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button { background: #22c55e !important; color: #fff !important; border-radius: 8px !important; font-weight: 600 !important; border: none !important; padding: 10px 20px !important; transition: background 0.2s !important; }
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover { background: #16a34a !important; }