/*
Theme Name: FusionTech3D
Template: astra
Version: 1.0
Description: FusionTech3D custom child theme
*/

/* =============================================
   GLOBAL / VARIABLES
   ============================================= */
:root {
  --ft-black:      #0a0a0a;
  --ft-dark:       #111318;
  --ft-card:       #1a1d24;
  --ft-border:     #2a2d36;
  --ft-accent:     #ff6b00;
  --ft-accent2:    #ff8c33;
  --ft-text:       #e8e8e8;
  --ft-muted:      #888;
  --ft-white:      #ffffff;
  --ft-radius:     12px;
  --ft-font:       'Inter', sans-serif;
}

/* =============================================
   BASE
   ============================================= */
body {
  background-color: var(--ft-black) !important;
  color: var(--ft-text) !important;
  font-family: var(--ft-font) !important;
}

a { color: var(--ft-accent); }
a:hover { color: var(--ft-accent2); }

/* =============================================
   HEADER
   ============================================= */
.site-header, .ast-header-break-point .main-header-bar,
.main-header-bar {
  background-color: rgba(10,10,10,0.97) !important;
  border-bottom: 1px solid var(--ft-border) !important;
  backdrop-filter: blur(10px);
}

.ast-site-identity .site-title a,
.site-title a {
  color: var(--ft-white) !important;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.main-header-menu .menu-item a,
.main-navigation .menu-item a {
  color: var(--ft-text) !important;
  font-weight: 500;
  transition: color 0.2s;
}
.main-header-menu .menu-item a:hover,
.main-navigation .menu-item a:hover {
  color: var(--ft-accent) !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.ft-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111318 50%, #1a0a00 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ft-border);
}
.ft-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.ft-hero-badge {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  color: var(--ft-accent);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ft-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--ft-white);
  line-height: 1.1;
  margin: 0 0 20px;
}
.ft-hero h1 span { color: var(--ft-accent); }
.ft-hero p {
  font-size: 1.15rem;
  color: var(--ft-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.ft-btn {
  display: inline-block;
  background: var(--ft-accent);
  color: var(--ft-white) !important;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  margin: 6px;
}
.ft-btn:hover {
  background: var(--ft-accent2) !important;
  transform: translateY(-2px);
  color: var(--ft-white) !important;
}
.ft-btn-outline {
  background: transparent;
  border: 2px solid var(--ft-border);
  color: var(--ft-text) !important;
}
.ft-btn-outline:hover {
  background: var(--ft-card) !important;
  border-color: var(--ft-accent);
  color: var(--ft-white) !important;
}

/* =============================================
   FEATURES STRIP
   ============================================= */
.ft-features {
  background: var(--ft-card);
  border-top: 1px solid var(--ft-border);
  border-bottom: 1px solid var(--ft-border);
  padding: 40px 20px;
}
.ft-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.ft-feature-item .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.ft-feature-item h4 {
  color: var(--ft-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.ft-feature-item p {
  color: var(--ft-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.ft-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.ft-section-header {
  text-align: center;
  margin-bottom: 50px;
}
.ft-section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ft-white);
  margin: 0 0 12px;
}
.ft-section-header p {
  color: var(--ft-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* =============================================
   CATEGORIES GRID
   ============================================= */
.ft-categories {
  background: var(--ft-dark);
  padding: 80px 20px;
}
.ft-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.ft-cat-card {
  background: var(--ft-card);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 28px 16px;
  text-align: center;
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.ft-cat-card:hover {
  border-color: var(--ft-accent);
  transform: translateY(-3px);
}
.ft-cat-card .cat-icon { font-size: 2rem; margin-bottom: 10px; }
.ft-cat-card span {
  display: block;
  color: var(--ft-text);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =============================================
   WOOCOMMERCE PRODUCT CARDS
   ============================================= */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--ft-card) !important;
  border: 1px solid var(--ft-border) !important;
  border-radius: var(--ft-radius) !important;
  padding: 0 !important;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  border-color: var(--ft-accent) !important;
  transform: translateY(-4px) !important;
}
.woocommerce ul.products li.product img {
  border-radius: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ft-white) !important;
  font-weight: 700 !important;
  padding: 14px 16px 4px !important;
  font-size: 0.95rem !important;
}
.woocommerce ul.products li.product .price {
  color: var(--ft-accent) !important;
  font-weight: 800 !important;
  padding: 0 16px 14px !important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: var(--ft-accent) !important;
  color: var(--ft-white) !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  text-align: center !important;
  padding: 12px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--ft-accent2) !important;
}

/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */
.woocommerce div.product {
  background: transparent;
}
.woocommerce div.product .product_title {
  color: var(--ft-white) !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  font-weight: 900 !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ft-accent) !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--ft-muted) !important;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce div.product form.cart .button {
  background: var(--ft-accent) !important;
  color: var(--ft-white) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border: none !important;
  transition: background 0.2s !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--ft-accent2) !important;
}

/* =============================================
   CART & CHECKOUT
   ============================================= */
.woocommerce table.shop_table {
  background: var(--ft-card) !important;
  border: 1px solid var(--ft-border) !important;
  border-radius: var(--ft-radius) !important;
  color: var(--ft-text) !important;
}
.woocommerce table.shop_table th {
  background: var(--ft-dark) !important;
  color: var(--ft-white) !important;
  border-color: var(--ft-border) !important;
}
.woocommerce table.shop_table td {
  border-color: var(--ft-border) !important;
  color: var(--ft-text) !important;
}

/* =============================================
   FORMS / INPUTS
   ============================================= */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
input[type="text"], input[type="email"],
input[type="password"], textarea, select {
  background: var(--ft-card) !important;
  border: 1px solid var(--ft-border) !important;
  color: var(--ft-text) !important;
  border-radius: 8px !important;
}
.woocommerce form .form-row label,
label { color: var(--ft-text) !important; }

/* =============================================
   CUSTOM PRINT PAGE
   ============================================= */
.ft-custom-print {
  background: var(--ft-dark);
  padding: 80px 20px;
}
.ft-custom-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 50px;
}
.ft-step-card {
  background: var(--ft-card);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 32px 24px;
  text-align: center;
}
.ft-step-card .step-num {
  width: 48px; height: 48px;
  background: var(--ft-accent);
  color: var(--ft-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem;
  margin: 0 auto 16px;
}
.ft-step-card h4 { color: var(--ft-white); font-weight: 700; margin: 0 0 8px; }
.ft-step-card p  { color: var(--ft-muted); font-size: 0.9rem; margin: 0; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer, .footer-widget-area, .footer-bar-area {
  background: var(--ft-dark) !important;
  border-top: 1px solid var(--ft-border) !important;
  color: var(--ft-muted) !important;
}
.site-footer a { color: var(--ft-muted) !important; }
.site-footer a:hover { color: var(--ft-accent) !important; }

/* =============================================
   MISC
   ============================================= */
.woocommerce-breadcrumb { color: var(--ft-muted) !important; }
.woocommerce-breadcrumb a { color: var(--ft-muted) !important; }
h1,h2,h3,h4,h5,h6 { color: var(--ft-white) !important; }
p { color: var(--ft-text); }
.ast-container { max-width: 1200px !important; }
/* =============================================
   CHECKOUT & CART ENHANCEMENTS
   ============================================= */

/* Checkout page hero strip */

/* =============================================
   CHECKOUT/CART - HORIZONTAL TOP HEADER BAR
   ============================================= */
.ft-checkout-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 40px !important;
    background: linear-gradient(135deg, #0a0a0a, #111318) !important;
    border-bottom: 1px solid #2a2d36 !important;
    text-align: left !important;
    gap: 24px !important;
}
.ft-checkout-header h1 {
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 !important;
    white-space: nowrap !important;
}
.ft-checkout-header p {
    color: #555 !important;
    font-size: 0.78rem !important;
    margin: 4px 0 0 !important;
}
.ft-checkout-header-left { flex-shrink: 0; }

.ft-checkout-steps {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0 !important;
}
.ft-step-pill {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #444 !important;
    background: transparent !important;
    white-space: nowrap !important;
}
.ft-step-pill.active {
    color: #ff6b00 !important;
    background: rgba(255,107,0,0.08) !important;
    border-radius: 8px !important;
}
.ft-step-pill.done { color: #4caf50 !important; }
.ft-step-pill .num {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #2a2d36 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    flex-shrink: 0 !important;
}
.ft-step-pill.active .num { background: #ff6b00 !important; color: #fff !important; }
.ft-step-pill.done .num   { background: #4caf50 !important; color: #fff !important; }
.ft-step-divider {
    color: #2a2d36 !important;
    font-size: 1rem !important;
    padding: 0 2px !important;
}

/* =============================================
   CHECKOUT - MODERN LAYOUT
   ============================================= */

/* Hide ship to different address entirely */
.woocommerce-shipping-fields,
#ship-to-different-address,
.shipping_address { display: none !important; }

.woocommerce-checkout .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 32px !important;
    align-items: start !important;
}
.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 32px !important;
}
.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    background: transparent !important;
    border: none !important;
}
.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    position: sticky !important;
    top: 20px !important;
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    align-self: start !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #2a2d36 !important;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
}
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_phone_field { grid-column: 1 / -1 !important; }

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s !important;
    width: 100% !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #ff6b00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.12) !important;
}
.woocommerce-checkout .form-row label {
    color: #888 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.woocommerce-checkout .form-row .required { color: #ff6b00 !important; }

/* Order review table */
.woocommerce-checkout #order_review h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #2a2d36 !important;
}
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-bottom: 1px solid #2a2d36 !important;
    padding: 10px 0 !important;
    font-size: 0.88rem !important;
    color: #e8e8e8 !important;
}
.woocommerce-checkout-review-order-table thead th {
    color: #555 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.woocommerce-checkout-review-order-table .product-total { text-align: right !important; }
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th {
    font-size: 0.85rem !important; color: #888 !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout-review-order-table tfoot .order-total th {
    color: #fff !important; font-size: 1rem !important; font-weight: 800 !important;
    border-top: 2px solid #2a2d36 !important; border-bottom: none !important; padding-top: 14px !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total .woocommerce-Price-amount {
    color: #ff6b00 !important; font-size: 1.15rem !important;
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals .woocommerce-Price-amount {
    color: #ff6b00 !important; font-weight: 700 !important;
}

/* Payment section */
#payment { background: transparent !important; border: none !important; margin-top: 20px !important; }
#payment ul.payment_methods {
    list-style: none !important; padding: 0 !important; margin: 0 0 16px !important;
    border-bottom: 1px solid #2a2d36 !important;
}
#payment ul.payment_methods li {
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    padding: 14px 16px !important;
    list-style: none !important;
    transition: border-color 0.2s !important;
}
#payment ul.payment_methods li:has(input:checked) { border-color: #ff6b00 !important; }
#payment ul.payment_methods li label { color: #e8e8e8 !important; font-weight: 600 !important; }
#payment .payment_box {
    background: #0d0f13 !important; border-radius: 0 0 8px 8px !important;
    padding: 12px 16px !important; color: #888 !important; font-size: 0.84rem !important;
}
#payment .place-order { padding: 0 !important; background: transparent !important; margin-top: 20px !important; }
#place_order {
    background: linear-gradient(135deg, #ff6b00, #ff8c33) !important;
    color: #fff !important; font-size: 1rem !important; font-weight: 800 !important;
    padding: 16px !important; width: 100% !important; border-radius: 10px !important;
    border: none !important; cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(255,107,0,0.3) !important; transition: all 0.2s !important;
}
#place_order:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 28px rgba(255,107,0,0.45) !important; }

