/**
 * ElitePlayTV Pro — WooCommerce Styles
 * Dark IPTV theme override for all WooCommerce pages.
 */

/* ─────────────────────────────────────────────────────────────
   PAGE LAYOUT
──────────────────────────────────────────────────────────── */
.eptv-wc-page { background: var(--bg); color: var(--txt); }

.eptv-wc-hero {
  padding: calc(var(--nav-h, 76px) + 32px) 0 32px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.eptv-wc-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900; margin: 8px 0 0; color: var(--txt);
}
.eptv-wc-subtitle {
  color: var(--txt2); margin: 8px 0 0; font-size: 1rem;
}

.eptv-wc-wrap { padding: 48px 0 80px; }
.eptv-wc-content { width: 100%; }

/* ─────────────────────────────────────────────────────────────
   BREADCRUMB
──────────────────────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-size: .82rem; color: var(--txt3);
  margin-bottom: 12px;
}
.woocommerce-breadcrumb a { color: var(--txt2); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--red); }

/* ─────────────────────────────────────────────────────────────
   CART NAV ICON
──────────────────────────────────────────────────────────── */
.eptv-nav-cart {
  display: flex; align-items: center; gap: 6px;
  color: var(--txt2); text-decoration: none;
  font-size: .88rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--border);
  transition: all .2s;
}
.eptv-nav-cart:hover { border-color: var(--red); color: var(--red); }
.eptv-cart-count {
  background: var(--red); color: #fff;
  border-radius: 999px; padding: 1px 7px;
  font-size: .72rem; font-weight: 800; min-width: 20px;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT LOOP / SHOP
──────────────────────────────────────────────────────────── */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  list-style: none; padding: 0; margin: 0;
}
.woocommerce ul.products li.product {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: all .2s; position: relative;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.woocommerce ul.products li.product img {
  width: 100%; height: 200px; object-fit: cover;
  display: block; transition: opacity .2s;
}
.woocommerce ul.products li.product:hover img { opacity: .9; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem; font-weight: 700; color: var(--txt);
  padding: 16px 16px 4px; margin: 0;
}
.woocommerce ul.products li.product .price {
  color: var(--red); font-size: 1.1rem; font-weight: 800;
  padding: 0 16px 12px; display: block;
}
.woocommerce ul.products li.product .price del { color: var(--txt3); font-size: .88rem; }
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button {
  display: block; margin: 0 16px 16px;
  background: var(--red); color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 20px; font-size: .88rem; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 16px var(--red-glow);
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product button.button:hover {
  background: var(--red2); transform: translateY(-1px);
}
/* Badges */
.woocommerce span.onsale {
  background: var(--red); color: #fff;
  border-radius: 6px; font-size: .72rem; font-weight: 800;
  padding: 4px 10px; top: 12px; left: 12px;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE PRODUCT
──────────────────────────────────────────────────────────── */
.single-product .woocommerce-product-gallery { margin-top: var(--nav-h, 76px); }
.single-product div.product {
  padding-top: calc(var(--nav-h, 76px) + 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
@media (max-width: 768px) {
  .single-product div.product { grid-template-columns: 1fr; padding-top: calc(var(--nav-h,76px) + 16px); }
}

/* Gallery */
.woocommerce-product-gallery__image img {
  border-radius: 14px; border: 1px solid var(--border);
  width: 100%;
}
.flex-control-thumbs li img {
  border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; opacity: .6; transition: all .2s;
}
.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li img:hover { border-color: var(--red); opacity: 1; }

/* Product info */
.single-product .product_title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900; color: var(--txt); margin-bottom: 12px;
}
.single-product .woocommerce-product-rating { margin-bottom: 12px; }
.star-rating span::before { color: #f59e0b; }
.single-product p.price,
.single-product span.price {
  font-size: 2rem; font-weight: 900; color: var(--red);
  margin: 16px 0;
}
.single-product p.price del, .single-product span.price del {
  font-size: 1.2rem; color: var(--txt3);
}
.single-product .woocommerce-product-details__short-description {
  color: var(--txt2); line-height: 1.75; margin-bottom: 24px;
}

/* Add to cart */
.single-product form.cart { margin: 24px 0; }
.single-product form.cart .qty {
  width: 64px; height: 48px; text-align: center;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--txt); border-radius: 8px; font-size: 1rem;
  margin-right: 12px;
}
.single-product form.cart button.single_add_to_cart_button,
.single-product .button.alt {
  background: var(--red); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 36px; font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 6px 24px var(--red-glow);
  text-decoration: none; display: inline-block;
}
.single-product form.cart button.single_add_to_cart_button:hover { background: var(--red2); transform: translateY(-2px); }

/* Tabs */
.woocommerce-tabs ul.tabs {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; gap: 4px; border-bottom: 2px solid var(--border);
}
.woocommerce-tabs ul.tabs li {
  background: var(--bg2); border: 1px solid var(--border);
  border-bottom: none; border-radius: 8px 8px 0 0;
}
.woocommerce-tabs ul.tabs li.active {
  background: var(--bg3); border-color: var(--red); border-bottom-color: var(--bg3);
}
.woocommerce-tabs ul.tabs li a {
  color: var(--txt2); font-size: .88rem; font-weight: 600;
  padding: 10px 20px; display: block; text-decoration: none;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--txt); }
.woocommerce-tabs .panel {
  background: var(--bg2); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 10px 10px;
  padding: 28px; color: var(--txt2); line-height: 1.75;
}
.woocommerce-tabs .panel h2 { color: var(--txt); font-size: 1.2rem; margin: 0 0 16px; }
.woocommerce-tabs .panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.woocommerce-tabs .panel table.shop_attributes th,
.woocommerce-tabs .panel table.shop_attributes td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.woocommerce-tabs .panel table.shop_attributes th { color: var(--txt2); width: 35%; }
.woocommerce-tabs .panel table.shop_attributes td { color: var(--txt); }

/* Related products */
.related h2, .upsells h2 {
  font-size: 1.3rem; font-weight: 800;
  margin: 48px 0 24px; color: var(--txt);
  border-bottom: 2px solid var(--border); padding-bottom: 12px;
}

/* ─────────────────────────────────────────────────────────────
   CART PAGE
──────────────────────────────────────────────────────────── */
/* Cart page gets padding from breadcrumb bar; ensure content doesn't overlap nav */
.woocommerce-cart .woocommerce { padding-top: 16px; }
.woocommerce-cart table.cart {
  width: 100%; border-collapse: collapse;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.woocommerce-cart table.cart th {
  background: var(--bg3); color: var(--txt2);
  padding: 14px 20px; font-size: .82rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-cart table.cart td {
  padding: 20px; border-bottom: 1px solid var(--border);
  color: var(--txt); vertical-align: middle;
}
.woocommerce-cart table.cart td.product-name a {
  color: var(--txt); font-weight: 700; text-decoration: none;
}
.woocommerce-cart table.cart td.product-name a:hover { color: var(--red); }
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal { color: var(--red); font-weight: 700; }
.woocommerce-cart table.cart img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.woocommerce-cart table.cart input[type="number"] {
  width: 60px; padding: 6px 8px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--txt); text-align: center; font-size: .9rem;
}
.woocommerce-cart table.cart .button {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--txt2); border-radius: 7px; padding: 8px 18px;
  cursor: pointer; font-size: .82rem; transition: all .2s;
}
.woocommerce-cart table.cart .button:hover { border-color: var(--red); color: var(--red); }
.woocommerce-cart .cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
.cart_totals {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; min-width: 340px;
}
.cart_totals h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 20px; color: var(--txt); }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  color: var(--txt2); font-size: .9rem;
}
.cart_totals table .order-total th,
.cart_totals table .order-total td {
  color: var(--txt); font-weight: 800; font-size: 1.1rem;
  border-bottom: none; padding-top: 16px;
}
.cart_totals table .order-total td { color: var(--red); }
.wc-proceed-to-checkout .checkout-button {
  display: block; width: 100%;
  background: var(--red); color: #fff;
  border: none; border-radius: 10px; padding: 16px;
  font-size: 1rem; font-weight: 800; text-align: center;
  cursor: pointer; text-decoration: none; margin-top: 20px;
  box-shadow: 0 6px 24px var(--red-glow); transition: all .2s;
}
.wc-proceed-to-checkout .checkout-button:hover { background: var(--red2); transform: translateY(-2px); }
.coupon { display: flex; gap: 10px; margin-bottom: 16px; }
.coupon input[type="text"] {
  flex: 1; padding: 10px 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--txt); font-size: .88rem;
}
.coupon button { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 18px; color: var(--txt2); cursor: pointer; transition: all .2s; font-size: .82rem; }
.coupon button:hover { border-color: var(--red); color: var(--red); }

