/**
 * Course catalogue (/shop/ + product categories) — template/shop-archive.php.
 * Light design in the site palette: navy ink, brand blue, orange→red CTA gradient.
 */
.sa-shop {
	--ink: #0B1F66; --blue: #0A3D9C; --blue-t: #E8EEFB; --red: #E31B3D; --red-t: #FDE8EC; --text: #4B5675; --muted: #7B849C;
	--line: #E6EAF3; --bg: #F5F7FC; --card: #fff; --grad: linear-gradient(100deg, #FF5A36 0%, #E31B3D 55%, #D1104F 100%);
	--ease: cubic-bezier(.22, .8, .24, 1); --r: 20px;
	font-family: Poppins, "Hind Siliguri", system-ui, sans-serif; color: var(--text); background: #fff;
}
.sa-shop *, .sa-shop *::before, .sa-shop *::after { box-sizing: border-box; }
.sa-shop a { text-decoration: none; }
.sa-shop ul { list-style: none; margin: 0; padding: 0; }
.sa-shop h1, .sa-shop h2, .sa-shop h3 { font-family: inherit; margin: 0; letter-spacing: normal; }
.sa-shop .sa-i { width: 1em; height: 1em; flex: none; }
.sa-shop-wrap { width: min(1400px, 100%); margin: 0 auto; padding: 0 20px; }

