figure.product-media {
	height:180px !important;display: flex;justify-content: center;overflow: hidden;
}
figure.product-media > a > img {
	flex-shrink: 0;min-width: 100%;min-height: 100%;
}
.product-details {
  position: relative;
  padding: 15px 7px 0px 7px;
}
.product-details .product-name {
	margin-bottom: -0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: wrap !important;
  overflow: hidden;
  text-overflow: ellipsis;

}
.product-details .sku {
	font-size: 12px;
	margin-bottom: 0.7rem;
}
.product-price p {margin-bottom: 0 !important;}

.product-price span {font-size: 12px;}

.btn-product-icon {
	border: 0 !important;
}
.btn-product-icon:hover {
	color: red;
	background: none;
	border: 0 !important;
}
.product-action-vertical {
	top: 7px;
	right: 7px;
}
.product-action-vertical > a.wishlist {
	margin-right: 0 !important;
}
.page-header {

    position: relative;
}
.page-header .breadcrumb {
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
  position: absolute;
  bottom: 0;
}
.page-header .breadcrumb li, .page-header .breadcrumb li a {
	color: #FFF;
}
.autocomplete-suggestion img {
	max-width: 60px;
	max-height: 60px;
}
.product-label-group {
	top: 5px;
	left: 5px;
}
.product-label.label-sale {
  background: #e80000;
 }
#cart figure.product-media > a > img {
	min-width: 80px;min-height: 80px;
	height: 80px;
	width: 80px;
}
#cart figure.product-media {
	height:80px !important;
}

#ccart .btn-close {
	right: 0 !important;
}
.btn-cart2 {
	border: 0;
flex: 1;
min-width: 13rem;
font-size: 1.4rem;
border-radius: 0.3rem;
background-color: #fabf00;
transition: background-color 0.3s;
color: #fff;
cursor: pointer;
max-width: 20.7rem;
height: 4.5rem;
}
.btn-cart2 i {
	padding-right: 7px;
}
.step-by .title.title-step:not(:last-child):after {
    content: "";
    display: inline-block;
    position: absolute;
    right: -3rem;
    top: 52%;
    line-height: 0;
    vertical-align: middle;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    font-size: 1.7rem;
    background-color: #fff;
    color: #ccc;
}
.form-control {
	border-radius: 5px;
}
.ts-control {
	border-radius: 5px !important;
	height: 45px;
}
.ts-control > input {
}
.widget-body li.active {
	color: #fabf00;
	font-weight: bold;
}
#favicon {
    position: relative;
}
.wishlist-count {
    position: absolute;
right: -10px;
top: -8px;
width: 1.5rem;
height: 1.5rem;
font-size: 0.9rem;
line-height: 1.7;
text-align: center;
border-radius: 50%;
background-color: #fabf00;
color: #fff;
z-index: 1;
}
.wishlist-count:empty {
    display: none;
}
p.hide-empty-a:has(> a:empty) {
    display: none;
}
#product-history-list {
	clear: both;
}
#product-history-list li {
	width: 100px;
	height: 100px;
	border: 1px solid #CCC;
	padding: 3px;
	border-radius: 3px;
	margin: 5px;
	float: left;
	list-style-type: none;

	display: flex;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}
#product-history-list li a {
	height: 100%;
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#product-history-list li:hover {
	border-color: #999;
}
#product-history-list li img {
    display: inline-block;
    vertical-align: middle;

    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}
ol.ol-list {
	padding-left: 50px;
}
ol.ol-list > li {
	padding: 7px 0;
}
.invert {
	-webkit-filter: invert(100%);
}

#product-tab-specs li  {
	position: relative;
	padding-left: 20px;
}
#product-tab-specs li:before, .card-description li:before {
    position: absolute;
    display: block;
    left: 3px;
    top: 2px;
    content: "";
    font-family: "riode";
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
}

.totals {
	color: #000;
	border-top: 1px solid #EEE;
}
.summary-subtotal-price {
	padding: 2rem;
	font-size: 1.6rem;
}
#datefirma {
  display: none;
}
#company:checked ~ #datefirma {
  display: block;
}
.checkoutcart img {
  max-width: 100px;
  max-height: 60px;

}
.ts-control {
  width: 100%;

font-weight: 400;

color: #818181;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ddd !important;

transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-primary {
  border-radius: 5px;
}

.coupon-input {
	width: 250px;
	border-left: 1px solid #e7e7e7 !important;
}
.coupon-btn {
	padding: 0 10px !important;

	color: #fff !important;
	width:  auto !important;
}
.coupon-remove {
	padding:  0 10px !important;
	background:  indianred;
	color: #fff !important;
	width:  auto !important;
}
.coupon-explanation {
	padding: 10px;
}

.text-alert {
	color: orangered;
}

#company_cui {
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #e1e1e1;
    border-right: none;
    border-radius: 4px 0 0 4px;
    box-shadow: none;
}

