/**
 * SWEB — Sidecart (coș lateral „Comanda ta")
 * Panou glisant din dreapta, temat după brandul paginii.
 * Calibrat 1:1 din Figma:
 *   Follies   #16240:17242 · Jerry #16240:16346 · Americana #16241:18256
 * General = design Follies.
 */

/* -------------------------------------------------------------------------- *
 * Container fix + overlay
 * -------------------------------------------------------------------------- */
.sweb-sidecart {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s 0.3s;
}
.sweb-sidecart.is-open {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s 0s;
}
.sweb-sidecart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(49, 21, 7, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.sweb-sidecart.is-open .sweb-sidecart__overlay { opacity: 1; }
/* Overlay Follies — cremă translucid + blur (ca in Figma) */
.sweb-brand--follies .sweb-sidecart__overlay {
	background: #FEFAF080;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
/* Overlay Jerry — negru translucid (fără blur) */
.sweb-brand--jerry .sweb-sidecart__overlay {
	background: #1A1A1A80;
}
/* Overlay Americana — ca la Follies, dar închis + blur */
.sweb-brand--americana .sweb-sidecart__overlay {
	background: #161616A6;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

/* Rezervă mereu spațiul scrollbar-ului ca să NU sară nimic (nici headerul absolute) când dispare bara la deschiderea coșului */
html { scrollbar-gutter: stable; }
/* Blochează scroll-ul paginii când e deschis */
html.sweb-sidecart-open,
body.sweb-sidecart-open { overflow: hidden; }

/* Reset butoane — anulează stilurile temei/Woo (fundal/bordură/umbră „roz") */
.sweb-sidecart button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: inherit;
	margin: 0;
	box-shadow: none;
	text-shadow: none;
	outline: none;
}
.sweb-sidecart button:focus,
.sweb-sidecart button:hover,
.sweb-sidecart button:active { box-shadow: none; outline: none; }

/* -------------------------------------------------------------------------- *
 * Panou (bază = Follies / General)
 * -------------------------------------------------------------------------- */
.sweb-sidecart__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 486px;
	max-width: 100vw;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	box-sizing: border-box;
	background: rgba(254, 250, 240, 0.92);
	border-left: 1px solid #DFD5CF;
	border-radius: 16px 0 0 16px;
	box-shadow: 0 0 16px 0 rgba(49, 21, 7, 0.35);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sweb-sidecart.is-open .sweb-sidecart__panel { transform: translateX(0); }

/* Antet */
.sweb-sidecart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex: 0 0 auto;
}
.sweb-sidecart__title {
	font-family: var(--sweb-font-title, 'Freeman', sans-serif);
	font-size: 24px;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--sweb-c-text, #4E220B);
}
.sweb-sidecart__close {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none !important;
	background: transparent !important;
	color: var(--sweb-c-text, #4E220B);
	cursor: pointer;
	flex: 0 0 auto;
}
.sweb-sidecart__close svg { width: 22px; height: 22px; }
/* Hover: NU schimba culoarea (tema/reset.css o albea pe general => devenea invizibil),
 * doar grow. Pe toate brandurile pastram culoarea de repaus. — Seba */
.sweb-sidecart__close { transition: scale 0.15s ease; }
.sweb-sidecart__close:hover,
.sweb-sidecart__close:focus,
.sweb-sidecart__close:active {
	color: var(--sweb-c-text, #4E220B) !important;
	background: transparent !important;
	scale: 1.12;
}
.sweb-brand--jerry .sweb-sidecart__close:hover,
.sweb-brand--jerry .sweb-sidecart__close:focus { color: #1A1A1A !important; }
.sweb-brand--americana .sweb-sidecart__close:hover,
.sweb-brand--americana .sweb-sidecart__close:focus { color: #FFFCFA !important; }

/* Corp cu scroll */
.sweb-sidecart__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 -8px;
	padding: 0 8px;
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
}
.sweb-sidecart__label {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sweb-c-text, #4E220B);
}

/* Grup de restaurant (card cu chenar întrerupt) */
.sweb-sidecart__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: #FDFBF7;
	border: 1px dashed #DFD5CF;
	border-radius: 24px;
}
.sweb-sidecart__glogo { display: flex; align-items: center; }
.sweb-sidecart__glogo img { height: 28px; width: auto; max-width: 140px; object-fit: contain; display: block; }
.sweb-sidecart__glogo span {
	font-family: var(--sweb-font-title, 'Freeman', sans-serif);
	font-size: 18px;
	color: var(--sweb-c-text, #4E220B);
}

/* Linie de produs */
.sweb-sidecart__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
}
.sweb-sidecart__thumb {
	flex: 0 0 auto;
	width: 120px;
	height: 104px;
	border: 1px solid #DFD5CF;
	border-radius: 8px;
	overflow: hidden;
	background-color: #FEFAF0;
	background-image: var(--sweb-thumb-img);
	/* Imaginea întreagă, necroppată — background-size contain (imposibil de suprascris de temă) */
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	box-sizing: border-box;
}
/* Thumb sidecart Follies — ca thumb-ul din toast: produs pe textura card-homepage + padding 8px */
.sweb-sidecart__group--follies .sweb-sidecart__thumb {
	padding: 0 8px;
	background-image: var(--sweb-thumb-img), url('/wp-content/uploads/2026/07/card-homepage.jpg');
	background-size: contain, cover;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	background-origin: content-box, border-box;
	background-color: #FEFAF0;
}
.sweb-sidecart__meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding-right: 34px;
}
.sweb-sidecart__iname {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.3;
	color: var(--sweb-c-text, #4E220B);
}
.sweb-sidecart__iqty {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	color: var(--sweb-c-text-muted, #8D6C5A);
}
.sweb-sidecart__iqty .woocommerce-Price-amount { font-weight: 500; color: inherit; }
.sweb-sidecart__iopt {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 1.35;
	color: var(--sweb-c-text-muted, #8D6C5A);
	margin: 1px 0;
}
.sweb-brand--americana .sweb-sidecart__iopt { color: #CCCCCC; }
.sweb-brand--jerry .sweb-sidecart__iopt { font-family: 'Afacad', sans-serif; color: #4A5565; }
.sweb-sidecart__del {
	position: absolute;
	top: 0;
	right: 0;
	width: 28px !important;
	height: 28px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 0;
	padding: 0 !important;
	background: #FEFAF0 !important;
	border: 1px solid #DFD5CF !important;
	border-radius: 4px !important;
	color: var(--sweb-c-text-muted, #8D6C5A);
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.sweb-sidecart__del:hover { color: var(--sweb-c-danger, #D73B3B) !important; border-color: var(--sweb-c-danger, #D73B3B) !important; }
/* Iconul del: fișier SVG proporționat 14×16 pus ca mask (se recolorează cu currentColor, inclusiv roșu pe hover). SVG-ul inline din PHP e ascuns. */
.sweb-sidecart__del svg { display: none !important; }
.sweb-sidecart__del::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url('../../img/icon-trash.svg') center / contain no-repeat;
	        mask: url('../../img/icon-trash.svg') center / contain no-repeat;
}

/* Coș gol */
.sweb-sidecart__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 48px 16px;
	color: var(--sweb-c-text-muted, #8D6C5A);
	text-align: center;
}
.sweb-sidecart__empty svg { width: 40px; height: 40px; }
.sweb-sidecart__empty p { margin: 0; font-family: 'Inter', sans-serif; font-size: 16px; }

/* Subsol */
.sweb-sidecart__foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: 16px; }
.sweb-sidecart__divider { height: 1px; background: #DFD5CF; border-radius: 99px; }
.sweb-sidecart__actions { display: flex; gap: 16px; }
.sweb-sidecart__btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 8px;
	font-family: var(--sweb-font-title, 'Freeman', sans-serif);
	font-size: 16px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.15s ease, background 0.15s ease;
}
.sweb-sidecart__btn--ghost {
	background: #FEFAF0;
	border: 1px solid var(--sweb-c-text, #4E220B);
	color: var(--sweb-c-text, #4E220B);
}
.sweb-sidecart__btn--primary {
	background: var(--sweb-c-primary, #D35A0C);
	border: 1px solid var(--sweb-c-primary, #D35A0C);
	color: #FEFAF0;
}
.sweb-sidecart__btn:hover { opacity: 0.9; }

/* -------------------------------------------------------------------------- *
 * Jerry — semnătura: bordură „desenată de mână" (border-image rough), colțuri drepte
 * Aceeași rețetă ca restul componentelor Jerry: rough-border-irregular.svg 8 / 4px.
 * -------------------------------------------------------------------------- */
.sweb-brand--jerry .sweb-sidecart__panel {
	background: #FFFFFF;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.sweb-brand--jerry .sweb-sidecart__title { font-family: 'Afacad', sans-serif; font-weight: 600; letter-spacing: 0; color: #1A1A1A; }
.sweb-brand--jerry .sweb-sidecart__close { color: #1A1A1A; }
.sweb-brand--jerry .sweb-sidecart__label { color: #1A1A1A; }
.sweb-brand--jerry .sweb-sidecart__group {
	background: #FFFFFF;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
}
/* Jerry pe pagina Follies: frame Follies (padding/radius/border #DFD5CF) + fundal alb */
.sweb-brand--follies .sweb-sidecart__group--jerry .sweb-sidecart__thumb {
	padding: 0 8px;
	background-color: #FFFFFF;
	background-image: var(--sweb-thumb-img);
	background-size: contain;
	background-origin: content-box;
	border: 1px solid #DFD5CF !important;
	border-image: none !important;
	border-radius: 8px !important;
}
.sweb-sidecart__group--jerry .sweb-sidecart__thumb {
	background-color: #FFFFFF;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
}
.sweb-brand--jerry .sweb-sidecart__iname { font-family: 'Afacad', sans-serif; font-weight: 600; font-size: 20px; color: #1A1A1A; }
.sweb-brand--jerry .sweb-sidecart__iqty { font-family: 'Afacad', sans-serif; color: #4A5565; }
.sweb-brand--jerry .sweb-sidecart__del {
	background: #FFFFFF !important;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
	color: #1A1A1A;
}
.sweb-brand--jerry .sweb-sidecart__divider { background: #CECFD0; }
.sweb-brand--jerry .sweb-sidecart__btn {
	font-family: 'Afacad', sans-serif; font-weight: 600; font-size: 20px;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
	padding: 14px 0;
}
.sweb-brand--jerry .sweb-sidecart__btn--ghost { background: #FFFFFF; color: #1A1A1A; }
.sweb-brand--jerry .sweb-sidecart__btn--primary { background: #E3403E; color: #FFFFFF; }

/* -------------------------------------------------------------------------- *
 * Americana — stil dark: #161616, font Racing Sans One, CTA albastru
 * -------------------------------------------------------------------------- */
.sweb-brand--americana .sweb-sidecart__panel {
	background: #161616 url('/wp-content/uploads/2026/07/background-americana-20.jpg') center / cover no-repeat;
	border-left: 1px solid #363636;
}
.sweb-brand--americana .sweb-sidecart__title { font-family: 'Racing Sans One', sans-serif; letter-spacing: 0; color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__close { color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__label { color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__group {
	background: #1E1E1E;
	border: 1px dashed #363636;
	border-radius: 24px;
}
/* Americana: produsul stă PESTE o imagine de fundal, în loc de negru. Ambele straturi
   pe „cover" => produsele OPACE (poze) umplu tile-ul complet (fără padding), iar produsele
   cu PNG TRANSPARENT (ex. Pepsi) lasă fundalul să se vadă prin zonele transparente. — Seba */
.sweb-sidecart__group--americana .sweb-sidecart__thumb {
	border: 1px solid #363636 !important;
	background-image: var(--sweb-thumb-img), url('/wp-content/uploads/2026/07/background-cards-40-americana.jpg');
	background-size: cover, cover !important;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	background-color: #0F0F0F;
}

/* === Pagina JERRY: TOATE chenarele de imagine au frame-ul Jerry (rough, radius 0) === */
.sweb-brand--jerry .sweb-sidecart__thumb {
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
}
/* Follies pe pagina Jerry: chenar de imagine IDENTIC cu Jerry (fundal alb, fără textura Follies) */
.sweb-brand--jerry .sweb-sidecart__group--follies .sweb-sidecart__thumb {
	padding: 0;
	background-color: #FFFFFF;
	background-image: var(--sweb-thumb-img);
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	background-origin: padding-box;
}
.sweb-brand--americana .sweb-sidecart__iname { color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__iqty { color: #CCCCCC; }
.sweb-brand--americana .sweb-sidecart__del { background: #161616 !important; border: 1px solid #363636 !important; color: #CCCCCC; }
/* Pe hover: borderul devine exact același roșu ca iconul */
.sweb-brand--americana .sweb-sidecart__del:hover { color: var(--sweb-c-danger, #D73B3B) !important; border-color: var(--sweb-c-danger, #D73B3B) !important; }
.sweb-brand--americana .sweb-sidecart__divider { background: #363636; }
.sweb-brand--americana .sweb-sidecart__btn { font-family: 'Racing Sans One', sans-serif; font-size: 16px; border-radius: 4px; padding: 12px 16px; }
.sweb-brand--americana .sweb-sidecart__btn--ghost { background: #161616; border: 1px solid #363636; color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__btn--primary { background: #3475EE; border: 1px solid #3475EE; color: #FFFCFA; }
.sweb-brand--americana .sweb-sidecart__empty { color: #CCCCCC; }
/* Doar logo-urile monocrome (Follies / general) devin albe pe fundal închis.
   Jerry are logo colorat → NU se inversează. Americana rămâne neatins. */
.sweb-brand--americana .sweb-sidecart__group--follies .sweb-sidecart__glogo img,
.sweb-brand--americana .sweb-sidecart__group--general .sweb-sidecart__glogo img {
	filter: brightness(0) invert(1);
}

/* -------------------------------------------------------------------------- *
 * General (homepage / cos / cont / checkout) - font Google Sans Flex, fundal alb
 * -------------------------------------------------------------------------- */
.sweb-brand--general .sweb-sidecart__panel { background: #FFFDF9; }
.sweb-brand--general .sweb-sidecart__title { font-family: 'Google Sans Flex', sans-serif; font-weight: 600; }
.sweb-brand--general .sweb-sidecart__group--follies { background: #FFFFFF; }
.sweb-brand--general .sweb-sidecart__btn { font-family: 'Google Sans Flex', sans-serif; font-weight: 600; }

/* -------------------------------------------------------------------------- *
 * Responsive
 * -------------------------------------------------------------------------- */
@media (max-width: 520px) {
	.sweb-sidecart__panel { width: 90vw; max-width: 90vw; border-radius: 16px 0 0 16px; padding: 20px; }
	.sweb-sidecart__thumb { width: 96px; height: 88px; }
	.sweb-sidecart__iname { font-size: 16px; }
}

/* ========================================================================== *
 * Add-to-cart notification popup (toast) „Comanda ta"
 * Figma: Follies #16240:14884 · Jerry #16220:20011 · Americana #16240:17362
 * ========================================================================== */
.sweb-addpop {
	position: fixed;
	bottom: 24px;
	right: 24px;
	top: auto;
	z-index: 1100;
	width: 551px;
	max-width: calc(100vw - 48px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px;
	background: rgba(254, 250, 240, 0.95);
	border: 1px solid #DFD5CF;
	border-radius: 16px;
	box-shadow: 0 0 16px 0 rgba(49, 21, 7, 0.35);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	overflow: hidden;
	transform: translateX(calc(100% + 40px));
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
	pointer-events: none;
}
.sweb-addpop.is-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
/* Addpop Follies — 1:1 Figma: bg #FEFAF0 85%, border 1px #DFD5CF, blur 40, shadow #311507 35% */
.sweb-brand--follies .sweb-addpop {
	background: #FEFAF0D9;
	border: 1px solid #DFD5CF;
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	box-shadow: 0 0 16px 0 rgba(49, 21, 7, 0.35);
}
.sweb-addpop button {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	font-family: inherit; margin: 0; box-shadow: none; outline: none;
}
/* Bară de progres (auto-dismiss) sus */
.sweb-addpop__bar {
	position: absolute;
	top: 0; left: 0;
	height: 4px; width: 100%;
	background: var(--sweb-c-primary, #D35A0C);
	border-radius: 999px;
	transform-origin: left center;
	transform: scaleX(1);
}
.sweb-addpop.is-open .sweb-addpop__bar { animation: sweb-addpop-bar 5s linear forwards; }
@keyframes sweb-addpop-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.sweb-addpop__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sweb-addpop__title {
	font-family: var(--sweb-font-title, 'Freeman', sans-serif);
	font-size: 32px; line-height: 1; letter-spacing: -0.02em;
	color: var(--sweb-c-text, #4E220B);
}
.sweb-addpop__close {
	width: 32px; height: 32px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0; border: none !important; background: transparent !important;
	color: var(--sweb-c-text, #4E220B); cursor: pointer; flex: 0 0 auto;
}
.sweb-addpop__close svg { width: 22px; height: 22px; }
.sweb-addpop__content { display: flex; align-items: center; gap: 16px; }
.sweb-addpop__thumb {
	flex: 0 0 auto;
	width: 144px; height: 120px;
	border: 1px solid #DFD5CF; border-radius: 8px;
	background-color: #FEFAF0;
	background-image: var(--sweb-thumb-img);
	background-repeat: no-repeat; background-position: center; background-size: contain;
}
/* Thumb Follies — produsul pe textura card-homepage, padding 8px lateral */
.sweb-brand--follies .sweb-addpop__thumb {
	padding: 0 8px;
	background-image: var(--sweb-thumb-img), url('/wp-content/uploads/2026/07/card-homepage.jpg');
	background-size: contain, cover;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	background-origin: content-box, border-box;
	background-color: #FEFAF0;
}
.sweb-addpop__text {
	margin: 0;
	font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; line-height: 1.3;
	color: var(--sweb-c-text, #4E220B);
}
.sweb-addpop__prod { color: var(--sweb-c-primary, #D35A0C); text-decoration: underline; font-weight: 600; }
.sweb-addpop__actions { display: flex; gap: 16px; }
.sweb-addpop__btn {
	flex: 1 1 0;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 24px; border-radius: 8px;
	font-family: var(--sweb-font-title, 'Freeman', sans-serif);
	font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: none;
	transition: opacity 0.15s ease;
}
.sweb-addpop__btn:hover { opacity: 0.9; }
.sweb-addpop__btn--ghost { background: #FEFAF0; border: 1px solid var(--sweb-c-text, #4E220B); color: var(--sweb-c-text, #4E220B); }
.sweb-addpop__btn--primary { background: var(--sweb-c-primary, #D35A0C); border: 1px solid var(--sweb-c-primary, #D35A0C); color: #FEFAF0; }

/* Jerry — alb, bordură rough, CTA roșu, bară portocalie */
.sweb-brand--jerry .sweb-addpop {
	background: #FFFFFF;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
.sweb-brand--jerry .sweb-addpop__bar { background: #F57A20; }
.sweb-brand--jerry .sweb-addpop__title { font-family: 'Afacad', sans-serif; font-weight: 600; letter-spacing: 0; color: #1A1A1A; }
.sweb-brand--jerry .sweb-addpop__close { color: #1A1A1A; }
.sweb-brand--jerry .sweb-addpop__thumb {
	background-color: #FFFFFF;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
}
.sweb-brand--jerry .sweb-addpop__text { font-family: 'Afacad', sans-serif; color: #1A1A1A; }
.sweb-brand--jerry .sweb-addpop__prod { color: #F57A20; }
.sweb-brand--jerry .sweb-addpop__btn {
	font-family: 'Afacad', sans-serif; font-weight: 600; font-size: 20px;
	border: 4px solid transparent !important;
	border-image: var(--jerry-rough, url('../../img/rough-border-irregular.svg')) 8 / 4px round !important;
	border-radius: 0 !important;
}
.sweb-brand--jerry .sweb-addpop__btn--ghost { background: #FFFFFF; color: #1A1A1A; }
.sweb-brand--jerry .sweb-addpop__btn--primary { background: #E3403E; color: #FFFFFF; }

/* Americana — dark, CTA albastru, bară roșie, Racing Sans One */
.sweb-brand--americana .sweb-addpop { background: #161616 url('/wp-content/uploads/2026/07/background-dimension-card.jpg') center / cover no-repeat; border: 1px solid #363636; }
.sweb-brand--americana .sweb-addpop__bar { background: #E42B2B; }
.sweb-brand--americana .sweb-addpop__title { font-family: 'Racing Sans One', sans-serif; letter-spacing: 0; color: #FFFCFA; }
.sweb-brand--americana .sweb-addpop__close { color: #FFFCFA; }
.sweb-brand--americana .sweb-addpop__thumb { border: 1px solid #363636; background-color: #0F0F0F; }
.sweb-brand--americana .sweb-addpop__text { color: #FFFCFA; }
.sweb-brand--americana .sweb-addpop__prod { color: #6190E7; }
.sweb-brand--americana .sweb-addpop__btn { font-family: 'Racing Sans One', sans-serif; font-size: 16px; border-radius: 4px; padding: 12px 16px; }
.sweb-brand--americana .sweb-addpop__btn--ghost { background: #161616; border: 1px solid #363636; color: #FFFCFA; }
.sweb-brand--americana .sweb-addpop__btn--primary { background: #3475EE; border: 1px solid #3475EE; color: #FFFCFA; }

/* Mobil — lățime plină, intrare de sus, butoane stivuite */
@media (max-width: 600px) {
	.sweb-addpop {
		bottom: 16px; right: 16px; left: 16px; top: auto;
		width: auto; max-width: none;
		padding: 20px; gap: 16px;
		transform: translateY(140%);
	}
	.sweb-addpop.is-open { transform: translateY(0); }
	.sweb-addpop__title { font-size: 24px; }
	.sweb-addpop__thumb { width: 96px; height: 88px; }
	.sweb-addpop__text { font-size: 14px; }
	.sweb-addpop__actions { flex-direction: column; }
}

/* Buton add-to-cart în timpul cererii AJAX */
.sweb-btn.is-loading { opacity: 0.6; pointer-events: none; }

/* Toast (remove din cos / checkout / TOATE notificarile WooCommerce) — stivuite jos-dreapta */
.sweb-toasts {
	position: fixed; bottom: 24px; right: 24px; z-index: 2000;
	display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
	max-width: 380px; pointer-events: none;
}
.sweb-toast {
	display: flex; align-items: center; gap: 10px; max-width: 380px;
	padding: 14px 18px; background: #FFFDF9; border: 1px solid #DFD5CF; border-left-width: 4px; border-radius: 12px;
	box-shadow: 0 8px 24px rgba(49, 21, 7, 0.14);
	font-family: 'Google Sans Flex', sans-serif; font-size: 15px; color: #4E220B;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.sweb-toast.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sweb-toast__ic { flex: 0 0 auto; width: 22px; height: 22px; color: #3A720D; }
.sweb-toast__ic svg { width: 100%; height: 100%; display: block; }
/* Variante dupa tipul notificarii WooCommerce */
.sweb-toast--success { border-left-color: #3A720D; }
.sweb-toast--success .sweb-toast__ic { color: #3A720D; }
.sweb-toast--error { border-left-color: #C0392B; }
.sweb-toast--error .sweb-toast__ic { color: #C0392B; }
.sweb-toast--info { border-left-color: #D35A0C; }
.sweb-toast--info .sweb-toast__ic { color: #D35A0C; }
@media (max-width: 520px) { .sweb-toasts { bottom: 12px; right: 12px; left: 12px; max-width: none; align-items: stretch; } .sweb-toast { max-width: none; } }
