/**
 * Jewel Babe — WooCommerce Cart + Checkout layout hardening (v2.3).
 * This file intentionally uses WooCommerce page body classes directly instead
 * of relying on parent-theme layout classes. It is safe with Blocksy.
 */

html body.woocommerce-cart *,
html body.woocommerce-checkout * { box-sizing: border-box; }

/* Blocksy/legacy child CSS previously turns .woocommerce into a two-column grid.
   The custom cart already owns its own grid, so the outer wrapper must be neutral. */
html body.woocommerce-cart .woocommerce {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
html body.woocommerce-cart .jh-entry-content,
html body.woocommerce-cart .jh-entry-content > .woocommerce,
html body.woocommerce-cart .woocommerce > .jh-cart-page {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* ---------------- CART ---------------- */
html body.woocommerce-cart .jh-main,
html body.woocommerce-cart .jh-content-page,
html body.woocommerce-cart .jh-page-article,
html body.woocommerce-cart .jh-entry-content,
html body.woocommerce-cart .woocommerce,
html body.woocommerce-cart .jh-cart-page {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html body.woocommerce-cart .jh-content-shell {
  display: block !important;
  width: min(calc(100% - 48px), 1240px) !important;
  max-width: 1240px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: clamp(42px, 5vw, 72px) 0 clamp(64px, 7vw, 96px) !important;
}

html body.woocommerce-cart .jh-cart-page-head {
  width: 100% !important;
  margin: 0 0 clamp(36px, 5vw, 64px) !important;
  text-align: center !important;
}
html body.woocommerce-cart .jh-cart-page-head h1 {
  margin: 0 0 10px !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
}
html body.woocommerce-cart .jh-cart-page-head nav {
  display: inline-flex !important;
  gap: 5px !important;
  align-items: center !important;
  font-size: 12px !important;
}

html body.woocommerce-cart .jh-cart-page-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: clamp(28px, 4vw, 48px) !important;
  align-items: start !important;
  justify-content: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html body.woocommerce-cart .jh-cart-table-wrap,
html body.woocommerce-cart form.woocommerce-cart-form.jh-cart-table-wrap,
html body.woocommerce-cart .jh-cart-summary-wrap,
html body.woocommerce-cart .cart-collaterals,
html body.woocommerce-cart .cart_totals,
html body.woocommerce-cart .jh-cart-summary {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}
html body.woocommerce-cart .jh-cart-summary-wrap { position: static !important; }
html body.woocommerce-cart .jh-cart-summary {
  position: sticky !important;
  top: 28px !important;
  padding: 28px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  box-shadow: 0 10px 32px rgba(17,17,17,.04) !important;
}

html body.woocommerce-cart table.jh-cart-table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid #e5e5e5 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  table-layout: auto !important;
  background: #fff !important;
}
html body.woocommerce-cart table.jh-cart-table thead { display: table-header-group !important; }
html body.woocommerce-cart table.jh-cart-table tbody { display: table-row-group !important; }
html body.woocommerce-cart table.jh-cart-table tr { display: table-row !important; }
html body.woocommerce-cart table.jh-cart-table th,
html body.woocommerce-cart table.jh-cart-table td {
  display: table-cell !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 18px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  vertical-align: middle !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  text-align: left !important;
}
html body.woocommerce-cart table.jh-cart-table thead th {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  background: #fafafa !important;
}
html body.woocommerce-cart table.jh-cart-table th.product-name { width: auto !important; }
html body.woocommerce-cart table.jh-cart-table th.product-quantity { width: 150px !important; }
html body.woocommerce-cart table.jh-cart-table th.product-subtotal { width: 120px !important; }
html body.woocommerce-cart table.jh-cart-table th.product-remove { width: 54px !important; }
html body.woocommerce-cart table.jh-cart-table td.product-subtotal {
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: right !important;
}
html body.woocommerce-cart table.jh-cart-table td.product-remove { text-align: center !important; }

html body.woocommerce-cart .jh-cart-product {
  display: grid !important;
  grid-template-columns: 92px minmax(0,1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body.woocommerce-cart .jh-cart-product-image,
html body.woocommerce-cart .jh-cart-product-image a,
html body.woocommerce-cart .jh-cart-product-image img {
  display: block !important;
  width: 92px !important;
  height: 104px !important;
  max-width: 92px !important;
}
html body.woocommerce-cart .jh-cart-product-image img {
  object-fit: cover !important;
  border-radius: 8px !important;
  background: #f7f7f7 !important;
}
html body.woocommerce-cart .jh-cart-product-copy {
  display: block !important;
  min-width: 0 !important;
  width: auto !important;
}
html body.woocommerce-cart .jh-cart-product-title {
  display: inline !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
html body.woocommerce-cart .jh-cart-product-price,
html body.woocommerce-cart .jh-cart-product-copy dl,
html body.woocommerce-cart .jh-cart-product-copy p {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #777 !important;
}
html body.woocommerce-cart .jh-cart-qty {
  display: grid !important;
  grid-template-columns: 36px 48px 36px !important;
  width: 120px !important;
  height: 42px !important;
  margin: 0 !important;
  border: 1px solid #dedede !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
}
html body.woocommerce-cart .jh-cart-qty .quantity,
html body.woocommerce-cart .jh-cart-qty button,
html body.woocommerce-cart .jh-cart-qty input.qty {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
html body.woocommerce-cart .jh-cart-actions-row { display: table-row !important; }
html body.woocommerce-cart .jh-cart-actions-row .actions {
  display: table-cell !important;
  width: 100% !important;
  padding: 16px !important;
  text-align: right !important;
  background: #fff !important;
}
html body.woocommerce-cart .jh-cart-actions-row .coupon { float: left !important; display: flex !important; gap: 8px !important; }
html body.woocommerce-cart .jh-cart-actions-row .coupon input { min-height: 42px !important; border-radius: 6px !important; }
html body.woocommerce-cart .jh-cart-actions-row .button {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
}
html body.woocommerce-cart .jh-cart-summary h2 {
  margin: 0 0 16px !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
}
html body.woocommerce-cart .jh-cart-summary-head { margin-bottom: 16px !important; }
html body.woocommerce-cart .jh-cart-summary-head strong { font-size: 16px !important; }
html body.woocommerce-cart .jh-cart-summary p { max-width: none !important; margin: 0 0 20px !important; font-size: 12px !important; line-height: 1.5 !important; }
html body.woocommerce-cart .jh-cart-summary table.shop_table { display: table !important; width: 100% !important; margin: 0 0 22px !important; border: 0 !important; }
html body.woocommerce-cart .jh-cart-summary table.shop_table th,
html body.woocommerce-cart .jh-cart-summary table.shop_table td { padding: 10px 0 !important; border-bottom: 1px solid #e7e7e7 !important; font-size: 13px !important; }
html body.woocommerce-cart .jh-cart-summary .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: var(--jh-brand,#eb6384) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* ---------------- CLASSIC CHECKOUT ---------------- */
html body.woocommerce-checkout .jh-main,
html body.woocommerce-checkout .jh-content-page,
html body.woocommerce-checkout .jh-page-article,
html body.woocommerce-checkout .jh-entry-content,
html body.woocommerce-checkout .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
html body.woocommerce-checkout .jh-content-shell {
  display: block !important;
  width: min(calc(100% - 48px), 1240px) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: clamp(38px, 4vw, 64px) 0 84px !important;
}
html body.woocommerce-checkout .jh-page-article,
html body.woocommerce-checkout .jh-entry-content,
html body.woocommerce-checkout .jh-entry-content > *,
html body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
html body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  grid-template-rows: auto 1fr !important;
  column-gap: clamp(36px, 5vw, 64px) !important;
  row-gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
html body.woocommerce-checkout form.checkout .col2-set {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
}
html body.woocommerce-checkout form.checkout .col-1,
html body.woocommerce-checkout form.checkout .col-2 {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}
html body.woocommerce-checkout form.checkout .col-2 { margin-top: 32px !important; }
html body.woocommerce-checkout form.checkout #order_review_heading {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
}
html body.woocommerce-checkout form.checkout #order_review {
  grid-column: 2 !important;
  grid-row: 2 !important;
  position: sticky !important;
  top: 28px !important;
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  box-shadow: 0 10px 32px rgba(17,17,17,.04) !important;
}
html body.woocommerce-checkout form.checkout h3 {
  margin: 0 0 24px !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
}
html body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout form.checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
html body.woocommerce-checkout form.checkout .form-row {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.woocommerce-checkout form.checkout #billing_country_field,
html body.woocommerce-checkout form.checkout #billing_address_1_field,
html body.woocommerce-checkout form.checkout #billing_address_2_field,
html body.woocommerce-checkout form.checkout #billing_city_field,
html body.woocommerce-checkout form.checkout #billing_state_field,
html body.woocommerce-checkout form.checkout #billing_postcode_field,
html body.woocommerce-checkout form.checkout #billing_phone_field,
html body.woocommerce-checkout form.checkout #billing_email_field,
html body.woocommerce-checkout form.checkout #shipping_country_field,
html body.woocommerce-checkout form.checkout #shipping_address_1_field,
html body.woocommerce-checkout form.checkout #shipping_address_2_field,
html body.woocommerce-checkout form.checkout #shipping_city_field,
html body.woocommerce-checkout form.checkout #shipping_state_field,
html body.woocommerce-checkout form.checkout #shipping_postcode_field { grid-column: 1 / -1 !important; }
html body.woocommerce-checkout form.checkout .form-row label {
  display: block !important;
  margin: 0 0 7px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
html body.woocommerce-checkout form.checkout input.input-text,
html body.woocommerce-checkout form.checkout textarea,
html body.woocommerce-checkout form.checkout select,
html body.woocommerce-checkout form.checkout .select2-selection {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  margin: 0 !important;
  border: 1px solid #dadada !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body.woocommerce-checkout form.checkout input.input-text,
html body.woocommerce-checkout form.checkout textarea { padding: 12px 14px !important; }
html body.woocommerce-checkout form.checkout .select2-container { width: 100% !important; }
html body.woocommerce-checkout form.checkout .select2-selection--single { height: 50px !important; }
html body.woocommerce-checkout form.checkout .select2-selection__rendered { line-height: 48px !important; padding-left: 14px !important; }
html body.woocommerce-checkout form.checkout table.shop_table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  border: 0 !important;
  border-collapse: collapse !important;
  margin: 0 0 20px !important;
}
html body.woocommerce-checkout form.checkout table.shop_table thead { display: table-header-group !important; }
html body.woocommerce-checkout form.checkout table.shop_table tbody { display: table-row-group !important; }
html body.woocommerce-checkout form.checkout table.shop_table tfoot { display: table-footer-group !important; }
html body.woocommerce-checkout form.checkout table.shop_table tr { display: table-row !important; }
html body.woocommerce-checkout form.checkout table.shop_table th,
html body.woocommerce-checkout form.checkout table.shop_table td {
  display: table-cell !important;
  width: auto !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e4e4e4 !important;
  vertical-align: top !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
}
html body.woocommerce-checkout form.checkout table.shop_table th:last-child,
html body.woocommerce-checkout form.checkout table.shop_table td:last-child {
  text-align: right !important;
  white-space: nowrap !important;
}
html body.woocommerce-checkout form.checkout #payment {
  margin-top: 18px !important;
  background: #fff !important;
  border-radius: 9px !important;
}
html body.woocommerce-checkout form.checkout #payment ul.payment_methods { padding: 18px !important; }
html body.woocommerce-checkout form.checkout #payment div.form-row { padding: 18px !important; }
html body.woocommerce-checkout form.checkout #place_order {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--jh-brand,#eb6384) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* WooCommerce Checkout Block, if enabled later. */
html body.woocommerce-checkout .wc-block-checkout,
html body.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}
html body.woocommerce-checkout .wc-block-components-sidebar-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
  gap: clamp(36px, 5vw, 64px) !important;
  align-items: start !important;
  min-height: 0 !important;
  margin: 0 !important;
}
html body.woocommerce-checkout .wc-block-components-main {
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body.woocommerce-checkout .wc-block-checkout__form { max-width: none !important; }
html body.woocommerce-checkout .wc-block-components-sidebar {
  width: 100% !important;
  min-width: 0 !important;
  padding: 24px !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 12px !important;
  background: #fafafa !important;
}

@media (max-width: 980px) {
  html body.woocommerce-cart .jh-cart-page-grid,
  html body.woocommerce-checkout form.checkout.woocommerce-checkout,
  html body.woocommerce-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    gap: 32px !important;
  }
  html body.woocommerce-cart .jh-cart-summary,
  html body.woocommerce-checkout form.checkout #order_review { position: static !important; }
  html body.woocommerce-checkout form.checkout .col2-set,
  html body.woocommerce-checkout form.checkout #order_review_heading,
  html body.woocommerce-checkout form.checkout #order_review {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 720px) {
  html body.woocommerce-cart .jh-content-shell,
  html body.woocommerce-checkout .jh-content-shell { width: min(calc(100% - 28px), 1240px) !important; }
  html body.woocommerce-cart table.jh-cart-table,
  html body.woocommerce-cart table.jh-cart-table tbody,
  html body.woocommerce-cart table.jh-cart-table tr,
  html body.woocommerce-cart table.jh-cart-table td { display: block !important; width: 100% !important; }
  html body.woocommerce-cart table.jh-cart-table thead { display: none !important; }
  html body.woocommerce-cart table.jh-cart-table tr.cart_item {
    position: relative !important;
    padding: 16px !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }
  html body.woocommerce-cart table.jh-cart-table td {
    padding: 7px 0 !important;
    border: 0 !important;
  }
  html body.woocommerce-cart table.jh-cart-table td.product-name { padding-right: 34px !important; }
  html body.woocommerce-cart table.jh-cart-table td.product-quantity,
  html body.woocommerce-cart table.jh-cart-table td.product-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    text-align: right !important;
  }
  html body.woocommerce-cart table.jh-cart-table td.product-quantity::before,
  html body.woocommerce-cart table.jh-cart-table td.product-subtotal::before {
    content: attr(data-title) !important;
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }
  html body.woocommerce-cart table.jh-cart-table td.product-remove {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 24px !important;
    padding: 0 !important;
  }
  html body.woocommerce-cart .jh-cart-product { grid-template-columns: 76px minmax(0,1fr) !important; gap: 14px !important; }
  html body.woocommerce-cart .jh-cart-product-image,
  html body.woocommerce-cart .jh-cart-product-image a,
  html body.woocommerce-cart .jh-cart-product-image img { width: 76px !important; height: 88px !important; max-width: 76px !important; }
  html body.woocommerce-cart .jh-cart-actions-row .actions { display: block !important; }
  html body.woocommerce-cart .jh-cart-actions-row .coupon { float: none !important; margin-bottom: 10px !important; flex-wrap: wrap !important; }
  html body.woocommerce-cart .jh-cart-actions-row .button { width: 100% !important; }

  html body.woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper,
  html body.woocommerce-checkout form.checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr !important; }
  html body.woocommerce-checkout form.checkout .form-row { grid-column: 1 !important; }
  html body.woocommerce-checkout form.checkout #order_review { padding: 20px !important; }
  html body.woocommerce-checkout .wc-block-components-sidebar { padding: 20px !important; }
}

@media (max-width: 420px) {
  html body.woocommerce-cart .jh-content-shell,
  html body.woocommerce-checkout .jh-content-shell { width: min(calc(100% - 20px), 1240px) !important; }
  html body.woocommerce-cart .jh-cart-page-head h1 { font-size: 34px !important; }
}

/* v2.3.2: final live-host authority. This stylesheet is enqueued last. */
html body .jh-cart-page {
  width: min(100%, 980px) !important;
  margin: 0 auto !important;
}

html body .jh-cart-page-head {
  margin-bottom: 54px !important;
}

html body .jh-cart-page-head h1 {
  font-size: 34px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

html body .jh-cart-page-grid {
  grid-template-columns: minmax(0, 614px) 280px !important;
  gap: 32px !important;
}

html body table.jh-cart-table {
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
}

html body table.jh-cart-table th,
html body table.jh-cart-table td {
  padding: 14px !important;
  border-right: 1px solid #dfe3e8 !important;
  font-size: 12px !important;
}

html body table.jh-cart-table th.product-name { width: 56% !important; }
html body table.jh-cart-table th.product-quantity { width: 22% !important; }
html body table.jh-cart-table th.product-subtotal { width: 16% !important; }
html body table.jh-cart-table th.product-remove { width: 34px !important; }

html body .jh-cart-product {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body .jh-cart-product-image,
html body .jh-cart-product-image a,
html body .jh-cart-product-image img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
}

html body .jh-cart-product-title {
  color: var(--jh-brand, #eb6384) !important;
  font-size: 12px !important;
}

html body .jh-cart-product-price,
html body .jh-cart-product-copy dl,
html body .jh-cart-product-copy p {
  margin-top: 4px !important;
  font-size: 11px !important;
}

html body .jh-cart-qty {
  display: inline-grid !important;
  grid-template-columns: 28px 30px 28px !important;
  width: 86px !important;
  height: 36px !important;
  border-radius: 4px !important;
  background: #f8f9fb !important;
}

html body .jh-cart-qty .quantity {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .jh-cart-qty button,
html body .jh-cart-qty input.qty {
  width: auto !important;
  height: 34px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 34px !important;
}

html body .jh-cart-summary {
  position: static !important;
  padding: 26px 24px 28px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

html body .jh-cart-summary h2 {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body .jh-cart-summary-head {
  margin-bottom: 8px !important;
}

html body .jh-cart-summary-head strong {
  font-size: 15px !important;
}

html body .jh-cart-summary .checkout-button {
  min-height: 40px !important;
}

html body form.checkout.woocommerce-checkout {
  grid-template-columns: minmax(0, 650px) 360px !important;
  column-gap: 54px !important;
  width: min(100%, 1064px) !important;
  max-width: 1064px !important;
  margin: 0 auto !important;
}

html body form.checkout.woocommerce-checkout .col2-set {
  max-width: 650px !important;
}

html body form.checkout.woocommerce-checkout h3,
html body form.checkout.woocommerce-checkout #order_review_heading {
  font-size: 28px !important;
  letter-spacing: 0 !important;
}

html body form.checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
html body form.checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  gap: 16px !important;
}

html body form.checkout.woocommerce-checkout input.input-text,
html body form.checkout.woocommerce-checkout textarea,
html body form.checkout.woocommerce-checkout select,
html body form.checkout.woocommerce-checkout .select2-selection {
  min-height: 46px !important;
  height: 46px !important;
  font-size: 14px !important;
}

html body form.checkout.woocommerce-checkout #order_review {
  position: static !important;
  padding: 22px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

html body form.checkout.woocommerce-checkout table.shop_table th,
html body form.checkout.woocommerce-checkout table.shop_table td {
  font-size: 12px !important;
}

@media (max-width: 980px) {
  html body .jh-cart-page-grid,
  html body form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }
}

/* v2.3.3: neutralize parent-theme widths on the live classic checkout. */
html body.woocommerce-checkout main.jh-main,
html body.woocommerce-checkout .jh-content-page,
html body.woocommerce-checkout .jh-page-article,
html body.woocommerce-checkout .jh-entry-content,
html body.woocommerce-checkout .jh-entry-content > .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

html body.woocommerce-checkout .jh-container.jh-content-shell {
  width: min(calc(100% - 48px), 1040px) !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
  padding: 48px 0 80px !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 560px) 360px !important;
  grid-template-rows: auto 1fr !important;
  column-gap: 40px !important;
  row-gap: 16px !important;
  width: 100% !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout > .col2-set {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 100% !important;
  max-width: 560px !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout .form-row,
html body.woocommerce-checkout form.checkout.woocommerce-checkout .form-row-first,
html body.woocommerce-checkout form.checkout.woocommerce-checkout .form-row-last {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
}

html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: 100% !important;
  margin: 0 !important;
}

html body .jh-cart-qty input.qty {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

html body .jh-cart-qty input.qty::-webkit-inner-spin-button,
html body .jh-cart-qty input.qty::-webkit-outer-spin-button {
  margin: 0 !important;
  -webkit-appearance: none !important;
}

@media (max-width: 980px) {
  html body.woocommerce-checkout .jh-container.jh-content-shell {
    width: min(calc(100% - 32px), 680px) !important;
    padding-block: 36px 64px !important;
  }

  html body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 680px !important;
    gap: 28px !important;
  }

  html body.woocommerce-checkout form.checkout.woocommerce-checkout > .col2-set,
  html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading,
  html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 620px) {
  html body.woocommerce-checkout .jh-container.jh-content-shell {
    width: min(calc(100% - 24px), 680px) !important;
  }

  html body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  html body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* v2.3.4: compact cart typography and quantity controls. */
html body.wp-singular.woocommerce-cart .jh-cart-page table.jh-cart-table thead th {
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-product-title {
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-product-price,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-product-copy dl,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-product-copy p,
html body.wp-singular.woocommerce-cart .jh-cart-page td.product-subtotal {
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 84px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 4px !important;
  background: #f8f9fb !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty::before,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty::after,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty .quantity::before,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty .quantity::after {
  display: none !important;
  content: none !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty .quantity {
  display: block !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty button,
html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty input.qty {
  display: block !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  text-align: center !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .jh-cart-qty input.qty {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  position: static !important;
  inset: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .cart-collaterals .cart_totals.jh-cart-summary .jh-cart-summary-head > h2 {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .cart-collaterals .cart_totals.jh-cart-summary .jh-cart-summary-head > strong {
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

html body.wp-singular.woocommerce-cart .jh-cart-page .cart-collaterals .cart_totals.jh-cart-summary > p {
  font-size: 11px !important;
  font-weight: 400 !important;
}

/* v2.3.6: checkout order-review product thumbnails. */
html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review td.product-name {
  min-height: 68px !important;
  overflow: hidden !important;
}

html body.woocommerce-checkout .jh-checkout-product-thumb {
  display: block !important;
  float: left !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 12px 4px 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #f4f4f4 !important;
}

html body.woocommerce-checkout .jh-checkout-product-thumb img,
html body.woocommerce-checkout img.jh-checkout-product-thumb-image {
  display: block !important;
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}

html body.woocommerce-checkout .jh-checkout-product-name {
  color: #222 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* v2.3.7: keep WooCommerce notice actions, including Undo, readable. */
html body.jh-site .woocommerce-notices-wrapper a.restore-item,
html body.jh-site .woocommerce-message a.restore-item,
html body.jh-site .woocommerce-info a.restore-item,
html body.jh-site .woocommerce-error a.restore-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body.jh-site .woocommerce-notices-wrapper a.restore-item::before,
html body.jh-site .woocommerce-notices-wrapper a.restore-item::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 720px) {
  html body .jh-cart-page-head h1,
  html body form.checkout.woocommerce-checkout h3,
  html body form.checkout.woocommerce-checkout #order_review_heading {
    font-size: 26px !important;
  }
}

/* v2.4: cart drawer footer stays pinned; restore Woo button labels Blocksy hides. */
html body.jh-site .jh-cart-drawer {
  display: flex !important;
  flex-direction: column !important;
  width: min(440px, 100vw) !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-drawer-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-drawer-scroll,
html body.jh-site .jh-cart-drawer .jh-cart-lines,
html body.jh-site .jh-cart-drawer .jh-cart-line,
html body.jh-site .jh-cart-drawer .jh-cart-summary {
  min-width: 0 !important;
  max-width: 100% !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-drawer-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
html body.jh-site .jh-cart-drawer .jh-cart-line {
  grid-template-columns: 72px minmax(0, 1fr) 22px !important;
  gap: 10px !important;
  padding: 0 !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-line-image,
html body.jh-site .jh-cart-drawer .jh-cart-line-image img {
  width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-empty {
  margin: auto !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-summary {
  position: relative !important;
  bottom: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-top: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 -10px 28px rgba(17,17,17,.06) !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-summary .jh-button,
html body.jh-site .jh-cart-drawer .jh-cart-summary .jh-cart-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-indent: 0 !important;
}
html body.jh-site .jh-cart-drawer .jh-cart-summary .jh-button {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body.jh-site .woocommerce a.button,
html body.jh-site .woocommerce button.button,
html body.jh-site .woocommerce input.button,
html body.jh-site .woocommerce .button,
html body.jh-site .wc-block-components-button,
html body.jh-site .wc-block-components-button__text,
html body.jh-site a.restore-item,
html body.jh-site .woocommerce-message .button,
html body.jh-site .woocommerce-info .button,
html body.jh-site .woocommerce-error .button,
html body.jh-site .wc-forward,
html body.jh-site .checkout-button,
html body.jh-site #place_order {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
  text-indent: 0 !important;
  text-transform: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}
html body.jh-site .woocommerce a.button::before,
html body.jh-site .woocommerce a.button::after,
html body.jh-site .woocommerce button.button::before,
html body.jh-site .woocommerce button.button::after,
html body.jh-site .wc-block-components-button::before,
html body.jh-site .wc-block-components-button::after,
html body.jh-site .wc-forward::before,
html body.jh-site .wc-forward::after,
html body.jh-site a.restore-item::before,
html body.jh-site a.restore-item::after {
  display: none !important;
  content: none !important;
}

html body.jh-site .quantity .ct-increase,
html body.jh-site .quantity .ct-decrease,
html body.jh-site .quantity .ct-increase::before,
html body.jh-site .quantity .ct-decrease::before,
html body.jh-site .quantity .ct-increase::after,
html body.jh-site .quantity .ct-decrease::after {
  display: none !important;
  content: none !important;
}

html body.jh-site.woocommerce-cart .wc-block-cart__submit-container,
html body.jh-site.woocommerce-cart .wc-block-cart__totals-title,
html body.jh-site.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) {
  display: revert !important;
}

html body.jh-site.woocommerce-cart .cart_totals.jh-cart-summary .checkout-button {
  background: var(--jh-brand, #eb6384) !important;
}

html body.jh-site .woocommerce-form-login-toggle .button,
html body.jh-site .woocommerce a.button.alt,
html body.jh-site .woocommerce button.button.alt {
  background: var(--jh-brand, #eb6384) !important;
}

/* Login / register: do not use the logged-in 220px account sidebar grid. */
html body.jh-site.woocommerce-account:not(.logged-in) .woocommerce {
  display: block !important;
  grid-template-columns: none !important;
  width: min(calc(100% - 32px), 1040px) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  float: none !important;
}
html body.jh-site .jh-account-auth,
html body.jh-site .jh-account-auth-grid,
html body.jh-site .jh-account-auth-card {
  min-width: 0 !important;
  max-width: 100% !important;
}
html body.jh-site .jh-account-auth-grid.has-register {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(28px, 5vw, 64px) !important;
  width: 100% !important;
}
html body.jh-site .jh-account-auth-card h2,
html body.jh-site .jh-account-auth-card p {
  width: auto !important;
  max-width: none !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}
html body.jh-site .jh-account-auth-card .password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
html body.jh-site .jh-account-auth-card .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  width: 22px !important;
  height: 22px !important;
  transform: translateY(-50%) !important;
  font-size: 0 !important;
}
html body.jh-site .jh-account-auth-card .show-password-input::before,
html body.jh-site .jh-account-auth-card .show-password-input::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 800px) {
  html body.jh-site .jh-account-auth-grid.has-register {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
  }
  html body.jh-site .jh-account-auth-card + .jh-account-auth-card {
    padding-left: 0 !important;
    border-left: 0 !important;
    padding-top: 36px !important;
    border-top: 1px solid #e5e5e5 !important;
  }
}

@media (max-width: 700px) {
  html body.jh-site .jh-cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  html body.jh-site .jh-cart-drawer .jh-cart-line {
    grid-template-columns: 64px minmax(0, 1fr) 20px !important;
    gap: 8px !important;
  }
  html body.jh-site .jh-cart-drawer .jh-cart-line-image,
  html body.jh-site .jh-cart-drawer .jh-cart-line-image img {
    width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
  }
}

/* v2.4.2: checkout sidebar polish - one clean panel, no nested payment box. */
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
  padding: 28px !important;
  border: 1px solid #e1e1e1 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table {
  margin: 0 0 22px !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table th,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table td {
  padding: 14px 0 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment ul.payment_methods,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment div.form-row {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment ul.payment_methods {
  display: grid !important;
  gap: 18px !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment div.form-row {
  padding-top: 30px !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .woocommerce-info,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .woocommerce-message,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .woocommerce-error,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .wc-block-components-notice-banner {
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  border: 0 !important;
  border-left: 3px solid var(--jh-brand, #eb6384) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--jh-heading, #111) !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  margin-top: 20px !important;
  padding: 0 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
  margin: 0 !important;
  color: var(--jh-muted, #777) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #place_order {
  margin-top: 18px !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .payment_box,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .payment_box p {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--jh-text, #555) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .payment_box::before,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment .payment_box::after {
  display: none !important;
  content: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment ul.payment_methods li,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #payment ul.payment_methods label {
  color: var(--jh-heading, #111) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals th,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals td {
  vertical-align: middle !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals th {
  color: var(--jh-heading, #111) !important;
  font-weight: 700 !important;
  text-align: left !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table tr.woocommerce-shipping-totals td {
  color: var(--jh-text, #555) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: right !important;
  white-space: normal !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul#shipping_method,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul.woocommerce-shipping-methods {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul#shipping_method li,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul.woocommerce-shipping-methods li {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--jh-text, #555) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  list-style: none !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul#shipping_method li::before,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout table.shop_table ul.woocommerce-shipping-methods li::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 620px) {
  html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
    padding: 22px !important;
  }
}

/* v2.4.3: checkout toast notice layout. */
html body.jh-site.woocommerce-checkout .woocommerce-notices-wrapper {
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto 22px !important;
}

html body.jh-site.woocommerce-checkout .woocommerce-message,
html body.jh-site.woocommerce-checkout .woocommerce-info,
html body.jh-site.woocommerce-checkout .woocommerce-error {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 54px !important;
  margin: 0 0 18px !important;
  padding: 10px 12px 10px 18px !important;
  border: 1px solid var(--jh-brand, #eb6384) !important;
  border-top: 3px solid var(--jh-brand, #eb6384) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(17, 17, 17, .06) !important;
  color: var(--jh-heading, #111) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

html body.jh-site.woocommerce-checkout .woocommerce-message::before,
html body.jh-site.woocommerce-checkout .woocommerce-info::before,
html body.jh-site.woocommerce-checkout .woocommerce-error::before {
  display: none !important;
  content: none !important;
}

html body.jh-site.woocommerce-checkout .woocommerce-message .button,
html body.jh-site.woocommerce-checkout .woocommerce-message a.button,
html body.jh-site.woocommerce-checkout .woocommerce-info .button,
html body.jh-site.woocommerce-checkout .woocommerce-info a.button,
html body.jh-site.woocommerce-checkout .woocommerce-error .button,
html body.jh-site.woocommerce-checkout .woocommerce-error a.button,
html body.jh-site.woocommerce-checkout .woocommerce-message .wc-forward,
html body.jh-site.woocommerce-checkout .woocommerce-info .wc-forward,
html body.jh-site.woocommerce-checkout .woocommerce-error .wc-forward {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  min-width: 140px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--jh-brand, #eb6384) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

@media (max-width: 620px) {
  html body.jh-site.woocommerce-checkout .woocommerce-message,
  html body.jh-site.woocommerce-checkout .woocommerce-info,
  html body.jh-site.woocommerce-checkout .woocommerce-error {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 14px !important;
  }

  html body.jh-site.woocommerce-checkout .woocommerce-message .button,
  html body.jh-site.woocommerce-checkout .woocommerce-message a.button,
  html body.jh-site.woocommerce-checkout .woocommerce-info .button,
  html body.jh-site.woocommerce-checkout .woocommerce-info a.button,
  html body.jh-site.woocommerce-checkout .woocommerce-error .button,
  html body.jh-site.woocommerce-checkout .woocommerce-error a.button,
  html body.jh-site.woocommerce-checkout .woocommerce-message .wc-forward,
  html body.jh-site.woocommerce-checkout .woocommerce-info .wc-forward,
  html body.jh-site.woocommerce-checkout .woocommerce-error .wc-forward {
    grid-column: 1 !important;
    width: 100% !important;
    justify-self: stretch !important;
  }
}

/* v2.4.8: checkout section heading rhythm. */
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields h3,
html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
  margin: 0 0 26px !important;
  padding-bottom: 6px !important;
  color: var(--jh-heading, #111) !important;
  font-size: clamp(32px, 3.2vw, 40px) !important;
  font-weight: 650 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
  align-self: end !important;
}

@media (max-width: 720px) {
  html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields h3,
  html body.jh-site.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
    margin-bottom: 20px !important;
    padding-bottom: 4px !important;
    font-size: 30px !important;
  }
}

/* v2.5.3: clean order received / thank-you page. */
html body.jh-site.woocommerce-order-received .jh-content-shell,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .jh-content-shell {
  width: min(calc(100% - 40px), 1040px) !important;
  padding-block: clamp(42px, 6vw, 74px) 90px !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-order,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order {
  display: grid !important;
  gap: 30px !important;
  color: var(--jh-heading, #111) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-notice--success,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-notice--success {
  margin: 0 !important;
  padding: 26px 30px !important;
  border: 1px solid rgba(235, 99, 132, .22) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #fff 0%, var(--jh-pink-soft, #fff1f5) 100%) !important;
  color: var(--jh-heading, #111) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  text-align: center !important;
  box-shadow: 0 18px 42px rgba(17, 17, 17, .06) !important;
}

html body.jh-site.woocommerce-order-received ul.order_details,
html body.jh-site.woocommerce-checkout.woocommerce-order-received ul.order_details {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.jh-site.woocommerce-order-received ul.order_details li,
html body.jh-site.woocommerce-checkout.woocommerce-order-received ul.order_details li {
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--jh-border, #e5e5e5) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--jh-muted, #777) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

html body.jh-site.woocommerce-order-received ul.order_details li strong,
html body.jh-site.woocommerce-checkout.woocommerce-order-received ul.order_details li strong {
  display: block !important;
  margin-top: 6px !important;
  color: var(--jh-heading, #111) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice),
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice) {
  max-width: 760px !important;
  margin: 0 !important;
  color: var(--jh-text, #555) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-order-details,
html body.jh-site.woocommerce-order-received .woocommerce-customer-details,
html body.jh-site.woocommerce-order-received .woocommerce-bacs-bank-details,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order-details,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-bacs-bank-details {
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid var(--jh-border, #e5e5e5) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .045) !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-order h2,
html body.jh-site.woocommerce-order-received .woocommerce-order h3,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order h2,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order h3 {
  margin: 0 0 18px !important;
  color: var(--jh-heading, #111) !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

html body.jh-site.woocommerce-order-received table.shop_table,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

html body.jh-site.woocommerce-order-received table.shop_table th,
html body.jh-site.woocommerce-order-received table.shop_table td,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table th,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table td {
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--jh-border, #e5e5e5) !important;
  color: var(--jh-heading, #111) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  vertical-align: top !important;
}

html body.jh-site.woocommerce-order-received table.shop_table th:last-child,
html body.jh-site.woocommerce-order-received table.shop_table td:last-child,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table th:last-child,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table td:last-child {
  text-align: right !important;
}

html body.jh-site.woocommerce-order-received table.shop_table tfoot tr:last-child th,
html body.jh-site.woocommerce-order-received table.shop_table tfoot tr:last-child td,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table tfoot tr:last-child th,
html body.jh-site.woocommerce-checkout.woocommerce-order-received table.shop_table tfoot tr:last-child td {
  border-bottom: 0 !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-table__product-name a,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-table__product-name a {
  color: var(--jh-brand, #eb6384) !important;
  font-weight: 650 !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-customer-details address,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--jh-text, #555) !important;
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 1.75 !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details {
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body.jh-site.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details li,
html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details li {
  margin: 0 !important;
  color: var(--jh-text, #555) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

@media (max-width: 760px) {
  html body.jh-site.woocommerce-order-received .jh-content-shell,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received .jh-content-shell {
    width: min(calc(100% - 28px), 1040px) !important;
    padding-block: 32px 64px !important;
  }

  html body.jh-site.woocommerce-order-received ul.order_details,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received ul.order_details,
  html body.jh-site.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr !important;
  }

  html body.jh-site.woocommerce-order-received .woocommerce-order-details,
  html body.jh-site.woocommerce-order-received .woocommerce-customer-details,
  html body.jh-site.woocommerce-order-received .woocommerce-bacs-bank-details,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-order-details,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details,
  html body.jh-site.woocommerce-checkout.woocommerce-order-received .woocommerce-bacs-bank-details {
    padding: 22px !important;
  }
}