/* Trust badges */
.ft-trust-badges {
    display: flex !important; justify-content: center !important;
    flex-wrap: wrap !important; gap: 16px !important;
    margin-top: 16px !important; padding-top: 16px !important;
    border-top: 1px solid #2a2d36 !important;
}
.ft-trust-badge {
    display: flex !important; align-items: center !important;
    gap: 5px !important; font-size: 0.75rem !important; color: #555 !important;
}

/* Error / success notices */
.woocommerce-error {
    background: rgba(255,60,60,0.1) !important; border-left: 3px solid #ff3c3c !important;
    border-radius: 8px !important; color: #ff8080 !important;
    padding: 12px 16px !important; list-style: none !important;
}
.woocommerce-message {
    background: rgba(76,175,80,0.1) !important; border-left: 3px solid #4caf50 !important;
    border-radius: 8px !important; color: #81c784 !important;
}

/* =============================================
   BOXNOW - branded shipping row
   ============================================= */
.woocommerce-shipping-methods { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-shipping-methods li {
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin: 8px 0 !important;
    list-style: none !important;
}
.woocommerce-shipping-methods li:has(input[id*="box_now"]),
.woocommerce-shipping-methods li:has(input[id*="boxnow"]) {
    border-color: #ff6b00 !important;
    background: linear-gradient(135deg, #1e1810, #1a1510) !important;
}
.woocommerce-shipping-methods li label {
    color: #e8e8e8 !important; font-weight: 600 !important; font-size: 0.9rem !important;
}
.woocommerce-shipping-methods li .woocommerce-Price-amount {
    color: #ff6b00 !important; font-weight: 800 !important;
}
.woocommerce-shipping-totals .woocommerce-Price-amount { color: #ff6b00 !important; font-weight: 700 !important; }
.order-total .woocommerce-Price-amount { color: #ff6b00 !important; font-size: 1.2rem !important; font-weight: 900 !important; }

/* =============================================
   REVOLUT - branded payment option
   ============================================= */
#payment ul.payment_methods li[class*="revolut"] {
    border-left: 3px solid #333 !important;
    background: linear-gradient(135deg, #16181f, #13151b) !important;
}
#payment ul.payment_methods li[class*="revolut"]:has(input:checked) {
    border-color: #fff !important;
}

/* =============================================
   CART PAGE
   ============================================= */
.woocommerce-cart .woocommerce { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.cart_totals {
    background: #1a1d24 !important; border: 1px solid #2a2d36 !important;
    border-radius: 12px !important; padding: 24px !important;
}
.cart_totals h2 { color: #fff !important; font-size: 1.1rem !important; font-weight: 700 !important; margin-bottom: 16px !important; }
.cart_totals .wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #ff6b00, #ff8c33) !important;
    font-weight: 800 !important; font-size: 1rem !important;
    border-radius: 8px !important; padding: 14px !important;
    box-shadow: 0 4px 16px rgba(255,107,0,0.3) !important;
}
.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 24px rgba(255,107,0,0.45) !important;
}
.cart_totals table td, .cart_totals table th { border-color: #2a2d36 !important; color: #e8e8e8 !important; }
.woocommerce .coupon .input-text {
    background: #1a1d24 !important; border: 1px solid #2a2d36 !important;
    color: #e8e8e8 !important; border-radius: 8px 0 0 8px !important;
}
.shipping-calculator-button { color: #ff6b00 !important; }

/* =============================================
   BOXNOW BUTTON
   ============================================= */
.boxnow-open-map-button, #boxnow-open-map, .boxnow_button,
[class*="boxnow"][class*="button"], [id*="boxnow"][id*="button"] {
    background: #ff6b00 !important; color: #fff !important;
    border: none !important; border-radius: 8px !important;
    padding: 12px 24px !important; font-weight: 700 !important;
    cursor: pointer !important; transition: background 0.2s !important;
    width: 100% !important; text-align: center !important;
    display: block !important; margin-top: 10px !important;
}
.boxnow-selected-locker, #boxnow-selected-locker, [class*="boxnow"][class*="selected"] {
    background: #1a1d24 !important; border: 1px solid #4caf50 !important;
    border-radius: 8px !important; padding: 12px 16px !important;
    color: #4caf50 !important; font-weight: 600 !important;
    font-size: 0.9rem !important; margin-top: 10px !important;
}
.ft-boxnow-info {
    background: linear-gradient(135deg, #1a1d24, #111318);
    border: 1px solid #ff6b00; border-radius: 12px;
    padding: 20px 24px; margin: 20px 0;
    display: flex; align-items: flex-start; gap: 16px;
}
.ft-boxnow-info .bn-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.ft-boxnow-info h4 { color: #ff6b00; font-size: 0.95rem; font-weight: 700; margin: 0 0 4px; }
.ft-boxnow-info p  { color: #888; font-size: 0.85rem; margin: 0; line-height: 1.6; }

/* =============================================
   GIFT CARD - steps centering
   ============================================= */
.ft-giftcard-steps {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 800px !important;
    margin: 0 auto 50px !important;
    justify-items: center !important;
}

/* =============================================
   THANK YOU PAGE
   ============================================= */
.woocommerce-order {
    background: #1a1d24; border: 1px solid #2a2d36;
    border-radius: 12px; padding: 40px; max-width: 700px; margin: 40px auto;
}
.woocommerce-thankyou-order-received { color: #4caf50 !important; font-weight: 700 !important; font-size: 1.2rem !important; }

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout { grid-template-columns: 1fr !important; }
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review { grid-column: 1 !important; position: static !important; grid-row: auto !important; }
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr !important; }
    .woocommerce-checkout .form-row-wide { grid-column: 1 !important; }
    .ft-giftcard-steps { grid-template-columns: 1fr !important; }
    .ft-checkout-header { flex-direction: column !important; align-items: flex-start !important; padding: 20px !important; }
    .ft-checkout-steps { flex-wrap: wrap !important; }
}

/* =============================================
   CHECKOUT LAYOUT - FULL OVERRIDE
   High specificity to beat Astra + WC defaults
   ============================================= */

/* Page content area - remove Astra padding */
.woocommerce-checkout .entry-content,
.woocommerce-checkout .site-content,
.woocommerce-checkout #primary,
.woocommerce-checkout #content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
.woocommerce-checkout .ast-container,
.woocommerce-checkout .container,
.woocommerce-checkout .entry-content > .woocommerce {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    width: 100% !important;
}

/* Force two-column grid on the checkout form */
body.woocommerce-checkout form.woocommerce-checkout,
body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    grid-template-areas:
        "billing  summary"
        "billing  summary" !important;
    gap: 28px !important;
    align-items: start !important;
}

/* Left: billing details */
body.woocommerce-checkout form.checkout #customer_details {
    grid-area: billing !important;
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 32px !important;
    min-width: 0 !important;
}

/* Right: order review heading */
body.woocommerce-checkout form.checkout #order_review_heading {
    display: none !important; /* heading is inside #order_review already */
}

/* Right: order summary */
body.woocommerce-checkout form.checkout #order_review {
    grid-area: summary !important;
    position: sticky !important;
    top: 24px !important;
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    min-width: 0 !important;
}

/* Billing fields section title */
body.woocommerce-checkout .woocommerce-billing-fields > h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #2a2d36 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
body.woocommerce-checkout .woocommerce-billing-fields > h3::before { content: '📋 '; }

/* Billing field grid - 2 per row */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
}
body.woocommerce-checkout #billing_first_name_field { grid-column: 1 !important; }
body.woocommerce-checkout #billing_last_name_field  { grid-column: 2 !important; }
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field { grid-column: 1 / -1 !important; }

/* Inputs */
body.woocommerce-checkout .form-row {
    padding: 0 !important;
    margin-bottom: 14px !important;
}
body.woocommerce-checkout .form-row label {
    color: #666 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 5px !important;
    display: block !important;
}
body.woocommerce-checkout .form-row .required { color: #ff6b00 !important; }
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row select {
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
    padding: 11px 14px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row select:focus {
    border-color: #ff6b00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.12) !important;
}
body.woocommerce-checkout select option { background: #111318 !important; color: #e8e8e8 !important; }

/* Additional notes */
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin: 20px 0 10px !important;
    padding-top: 20px !important;
    border-top: 1px solid #2a2d36 !important;
}
body.woocommerce-checkout .woocommerce-additional-fields textarea {
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
    padding: 12px 14px !important;
    width: 100% !important;
    min-height: 80px !important;
    font-size: 0.9rem !important;
}

/* =============================================
   ORDER REVIEW (right column)
   ============================================= */

/* Heading inside order review */
body.woocommerce-checkout #order_review > h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #2a2d36 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
body.woocommerce-checkout #order_review > h3::before { content: '🛍️ '; }

/* Table */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 0 8px !important;
    font-size: 0.87rem !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 9px 4px !important;
    border-bottom: 1px solid #2a2d36 !important;
    color: #e8e8e8 !important;
    vertical-align: middle !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    color: #555 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total { text-align: right !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr th {
    color: #888 !important; font-size: 0.85rem !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
    color: #fff !important; font-size: 1.05rem !important; font-weight: 800 !important;
    border-top: 2px solid #2a2d36 !important; border-bottom: none !important; padding-top: 14px !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total .woocommerce-Price-amount {
    color: #ff6b00 !important; font-size: 1.15rem !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals .woocommerce-Price-amount {
    color: #ff6b00 !important; font-weight: 700 !important;
}

/* =============================================
   SHIPPING METHODS (BoxNow locker) - BIGGER
   ============================================= */
body.woocommerce-checkout #shipping_method { list-style: none !important; padding: 0 !important; margin: 8px 0 !important; }
body.woocommerce-checkout #shipping_method li {
    background: linear-gradient(135deg, #1e1810, #1a1510) !important;
    border: 2px solid #ff6b00 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    list-style: none !important;
}
body.woocommerce-checkout #shipping_method li label {
    color: #e8e8e8 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
}
body.woocommerce-checkout #shipping_method li label::before { content: '📦'; font-size: 1.3rem; }
body.woocommerce-checkout #shipping_method .woocommerce-Price-amount {
    color: #ff6b00 !important; font-weight: 800 !important;
}

