/* Simple Side Cart */
#shoptimizerCartDrawer { z-index: 2147483600 !important; padding: 0 !important; display: flex !important; flex-direction: column; overflow: hidden !important; }
#shoptimizerCartDrawer .cart-drawer-heading,
#shoptimizerCartDrawer > .close-drawer { display: none !important; }
#shoptimizerCartDrawer .widget_shopping_cart { flex: 1 1 auto; min-height: 0; margin: 0 !important; padding: 0 !important; background: #fff; }
#shoptimizerCartDrawer .widget_shopping_cart_content { height: 100%; }
body.drawer-open .swb,
body.drawer-open [id^="chaty-widget"] { display: none !important; }

.swc, .swc * { box-sizing: border-box; }
.swc { display: flex; flex-direction: column; height: 100%; background: #fff; color: #111; font-size: 13px; line-height: 1.35; position: relative; }
.swc.is-loading { pointer-events: none; }
.swc.is-loading::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); z-index: 5; }
.swc ul { list-style: none; margin: 0; padding: 0; }
.swc button { font-family: inherit; cursor: pointer; }

.swc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 12px; border-bottom: 1px solid #ececec; flex: 0 0 auto; }
.swc-title { font-size: 16px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.swc-count { font-weight: 400; color: #777; font-size: 13px; }
.swc .swc-close { background: none !important; border: 0 !important; padding: 4px !important; color: #111 !important; display: inline-flex; line-height: 0; box-shadow: none !important; min-height: 0 !important; width: auto !important; position: static !important; }

.swc-body { flex: 1 1 auto; overflow-y: auto; padding: 10px 20px; min-height: 0; }
.swc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }

/* Cuenta atrás */
.swc-timer { flex: 0 0 auto; background: var(--swc-timer-bg); color: var(--swc-timer-fg); text-align: center; padding: 8px 14px; font-size: 12.5px; line-height: 1.3; }
.swc-timer { display: flex; align-items: center; justify-content: center; gap: 6px; }
.swc-timer svg { flex: 0 0 auto; }
.swc-timer b { font-weight: 800; font-variant-numeric: tabular-nums; }

/* Envío gratis */
.swc-fs { margin-bottom: 10px; }
.swc-fs-label { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 700; font-size: 12.5px; margin-bottom: 4px; }
.swc-fs-label .amount, .swc-fs-label bdi { font-weight: 700; color: inherit; }
.swc-bar { position: relative; height: 5px; border-radius: 99px; background: #e2e2e2; margin: 4px 8px 10px 4px; }
.swc-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--swc-bar); border-radius: 99px; transition: width .35s ease; }
.swc-bar-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--swc-bar); transition: left .35s ease; }
.swc-bar-end { position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid #d4d4d4; }
.swc-fs-msg { display: flex; align-items: center; gap: 10px; background: var(--swc-soft); border-radius: 10px; padding: 8px 12px; }
.swc-fs-msg > svg { flex: 0 0 auto; color: #555; }
.swc-fs-msg strong { display: block; font-size: 13px; font-weight: 700; }
.swc-fs-msg > div > span { display: block; color: #666; font-size: 12px; }
.swc-fs-msg span, .swc-fs-msg bdi, .swc-fs-msg b { display: inline; white-space: nowrap; }
.swc-fs-msg > div > span { white-space: normal; }
.swc-fs-msg .swc-good, .swc-fs-msg .swc-good * { color: var(--swc-good); font-weight: 700; }
.swc-fs-msg.is-reached strong { color: var(--swc-good); }

/* Productos */
.swc-items { display: flex; flex-direction: column; gap: 10px; }
.swc-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; background: var(--swc-card); border-radius: 12px; padding: 8px 10px 8px 8px; }
.swc-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; }
.swc-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; }
.swc-name, .swc-name a { font-size: 13px; font-weight: 700; color: #111 !important; text-decoration: none; text-transform: uppercase; line-height: 1.25; }
.swc-price { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-weight: 800; font-size: 15px; }
.swc-price .amount, .swc-price bdi { color: inherit; font-weight: inherit; }
.swc-price.is-sale .swc-now { color: var(--swc-sale); }
.swc-price del { color: #9a9a9a; font-weight: 400; font-size: 12.5px; opacity: 1; }
.swc-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; align-self: stretch; gap: 10px; }
.swc-qty { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 99px; background: #fff; overflow: hidden; height: 26px; }
.swc .swc-qty-btn { background: none !important; border: 0 !important; width: 28px; height: 100%; font-size: 16px !important; font-weight: 700; color: #111 !important; padding: 0 !important; min-height: 0 !important; line-height: 1; box-shadow: none !important; }
.swc .swc-qty-btn:disabled { opacity: .35; cursor: default; }
.swc-qty-n { min-width: 26px; text-align: center; font-weight: 700; border-left: 1px solid #cfcfcf; border-right: 1px solid #cfcfcf; line-height: 24px; }
.swc .swc-remove { background: none !important; border: 0 !important; padding: 0 !important; color: #111 !important; text-decoration: underline; font-size: 12.5px; font-weight: 600; min-height: 0 !important; box-shadow: none !important; margin-top: auto; }

/* También te puede gustar */
.swc-up { flex: 0 0 auto; background: #f4f4f4; padding: 10px 16px 12px; border-top: 1px solid #ececec; }
.swc-up-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 13.5px; margin-bottom: 8px; }
.swc-up-nav { display: inline-flex; gap: 8px; }
.swc .swc-up-nav button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #cfcfcf !important; background: #fff !important; color: #111 !important; font-size: 20px; line-height: 1; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; }
.swc-up-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; padding: 9px 12px; }
.swc-up-card[hidden] { display: none !important; }
.swc-up-name { font-weight: 800; font-size: 13.5px; text-transform: uppercase; margin-bottom: 6px; }
.swc-up-row { display: flex; align-items: center; gap: 12px; }
.swc-up-img { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 8px; overflow: hidden; display: block; }
.swc-up-img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.swc-up-mid { flex: 1; min-width: 0; }
.swc .swc-up-var { width: 100%; max-width: 140px; height: 30px; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 8px; background: #fff; font-size: 12.5px; color: #333; margin: 0 0 4px; }
.swc .swc-up-var.swc-need { border-color: var(--swc-sale); box-shadow: 0 0 0 2px rgba(214,45,45,.18); }
.swc-up-price { font-weight: 800; font-size: 14px; }
.swc-up-price .amount, .swc-up-price bdi { color: inherit; }
.swc-up-price del { color: #9a9a9a; font-weight: 400; font-size: 13px; }
.swc-up-price ins { background: none; text-decoration: none; color: var(--swc-sale); }

/* Total y botón */
.swc-foot { flex: 0 0 auto; padding: 12px 20px 10px; background: #fff; }
.swc-total { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.swc-total-label { font-size: 17px; line-height: 1.2; }
.swc-total-val { text-align: right; display: flex; flex-direction: column; gap: 3px; }
.swc-total-line { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.swc-total-line strong { font-size: 21px; font-weight: 800; }
.swc-total-line del { color: #9a9a9a; font-size: 15px; }
.swc-total .amount, .swc-total bdi { color: inherit; }
.swc-saved { color: var(--swc-sale); font-size: 13.5px; }
.swc-saved b { font-weight: 800; }

.swc a.swc-btn, .swc .swc-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; background: var(--swc-btn) !important; color: var(--swc-btn-text) !important; border: 0 !important; border-radius: 12px !important; font-weight: 800; font-size: 15px; padding: 0 18px; min-height: 40px; text-decoration: none !important; cursor: pointer; box-shadow: none !important; text-transform: none; line-height: 1; }
.swc .swc-btn:hover { filter: brightness(1.12); }
.swc .swc-checkout { width: 100%; min-height: 50px; font-size: 17px; border-radius: 14px !important; }
.swc .swc-add { white-space: nowrap; min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 10px !important; }

.swc-trust { display: flex; gap: 12px; margin-top: 10px; font-size: 12px; color: #222; }
.swc-trust span { display: flex; align-items: center; gap: 8px; flex: 1; line-height: 1.25; }
.swc-trust svg { flex: 0 0 auto; width: 18px; height: 18px; }

@media (max-height: 760px) {
	.swc-head { padding: 10px 16px 8px; }
	.swc-thumb { width: 60px; height: 60px; }
	.swc-item { grid-template-columns: 60px 1fr auto; }
	.swc-up-img { display: none; }
	.swc-trust { margin-top: 8px; }
}
@media (max-width: 480px) {
	.swc-head, .swc-foot { padding-left: 14px; padding-right: 14px; }
	.swc-body { padding-left: 16px; padding-right: 16px; }
	.swc-item { grid-template-columns: 64px 1fr auto; gap: 10px; }
	.swc-thumb { width: 64px; height: 64px; }
	.swc-total-label { font-size: 16px; }
	.swc-total-line strong { font-size: 20px; }
	.swc-trust { font-size: 11.5px; }
}
