/*
 * Nobanoo product-card design system 8.0.
 * Shared by catalog, search, homepage and product recommendations.
 */
:root{
	--nb-card-radius:22px;
	--nb-card-media-radius:17px;
	--nb-card-padding:11px;
	--nb-card-gap:8px;
	--nb-card-title-size:.79rem;
	--nb-card-summary-size:.72rem;
	--nb-card-meta-size:.61rem;
	--nb-card-price-size:.84rem;
	--nb-card-action-size:.66rem;
	--nb-card-button-height:38px;
	--nb-card-button-radius:12px;
	--nb-card-badge-height:25px;
	--nb-card-title-weight:700;
	--nb-card-meta-weight:700;
	--nb-card-price-weight:800;
	--nb-card-action-weight:700;
	--nb-card-sale-bg:#fff3f5;
	--nb-card-sale-line:#edc8d0;
	--nb-card-sale-text:#8f334b;
	--nb-card-stock-bg:#3b3b31;
}

.nb-product-card,
.nb-fallback-product-card.nb-product-card{
	position:relative;
	display:flex;
	min-width:0;
	height:100%;
	flex-direction:column;
	overflow:hidden;
	border:1px solid color-mix(in srgb,var(--nb-color-text) 8%,transparent);
	border-radius:var(--nb-card-radius);
	background:#fff;
	box-shadow:0 10px 28px rgba(57,43,39,.065);
	transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.nb-product-card:hover,
.nb-product-card:focus-within{
	border-color:color-mix(in srgb,var(--nb-color-primary-dark) 25%,transparent);
	box-shadow:0 18px 40px rgba(57,43,39,.12);
	transform:translateY(-3px);
}

.nb-product-card__media,
.nb-fallback-product-card__media.nb-product-card__media{
	position:relative;
	display:block;
	aspect-ratio:1 / 1.02;
	overflow:hidden;
	padding:9px;
	background:
		radial-gradient(circle at 84% 10%,color-mix(in srgb,var(--nb-color-primary) 16%,transparent),transparent 42%),
		linear-gradient(148deg,color-mix(in srgb,var(--nb-color-surface) 58%,#fff),#fff 76%);
	text-decoration:none;
}
.nb-product-card__media::after{
	position:absolute;
	z-index:1;
	inset-inline:9px;
	inset-block-end:9px;
	height:24%;
	border-radius:0 0 var(--nb-card-media-radius) var(--nb-card-media-radius);
	background:linear-gradient(180deg,transparent,rgba(255,255,255,.72));
	content:"";
	pointer-events:none;
}
.nb-product-card__media img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	border-radius:var(--nb-card-media-radius);
	background:#fff;
	transition:transform .28s ease;
}
.nb-product-card:hover .nb-product-card__media img,
.nb-product-card:focus-within .nb-product-card__media img{transform:scale(1.032);}

/* Product-state badges: compact, legible and isolated from RTL reordering. */
.nb-product-card__media > .nb-product-badge,
.nb-fallback-product-card__media > .nb-product-badge{
	position:absolute;
	z-index:5;
	inset-block-start:9px;
	inset-inline-start:9px;
	display:inline-flex;
	min-width:0;
	min-height:var(--nb-card-badge-height);
	align-items:center;
	justify-content:center;
	gap:4px;
	padding:4px 7px;
	border:1px solid var(--nb-card-sale-line);
	border-radius:9px;
	background:rgba(255,243,245,.94);
	box-shadow:0 7px 18px rgba(88,42,53,.09);
	color:var(--nb-card-sale-text);
	font-size:var(--nb-card-meta-size);
	font-weight:var(--nb-card-meta-weight);
	line-height:1;
	backdrop-filter:blur(9px);
}
.nb-product-badge--sale b{
	font-size:.7rem;
	font-weight:800;
	font-variant-numeric:tabular-nums;
	unicode-bidi:isolate;
}
.nb-product-badge--sale small{
	font-size:.54rem;
	font-weight:700;
	line-height:1;
}
.nb-product-badge--sale-text small{font-size:.59rem;}
.nb-product-card__media > .nb-product-badge--stock{
	inset-block-start:auto;
	inset-block-end:9px;
	inset-inline-start:auto;
	inset-inline-end:9px;
	border-color:transparent;
	background:rgba(59,59,49,.92);
	color:#fff;
}
.nb-card-engagement{inset-block-start:9px;inset-inline-end:9px;gap:6px;}
.nb-card-engagement .nb-engagement-toggle{
	width:34px;
	height:34px;
	border:1px solid rgba(255,255,255,.82);
	background:rgba(255,255,255,.9);
	box-shadow:0 6px 16px rgba(49,51,59,.1);
}
.nb-card-engagement .nb-engagement-toggle svg{width:17px;height:17px;}

.nb-product-card__body,
.nb-fallback-product-card__body.nb-product-card__body{
	display:grid;
	grid-template-areas:"meta" "title" "footer" "actions";
	grid-template-rows:23px minmax(3.05em,auto) minmax(31px,auto) var(--nb-card-button-height);
	min-height:166px;
	flex:1;
	gap:var(--nb-card-gap);
	padding:var(--nb-card-padding);
}
.nb-product-card__meta{
	grid-area:meta;
	display:flex;
	min-width:0;
	min-height:23px;
	align-items:center;
	justify-content:space-between;
	gap:5px;
	overflow:hidden;
}
.nb-product-card__brand,
.nb-product-card__category{
	display:inline-flex;
	min-width:0;
	min-height:23px;
	align-items:center;
	padding:3px 7px;
	overflow:hidden;
	border-radius:999px;
	font-size:var(--nb-card-meta-size);
	font-weight:var(--nb-card-meta-weight);
	line-height:1;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.nb-product-card__brand{
	margin:0;
	background:color-mix(in srgb,var(--nb-color-primary) 17%,#fff);
	color:var(--nb-color-primary-dark);
}
.nb-product-card__category{
	max-width:52%;
	border:1px solid color-mix(in srgb,var(--nb-color-text) 8%,transparent);
	background:color-mix(in srgb,#fff 72%,var(--nb-color-surface));
	color:var(--nb-color-muted);
}
.nb-product-card__title{
	grid-area:title;
	display:-webkit-box;
	min-height:3.05em;
	overflow:hidden;
	margin:0;
	font-size:var(--nb-card-title-size);
	font-weight:var(--nb-card-title-weight);
	line-height:1.52;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
}
.nb-product-card__title a{color:inherit;text-decoration:none;}
.nb-product-card__summary{display:none;grid-area:summary;margin:0;color:var(--nb-color-muted);font-size:var(--nb-card-summary-size);font-weight:500;line-height:1.72;}
.nb-product-card__footer{
	grid-area:footer;
	display:flex;
	min-width:0;
	min-height:31px;
	align-items:flex-end;
	justify-content:space-between;
	gap:6px;
}
.nb-product-card__price,
.nb-fallback-product-card__price.nb-product-card__price{
	display:flex;
	min-width:0;
	flex:1;
	flex-wrap:wrap;
	align-items:baseline;
	gap:2px 4px;
	margin:0;
	font-size:var(--nb-card-price-size);
	font-weight:var(--nb-card-price-weight);
	line-height:1.38;
}
.nb-product-card__price .price{display:contents;}
.nb-product-card__price .amount{white-space:nowrap;}
.nb-product-card__price del{order:2;color:var(--nb-color-muted);font-size:.69em;font-weight:500;}
.nb-product-card__price ins{order:1;text-decoration:none;}
.nb-product-card__rating{
	display:inline-flex;
	min-width:0;
	min-height:23px;
	align-items:center;
	justify-content:center;
	gap:3px;
	margin:0;
	padding:4px 7px;
	border:1px solid color-mix(in srgb,var(--nb-color-primary-dark) 11%,transparent);
	border-radius:999px;
	background:color-mix(in srgb,var(--nb-color-primary) 9%,#fff);
	color:var(--nb-color-primary-dark);
	font-size:.58rem;
	font-weight:700;
	line-height:1;
	white-space:nowrap;
}
.nb-product-card__rating .star-rating{margin:0;font-size:.63rem;}
.nb-product-card__no-rating{font-size:inherit;font-weight:700;}

.nb-product-card__actions{
	grid-area:actions;
	display:grid;
	grid-template-columns:minmax(0,1fr) var(--nb-card-button-height);
	align-items:stretch;
	gap:6px;
	min-height:var(--nb-card-button-height);
	margin:0;
}
.nb-product-card__actions .button,
.nb-product-card__cta,
.nb-fallback-product-card__cta{
	grid-area:actions;
	position:relative;
	display:inline-flex;
	width:100%;
	min-width:0;
	height:var(--nb-card-button-height);
	min-height:var(--nb-card-button-height);
	max-height:var(--nb-card-button-height);
	align-items:center;
	justify-content:center;
	gap:5px;
	margin:0!important;
	padding:5px 7px;
	overflow:hidden;
	border:0;
	border-radius:var(--nb-card-button-radius);
	background:linear-gradient(135deg,var(--nb-color-primary-dark),color-mix(in srgb,var(--nb-color-primary-dark) 78%,#4d3940));
	box-shadow:0 7px 16px rgba(58,43,38,.13);
	color:#fff;
	font-size:var(--nb-card-action-size);
	font-weight:var(--nb-card-action-weight);
	line-height:1;
	text-align:center;
	text-decoration:none;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.nb-product-card__actions .button{grid-area:auto;}
.nb-product-card__actions .button::before,
.nb-product-card__cta::before,
.nb-fallback-product-card__cta::before{display:none;content:"";}
.nb-product-card__details{
	display:inline-flex;
	width:var(--nb-card-button-height);
	height:var(--nb-card-button-height);
	min-width:var(--nb-card-button-height);
	min-height:var(--nb-card-button-height);
	align-items:center;
	justify-content:center;
	border:1px solid color-mix(in srgb,var(--nb-color-text) 10%,transparent);
	border-radius:var(--nb-card-button-radius);
	background:#fff;
	box-shadow:0 6px 14px rgba(58,43,38,.07);
	color:var(--nb-color-text);
	font-size:.88rem;
	font-weight:800;
	text-decoration:none;
}
.nb-product-card__actions .button:hover,
.nb-product-card__actions .button:focus-visible,
.nb-product-card__cta:hover,
.nb-product-card__cta:focus-visible{filter:brightness(.96);box-shadow:0 9px 20px rgba(58,43,38,.18);}
.nb-product-card__details:hover,
.nb-product-card__details:focus-visible{border-color:color-mix(in srgb,var(--nb-color-primary-dark) 34%,transparent);background:color-mix(in srgb,var(--nb-color-primary) 9%,#fff);color:var(--nb-color-primary-dark);}
.nb-product-card__actions .button:disabled,
.nb-product-card__actions .button.disabled,
.nb-product-card__actions .button.is-loading{opacity:.62;cursor:not-allowed;}

.nb-product-grid,
.nb-product-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;}
.nb-product-grid>* ,
.nb-product-rail>* ,
.nb-home-product-carousel>*{height:100%;}
.nb-product-rail{grid-auto-flow:row;grid-auto-columns:auto;overflow:visible;margin:0;padding:0;scroll-snap-type:none;}
.nb-product-rail>*{scroll-snap-align:unset;}
.nb-product-recommendations{gap:22px;}

@media(max-width:359px){
	:root{--nb-card-title-size:.74rem;--nb-card-meta-size:.56rem;--nb-card-price-size:.78rem;--nb-card-action-size:.61rem;--nb-card-button-height:36px;--nb-card-padding:9px;--nb-card-gap:7px;}
	.nb-product-card__body,.nb-fallback-product-card__body.nb-product-card__body{min-height:157px;grid-template-rows:22px minmax(3em,auto) minmax(29px,auto) var(--nb-card-button-height);}
	.nb-product-card__category{display:none;}
	.nb-product-card__actions{grid-template-columns:minmax(0,1fr) var(--nb-card-button-height);gap:5px;}
	.nb-product-card__actions .button,.nb-product-card__cta,.nb-fallback-product-card__cta{padding-inline:5px;}
	.nb-product-card__rating{padding-inline:5px;}
}
@media(min-width:560px){
	:root{--nb-card-radius:23px;--nb-card-padding:12px;--nb-card-title-size:.84rem;--nb-card-summary-size:.72rem;--nb-card-meta-size:.63rem;--nb-card-price-size:.9rem;--nb-card-action-size:.7rem;--nb-card-button-height:40px;--nb-card-button-radius:13px;}
	.nb-product-grid,.nb-product-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
	.nb-product-card__body,.nb-fallback-product-card__body.nb-product-card__body{min-height:174px;}
}
@media(min-width:900px){
	:root{--nb-card-radius:25px;--nb-card-media-radius:19px;--nb-card-padding:14px;--nb-card-gap:9px;--nb-card-title-size:.92rem;--nb-card-summary-size:.76rem;--nb-card-meta-size:.65rem;--nb-card-price-size:.98rem;--nb-card-action-size:.75rem;--nb-card-button-height:42px;--nb-card-button-radius:14px;--nb-card-badge-height:27px;}
	.nb-product-grid,.nb-product-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
	.nb-product-card__media,.nb-fallback-product-card__media.nb-product-card__media{padding:11px;}
	.nb-product-card__body,.nb-fallback-product-card__body.nb-product-card__body{grid-template-areas:"meta" "title" "summary" "footer" "actions";grid-template-rows:25px minmax(3.1em,auto) minmax(2.8em,1fr) minmax(33px,auto) var(--nb-card-button-height);min-height:236px;}
	.nb-product-card__summary{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
	.nb-product-card__actions .button,.nb-product-card__cta,.nb-fallback-product-card__cta{padding-inline:10px;}
	.nb-card-engagement .nb-engagement-toggle{width:37px;height:37px;}
}
@media(min-width:1280px){
	.nb-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
	.nb-product-rail{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){.nb-product-card,.nb-product-card__media img{transition:none;}.nb-product-card:hover,.nb-product-card:focus-within{transform:none;}}

.nb-product-card__featured-label{display:inline-flex;width:max-content;max-width:100%;align-items:center;margin-block:4px 6px;padding:4px 9px;border:1px solid color-mix(in srgb,var(--nb-color-primary-dark,#87475b) 22%,transparent);border-radius:999px;background:color-mix(in srgb,var(--nb-color-primary,#cfa3a6) 16%,#fff);color:var(--nb-color-primary-dark,#87475b);font-size:.68rem;font-weight:850;line-height:1.4}