/* BoxNow locker picker button - VISIBLE & BIG */
body.woocommerce-checkout .boxnow-locker-picker,
body.woocommerce-checkout .boxnow_delivery_locker_selector,
body.woocommerce-checkout [class*="boxnow"][class*="select"],
body.woocommerce-checkout [class*="boxnow"][class*="picker"],
body.woocommerce-checkout [class*="boxnow"][class*="map"],
body.woocommerce-checkout #boxnow_locker_selector,
body.woocommerce-checkout .boxnow-open-map-button,
body.woocommerce-checkout #boxnow-open-map,
body.woocommerce-checkout button[class*="boxnow"],
body.woocommerce-checkout a[class*="boxnow"],
body.woocommerce-checkout input[class*="boxnow"][type="button"],
body.woocommerce-checkout .boxnow_button {
    display: block !important;
    width: 100% !important;
    background: #ff6b00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    transition: background 0.2s !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}
body.woocommerce-checkout .boxnow-open-map-button:hover,
body.woocommerce-checkout #boxnow-open-map:hover { background: #ff8c33 !important; }

/* BoxNow locker selected confirmation */
body.woocommerce-checkout [class*="boxnow"][class*="selected"],
body.woocommerce-checkout #boxnow_selected_locker,
body.woocommerce-checkout .boxnow-selected-locker {
    background: rgba(76,175,80,0.1) !important;
    border: 1px solid #4caf50 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #81c784 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    display: block !important;
}

/* BoxNow error message */
body.woocommerce-checkout [class*="boxnow"][class*="error"],
body.woocommerce-checkout [class*="boxnow"][class*="notice"] {
    color: #ff8080 !important;
    font-size: 0.85rem !important;
    margin-top: 6px !important;
}

/* =============================================
   PAYMENT METHODS - FULL SIZE
   ============================================= */
body.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    border-radius: 0 !important;
}
body.woocommerce-checkout #payment > h3 {
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #2a2d36 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
body.woocommerce-checkout #payment > h3::before { content: '💳 '; }

