.crafter-shell-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:0;background:transparent;color:#20344b;cursor:pointer}
.crafter-shell-cart svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.crafter-shell-cart:hover{color:#63bdca}.crafter-shell-cart-count{position:absolute;top:-3px;right:-4px;display:none;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #f5f7fa;border-radius:999px;background:#63bdca;color:#fff;font:800 10px/1 Arial,sans-serif;box-sizing:border-box}.crafter-shell-cart.has-items .crafter-shell-cart-count{display:flex}
.crafter-cart-card-action{display:flex;padding:0 12px 12px}.crafter-cart-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;padding:8px 10px;border:1px solid #63bdca;border-radius:10px;background:#effafd;color:#276f7b;font:800 12px/1.1 Arial,sans-serif;cursor:pointer}.crafter-cart-add:hover{background:#dff5f8}.crafter-cart-add svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#crafterProductModalV180 .crafter-cart-add{width:auto;flex:1;background:#63bdca;color:#fff;border-color:#63bdca}
.crafter-cart-backdrop{position:fixed;inset:0;z-index:4000;background:rgba(15,23,42,.42);opacity:0;pointer-events:none;transition:opacity .18s ease}.crafter-cart-backdrop.is-open{opacity:1;pointer-events:auto}
.crafter-cart-drawer{position:fixed;z-index:4001;top:0;right:0;width:min(430px,100vw);height:100dvh;display:flex;flex-direction:column;transform:translateX(105%);transition:transform .22s ease;background:#f7f9fb;box-shadow:-18px 0 44px rgba(15,23,42,.2);font-family:Arial,sans-serif;color:#172235}.crafter-cart-drawer.is-open{transform:translateX(0)}
.crafter-cart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #dce3ea;background:#fff}.crafter-cart-head strong{font-size:20px}.crafter-cart-close{width:36px;height:36px;padding:0;border:1px solid #d7dee7;border-radius:10px;background:#fff;font-size:24px;line-height:1;cursor:pointer}.crafter-cart-scroll{flex:1;overflow:auto;padding:14px 14px 26px}.crafter-cart-items{display:grid;gap:10px}.crafter-cart-empty{padding:30px 14px;border:1px dashed #cdd6df;border-radius:14px;background:#fff;text-align:center;color:#667085}
.crafter-cart-item{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:10px;border:1px solid #dce3ea;border-radius:14px;background:#fff}.crafter-cart-item-image{width:72px;height:72px;border-radius:10px;background:#f2f4f6;overflow:hidden;display:flex;align-items:center;justify-content:center}.crafter-cart-item-image img{width:100%;height:100%;object-fit:contain}.crafter-cart-item-title{font-weight:800;font-size:13px;line-height:1.25}.crafter-cart-item-variant{margin-top:3px;color:#667085;font-size:11px}.crafter-cart-item-price{margin-top:5px;color:#63bdca;font-weight:800}.crafter-cart-item-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.crafter-cart-qty{display:flex;align-items:center;gap:6px}.crafter-cart-qty button,.crafter-cart-remove{min-width:28px;height:28px;padding:0 7px;border:1px solid #d7dee7;border-radius:8px;background:#fff;cursor:pointer}.crafter-cart-remove{color:#9b2c2c}.crafter-cart-note{grid-column:1/-1;width:100%;min-height:54px;padding:8px 9px;border:1px solid #d7dee7;border-radius:9px;box-sizing:border-box;resize:vertical;font:12px/1.35 Arial,sans-serif}
.crafter-cart-summary{margin-top:14px;padding:13px 14px;border:1px solid #dce3ea;border-radius:14px;background:#fff}.crafter-cart-total{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:900}.crafter-cart-tax{margin-top:4px;color:#667085;font-size:11px;text-align:right}
.crafter-cart-checkout{margin-top:12px;padding:14px;border:1px solid #dce3ea;border-radius:14px;background:#fff}.crafter-cart-checkout h3{margin:0 0 11px;font-size:16px}.crafter-cart-fields{display:grid;gap:9px}.crafter-cart-fields label{display:grid;gap:4px;font-size:11px;font-weight:800}.crafter-cart-fields input,.crafter-cart-fields textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #bcc7d3;border-radius:9px;background:#fff;font:14px Arial,sans-serif}.crafter-cart-fields textarea{min-height:62px;resize:vertical}.crafter-cart-payment-title{margin:14px 0 8px;font-size:12px;font-weight:900}.crafter-cart-methods{display:grid;gap:7px}.crafter-cart-method{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #d7dee7;border-radius:10px;background:#fff;cursor:pointer}.crafter-cart-method:has(input:checked){border-color:#63bdca;background:#effafd}.crafter-cart-method input{margin-top:2px}.crafter-cart-method-copy{display:grid;gap:2px}.crafter-cart-method-copy strong{font-size:13px}.crafter-cart-method-copy span{color:#667085;font-size:11px;line-height:1.35}.crafter-cart-submit{width:100%;min-height:42px;margin-top:12px;border:0;border-radius:10px;background:#63bdca;color:#fff;font-weight:900;cursor:pointer}.crafter-cart-submit:disabled{opacity:.6;cursor:wait}.crafter-cart-status{display:none;margin-top:10px;padding:10px;border-radius:9px;background:#f3f6f8;color:#344054;font-size:12px;line-height:1.4}.crafter-cart-status.show{display:block}.crafter-cart-status.error{background:#fff0f0;color:#8d2525}.crafter-cart-status.success{background:#edf9f2;color:#24663f}.crafter-cart-whatsapp{display:inline-flex;margin-top:8px;padding:9px 11px;border-radius:9px;background:#16a34a;color:#fff!important;text-decoration:none;font-weight:800}.crafter-cart-toast{position:fixed;z-index:5000;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(520px,calc(100vw - 24px));padding:11px 14px;border-radius:10px;background:#172235;color:#fff;box-shadow:0 10px 30px rgba(15,23,42,.25);font:700 13px/1.4 Arial,sans-serif;transition:.2s}.crafter-cart-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:620px){.crafter-shell-cart{flex-basis:32px;width:32px;height:32px}.crafter-shell-cart svg{width:22px;height:22px}.crafter-cart-drawer{width:100vw}.crafter-cart-scroll{padding:12px}.crafter-cart-card-action{padding:0 9px 9px}.crafter-cart-add{min-height:34px;font-size:11px}}

/* Retroalimentación clara al agregar al carrito */
.crafter-cart-inline-feedback{display:none;margin:-5px 12px 10px;padding:8px 10px;border-radius:9px;font:700 11px/1.35 Arial,sans-serif}
.crafter-cart-inline-feedback.show{display:block}
.crafter-cart-inline-feedback.error{background:#fff0f0;color:#8d2525;border:1px solid #f2caca}
.crafter-cart-inline-feedback.success{background:#edf9f2;color:#24663f;border:1px solid #cbe9d6}
.crafter-cart-variant-required{border-color:#d34b4b!important;box-shadow:0 0 0 3px rgba(211,75,75,.14)!important;background:#fff8f8!important}
.crafter-cart-add.is-added{background:#e9f8ef!important;border-color:#69b985!important;color:#24663f!important}
.crafter-cart-toast{top:18px;bottom:auto;transform:translate(-50%,-18px);z-index:10000}
.crafter-cart-toast.show{transform:translate(-50%,0)}
.crafter-cart-toast.error{background:#8d2525}
.crafter-cart-toast.success{background:#24663f}
@media(max-width:620px){.crafter-cart-inline-feedback{margin:-3px 9px 9px}.crafter-cart-toast{top:12px}}


/* Tarjetas limpias: las acciones quedan sólo dentro del modal del producto. */
#crafterCatalogOverlayV103 #crafterCatalogContentV103 .c103-grid.c103-grid .c103-card .c103-actions,
#crafterCatalogOverlayV103 #crafterCatalogContentV103 .c103-grid.c103-grid .c103-card .crafter-cart-card-action{display:none!important}

/* Mensajes del carrito dentro del modal, justo encima de sus acciones. */
#crafterProductModalV180 .crafter-cart-modal-feedback{
  display:none;
  margin:14px 0 0!important;
  padding:10px 12px;
  border-radius:10px;
  position:relative;
  z-index:2;
}
#crafterProductModalV180 .crafter-cart-modal-feedback.show{display:block}
#crafterProductModalV180 .crafter-cart-modal-feedback.error{background:#fff0f0;color:#8d2525;border:1px solid #f2caca}
#crafterProductModalV180 .crafter-cart-modal-feedback.success{background:#edf9f2;color:#24663f;border:1px solid #cbe9d6}
/* El modal original usa z-index:1000000; el aviso global debe quedar por encima si llega a utilizarse. */
.crafter-cart-toast{z-index:1000100!important}
