/* ——— آرشیو فروشگاه و صفحه حراج میم‌چه ——— */

body.yadak14-shop-archive .page-title,
body.yadak14-shop-archive .wd-page-title,
body.yadak14-shop-archive .wd-page-title-wrap,
body.yadak14-shop-archive .single-breadcrumbs-wrapper,
body.yadak14-on-sale-page .page-title,
body.yadak14-on-sale-page .wd-page-title,
body.yadak14-on-sale-page .wd-page-title-wrap,
body.yadak14-on-sale-page .single-breadcrumbs-wrapper,
body.yadak14-shop-page .woocommerce-products-header,
body.yadak14-shop-page .wd-shop-tools,
body.yadak14-shop-page .products.wd-products,
body.yadak14-shop-page .wd-pagination,
body.yadak14-shop-page .shop-loop-head {
	display: none !important;
}

body.yadak14-shop-archive .whb-header,
body.yadak14-on-sale-page .whb-header {
	margin-bottom: unset !important;
}

body.yadak14-shop-archive .website-wrapper,
body.yadak14-shop-archive .main-page-wrapper,
body.yadak14-shop-archive .site-content,
body.yadak14-on-sale-page .website-wrapper,
body.yadak14-on-sale-page .main-page-wrapper,
body.yadak14-on-sale-page .site-content {
	background: #fff !important;
}

body.yadak14-shop-archive .main-page-wrapper,
body.yadak14-shop-archive .site-content,
body.yadak14-on-sale-page .main-page-wrapper,
body.yadak14-on-sale-page .site-content,
body.yadak14-shop-page .ysh-content-area {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.yadak14-shop-archive .content-layout-wrapper > .site-content,
body.yadak14-shop-archive--no-sidebar .site-content,
body.yadak14-on-sale-page .content-layout-wrapper > .site-content,
body.yadak14-shop-page .ysh-content-area {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.yadak14-shop-archive .sidebar-container,
body.yadak14-shop-archive aside.sidebar:not(.ysh-sidebar),
body.yadak14-on-sale-page .sidebar-container,
body.yadak14-on-sale-page aside.sidebar:not(.ysh-sidebar) {
	display: none !important;
}

body.yadak14-on-sale-page article.page > .entry-content {
	display: none !important;
}

.ysh-content-area {
	padding: 0 !important;
}

.yadak14-shop-app.ysh {
	--ysh-red: var(--y14-brand-primary, #001687);
	--ysh-ink: #0f172a;
	--ysh-muted: #64748b;
	--ysh-border: rgba(226, 232, 240, 0.95);
	--ysh-radius: 20px;
	--ysh-radius-lg: 22px;
	--ysh-pad-x: clamp(12px, 3vw, 18px);
	--ysh-max: 1240px;
	--ysh-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ysh-drawer-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--ysh-drawer-duration: 0.38s;
	--ysh-shadow: 0 6px 18px rgba(15, 17, 22, 0.04);
	--ysh-shadow-hover: 0 12px 28px rgba(0, 22, 135, 0.08);
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ysh-max);
	min-width: 0;
	margin: 0 auto;
	padding: 0.75rem var(--ysh-pad-x) 2.75rem;
	color: var(--ysh-ink);
	line-height: 1.7;
}

.yadak14-shop-app.ysh *,
.yadak14-shop-app.ysh *::before,
.yadak14-shop-app.ysh *::after {
	box-sizing: border-box;
}

/* بردکرامب */
.ysh-breadcrumb {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	max-height: 18px;
	overflow: hidden;
}

.ysh-breadcrumb__scroll {
	display: block;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ysh-breadcrumb__scroll::-webkit-scrollbar {
	display: none;
}

.ysh-breadcrumb__trail {
	display: inline-flex;
	flex-flow: row nowrap;
	align-items: center;
	width: max-content;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	color: var(--ysh-muted);
}

.ysh-breadcrumb__item a {
	color: inherit;
	text-decoration: none;
	opacity: 0.88;
}

.ysh-breadcrumb__item a:hover {
	opacity: 1;
	text-decoration: underline;
}

.ysh-breadcrumb__sep {
	margin: 0 4px;
	opacity: 0.4;
}

/* هیرو */
.ysh-hero {
	position: relative;
	margin: 0 0 1.35rem;
	padding: clamp(1.35rem, 3.5vw, 2rem);
	border: 1px solid var(--ysh-border);
	border-radius: var(--ysh-radius);
	overflow: hidden;
	background:
		radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0, 22, 135, 0.07), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.ysh-hero__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 220px at 0% 100%, rgba(0, 82, 206, 0.06), transparent 60%);
	pointer-events: none;
}

.ysh-hero__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.ysh-hero__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ysh-red);
}