body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    border: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
    background: #111318 !important;
    border: 2px solid #2a2d36 !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    padding: 16px 18px !important;
    list-style: none !important;
    transition: border-color 0.2s !important;
    cursor: pointer !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:hover { border-color: #3a3d44 !important; }
body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: #ff6b00 !important; }
body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    width: 18px !important; height: 18px !important; cursor: pointer !important; accent-color: #ff6b00 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
    color: #e8e8e8 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    user-select: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 28px !important;
    width: auto !important;
}
body.woocommerce-checkout #payment .payment_box {
    background: #0d0f13 !important;
    border-radius: 0 0 8px 8px !important;
    padding: 14px 18px !important;
    color: #888 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-top: -4px !important;
}
body.woocommerce-checkout #payment .payment_box * { color: #888 !important; font-size: 0.88rem !important; }
body.woocommerce-checkout #payment .payment_box input,
body.woocommerce-checkout #payment .payment_box select {
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 6px !important;
    color: #e8e8e8 !important;
    padding: 10px 12px !important;
    font-size: 0.88rem !important;
    width: 100% !important;
}

/* Place order */
body.woocommerce-checkout #payment .place-order {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
}
body.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #ff6b00, #ff8c33) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    padding: 17px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 20px rgba(255,107,0,0.3) !important;
    transition: all 0.2s !important;
    text-align: center !important;
}
body.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 28px rgba(255,107,0,0.5) !important;
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 860px) {
    body.woocommerce-checkout form.woocommerce-checkout,
    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        grid-template-areas: "billing" "summary" !important;
    }
    body.woocommerce-checkout form.checkout #order_review {
        position: static !important;
    }
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field { grid-column: 1 !important; }
}
/* =============================================
   BOXNOW WIDGET - precise alignment fix
   ============================================= */

