/*!
 * Cobalt Blue – icon category strip (Golden Goose–style model bar).
 * Used by the Elementor widget «نوار دسته‌بندی آیکونی», [cobalt_shoestrip] and the mobile «دسته‌ها» sheet.
 */
.cbx-strip {
	--cbxs-icon-w: 92px;
	--cbxs-gap: 30px;
	--cbxs-label: var(--cbx-ink, #0C1018);
	--cbxs-hover: var(--cbx-cobalt, #0047AB);
	--cbxs-rule: rgba(12, 16, 24, .42);
	position: relative;
	margin: 0;
	padding-block: 16px 12px;
	border-block: 1px dashed var(--cbxs-rule);
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.cbx-strip::-webkit-scrollbar { display: none; }

.cbx-strip__list {
	display: flex;
	align-items: flex-end;
	gap: var(--cbxs-gap);
	width: max-content;
	margin: 0 auto;
	padding: 0 16px;
	list-style: none;
}
.cbx-strip__cell { flex: none; margin: 0; padding: 0; scroll-snap-align: center; }
.cbx-strip__cell::before { content: none; }

.cbx-strip__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-width: calc(var(--cbxs-icon-w) + 6px);
	color: var(--cbxs-label);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.cbx-strip a.cbx-strip__item,
.cbx-strip a.cbx-strip__item:hover { color: var(--cbxs-label); text-decoration: none; }

.cbx-strip__icon {
	display: grid;
	place-items: end center;
	width: var(--cbxs-icon-w);
	aspect-ratio: 2 / 1;
}
.cbx-strip__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
	transition: transform .35s var(--cbx-ease, cubic-bezier(.2, .7, .1, 1));
}

.cbx-strip__label {
	padding-bottom: 3px;
	border-bottom: 1.5px solid transparent;
	font: 600 12.5px/1.25 var(--cbx-font, "Peyda Cobalt", Tahoma, sans-serif);
	letter-spacing: .02em;
	white-space: nowrap;
	transition: color .2s, border-color .2s;
}

.cbx-strip a.cbx-strip__item:hover .cbx-strip__label,
.cbx-strip a.cbx-strip__item:focus-visible .cbx-strip__label { color: var(--cbxs-hover); }
.cbx-strip a.cbx-strip__item:hover .cbx-strip__img { transform: translateY(-3px); }
.cbx-strip a.cbx-strip__item.is-current .cbx-strip__label { color: var(--cbxs-hover); border-bottom-color: currentColor; }
.cbx-strip a.cbx-strip__item:focus-visible { outline: 2px solid var(--cbx-turq, #1FB5B0); outline-offset: 4px; }

@media (max-width: 767px) {
	.cbx-strip { --cbxs-icon-w: 66px; --cbxs-gap: 16px; padding-block: 12px 10px; }
	.cbx-strip__label { font-size: 11.5px; }
}

/* Minimal variant inside the mobile «دسته‌ها» sheet */
.cbx-strip--sheet {
	--cbxs-icon-w: 58px;
	--cbxs-gap: 12px;
	margin: 0 -20px 18px;
	padding-block: 10px 8px;
}
.cbx-strip--sheet .cbx-strip__list { margin: 0; padding-inline: 20px; }
.cbx-strip--sheet .cbx-strip__label { font-size: 11px; }

/* Elementor widget switches */
.elementor-widget.cbxs-lines- .cbx-strip { border-block: 0; }
.elementor-widget.cbxs-align-start .cbx-strip__list { margin-inline-start: 0; }

@media (prefers-reduced-motion: reduce) {
	.cbx-strip__img, .cbx-strip__label { transition: none; }
	.cbx-strip a.cbx-strip__item:hover .cbx-strip__img { transform: none; }
}

/* Home: mobile strip sits right under the header (header already has its own rule) */
.cbx-strip-top .cbx-strip { border-top: 0; }
.cbx-strip-band .cbx-strip { margin-top: 0; }

/* Mobile: strip sits between hero and the next section, with small breathing room (Golden Goose style) */
@media (max-width:767px){.cbx-strip-band{margin-block:0}.cbx-strip-band .cbx-strip{margin-block:20px 0;padding-block:12px 10px}}

/* Arrows ‹ › under the band strip (tablet + desktop); phones swipe with a finger.
   Specificity + !important on purpose: Elementor kit / Woodmart style every <button> (cobalt fill, 52px, padding). */
.cbx-strip-wrap { position: relative; }
.cbx-strip-wrap button.cbx-strip-nav {
	display: none !important;
	position: absolute !important;
	top: auto !important;
	bottom: 0 !important;
	right: auto !important;
	transform: none !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 44px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: var(--cbx-milk, #F6F3EC) !important;
	color: var(--cbx-ink, #0C1018) !important;
	border: 1px solid var(--cbx-line, #DAD8D3) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: background-color .25s, color .25s;
}
.cbx-strip-wrap button.cbx-strip-nav--prev { left: 0 !important; }
.cbx-strip-wrap button.cbx-strip-nav--next { left: 52px !important; }
.cbx-strip-wrap button.cbx-strip-nav:hover,
.cbx-strip-wrap button.cbx-strip-nav:focus-visible {
	background: var(--cbx-ink, #0C1018) !important;
	color: var(--cbx-milk, #F6F3EC) !important;
	outline: none;
}
.cbx-strip-wrap button.cbx-strip-nav svg { display: block; width: 18px; height: 18px; }

@media (min-width: 768px) {
	.cbx-strip-wrap { padding-bottom: 60px; }
	.cbx-strip-wrap button.cbx-strip-nav { display: flex !important; }

	/* Whole shoes only: the strip shows exactly 4 (tablet) / 5 (desktop) items, so nothing is cut at the edges */
	.cbx-strip--band {
		container-type: inline-size;
		--cbxs-per: 4;
		--cbxs-icon-w: calc(100cqw / var(--cbxs-per) - 28px);
	}
	.cbx-strip--band .cbx-strip__list { gap: 0; padding: 0; margin: 0; }
	.cbx-strip--band .cbx-strip__cell { display: flex; justify-content: center; width: calc(100cqw / var(--cbxs-per)); }
	.cbx-strip--band .cbx-strip__item { min-width: 0; }
}
@media (min-width: 1025px) {
	.cbx-strip--band { --cbxs-per: 5; }
}
@media (prefers-reduced-motion: reduce) {
	.cbx-strip-wrap button.cbx-strip-nav { transition: none; }
}