.ysh-hero__title {
	margin: 0;
	color: var(--ysh-ink);
	font-size: clamp(1.55rem, 4vw, 2.25rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.ysh-hero__subtitle {
	margin: 0.65rem 0 0;
	max-width: 42rem;
	color: var(--ysh-muted);
	font-size: 0.95rem;
	line-height: 1.75;
}

.ysh-hero__stat {
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 22, 135, 0.12);
	background: rgba(255, 255, 255, 0.85);
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--ysh-red);
	white-space: nowrap;
}

/* هیرو حراج */
.ysh-hero--flash {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(900px 360px at 8% -10%, rgba(0, 22, 135, 0.5), transparent 58%),
		radial-gradient(700px 280px at 92% 0%, rgba(255, 80, 84, 0.24), transparent 55%),
		linear-gradient(165deg, #070708 0%, #12141b 48%, #181b24 100%);
}

.ysh-hero--flash .ysh-hero__subtitle {
	color: rgba(255, 255, 255, 0.72);
}

.ysh-hero--flash .ysh-hero__eyebrow {
	color: #fff;
	padding: 0.38rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.ysh-hero--flash .ysh-hero__stat {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ysh-hero__fx {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.ysh-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
}

.ysh-hero__orb--1 {
	width: 220px;
	height: 220px;
	top: -60px;
	inset-inline-start: -40px;
	background: rgba(255, 80, 84, 0.32);
	animation: ysh-orb-drift-1 9s ease-in-out infinite;
}

.ysh-hero__orb--2 {
	width: 160px;
	height: 160px;
	top: 20px;
	inset-inline-end: 8%;
	background: rgba(0, 22, 135, 0.55);
	animation: ysh-orb-drift-2 11s ease-in-out infinite;
}

@keyframes ysh-orb-drift-1 {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
	33% { transform: translate(28px, 18px) scale(1.08); opacity: 1; }
	66% { transform: translate(12px, -14px) scale(0.95); opacity: 0.75; }
}

@keyframes ysh-orb-drift-2 {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
	40% { transform: translate(-22px, 16px) scale(1.12); opacity: 0.95; }
	70% { transform: translate(-8px, -20px) scale(0.92); opacity: 0.6; }
}

.ysh-hero__spark {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #cce5ff;
	opacity: 0.75;
}

.ysh-hero__spark--1 {
	top: 18%;
	inset-inline-start: 12%;
}

.ysh-hero__spark--2 {
	top: 28%;
	inset-inline-end: 18%;
}

.ysh-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.ysh-hero__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffb347;
	box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.55);
	animation: ysh-pulse 2s ease infinite;
}

@keyframes ysh-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(255, 179, 71, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0); }
}

.ysh-hero__title-burst {
	background: linear-gradient(92deg, #cce5ff, #4d94ff, #001687, #0052ce);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* چیپ دسته‌ها */
.ysh-chips-wrap {
	margin: 0 0 1.25rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.ysh-chips {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.35rem 0.15rem;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 22, 135, 0.35) transparent;
	touch-action: pan-x;
}

.ysh-chips::-webkit-scrollbar {
	height: 6px;
}

.ysh-chips::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(0, 22, 135, 0.35);
}

.ysh-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: 0 0 auto;
	padding: 0.45rem 0.85rem 0.45rem 0.55rem;
	border: 1px solid var(--ysh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--ysh-ink);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ysh-chip:hover {
	border-color: rgba(0, 22, 135, 0.4);
	box-shadow: 0 10px 28px rgba(0, 22, 135, 0.12);
	background: #fff;
	color: var(--ysh-red);
}

.ysh-chip__thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	background: #f1f5f9;
}