/* The shipping method list item that contains BoxNow */
body.woocommerce-checkout #shipping_method li,
body.woocommerce-cart .woocommerce-shipping-methods li {
    padding: 18px 20px 18px 20px !important;
    box-sizing: border-box !important;
}

/* BoxNow button - override inline margin-left and color */
#box_now_delivery_button,
#box_now_delivery_button_blocks {
    display: block !important;
    width: 100% !important;
    background-color: #ff6b00 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin: 12px 0 0 0 !important;  /* remove the 5px left margin */
    box-sizing: border-box !important;
    box-shadow: 0 2px 10px rgba(255,107,0,0.25) !important;
    transition: background 0.2s, transform 0.2s !important;
}
#box_now_delivery_button:hover,
#box_now_delivery_button_blocks:hover {
    background-color: #ff8c33 !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* Selected locker details box - full width, dark themed */
#box_now_selected_locker_details,
#box_now_selected_locker_details_blocks {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: rgba(76,175,80,0.08) !important;
    border: 2px solid #4caf50 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    margin-top: 12px !important;
    font-size: 0.88rem !important;
    color: #81c784 !important;
    overflow: auto !important;
    max-height: 200px !important;
}
.locker-title { color: #4caf50 !important; font-weight: 600 !important; margin: 2px 0 !important; }
.locker-detail { color: #888 !important; font-size: 0.82rem !important; margin: 2px 0 !important; }

/* Locker info wrapper */
#locker-info { margin-top: 0 !important; font-family: inherit !important; }

/* Shipping label + price row inside the li */
body.woocommerce-checkout #shipping_method li label,
body.woocommerce-cart .woocommerce-shipping-methods li label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #e8e8e8 !important;
    cursor: pointer !important;
}
/* =============================================
   FORCE FULL WIDTH - override Astra container
   ============================================= */

/* Make the primary content area full width on checkout/cart */
body.woocommerce-checkout #primary,
body.woocommerce-checkout #main,
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout article,
body.woocommerce-checkout .hentry,
body.woocommerce-cart #primary,
body.woocommerce-cart #main,
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .ast-container,
body.woocommerce-cart .entry-content,
body.woocommerce-cart article,
body.woocommerce-cart .hentry {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove sidebar on checkout/cart */
body.woocommerce-checkout #secondary,
body.woocommerce-cart #secondary,
body.woocommerce-checkout .widget-area,
body.woocommerce-cart .widget-area {
    display: none !important;
}

/* The actual WooCommerce div inside entry-content */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-cart .entry-content > .woocommerce {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 24px 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =============================================
   CHECKOUT FORM - TWO COLUMN (re-declared with max specificity)
   ============================================= */
body.woocommerce-checkout .woocommerce > form.checkout,
body.woocommerce-checkout .woocommerce form.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    grid-template-rows: auto !important;
    column-gap: 28px !important;
    row-gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
}

body.woocommerce-checkout .woocommerce > form.checkout > #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
body.woocommerce-checkout .woocommerce > form.checkout > #order_review_heading {
    display: none !important;
}
body.woocommerce-checkout .woocommerce > form.checkout > #order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: sticky !important;
    top: 20px !important;
    align-self: start !important;
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

/* Billing details card */
body.woocommerce-checkout #customer_details {
    background: #1a1d24 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-sizing: border-box !important;
}

