/** Bentryx design bridge for Checkout Pro Chile. UI only; no checkout business logic. */
body.clcheckout-active {
  --clcheckout-primary: var(--red, #e20b17);
  --clcheckout-primary-hover: #bc0914;
  --clcheckout-success: #36b37e;
  --clcheckout-error: #fa4b59;
  --clcheckout-warning: #f5ae50;
  --clcheckout-text: var(--white, #f8fafc);
  --clcheckout-text-muted: var(--muted, #9aa4b5);
  --clcheckout-border: var(--stroke, #343e50);
  --clcheckout-border-focus: var(--red, #e20b17);
  --clcheckout-bg: var(--bg, #0c111b);
  --clcheckout-bg-secondary: var(--panel2, #202a39);
  --clcheckout-bg-sidebar: var(--panel, #172131);
  --clcheckout-font: inherit;
  --clcheckout-radius: 12px;
  --clcheckout-radius-sm: 8px;
  background: var(--clcheckout-bg);
  color: var(--clcheckout-text);
}
body.clcheckout-active .clcheckout {width:90%; max-width:none; padding:40px 0 70px; color:var(--clcheckout-text); font-family:inherit;}
body.clcheckout-active .clcheckout h1, body.clcheckout-active .clcheckout h2,
body.clcheckout-active .clcheckout h3, body.clcheckout-active .clcheckout h4,
body.clcheckout-active .clcheckout label, body.clcheckout-active .clcheckout strong {color:var(--clcheckout-text);}
body.clcheckout-active .clcheckout p, body.clcheckout-active .clcheckout small,
body.clcheckout-active .clcheckout .description {color:var(--clcheckout-text-muted);}
body.clcheckout-active .clcheckout__sidebar {background:var(--clcheckout-bg-sidebar); border:1px solid var(--clcheckout-border); border-radius:14px; color:var(--clcheckout-text); box-shadow:none;}
body.clcheckout-active .clcheckout input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.clcheckout-active .clcheckout select, body.clcheckout-active .clcheckout textarea,
body.clcheckout-active .clcheckout .select2-selection {color:var(--clcheckout-text) !important; background:var(--clcheckout-bg-secondary) !important; border:1px solid var(--clcheckout-border) !important; border-radius:9px !important; box-shadow:none !important;}
body.clcheckout-active .clcheckout input::placeholder,body.clcheckout-active .clcheckout textarea::placeholder {color:var(--clcheckout-text-muted);opacity:.85;}
body.clcheckout-active .clcheckout input:focus-visible,body.clcheckout-active .clcheckout select:focus-visible,
body.clcheckout-active .clcheckout textarea:focus-visible {outline:2px solid var(--clcheckout-primary);outline-offset:1px;}
body.clcheckout-active .clcheckout input[type=checkbox],body.clcheckout-active .clcheckout input[type=radio] {accent-color:var(--clcheckout-primary);}
body.clcheckout-active .clcheckout button:not(.clcheckout__mobile-summary-btn),
body.clcheckout-active .clcheckout .button,body.clcheckout-active .clcheckout #place_order {border-radius:9px;}
body.clcheckout-active .clcheckout #place_order,body.clcheckout-active .clcheckout button.button.alt {background:var(--clcheckout-primary) !important;color:#fff !important;border-color:var(--clcheckout-primary) !important;}
body.clcheckout-active .clcheckout a {color:var(--clcheckout-primary);}
body.clcheckout-active .clcheckout table,body.clcheckout-active .clcheckout table th,
body.clcheckout-active .clcheckout table td {color:var(--clcheckout-text);border-color:var(--clcheckout-border);}
body.clcheckout-active .clcheckout table tbody tr,body.clcheckout-active .clcheckout table tfoot tr {background:transparent;}
body.clcheckout-active .clcheckout .woocommerce-checkout-payment,
body.clcheckout-active .clcheckout #payment,
body.clcheckout-active .clcheckout .payment_box {background:var(--clcheckout-bg-secondary) !important;color:var(--clcheckout-text) !important;border-radius:12px;}
body.clcheckout-active .clcheckout .payment_box:before {border-bottom-color:var(--clcheckout-bg-secondary) !important;}
body.clcheckout-active .clcheckout .woocommerce-error {background:#341f2a !important;color:#ffd5d9 !important;border-color:var(--clcheckout-error) !important;}
body.clcheckout-active .clcheckout .woocommerce-message,body.clcheckout-active .clcheckout .woocommerce-info {background:var(--clcheckout-bg-secondary) !important;color:var(--clcheckout-text) !important;border-color:var(--clcheckout-primary) !important;}
body.clcheckout-active .clcheckout__mobile-summary-toggle,body.clcheckout-active .clcheckout__mobile-summary-btn {background:var(--clcheckout-bg-sidebar);color:var(--clcheckout-text);border-color:var(--clcheckout-border);}
/* Checkout's original CSS includes theme-specific !important resets; override only their text and surfaces. */
body.clcheckout-active .entry-content,body.clcheckout-active .site-main {color:var(--clcheckout-text);}
/* Cart drawer is used site-wide, not just on checkout. */
.clcart-drawer {--clcheckout-primary:var(--red,#e20b17);--clcheckout-text:var(--white,#f8fafc);--clcheckout-text-muted:var(--muted,#9aa4b5);--clcheckout-border:var(--stroke,#343e50);--clcheckout-bg-secondary:var(--panel2,#202a39);background:var(--panel,#172131);color:var(--clcheckout-text);font-family:inherit;box-shadow:-12px 0 48px rgba(0,0,0,.35);}
.clcart-drawer .clcart-drawer__header,.clcart-drawer .clcart-drawer__footer,.clcart-drawer .clcart-item,.clcart-drawer .clcart-drawer__body {background:transparent;color:var(--clcheckout-text);border-color:var(--clcheckout-border);}
.clcart-drawer .clcart-drawer__title,.clcart-drawer .clcart-item__name,.clcart-drawer .clcart-item__price,.clcart-drawer .clcart-subtotal__value,.clcart-drawer .clcart-crosssells__title {color:var(--clcheckout-text);}
.clcart-drawer .clcart-item__variation,.clcart-drawer .clcart-shipping__text,.clcart-drawer .clcart-subtotal__label,.clcart-drawer .clcart-empty__text {color:var(--clcheckout-text-muted);}
.clcart-drawer button,.clcart-drawer a {font-family:inherit;}
.clcart-drawer .clcart-drawer__checkout-btn,.clcart-drawer .clcart-crosssell__add {background:var(--clcheckout-primary);color:#fff;border-radius:9px;}
.clcart-drawer .clcart-item__qty,.clcart-drawer .clcart-item__qty-btn,.clcart-drawer .clcart-drawer__continue,
.clcart-drawer .clcart-crosssell {background:var(--clcheckout-bg-secondary);border-color:var(--clcheckout-border);color:var(--clcheckout-text);}
.clcart-drawer .clcart-drawer__close,.clcart-drawer .clcart-item__remove {color:var(--clcheckout-text-muted);}
.clcart-drawer :focus-visible {outline:2px solid var(--clcheckout-primary);outline-offset:2px;}
@media(max-width:768px){body.clcheckout-active .clcheckout{width:calc(100% - 32px);padding:24px 0 48px;}body.clcheckout-active .clcheckout__sidebar{position:static;max-width:100%;}}
@media(prefers-reduced-motion:reduce){.clcart-drawer *,body.clcheckout-active .clcheckout *{transition-duration:.01ms !important;animation-duration:.01ms !important;}}


/* v2: Full checkout and cart surfaces. Scoped to plugin elements only. */
body.clcheckout-active,
body.clcheckout-active .clcheckout {
  --clcheckout-primary: var(--red, #e20b17);
  --clcheckout-text: var(--white, #f8fafc);
  --clcheckout-text-muted: var(--muted, #a2aaba);
  --clcheckout-border: var(--stroke, #343e50);
  --clcheckout-bg: var(--bg, #0c111b);
  --clcheckout-bg-secondary: var(--panel2, #202a39);
  --clcheckout-bg-sidebar: var(--panel, #172131);
  --clcheckout-font: inherit;
  color-scheme: dark;
}
body.clcheckout-active,
body.clcheckout-active #page,
body.clcheckout-active #content,
body.clcheckout-active .site-content,
body.clcheckout-active .site-main,
body.clcheckout-active .entry-content,
body.clcheckout-active .woocommerce,
body.clcheckout-active .woocommerce-checkout,
body.clcheckout-active .clcheckout,
body.clcheckout-active .clcheckout__main,
body.clcheckout-active .clcheckout__form,
body.clcheckout-active .clcheckout__layout {
  background-color: var(--clcheckout-bg) !important;
  color: var(--clcheckout-text) !important;
}
body.clcheckout-active .clcheckout__section,
body.clcheckout-active .clcheckout__section-title,
body.clcheckout-active .clcheckout__section h2,
body.clcheckout-active .clcheckout__section h3 {
  color: var(--clcheckout-text) !important;
  border-color: var(--clcheckout-border) !important;
}
body.clcheckout-active .clcheckout__sidebar,
body.clcheckout-active #clcheckout-sidebar,
body.clcheckout-active .clcheckout-summary,
body.clcheckout-active .clcheckout-summary__items,
body.clcheckout-active .clcheckout-summary__item,
body.clcheckout-active .clcheckout-summary__item-details,
body.clcheckout-active .clcheckout-summary__coupon,
body.clcheckout-active .clcheckout-summary__totals,
body.clcheckout-active .clcheckout-summary__row {
  background: var(--clcheckout-bg-sidebar) !important;
  color: var(--clcheckout-text) !important;
  border-color: var(--clcheckout-border) !important;
}
body.clcheckout-active .clcheckout-summary__item-name,
body.clcheckout-active .clcheckout-summary__item-name a,
body.clcheckout-active .clcheckout-summary__item-price,
body.clcheckout-active .clcheckout-summary__item-price *,
body.clcheckout-active .clcheckout-summary__qty-value,
body.clcheckout-active .clcheckout-summary__value,
body.clcheckout-active .clcheckout-summary__value *,
body.clcheckout-active .clcheckout-summary__title,
body.clcheckout-active .clcheckout-summary__row--total,
body.clcheckout-active .clcheckout-summary__row--total * {
  color: var(--clcheckout-text) !important;
}
body.clcheckout-active .clcheckout-summary__label,
body.clcheckout-active .clcheckout-summary .variation,
body.clcheckout-active .clcheckout-summary small,
body.clcheckout-active .clcheckout-summary__item-variation {
  color: var(--clcheckout-text-muted) !important;
}
body.clcheckout-active .clcheckout-summary__qty-btn,
body.clcheckout-active .clcheckout-summary__qty-value,
body.clcheckout-active .clcheckout-summary__item-qty-controls,
body.clcheckout-active .clcheckout-summary__coupon-btn {
  background: var(--clcheckout-bg-secondary) !important;
  color: var(--clcheckout-text) !important;
  border-color: var(--clcheckout-border) !important;
}
body.clcheckout-active .clcheckout-summary__qty-btn:hover,
body.clcheckout-active .clcheckout-summary__coupon-btn:hover {background:#344056 !important;}
body.clcheckout-active .clcheckout-summary__item-remove {color:var(--clcheckout-text-muted) !important;}
body.clcheckout-active .clcheckout-summary__item-qty-badge {background:var(--clcheckout-primary) !important;color:#fff !important;}
body.clcheckout-active .clcheckout__main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.clcheckout-active .clcheckout__main select,
body.clcheckout-active .clcheckout__main textarea,
body.clcheckout-active #clcheckout-sidebar input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.clcheckout-active .select2-container .select2-selection,
body.clcheckout-active .select2-dropdown,
body.clcheckout-active .select2-search__field,
body.clcheckout-active .select2-results__option {
  background:var(--clcheckout-bg-secondary) !important;
  color:var(--clcheckout-text) !important;
  border-color:var(--clcheckout-border) !important;
}
body.clcheckout-active .select2-results__option--highlighted {background:var(--clcheckout-primary) !important;color:#fff !important;}
body.clcheckout-active .select2-selection__rendered,
body.clcheckout-active .select2-selection__placeholder {color:var(--clcheckout-text-muted) !important;}
body.clcheckout-active .clcheckout__main label,
body.clcheckout-active .clcheckout__main legend,
body.clcheckout-active .clcheckout__main .woocommerce-input-wrapper,
body.clcheckout-active .clcheckout-payment__methods label {color:var(--clcheckout-text) !important;}
body.clcheckout-active .clcheckout-payment__methods li,
body.clcheckout-active .clcheckout-payment__methods .payment_box {background:var(--clcheckout-bg-secondary) !important;border-color:var(--clcheckout-border) !important;color:var(--clcheckout-text) !important;}
body.clcheckout-active .clcheckout .woocommerce-Price-amount,
body.clcheckout-active .clcheckout .woocommerce-Price-currencySymbol {color:inherit !important;}
/* Cart drawer is rendered outside the Bentryx site scope. Supply global fallbacks. */
html body #clcart-drawer,
html body .clcart-drawer {
  --clcheckout-primary: var(--red, #e20b17);
  --clcheckout-text: var(--white, #f8fafc);
  --clcheckout-text-muted: var(--muted, #a2aaba);
  --clcheckout-border: var(--stroke, #343e50);
  --clcheckout-bg-secondary: var(--panel2, #202a39);
  background: var(--panel, #172131) !important;
  color: var(--clcheckout-text) !important;
  color-scheme: dark;
}
html body .clcart-drawer .clcart-drawer__header,
html body .clcart-drawer .clcart-drawer__body,
html body .clcart-drawer .clcart-drawer__footer,
html body .clcart-drawer .clcart-drawer__crosssells,
html body .clcart-drawer .clcart-item,
html body .clcart-drawer .clcart-drawer__shipping-bar {
  background: var(--panel, #172131) !important;
  color: var(--clcheckout-text) !important;
  border-color: var(--clcheckout-border) !important;
}
html body .clcart-drawer .clcart-drawer__title,
html body .clcart-drawer .clcart-drawer__count,
html body .clcart-drawer .clcart-item__name,
html body .clcart-drawer .clcart-item__name a,
html body .clcart-drawer .clcart-item__price,
html body .clcart-drawer .clcart-item__qty-value,
html body .clcart-drawer .clcart-subtotal__value,
html body .clcart-drawer .clcart-crosssell__name,
html body .clcart-drawer .clcart-crosssell__price,
html body .clcart-drawer .clcart-crosssells__title {color:var(--clcheckout-text) !important;}
html body .clcart-drawer .clcart-item__variation,
html body .clcart-drawer .clcart-subtotal__label,
html body .clcart-drawer .clcart-shipping__text,
html body .clcart-drawer .clcart-empty__text {color:var(--clcheckout-text-muted) !important;}
html body .clcart-drawer .clcart-item__qty,
html body .clcart-drawer .clcart-item__qty-btn,
html body .clcart-drawer .clcart-item__qty-value,
html body .clcart-drawer .clcart-drawer__continue,
html body .clcart-drawer .clcart-crosssell,
html body .clcart-drawer .clcart-crosssells__arrow,
html body .clcart-drawer .clcart-crosssells__dot {
  background:var(--clcheckout-bg-secondary) !important;
  color:var(--clcheckout-text) !important;
  border-color:var(--clcheckout-border) !important;
}
html body .clcart-drawer .clcart-item__qty-btn:hover {background:#344056 !important;}
html body .clcart-drawer .clcart-drawer__close,
html body .clcart-drawer .clcart-item__remove {color:var(--clcheckout-text-muted) !important;background:transparent !important;}
html body .clcart-drawer .clcart-drawer__checkout-btn,
html body .clcart-drawer .clcart-crosssell__add {background:var(--clcheckout-primary) !important;color:#fff !important;border-color:var(--clcheckout-primary) !important;}
html body .clcart-drawer .clcart-drawer__checkout-btn:hover,
html body .clcart-drawer .clcart-crosssell__add:hover {background:#bb0b16 !important;}
html body .clcart-drawer img {background:#fff;border-radius:6px;}
html body .clcart-drawer .clcart-drawer__footer {padding-bottom:max(20px, env(safe-area-inset-bottom));}
@media (max-width:767px){body.clcheckout-active .clcheckout{width:calc(100% - 32px) !important;}html body .clcart-drawer{max-width:100vw;}}

/* Bentryx: remove the original white scroll-fade from the cart drawer. */
html body .clcart-drawer .clcart-drawer__body::after {
  content: none !important;
  display: none !important;
}

/* Bentryx v4: continue shopping text must remain legible on dark surfaces. */
html body #clcart-drawer button.clcart-drawer__continue,
html body #clcart-drawer button.clcart-drawer__continue:hover,
html body #clcart-drawer button.clcart-drawer__continue:focus-visible {
  color: #ffffff !important;
}