#company_cui + button,
#company_cui_btn,
#search_cui_btn {
    height: 44px;
    width: 46px;
    border: 1px solid #e1e1e1;
    border-left: none;
    background: #fff;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#company_cui,
#company_cui ~ button {
    vertical-align: middle;
}

#company_cui {
    width: calc(100% - 46px);
}
.riode-cui-wrap {
    display: flex;
    width: 100%;
}

.riode-cui-wrap input {
    flex: 1;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.riode-cui-wrap button {
    width: 44px;
    border-left: none;
    border-radius: 0 4px 4px 0;
}
.coupon-banner {position:absolute; top:150px;left:0;max-width: 60%;height:auto;}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
	gap: 1.6rem;
	margin: 0 0 4rem;
	padding: 0;
}

.category-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 1.4rem;

	background-color: #efe7ea;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;

	isolation: isolate;
	box-shadow: 0 0.1rem 0.2rem rgba(40, 8, 22, 0.06),
		0 0.8rem 2.4rem -1.2rem rgba(40, 8, 22, 0.28);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
		box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@supports not (aspect-ratio: 4 / 5) {

	.category-card {
		min-height: 32rem;
	}
}

.category-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1);
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.category-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: linear-gradient(to top,
			rgba(26, 5, 14, 0.8) 0%,
			rgba(26, 5, 14, 0.5) 20%,
			rgba(26, 5, 14, 0.12) 42%,
			rgba(26, 5, 14, 0) 62%);
	transition: opacity 0.45s ease;
}

.category-card:hover,
.category-card:focus-visible {
	transform: translateY(-0.6rem);
	box-shadow: 0 0.2rem 0.4rem rgba(40, 8, 22, 0.08),
		0 2.2rem 4.4rem -1.6rem rgba(40, 8, 22, 0.45);
}

.category-card:hover::before,
.category-card:focus-visible::before {
	transform: scale(1.07);
}

.category-card:focus-visible {
	outline: 3px solid #99003d;
	outline-offset: 3px;
}

.category-card .card-content {
	position: relative;
	width: 100%;
	padding: 1.8rem 1.6rem 4.4rem;
	color: #fff;
}

.category-card .card-content:before {
	content: "";
	display: block;
	width: 2.6rem;
	height: 0.3rem;
	margin-bottom: 1.1rem;
	border-radius: 0.2rem;

	background-color: #ff3d85;
	transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.category-card:hover .card-content:before,
.category-card:focus-visible .card-content:before {
	width: 5.2rem;
}

.category-card h2 {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #fff;
	text-shadow: 0 0.1rem 1.4rem rgba(0, 0, 0, 0.45);
}

.category-card p {
	margin: 0.6rem 0 0;
	font-size: 1.3rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.5);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.category-card p:empty {
	display: none;
}

.category-card .card-content:after {
	content: "Vezi produsele \2192";
	display: inline-block;
	position: absolute;
	left: 1.6rem;
	right: 1.6rem;
	bottom: 1.6rem;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	opacity: 0;
	transform: translateY(0.8rem);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.category-card:hover .card-content:after,
.category-card:focus-visible .card-content:after {
	opacity: 1;
	transform: none;
}

@media (hover: none) {

	.category-card .card-content:after {
		opacity: 0.92;
		transform: none;
	}

	.category-card.touch-active {
		transform: scale(0.985);
	}
}

@media (max-width: 767px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.1rem;
		margin-bottom: 3rem;
	}
	.category-card {
		border-radius: 1rem;
	}
	.category-card .card-content {
		padding: 1.3rem 1.2rem 3.4rem;
	}
	.category-card .card-content:before {
		width: 2rem;
		margin-bottom: 0.8rem;
	}
	.category-card h2 {
		font-size: 1.5rem;
	}

	.category-card p {
		display: none;
	}
	.category-card .card-content:after {
		left: 1.2rem;
		right: 1.2rem;
		bottom: 1.2rem;
		font-size: 1.05rem;
		letter-spacing: 0.04em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.category-card,
	.category-card::before,
	.category-card::after,
	.category-card .card-content:before,
	.category-card .card-content:after {
		transition: none;
	}
	.category-card:hover,
	.category-card:focus-visible {
		transform: none;
	}
	.category-card:hover::before,
	.category-card:focus-visible::before {
		transform: none;
	}
}

.category-card.active {
	box-shadow: 0 0 0 0.3rem #99003d, 0 0.8rem 2.4rem -1.2rem rgba(40, 8, 22, 0.28);
}

.category-breadcrumb {
	padding: 1.6rem 0 0.6rem;
}

.category-grid.subcat-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 1.2rem 0 2.4rem;
}

.category-grid.subcat-nav .category-card {

	flex: 0 1 calc(25% - 0.75rem);
	aspect-ratio: auto;
	height: 21rem;
	max-height: 21rem;

	min-height: 0;
}

.category-grid.subcat-nav .category-card p {
	display: none;
}

@media (max-width: 767px) {
	.category-grid.subcat-nav .category-card {
		flex-basis: calc(50% - 0.5rem);
		height: 16.5rem;
		max-height: 16.5rem;
	}
}

.subcat-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.2rem 0 2rem;
	padding: 0;
	list-style: none;
}

