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 10px 7px;
}
.product-details .product-name {
	margin-bottom: -0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  white-space: wrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  /*max-height: 4.5em;  */
  /*line-height: 1.5em;*/
}
.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 {
    height: 180px;
    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: 80px;
    max-height: 60px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.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 figure.product-media > a > img {
	min-width: 120px;min-height: 120px;
	height: 120px;
	width: 120px;
}
#ccart figure.product-media {
	height:120px !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 {
}
.totals span,.totals strong {
	color: #FFF !important;
}
.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%);
}
/*
.categmenu {
	padding: 10px !important;
	columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}
.categmenu > li {
	border: 1px solid #666;
	margin-bottom: 7px;	
	border-radius: 3px;
	padding: 0 !important;
}
.categmenu > li:hover {
	border: 1px solid #fabf00;
}
.categmenu > li > a {
	padding: 5px 0 5px 10px !important;	
	width: 230px;
	display: block;
}
.categmenu > li > a > img {
	padding-right: 10px;
}
*/

#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;
}

/* categories  */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider cards */
    gap: 20px;
    padding: 20px;
}

.category-card {
    /* --- Link & Container Styling --- */
    display: block;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 200px; /* Increased minimum height */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.category-card:hover,
.category-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}


.category-card .card-content {
    position: absolute; /* Changed to absolute positioning */
    bottom: 0;          /* Stick content to the bottom */
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
    /* Removed height: 100% */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Text to the left */
    text-align: left;
    width: 100%;
    background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
}

.category-card h2 {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 0; /* Reduced spacing */
    font-weight: bold;
     background-color: rgba(255, 255, 255, 0.8);  /* No background on h2 directly */
     padding: 3px 10px; 
     border-radius: 4px; 
    width: fit-content;
}

.category-card p {
    font-size: 0.9em;
    margin-bottom: 0;
    line-height: 1.4;
    /* background-color: rgba(255, 255, 255, 0.8); */  /* No background on p directly */
    /* padding: 5px 10px; */
    /* border-radius: 4px; */
    width: fit-content;
}

/*  Style the paragraph to be bellow the h2 */
.category-card p {
   order: 2
}

.category-card h2 {
  order: 1
}
/* Mobile: show search full-width below hamburger+logo */
@media (max-width: 991px) {
  .header-middle .header-left {
    flex-wrap: wrap;
  }
  .header-middle .header-search.hs-simple {
    display: flex !important;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0.5rem 0 0;
    order: 10;
  }
  .mobile-search {
    display: none !important;
  }
  .mobile-menu-toggle {
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  .header-middle .logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  .logo img {
    max-width: 70% !important;
    height: auto;
  }
}

/* Autocomplete on mobile */
@media (max-width: 767px) {
  .autocomplete-suggestion {
    padding: 6px;
    font-size: 12px;
  }
  .autocomplete-suggestion img {
    max-width: 50px;
    max-height: 40px;
  }
}

.filter-items-plain,
.filter-items-plain ul {
    list-style-type: none;
    margin: 0;
    padding: 0
}

.filter-items-plain li {
    padding: 13px 3px 13px 30px;
    font-size: 1.3rem;
    color: #222
}

.filter-items-plain>li:not(:last-child) {
    border-bottom: 1px solid #eee
}

.filter-items-plain a {
    position: relative;
    display: block
}

.filter-items-plain a:hover {
    color: #26c
}

.filter-items-plain .active>a {
    color: #26c
}

.filter-items-plain .children li {
    padding: 5.5px 0
}

.filter-items-plain li span {
    margin-left: 0.5rem;
    color: #aaa
}

.filter-items-plain .with-ul>a>i {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.7rem;
    line-height: 0;
    margin: -1.3rem -3px 0 0;
    padding: 1.2rem 5px;
    font-size: 1.2rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    transition: transform 0.3s
}

.filter-items-plain .show>a {
    color: #26c
}

.filter-items-plain .show>a i {
    transform: rotate(-180deg)
}

.filter-items-plain ul {
    display: none;
    position: relative;
    margin: 1rem 0 -0.5rem;
    padding-left: 1.3rem
}

.filter-items-plain ul:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    bottom: 3px;
    border-left: 1px solid #eee
}

.filter-items-plain .color {
    top: 50%;
    display: inline-block;
    margin-right: 0.8rem;
    margin-top: -4.5px;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%
}
