/* Scoped to shopping surfaces; catalog and homepage branding stay unchanged. */
html body.woocommerce-checkout #content > .ast-container { max-width: 1120px !important; padding: 0 16px !important; }
html body.woocommerce-checkout .drevo-fast-checkout-shell {
  max-width: 1080px !important;
  width: 100% !important;
  margin: 24px auto 48px !important;
  padding: 0 !important;
  color: #20372f;
}
html body .drevo-fast-checkout-title {
  font-family: inherit !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  margin: 0 0 8px !important;
  letter-spacing: 0 !important;
}
.drevo-checkout-back { display: inline-block; margin: 0 0 24px; font-size: 14px; }
html body .drevo-fast-checkout-shell .woocommerce {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body .drevo-fast-checkout-shell form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0 40px !important;
}
html body .drevo-fast-checkout-shell #customer_details {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body .drevo-fast-checkout-shell #customer_details .col-1,
html body .drevo-fast-checkout-shell #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
html body .drevo-fast-checkout-shell #order_review_heading,
html body .drevo-fast-checkout-shell #order_review {
  grid-column: 2;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body .drevo-fast-checkout-shell h3,
html body .drevo-fast-checkout-shell #order_review_heading {
  font-family: inherit !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin: 0 0 18px !important;
  letter-spacing: 0 !important;
}
html body .drevo-fast-checkout-shell .form-row {
  display: block;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}
