/* =========================
   LIDGET CART + CHECKOUT
   Unified Industrial Style
   Brand Green: #8fce3c
   Typography: Inter
   ========================= */

/* ================= TYPOGRAPHY ================= */

/* Force Inter font inside WooCommerce */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  font-family: 'Inter', sans-serif !important;
}

/* Headlines = default weight (400) */
body.woocommerce-cart .woocommerce h1,
body.woocommerce-cart .woocommerce h2,
body.woocommerce-cart .woocommerce h3,
body.woocommerce-cart .woocommerce h4,
body.woocommerce-checkout .woocommerce h1,
body.woocommerce-checkout .woocommerce h2,
body.woocommerce-checkout .woocommerce h3,
body.woocommerce-checkout .woocommerce h4 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
}

/* All other text = 500 */
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce p,
body.woocommerce-cart .woocommerce td,
body.woocommerce-cart .woocommerce th,
body.woocommerce-cart .woocommerce label,
body.woocommerce-cart .woocommerce span,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce p,
body.woocommerce-checkout .woocommerce td,
body.woocommerce-checkout .woocommerce th,
body.woocommerce-checkout .woocommerce label,
body.woocommerce-checkout .woocommerce span,
body.woocommerce-checkout .woocommerce div {
  font-weight: 500 !important;
}


/* ================= LAYOUT ================= */

/* Shared background */
body.woocommerce-cart,
body.woocommerce-checkout {
  background: #F8FAFC !important;
}

/* Shared container */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 32px !important;
  max-width: 1100px;
  margin: 40px auto !important;
}

/* Inputs */
body.woocommerce-cart input,
body.woocommerce-checkout input,
body.woocommerce-cart select,
body.woocommerce-checkout select,
body.woocommerce-cart textarea,
body.woocommerce-checkout textarea {
  border: 1px solid #CBD5E1 !important;
  border-radius: 6px !important;
  padding: 12px !important;
}

/* Primary buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background-color: #8fce3c !important;
  border-color: #8fce3c !important;
  color: #0F172A !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  transition: all 0.2s ease-in-out;
}

/* Hover */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #7fbb34 !important;
  border-color: #7fbb34 !important;
}

/* Order summary box */
.woocommerce .cart_totals,
.woocommerce-checkout-review-order {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 20px !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce {
    padding: 18px !important;
    margin: 20px 12px !important;
  }

  .woocommerce .checkout-button,
  #place_order {
    width: 100% !important;
  }
	/* =========================
   LIDGET – PRODUCT PAGE POLISH
   Removes "WordPress softness"
   ========================= */

body.woocommerce-product {
  background: #F8FAFC !important;
}

body.woocommerce-product .woocommerce {
  font-family: 'Inter', sans-serif !important;
}

/* Product page container */
body.woocommerce-product .site-main,
body.woocommerce-product .woocommerce {
  max-width: 1100px;
  margin: 40px auto !important;
}

/* Product summary card feel */
body.woocommerce-product div.product {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 32px !important;
}

/* Headings default weight */
body.woocommerce-product h1,
body.woocommerce-product h2,
body.woocommerce-product h3 {
  font-weight: 400 !important;
  color: #0F172A !important;
}

/* Body text stronger */
body.woocommerce-product p,
body.woocommerce-product li,
body.woocommerce-product span,
body.woocommerce-product label {
  font-weight: 500 !important;
  color: #334155 !important;
}

/* Remove default shadows / soften */
body.woocommerce-product .woocommerce-tabs,
body.woocommerce-product .related,
body.woocommerce-product .upsells {
  border-top: 1px solid #E2E8F0 !important;
  padding-top: 24px !important;
}

/* Optional: hide breadcrumbs if they look templated */
.woocommerce-breadcrumb { 
  display: none !important; 
}
	/* =========================
   LIDGET – PRODUCT PAGE POLISH
   (Does NOT override cart/checkout)
   ========================= */

body.single-product {
  background: #F8FAFC !important;
}

body.single-product .site-main {
  max-width: 1100px;
  margin: 40px auto !important;
}

body.single-product div.product {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 32px !important;
}

/* Typography alignment */
body.single-product h1,
body.single-product h2,
body.single-product h3 {
  font-weight: 400 !important;
  color: #0F172A !important;
}

body.single-product p,
body.single-product li,
body.single-product span {
  font-weight: 500 !important;
  color: #334155 !important;
}

/* Clean up tabs section */
body.single-product .woocommerce-tabs {
  border-top: 1px solid #E2E8F0 !important;
  padding-top: 24px !important;
}
}
/* =========================
   MOBILE CHECKOUT ALIGNMENT FIX
   ========================= */
@media (max-width: 768px) {

  /* Force proper full-width layout */
  body.woocommerce-checkout .site-main,
  body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Remove any centering that causes offset */
  body.woocommerce-checkout .woocommerce {
    margin: 16px auto !important;
    padding: 18px !important;
  }

  /* Prevent overflow from tables/columns */
  body.woocommerce-checkout .woocommerce-checkout-review-order,
  body.woocommerce-checkout table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Fix long content pushing width */
  body.woocommerce-checkout * {
    overflow-wrap: anywhere;
  }
}