/* PINK PRO Offers & Push — customer surfaces. Uses the site's font; pink is reserved for the main action and the discount. */
:root {
	--ppo-pink: #e0157f;
	--ppo-pink-dark: #b30f64;
	--ppo-ink: #1c1b1f;
	--ppo-muted: #5f5a63;
	--ppo-tile: #f7f2f5;
	--ppo-line: #ece6ea;
	--ppo-radius: 16px;
	--ppo-shadow: 0 18px 50px rgba(28, 27, 31, .22);
}

.ppo-home *, .ppo-sale *, .ppo-overlay *, .ppo-ask *, .ppo-loop *, .ppo-toast, .ppo-toast *, .ppo-pill * { box-sizing: border-box; }
.ppo-btn { box-sizing: border-box; max-width: 100%; }

.ppo-badge {
	position: absolute; top: 10px; left: 10px; z-index: 1;
	display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px;
	border-radius: 999px; background: var(--ppo-pink); color: #fff;
	font-weight: 800; font-size: 14px; line-height: 1.2; letter-spacing: .01em;
	font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(224, 21, 127, .35);
}
.ppo-badge--xl { font-size: 20px; min-height: 36px; padding: 4px 14px; top: 14px; left: 14px; }
.ppo-badge--inline { position: static; margin-bottom: 10px; box-shadow: none; }
.ppo-badge--loop { position: static; font-size: 12px; min-height: 22px; padding: 2px 8px; box-shadow: none; }

.ppo-timer {
	display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
	font-size: 13px; color: var(--ppo-ink); line-height: 1.3;
}
.ppo-timer__label { color: var(--ppo-muted); }
.ppo-timer__time { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ppo-timer--hero { font-size: 16px; padding: 8px 14px; background: #fff; border-radius: 999px; }
.ppo-timer--dialog { margin: 4px 0 18px; padding: 8px 12px; background: var(--ppo-tile); border-radius: 10px; font-size: 14px; }
.ppo-timer--loop { font-size: 12px; }

/* ---------- product cards (home + "Në zbritje") ---------- */
.ppo-home { margin: 28px 0; }
.ppo-home[hidden] { display: none !important; }
.ppo-home__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ppo-home__title { margin: 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; color: var(--ppo-ink); }
.ppo-home__more { font-weight: 700; color: var(--ppo-pink-dark); text-decoration: none; white-space: nowrap; padding: 10px 0; }
.ppo-home__more:hover { text-decoration: underline; }
.ppo-home__list, .ppo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ppo-home__list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ppo-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.ppo-card { margin: 0; transition: opacity .25s ease, transform .25s ease; }
.ppo-card.is-leaving, .ppo-loop.is-leaving, li.product.is-leaving { opacity: 0; transform: scale(.97); }
.ppo-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: var(--ppo-radius); }
.ppo-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--ppo-tile); border-radius: var(--ppo-radius); overflow: hidden; }
.ppo-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; transition: transform .3s ease; }
.ppo-card__link:hover .ppo-card__media img { transform: scale(1.03); }
.ppo-card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 2px 4px; }
.ppo-card__name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ppo-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ppo-card__price { font-weight: 700; color: var(--ppo-ink); }
.ppo-card__price del { color: var(--ppo-muted); font-weight: 400; margin-right: 6px; }
.ppo-card__price ins { text-decoration: none; color: var(--ppo-pink-dark); }

.ppo-card__link:focus-visible, .ppo-btn:focus-visible, .ppo-close:focus-visible, .ppo-chip:focus-visible, .ppo-home__more:focus-visible, .ppo-page:focus-visible {
	outline: 3px solid var(--ppo-ink); outline-offset: 3px;
}

/* Small screens: the home row scrolls sideways, about two cards visible. */
@media (max-width: 640px) {
	.ppo-home__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
	.ppo-home__list::-webkit-scrollbar { display: none; }
	.ppo-home__list .ppo-card { flex: 0 0 44%; scroll-snap-align: start; }
	.ppo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ppo-card__name { font-size: 14px; }
	.ppo-card .ppo-timer { font-size: 12px; gap: 4px; }
	.ppo-badge { font-size: 13px; top: 8px; left: 8px; }
}

/* Loop chip inside theme product cards */
.ppo-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 4px; }