html body .drevo-fast-checkout-shell .form-row label {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin: 0 0 6px !important;
  color: #20372f !important;
}
html body .drevo-fast-checkout-shell input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
html body .drevo-fast-checkout-shell textarea,
html body .drevo-fast-checkout-shell select {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid #a9b8ad !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #20372f !important;
  -webkit-text-fill-color: #20372f !important;
  caret-color: #20372f !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
html body .drevo-fast-checkout-shell input:focus,
html body .drevo-fast-checkout-shell textarea:focus {
  outline: 2px solid #315c35 !important;
  outline-offset: 2px;
}
html body .drevo-fast-checkout-shell input[type="radio"],
html body .drevo-fast-checkout-shell input[type="checkbox"],
html body.woocommerce-cart input.shipping_method {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 3px 10px 0 0 !important;
  border-radius: 50% !important;
  accent-color: #315c35;
  position: static !important;
  vertical-align: top !important;
  flex: 0 0 18px;
}
html body .drevo-fast-checkout-shell input[type="radio"]::before,
html body .drevo-fast-checkout-shell input[type="radio"]::after { display: none !important; }
html body .drevo-fast-checkout-shell table.shop_table { background: transparent !important; border: 0 !important; }
html body .drevo-fast-checkout-shell table.shop_table th,
html body .drevo-fast-checkout-shell table.shop_table td {
  padding: 12px 8px !important;
  border-bottom: 1px solid #dce3dd !important;
  font-size: 14px !important;
  overflow-wrap: anywhere;
}
html body .drevo-fast-checkout-shell table .product-name { width: 72%; }
html body .drevo-fast-checkout-shell table .product-total { white-space: nowrap; text-align: right; }
html body .drevo-fast-checkout-shell .woocommerce-shipping-totals { display: table-row; }
html body .drevo-fast-checkout-shell .woocommerce-shipping-totals > th { display: none; }
html body .drevo-fast-checkout-shell .woocommerce-shipping-totals > td { width: 100% !important; }
html body .drevo-fast-checkout-shell #shipping_method li { text-align: left !important; }
html body .drevo-fast-checkout-shell .drevo-receive-heading th { text-align: left !important; }
html body .drevo-fast-checkout-shell #shipping_method li,
html body .drevo-fast-checkout-shell #payment .wc_payment_method {
  padding: 12px !important;
  margin: 0 0 8px !important;
  border: 1px solid #cdd8ce !important;
  border-radius: 6px !important;
  background: #fff !important;
}
html body .drevo-fast-checkout-shell #shipping_method li:has(input:checked),
html body .drevo-fast-checkout-shell #payment li:has(> input:checked) { border-color: #315c35 !important; background: #eef5ed !important; }
html body .drevo-fast-checkout-shell #shipping_method label,
html body .drevo-fast-checkout-shell #payment .wc_payment_method > label {
  display: inline !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  color: #20372f !important;
  cursor: pointer;
}
html body .drevo-fast-checkout-shell #payment { background: transparent !important; padding: 0 !important; }
html body .drevo-fast-checkout-shell #payment ul.payment_methods { padding: 0 !important; border: 0 !important; }
html body .drevo-fast-checkout-shell #payment .payment_box { margin: 10px 0 0 !important; padding: 0 !important; font-size: 13px !important; background: transparent !important; }
html body .drevo-fast-checkout-shell #payment .payment_box::before { display: none !important; }
html body .drevo-fast-checkout-shell #payment .payment_box p { margin: 0 !important; }
html body .drevo-fast-checkout-shell #payment .wc_payment_method > label img { max-width: 32px !important; max-height: 24px !important; float: right; margin: 0 0 0 8px !important; }
html body .drevo-fast-checkout-shell #payment .place-order { padding: 0 !important; }
html body .drevo-fast-checkout-shell .drevo-payment-note { padding: 0 !important; margin: 20px 0 12px !important; border: 0 !important; background: none !important; }
html body .drevo-fast-checkout-shell .drevo-payment-note span,
html body .drevo-fast-checkout-shell .drevo-checkout-trust,
html body .drevo-fast-checkout-shell .woocommerce-shipping-fields,
html body .drevo-fast-checkout-shell .woocommerce-additional-fields h3 { display: none !important; }
html body .drevo-fast-checkout-shell [hidden] { display: none !important; }
html body .drevo-fast-checkout-shell.drevo-delivery-selected .drevo-pickup-location { display: none; }
html body .drevo-fast-checkout-shell .drevo-pickup-location td { font-size: 13px !important; }
html body .drevo-fast-checkout-shell #place_order {
  width: 100% !important;
  min-height: 52px !important;
  float: none !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  border-radius: 6px !important;
  padding: 14px 16px !important;
  white-space: normal !important;
  letter-spacing: 0 !important;
}
html body .drevo-fast-checkout-shell .woocommerce-privacy-policy-text { font-size: 12px !important; line-height: 1.5 !important; }
html body .drevo-fast-checkout-shell .drevo-checkout-confirm-note { padding: 10px 0 !important; font-size: 13px !important; }
.drevo-order-comment { border-top: 1px solid #dce3dd; padding-top: 12px; margin-top: 8px; }
.drevo-order-comment summary { cursor: pointer; font-size: 14px; margin-bottom: 12px; }
.drevo-delivery-addresses { margin: 18px 0; }
html body.woocommerce-cart .drevo-cart-help { display: none !important; }
html body.woocommerce-cart .woocommerce-cart-form input.qty { color: #20372f !important; -webkit-text-fill-color: #20372f !important; font-size: 16px !important; }
html body.woocommerce-cart .wc-proceed-to-checkout { display: none !important; }
html body.woocommerce-cart .drevo-cart-mobile-checkout { display: none !important; }
html body.woocommerce-cart .product-name a { color: #20372f !important; }
@media (max-width: 760px) {
  html body.woocommerce-checkout .drevo-fast-checkout-shell { width: 100% !important; margin: 16px auto 32px !important; }
  html body .drevo-fast-checkout-title { font-size: 24px !important; }
  html body .drevo-fast-checkout-shell form.checkout { display: block !important; }
  html body .drevo-fast-checkout-shell #customer_details { margin-bottom: 28px !important; }
  html body .drevo-fast-checkout-shell #order_review { position: static !important; }
  html body.woocommerce-cart .drevo-cart-actions-extra__checkout { display: none !important; }
  html body.woocommerce-cart .drevo-cart-mobile-checkout { display: flex !important; justify-content: center; align-items: center; min-height: 48px; }
  html body.woocommerce-cart:has(.cart-empty) .drevo-cart-mobile-checkout { display: none !important; }
  html body.woocommerce-cart .woocommerce-cart-form table.shop_table { padding: 0 !important; border: 0 !important; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
    position: relative;
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) minmax(64px, auto);
    grid-template-areas: "image name name" "image price price" "quantity quantity subtotal";
    gap: 8px 12px;
    padding: 16px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #dce3dd !important;
    background: transparent !important;
  }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td,
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item > th {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    background: transparent !important;
  }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td::before,
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item > th::before { display: none !important; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-thumbnail { grid-area: image; align-self: start; }
  html body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width: 64px !important; height: 80px !important; object-fit: contain; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-name { grid-area: name; padding-right: 26px !important; font-size: 14px; line-height: 1.45; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-price { grid-area: price; font-size: 13px; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-quantity { grid-area: quantity; align-self: center; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-subtotal { grid-area: subtotal; align-self: center; text-align: right !important; font-weight: 600; white-space: nowrap; }
  html body.woocommerce-cart .woocommerce-cart-form tr.cart_item .product-remove { position: absolute; right: 0; top: 12px; }
  html body.woocommerce-cart .woocommerce-cart-form .quantity { display: inline-flex; float: none !important; margin: 0 !important; width: auto !important; }
  html body.woocommerce-cart .woocommerce-cart-form .quantity input.qty { min-height: 44px !important; width: 44px !important; min-width: 44px !important; padding: 0 !important; }
  html body.woocommerce-cart .woocommerce-cart-form .quantity .ast-qty-placeholder { display: inline-flex !important; justify-content: center; align-items: center; width: 40px !important; min-height: 44px !important; }
  html body.woocommerce-cart .woocommerce-cart-form .actions { padding: 8px 0 !important; }
  html body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:disabled { display: none !important; }
}