/* ─────────────────────────────────────────────────────────────
   CHECKOUT — FULL REDESIGN
──────────────────────────────────────────────────────────── */

/* Trust bar */
.eptv-checkout-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 24px;
  padding: calc(var(--nav-h,76px) + 16px) 20px 16px;
  font-size: .8rem; font-weight: 600; color: var(--txt2);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.eptv-checkout-trust span::before { margin-right: 4px; }

/* Main grid */
.eptv-checkout-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 80px; }
.eptv-checkout-form {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding-top: 32px;
}
@media (max-width: 900px) { .eptv-checkout-form { grid-template-columns: 1fr; } }

/* Section card */
.eptv-checkout-section {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  margin-bottom: 20px;
}
.eptv-checkout-section:last-child { margin-bottom: 0; }

/* Heading with step number */
.eptv-checkout-heading {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.1rem; font-weight: 800; color: var(--txt);
  margin: 0 0 8px;
}
.eptv-checkout-step {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 900; flex-shrink: 0;
}
.eptv-checkout-hint { color: var(--txt2); font-size: .82rem; margin: 0 0 20px; }

/* Name row */
.eptv-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .eptv-field-row { grid-template-columns: 1fr; } }

/* Form fields */
.eptv-checkout-fields .form-row { margin-bottom: 14px; }
.eptv-checkout-fields .form-row label,
.woocommerce-checkout .form-row label {
  display: block; font-size: .78rem; font-weight: 700;
  color: var(--txt2); margin-bottom: 6px; text-transform: uppercase;
  letter-spacing: .04em;
}
.eptv-checkout-fields .form-row label .required,
.woocommerce-checkout .form-row label .required { color: var(--red); }
.eptv-checkout-fields input.input-text,
.eptv-checkout-fields select,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select {
  width: 100%; padding: 13px 16px;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--txt); font-size: .95rem;
  transition: all .2s; font-family: inherit; box-sizing: border-box;
}
.eptv-checkout-fields input.input-text:focus,
.woocommerce-checkout .form-row input.input-text:focus {
  outline: none; border-color: var(--red);
  background: rgba(229,9,20,.04);
  box-shadow: 0 0 0 3px rgba(229,9,20,.1);
}
.eptv-checkout-fields input.input-text::placeholder { color: var(--txt3); font-size: .88rem; }
.woocommerce-invalid input.input-text { border-color: var(--red) !important; }