/* Billing field two-col grid */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 16px !important;
}
body.woocommerce-checkout #billing_first_name_field { order: 1; grid-column: 1 !important; }
body.woocommerce-checkout #billing_last_name_field  { order: 2; grid-column: 2 !important; }
body.woocommerce-checkout #billing_company_field    { order: 3; grid-column: 1 / -1 !important; }
body.woocommerce-checkout #billing_country_field    { order: 4; grid-column: 1 / -1 !important; }
body.woocommerce-checkout #billing_address_1_field  { order: 5; grid-column: 1 / -1 !important; }
body.woocommerce-checkout #billing_address_2_field  { order: 6; grid-column: 1 / -1 !important; }
body.woocommerce-checkout #billing_city_field       { order: 7; grid-column: 1 !important; }
body.woocommerce-checkout #billing_postcode_field   { order: 8; grid-column: 2 !important; }
body.woocommerce-checkout #billing_state_field      { order: 9; grid-column: 1 / -1 !important; }
body.woocommerce-checkout #billing_email_field      { order: 10; grid-column: 1 !important; }
body.woocommerce-checkout #billing_phone_field      { order: 11; grid-column: 2 !important; }

body.woocommerce-checkout .form-row {
    padding: 0 !important;
    margin-bottom: 14px !important;
    width: 100% !important;
}
body.woocommerce-checkout .form-row label {
    display: block !important;
    color: #666 !important;
    font-size: 0.77rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 5px !important;
}
body.woocommerce-checkout .form-row .required { color: #ff6b00 !important; }
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row select {
    display: block !important;
    width: 100% !important;
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
    padding: 11px 14px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    -webkit-appearance: none !important;
}
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row select:focus {
    border-color: #ff6b00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.12) !important;
}
body.woocommerce-checkout select option { background: #111318 !important; }

/* Section headings */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #2a2d36 !important;
}

/* Additional notes textarea */
body.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 8px !important;
    padding-top: 4px !important;
}
body.woocommerce-checkout .woocommerce-additional-fields h3 {
    margin-top: 16px !important;
    border-top: 1px solid #2a2d36 !important;
    padding-top: 16px !important;
}
body.woocommerce-checkout .woocommerce-additional-fields textarea {
    background: #111318 !important;
    border: 1px solid #2a2d36 !important;
    border-radius: 8px !important;
    color: #e8e8e8 !important;
    padding: 12px 14px !important;
    width: 100% !important;
    min-height: 80px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
}