/* ---------- hero ---------- */
.sa-shop-hero {
	position: relative; overflow: hidden; padding: 56px 0 64px;
	background: radial-gradient(900px 420px at 85% 10%, rgba(227, 27, 61, .09), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(10, 61, 156, .1), transparent 60%), linear-gradient(180deg, #F3F6FD 0%, #fff 100%);
}
.sa-shop-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(11, 31, 102, .12) 1px, transparent 1px); background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.sa-shop-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; }
.sa-crumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px -10px rgba(11, 31, 102, .25); font-size: 13px; font-weight: 500; }
.sa-crumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); transition: color .2s; }
.sa-crumb a:first-child .sa-i { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--ink); color: #fff; }
.sa-crumb a:hover { color: var(--red); }
.sa-crumb > .sa-i { width: 12px; height: 12px; color: var(--muted); }
.sa-crumb span { color: var(--red); font-weight: 600; }
.sa-shop-hero__title { margin-top: 22px !important; font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em !important; color: var(--ink); }
.sa-hl { position: relative; display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.sa-hl::after { /* hand-drawn underline */
	content: ""; position: absolute; left: 2%; right: 2%; bottom: -.06em; height: .2em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C50 3 120 2 197 7' stroke='%23FFC21A' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sa-shop-hero__desc { max-width: 520px; margin: 18px 0 0; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.sa-shop-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px !important; }
.sa-shop-hero__stats li { display: flex; flex-direction: column; min-width: 120px; padding: 12px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(11, 31, 102, .35); }
.sa-shop-hero__stats b { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.sa-shop-hero__stats span { font-size: 12.5px; color: var(--muted); }

.sa-shop-hero__art { position: relative; height: 300px; }
.sa-shop-hero__blob { position: absolute; z-index: 0; left: 50%; top: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 61, 156, .18), transparent); }
.sa-shop-hero__card {
	position: absolute; z-index: 1; width: 230px; aspect-ratio: 720 / 390; border-radius: 18px; overflow: hidden; background: #fff; padding: 6px;
	box-shadow: 0 30px 50px -24px rgba(11, 31, 102, .55); transition: transform .6s var(--ease);
}
.sa-shop-hero__card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.sa-shop-hero__card--1 { left: 2%; top: 60px; transform: rotate(-9deg); }
.sa-shop-hero__card--2 { left: 50%; top: 10px; z-index: 2; transform: translateX(-50%) rotate(2deg); width: 250px; }
.sa-shop-hero__card--3 { right: 2%; top: 80px; transform: rotate(9deg); }
.sa-shop-hero__art:hover .sa-shop-hero__card--1 { transform: rotate(-12deg) translateX(-10px); }
.sa-shop-hero__art:hover .sa-shop-hero__card--3 { transform: rotate(12deg) translateX(10px); }

/* ---------- layout ---------- */
/* The main Shop banner sits below Kimox's header rather than behind it. */
.sa-shop-body.woocommerce-shop header > .transparent-header { position: relative; inset: auto; }
.sa-shop-body.woocommerce-shop header > .transparent-header:not(.white-bg) { background-color: #242629; }
.sa-shop-main { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 48px; padding-bottom: 100px; }
.sa-shop-main > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* ---------- sidebar ---------- */
.sa-shop-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.sa-shop-side__head, .sa-shop-scrim { display: none; }
.sa-filters { display: flex; flex-direction: column; gap: 14px; }
.sa-box { padding: 18px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.sa-box__t { display: flex; align-items: center; gap: 8px; margin-bottom: 14px !important; font-size: 14.5px !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--ink) !important; }
.sa-box__t .sa-i { color: var(--red); }

.sa-search { position: relative; }
.sa-shop .sa-search input[type="search"] {
	width: 100%; height: 46px; margin: 0; padding: 0 46px 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
	font: 500 14px/1 inherit; font-family: inherit; color: var(--ink); box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.sa-shop .sa-search input[type="search"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 61, 156, .12); }
.sa-shop .sa-search button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: var(--ink); color: #fff; cursor: pointer; font-size: 15px; transition: background .2s; }
.sa-shop .sa-search button:hover { background: var(--red); }

.sa-checks { display: flex; flex-direction: column; gap: 4px; }
.sa-check { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.sa-check:hover { background: #fff; color: var(--ink); }
.sa-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-check__box { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #C5CCDD; background: #fff; display: grid; place-items: center; transition: .2s; }
.sa-check__box::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.sa-check input:checked + .sa-check__box { background: var(--red); border-color: var(--red); box-shadow: 0 4px 10px -4px rgba(227, 27, 61, .8); }
.sa-check input:checked + .sa-check__box::after { transform: rotate(-45deg) scale(1); }
.sa-check input:checked ~ .sa-check__txt { color: var(--ink); font-weight: 600; }
.sa-check input:focus-visible + .sa-check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.sa-check__txt { flex: 1; min-width: 0; }
.sa-check__n { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; text-align: center; color: var(--muted); }

/* dual range */
.sa-range { position: relative; padding-top: 6px; }
.sa-range__track { position: relative; height: 6px; margin: 8px 9px; border-radius: 99px; background: #DCE2EF; }
.sa-range__fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 99px; background: var(--grad); }
.sa-range input[type="range"] { position: absolute; left: 0; right: 0; top: 7px; width: 100%; height: 22px; margin: 0; padding: 0; background: none; border: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.sa-range input[type="range"]::-webkit-slider-runnable-track { background: none; border: 0; }
.sa-range input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--red); box-shadow: 0 4px 10px -2px rgba(227, 27, 61, .55); cursor: grab; }
.sa-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--red); box-shadow: 0 4px 10px -2px rgba(227, 27, 61, .55); cursor: grab; }
.sa-range input[type="range"]::-moz-range-track { background: none; }
.sa-range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--blue); outline-offset: 2px; }

