:root {
  --ib-commerce-ink: var(--ib-color-heading);
  --ib-commerce-muted: var(--ib-color-secondary);
  --ib-commerce-line: var(--ib-color-border);
  --ib-commerce-soft: #f7f8fa;
  --ib-commerce-accent: var(--ib-color-accent);
  --ib-commerce-radius: 18px;
  --ib-commerce-shadow: 0 14px 38px rgba(15, 23, 42, .06);
}

body:is(.woocommerce-cart, .woocommerce-checkout) {
  background: #fff;
  color: var(--ib-commerce-ink);
}

body:is(.woocommerce-cart, .woocommerce-checkout) .entry-header {
  display: none;
}

body:is(.woocommerce-cart, .woocommerce-checkout) .site.grid-container, body:is(.woocommerce-cart, .woocommerce-checkout) .site-content, body:is(.woocommerce-cart, .woocommerce-checkout) .content-area, body:is(.woocommerce-cart, .woocommerce-checkout) .site-main, body:is(.woocommerce-cart, .woocommerce-checkout) .inside-article, body:is(.woocommerce-cart, .woocommerce-checkout) .entry-content {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

body:is(.woocommerce-cart, .woocommerce-checkout) :is(
  .site.grid-container,
  .site-content,
  .content-area,
  .site-main,
  .inside-article,
  .entry-content
) {
  min-height: 0;
  margin-block: 0;
  padding-block: 0;
}

body:is(.woocommerce-cart, .woocommerce-checkout) .site-content {
  display: block;
}

body:is(.woocommerce-cart, .woocommerce-checkout) .entry-content > .woocommerce {
  width: min(100% - 32px, 1300px);
  margin-inline: auto;
  padding-block: clamp(16px, 2vw, 28px);
}

body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-notices-wrapper, body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-error, body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-info, body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce-message {
  border-radius: 12px;
}

body:is(.woocommerce-cart, .woocommerce-checkout) :is(input.input-text, textarea, select) {
  min-height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: var(--ib-commerce-ink);
  box-shadow: none;
}

body.woocommerce-checkout :is(input.input-text, textarea, select):focus:not(form.checkout *) {
  border-color: var(--ib-commerce-accent);
  outline: 3px solid color-mix(in srgb, var(--ib-commerce-accent) 16%, transparent);
  outline-offset: 1px;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

body.woocommerce-checkout form.checkout.ib-checkout-layout-ready {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
}
body.woocommerce-checkout form.checkout > :not(#customer_details):not(.ib-checkout-summary) {
  grid-column: 1 / -1;
}
body.woocommerce-checkout .ib-checkout-summary { min-width: 0; align-self: start; }
body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { margin: 0 !important; min-width: 0; scroll-margin-top: 110px; }
/* Error lists are vertical. The native messages, links and alert role remain intact. */
body.woocommerce-checkout .entry-content .woocommerce-error {
  display: block !important;
  padding: 14px 16px 14px 48px !important;
  border: 1px solid #f1c8c3 !important;
  background: #fff7f6 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout .entry-content .woocommerce-error::before { top: 16px !important; left: 15px !important; transform: none !important; }
body.woocommerce-checkout .entry-content .woocommerce-error::after { display: none !important; }
body.woocommerce-checkout .entry-content .woocommerce-error li { display: block !important; width: auto !important; max-width: 100%; }
body.woocommerce-checkout .entry-content .woocommerce-error li + li { margin-top: 6px !important; }
body.woocommerce-checkout .entry-content .woocommerce-error:focus { outline: 2px solid #b42318; outline-offset: 3px; }
body.woocommerce-checkout form.checkout .checkout-inline-error-message { margin: 6px 0 0; color: #b42318; font-size: 13px; line-height: 1.45; }
body.woocommerce-checkout form.checkout :is(.form-row, input, select, textarea) { scroll-margin-top: 110px; }

body.woocommerce-checkout #customer_details {
  min-width: 0;
}

body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2 {
  width: 100%;
  float: none;
}

body.woocommerce-checkout #customer_details > .col-2 {
  margin-top: 20px;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
  padding: clamp(18px, 2vw, 22px);
  border: 1px solid var(--ib-commerce-line);
  border-radius: var(--ib-commerce-radius);
  background: #fff;
  box-shadow: var(--ib-commerce-shadow);
}

body.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; }
body.woocommerce-checkout .woocommerce-billing-fields.ib-checkout-billing-grouped { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body.woocommerce-checkout .ib-checkout-fields-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
body.woocommerce-checkout .ib-checkout-fields-layout > :not(.ib-checkout-panel) { grid-column: 1 / -1; }
body.woocommerce-checkout .ib-checkout-panel { min-width: 0; padding: 18px; border: 1px solid var(--ib-commerce-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgba(15, 23, 42, .035); }
body.woocommerce-checkout .ib-checkout-panel h2 { margin: 0 0 18px; padding: 0; border: 0; color: var(--ib-commerce-ink); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
body.woocommerce-checkout .ib-checkout-fields-layout::before,
body.woocommerce-checkout .ib-checkout-fields-layout::after,
body.woocommerce-checkout .ib-checkout-panel .woocommerce-billing-fields__field-wrapper::before,
body.woocommerce-checkout .ib-checkout-panel .woocommerce-billing-fields__field-wrapper::after { display: none; content: none; }

body.woocommerce-checkout :is(.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3, #order_review_heading) {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ib-commerce-line);
  color: var(--ib-commerce-ink);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 780;
}

body.woocommerce-checkout .form-row label {
  margin-bottom: 5px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
  float: none;
  clear: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  grid-column: 1 / -1;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > :is(#billing_first_name_field,#billing_last_name_field,#billing_phone_field,#billing_email_field,#billing_state_field,#billing_city_field,#billing_rut_field,#billing_giro_field) {
  grid-column: auto;
}
body.woocommerce-checkout .ib-checkout-panel[data-ib-checkout-panel="document"] .woocommerce-billing-fields__field-wrapper > :is(#billing_rut_field, #billing_giro_field) {
  grid-column: 1 / -1;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row > label { display: block; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper :is(.woocommerce-input-wrapper,.input-text,select:not(.select2-hidden-accessible),.select2-container) {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout .woocommerce-shipping-fields:not(:has(*)) { display: none; }

body.woocommerce-checkout :is(#billing_country_field, .ib-checkout-country) {
  display: none !important;
}

body.woocommerce-checkout .form-row {
  margin-bottom: 10px;
}

body.woocommerce-checkout form.checkout .form-row :is(input.input-text,textarea,select:not(.select2-hidden-accessible),.select2-selection--single) {
  min-height: 44px;
  border: 1px solid #cbd2dc !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid :is(input.input-text,textarea,select:not(.select2-hidden-accessible),.select2-selection--single) {
  border-color: #b42318 !important;
}
body.woocommerce-checkout form.checkout .form-row :is(input.input-text,textarea,select:not(.select2-hidden-accessible)):focus,body.woocommerce-checkout form.checkout .form-row .select2-container:is(.select2-container--focus,.select2-container--open) .select2-selection--single,body.woocommerce-checkout form.checkout .form-row .select2-selection--single:focus {
  border-color: var(--ib-commerce-accent) !important;
  box-shadow: 0 0 0 1px var(--ib-commerce-accent) !important;
  outline: none;
}
body.woocommerce-checkout form.checkout .form-row:focus-within > label { color: var(--ib-commerce-accent); }
body.woocommerce-checkout form.checkout .form-row :is(input.input-text,select:not(.select2-hidden-accessible),.select2-selection--single) {
  box-sizing: border-box;
  height: 44px !important;
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  padding: 0 12px !important;
}
body.woocommerce-checkout form.checkout .form-row .select2-selection--single {
  display: block;
  position: relative;
  padding: 0 !important;
}
body.woocommerce-checkout form.checkout .form-row .select2-selection--single .select2-selection__rendered {
  box-sizing: border-box;
  padding: 0 34px 0 12px;
  line-height: 42px;
  color: var(--ib-commerce-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.woocommerce-checkout form.checkout .form-row .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 9px;
  height: 42px;
}

body.woocommerce-checkout #order_review_heading {
  margin: 0;
  padding: 20px 22px 14px;
  border: 1px solid var(--ib-commerce-line);
  border-bottom: 0;
  border-radius: var(--ib-commerce-radius) var(--ib-commerce-radius) 0 0;
  background: var(--ib-commerce-soft);
}

body.woocommerce-checkout #order_review {
  position: static;
  min-width: 0;
  margin: 0;
  padding: 0 22px 22px;
  overflow: hidden;
  border: 1px solid var(--ib-commerce-line);
  border-top: 0;
  border-radius: 0 0 var(--ib-commerce-radius) var(--ib-commerce-radius);
  background: var(--ib-commerce-soft);
  box-shadow: var(--ib-commerce-shadow);
}

body.woocommerce-checkout #order_review table.shop_table {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  table-layout: fixed;
}

body.woocommerce-checkout #order_review table.shop_table :is(th, td) {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--ib-commerce-line);
  vertical-align: middle;
}

body.woocommerce-checkout #order_review table.shop_table .product-name {
  width: 74%;
  padding-right: 16px;
}

body.woocommerce-checkout #order_review table.shop_table .product-total {
  width: 26%;
  text-align: right;
  white-space: nowrap;
}

.ib-checkout-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.ib-checkout-product__media,
.ib-checkout-product__image {
  display: block;
  width: 56px;
  height: 56px;
}

.ib-checkout-product__image {
  border: 1px solid var(--ib-commerce-line);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.ib-checkout-product__content,
.ib-checkout-product__title,
.ib-checkout-product__quantity {
  display: block;
}

.ib-checkout-product__title,
.ib-checkout-product__title a {
  color: var(--ib-commerce-ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
  text-decoration: none;
}

.ib-checkout-product__quantity {
  margin-top: 5px;
  color: var(--ib-commerce-muted);
  font-size: 12px;
  font-weight: 600;
}

body.woocommerce-checkout #order_review dl.variation {
  margin: 8px 0 0 68px;
  color: var(--ib-commerce-muted);
  font-size: 11px;
  line-height: 1.4;
}

body.woocommerce-checkout #order_review dl.variation :is(dt, dd) {
  float: none;
  display: inline;
  margin: 0;
}

body.woocommerce-checkout #order_review dl.variation dd {
  margin-right: 8px;
}

body.woocommerce-checkout #order_review dl.variation p {
  display: inline;
}

body.woocommerce-checkout #payment {
  margin-top: 24px;
  border-radius: 14px;
  background: #fff;
}

body.woocommerce-checkout #payment ul.payment_methods {
  padding: 20px;
  border-bottom-color: var(--ib-commerce-line);
}