.ysh-chip__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* لایه‌بندی */
.ysh-layout {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

body.yadak14-shop-archive--no-sidebar .ysh-layout {
	grid-template-columns: minmax(0, 1fr);
}

.ysh-main {
	min-width: 0;
}

.ysh-main--full {
	margin-top: 0.25rem;
}

/* سایدبار */
.ysh-sidebar {
	position: sticky;
	top: 1rem;
	padding: 1rem;
	border: 1px solid var(--ysh-border);
	border-radius: var(--ysh-radius);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--ysh-shadow);
}

.ysh-sidebar__head {
	display: none;
}

.ysh-sidebar__widgets > .widget:last-child {
	margin-bottom: 0 !important;
}

.ysh-sidebar-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10110;
	background: rgba(15, 23, 42, 0.42);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--ysh-drawer-duration, 0.38s) ease,
		visibility 0s linear var(--ysh-drawer-duration, 0.38s);
}

.ysh-sidebar-backdrop[hidden] {
	display: block !important;
}

/* نوار ابزار */
.ysh-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--ysh-border);
	border-radius: 16px;
	background: #fff;
}

.ysh-toolbar__count,
.ysh-toolbar__count .woocommerce-result-count {
	margin: 0 !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: var(--ysh-muted) !important;
}

.ysh-toolbar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-inline-start: auto;
}

.ysh-filter-toggle {
	display: none;
	padding: 0.55rem 0.95rem;
	border: 1px solid rgba(0, 22, 135, 0.2);
	border-radius: 999px;
	background: rgba(0, 22, 135, 0.06);
	color: var(--ysh-red);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
}

.ysh-toolbar__order .woocommerce-ordering {
	margin: 0 !important;
}

.ysh-toolbar__order select.orderby {
	min-height: 2.5rem;
	padding: 0.45rem 2rem 0.45rem 0.85rem;
	border: 1px solid var(--ysh-border);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ysh-ink);
}

.ysh-notices {
	margin-bottom: 0.75rem;
}

/* گرید محصولات */
.ysh-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

/* کارت محصول */
.yadak14-shop-app .ydh-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid rgba(226, 229, 235, 0.95);
	border-radius: var(--ysh-radius-lg);
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(15, 17, 22, 0.035);
	transition: transform 0.28s var(--ysh-ease), box-shadow 0.28s ease, border-color 0.28s ease;
	direction: rtl;
}

.yadak14-shop-app .ydh-pcard:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 22, 135, 0.22);
	box-shadow: var(--ysh-shadow-hover);
}

.yadak14-shop-app .ydh-pcard--flash {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: 0 6px 18px rgba(15, 17, 22, 0.05);
}

.ysh--on-sale .ydh-pcard--flash {
	background: #fff;
	border-color: rgba(226, 229, 235, 0.95);
	box-shadow: none;
}

.ysh--on-sale .ydh-pcard--flash::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ysh-red), #4d94ff);
	z-index: 1;
}

.yadak14-shop-app .ydh-pcard--flash .ydh-pcard__title a,
.yadak14-shop-app .ydh-pcard--flash .ydh-pcard__price {
	color: #1f232b;
}

.ysh--on-sale .ydh-pcard--flash .ydh-pcard__price {
	color: var(--ysh-red);
}

.yadak14-shop-app .ydh-pcard--flash .ydh-pcard__old {
	color: rgba(92, 97, 107, 0.85);
}

.yadak14-shop-app .ydh-pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f8fafc;
}

.yadak14-shop-app .ydh-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.35s var(--ysh-ease);
}

.yadak14-shop-app .ydh-pcard:hover .ydh-pcard__media img {
	transform: scale(1.05);
}

