/* ArteBianco Compra Ágil 0.1.2: scoped, reversible, no price or form logic. */
.abca-cart-root { position: fixed; inset: 0; z-index: 999999; pointer-events: none; color: #202124; font-family: inherit; }
.abca-cart-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background: rgba(16,19,24,.38); opacity: 0; transition: opacity .24s ease; cursor: pointer; }
.abca-cart-panel { position: absolute; inset: 0 0 0 auto; width: min(420px,100%); background: #fff; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .24s ease; box-shadow: -6px 0 28px rgba(0,0,0,.13); outline: none; }
body.abca-cart-open { overflow: hidden; }
body.abca-cart-open .abca-cart-root { pointer-events: auto; }
body.abca-cart-open .abca-cart-backdrop { opacity: 1; }
body.abca-cart-open .abca-cart-panel { transform: translateX(0); }
.abca-cart-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ececef; padding: 18px 20px; }
.abca-cart-header h2 { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.2; }
.abca-cart-header small { font-size: 13px; color: #777; }
.abca-close { border: 0; background: transparent; font-size: 29px; color: #333; min-width: 40px; min-height: 40px; padding: 0; cursor: pointer; }
.abca-cart-content { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; }
.abca-cart-items { padding: 0; margin: 0; list-style: none; }
.abca-cart-item { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ededed; }
.abca-thumb img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.abca-line { min-width: 0; font-size: 13px; line-height: 1.5; }
.abca-line strong { font-size: 14px; display: block; overflow-wrap: anywhere; }
.abca-line > span { display: block; color: #7a7a7d; margin-top: 4px; }
.abca-line-price { font-weight: 700; font-size: 13px; white-space: nowrap; }
.abca-config { margin-top: 6px; color: #555; font-size: 12px; }
.abca-config summary { cursor: pointer; color: #b71977; }
.abca-config dl, .abca-config p { margin: 6px 0; }
.abca-cart-footer { padding: 15px 20px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid #eee; background: #fff; }
.abca-total { display: flex; justify-content: space-between; align-items: center; font-size: 15px; gap: 12px; }
.abca-total strong { color: #b71977; font-size: 21px; }
.abca-cart-footer p { font-size: 11px; line-height: 1.4; color: #777; margin: 7px 0 14px; }
.abca-go-checkout, .abca-continue { display: block; width: 100%; text-align: center; padding: 13px 12px; font: inherit; font-weight: 700; border-radius: 9px; cursor: pointer; text-decoration: none; }
.abca-go-checkout { color: #fff !important; background: #b71977; border: 1px solid #b71977; }
.abca-continue { margin-top: 9px; border: 1px solid #e1e1e1; background: #fff; color: #333; }
/* Information-only checkout compacting; never hide payment fields or legal checkboxes by default. */
body.abca-checkout-compact .abca-compact-meta.abca-closed { display: none !important; }
body.abca-checkout-compact .abca-meta-toggle { display: inline-flex; margin: 5px 0 9px; border: 0; padding: 4px 2px; background: transparent; color: #b71977; font-size: 12px; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
body.abca-checkout-compact .abca-meta-toggle:focus-visible, .abca-cart-root button:focus-visible, .abca-cart-root a:focus-visible, .abca-manual-toggle:focus-visible { outline: 2px solid #b71977; outline-offset: 2px; }
body.abca-checkout-compact .fc-checkout-step { margin-bottom: 12px !important; }
body.abca-checkout-compact .fc-checkout-step__title { margin-bottom: 9px !important; }
body.abca-checkout-compact form.checkout .form-row { margin-bottom: 9px !important; }
body.abca-checkout-compact form.checkout .form-row label { margin-bottom: 4px !important; }
body.abca-checkout-compact form.checkout .input-text,
body.abca-checkout-compact form.checkout select { min-height: 42px; }
body.abca-checkout-compact form.checkout .input-text { font-size: 16px; }
body.abca-checkout-compact .fc-cart-item, body.abca-checkout-compact .fc-order-summary .cart_item { padding-top: 9px !important; padding-bottom: 9px !important; }
.abca-manual-toggle { display: block; width: 100%; padding: 13px 15px; border: 1px solid #dfdfe2; border-radius: 10px; background: #fff; text-align: left; color: #202124; font: inherit; font-weight: 700; cursor: pointer; }
body.abca-checkout-compact .fc-checkout-steps.abca-manual-closed { display: none !important; }
@media (min-width: 768px) {
  body.abca-checkout-compact .fc-checkout-steps.abca-manual-closed { display: block !important; }
  .abca-manual-toggle { display: none !important; }
  body.abca-checkout-compact .abca-compact-meta.abca-closed { display: block !important; }
  body.abca-checkout-compact .abca-meta-toggle { display: none !important; }
}
@media (max-width: 480px) {
  .abca-cart-item { grid-template-columns: 50px minmax(0,1fr); gap: 10px; }
  .abca-thumb img { width: 48px; height: 48px; }
  .abca-line-price { grid-column: 2; justify-self: start; }
  .abca-cart-header, .abca-cart-content, .abca-cart-footer { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .abca-cart-backdrop, .abca-cart-panel { transition: none; }
}

/* 0.1.1: item removal. Small, neutral icons with practical touch targets. */
.abca-cart-root .abca-line-price { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.abca-cart-root .abca-line-price > strong { font: inherit; font-weight: 700; }
.abca-cart-root .abca-remove-item,
.woocommerce-cart .abca-cart-page-remove,
body .abca-cart-page-remove {
    box-sizing: border-box; display: inline-flex !important; align-items: center; justify-content: center;
    gap: 5px; min-width: 32px; min-height: 32px; padding: 4px 7px !important;
    border: 0 !important; background: transparent !important; box-shadow: none !important;
    color: #73777a !important; text-decoration: none !important; cursor: pointer;
    font-size: 12px !important; font-weight: 500 !important; line-height: 1.2 !important;
}
.abca-cart-root .abca-remove-item svg, .woocommerce-cart .abca-cart-page-remove svg, body .abca-cart-page-remove svg { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.abca-cart-root .abca-remove-item:hover, .woocommerce-cart .abca-cart-page-remove:hover, body .abca-cart-page-remove:hover { color: #b71977 !important; }
.abca-cart-root .abca-remove-item:focus-visible, .woocommerce-cart .abca-cart-page-remove:focus-visible, body .abca-cart-page-remove:focus-visible { outline: 2px solid #b71977 !important; outline-offset: 1px; }
.abca-cart-root .abca-remove-item[aria-busy="true"] { opacity: .4; pointer-events: none; }
.woocommerce-cart .abca-cart-page-remove-wrap, body .abca-cart-page-remove-wrap { display: inline-flex !important; vertical-align: middle; margin-left: 7px; }
/* Restore theme-hidden standard WooCommerce remove buttons too, including block carts. */
body.woocommerce-cart .woocommerce-cart-form .product-remove,
body.woocommerce-cart .woocommerce-cart-form .product-remove a.remove,
body.woocommerce-cart .wc-block-cart-item__remove-link { visibility: visible !important; opacity: 1 !important; }
body.woocommerce-cart .wc-block-cart-item__remove-link { display: inline-flex !important; }
@media (max-width: 480px) {
    .abca-cart-root .abca-line-price { grid-column: 2; justify-self: start; align-items: flex-start; flex-direction: row; align-items: center; gap: 10px; }
}
.woocommerce-cart .abca-cart-page-x { display: inline-block; font-size: 17px; font-weight: 600; line-height: 1; color: inherit; }

/* 0.1.2: explicit delete text as a failsafe when icon glyphs/styles are suppressed by the theme. */
.abca-cart-root .abca-remove-item,
body .abca-cart-page-remove {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  white-space: nowrap;
  line-height: 1.3 !important;
}
.abca-cart-root .abca-remove-label {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 11px;
}
body .abca-cart-page-remove-wrap { display: inline-flex !important; }
body .abca-cart-page-remove { color: #73777a !important; font-size: 12px !important; }
body .abca-cart-page-remove svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .abca-cart-root .abca-line-price { flex-wrap: wrap; }
}