/* Payment section */
#eptv-payment-section .wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
#eptv-payment-section .wc_payment_methods li {
  padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; margin-bottom: 8px; cursor: pointer;
  transition: all .2s; background: var(--bg3);
}
#eptv-payment-section .wc_payment_methods li:has(input:checked),
#eptv-payment-section .wc_payment_methods li.active {
  border-color: var(--red); background: rgba(229,9,20,.06);
}
#eptv-payment-section .wc_payment_methods label {
  display: flex; align-items: center; gap: 10px;
  color: var(--txt) !important; font-size: .9rem !important;
  cursor: pointer; text-transform: none !important;
  letter-spacing: 0 !important; font-weight: 600 !important;
  margin: 0 !important;
}
#eptv-payment-section .payment_box {
  color: var(--txt2); font-size: .82rem; padding: 12px 0 4px;
  line-height: 1.6;
}
/* ── PLACE ORDER BUTTON — covers every WooCommerce selector ── */
#payment #place_order,
.woocommerce-checkout #place_order,
.woocommerce #payment #place_order,
.woocommerce-checkout .place-order .button,
#eptv-payment-section #place_order,
#eptv-payment-section .button.alt,
.woocommerce button#place_order {
  display: block !important;
  width: 100% !important;
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 18px 24px !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all .2s !important;
  box-shadow: 0 8px 28px var(--red-glow) !important;
  letter-spacing: .02em !important;
  margin-top: 16px !important;
  font-family: var(--font, inherit) !important;
  line-height: 1.4 !important;
}
#payment #place_order:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce button#place_order:hover {
  background: var(--red2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px var(--red-glow) !important;
}