body.woocommerce-checkout #payment div.payment_box {
  border-radius: 10px;
  background: var(--ib-commerce-soft);
  color: #344054;
  font-size: 13px;
}

body.woocommerce-checkout #payment .place-order {
  padding: 20px;
}

body.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  background: var(--ib-commerce-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 780;
  text-transform: none;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus-visible {
  background: #c50035;
  color: #fff;
}

@media (max-width: 980px) {
  body.woocommerce-checkout form.checkout.ib-checkout-layout-ready { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  body:is(.woocommerce-cart, .woocommerce-checkout) .entry-content > .woocommerce {
    width: min(100% - 20px, 1300px);
    padding-block: 20px 56px;
  }

  body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
    padding: 20px;
  }

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

  body.woocommerce-checkout .ib-checkout-panel { padding: 16px; }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > :is(#billing_first_name_field,#billing_last_name_field,#billing_phone_field,#billing_email_field,#billing_state_field,#billing_city_field,#billing_rut_field,#billing_giro_field) {
    grid-column: 1;
  }

  body.woocommerce-checkout #order_review_heading {
    padding-inline: 20px;
  }

  body.woocommerce-checkout #order_review {
    padding-inline: 20px;
  }

  body.woocommerce-checkout #order_review table.shop_table {
    table-layout: fixed;
    font-size: .88rem;
  }

  body.woocommerce-checkout #order_review table.shop_table .product-name {
    width: 76%;
  }

  body.woocommerce-checkout #order_review table.shop_table .product-total {
    width: 24%;
    text-align: right;
    white-space: nowrap;
  }

  .ib-checkout-product {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .ib-checkout-product__media,
  .ib-checkout-product__image {
    width: 52px;
    height: 52px;
  }

  .ib-checkout-product__content {
    min-width: 0;
  }

  .ib-checkout-product__title {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  body.woocommerce-checkout #order_review dl.variation {
    margin-left: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(.woocommerce-cart, .woocommerce-checkout) *, body:is(.woocommerce-cart, .woocommerce-checkout) *::before, body:is(.woocommerce-cart, .woocommerce-checkout) *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
  }
}
body.woocommerce-checkout .ib-invoice-field[hidden]{display:none!important;}
.ib-shipping-method{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;color:inherit!important;}.ib-shipping-method:not(:has(.ib-shipping-method__image)){grid-template-columns:minmax(0,1fr)!important;}.ib-shipping-method__image{display:block!important;width:58px!important;height:44px!important;max-width:58px!important;max-height:44px!important;margin:0!important;padding:3px!important;border:0!important;border-radius:7px!important;background:#f6f6f6!important;object-fit:contain!important;}.ib-shipping-method__name{display:grid!important;gap:2px!important;width:100%!important;min-width:0!important;color:inherit!important;text-align:left!important;white-space:normal!important;}.ib-shipping-method__title{display:block!important;color:inherit!important;font-size:13px!important;font-weight:800!important;line-height:1.3!important;}.ib-shipping-method__detail,.ib-shipping-method__subtitle{display:block!important;color:inherit!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;opacity:.9!important;}.ib-shipping-method__price{display:block!important;color:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.3!important;}
body.woocommerce-checkout #order_review ul#shipping_method>li:has(input:checked):has(.ib-shipping-method--delivery){border-color:var(--ib-shipping-delivery,#1269ce)!important;background:var(--ib-shipping-delivery,#1269ce)!important;color:var(--ib-shipping-delivery-text,#fff)!important;}body.woocommerce-checkout #order_review ul#shipping_method>li:has(input:checked):has(.ib-shipping-method--special){border-color:var(--ib-shipping-special,#2457d6)!important;background:var(--ib-shipping-special,#2457d6)!important;color:var(--ib-shipping-special-text,#fff)!important;}body.woocommerce-checkout #order_review ul#shipping_method>li:has(input:checked):has(.ib-shipping-method--pickup){border-color:var(--ib-shipping-pickup,#fff0f3)!important;background:var(--ib-shipping-pickup,#fff0f3)!important;color:var(--ib-shipping-pickup-text,#172033)!important;}
body.woocommerce-checkout #order_review tr.woocommerce-shipping-totals.shipping>td{padding:8px 0 16px;border-bottom:1px solid var(--ib-commerce-line);text-align:left;}
.ib-delivery-package{display:block;font-size:13px;font-weight:650;margin-bottom:8px;color:var(--ib-commerce-ink);}

body.woocommerce-checkout #order_review ul#shipping_method{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;margin:0;padding:0;list-style:none;text-align:left;}
body.woocommerce-checkout #order_review ul#shipping_method>li{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;width:100%;margin:0;padding:10px 12px;border:1px solid #dfe4eb;border-radius:12px;background:#f6f6f6;color:#172033;box-sizing:border-box;}
body.woocommerce-checkout #order_review ul#shipping_method>li:has(input[type=hidden]){grid-template-columns:minmax(0,1fr);}
body.woocommerce-checkout #order_review ul#shipping_method input.shipping_method:not([type=hidden]){position:static;width:18px;height:18px;opacity:1;pointer-events:auto;margin:0;accent-color:var(--ib-commerce-accent);}
body.woocommerce-checkout #order_review ul#shipping_method label{display:block;width:100%;margin:0;color:inherit;cursor:pointer;}

body.woocommerce-checkout #payment li.payment_method_bacs > label{font-size:14px;line-height:1.4;font-weight:700;color:#111827;}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs{position:relative;margin:12px 0 0;padding:14px 16px 14px 42px;background:#f7f8fa;border:1px solid #e3e6eb;border-left:3px solid #e9003f;border-radius:12px;color:#374151;box-shadow:none;line-height:1.55;}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs::before{display:none;}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs::after{content:"";position:absolute;top:17px;left:17px;width:10px;height:6px;border-left:2px solid #e9003f;border-bottom:2px solid #e9003f;transform:rotate(-45deg);}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs p{margin:0 0 8px;font-size:13px;line-height:1.55;font-weight:500;}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs p:last-child{margin-bottom:0;}
body.woocommerce-checkout #payment div.payment_box.payment_method_bacs strong{color:#111827;font-weight:700;}
@media(max-width:767px){body.woocommerce-checkout #payment div.payment_box.payment_method_bacs{padding:13px 12px 13px 38px;}body.woocommerce-checkout #payment div.payment_box.payment_method_bacs::after{left:14px;}}
body.woocommerce-checkout .ib-delivery-hidden{display:none!important}
body.woocommerce-checkout #order_review .ib-delivery-search{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;margin:0;color:var(--ib-commerce-accent);font-size:13px;font-weight:650;background:none;border:0;box-shadow:none;text-decoration:underline;cursor:pointer}
body.woocommerce-checkout #order_review .ib-delivery-search[hidden]{display:none!important}
body.woocommerce-checkout #order_review .ib-delivery-heading td{padding:14px 0 6px!important;border:0!important;text-align:left}.ib-delivery-heading span{display:block;font-size:14px;font-weight:700;scroll-margin-top:110px}.ib-delivery-heading small{display:block;color:var(--ib-commerce-muted);font-size:12px;margin-top:3px}
body:is(.woocommerce-cart,.woocommerce-checkout) .site-info{background:#191919;color:#fff;margin-top:clamp(32px,5vw,64px);padding:0;text-align:left}
body:is(.woocommerce-cart,.woocommerce-checkout) .site-info .inside-site-info{display:block;max-width:1300px;margin:auto;padding:0 24px}
body:is(.woocommerce-cart,.woocommerce-checkout) .site-info .copyright-bar{width:100%;float:none}
.ib-commerce-footer{max-width:1300px;margin:auto;padding:32px 0 20px;color:#fff;text-align:left;line-height:1.5}.ib-commerce-footer__intro strong{display:block;font-size:clamp(19px,2vw,24px);font-weight:700;letter-spacing:-.02em}.ib-commerce-footer__intro p{margin:6px 0 0;font-size:14px;color:#e1e3e6}.ib-commerce-footer__trust{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0;padding:0;list-style:none;font-size:13px;color:#fff}.ib-commerce-footer__trust li::before{content:"✓";color:#fff;margin-right:7px}.ib-commerce-footer__bottom{border-top:1px solid #444;padding-top:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;color:#d0d1d4;font-size:12px}.ib-commerce-footer__bottom a{color:#fff!important;text-decoration:underline;overflow-wrap:anywhere}.ib-commerce-footer__bottom a:hover{color:#fff!important}
@media(max-width:767px){body:is(.woocommerce-cart,.woocommerce-checkout) .site-info .inside-site-info{padding:0 20px}.ib-commerce-footer{padding:24px 0 20px}.ib-commerce-footer__trust{display:grid;gap:6px}.ib-commerce-footer__bottom{flex-direction:column}}
