/*
Theme Name: As de bastos
Theme URI: https://www.designfenix.com.ar/
Description: Diseño a medida
Author: Designfenix
Template: Divi
Version: 1.0.0
*/


/* =========================================================
   AS DE BASTOS — CHECKOUT PREMIUM
   Fondo claro + módulos grafito
========================================================= */

:root {
  --adb-yellow: #ffed00;
  --adb-green: #009b3a;
  --adb-bg: #eeeeeb;
  --adb-card: #1f1f1f;
  --adb-card-2: #292929;
  --adb-border: rgba(255,255,255,.12);
  --adb-text: #ffffff;
  --adb-muted: rgba(255,255,255,.64);
}

/* =========================================================
   GENERAL
========================================================= */

.woocommerce-checkout .checkout-area {
  background:
    radial-gradient(circle at top left, rgba(255,214,0,.12), transparent 26%),
    linear-gradient(180deg, #f4f4f1 0%, var(--adb-bg) 100%);
  color: var(--adb-text);
  padding: 70px 0 90px;
}

.woocommerce-checkout .checkout-area .et_pb_row {
  
  align-items: start;
  margin: 0 auto;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout a.button:after,
.woocommerce-checkout a.button:hover:after,
.correo_argentino_review_order_section,
.woocommerce-checkout #payment ul.payment_methods li input,
.woocommerce-checkout #payment.woocommerce-checkout-payment .payment_box:before{
	display:none!important;
}

/* =========================================================
   STEPS
========================================================= */

#bodycommerce-shopify-breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

#bodycommerce-shopify-breadcrumbs li {
  display: flex;
  align-items: center;
}

#bodycommerce-shopify-breadcrumbs li:not(:last-child)::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: 12px;
  background: rgba(0,0,0,.16);
}

#bodycommerce-shopify-breadcrumbs li a {
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;

  color: rgba(0,0,0,.45);
  text-decoration: none;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;

  transition: .25s ease;
}

#bodycommerce-shopify-breadcrumbs li.active a,
#bodycommerce-shopify-breadcrumbs li a:hover {
  background: var(--adb-yellow);
  border-color: var(--adb-yellow);
  color: #111;
  box-shadow: 0 12px 28px rgba(255,214,0,.25);
}

/* =========================================================
   MAIN CARDS
========================================================= */

#customer_details,
#payment_methods,
#bodycommerce-shopify-table {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.06), transparent 32%),
    linear-gradient(145deg, var(--adb-card-2), var(--adb-card));

  border: 1px solid var(--adb-border);
  border-radius: 22px;

  box-shadow:
    0 24px 60px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.06);

  overflow: hidden;
}

#customer_details,
#payment_methods {
  padding: 42px;
}

/* =========================================================
   TITLES
========================================================= */

.woocommerce-billing-fields h3,
#payment h3 {
  margin: 0 0 34px;
  color: var(--adb-text);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1px;
}

.woocommerce-billing-fields h3::after,
#payment h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  background: var(--adb-yellow);
  border-radius: 999px;
}

/* =========================================================
   BILLING FORM
========================================================= */

.woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 22px;
}

.woocommerce form .form-row {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.form-row-wide,
#billing_company_field,
#billing_country_field,
#billing_address_1_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field {
  grid-column: span 2;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 9px;

  color: rgba(255,255,255,.78);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.woocommerce form .form-row .required {
  color: var(--adb-yellow);
  text-decoration: none;
}

.woocommerce form .input-text,
.woocommerce form select,
.select2-container--default .select2-selection--single {
  width: 100% !important;
  height: 54px !important;
  padding: 0 16px !important;

  background: rgba(255,255,255,.075) !important;
  color: #fff !important;

  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 9px !important;

  font-size: 14px !important;
  font-weight: 600;

  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: .2s ease;
}

.woocommerce form .input-text:hover,
.woocommerce form select:hover,
.select2-container--default .select2-selection--single:hover {
  background: rgba(255,255,255,.095) !important;
  border-color: rgba(255,255,255,.28) !important;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  background: rgba(255,255,255,.11) !important;
  border-color: var(--adb-yellow) !important;
  box-shadow:
    0 0 0 4px rgba(255,214,0,.13),
    inset 0 1px 0 rgba(255,255,255,.04);
  outline: none !important;
}

.woocommerce form .input-text::placeholder {
  color: rgba(255,255,255,.38);
}

.woocommerce form select option {
  background: #242424;
  color: #fff;
}

p#billing_country_field select {
  opacity: 1 !important;
  padding: 0 16px !important;
}

/* =========================================================
   SELECT2
========================================================= */

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  line-height: 54px !important;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 54px !important;
  right: 10px !important;
}

.select2-dropdown {
  background: #242424 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff;
}

.select2-results__option {
  color: #fff;
}

.select2-results__option--highlighted {
  background: var(--adb-yellow) !important;
  color: #111 !important;
}

/* =========================================================
   RIGHT ORDER SUMMARY
========================================================= */

.checkout-area .et_pb_column_2_5,
.checkout-area .no-margin-right {
  position: sticky;
  top: 90px;
}

#bodycommerce-shopify-table {
  width: 100%;
  padding: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

#bodycommerce-shopify-table tbody tr.cart_item {
  display: grid;
  grid-template-columns: 74px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

#bodycommerce-shopify-table tbody tr.cart_item td {
  padding: 0 !important;
  border: 0 !important;
}

#bodycommerce-shopify-table .product-thumbnail img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
#bodycommerce-shopify-table tr{
	border: 0;
    border-top: 1px solid #3f3f3f;
    border-bottom: 0 !important;
}
#bodycommerce-shopify-table .product-name p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