/* Privacy notice */
.eptv-privacy-notice {
  font-size: .78rem; color: var(--txt3); line-height: 1.6;
  margin-bottom: 8px;
}
.eptv-privacy-link { color: var(--txt2); text-decoration: underline; }

/* Place order wrapper */
.place-order { margin-top: 8px; }

/* Payment gateway logos */
.wc_payment_methods label img {
  max-height: 24px; vertical-align: middle;
  margin-left: 8px; filter: brightness(1);
}

/* Remove default WooCommerce payment box border */
#payment .payment_box {
  background: rgba(255,255,255,.03) !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 4px;
  color: var(--txt2);
  font-size: .85rem;
}
/* Stripe/PayPal input fields inside payment box */
#payment .payment_box input,
#payment .payment_box select {
  background: var(--bg3) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--txt) !important;
  padding: 10px 12px !important;
}
.eptv-checkout-secure {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 14px;
  font-size: .75rem; color: var(--txt3);
}

/* ── RIGHT COLUMN — Order Summary ── */
.eptv-checkout-right { position: sticky; top: calc(var(--nav-h,76px) + 16px); align-self: start; }
.eptv-order-summary {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}

/* Order items */
.eptv-order-items { margin-bottom: 16px; }
.eptv-order-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.eptv-order-item:last-child { border-bottom: none; }
.eptv-order-item-info { display: flex; align-items: center; gap: 12px; }
.eptv-order-item-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
.eptv-order-item-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; border: 1px solid var(--border); }
.eptv-order-item-name { font-weight: 700; font-size: .9rem; color: var(--txt); margin-bottom: 2px; }
.eptv-order-item-qty { font-size: .75rem; color: var(--txt3); }
.eptv-order-item-price { color: var(--red); font-weight: 800; font-size: 1rem; white-space: nowrap; }

/* Coupon */
.eptv-coupon-wrap { margin-bottom: 16px; }
.eptv-coupon-toggle {
  background: none; border: 1px dashed var(--border);
  color: var(--txt2); font-size: .8rem; padding: 8px 14px;
  border-radius: 8px; cursor: pointer; width: 100%;
  transition: all .2s; text-align: left;
}
.eptv-coupon-toggle:hover { border-color: var(--red); color: var(--red); }
.eptv-coupon-box { margin-top: 10px; }
.eptv-coupon-row { display: flex; gap: 8px; }
.eptv-coupon-input {
  flex: 1; padding: 10px 12px; background: var(--bg3);
  border: 1.5px solid var(--border); border-radius: 8px;
  color: var(--txt); font-size: .85rem; font-family: inherit;
}
.eptv-coupon-input:focus { outline: none; border-color: var(--red); }
.eptv-coupon-btn {
  background: var(--red); color: #fff; border: none;
  border-radius: 8px; padding: 10px 16px; font-size: .82rem;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.eptv-coupon-btn:hover { background: var(--red2); }

/* Totals */
.eptv-order-totals { border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 20px; }
.eptv-order-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; font-size: .88rem; color: var(--txt2);
}
.eptv-order-row span:last-child { color: var(--txt); font-weight: 600; }
.eptv-order-discount .eptv-discount-amt { color: #22c55e; font-weight: 700; }
.eptv-order-total {
  border-top: 2px solid var(--border);
  margin-top: 8px; padding-top: 14px;
  font-size: 1.1rem; font-weight: 900;
}
.eptv-order-total span:first-child { color: var(--txt); }
.eptv-order-total span:last-child { color: var(--red); font-size: 1.3rem; }

/* What you get */
.eptv-checkout-features {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.eptv-feat-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--txt2); }
.eptv-feat-item span { font-size: 1rem; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   MY ACCOUNT
──────────────────────────────────────────────────────────── */
.woocommerce-MyAccount-navigation {
  width: 220px; float: left; margin-right: 40px;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none; padding: 0; margin: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--border);
}
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a {
  display: block; padding: 12px 18px;
  color: var(--txt2); font-size: .88rem; text-decoration: none;
  transition: all .2s;
}
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
  background: rgba(229,9,20,.08); color: var(--red);
  border-left: 3px solid var(--red);
}
.woocommerce-MyAccount-content {
  overflow: hidden;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  color: var(--txt2); line-height: 1.75;
}
.woocommerce-MyAccount-content p { margin: 0 0 12px; }
.woocommerce-MyAccount-content a { color: var(--red); }