.subcat-links a {
	display: inline-block;
	padding: 0.5rem 1.2rem;
	border: 1px solid #e1d7db;
	border-radius: 2rem;
	background: #fff;
	color: #555;
	font-size: 1.25rem;
	line-height: 1.4;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.subcat-links a:hover {
	border-color: #99003d;
	color: #99003d;
}

.subcat-links a.active {
	border-color: #99003d;
	background: #99003d;
	color: #fff;
	font-weight: 600;
}

@media (max-width: 767px) {
	.subcat-links {
		gap: 0.5rem;
		margin-bottom: 1.6rem;
	}
	.subcat-links a {
		padding: 0.45rem 1rem;
		font-size: 1.15rem;
	}
}

.page-header {
	height: clamp(18rem, 22vw, 30rem);
	display: flex;
	align-items: center;
	text-align: left;
	background-color: #6d032c;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.page-header > .container {
	position: relative;
	z-index: 1;
}

.page-header:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(100deg,
			rgba(22, 4, 13, 0.7) 0%,
			rgba(22, 4, 13, 0.45) 34%,
			rgba(22, 4, 13, 0.06) 68%,
			rgba(22, 4, 13, 0) 100%);
}

.page-header .page-title {
	position: relative;
	margin: 0;
	font-size: clamp(2.6rem, 4vw, 4.4rem);
	font-weight: 600;
	line-height: 1.15;
	color: #fff;
	letter-spacing: 0.01em;

	text-shadow: 0 0.2rem 2.4rem rgba(0, 0, 0, 0.55);
}

body .text-capitalize {
	text-transform: none !important;
}

body .card-header,
body .post-meta a,
body .post-title,
body .category .category-name,
body .rating-reviews,
body .product-form>label,
body .product-tabs.tab-nav-simple .nav-link,
body .title,
body .market .store .btn-link,
body .header-middle .icon-box-title,
body .label-block .cart-name,
body .cart-dropdown .cart-action .btn.btn-link,
body .menu>li>a,
body .category-menu .menu-title,
body .category-menu>li>a,
body .footer-middle .widget-title,
body .toolbox-horizontal .widget .widget-title,
body .sidebar-content .select-menu-toggle,
body .checkout .card-header,
body .store-listing1 .form-wrapper .btn,
body .store-listing .form-wrapper .btn {
	text-transform: none;
}

body .text-capitalize::first-letter,
body .card-header::first-letter,
body .post-title::first-letter,
body .category .category-name::first-letter,
body .product-form>label::first-letter,
body .title::first-letter,
body .header-middle .icon-box-title::first-letter,
body .label-block .cart-name::first-letter,
body .menu>li>a::first-letter,
body .category-menu .menu-title::first-letter,
body .category-menu>li>a::first-letter,
body .footer-middle .widget-title::first-letter,
body .toolbox-horizontal .widget .widget-title::first-letter,
body .sidebar-content .select-menu-toggle::first-letter,
body .checkout .card-header::first-letter {
	text-transform: uppercase;
}

:where(.bz-h2, .bz-h4, .bz-h5) {
	margin: 0 0 2rem;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}
:where(.bz-h2) {
	font-size: 3.4rem;
}
:where(.bz-h4) {
	font-size: 2.4rem;
}
:where(.bz-h5) {
	font-size: 1.8rem;
}

.category-grid.home-categs {
	margin: 5rem 0 0;
}
@media (min-width: 992px) {
	.category-grid.home-categs .category-card {
		flex-basis: calc(20% - 0.8rem);
	}
}
@media (max-width: 767px) {
	.category-grid.home-categs {
		margin-top: 3.6rem;
	}
}