#bodycommerce-shopify-table .product-quantity {
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
}

#bodycommerce-shopify-table .product-price,
#bodycommerce-shopify-table .amount {
  color: #fff;
  font-weight: 900;
}

body #bodycommerce-shopify-table tfoot th,
body #bodycommerce-shopify-table tfoot td {
  padding: 16px 22px !important;
  border:0!important;
  background: transparent !important;
}
.woocommerce-checkout #page-container .bodycommerce-shopify-coupon .coupon-module{
	background: #393939 !important;
}

#bodycommerce-shopify-table tfoot th {
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

#bodycommerce-shopify-table .cart-subtotal td .amount {
  color: #fff;
  font-size: 14px;
}

#bodycommerce-shopify-table .order-total th,
#bodycommerce-shopify-table .order-total td {
  border:0!important;
}

#bodycommerce-shopify-table .order-total .amount {
  color: #18c763;
  font-size: 28px;
  font-weight: 950;
}

/* =========================================================
   SHIPPING IN SUMMARY
========================================================= */

#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

#shipping_method li {
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.35;
}

#shipping_method input[type="radio"] {
  accent-color: var(--adb-yellow);
  transform: scale(1.1);
  margin-right: 7px;
}

#shipping_method label {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

#shipping_method input[type="radio"]:checked + label {
  color: #fff;
  font-weight: 900;
}

.wc-distance-shipping-ar-sucursal-wrap {
  margin: 10px 0 0 24px !important;
}

.wc-distance-shipping-ar-sucursal-wrap label {
  color: rgba(255,255,255,.52) !important;
  font-size: 11px !important;
  margin-bottom: 6px !important;
}

.wc-viacargo-sucursal-select {
  height: 42px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.wc-viacargo-sucursal-select option {
  background: #242424;
  color: #fff;
}

/* =========================================================
   COUPON
========================================================= */

.bc-shopify-dummy {
  margin-top: 18px;
}

.bodycommerce-shopify-coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.bodycommerce-shopify-coupon p {
  margin: 0 !important;
  padding: 0 !important;
}

.bodycommerce-shopify-coupon .coupon-module {
  height: 50px !important;
  padding: 0 16px !important;
  background: rgba(255,255,255,.8) !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 9px !important;
}

.bodycommerce-shopify-coupon .coupon-module::placeholder {
  color: rgba(0,0,0,.45);
}

.bodycommerce-shopify-coupon .button {
  min-height: 50px !important;
  padding: 0 22px !important;
}

/* =========================================================
   BUTTONS
========================================================= */

.woocommerce-checkout .button,
.woocommerce-checkout .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .completeorder {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 28px !important;

  background: var(--adb-yellow) !important;
  color: #111 !important;

  border: 1px solid var(--adb-yellow) !important;
  border-radius: 9px !important;

  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: 1px;
  text-transform: uppercase;

  box-shadow:
    0 12px 28px rgba(255,214,0,.26),
    inset 0 1px 0 rgba(255,255,255,.28);

  transition: .25s ease;
}

.woocommerce-checkout .button:hover,
.woocommerce-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .completeorder:hover {
  background: #ffe600 !important;
  transform: translateY(-2px);
}

.woocommerce-checkout #place_order,
.woocommerce-checkout .completeorder {
  width: 100%;
}

/* =========================================================
   BOTTOM CONTROLS
========================================================= */

.bodycommerce-shoppify-bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.previous-button a {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.previous-button a:hover {
  color: var(--adb-yellow);
}

/* =========================================================
   PAYMENT METHODS
========================================================= */

.wc_payment_methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc_payment_method {
  margin-bottom: 16px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
}

.wc_payment_method > label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 20px !important;

  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

.wc_payment_method input[type="radio"] {
  accent-color: var(--adb-yellow);
  transform: scale(1.15);
}

.wc_payment_method:has(input:checked) {
  border-color: rgba(255,214,0,.7);
  background: rgba(255,214,0,.075);
}

.payment_box {
  padding: 0 20px 20px !important;
  background: transparent !important;
  color: rgba(255,255,255,.76);
}

.mp-checkout-container {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
}

.woocommerce-privacy-policy-text {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.6;
}

.woocommerce-privacy-policy-text a {
  color: var(--adb-yellow);
}

/* =========================================================
   COUPON NOTICE
========================================================= */

.woocommerce-form-coupon-toggle,
.woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.woocommerce-info {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  color: #222 !important;
  border-radius: 12px;
  padding: 16px 20px !important;
}

.woocommerce-info a {
  color: #111 !important;
  font-weight: 900;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 980px) {
  .checkout-area {
    padding: 40px 0 60px;
  }

  .checkout-area .et_pb_row {
    grid-template-columns: 1fr;
  }

  .checkout-area .et_pb_column_2_5,
  .checkout-area .no-margin-right {
    position: static;
  }

  #customer_details,
  #payment_methods {
    padding: 28px;
  }

  #bodycommerce-shopify-breadcrumbs {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #bodycommerce-shopify-breadcrumbs li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row-wide,
  #billing_company_field,
  #billing_country_field,
  #billing_address_1_field,
  #billing_city_field,
  #billing_state_field,
  #billing_postcode_field,
  #billing_phone_field,
  #billing_email_field {
    grid-column: span 1;
  }

  #bodycommerce-shopify-table tbody tr.cart_item {
    grid-template-columns: 64px 1fr;
  }

  #bodycommerce-shopify-table .product-quantity,
  #bodycommerce-shopify-table .product-price {
    grid-column: 2;
  }

  .bodycommerce-shopify-coupon {
    grid-template-columns: 1fr;
  }

  .bodycommerce-shoppify-bottom-controls {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}