/* ---------- "Në zbritje" ---------- */
.ppo-sale__hero { background: linear-gradient(135deg, #fde7f2, #f7f2f5); border-radius: var(--ppo-radius); padding: 22px; margin-bottom: 18px; display: grid; gap: 8px; justify-items: start; }
.ppo-sale__title { margin: 0; font-size: clamp(22px, 3vw, 32px); color: var(--ppo-ink); }
.ppo-sale__lead { margin: 0; color: var(--ppo-muted); max-width: 60ch; }
.ppo-sale__notice, .ppo-sale__empty { padding: 16px; background: var(--ppo-tile); border-radius: 12px; }
.ppo-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scrollbar-width: thin; }
.ppo-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ppo-line); color: var(--ppo-ink); text-decoration: none; font-weight: 600; font-size: 14px; background: #fff; }
.ppo-chip:hover { border-color: var(--ppo-ink); }
.ppo-chip.is-active { background: var(--ppo-ink); border-color: var(--ppo-ink); color: #fff; }
.ppo-pages { display: flex; gap: 6px; justify-content: center; margin: 24px 0; }
.ppo-page { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--ppo-line); text-decoration: none; color: var(--ppo-ink); }
.ppo-page.is-current { background: var(--ppo-ink); color: #fff; border-color: var(--ppo-ink); }

/* ---------- buttons ---------- */
.ppo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
	background: var(--ppo-pink); color: #fff !important; font-weight: 800; font-size: 16px;
	text-decoration: none !important; cursor: pointer; transition: background-color .15s ease;
}
.ppo-btn:hover { background: var(--ppo-pink-dark); }
.ppo-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.ppo-btn--ghost { background: transparent; color: var(--ppo-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ppo-line); }
.ppo-btn--ghost:hover { background: var(--ppo-tile); }

/* ---------- popup ---------- */
html.ppo-lock, html.ppo-lock body { overflow: hidden; }
.ppo-overlay {
	position: fixed; inset: 0; z-index: 999990; display: flex; align-items: center; justify-content: center;
	padding: 20px; background: rgba(20, 16, 22, .55); opacity: 0; transition: opacity .2s ease;
}
.ppo-overlay.is-open { opacity: 1; }
.ppo-overlay.is-leaving { opacity: 0; }
.ppo-dialog {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(780px, 100%); max-height: calc(100vh - 40px);
	background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--ppo-shadow);
	transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
