@media(max-width:768px){.elementor .e-6b59c7e-9ffe350{width:100%;}}@media(max-width:768px){.elementor .e-70aad6d-5c0a77b{width:100%;/* ==========================================================
 TRENDMART — CATEGORY CIRCLES v2 (light + slider-safe)
 Paste into: Elementor → Site Settings → Custom CSS
 REPLACE the old category CSS completely.

 - Never changes the size, padding or position of the carousel
   itself, so the slider loop/autoplay is left alone.
 - Animates only transform and opacity (cheap, no layout work).
 - About 2 KB.
========================================================== */

/* ---------- Cream panel drawn BEHIND the carousel (no layout impact) ---------- */

.elementor-widget-wd_product_categories > .elementor-widget-container {
position: relative;
isolation: isolate;
}

.elementor-widget-wd_product_categories > .elementor-widget-container::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: #F8F5F0;
border: 1px solid rgba(148,104,58,.16);
border-radius: 18px;
pointer-events: none;
}


/* ---------- Item (everything is styled INSIDE the slide) ---------- */

.wd-cats-element .wd-cat {
padding: 14px 8px 16px;
text-align: center;
}

.wd-cats-element .wd-cat-inner {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
padding: 0;
background: none;
border: 0;
box-shadow: none;
}


/* ---------- Circle: white matte + thin gold ring ---------- */

.wd-cats-element .wd-cat-thumb {
position: relative;
width: min(132px, 100%);
aspect-ratio: 1 / 1;
margin: 0 auto;
padding: 6px;
background: #FFFFFF;
border-radius: 50%;
box-shadow: 0 0 0 1px rgba(148,104,58,.38),
            0 12px 22px -16px rgba(0,0,0,.45);
transition: transform .3s ease;
}

/* red ring: fades in on hover (opacity only = cheap) */
.wd-cats-element .wd-cat-thumb::after {
content: "";
position: absolute;
inset: -1px;
border-radius: 50%;
box-shadow: 0 0 0 2px #E92732;
opacity: 0;
transition: opacity .25s ease;
pointer-events: none;
}

.wd-cats-element .wd-cat-image {
display: block;
width: 100%;
height: 100%;
overflow: hidden;
background: #F5F2ED;
border-radius: 50%;
}

.wd-cats-element .wd-cat-image img {
display: block;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
border-radius: 50%;
transition: transform .4s ease;
}


/* ---------- Name ---------- */

.wd-cats-element .wd-cat-content {
position: static;
width: 100%;
height: auto;
margin: 0;
padding: 14px 4px 0;
background: none;
opacity: 1;
visibility: visible;
transform: none;
text-align: center;
}

.wd-cats-element .wd-cat .wd-entities-title {
margin: 0;
color: #171717;
font-size: 14px;
font-weight: 700;
line-height: 1.3;
letter-spacing: .2px;
transition: color .25s ease;
}

/* red bar under the name: scales in on hover */
.wd-cats-element .wd-cat .wd-entities-title::after {
content: "";
display: block;
width: 30px;
height: 2px;
margin: 7px auto 0;
background: #E92732;
border-radius: 2px;
transform: scaleX(0);
transition: transform .3s ease;
}


/* ---------- Hover (mouse devices only) ---------- */

@media (hover: hover) {

.wd-cats-element .wd-cat:hover .wd-cat-thumb {
  transform: translateY(-4px);
}

.wd-cats-element .wd-cat:hover .wd-cat-thumb::after {
  opacity: 1;
}

.wd-cats-element .wd-cat:hover .wd-cat-image img {
  transform: scale(1.07);
}

.wd-cats-element .wd-cat:hover .wd-entities-title {
  color: #E92732;
}

.wd-cats-element .wd-cat:hover .wd-entities-title::after {
  transform: scaleX(1);
}
}


/* ---------- Keyboard focus ---------- */

.wd-cats-element .category-link:focus-visible {
outline: 2px solid #E92732;
outline-offset: -4px;
border-radius: 18px;
}


/* ---------- Tablet / mobile ---------- */

@media (max-width: 1024px) {
.wd-cats-element .wd-cat-thumb { width: min(118px, 100%); }
}

@media (max-width: 767px) {

.wd-cats-element .wd-cat {
  padding: 10px 4px 12px;
}

.wd-cats-element .wd-cat-thumb {
  width: min(104px, 100%);
  padding: 5px;
}

.wd-cats-element .wd-cat-content {
  padding-top: 11px;
}

.wd-cats-element .wd-cat .wd-entities-title {
  font-size: 13px;
}
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

.wd-cats-element .wd-cat-thumb,
.wd-cats-element .wd-cat-thumb::after,
.wd-cats-element .wd-cat-image img,
.wd-cats-element .wd-cat .wd-entities-title,
.wd-cats-element .wd-cat .wd-entities-title::after {
  transition: none;
}
}\n}}