
.elementor-widget-container:has(> .cq-slider){
  width:100%!important;
  max-width:100%!important;
  flex:0 0 100%!important;
}
.e-con:has(> .elementor-widget-html .cq-slider),
.e-con-inner:has(> .elementor-widget-html .cq-slider){
  flex-wrap:wrap!important;
}

.cq-slider{
  --cq-blue:var(--global-palette1,#3689c9);
  --cq-blue-hover:var(--global-palette2,#246ba1);
  --cq-text:var(--global-palette3,#242a30);
  --cq-light:#e8f4fb;
  font-family:Arial,sans-serif;
  width:100%;
  max-width:1200px;
  margin:35px auto;
  color:var(--cq-text);
}
.cq-slider *{box-sizing:border-box}

.cq-slider-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 8px 18px;
}
.cq-slider-head h2{
  font:700 27px Arial,sans-serif;
  color:var(--cq-text);
  margin:0;
}
.cq-nav{display:flex;gap:8px}
.cq-nav button{
  border:1px solid #c6e2f3;
  border-radius:50%;
  background:#fff;
  color:#23658f;
  width:36px;
  height:36px;
  padding:0;
  font:24px Arial;
  cursor:pointer;
}
.cq-nav button:hover,
.cq-nav button:focus-visible{
  background:var(--cq-blue);
  border-color:var(--cq-blue);
  color:#fff;
}

/* SLIDER */
.cq-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:4px 5px 10px;
  scrollbar-width:none;
}
.cq-track::-webkit-scrollbar{display:none}

.cq-card{
  flex:0 0 calc((100% - 42px)/4);
  min-width:0;
  border:1px solid #eee;
  border-radius:24px;
  padding:8px;
  background:#fff;
  box-shadow:0 2px 4px #00000012;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
}

/* IMAGE ROUNDED BOTTOM SHAPE */
.cq-photo{
  position:relative;
  display:block;
  aspect-ratio:1;
  margin:0 0 9px;
  isolation:isolate;
  overflow:visible;
  text-decoration:none;
}
.cq-photo-shape{
  position:absolute;
  inset:0;
  display:block;
  overflow:hidden;
  border-radius:16px;
  clip-path:url(#cq-rounded-image-cut);
  background:#f2eef5;
}
.cq-photo-shape img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform .4s ease;
}
.cq-photo:hover .cq-photo-shape img{
  transform:scale(1.07);
}

/* SALE BADGE */
.cq-badge{
  position:absolute;
  top:0;
  left:0;
  background:var(--cq-blue);
  border-radius:16px 0 12px 0;
  color:#fff;
  font:700 13px Georgia,serif;
  padding:8px;
  z-index:2;
}

/* REVIEW BADGE */
.cq-review{
  position:absolute;
  bottom:3px;
  left:0;
  border-radius:18px;
  background:var(--cq-light);
  padding:4px 7px;
  font:11px Arial,sans-serif;
  color:#23658f;
  white-space:nowrap;
  z-index:3;
}

/* PRODUCT TITLE */
.cq-card h3{
  font:700 16px/1.2 Arial,sans-serif;
  margin:0 0 2px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:var(--cq-text);
}
.cq-card h3 a{
  color:inherit;
  text-decoration:none;
}
.cq-sub{
  font:14px/1.4 Arial,sans-serif;
  color:#626b73;
  margin:0 0 7px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* PRODUCT TAGS */
.cq-tags{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  min-height:79px;
  margin-bottom:7px;
}
.cq-tags span{
  background:#f0f6fa;
  border-radius:5px;
  font:12px/1.25 Arial,sans-serif;
  letter-spacing:.15px;
  color:#526575;
  padding:4px 7px;
}

/* PRICE */
.cq-price{
  border-top:1px solid #efefef;
  padding-top:9px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  min-height:41px;
  margin-top:auto;
}
.cq-price strong{
  font:800 24px Arial,sans-serif;
  color:var(--cq-text);
}
.cq-price del{
  font:14px Arial,sans-serif;
  color:#626b73;
}
.cq-save{
  margin-left:auto;
  border:1px solid #c6e2f3;
  background:var(--cq-light);
  color:#23658f;
  border-radius:8px;
  padding:7px 5px;
  font:700 11px Arial,sans-serif;
}

/* OFFER */
.cq-offer{
  display:flex;
  align-items:center;
  gap:5px;
  font:700 12px/1.4 Arial,sans-serif;
  letter-spacing:.1px;
  color:#23658f;
  padding:7px 0 9px;
  white-space:normal;
  min-height:34px;
}
.cq-offer strong{font-weight:800}
.cq-discount-icon{
  display:inline-flex;
  flex:0 0 18px;
  align-items:center;
  justify-content:center;
  width:18px;
  height:20px;
  background:var(--cq-blue);
  color:#fff;
  font:700 12px Arial,sans-serif;
  clip-path:polygon(
    50% 0,94% 22%,94% 76%,
    50% 100%,6% 76%,6% 22%
  );
}

/* CART BUTTON */
.cq-cart{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--cq-blue)!important;
  color:#fff!important;
  border-radius:13px;
  padding:12px 5px;
  text-decoration:none!important;
  font:700 16px Arial,sans-serif;
  letter-spacing:.3px;
  min-height:44px;
  transition:background .2s ease;
}
.cq-cart svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
}
.cq-cart:hover,
.cq-cart:focus-visible{
  background:var(--cq-blue-hover)!important;
  color:#fff!important;
}