.ppo-overlay.is-open .ppo-dialog { transform: none; }
.ppo-dialog__media { position: relative; background: var(--ppo-tile); min-height: 100%; }
.ppo-dialog__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ppo-dialog__body { padding: 36px 32px 30px; display: flex; flex-direction: column; justify-content: center; overflow: auto; }
.ppo-dialog:not(:has(.ppo-dialog__media)) { grid-template-columns: 1fr; width: min(460px, 100%); }
.ppo-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ppo-pink-dark); }
.ppo-dialog__title { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; color: var(--ppo-ink); }
.ppo-dialog__msg { margin: 0 0 14px; color: var(--ppo-muted); font-size: 16px; line-height: 1.5; }
.ppo-dialog .ppo-btn { width: 100%; }
.ppo-close {
	position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 0;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	background: rgba(255, 255, 255, .96); color: var(--ppo-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.ppo-close:hover { background: #fff; color: var(--ppo-pink-dark); }

@media (max-width: 640px) {
	.ppo-overlay { align-items: flex-end; padding: 0; }
	.ppo-dialog { grid-template-columns: 1fr; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
	.ppo-dialog__media { aspect-ratio: 16 / 10; min-height: 0; }
	.ppo-dialog__body { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
}

/* In-app offer: bottom sheet above the app's tab bar. */
.ppo-overlay--sheet { align-items: flex-end; padding: 0; background: rgba(20, 16, 22, .45); }
.ppo-overlay--sheet .ppo-dialog { grid-template-columns: 1fr; width: min(560px, 100%); border-radius: 22px 22px 0 0; transform: translateY(40px); }
.ppo-overlay--sheet .ppo-dialog__media { aspect-ratio: 16 / 9; min-height: 0; }
.ppo-overlay--sheet .ppo-dialog__body { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }

/* ---------- premium details of the window ---------- */
.ppo-dialog { width: min(820px, 100%); }
.ppo-dialog__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(28,27,31,.18)); pointer-events: none; }
.ppo-btn__arrow { transition: transform .2s ease; }
.ppo-btn:hover .ppo-btn__arrow { transform: translateX(3px); }
.ppo-later { display: block; width: 100%; margin-top: 8px; min-height: 44px; border: 0; background: transparent; color: var(--ppo-muted); font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; }
.ppo-later:hover { color: var(--ppo-ink); background: var(--ppo-tile); }
.ppo-later:focus-visible { outline: 3px solid var(--ppo-ink); outline-offset: 2px; }

.ppo-seg { margin: 6px 0 16px; }
.ppo-seg__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ppo-muted); margin-bottom: 6px; }
.ppo-seg__units { display: flex; gap: 8px; }
.ppo-seg__u { flex: 1 1 0; max-width: 76px; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 6px; border-radius: 12px; background: var(--ppo-ink); color: #fff; }
.ppo-seg__u[hidden] { display: none; }
.ppo-seg__u b { font-size: 24px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.ppo-seg__u small { font-size: 11px; opacity: .75; margin-top: 2px; }

.ppo-thumbs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ppo-thumbs li { margin: 0; }
.ppo-thumbs a { position: relative; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ppo-ink); border-radius: 12px; }
.ppo-thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--ppo-tile); border-radius: 12px; padding: 6%; }
.ppo-thumbs__name { font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ppo-thumbs a:focus-visible { outline: 3px solid var(--ppo-ink); outline-offset: 2px; }
.ppo-badge--mini { top: 4px; left: 4px; font-size: 11px; min-height: 20px; padding: 1px 7px; box-shadow: none; }

/* ---------- notification (every page) ---------- */
.ppo-toast {
	position: fixed; z-index: 999985; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px));
	background: #fff; color: var(--ppo-ink); border-radius: 18px; overflow: hidden;
	box-shadow: 0 20px 50px rgba(28, 27, 31, .24), 0 0 0 1px rgba(28, 27, 31, .05);
	transform: translateY(24px) scale(.98); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s ease;
}
.ppo-toast.is-open { transform: none; opacity: 1; }
.ppo-toast.is-leaving { opacity: 0; transform: translateY(16px); }
.ppo-toast__main { display: flex; gap: 14px; align-items: center; padding: 14px 52px 16px 14px; text-decoration: none !important; color: inherit !important; }
.ppo-toast__media { position: relative; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 14px; background: var(--ppo-tile); display: flex; align-items: center; justify-content: center; color: var(--ppo-pink); overflow: hidden; }
.ppo-toast__media img { width: 100%; height: 100%; object-fit: cover; }
.ppo-toast__media .ppo-badge--mini { top: auto; bottom: 4px; left: 4px; }
.ppo-toast__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ppo-toast__eyebrow { font-size: 12px; font-weight: 700; color: var(--ppo-pink-dark); letter-spacing: .02em; }
.ppo-toast__eyebrow .ppo-timer { font-size: 12px; color: var(--ppo-ink); }
.ppo-toast__title { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ppo-toast__cta { font-size: 14px; font-weight: 800; color: var(--ppo-pink-dark); }
.ppo-toast__main:hover .ppo-toast__cta { text-decoration: underline; }
.ppo-toast__main:focus-visible { outline: 3px solid var(--ppo-ink); outline-offset: -3px; border-radius: 18px; }
.ppo-toast__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ppo-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ppo-toast__close:hover { background: var(--ppo-tile); color: var(--ppo-ink); }
.ppo-toast__close:focus-visible { outline: 3px solid var(--ppo-ink); }
.ppo-toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ppo-tile); }
.ppo-toast__bar span { display: block; height: 100%; background: var(--ppo-pink); transform-origin: left; transition: transform 1s linear; }