.yadak14-shop-app .ydh-pcard__view {
	position: absolute;
	inset-inline: 0.75rem;
	bottom: 0.75rem;
	padding: 0.4rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	text-align: center;
	color: #fff;
	background: rgba(11, 11, 12, 0.75);
	backdrop-filter: blur(6px);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.yadak14-shop-app .ydh-pcard:hover .ydh-pcard__view {
	opacity: 1;
	transform: translateY(0);
}

.yadak14-shop-app .ydh-pcard__badge {
	position: absolute;
	top: 0.7rem;
	inset-inline-start: 0.7rem;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 52px;
	padding: 0.35rem 0.5rem;
	border-radius: 12px;
	background: linear-gradient(145deg, #0052ce, var(--ysh-red));
	color: #fff;
	line-height: 1.1;
	box-shadow: 0 4px 12px rgba(0, 22, 135, 0.18);
}

.yadak14-shop-app .ydh-pcard__badge-val {
	font-size: 0.82rem;
	font-weight: 900;
}

.yadak14-shop-app .ydh-pcard__badge-lbl {
	font-size: 0.62rem;
	font-weight: 700;
}

.yadak14-shop-app .ydh-pcard__stock {
	position: absolute;
	top: 0.7rem;
	inset-inline-end: 0.7rem;
	z-index: 2;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
}

.yadak14-shop-app .ydh-pcard__stock--out {
	background: rgba(11, 11, 12, 0.82);
	color: #fff;
}

.yadak14-shop-app .ydh-pcard__stock--low {
	background: rgba(255, 152, 0, 0.92);
	color: #fff;
}

.yadak14-shop-app .ydh-pcard--out-of-stock .ydh-pcard__media img {
	opacity: 0.55;
	filter: grayscale(0.35);
}

.yadak14-shop-app .ydh-pcard--out-of-stock .ydh-pcard__price,
.yadak14-shop-app .ydh-pcard--out-of-stock .ydh-pcard__old {
	opacity: 0.65;
}

.yadak14-shop-app .ydh-pcard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0.85rem 0.95rem 1rem;
}

.yadak14-shop-app .ydh-pcard__title {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.55;
	min-height: 2.75em;
}

.yadak14-shop-app .ydh-pcard__title a {
	color: #1f232b;
	text-decoration: none;
}

.yadak14-shop-app .ydh-pcard__footer {
	margin-top: auto;
}

.yadak14-shop-app .ydh-pcard__prices {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}

.yadak14-shop-app .ydh-pcard__old {
	font-size: 0.76rem;
	color: #5c616b;
	text-decoration: line-through;
}

.yadak14-shop-app .ydh-pcard__price {
	font-size: 1rem;
	font-weight: 900;
	color: var(--ysh-red);
	text-decoration: none;
}

/* خالی */
.ysh-empty {
	padding: 2.5rem 1.25rem;
	border: 1px dashed var(--ysh-border);
	border-radius: var(--ysh-radius);
	text-align: center;
	background: #f8fafc;
}

.ysh-empty__title {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	font-weight: 900;
}

.ysh-empty__text {
	margin: 0 0 1rem;
	color: var(--ysh-muted);
}

.ysh-empty__link {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: var(--ysh-red);
	color: #fff !important;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 800;
}

/* صفحه‌بندی */
.ysh-pagination {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ysh-border);
}

.ysh-pagination ul,
.ysh-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	justify-content: center;
	align-items: center;
	border: none !important;
	background: none !important;
	box-shadow: none !important;
}

.ysh-pagination ul li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	list-style: none !important;
	box-shadow: none !important;
}

.ysh-pagination ul li::before,
.ysh-pagination ul li::after {
	content: none !important;
	display: none !important;
}

.ysh-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	margin: 0 !important;
	padding: 0 0.65rem !important;
	border: 1px solid var(--ysh-border) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: var(--ysh-ink) !important;
	text-decoration: none !important;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
	box-shadow: none !important;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ysh-pagination a.page-numbers:hover {
	border-color: rgba(0, 22, 135, 0.4) !important;
	background: rgba(0, 22, 135, 0.06) !important;
	color: var(--ysh-red) !important;
}

.ysh-pagination .page-numbers.current {
	border-color: var(--ysh-red) !important;
	background: var(--ysh-red) !important;
	color: #fff !important;
}

.ysh-pagination .page-numbers.dots {
	min-width: auto;
	padding-inline: 0.35rem !important;
	border: none !important;
	background: transparent !important;
	color: var(--ysh-muted) !important;
}