/* TABLET */
@media(max-width:1024px){
  .cq-card{
    flex-basis:calc((100% - 28px)/3);
  }
}

/* MOBILE */
@media(max-width:767px){
  .cq-slider{margin:25px auto}
  .cq-slider-head h2{font-size:22px}
  .cq-card{
    flex-basis:calc((100% - 14px)/2);
  }
  .cq-card h3{font-size:14px}
  .cq-sub{font-size:12px}
  .cq-price strong{font-size:22px}
  .cq-save{font-size:10px}
  .cq-offer{font-size:10px}
  .cq-tags span{font-size:10px}
  .cq-cart{font-size:14px}
  .cq-review{font-size:9px}
}

/* SMALL MOBILE */
@media(max-width:480px){
  .cq-card{flex-basis:82%}
  .cq-slider-head h2{font-size:18px}
  .cq-card h3{font-size:15px}
  .cq-price strong{font-size:24px}
  .cq-sub{font-size:13px}
  .cq-tags span{font-size:12px}
  .cq-review{font-size:11px}
  .cq-offer{font-size:12px}
}

/* ACCESSIBILITY */
@media(prefers-reduced-motion:reduce){
  .cq-track{scroll-behavior:auto}
  .cq-photo-shape img{transition:none}
  .cq-photo:hover .cq-photo-shape img{
    transform:none;
  }
}

/* Widget-safe overrides; base visual styling above is copied from the supplied code. */
.cq-slider{--cq-gap:14px;max-width:100%;}
.cq-slider .cq-track{gap:var(--cq-gap);}
.cq-slider .cq-card{flex:0 0 calc((100% - (var(--cq-desktop,4) - 1)*var(--cq-gap))/var(--cq-desktop,4));}
.cq-slider .cq-slider-head{position:relative;justify-content:var(--cq-title-align,left);min-height:36px;}
.cq-slider .cq-slider-head .cq-title{font:700 27px/1.2 Arial,sans-serif;margin:0;}
.cq-slider .cq-nav{margin-left:auto;display:flex;gap:8px;}
.cq-slider .cq-photo-shape{clip-path:url(#cq-rounded-image-cut);}
.cq-slider .cq-photo-shape img{border-radius:0;}
.cq-slider .cq-tags{flex-direction:row;flex-wrap:nowrap;min-height:auto;overflow:hidden;gap:5px;margin-bottom:10px;}
.cq-slider .cq-tags span{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;font-size:12px;line-height:1.4;padding:4px 6px;}
.cq-slider .cq-offer-empty{min-height:34px;}
.cq-slider .cq-cart{box-sizing:border-box;}
.cq-slider .cq-cart.button{width:100%;border:0;}
.cq-slider .cq-message{padding:35px;text-align:center;}
.cq-slider .cq-price .woocommerce-Price-amount{font-size:inherit;font-weight:inherit;color:inherit;}
.cq-slider .cq-save .woocommerce-Price-amount{font-size:inherit;font-weight:inherit;}
.cq-slider .cq-nav button{font-family:Arial,sans-serif;line-height:1;}
@media(max-width:1024px){.cq-slider .cq-card{flex-basis:calc((100% - (var(--cq-tablet,3) - 1)*var(--cq-gap))/var(--cq-tablet,3));}}
@media(max-width:767px){.cq-slider .cq-card{flex-basis:calc((100% - (var(--cq-mobile,2) - 1)*var(--cq-gap))/var(--cq-mobile,2));}}
@media(max-width:480px){.cq-slider.cq-peek .cq-card{flex-basis:82%;}}