/* ---------- small label that reopens the offer ---------- */
.ppo-pill {
	position: fixed; z-index: 999980; left: 20px; bottom: 20px; display: flex; align-items: center;
	background: var(--ppo-ink); color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(28, 27, 31, .3);
	transform: translateY(20px); opacity: 0; transition: transform .3s ease, opacity .25s ease;
}
.ppo-pill.is-open { transform: none; opacity: 1; }
.ppo-pill.is-leaving { opacity: 0; }
.ppo-pill__open { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px 0 16px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ppo-pill__open svg { color: #ff8cc6; }
.ppo-pill__open b { background: var(--ppo-pink); padding: 3px 9px; border-radius: 999px; font-weight: 800; }
.ppo-pill__open .ppo-timer { color: #fff; font-size: 14px; }
.ppo-pill__x { width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.7); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ppo-pill__x svg { width: 16px; height: 16px; }
.ppo-pill__x:hover { color: #fff; background: rgba(255,255,255,.12); }
.ppo-pill__open:focus-visible, .ppo-pill__x:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 999px; }
.ppo-pill.is-quiet { opacity: .96; }
html.ppo-asking .ppo-pill { opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
	/* Phones: notification from the top (bottom bars of the shop stay free), label above the bottom bar. */
	.ppo-toast { left: 10px; right: 10px; width: auto; top: calc(10px + env(safe-area-inset-top)); bottom: auto; transform: translateY(-24px); }
	.ppo-toast.is-leaving { transform: translateY(-16px); }
	.ppo-toast__media { flex-basis: 60px; width: 60px; height: 60px; }
	.ppo-pill { left: 12px; bottom: calc(var(--ppo-bottom-offset, 84px) + env(safe-area-inset-bottom)); }
	.ppo-seg__u b { font-size: 20px; }
	.ppo-thumbs { display: none; }
	.ppo-dialog__msg { font-size: 15px; }
}

/* ---------- Notification Popup (products on sale) ---------- */
html.ppo-np-on .ppo-pill { opacity: 0; pointer-events: none; }
.ppo-np {
	position: fixed; z-index: 999983; left: 20px; bottom: 20px; width: min(360px, calc(100vw - 32px));
	background: #fff; color: var(--ppo-ink); border-radius: 18px; overflow: hidden;
	box-shadow: 0 18px 44px rgba(28, 27, 31, .22), 0 0 0 1px rgba(28, 27, 31, .05);
	transform: translateY(24px); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s ease;
}
.ppo-np, .ppo-np * { box-sizing: border-box; }
.ppo-np.is-open { transform: none; opacity: 1; }
.ppo-np.is-leaving { opacity: 0; transform: translateY(12px); }
.ppo-np__main { display: flex; gap: 12px; align-items: center; padding: 12px 48px 10px 12px; color: inherit !important; text-decoration: none !important; }
.ppo-np__media { flex: 0 0 68px; width: 68px; height: 68px; border-radius: 12px; background: var(--ppo-tile); overflow: hidden; }
.ppo-np__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ppo-np__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ppo-np__top { font-size: 12px; font-weight: 700; color: var(--ppo-pink-dark); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ppo-np__top .ppo-timer { font-size: 12px; color: var(--ppo-ink); }
.ppo-np__badge { background: var(--ppo-pink); color: #fff; border-radius: 999px; padding: 1px 8px; font-weight: 800; }
.ppo-np__name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ppo-np__price { font-size: 14px; font-weight: 700; }
.ppo-np__price del { color: var(--ppo-muted); font-weight: 400; margin-right: 4px; }
.ppo-np__price ins { text-decoration: none; color: var(--ppo-pink-dark); }
.ppo-np__all { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-top: 1px solid var(--ppo-line); font-size: 14px; font-weight: 800; color: var(--ppo-pink-dark) !important; text-decoration: none !important; background: #fffafc; }
.ppo-np__all:hover { background: var(--ppo-tile); }
.ppo-np__x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ppo-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ppo-np__x:hover { background: var(--ppo-tile); color: var(--ppo-ink); }
.ppo-np__main:focus-visible, .ppo-np__all:focus-visible, .ppo-np__x:focus-visible { outline: 3px solid var(--ppo-ink); outline-offset: -3px; }
@media (max-width: 640px) {
	.ppo-np { left: 10px; right: 10px; width: auto; bottom: calc(var(--ppo-bottom-offset, 84px) + env(safe-area-inset-bottom)); }
	.ppo-np__media { flex-basis: 58px; width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) { .ppo-np { transition: none !important; transform: none !important; } }

/* ---------- Web Push ask ---------- */
.ppo-ask {
	position: fixed; z-index: 999980; left: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px));
	background: #fff; color: var(--ppo-ink); border-radius: 18px; padding: 16px; box-shadow: var(--ppo-shadow);
	transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.ppo-ask.is-open { transform: none; opacity: 1; }
.ppo-ask.is-leaving { opacity: 0; }
.ppo-ask__text { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.ppo-ask__text span { color: var(--ppo-muted); display: block; font-size: 14px; }
.ppo-ask__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .ppo-ask { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); } }

.ppo-pushtoggle { display: grid; gap: 10px; justify-items: start; }

@media (prefers-reduced-motion: reduce) {
	.ppo-card, .ppo-overlay, .ppo-dialog, .ppo-ask, .ppo-card__media img, .ppo-btn, .ppo-toast, .ppo-pill, .ppo-btn__arrow, .ppo-toast__bar span { transition: none !important; }
	.ppo-toast, .ppo-pill { transform: none !important; }
	.ppo-dialog, .ppo-overlay--sheet .ppo-dialog { transform: none !important; }
	.ppo-card__link:hover .ppo-card__media img { transform: none; }
}
@media (forced-colors: active) {
	.ppo-badge { border: 1px solid CanvasText; }
	.ppo-btn { border: 1px solid ButtonText; }
}
