/* ==========================================================================
   Vyapar Business v2.172 - home page sections (inc/home-sections.php)
   Top Sites row that scrolls, Travel bookings, Regions, Featured slider, region pages.
   ========================================================================== */

/* ---------- Top Sites: one row that moves by itself ---------- */
.vb-ts-wrap { position: relative; }
.vb-ts-wrap.is-scroll { --ts-w: 72px; --ts-g: 10px; --ts-n: 4; }
.vb-topsites .vb-shortcuts.is-scroll {
	display: flex !important; flex-wrap: nowrap; justify-content: flex-start !important; gap: var(--ts-g);
	width: max-content; max-width: min(calc(var(--ts-n) * var(--ts-w) + (var(--ts-n) - 1) * var(--ts-g) + 8px), calc(100vw - 32px));
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 4px;
	padding: 6px 4px 12px; margin: -6px auto -12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.vb-topsites .vb-shortcuts.is-scroll::-webkit-scrollbar { display: none; }
.vb-topsites .vb-shortcuts.is-scroll > .vb-shortcut { flex: 0 0 auto; scroll-snap-align: start; }
.vb-topsites .vb-shortcuts.is-scroll > .vb-shortcut:not(.is-logo-only) { width: var(--ts-w); height: var(--ts-w); padding: 6px 4px; gap: 4px; border-radius: 20px; }
.vb-topsites .vb-shortcuts.is-scroll > .vb-shortcut:not(.is-logo-only) .vb-shortcut-name { font-size: 10px; }
/* v2.172.1: moving by itself (assets/js/home-sections.js) - no snapping, soft edges */
.vb-topsites .vb-shortcuts.is-scroll.is-auto {
	scroll-snap-type: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.vb-topsites .vb-shortcuts.is-scroll.is-auto > .vb-shortcut { scroll-snap-align: none; }
@media (max-width: 359px) {
	.vb-ts-wrap.is-scroll { --ts-w: 62px; --ts-g: 8px; }
}
@media (min-width: 640px) {
	.vb-ts-wrap.is-scroll { --ts-n: 7; }
}
/* v2.172.2: a longer row on computers (Customize > Top Sites: length of the row) */
.vb-topsites:has(.vb-ts-wrap.is-scroll) { max-width: 100%; }
.vb-topsites:has(.vb-ts-wrap.is-scroll) .vb-topsites-in { max-width: 100%; }
@media (min-width: 1024px) {
	.vb-ts-wrap.is-scroll { --ts-n: var(--ts-nd, 10); }
}
@media (min-width: 820px) {
	.vb-ts-wrap.is-scroll { --ts-w: 78px; --ts-g: 12px; }
}

/* ---------- shared ---------- */
.vbh { margin: 0 0 14px; color: var(--vb-txt); }
.vbh-holder:empty { display: none; }
.vbh-holder { margin-top: 12px; }
.vbh-h { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--vb-txt); }
.vbh-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.vbh-head > i { color: var(--vb-blue); font-size: 18px; }

/* ---------- Travel bookings ---------- */
.vbh-travel {
	display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px 18px;
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}
.vbh-travel .vbh-h { font-size: 22px; }
.vbh-travel-text { margin: 8px 0 10px; font-size: 14px; line-height: 1.6; color: var(--vb-txt); opacity: .85; max-width: 22rem; }
.vbh-more { font-size: 15px; font-weight: 600; color: #0b74d1; text-decoration: none; }
.vbh-more:hover { text-decoration: underline; }
html.dark .vbh-more { color: #6cb6ff; }
.vbh-travel-tiles {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 6px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vbh-travel-tiles::-webkit-scrollbar { display: none; }
/* v2.172.1: every tile the same width, name and small line on ONE line each - all tiles line up */
.vbh-tr {
	flex: 0 0 112px; width: 112px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 0; color: var(--vb-txt); text-decoration: none;
}
.vbh-tr:hover, .vbh-tr:focus-visible { text-decoration: none; color: var(--vb-txt); }
.vbh-tr-ico {
	width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	border: 1px solid var(--vb-line); border-radius: 18px; background: #fff;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
html.dark .vbh-tr-ico { background: #f7f9fb; }
.vbh-tr-ico img { width: 64px; height: 64px; object-fit: contain; }
.vbh-tr-ico i { font-size: 34px; color: var(--vb-blue); }
.vbh-tr:hover .vbh-tr-ico, .vbh-tr:focus-visible .vbh-tr-ico { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .16); border-color: var(--vb-blue); }
.vbh-tr-name, .vbh-tr-sub { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbh-tr-name { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.vbh-tr-sub { margin-top: 3px; font-size: 13px; line-height: 1.35; color: #11883a; }
html.dark .vbh-tr-sub { color: #5bd68a; }
@media (min-width: 900px) {
	.vbh-travel { padding: 28px 32px; gap: 22px; }
	.vbh-travel .vbh-h { font-size: 28px; }
	.vbh-travel-text { font-size: 15px; }
	.vbh-travel-tiles { gap: 24px; overflow: visible; flex-wrap: wrap; }
	.vbh-tr { flex-basis: 150px; width: 150px; }
	.vbh-tr-ico { width: 116px; height: 116px; border-radius: 20px; }
	.vbh-tr-ico img { width: 76px; height: 76px; }
	.vbh-tr-name { font-size: 18px; margin-top: 12px; }
	.vbh-tr-sub { font-size: 14px; }
}
@media (min-width: 1240px) {
	.vbh-travel { grid-template-columns: minmax(240px, 1fr) auto; align-items: center; }
	.vbh-travel-tiles { flex-wrap: nowrap; justify-content: flex-end; }
}

/* ---------- Regions ---------- */
.vbh-regions {
	position: relative; padding: 12px 14px 14px; border-radius: 14px;
	background: var(--vb-card); border: 1px solid var(--vb-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}
.vbh-scroll { position: relative; }
.vbh-rg-row {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 0 4px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.vbh-rg-row::-webkit-scrollbar { display: none; }
.vbh-rg-row:focus-visible { outline: 2px solid var(--vb-blue); outline-offset: 3px; border-radius: 16px; }
.vbh-rg {
	position: relative; flex: 0 0 128px; aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden;
	border-radius: 14px; background: #1e2a3a; color: #fff; text-decoration: none; isolation: isolate;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.vbh-rg:hover, .vbh-rg:focus-visible { color: #fff; text-decoration: none; }
.vbh-rg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; z-index: -2; }
.vbh-rg::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .18) 32%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28) 100%);
}
.vbh-rg:hover .vbh-rg-img, .vbh-rg:focus-visible .vbh-rg-img { transform: scale(1.06); }
.vbh-rg-name {
	position: absolute; left: 11px; right: 10px; top: 10px; font-size: 15px; font-weight: 700; line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vbh-arrow {
	position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); width: 30px; height: 48px; padding: 0; border: 0;
	background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; cursor: pointer;
}
.vbh-arrow[hidden] { display: none; }
.vbh-arrow:hover, .vbh-arrow:focus-visible { background: rgba(0, 0, 0, .8); }
.vbh-prev { left: -14px; border-radius: 0 6px 6px 0; }
.vbh-next { right: -14px; border-radius: 6px 0 0 6px; }
@media (min-width: 640px) {
	.vbh-rg { flex-basis: 150px; }
	.vbh-rg-name { font-size: 16px; left: 13px; top: 12px; }
}
@media (min-width: 1100px) {
	/* v2.172.3: slimmer cards - about 8 in a row on a computer */
	.vbh-rg-row { gap: 14px; }
	.vbh-rg { flex-basis: 172px; border-radius: 16px; }
	.vbh-rg-name { font-size: 18px; }
}
@media (hover: none) {
	.vbh-rg:hover .vbh-rg-img, .vbh-tr:hover .vbh-tr-ico { transform: none; }
	.vbh-arrow { display: none; }
}

/* ---------- Featured slider ---------- */
.vf-card.vbh-fs { position: relative; display: block; padding: 0; overflow: hidden; background: #0f2b46; aspect-ratio: 1 / 1; }
.vbh-fs-track { position: absolute; inset: 0; display: flex; transition: transform .6s cubic-bezier(.3, .8, .3, 1); will-change: transform; }
.vbh-fs-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; display: block; text-decoration: none; }
.vbh-fs-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(20px) saturate(1.15); transform: scale(1.08); opacity: .85; }
.vbh-fs-slide img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.vbh-fs.is-cover .vbh-fs-slide img { object-fit: cover; }
.vbh-fs.is-cover .vbh-fs-bg { display: none; }
.vbh-fs-arrow {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 30px; height: 48px; padding: 0; border: 0;
	background: rgba(0, 0, 0, .5); color: #fff; font-size: 13px; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.vbh-fs:hover .vbh-fs-arrow, .vbh-fs-arrow:focus-visible { opacity: 1; }
.vbh-fs-prev { left: 0; border-radius: 0 6px 6px 0; }
.vbh-fs-next { right: 0; border-radius: 6px 0 0 6px; }
.vbh-fs-dots { position: absolute; left: 50%; bottom: 10px; z-index: 3; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px 9px; background: rgba(0, 0, 0, .5); border-radius: 999px; }
.vbh-fs-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s; }
.vbh-fs-dot.is-on { width: 20px; border-radius: 4px; background: #fff; }
@media (hover: none) {
	.vbh-fs-arrow { opacity: 1; background: rgba(0, 0, 0, .35); }
}
@media (min-width: 900px) {
	.vf-row .vf-card.vbh-fs { aspect-ratio: auto; height: 100%; min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
	.vbh-fs-track, .vbh-rg-img, .vbh-tr-ico { transition: none; }
}

/* ---------- Region page /region/<name>/ ---------- */
.vbrg-head {
	display: flex; align-items: center; gap: 18px; margin: 10px 0 16px; padding: 18px; border-radius: 18px; color: #fff;
	background: linear-gradient(120deg, #0d2b45, #14587d 60%, #1f7bb0);
}
.vbrg-thumb { flex: 0 0 auto; width: 84px; height: 108px; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
@media (min-width: 640px) {
	.vbrg-head { padding: 22px 26px; }
	.vbrg-thumb { width: 104px; height: 134px; }
}
.vbrg-h1 { margin: 0; font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: 1.2; color: #fff; }
.vbrg-sub { margin: 8px 0 0; font-size: 15px; opacity: .9; }
.vbrg-regions, .vbrg-countries { display: flex; flex-wrap: nowrap; gap: 8px; padding: 2px 0 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vbrg-regions::-webkit-scrollbar, .vbrg-countries::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
	.vbrg-regions, .vbrg-countries { flex-wrap: wrap; overflow: visible; }
}
.vbrg-regions a, .vbrg-countries a {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
	border: 1px solid var(--vb-line); background: var(--vb-card); color: var(--vb-txt); font-size: 14px; font-weight: 600; text-decoration: none;
}
.vbrg-regions a:hover, .vbrg-countries a:hover { border-color: var(--vb-blue); text-decoration: none; }
.vbrg-regions a.is-on, .vbrg-countries a.is-on { background: var(--vb-blue); border-color: var(--vb-blue); color: #fff; }
.vbrg-countries a { font-weight: 500; font-size: 13px; padding: 6px 12px; }
.vbrg-n { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(20, 88, 125, .12); }
.vbrg-countries a.is-on .vbrg-n { background: rgba(255, 255, 255, .25); }
.vbrg-countries { margin-bottom: 8px; }
.vbrg-empty { margin: 24px 0; padding: 28px 20px; text-align: center; border: 1px dashed var(--vb-line); border-radius: 14px; background: var(--vb-card); }
.vbrg-empty p { margin: 0 0 14px; }

/* ---------- v2.172.1: your pictures in the big news box (before the news) ---------- */
.vbh-hp .vf-slide-img { overflow: hidden; background: #0f2b46; }
.vbh-hp .vbh-hp-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(24px) saturate(1.15); transform: scale(1.08); opacity: .9; }
.vbh-hp .vf-slide-img img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.vbh-hp.is-contain .vf-slide-img img { object-fit: contain; }
.vbh-hp.is-cover .vf-slide-img img { object-fit: cover; }
.vbh-hp.is-cover .vbh-hp-bg { display: none; }
.vbh-hp.no-cap::after { display: none; }
.vbh-hp::after { z-index: 1; }
.vbh-hp .vf-slide-cap { z-index: 2; }
.vbh-hp-label { font-size: 13px; font-weight: 600; color: #fff; opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ---------- v2.172.2: a section inside the news cards (under their first row) ---------- */
.vf-grid.has-vbh { grid-auto-flow: row dense; }
.vf-grid > .vbh { grid-column: 1 / -1; margin: 0; min-width: 0; }

/* ---------- v2.172.2: the Featured card as the first slide of the Featured box ---------- */
.vbh-fs-slide.vbh-fs-card { display: flex; flex-direction: column; background: #fff; color: var(--vb-txt); overflow: hidden; }
html.dark .vbh-fs-slide.vbh-fs-card { background: #2a2a2a; }
.vbh-fs-card .vf-promo-img { flex: 0 0 auto; }
.vbh-fs-card .vf-promo-body { flex: 1 1 auto; min-height: 0; padding-bottom: 40px; }

/* ---------- v2.172.3: Top Manufacturing Suppliers ---------- */
.vbh-ms {
	display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px 16px 18px; border-radius: 14px;
	background: linear-gradient(100deg, #e7f1ff 0%, #f5f9ff 45%, #ffffff 100%); border: 1px solid var(--vb-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); color: #0f1b2a;
}
html.dark .vbh-ms { background: linear-gradient(100deg, #17293f 0%, #1f2a36 55%, #262626 100%); color: #f1f5f9; }
.vbh-ms-h { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: inherit; }
.vbh-ms-h span { color: #14587d; }
html.dark .vbh-ms-h span { color: #6cb6ff; }
.vbh-ms-h::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, #14587d, #2d8bc0); }
.vbh-ms-text { margin: 12px 0 14px; font-size: 15px; line-height: 1.6; color: #475569; max-width: 22rem; }
html.dark .vbh-ms-text { color: #cbd5e1; }
.vbh-ms .vbh-more {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
	background: #14587d; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s;
}
.vbh-ms .vbh-more:hover, .vbh-ms .vbh-more:focus-visible { background: #0f4462; color: #fff; text-decoration: none; transform: translateX(2px); }
.vbh-ms .vbh-more i { font-size: 11px; }
.vbh-ms .vbh-scroll { min-width: 0; }
.vbh-ms-row {
	display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 0 4px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.vbh-ms-row::-webkit-scrollbar { display: none; }
.vbh-ms-row:focus-visible { outline: 2px solid var(--vb-blue); outline-offset: 3px; border-radius: 16px; }
.vbh-ms-card {
	position: relative; flex: 0 0 210px; aspect-ratio: 3 / 2; scroll-snap-align: start; overflow: hidden; isolation: isolate;
	border-radius: 16px; background: #1e2a3a; color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.vbh-ms-card:hover, .vbh-ms-card:focus-visible { color: #fff; text-decoration: none; }
.vbh-ms-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vbh-ms-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 38%, rgba(0, 0, 0, 0) 62%);
}
.vbh-ms-card:hover .vbh-ms-img, .vbh-ms-card:focus-visible .vbh-ms-img { transform: scale(1.06); }
.vbh-ms-logo {
	position: absolute; left: 12px; top: 12px; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
	background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.vbh-ms-logo img { width: 84%; height: 84%; object-fit: contain; }
.vbh-ms-name {
	position: absolute; left: 14px; right: 12px; bottom: 12px; font-size: 16px; font-weight: 700; line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 900px) {
	.vbh-ms { grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px 28px; }
	.vbh-ms-h { font-size: 34px; }
	.vbh-ms-card { flex-basis: 244px; }
	.vbh-ms-name { font-size: 18px; }
}
@media (hover: none) {
	.vbh-ms-card:hover .vbh-ms-img { transform: none; }
}

/* v2.172.4: a product picture (often a white square) is shown whole on a light card - no white bands */
.vbh-ms-card.is-product { background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%); }
.vbh-ms-card.is-product .vbh-ms-img {
	top: 10px; left: 62px; right: auto; bottom: auto; width: calc(100% - 74px); height: calc(70% - 12px); max-width: none; object-fit: contain; mix-blend-mode: multiply;
}
.vbh-ms-card.is-product::before {
	background: linear-gradient(to top, rgba(15, 27, 42, .94) 0%, rgba(15, 27, 42, .82) 24%, rgba(15, 27, 42, 0) 40%);
}
.vbh-ms-card.is-product:hover .vbh-ms-img, .vbh-ms-card.is-product:focus-visible .vbh-ms-img { transform: scale(1.04); }
html.dark .vbh-ms .vbh-more { color: #fff; background: #1f6fa0; }
html.dark .vbh-ms .vbh-more:hover, html.dark .vbh-ms .vbh-more:focus-visible { background: #2a85bd; color: #fff; }