.sa-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-pill { margin: 0; cursor: pointer; }
.sa-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-pill span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); transition: .2s; }
.sa-pill span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C5CCDD; transition: .2s; }
.sa-pill:hover span { border-color: #C5CCDD; color: var(--ink); }
.sa-pill input:checked + span { background: var(--red-t); border-color: rgba(227, 27, 61, .4); color: var(--red); }
.sa-pill input:checked + span::before { background: var(--red); }
.sa-pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.sa-clear { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px dashed #C5CCDD; font-size: 13.5px; font-weight: 600; color: var(--blue); transition: .2s; }
.sa-clear:hover { border-color: var(--red); color: var(--red); background: var(--red-t); }
.sa-apply { padding: 12px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; }

/* promo */
.sa-promo { position: relative; display: flex; flex-direction: column; gap: 6px; overflow: hidden; padding: 18px; border-radius: var(--r); background: linear-gradient(150deg, #0A3D9C 0%, #0B1F66 100%); color: #fff; box-shadow: 0 24px 40px -24px rgba(11, 31, 102, .8); transition: transform .3s var(--ease); }
.sa-promo:hover { transform: translateY(-3px); }
.sa-promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 54, .45), transparent); }
.sa-promo__img { display: block; margin-bottom: 8px; border-radius: 12px; overflow: hidden; aspect-ratio: 720 / 390; }
.sa-promo__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sa-promo__k { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FFC21A; }
.sa-promo__t { font-size: 16px; font-weight: 700; line-height: 1.35; color: #fff; }
.sa-promo__s { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- toolbar ---------- */
.sa-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.sa-toolbar__count { margin: 0; font-size: 14px; color: var(--text); }
.sa-toolbar__count b { color: var(--ink); }
.sa-toolbar__right { display: flex; align-items: center; gap: 12px; }
.sa-toolbar__filters { display: none; }
.sa-view { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sa-shop .sa-view button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; transition: .2s; }
.sa-shop .sa-view button:hover { color: var(--ink); }
.sa-shop .sa-view button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(11, 31, 102, .7); }
.sa-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.sa-shop .sa-sort select {
	height: 44px; min-width: 190px; margin: 0; padding: 0 38px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F66' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
	font: 500 14px/1 inherit; font-family: inherit; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none;
}
.sa-shop .sa-sort select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 61, 156, .12); }

.sa-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.sa-active__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 999px; background: var(--blue-t); color: var(--blue); font-size: 13px; font-weight: 600; transition: .2s; }
.sa-active__chip .sa-i { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: rgba(10, 61, 156, .15); }
.sa-active__chip:hover { background: var(--red-t); color: var(--red); }
.sa-active__clear { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- cards ---------- */
.sa-grid { display: grid; grid-template-columns: repeat(var(--sa-cols, 3), minmax(0, 1fr)); gap: 24px; margin-top: 22px !important; }
.sa-card { display: flex; flex-direction: column; margin: 0; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(11, 31, 102, .04); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.sa-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 50px -26px rgba(11, 31, 102, .4); }
.sa-card__media { position: relative; display: block; margin: 8px 8px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 720 / 390; background: var(--bg); }
.sa-card__media img, .sa-promo__img img, .sa-shop-hero__card img { padding: 0 !important; }
.sa-card__media img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; margin: 0 !important; transition: transform .6s var(--ease); }
.sa-card:hover .sa-card__media img { transform: scale(1.06); }
.sa-card__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.sa-badge { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.2; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.sa-badge--sale { background: var(--grad); }
.sa-badge--free { background: #17A34A; }
.sa-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.sa-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.sa-card__tags > span { flex: none; white-space: nowrap; }
.sa-card__tags > .sa-card__type { flex: none; }
.sa-card__type { padding: 3px 9px; border-radius: 999px; background: var(--blue-t); font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--blue); }
.sa-card__cat { align-self: flex-start; line-height: 1.5; padding: 3px 10px; border-radius: 999px; background: var(--red-t); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.sa-card__title { margin-top: 12px !important; font-size: 16.5px !important; font-weight: 700 !important; line-height: 1.4 !important; }
.sa-card__title a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.sa-card__title a:hover { color: var(--red); background-size: 100% 1.5px; }
.sa-card__excerpt { display: none; margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--text); }
.sa-card__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 12px !important; margin-bottom: 16px !important; }
.sa-card__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.sa-card__meta .sa-i { color: var(--blue); }
.sa-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.sa-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.sa-card__price b { font-size: 20px; font-weight: 800; color: var(--ink); }
.sa-card__price s { font-size: 13px; color: var(--muted); }
.sa-card__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .3s, box-shadow .3s; }
.sa-card__btn .sa-i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .3s var(--ease); }
.sa-card__btn:hover { background: var(--grad); box-shadow: 0 12px 24px -12px rgba(227, 27, 61, .9); }
.sa-card__btn:hover .sa-i { transform: translateX(3px); }