/* =============================================
   ORDER REVIEW - RIGHT COLUMN
   ============================================= */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.88rem !important;
    margin-bottom: 8px !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 9px 4px !important;
    border-bottom: 1px solid #2a2d36 !important;
    color: #e8e8e8 !important;
    vertical-align: middle !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    color: #555 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total { text-align: right !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th { color: #888 !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
    color: #fff !important; font-weight: 800 !important; font-size: 1rem !important;
    border-top: 2px solid #2a2d36 !important; border-bottom: none !important; padding-top: 12px !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    color: #ff6b00 !important; font-size: 1.1rem !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals .woocommerce-Price-amount {
    color: #ff6b00 !important; font-weight: 700 !important;
}

/* =============================================
   SHIPPING + PAYMENT - FULL SIZE
   ============================================= */
/* BoxNow shipping row */
body.woocommerce-checkout #shipping_method {
    list-style: none !important; padding: 0 !important; margin: 8px 0 !important;
}
body.woocommerce-checkout #shipping_method li {
    background: linear-gradient(135deg, #1e1810, #1a1510) !important;
    border: 2px solid #ff6b00 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    list-style: none !important;
    box-sizing: border-box !important;
}
body.woocommerce-checkout #shipping_method label {
    display: flex !important; align-items: center !important; gap: 8px !important;
    color: #e8e8e8 !important; font-size: 0.95rem !important; font-weight: 700 !important;
    cursor: pointer !important; width: 100% !important;
}

