/* =========================================================
   Selfish Delivery – carrito lateral (zona de entrega + carrito)
   Color principal: --sfd-primary (Entregas → Carrito lateral)
   Escritorio y móvil: cajón lateral a la derecha.
   ========================================================= */
:root {
	--sfd-primary: #C76473;
	--sfd-soft: #fdf0f2;
	--sfd-line: #e8e1e2;
	--sfd-ok: #2f8f4e;
	--sfd-text: #1f1a1a;
	--sfd-muted: #6b6464;
}
@supports (background: color-mix(in srgb, red 10%, white)) {
	:root {
		--sfd-soft: color-mix(in srgb, var(--sfd-primary) 8%, #fff);
	}
}

html.sfd-lock { overflow: hidden; }
.sfd-sc[hidden], .sfd-view[hidden], [data-sfd-count][hidden], .sfd-est[hidden], .sfd-msg[hidden] { display: none !important; }
.sfd-sc { position: fixed; inset: 0; z-index: 100000; overflow: hidden; overflow: clip; max-width: 100vw; color: var(--sfd-text); font-size: 15px; line-height: 1.45; }
.sfd-sc *, .sfd-sc *::before { box-sizing: border-box; }
.sfd-sc button { font-family: inherit; }
.sfd-muted { margin: 8px 0; color: var(--sfd-muted); font-size: 13px; }
.sfd-cur { font-size: .8em; }
.sfd-free { color: var(--sfd-ok); font-weight: 700; }

/* Botones */
.sfd-btn {
	display: inline-flex; align-items: center; justify-content: center; flex: 1;
	min-height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--sfd-primary);
	font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-align: center; white-space: normal; min-width: 0;
	text-decoration: none; cursor: pointer; transition: opacity .15s;
}
.sfd-btn--primary { background: var(--sfd-primary); color: #fff; }
.sfd-btn--primary:hover { color: #fff; opacity: .92; }
.sfd-btn--ghost { background: #fff; color: var(--sfd-primary); }
.sfd-btn--ghost:hover { background: var(--sfd-soft); color: var(--sfd-primary); }
.sfd-btn--block { width: 100%; }
.sfd-btn:disabled { opacity: .4; cursor: not-allowed; }
.sfd-link { padding: 0; border: 0; background: none; color: var(--sfd-primary); font-size: 13px; text-decoration: underline; cursor: pointer; }
.sfd-x { width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--sfd-text); cursor: pointer; }

/* Cajón / hoja */
.sfd-sc__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s; }
.sfd-sc__panel {
	position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
	width: min(440px, 100%); background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .15);
	transform: translateX(100%); transition: transform .25s ease;
}
.sfd-sc.is-open .sfd-sc__overlay { opacity: 1; }
.sfd-sc.is-open .sfd-sc__panel { transform: none; }
.sfd-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sfd-sc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--sfd-line); }
.sfd-sc .sfd-sc__head h2 { margin: 0; padding: 0; font-size: 1.2rem; line-height: 1.25; font-weight: 700; letter-spacing: 0; text-transform: none; }
.sfd-sc .sfd-x { width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--sfd-text); font-size: 28px; line-height: 1; text-transform: none; letter-spacing: 0; }
.sfd-sc__scroll { flex: 1; overflow-y: auto; padding: 18px 20px; }
.sfd-sc__cart { display: flex; flex-direction: column; flex: 1; min-height: 0; transition: opacity .15s; }
.sfd-sc__cart.is-loading { opacity: .55; pointer-events: none; }
.sfd-sc__foot { padding: 14px 20px 20px; border-top: 1px solid var(--sfd-line); background: #fff; }
.sfd-actions { display: flex; gap: 10px; margin-top: 12px; }

@media (max-width: 600px) {
	/* Móvil: también lateral, a todo lo ancho de la pantalla */
	.sfd-sc__panel { width: 100%; }
	.sfd-sc__head { padding: 14px 16px; }
	.sfd-sc__scroll { padding: 14px 16px; }
	.sfd-sc__foot { padding: 12px 16px 18px; }
	.sfd-btn { font-size: 12px; letter-spacing: .03em; padding: 0 8px; }
}

/* ---------- Zona de entrega ---------- */
.sfd-view--zone label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.sfd-tabs { display: flex; padding: 3px; border: 1px solid var(--sfd-line); border-radius: 10px; background: #faf8f8; }
.sfd-tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 8px; background: none; color: var(--sfd-muted); font-weight: 600; cursor: pointer; }
.sfd-tabs button.is-on { background: #fff; color: var(--sfd-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.sfd-row { display: flex; gap: 8px; }
.sfd-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--sfd-line); border-radius: 8px; font-size: 16px; }
.sfd-row .sfd-btn { flex: 0 0 auto; min-height: 46px; padding: 0 20px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.sfd-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.sfd-msg--err { background: #fff1f1; color: #8a1f1f; }
.sfd-est { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--sfd-ok); font-size: 14px; }
.sfd-est::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--sfd-ok); color: #fff; font-size: 12px; font-weight: 700; }
.sfd-est strong { font-weight: 600; }
.sfd-pickup { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--sfd-soft); }
.sfd-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sfd-quick button { min-height: 44px; padding: 0 6px; border: 1px solid var(--sfd-line); border-radius: 8px; background: #fff; color: var(--sfd-text); font-weight: 600; font-size: 14px; cursor: pointer; }
.sfd-quick button.is-on { border-color: var(--sfd-primary); background: var(--sfd-soft); color: var(--sfd-primary); }
.sfd-quick button:disabled { color: #aaa; background: #f6f3f3; cursor: not-allowed; }
.sfd-datelabel { margin: 8px 0; color: var(--sfd-primary); font-weight: 600; }
.sfd-datelabel[hidden] { display: none; }
.sfd-cal { margin: 8px 0; padding: 6px; border: 1px solid var(--sfd-line); border-radius: 8px; }
.sfd-cal[hidden] { display: none; }
.sfd-cal .pika-single { width: 100%; border: 0; background: none; color: inherit; }
.sfd-cal .pika-lendar { width: 100%; margin: 0; }
.sfd-cal .pika-table { width: 100%; }
.sfd-cal .pika-button { text-align: center; border-radius: 8px; }
.sfd-cal .is-selected .pika-button, .sfd-cal .pika-button:hover { background: var(--sfd-primary) !important; color: #fff !important; box-shadow: none; }
.sfd-cal .is-disabled .pika-button { opacity: .3; }

/* Totales */
.sfd-sums { margin: 0; padding: 0; }
.sfd-sums > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.sfd-sums dt, .sfd-sums dd { margin: 0; }
.sfd-sums small { color: var(--sfd-muted); }
.sfd-sums__total { margin-top: 4px; padding-top: 8px !important; border-top: 1px solid var(--sfd-line); font-weight: 700; font-size: 16px !important; }

/* ---------- Carrito ---------- */
.sfd-item { margin: 0 0 12px; }
.sfd-item__row { display: flex; align-items: center; gap: 12px; }
.sfd-item__info { flex: 1; min-width: 0; }
.sfd-item__info strong { display: block; font-size: 15px; font-weight: 700; }
.sfd-item__info small { display: block; color: var(--sfd-muted); font-size: 13px; }
.sfd-thumb { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 8px; background: var(--sfd-soft); overflow: hidden; display: block; }
.sfd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfd-thumb--sm { width: 48px; height: 48px; }
.sfd-trash { flex: 0 0 auto; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--sfd-muted); cursor: pointer; }
.sfd-trash:hover { color: var(--sfd-primary); }
.sfd-kids { margin: 8px 0 0 24px; padding: 10px 12px; border: 1px solid var(--sfd-primary); border-radius: 8px; background: var(--sfd-soft); }
.sfd-kids .sfd-item__row + .sfd-item__row { margin-top: 8px; }

.sfd-more { margin: 18px 0 0; }
.sfd-more h3 { margin: 0 0 10px; color: var(--sfd-ok); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sfd-add { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.sfd-plus {
	flex: 0 0 auto; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: var(--sfd-primary); color: #fff; font-size: 22px; line-height: 1; text-decoration: none; cursor: pointer;
}
.sfd-plus:hover { color: #fff; opacity: .9; }
.sfd-dbox { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--sfd-soft); font-size: 14px; }
.sfd-dbox.is-warn { background: #fff8ef; }
.sfd-dbox__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sfd-dbox strong { font-weight: 700; }
.sfd-dbox .sfd-link { background: none; border: 0; padding: 0; min-height: 0; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--sfd-primary); text-decoration: underline; }
.sfd-dbox small { display: block; color: var(--sfd-muted); font-size: 12px; }
.sfd-est2 { margin: 8px 0 2px; color: var(--sfd-ok); font-weight: 700; }
.sfd-warn { margin: 8px 0 0; color: #8a4b00; font-weight: 600; }
.sfd-note { margin: 0 0 8px; }

/* ---------- Enlace en el producto, botón flotante, aviso ---------- */
.sfd-zonelink { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; background: none; color: var(--sfd-text); font-size: 15px; font-weight: 600; cursor: pointer; }
.sfd-zonelink span { text-decoration: underline; }
.sfd-zonelink svg { flex: 0 0 auto; }
.sfd-fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 99990; width: 56px; height: 56px; padding: 0;
	display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
	background: var(--sfd-primary); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer;
}
.sfd-fab__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #fff; color: var(--sfd-primary); border: 2px solid var(--sfd-primary); font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
.sfd-busy { opacity: .6; pointer-events: none; }
.sfd-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100002; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: #2a2222; color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }

/* Los estilos globales de botones del tema no deben deformar el calendario ni los controles del lateral */
.sfd-sc .pika-single { font-family: inherit; }
.sfd-sc .pika-title { position: relative; text-align: center; }
.sfd-sc .pika-label { font-size: 14px; font-weight: 700; }
.sfd-sc .pika-prev, .sfd-sc .pika-next, .sfd-sc .pika-button {
	min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background-color: transparent; color: inherit;
	letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 500; line-height: 1;
}
.sfd-sc .pika-prev, .sfd-sc .pika-next { width: 30px; height: 30px; font-size: 0; opacity: .8; }
.sfd-sc .pika-button { width: 100%; padding: 8px 0; text-align: center; border-radius: 8px; background: none; }
.sfd-sc .pika-table th { color: var(--sfd-muted); font-size: 12px; font-weight: 600; text-transform: none; border: 0; padding: 4px 0; }
.sfd-sc .pika-table td { border: 0; padding: 1px; }
.sfd-sc .pika-table abbr { text-decoration: none; }
.sfd-sc .is-today .pika-button { color: var(--sfd-primary); font-weight: 700; }
.sfd-sc .is-selected .pika-button { background: var(--sfd-primary) !important; color: #fff !important; }
.sfd-sc .is-disabled .pika-button { opacity: .3; background: none !important; }
.sfd-sc .sfd-quick button, .sfd-sc .sfd-tabs button { text-transform: none; letter-spacing: 0; font-size: 14px; min-height: 44px; }
.sfd-sc .sfd-row input { box-shadow: none; margin: 0; }

/* =========================================================
   v1.7.0 – Diseño fiel a la maqueta (rosa #C76473, guinda #682231, verde #568F32)
   Las reglas llevan prefijo #sfd-sc / !important para ganarle a los botones del tema.
   ========================================================= */
:root {
	--sfd-maroon: #682231;
	--sfd-green: #568f32;
	--sfd-add: #d95367;
	--sfd-tint: #fdf2f4;
	--sfd-font: Poppins, "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
#sfd-sc, #sfd-sc button, #sfd-sc input, #sfd-sc h2, #sfd-sc h3, #sfd-sc label, #sfd-sc p, #sfd-sc dt, #sfd-sc dd, #sfd-sc small, #sfd-sc strong, #sfd-sc a,
.sfd-fab, .sfd-zonelink, .sfd-cart-icon, .sfd-toast { font-family: var(--sfd-font) !important; }

/* Reinicio de botones del tema (borde, fondo y hover) */
#sfd-sc button, .sfd-fab, .sfd-zonelink, .sfd-cart-icon { box-shadow: none; text-shadow: none; }
#sfd-sc button:hover, #sfd-sc button:focus, #sfd-sc button:active,
.sfd-zonelink:hover, .sfd-zonelink:focus, .sfd-zonelink:active { text-decoration: none; }

/* 1. Enlace "¿Cuándo y dónde entregamos?" */
button.sfd-zonelink { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; min-height: 0 !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--sfd-primary) !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.3 !important; cursor: pointer; }
button.sfd-zonelink:hover, button.sfd-zonelink:focus, button.sfd-zonelink:active { background: none !important; border: 0 !important; color: var(--sfd-maroon) !important; }
button.sfd-zonelink span { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button.sfd-zonelink svg { width: 22px; height: 22px; }

/* 2. Panel de zona */
#sfd-sc .sfd-sc__head { padding: 18px 20px; border-bottom: 1px solid #ececec; }
#sfd-sc .sfd-sc__head h2 { display: flex; align-items: center; gap: 12px; margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: 0 !important; text-transform: none !important; color: #111 !important; }
#sfd-sc .sfd-x { color: #111 !important; font-size: 30px; font-weight: 700; background: none !important; border: 0 !important; }
#sfd-sc .sfd-x:hover { color: var(--sfd-primary) !important; background: none !important; }
#sfd-sc .sfd-tabs { padding: 4px; border: 0; border-radius: 12px; background: #f6f6f6; gap: 4px; }
#sfd-sc .sfd-tabs button { min-height: 46px; border: 1px solid transparent !important; border-radius: 10px !important; background: none !important; color: #888 !important; font-size: 17px !important; font-weight: 600 !important; }
#sfd-sc .sfd-tabs button.is-on { border-color: #cfcfcf !important; background: #fff !important; color: #111 !important; box-shadow: none; }
#sfd-sc .sfd-view--zone label { margin: 18px 0 8px; font-size: 16px; font-weight: 600; color: #111; }
#sfd-sc .sfd-row { gap: 12px; }
#sfd-sc .sfd-row input { height: 52px; border: 1px solid #dcdcdc; border-radius: 10px; color: #222; font-size: 17px; }
#sfd-sc .sfd-row .sfd-btn, #sfd-sc .sfd-sc__scroll .sfd-btn { min-height: 52px; padding: 0 22px; border-radius: 10px !important; font-size: 16px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
#sfd-sc .sfd-est { gap: 8px; margin: 10px 0 0; color: #3f9a3f; font-size: 14px; font-weight: 500; }
#sfd-sc .sfd-est::before { width: 20px; height: 20px; border: 1.5px solid #3f9a3f; background: none; color: #3f9a3f; font-size: 12px; }
#sfd-sc .sfd-quick { gap: 10px; }
#sfd-sc .sfd-quick button { min-height: 46px; border: 1px solid #dcdcdc !important; border-radius: 10px !important; background: #fff !important; color: #777 !important; font-size: 17px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
#sfd-sc .sfd-quick button.is-on { border-color: var(--sfd-primary) !important; background: var(--sfd-primary) !important; color: #fff !important; }
#sfd-sc .sfd-quick button:hover:not(:disabled):not(.is-on) { border-color: var(--sfd-primary) !important; color: var(--sfd-primary) !important; background: #fff !important; }
#sfd-sc .sfd-quick button:disabled { background: #f6f3f3 !important; color: #aaa !important; }
#sfd-sc .sfd-datelabel { color: var(--sfd-primary); }
.sfd-sc .is-today .pika-button { color: var(--sfd-primary); }
#sfd-sc .sfd-sums > div { padding: 4px 0; color: #777; font-size: 17px; }
#sfd-sc .sfd-sums dd { color: #111; }
#sfd-sc .sfd-sums__total { margin-top: 8px; padding-top: 12px !important; color: #111 !important; font-size: 20px !important; font-weight: 700; border-top: 1px solid #e6e6e6; }
#sfd-sc .sfd-sums__total dt, #sfd-sc .sfd-sums__total dd { color: #111 !important; font-weight: 700; }

/* 6. Botones del pie: píldoras apiladas a todo el ancho */
#sfd-sc .sfd-sc__foot { padding: 16px 20px 22px; border-top: 1px solid #e6e6e6; }
#sfd-sc .sfd-actions { flex-direction: column; gap: 12px; margin-top: 14px; }
#sfd-sc .sfd-actions .sfd-btn { flex: 0 0 auto; width: 100%; min-height: 56px; padding: 0 20px; border: 2px solid var(--sfd-primary) !important; border-radius: 999px !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: .03em !important; text-transform: uppercase !important; }
#sfd-sc .sfd-btn--primary { background: var(--sfd-primary) !important; color: #fff !important; }
#sfd-sc .sfd-btn--ghost { background: #fff !important; color: var(--sfd-primary) !important; }
#sfd-sc .sfd-btn--primary:hover:not(:disabled), #sfd-sc .sfd-btn--primary:focus:not(:disabled) { background: var(--sfd-primary) !important; color: #fff !important; opacity: .9; }
#sfd-sc .sfd-btn--ghost:hover:not(:disabled), #sfd-sc .sfd-btn--ghost:focus:not(:disabled) { background: var(--sfd-tint) !important; color: var(--sfd-primary) !important; }
#sfd-sc .sfd-btn:disabled { opacity: .4; }

/* 3. Burbuja flotante */
button.sfd-fab { right: 18px; bottom: 18px; width: 58px !important; height: 58px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #fff !important; color: var(--sfd-add) !important; box-shadow: 0 4px 16px rgba(0, 0, 0, .14) !important; }
button.sfd-fab:hover, button.sfd-fab:focus { background: #fff !important; color: var(--sfd-add) !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .2) !important; }
button.sfd-fab svg { width: 26px; height: 26px; }
.sfd-fab .sfd-fab__n { top: -4px; right: auto; left: -6px; min-width: 24px; height: 24px; padding: 0 6px; border: 0; border-radius: 12px; background: #111; color: #fff; font-size: 13px; font-weight: 600; line-height: 24px; }

/* 4. Carrito */
#sfd-sc .sfd-head__bag { position: relative; display: inline-flex; color: #111; }
#sfd-sc .sfd-head__n, .sfd-cart-icon__n { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #111; color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
#sfd-sc .sfd-view--cart .sfd-sc__head h2 span:last-child { font-size: 22px; font-weight: 300; }
#sfd-sc .sfd-view--cart .sfd-sc__scroll { background: #f7f8f9; padding: 12px; }
#sfd-sc .sfd-item { margin: 0 0 12px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
#sfd-sc .sfd-item__row { align-items: center; gap: 12px; }
#sfd-sc .sfd-thumb { width: 84px; height: 84px; border-radius: 10px; }
#sfd-sc .sfd-item__info strong { color: var(--sfd-maroon); font-size: 17px; font-weight: 600; line-height: 1.3; }
#sfd-sc .sfd-item__info small { margin-top: 4px; color: var(--sfd-maroon); font-size: 15px; font-weight: 300; }
#sfd-sc button.sfd-trash { width: 28px; height: 28px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #333 !important; }
#sfd-sc button.sfd-trash:hover, #sfd-sc button.sfd-trash:focus { background: none !important; border: 0 !important; color: var(--sfd-primary) !important; }
#sfd-sc button.sfd-trash svg { width: 18px; height: 18px; }
#sfd-sc .sfd-kids { margin: 10px 0 0 4px; padding: 0 0 0 12px; border: 0; border-left: 2px solid #e9b4bd; border-radius: 0; background: none; }
#sfd-sc .sfd-kids .sfd-item__row { margin: 0; padding: 6px 8px; border-radius: 10px; background: var(--sfd-tint); }
#sfd-sc .sfd-kids .sfd-item__row + .sfd-item__row { margin-top: 6px; }
#sfd-sc .sfd-thumb--sm { width: 56px; height: 56px; border-radius: 8px; background: #fff; }
#sfd-sc .sfd-kids .sfd-item__info strong { font-size: 14px; }
#sfd-sc .sfd-kids .sfd-item__info small { margin-top: 2px; font-size: 14px; }
#sfd-sc .sfd-kids button.sfd-trash { width: 22px; height: 22px; }
#sfd-sc .sfd-kids button.sfd-trash svg { width: 14px; height: 14px; }

/* 8. Complementos ("Hazlo más especial") */
#sfd-sc .sfd-more { margin: 16px 0 0; padding: 14px; border-radius: 10px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
#sfd-sc .sfd-more h3 { margin: 0 0 8px !important; color: var(--sfd-green) !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: .02em !important; line-height: 1.3 !important; text-transform: uppercase !important; }
#sfd-sc .sfd-add { gap: 12px; padding: 8px 0; }
#sfd-sc .sfd-add .sfd-thumb { width: 60px; height: 60px; border-radius: 8px; }
#sfd-sc .sfd-add .sfd-item__info strong { color: var(--sfd-maroon); font-size: 15px; font-weight: 600; }
#sfd-sc .sfd-add .sfd-item__info small { margin-top: 4px; color: var(--sfd-maroon); font-size: 15px; font-weight: 300; }
#sfd-sc .sfd-plus, #sfd-sc a.sfd-plus { width: 28px; height: 28px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--sfd-add) !important; color: #fff !important; font-size: 20px !important; font-weight: 300; line-height: 1; }
#sfd-sc .sfd-plus:hover, #sfd-sc .sfd-plus:focus { background: var(--sfd-add) !important; color: #fff !important; opacity: .88; }

/* 5. "Editar": solo cambia el color del texto */
#sfd-sc .sfd-link, #sfd-sc .sfd-dbox .sfd-link { padding: 0 !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--sfd-primary) !important; font-size: 14px; font-weight: 500; text-decoration: underline; text-transform: none !important; letter-spacing: 0 !important; }
#sfd-sc .sfd-link:hover, #sfd-sc .sfd-link:focus, #sfd-sc .sfd-link:active, #sfd-sc .sfd-dbox .sfd-link:hover, #sfd-sc .sfd-dbox .sfd-link:focus { background: none !important; border: 0 !important; color: var(--sfd-maroon) !important; box-shadow: none !important; }
#sfd-sc .sfd-dbox { background: var(--sfd-tint); }

/* 7. Icono para el encabezado: [sfd_cart_icon] */
a.sfd-cart-icon { position: relative; display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; min-height: 0 !important; margin: 0; padding: 6px !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--sfd-ci, #d95367) !important; box-shadow: none !important; cursor: pointer; line-height: 1; }
a.sfd-cart-icon:hover, a.sfd-cart-icon:focus { background: none !important; color: var(--sfd-ci, #d95367) !important; opacity: .85; }
.sfd-cart-icon .sfd-cart-icon__n { top: -2px; right: -4px; background: var(--sfd-cb, #de4a47); }
.sfd-cart-icon__n[hidden] { display: none !important; }

@media (max-width: 600px) {
	#sfd-sc .sfd-sc__foot { padding: 14px 16px 20px; }
	#sfd-sc .sfd-thumb { width: 72px; height: 72px; }
	#sfd-sc .sfd-btn { padding: 0 14px; font-size: 16px; letter-spacing: .03em; }
}
button.sfd-fab { overflow: visible !important; }
.sfd-fab .sfd-fab__n { z-index: 2; box-sizing: border-box; display: inline-block; text-align: center; }

/* v1.8.0 – Aviso de anticipación (productos por encargo) */
.sfd-leadnote { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--sfd-tint, #fdf2f4); color: var(--sfd-maroon, #682231); font-size: 14px; line-height: 1.4; }
.sfd-leadnote[hidden] { display: none !important; }
.sfd-leadnote--product { margin: 0 0 14px; font-family: var(--sfd-font, inherit); }
#sfd-sc .sfd-lead-tag { display: block; margin-top: 4px; color: var(--sfd-primary); font-size: 13px; font-style: normal; font-weight: 500; line-height: 1.3; }
#sfd-sc .sfd-view--zone .sfd-leadnote { margin: 10px 0 0; }

/* =========================================================
   v1.8.6 – Ajustes de CSS (tuyos) del carrito lateral
   ========================================================= */
#sfd-sc .sfd-leadnote { margin-bottom: 10px; }
.sfd-leadnote--product { margin-top: 10px; }
#sfd-sc .sfd-item__info strong { font-size: 15px !important; }
#sfd-sc .sfd-kids .sfd-item__info strong { font-size: 12px !important; }
#sfd-sc .sfd-sc__foot { padding: 15px 20px !important; border-top: 0 solid #e6e6e6 !important; }
#sfd-sc .sfd-sums > div { font-size: 15px !important; }
#sfd-sc .sfd-sums__total { margin-top: 8px; padding-top: 10px !important; font-size: 17px !important; }
p.sfd-pickup { margin-top: 10px !important; }
.sfd-quick { padding: 10px 0; }
#sfd-sc .sfd-quick button { min-height: 40px !important; color: #813434 !important; font-size: 15px !important; font-weight: 600 !important; }
#sfd-sc .sfd-quick button.is-on { color: #fff !important; }
#sfd-sc .sfd-tabs { padding: 0 !important; }
#sfd-sc .sfd-tabs button { font-size: 16px !important; font-weight: 700 !important; }
#sfd-sc .sfd-tabs button.is-on { border-color: var(--sfd-primary) !important; background: var(--sfd-primary) !important; color: #fff !important; }
#sfd-sc .sfd-actions .sfd-btn { min-height: 50px !important; border: 1px solid var(--sfd-primary) !important; font-size: 16px !important; font-weight: 600 !important; }
#sfd-sc .sfd-actions { gap: 10px !important; margin-top: 15px !important; }
#sfd-sc .sfd-head__n { font-size: 14px !important; background: #682231 !important; }
#sfd-sc button.sfd-x, #sfd-sc .sfd-x { font-size: 40px !important; font-weight: 400 !important; }
#sfd-sc .sfd-x, #sfd-sc .sfd-sc__head h2, #sfd-sc .sfd-head__bag { color: #682231 !important; }

/* v1.9.2 – Siempre por encima de otros botones flotantes (WhatsApp, chat…) y badge del shortcode sin cortarse */
.sfd-sc { z-index: 2147483000; }
button.sfd-fab { z-index: 2147482000; }
.sfd-toast { z-index: 2147483100; }
a.sfd-cart-icon { overflow: visible !important; padding: 10px 12px 6px 6px !important; }
.sfd-cart-icon .sfd-cart-icon__n { top: 2px; right: 2px; }

/* v1.9.3: el icono es un enlace; gana a los estilos de enlaces/botones del tema */
a.sfd-cart-icon, a.sfd-cart-icon:visited, a.sfd-cart-icon:active { text-decoration: none !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--sfd-ci, #d95367) !important; text-transform: none !important; }
a.sfd-cart-icon svg { display: block; stroke: currentColor; }