/* list view */
.sa-grid.is-list { grid-template-columns: 1fr; gap: 18px; }
.sa-grid.is-list .sa-card { flex-direction: row; }
.sa-grid.is-list .sa-card__media { flex: none; width: 320px; margin: 8px; aspect-ratio: 720 / 390; align-self: center; }
.sa-grid.is-list .sa-card__body { padding: 20px 22px 20px 12px; }
.sa-grid.is-list .sa-card__title { font-size: 19px !important; }
.sa-grid.is-list .sa-card__excerpt { display: block; }

/* pagination */
.sa-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.sa-pager .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); transition: .2s; }
.sa-pager a.page-numbers:hover { border-color: var(--ink); }
.sa-pager .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -10px rgba(227, 27, 61, .9); }
.sa-pager .prev .sa-i { transform: rotate(180deg); }
.sa-pager .dots { background: none; border: 0; }

/* empty */
.sa-empty { margin-top: 22px; padding: 60px 24px; border-radius: 24px; background: var(--bg); border: 1px dashed #C5CCDD; text-align: center; }
.sa-empty__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--red); font-size: 26px; box-shadow: 0 14px 30px -16px rgba(11, 31, 102, .4); }
.sa-empty h2 { margin-top: 18px !important; font-size: 22px !important; font-weight: 700 !important; color: var(--ink) !important; }
.sa-empty p { margin: 8px 0 22px; }