/* Payment section */
body.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important; padding: 0 !important; margin-top: 16px !important;
}
body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important; padding: 0 !important;
    margin: 0 0 14px !important; border: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
    background: #111318 !important;
    border: 2px solid #2a2d36 !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    padding: 14px 16px !important;
    list-style: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}
body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
    border-color: #ff6b00 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
    color: #e8e8e8 !important; font-size: 0.95rem !important; font-weight: 600 !important;
    cursor: pointer !important; display: flex !important; align-items: center !important; gap: 10px !important;
}
body.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 26px !important; width: auto !important; vertical-align: middle !important;
}
body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    width: 18px !important; height: 18px !important; accent-color: #ff6b00 !important; cursor: pointer !important;
}
body.woocommerce-checkout #payment .payment_box {
    background: #0d0f13 !important; border-radius: 0 0 8px 8px !important;
    padding: 14px 16px !important; color: #888 !important; font-size: 0.87rem !important;
    line-height: 1.6 !important;
}
body.woocommerce-checkout #payment .payment_box * { font-size: 0.87rem !important; }
body.woocommerce-checkout #payment .payment_box input,
body.woocommerce-checkout #payment .payment_box select {
    background: #1a1d24 !important; border: 1px solid #2a2d36 !important;
    border-radius: 6px !important; color: #e8e8e8 !important;
    padding: 10px 12px !important; width: 100% !important; box-sizing: border-box !important;
}
body.woocommerce-checkout #payment .place-order {
    background: transparent !important; padding: 0 !important; margin-top: 16px !important;
}
body.woocommerce-checkout #place_order {
    display: block !important; width: 100% !important;
    background: linear-gradient(135deg, #ff6b00, #ff8c33) !important;
    color: #fff !important; font-size: 1.05rem !important; font-weight: 800 !important;
    padding: 16px !important; border-radius: 10px !important; border: none !important;
    cursor: pointer !important; box-shadow: 0 4px 20px rgba(255,107,0,0.3) !important;
    transition: all 0.2s !important; text-align: center !important; box-sizing: border-box !important;
    letter-spacing: 0.3px !important;
}
body.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 28px rgba(255,107,0,0.5) !important;
}

/* Privacy policy text */
body.woocommerce-checkout .woocommerce-privacy-policy-text {
    color: #555 !important; font-size: 0.78rem !important;
    margin: 12px 0 !important; line-height: 1.5 !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text a { color: #ff6b00 !important; }

/* Trust badges */
body.woocommerce-checkout .ft-trust-badges {
    display: flex !important; flex-wrap: wrap !important;
    justify-content: center !important; gap: 14px !important;
    margin-top: 14px !important; padding-top: 14px !important;
    border-top: 1px solid #2a2d36 !important;
}
body.woocommerce-checkout .ft-trust-badge {
    display: flex !important; align-items: center !important;
    gap: 5px !important; font-size: 0.75rem !important; color: #555 !important;
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 860px) {
    body.woocommerce-checkout .woocommerce > form.checkout,
    body.woocommerce-checkout .woocommerce form.woocommerce-checkout {
        grid-template-columns: 1fr !important;
    }
    body.woocommerce-checkout .woocommerce > form.checkout > #order_review {
        grid-column: 1 !important; position: static !important;
    }
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field,
    body.woocommerce-checkout #billing_city_field,
    body.woocommerce-checkout #billing_postcode_field,
    body.woocommerce-checkout #billing_email_field,
    body.woocommerce-checkout #billing_phone_field { grid-column: 1 !important; }
}
