/* Seasonal theme (Salmod_TK_Campaigns): additions on top of the normal site. Black + one accent colour. */
body.salmod-camp {
	--sc-ink: #0E0E10; --sc-ink-2: #1D1D22; --sc-line: #2C2C33; --sc-mute: #B9B9C2;
	--sc-acc: #F5C451; --sc-on-acc: #1A1405;
	--sc-font: Vazirmatn, Tahoma, sans-serif;
}
body.salmod-camp--acc-red { --sc-acc: #F04C4C; --sc-on-acc: #FFFFFF; }
body.salmod-camp--acc-white { --sc-acc: #FFFFFF; --sc-on-acc: #111111; }

/* ---------- Countdown (shared) ---------- */
.sc-t { display: inline-flex; gap: 4px; font-family: var(--sc-font); }
.sc-u { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 38px; padding: 4px 4px 3px; border-radius: 9px; background: var(--sc-ink-2); box-shadow: inset 0 0 0 1px var(--sc-line); color: #FFFFFF; }
.sc-u i { font-style: normal; font-weight: 900; font-size: 16px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sc-u small { font-size: 10px; font-weight: 700; color: var(--sc-mute); line-height: 1.3; }
.sc-u:last-child i { color: var(--sc-acc); }

/* ---------- Bar above the header ---------- */
.sc-bar {
	position: relative; z-index: 2; color: #FFFFFF; font: 700 12.5px/1.5 var(--sc-font);
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 12px), var(--sc-ink);
	border-bottom: 1px solid var(--sc-line);
}
.sc-bar[hidden] { display: none; }
.sc-bar__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; max-width: 1320px; margin: 0 auto; padding: 7px 44px 7px 44px; }
.sc-bar__link { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF !important; text-decoration: none !important; }
.sc-bar__tag { padding: 2px 8px; border-radius: 5px; background: var(--sc-acc); color: var(--sc-on-acc); font-size: 10.5px; font-weight: 900; letter-spacing: 1.5px; direction: ltr; white-space: nowrap; }
.sc-bar__txt b { color: var(--sc-acc); font-weight: 900; }
.sc-bar__when { color: var(--sc-mute); font-size: 11.5px; }
.sc-t--bar .sc-u { min-width: 32px; padding: 2px 3px 1px; border-radius: 7px; }
.sc-t--bar .sc-u i { font-size: 13.5px; }
.sc-t--bar .sc-u small { font-size: 9px; }
.sc-bar__pv { padding: 2px 8px; border-radius: 999px; background: #FFFFFF; color: #111111; font-size: 10.5px; font-weight: 900; }
.sc-code {
	display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 4px 0 10px; border: 1px dashed var(--sc-acc); border-radius: 999px;
	background: transparent; color: #FFFFFF; font: inherit; font-size: 11.5px; cursor: pointer; touch-action: manipulation;
}
.sc-code b { color: var(--sc-acc); font-weight: 900; letter-spacing: .5px; }
.sc-code em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--sc-acc); color: var(--sc-on-acc); font-weight: 900; }
.sc-code.is-copied em { background: #22C55E; color: #FFFFFF; }
.sc-code:active { transform: scale(.97); }
.sc-bar__x {
	position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px;
	border: 0; border-radius: 50%; background: transparent; color: var(--sc-mute); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .sc-bar__x:hover { background: var(--sc-ink-2); color: #FFFFFF; } .sc-bar__link:hover .sc-bar__txt { text-decoration: underline; } }
.sc-bar--teaser .sc-bar__tag { background: transparent; color: var(--sc-acc); box-shadow: inset 0 0 0 1px var(--sc-acc); }
@media (max-width: 480px) {
	.sc-bar__in { padding: 6px 38px 6px 10px; gap: 5px 8px; }
	.sc-bar__tag { display: none; }
	.sc-bar__when { display: none; }
}

/* ---------- Home: first hero slide ---------- */
.salmod-hero__slide:has(> .sc-hero) { position: relative; min-height: 100%; }
.sc-hero {
	position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 4%;
	padding: 5% 6%; overflow: hidden; background: var(--sc-ink); color: #FFFFFF !important; text-decoration: none !important;
	font-family: var(--sc-font); border-radius: inherit; container-type: size;
}
.sc-hero--img { display: block; padding: 0; }
.sc-hero--img picture, .sc-hero--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-hero__glow { position: absolute; inset-inline-end: -20%; top: -30%; width: 75%; height: 160%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sc-acc) 26%, transparent), transparent); pointer-events: none; }
.sc-hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(4px, 2cqh, 12px); min-width: 0; }
.sc-chip { padding: 3px 10px; border-radius: 6px; background: var(--sc-acc); color: var(--sc-on-acc); font: 900 clamp(9px, 2.4cqw, 13px)/1.6 var(--sc-font); letter-spacing: 2px; direction: ltr; white-space: nowrap; }
.sc-chip--sm { padding: 1px 7px; font-size: 9.5px; letter-spacing: 1.2px; }
.sc-hero__title { font-size: clamp(18px, 6.4cqw, 52px); font-weight: 900; line-height: 1.15; }
.sc-hero__off { display: inline-flex; align-items: baseline; gap: 4px; color: var(--sc-acc); font-weight: 900; font-size: clamp(34px, 14cqw, 120px); line-height: .9; letter-spacing: -1px; }
.sc-hero__off small { font-size: .28em; letter-spacing: 0; color: #FFFFFF; }
.sc-hero__line { font-size: clamp(11px, 3cqw, 18px); color: #D4D4DC; line-height: 1.5; }
.sc-t--hero .sc-u { min-width: clamp(30px, 8.5cqw, 64px); }
.sc-t--hero .sc-u i { font-size: clamp(13px, 4cqw, 26px); }
.sc-hero__btn { display: inline-flex; align-items: center; gap: 6px; padding: clamp(6px, 2cqh, 12px) clamp(12px, 4cqw, 26px); border-radius: 999px; background: #FFFFFF; color: #111111; font-weight: 900; font-size: clamp(12px, 3cqw, 16px); transition: transform .12s ease-out; }
.sc-hero:active .sc-hero__btn { transform: scale(.97); }
.sc-hero__pics { position: relative; z-index: 1; align-self: stretch; }
.sc-hero__pic { position: absolute; top: 50%; height: 80%; max-width: 62%; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--sc-ink-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 3px var(--sc-ink); }
.sc-hero__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-hero__pic b { position: absolute; top: 8px; inset-inline-start: 8px; padding: 2px 8px; border-radius: 8px; background: var(--sc-acc); color: var(--sc-on-acc); font-size: clamp(11px, 2.6cqw, 15px); font-weight: 900; }
.sc-hero__pics.n1 .sc-hero__pic:nth-child(1) { left: 21%; transform: translateY(-50%) rotate(-3deg); }
.sc-hero__pics.n2 .sc-hero__pic:nth-child(1) { left: 36%; transform: translateY(-50%) rotate(5deg); z-index: 2; }
.sc-hero__pics.n2 .sc-hero__pic:nth-child(2) { left: 4%; transform: translateY(-46%) rotate(-7deg); }
.sc-hero__pics.n3 .sc-hero__pic:nth-child(1) { left: 21%; transform: translateY(-50%); z-index: 3; }
.sc-hero__pics.n3 .sc-hero__pic:nth-child(2) { left: 46%; transform: translateY(-44%) rotate(9deg) scale(.86); z-index: 2; }
.sc-hero__pics.n3 .sc-hero__pic:nth-child(3) { left: -4%; transform: translateY(-44%) rotate(-9deg) scale(.86); }

/* ---------- Home: discount steps ---------- */
.sc-tiers__t { margin: 0 0 10px; font-size: 18px; font-weight: 900; }
.sc-tiers__row { display: flex; gap: 10px; }
.sc-tiers__row > .sc-tier { flex: 1 1 0; min-width: 0; max-width: 440px; }
.sc-tier {
	position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; overflow: hidden;
	background: var(--sc-ink); color: #FFFFFF !important; text-decoration: none !important; font-family: var(--sc-font);
	transition: transform .14s ease-out;
}
.sc-tier::after { content: ""; position: absolute; inset-inline-end: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; border: 10px solid color-mix(in srgb, var(--sc-acc) 18%, transparent); }
.sc-tier__v { font-size: 34px; font-weight: 900; line-height: 1; }
.sc-tier__v small { font-size: .55em; margin-inline-start: 1px; }
.sc-tier__l { font-size: 12.5px; color: var(--sc-mute); }
.sc-tier__n { margin-top: 6px; align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: var(--sc-ink-2); font-size: 11.5px; font-weight: 700; }
.sc-tier.is-top { background: var(--sc-acc); color: var(--sc-on-acc) !important; }
.sc-tier.is-top .sc-tier__l { color: inherit; opacity: .8; }
.sc-tier.is-top .sc-tier__n { background: rgba(0, 0, 0, .12); }
.sc-tier:active { transform: scale(.97); }
@media (min-width: 768px) { .sc-tier { padding: 20px 22px; } .sc-tier__v { font-size: 46px; } .sc-tiers__t { font-size: 22px; } }

/* ---------- Home: sale box ---------- */
.salmod-deal.sc-deal { background: var(--sc-ink) !important; box-shadow: inset 0 3px 0 var(--sc-acc); }
.sc-deal .salmod-deal__intro, .sc-deal .salmod-deal__title { color: #FFFFFF !important; }
.sc-deal .salmod-deal__intro p { color: var(--sc-mute) !important; }
.sc-deal .salmod-deal__badge { background: var(--sc-acc) !important; color: var(--sc-on-acc) !important; font-size: 13px !important; letter-spacing: .5px; }
.sc-deal .salmod-btn--light { background: transparent !important; color: #FFFFFF !important; box-shadow: inset 0 0 0 1px #4A4A52 !important; }

/* ---------- Discount badges + «BLACK FRIDAY» on cards ---------- */
.salmod-camp--badges .sl-off, .salmod-camp--badges .pp-off { background: var(--sc-ink) !important; color: var(--sc-acc) !important; box-shadow: none !important; }
.salmod-camp--ribbon .sl-off, .salmod-camp--ribbon .pp-card .pp-off { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; padding-top: 4px !important; padding-bottom: 4px !important; }
.salmod-camp--ribbon .sl-off::before, .salmod-camp--ribbon .pp-card .pp-off::before { content: "BLACK FRIDAY"; font: 900 7.5px/1.2 var(--sc-font); letter-spacing: .8px; color: #FFFFFF; opacity: .9; direction: ltr; }

/* ---------- Category pages ---------- */
.sc-strip {
	display: flex; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 10px 10px 10px 14px; border-radius: 16px;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 12px), var(--sc-ink);
	color: #FFFFFF !important; font: 700 13px/1.6 var(--sc-font); text-decoration: none !important;
}
.sc-strip__tag { flex-shrink: 0; padding: 2px 7px; border-radius: 5px; background: var(--sc-acc); color: var(--sc-on-acc); font-size: 9.5px; font-weight: 900; letter-spacing: 1.2px; direction: ltr; }
.sc-strip__txt { flex: 1; min-width: 0; }
.sc-strip__txt b { color: var(--sc-acc); }
.sc-strip__go { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; background: #FFFFFF; color: #111111; font-weight: 900; font-size: 12.5px; }
@media (min-width: 768px) { .sc-strip { margin-inline: 24px; } }

/* ---------- Product page, under the price ---------- */
.sc-pp { margin: 12px 0 0; padding: 12px; border-radius: 16px; background: var(--sc-ink); color: #FFFFFF; font: 700 13px/1.6 var(--sc-font); }
.sc-pp__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.sc-pp__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.sc-t--pp .sc-u { min-width: 34px; }
.sc-t--pp .sc-u i { font-size: 14px; }
.sc-pp__rows { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sc-line); }
.sc-pp__top:empty + .sc-pp__rows, .sc-pp > .sc-pp__rows:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sc-pp__save b { color: var(--sc-acc); font-weight: 900; }
.sc-pp__left { display: inline-flex; align-items: center; gap: 6px; color: #FF8A8A; }
.sc-pp__left i { width: 8px; height: 8px; border-radius: 50%; background: #F04C4C; box-shadow: 0 0 0 0 rgba(240, 76, 76, .6); animation: sc-pulse 1.6s ease-out infinite; }
@keyframes sc-pulse { 70% { box-shadow: 0 0 0 7px rgba(240, 76, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 76, 76, 0); } }

@media (prefers-reduced-motion: reduce) {
	.sc-hero__btn, .sc-tier { transition: none; }
	.sc-pp__left i { animation: none; }
}