.ysh-pagination .next.page-numbers,
.ysh-pagination .prev.page-numbers {
	padding-inline: 0.85rem !important;
	min-width: auto;
}

/* FAQ دسته — تمام‌عرض زیر آرشیو */
body.yadak14-shop-page .ysh-content-area + .yadak14-cat-faq-wrap,
body.yadak14-shop-page .ysh-content-area ~ .yadak14-cat-faq-wrap {
	max-width: var(--ysh-max);
	margin-inline: auto;
	padding-inline: var(--ysh-pad-x);
}

@media (max-width: 1024px) {
	.ysh-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ysh-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.yadak14-shop-page .woodmart-close-side,
body.yadak14-shop-page .close-side-widget {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.yadak14-shop-page .sidebar-container.show-hidden-sidebar {
	display: none !important;
}

html:not(.ysh-filters-open),
body.yadak14-shop-page:not(.ysh-filters-open) {
	overflow-y: auto !important;
	touch-action: auto !important;
}

@media (max-width: 1024px) {
	.ysh-filter-toggle {
		display: none !important;
	}

	.ysh-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		inset-inline-start: 0;
		inset-inline-end: auto;
		z-index: 10120;
		width: min(320px, 88vw);
		max-width: 100%;
		margin: 0;
		border-radius: 0;
		transform: translate3d(100%, 0, 0);
		transition: transform var(--ysh-drawer-duration, 0.38s) var(--ysh-drawer-ease, cubic-bezier(0.32, 0.72, 0, 1));
		overflow-y: auto;
		pointer-events: none;
		will-change: transform;
	}

	.ysh-layout--filters-open .ysh-sidebar,
	html.ysh-filters-open .ysh-sidebar,
	body.ysh-filters-open .ysh-sidebar {
		transform: translate3d(0, 0, 0) !important;
		pointer-events: auto !important;
	}

	.ysh-layout--filters-open .ysh-sidebar-backdrop,
	html.ysh-filters-open .ysh-sidebar-backdrop,
	body.ysh-filters-open .ysh-sidebar-backdrop {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transition:
			opacity var(--ysh-drawer-duration, 0.38s) ease,
			visibility 0s linear 0s !important;
	}

	.ysh-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 0.75rem;
		padding-bottom: 0.75rem;
		border-bottom: 1px solid var(--ysh-border);
	}

	.ysh-sidebar__title {
		margin: 0;
		font-size: 1rem;
		font-weight: 900;
	}

	.ysh-sidebar__close {
		width: 2rem;
		height: 2rem;
		border: 0;
		border-radius: 50%;
		background: #f1f5f9;
		font-size: 1.25rem;
		line-height: 1;
		cursor: pointer;
	}

	html.ysh-filters-open {
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	.ysh-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.yadak14-shop-app .ydh-pcard__media:has(.ydh-pcard__stock):has(.ydh-pcard__badge) .ydh-pcard__badge {
		top: 0.5rem;
		inset-inline-start: 0.5rem;
		inset-inline-end: auto;
		min-width: 44px;
		padding: 0.28rem 0.4rem;
	}

	.yadak14-shop-app .ydh-pcard__media:has(.ydh-pcard__stock):has(.ydh-pcard__badge) .ydh-pcard__badge-val {
		font-size: 0.76rem;
	}

	.yadak14-shop-app .ydh-pcard__media:has(.ydh-pcard__stock):has(.ydh-pcard__badge) .ydh-pcard__stock {
		top: auto;
		bottom: 0.5rem;
		inset-inline-start: 0.5rem;
		inset-inline-end: auto;
		max-width: calc(100% - 1rem);
		font-size: 0.62rem;
		padding: 0.28rem 0.48rem;
	}
}

@media (max-width: 480px) {
	.ysh-grid {
		grid-template-columns: 1fr 1fr;
	}

	.yadak14-shop-app .ydh-pcard__title {
		font-size: 0.82rem;
		min-height: 2.5em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ysh-hero__orb--1,
	.ysh-hero__orb--2,
	.ysh-hero__pulse {
		animation: none;
	}

	.ysh-sidebar,
	.ysh-sidebar-backdrop {
		transition: none !important;
	}
}