html.sa-shop-loading .sa-shop-results { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* ---------- responsive ---------- */
@media (max-width: 1299px) {
	.sa-grid:not([data-cols="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sa-shop-main { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 991px) {
	.sa-shop-hero { padding: 40px 0 44px; }
	.sa-shop-hero__in { grid-template-columns: 1fr; }
	.sa-shop-hero__art { display: none; }
	.sa-shop-main { grid-template-columns: 1fr; padding-top: 28px; }
	/* filters become a drawer */
	.sa-shop-side {
		position: fixed; z-index: 100000; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); padding: 0 16px 24px; overflow-y: auto; background: #fff;
		transform: translateX(-105%); transition: transform .4s var(--ease); box-shadow: 20px 0 60px -20px rgba(11, 31, 102, .5);
	}
	.sa-shop-side__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 -16px; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
	.sa-shop-side__head strong { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink); }
	.sa-shop .sa-shop-side__close { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 18px; cursor: pointer; }
	.sa-shop-scrim { display: block; position: fixed; inset: 0; z-index: 99999; background: rgba(7, 12, 36, .5); opacity: 0; visibility: hidden; transition: .3s; }
	html.sa-filters-open { overflow: hidden; }
	html.sa-filters-open .sa-shop-side { transform: none; }
	html.sa-filters-open .sa-shop-scrim { opacity: 1; visibility: visible; }
	.sa-shop .sa-toolbar__filters { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
	.sa-toolbar__filters em { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 99px; background: var(--red); font-style: normal; font-size: 11px; }
	.sa-toolbar { padding: 10px; }
	.sa-toolbar__count { order: 3; width: 100%; padding: 0 6px; }
}
@media (max-width: 767px) {
	.sa-grid.is-list .sa-card { flex-direction: column; }
	.sa-grid.is-list .sa-card__media { width: auto; margin: 8px 8px 0; }
	.sa-grid.is-list .sa-card__body { padding: 16px 18px 18px; }
}
@media (max-width: 600px) {
	.sa-grid, .sa-grid:not([data-cols="1"]), .sa-grid:is([data-cols="5"], [data-cols="6"]) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.sa-sort span { display: none; }
	.sa-shop .sa-sort select { min-width: 0; width: 170px; }
	.sa-view { display: none; }
	.sa-shop-hero__stats li { min-width: 0; flex: 1; padding: 10px 12px; }
	.sa-shop-hero__stats b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sa-shop * { transition: none !important; } }
.tflow-script-bengali .sa-shop-hero__title, .tflow-script-bengali .sa-card__cat, .tflow-script-bengali .sa-promo__k { letter-spacing: 0 !important; }

/* ---------- nice select (sort) ---------- */
.sa-nice { position: relative; }
.sa-nice select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sa-shop .sa-nice__btn {
	position: relative; display: flex; align-items: center; width: 210px; height: 44px; margin: 0; padding: 0 44px 0 16px; border-radius: 12px;
	border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px/1 Poppins, sans-serif; text-align: left; cursor: pointer;
	box-shadow: 0 2px 6px rgba(11, 31, 102, .04); transition: border-color .2s, box-shadow .2s;
}
.sa-shop .sa-nice__btn span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sa-shop .sa-nice__btn::after { /* chevron chip */
	content: ""; position: absolute; right: 7px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F66' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 13px no-repeat;
	transition: transform .3s var(--ease), background-color .2s;
}
.sa-shop .sa-nice__btn:hover { border-color: #C5CCDD; }
.sa-shop .sa-nice__btn:focus-visible, .sa-nice.is-open .sa-nice__btn { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 61, 156, .12); }
.sa-nice.is-open .sa-nice__btn::after { transform: rotate(180deg); background-color: var(--blue-t); }
.sa-shop .sa-nice__list {
	position: absolute; z-index: 50; top: calc(100% + 8px); right: 0; min-width: 100%; margin: 0; padding: 6px !important; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -16px rgba(11, 31, 102, .35);
	opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sa-nice.is-open .sa-nice__list { opacity: 1; visibility: visible; transform: none; }
.sa-nice__opt { position: relative; display: flex; align-items: center; margin: 0; padding: 10px 34px 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.sa-nice__opt.is-focus { background: var(--bg); color: var(--ink); }
.sa-nice__opt.is-selected { color: var(--red); font-weight: 600; background: var(--red-t); }
.sa-nice__opt.is-selected::after {
	content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E31B3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 600px) { .sa-shop .sa-nice__btn { width: 180px; } }

/* price values: Min — Max boxes */
.sa-range__vals { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 20px; }
.sa-range__v { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(11, 31, 102, .35); transition: border-color .2s; }
.sa-range:hover .sa-range__v { border-color: #D3D9E6; }
.sa-range__v small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.sa-range__v span { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.sa-range__v em { font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif; font-style: normal; font-size: 16px; font-weight: 700; line-height: 1; color: var(--red); }
.sa-range__v b { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.sa-range__dash { height: 2px; border-radius: 2px; background: #C5CCDD; }

/* tags fit one line: compact pills */
.sa-card__tags .sa-card__cat { padding: 3px 9px; font-size: 10.5px; letter-spacing: .04em; }
.sa-card__tags .sa-card__type { padding: 3px 9px; font-size: 10.5px; }
/* footer always sits on the card bottom; title-only cards keep a gap before it */
.sa-card__title + .sa-card__foot { margin-top: auto; }
.sa-card__body > .sa-card__title:nth-last-child(2) { margin-bottom: 16px !important; }

/* 4+ columns (Customizer "Products per row"): tighter cards so everything fits */
.sa-grid[data-cols="4"], .sa-grid[data-cols="5"], .sa-grid[data-cols="6"] { gap: 18px; }
.sa-grid:is([data-cols="4"], [data-cols="5"], [data-cols="6"]):not(.is-list) .sa-card__body { padding: 14px 14px 16px; }
.sa-grid:is([data-cols="4"], [data-cols="5"], [data-cols="6"]):not(.is-list) .sa-card__title { font-size: 15px !important; }
.sa-grid:is([data-cols="4"], [data-cols="5"], [data-cols="6"]):not(.is-list) .sa-card__foot { flex-wrap: wrap; }
.sa-grid:is([data-cols="4"], [data-cols="5"], [data-cols="6"]):not(.is-list) .sa-card__price b { font-size: 18px; }
.sa-grid:is([data-cols="4"], [data-cols="5"], [data-cols="6"]):not(.is-list) .sa-card__btn { height: 38px; padding-left: 14px; font-size: 12.5px; }
@media (max-width: 1499px) { .sa-grid:is([data-cols="5"], [data-cols="6"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Product specs and WooCommerce prices, within the existing archive grid/list. */
.sa-card--product {
	--sa-product-ink: #192B4B; --sa-product-muted: #515D70; --sa-product-accent: #A52744;
	min-width: 0;
}
.sa-card--product .sa-card__media,
.sa-grid.is-list .sa-card--product .sa-card__media { aspect-ratio: 1.69; border-radius: 13px; }
.sa-card--product .sa-badge--sale { background: #B42645; }
.sa-card--product .sa-card__body { min-width: 0; container-type: inline-size; }
.sa-card--product .sa-card__cat { background: #F8E6E9; color: var(--sa-product-accent); }
.sa-card--product .sa-card__type { background: #E9EDF6; color: #26467A; }
.sa-card--product .sa-card__title a { color: var(--sa-product-ink); overflow-wrap: anywhere; }
.sa-card--product .sa-card__title a:hover { color: var(--sa-product-accent); }
.sa-card__specs { display: grid; gap: 4px; margin: 10px 0 14px; color: var(--sa-product-muted); font-size: 12px; line-height: 1.5; }
.sa-card__specs > div { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.sa-card__specs dt { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--sa-product-ink); font-weight: 600; }
.sa-card__specs dt::before { content: ""; width: 5px; height: 5px; flex: none; border: 1px solid #577198; border-radius: 50%; }
.sa-card__specs dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.sa-grid .sa-card.sa-card--product .sa-card__foot { flex-wrap: nowrap; gap: 7px; padding-top: 13px; }
.sa-card--product .sa-card__price {
	flex: 1 1 auto; min-width: 0; gap: 2px 6px; color: var(--sa-product-ink); font-size: 18px; font-weight: 700;
	line-height: 1.25; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.sa-card--product .sa-card__price .amount { color: inherit; font: inherit; }
.sa-card--product .sa-card__price ins { order: -1; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: none; }
.sa-card--product .sa-card__price del { order: 1; color: var(--sa-product-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: 1; }
.sa-card--product .sa-card__price small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.sa-card--product .sa-card__price:empty { display: none; }
.sa-grid .sa-card.sa-card--product .sa-card__btn { flex: none; min-height: 42px; margin-inline-start: auto; padding-inline-start: 12px; background: #1B2E53; }
.sa-grid .sa-card.sa-card--product .sa-card__btn:hover { background: #2D4977; }
.sa-card--product :is(.sa-card__title a, .sa-card__btn):focus-visible { outline: 2px solid #36578A; outline-offset: 3px; }
@container (max-width: 240px) {
	.sa-grid .sa-card.sa-card--product .sa-card__foot { column-gap: 5px; }
	.sa-card--product .sa-card__price { font-size: 16px; column-gap: 4px; }
	.sa-card--product .sa-card__price del { font-size: 11px; }
	.sa-grid .sa-card.sa-card--product .sa-card__btn { gap: 4px; padding-inline: 9px 5px; font-size: 11.5px; }
	.sa-card--product .sa-card__btn .sa-i { width: 23px; height: 23px; padding: 5px; }
}
@container (max-width: 174px) {
	.sa-grid .sa-card.sa-card--product .sa-card__foot { flex-wrap: wrap; }
	.sa-card--product .sa-card__price { flex-basis: 100%; }
}

/* ---------- Elementor hero ("Saif Shop Hero" template, gradient banner): only what Elementor can't do ---------- */
.sa-x-shophero { position: relative; isolation: isolate; }

.sa-x-shophero::after { /* low-poly triangles + gentle shine — ::after because Elementor owns .e-con::before */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
	background: radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, .06)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 400' preserveAspectRatio='none'%3E%3Cg fill='%23fff'%3E%3Cpath fill-opacity='.14' d='M0 0h260L120 210z'/%3E%3Cpath fill-opacity='.22' d='M260 0 120 210l300-40z'/%3E%3Cpath fill-opacity='.10' d='M260 0h300L420 170z'/%3E%3Cpath fill-opacity='.18' d='M0 0v260l120-50z'/%3E%3Cpath fill-opacity='.26' d='M0 260 120 210 230 400H0z'/%3E%3Cpath fill-opacity='.12' d='m120 210 300-40-190 230z'/%3E%3Cpath fill-opacity='.20' d='M420 170 230 400h310z'/%3E%3Cpath fill-opacity='.08' d='M560 0 420 170l300 20z'/%3E%3Cpath fill-opacity='.16' d='M420 170 540 400l180-210z'/%3E%3Cpath fill-opacity='.24' d='m720 190-180 210h330z'/%3E%3Cpath fill-opacity='.12' d='M560 0h330L720 190z'/%3E%3Cpath fill-opacity='.20' d='M890 0 720 190l310-30z'/%3E%3Cpath fill-opacity='.10' d='m720 190 150 210 160-240z'/%3E%3Cpath fill-opacity='.22' d='M1030 160 870 400h320z'/%3E%3Cpath fill-opacity='.14' d='M890 0h300l-160 160z'/%3E%3Cpath fill-opacity='.26' d='m1190 0-160 160 290 50z'/%3E%3Cpath fill-opacity='.12' d='m1030 160 160 240 130-190z'/%3E%3Cpath fill-opacity='.18' d='M1320 210 1190 400h220z'/%3E%3Cpath fill-opacity='.22' d='M1190 0h220l-90 210z'/%3E%3Cpath fill-opacity='.10' d='M1410 0h190v190l-280 20z'/%3E%3Cpath fill-opacity='.28' d='m1320 210 280-20v210h-190z'/%3E%3C/g%3E%3Cg fill='%23000'%3E%3Cpath fill-opacity='.12' d='M120 210 0 260v-60z'/%3E%3Cpath fill-opacity='.14' d='M720 190 560 0h40z'/%3E%3Cpath fill-opacity='.12' d='m1410 0-90 210 100-60z'/%3E%3Cpath fill-opacity='.10' d='M230 400 120 210l40 190z'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}
.sa-shop-hero-el .elementor-widget-shortcode .elementor-shortcode { display: flex; justify-content: center; }

/* Main Shop: centered search-led banner with the same facets as the Elementor hero. */
.sa-shop-banner {
	padding-block: clamp(2.6rem, 4vw, 4rem); color: #fff; text-align: center;
	background:
		radial-gradient(ellipse 65% 115% at 49% 49%, #71162e80 8%, #71162e42 55%, transparent 87%),
		linear-gradient(106deg, #D9264D 1%, #E6553E 57%, #FA8C54 100%);
}
.sa-shop-banner__inner { display: grid; justify-items: center; gap: clamp(.95rem, 1.4vw, 1.45rem); }
.sa-shop .sa-shop-banner__title {
	max-width: 100%; margin: 0; color: #fff; font-size: clamp(2rem, 3.9vw, 3.6rem); font-weight: 800;
	line-height: 1.09; letter-spacing: -.034em; text-wrap: balance;
}
.sa-shop-banner__accent { position: relative; display: inline-block; max-width: 100%; color: #FFE08A; }
.sa-shop .sa-shop-banner__copy {
	max-width: 53ch; margin: 0; color: #fff; font-size: clamp(.96rem, 1.35vw, 1.13rem); font-weight: 600; line-height: 1.55;
}
.sa-shop-banner .sa-crumb { background: #74132E42; border-color: #FFFFFF63; }
.sa-shop-banner.sa-x-glass .sa-crumb span { color: #FFF0B9; }
.sa-shop-banner .sa-crumb a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sa-shop-banner .sa-hsearch { width: min(100%, 1000px); margin-top: clamp(.2rem, .65vw, .65rem); }
.sa-shop .sa-shop-banner .sa-hsearch input[type="search"]::placeholder { color: #5E6B84; opacity: 1; }
.sa-shop .sa-shop-banner .sa-hsearch button:focus-visible { outline: 2px solid #143978; outline-offset: 2px; }

/* highlighted words: warm yellow with a soft underline */
.sa-x-shophl .elementor-heading-title { text-wrap: balance; text-shadow: 0 2px 18px rgba(120, 10, 30, .18); }
.sa-x-shophl .elementor-heading-title span { position: relative; display: inline-block; color: #FFE08A; }
.sa-x-shophl .elementor-heading-title span::after, .sa-shop-banner__accent::after {
	content: ""; position: absolute; left: 2%; right: 2%; bottom: -.04em; height: .16em; opacity: .9;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C50 3 120 2 197 7' stroke='%23FFE08A' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* glass breadcrumb + chips on the gradient */
.sa-x-glass .sa-crumb { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .26); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sa-x-glass .sa-crumb a { color: #fff; }
.sa-x-glass .sa-crumb a:hover { color: #FFE08A; }
.sa-x-glass .sa-crumb a:first-child .sa-i { background: #fff; color: #E31B3D; }
.sa-x-glass .sa-crumb > .sa-i { color: rgba(255, 255, 255, .6); }
.sa-x-glass .sa-crumb span { color: #FFE08A; }
.sa-hchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sa-shop .sa-hchips a {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px 7px 15px; border-radius: 999px;
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 13.5px; font-weight: 600;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, transform .2s, color .2s;
}
.sa-hchips a em { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-style: normal; font-size: 11.5px; font-weight: 700; text-align: center; }
.sa-shop .sa-hchips a:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.sa-shop .sa-hchips a.is-on { background: #fff; border-color: #fff; color: #E31B3D; box-shadow: 0 10px 24px -12px rgba(120, 10, 30, .6); }
.sa-hchips a.is-on em { background: #FDE8EC; color: #E31B3D; }

/* search bar (pill) */
.sa-hsearch {
	display: flex; align-items: center; gap: 6px; width: 100%; padding: 7px; border-radius: 999px; background: #fff;
	box-shadow: 0 26px 50px -22px rgba(110, 10, 30, .55); transition: box-shadow .2s;
}
.sa-hsearch:focus-within { box-shadow: 0 0 0 5px rgba(255, 255, 255, .35), 0 26px 50px -22px rgba(110, 10, 30, .55); }
.sa-hsearch svg { width: 18px; height: 18px; flex: none; }
.sa-hsearch label { display: flex; align-items: center; margin: 0; }
.sa-hsearch__q { flex: 1; min-width: 0; gap: 10px; padding-left: 18px; color: #E31B3D; }
.sa-shop .sa-hsearch input[type="search"] {
	flex: 1; min-width: 0; width: 100%; height: 50px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; outline: none;
	font: 500 15.5px/1 Poppins, sans-serif; color: #0B1F66;
}
.sa-shop .sa-hsearch input::placeholder { color: #9AA2B8; }
.sa-hsearch__cat { position: relative; padding-left: 12px; border-left: 1px solid #E6EAF3; }
.sa-shop .sa-hsearch select {
	height: 50px; margin: 0; padding: 0 34px 0 6px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F66' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 13px no-repeat;
	font: 600 14px/1 Poppins, sans-serif; color: #0B1F66; cursor: pointer; -webkit-appearance: none; appearance: none; box-shadow: none;
}
.sa-shop .sa-hsearch button {
	display: inline-flex; align-items: center; gap: 10px; height: 50px; margin: 0; padding: 0 8px 0 26px; border: 0; border-radius: 999px; cursor: pointer;
	background: #0B1F66; color: #fff; font: 700 15px/1 Poppins, sans-serif; box-shadow: 0 12px 24px -12px rgba(11, 31, 102, .9); transition: background .2s;
}
.sa-shop .sa-hsearch button svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .3s; }
.sa-shop .sa-hsearch button:hover { background: #0A3D9C; }
.sa-shop .sa-hsearch button:hover svg { transform: translateX(3px); }

@media (max-width: 600px) {
	.sa-hsearch__q { padding-left: 12px; }
	.sa-shop .sa-hsearch button { padding: 0 6px; }
	.sa-shop .sa-hsearch button span { display: none; }
	.sa-shop .sa-shop-banner .sa-hsearch button { height: 46px; padding: 0 6px 0 12px; gap: 6px; font-size: .82rem; }
	.sa-shop .sa-shop-banner .sa-hsearch button span { display: inline; }
	.sa-shop-banner .sa-hsearch button svg { width: 27px; height: 27px; padding: 7px; }
	.sa-shop .sa-shop-banner .sa-hsearch input[type="search"] { height: 46px; font-size: 1rem; }
	.sa-hchips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; }
	.sa-hchips::-webkit-scrollbar { display: none; }
	.sa-hchips a { flex: none; }
}
.tflow-script-bengali .sa-x-shophl .elementor-heading-title { letter-spacing: 0 !important; }