/* Orders table in account */
.woocommerce-orders-table {
  width: 100%; border-collapse: collapse;
}
.woocommerce-orders-table th {
  background: var(--bg3); color: var(--txt2);
  padding: 10px 14px; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid var(--border); text-align: left;
}
.woocommerce-orders-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  color: var(--txt); font-size: .88rem;
}
.woocommerce-orders-table .woocommerce-button {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 14px; font-size: .78rem;
  color: var(--txt2); text-decoration: none; transition: all .2s;
}
.woocommerce-orders-table .woocommerce-button:hover { border-color: var(--red); color: var(--red); }

/* ─────────────────────────────────────────────────────────────
   NOTICES / ALERTS
──────────────────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 10px; padding: 14px 20px;
  margin-bottom: 24px; font-size: .9rem;
  display: flex; align-items: center; gap: 12px;
  list-style: none;
}
.woocommerce-message {
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
  color: #22c55e;
}
.woocommerce-error {
  background: rgba(229,9,20,.1); border: 1px solid rgba(229,9,20,.3);
  color: var(--red);
}
.woocommerce-info {
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3);
  color: #60a5fa;
}
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button {
  background: var(--red); color: #fff; border-radius: 7px;
  padding: 7px 16px; font-size: .82rem; font-weight: 700;
  text-decoration: none; margin-left: auto;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   ORDER RECEIVED (Thank You)
──────────────────────────────────────────────────────────── */
.woocommerce-order {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px; text-align: center;
  max-width: 640px; margin: 0 auto;
}
.woocommerce-order p.lead { font-size: 1.1rem; color: var(--txt2); }
.woocommerce-order-overview {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center; margin: 28px 0;
  list-style: none; padding: 0;
}
.woocommerce-order-overview li {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 20px; font-size: .88rem;
  color: var(--txt2); text-align: center;
}
.woocommerce-order-overview li strong { display: block; color: var(--txt); font-size: 1rem; margin-bottom: 4px; }
.woocommerce-thankyou-order-details { margin-top: 8px; }
.woocommerce-thankyou-order-received { font-size: 1.5rem; font-weight: 900; color: var(--txt); margin-bottom: 8px; }

/* ─────────────────────────────────────────────────────────────
   FORMS (login/register)
──────────────────────────────────────────────────────────── */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-form-login,
.woocommerce-form-register {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; max-width: 480px;
}
.woocommerce-form__label-for-checkbox { color: var(--txt2); font-size: .88rem; }

/* ─────────────────────────────────────────────────────────────
   MISC / GLOBAL
──────────────────────────────────────────────────────────── */
/* Remove WC default wrappers we don't use */
.woocommerce-page #primary,
.woocommerce #primary { max-width: none; padding: 0; }

/* WC loading spinner color */
.blockUI.blockOverlay::before { border-color: var(--red) transparent transparent !important; }

/* Result count & ordering */
.woocommerce-result-count { color: var(--txt2); font-size: .88rem; }
.woocommerce-ordering select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--txt2); border-radius: 8px; padding: 8px 14px;
  font-size: .85rem; cursor: pointer;
}
.woocommerce-ordering select:focus { outline: none; border-color: var(--red); }

/* Pagination */
.woocommerce-pagination ul { list-style: none; padding: 0; display: flex; gap: 6px; margin-top: 40px; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--txt2); font-size: .88rem; text-decoration: none;
  transition: all .2s;
}
.woocommerce-pagination ul li a:hover { border-color: var(--red); color: var(--red); }
.woocommerce-pagination ul li span.current { background: var(--red); border-color: var(--red); color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .woocommerce-MyAccount-navigation { width: 100%; float: none; margin: 0 0 20px; }
  .cart_totals { min-width: unset; width: 100%; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
