/*
 * Webino Elementor Addons 9.0 — unified UI/UX layer.
 * Uses low-specificity :where() selectors so saved Elementor styles always win.
 */

:root{
  --webino-space-1:4px;
  --webino-space-2:8px;
  --webino-space-3:12px;
  --webino-space-4:16px;
  --webino-space-5:20px;
  --webino-space-6:24px;
  --webino-space-8:32px;
  --webino-touch-target:44px;
  --webino-control-height:44px;
  --webino-title-leading:1.55;
  --webino-body-leading:1.85;
  --webino-ui-border:#e6e9f0;
  --webino-ui-soft:#f6f7fa;
  --webino-ui-ease:cubic-bezier(.2,.8,.2,1);
}

.webino-ea-density-compact{
  --webino-space-2:6px;
  --webino-space-3:9px;
  --webino-space-4:12px;
  --webino-space-5:16px;
  --webino-space-6:20px;
  --webino-control-height:40px;
}
.webino-ea-density-comfortable{--webino-control-height:44px}

:where([class*="webino-"]){font-family:var(--webino-font-family,inherit)}
:where([class*="webino-"] button,[class*="webino-"] input,[class*="webino-"] select,[class*="webino-"] textarea){font:inherit}
:where([class*="webino-"] img){max-width:100%}

/* Clear visual hierarchy and predictable wrapping. */
:where(.webino-section-header__title,.webino-offer-slider__title,.webino-content-slider__title){
  line-height:var(--webino-title-leading);
  text-wrap:balance;
}
:where(.webino-product-card__title){
  line-height:var(--webino-title-leading);
  text-wrap:wrap;
}
:where(.webino-section-header__description,.webino-product-card__excerpt,.webino-offer-slider__description,.webino-content-slider__body p){
  line-height:var(--webino-body-leading);
}

/* Section headers: reliable hit-area, responsive wrapping, no carousel overlap. */
:where(.webino-section-header){
  min-width:0;
  gap:var(--webino-space-3);
}
:where(.webino-section-header__content){min-width:0}
:where(.webino-section-header__action){flex:0 0 auto;position:relative;z-index:20}
:where(.webino-section-header__more){
  display:inline-flex;
  min-height:var(--webino-touch-target);
  align-items:center;
  justify-content:center;
  gap:var(--webino-space-2);
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
@media(max-width:767px){
  :where(.webino-section-header){align-items:flex-end;gap:var(--webino-space-2)}
  :where(.webino-section-header__more){min-height:40px}
}

/* Shared controls meet touch target and keyboard requirements. */
:where(.webino-product-card__button,.webino-offer-slider__button,.webino-content-slider__link,
       .webino-single-cart__add,.webino-section-header__more,.webino-pagination a,
       .webino-product-tabs__nav button,.webino-slider__arrow,.webino-product-card__tool){
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
@media(pointer:coarse){
  :where(.webino-product-card__button,.webino-single-cart__add,.webino-section-header__more,
         .webino-product-tabs__nav button,.webino-slider__arrow){min-height:var(--webino-touch-target)}
}

/* Cards: consistent content rhythm without overriding saved Elementor gaps. */
:where(.webino-product-card__body)>*+*{margin-block-start:var(--webino-card-content-gap,var(--webino-space-2))}
:where(.webino-product-card__title){width:100%;min-width:0;max-width:none;overflow-wrap:break-word;word-break:normal}
:where(.webino-product-card__price){font-variant-numeric:tabular-nums}
:where(.webino-product-card__actions){padding-block-start:var(--webino-card-action-gap,var(--webino-space-2))}
:where(.webino-product-card__media img){transform:translateZ(0)}
:where(.webino-product-card):focus-within{border-color:color-mix(in srgb,var(--webino-primary,#5b4df7) 45%,var(--webino-ui-border))}
:where(.webino-product-card):focus-within .webino-product-card__tools{opacity:1;visibility:visible;pointer-events:auto}

/* Quantity controls stay symmetric and readable in every widget. */
:where(.webino-cart-quantity){font-variant-numeric:tabular-nums}
:where(.webino-cart-quantity__button){min-height:var(--webino-cart-qty-height,var(--webino-control-height));cursor:pointer}
:where(.webino-cart-quantity__button:disabled){cursor:not-allowed;opacity:.45}
:where(.webino-cart-quantity__value){user-select:none}

/* Carousels: only the viewport can drag; headers/actions remain clickable. */
:where(.webino-slider){isolation:isolate}
:where(.webino-slider__viewport){overscroll-behavior-inline:contain;scrollbar-width:none}
.webino-slider__viewport::-webkit-scrollbar{display:none}
:where(.webino-slider:not(.is-dragging) .webino-slider__viewport){cursor:grab}
:where(.webino-slider.is-dragging .webino-slider__viewport){cursor:grabbing;user-select:none}
:where(.webino-slider__slide){min-width:0}
:where(.webino-slider__dots button){min-width:8px;min-height:8px}

/* Tabs: keyboard-friendly scrolling and visible active state. */
:where(.webino-product-tabs__nav){
  max-width:100%;
  scroll-snap-type:inline proximity;
  scrollbar-width:none;
}
:where(.webino-product-tabs__nav::-webkit-scrollbar){display:none}
:where(.webino-product-tabs__nav button){scroll-snap-align:center;white-space:nowrap}

/* Modal and drawer UX. */
:where(.webino-quick-view__dialog,.webino-cart-feedback__dialog){overscroll-behavior:contain}
:where(.webino-quick-view__body){max-height:min(88dvh,900px);overflow:auto}
:where(.webino-quick-view__close){min-width:var(--webino-touch-target);min-height:var(--webino-touch-target)}

/* Empty/loading states are calm and consistent. */
:where(.webino-empty-state,.webino-products-empty,.webino-ea-empty){
  min-height:140px;
  display:grid;
  place-items:center;
  padding:var(--webino-space-6);
  border:1px dashed var(--webino-ui-border);
  border-radius:var(--webino-global-radius,16px);
  color:var(--webino-muted,#6b7280);
  background:var(--webino-ui-soft);
  text-align:center;
}

/* Canonical v9 families. Raw legacy classes remain in markup for compatibility. */
.webino-ea-style-engine-unified :where([class*="--surface-ios-glass"]){
  background:rgba(255,255,255,.72);
  border-color:rgba(255,255,255,.72);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.webino-ea-style-engine-unified :where([class*="--surface-dark-glass"]){
  color:#fff;
  background:rgba(15,23,42,.84);
  border-color:rgba(255,255,255,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.webino-ea-style-engine-unified :where(.webino-product-tabs--canonical-boxed) .webino-product-tabs__nav{border:1px solid var(--webino-ui-border);background:var(--webino-ui-soft)}
.webino-ea-style-engine-unified :where(.webino-product-tabs--canonical-pills) .webino-product-tabs__nav{border:0;background:transparent}
.webino-ea-style-engine-unified :where(.webino-product-tabs--canonical-pills) .webino-product-tabs__nav button{border-radius:999px}
.webino-ea-style-engine-unified :where(.webino-product-tabs--canonical-glass) .webino-product-tabs__nav{background:rgba(255,255,255,.68);backdrop-filter:blur(var(--webino-tabs-blur,16px));-webkit-backdrop-filter:blur(var(--webino-tabs-blur,16px))}

/* Safe-area support for sticky mobile commerce. */
@media(max-width:767px){
  :where(.webino-single-cart.is-sticky-mobile,.webino-single-sticky){padding-bottom:max(10px,env(safe-area-inset-bottom))}
}

@media(prefers-reduced-motion:reduce){
  :where(.webino-product-card,.webino-slider__track,.webino-slider__slide,.webino-quick-view__dialog){scroll-behavior:auto!important}
}


/* Unified surface family shared by sliders, filters and showcases. */
.webino-ea-style-engine-unified :where(
  .webino-content-slider--surface-canonical-soft,
  .webino-category-showcase--surface-canonical-soft,
  .webino-ranked-products--surface-canonical-soft,
  .webino-shop-filters--surface-canonical-soft
){background:var(--webino-ui-soft)}
.webino-ea-style-engine-unified :where(
  .webino-content-slider--surface-canonical-glass,
  .webino-offer-slider--surface-canonical-glass,
  .webino-category-showcase--surface-canonical-glass,
  .webino-ranked-products--surface-canonical-glass,
  .webino-shop-filters--surface-canonical-glass
){
  background:rgba(255,255,255,.72);
  border-color:rgba(255,255,255,.76);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.webino-ea-style-engine-unified :where(
  .webino-content-slider--surface-canonical-dark,
  .webino-offer-slider--surface-canonical-dark
){color:#fff;background:rgba(15,23,42,.9)}

/* Four genuinely different offer layouts replace six near-duplicates in V9. */
.webino-ea-style-engine-unified .webino-offer-slider--canonical-split .webino-offer-slider__slide{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,42%);align-items:center;
}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-compact .webino-offer-slider__slide{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,30%);align-items:center;
}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-editorial .webino-offer-slider__slide{
  display:grid;grid-template-columns:minmax(220px,38%) minmax(0,1fr);align-items:stretch;
}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-editorial .webino-offer-slider__media{order:-1}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-background .webino-offer-slider__slide{position:relative;display:flex;align-items:flex-end;overflow:hidden}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-background .webino-offer-slider__media{position:absolute;inset:0;z-index:0}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-background .webino-offer-slider__media img{width:100%;height:100%;object-fit:cover}
.webino-ea-style-engine-unified .webino-offer-slider--canonical-background .webino-offer-slider__content{position:relative;z-index:1;max-width:min(620px,80%)}
@media(max-width:767px){
  .webino-ea-style-engine-unified :where(.webino-offer-slider--canonical-split,.webino-offer-slider--canonical-compact,.webino-offer-slider--canonical-editorial) .webino-offer-slider__slide{grid-template-columns:minmax(0,1fr)}
  .webino-ea-style-engine-unified .webino-offer-slider--canonical-editorial .webino-offer-slider__media{order:0}
  .webino-ea-style-engine-unified .webino-offer-slider--canonical-background .webino-offer-slider__content{max-width:100%}
}


/* Unified section-heading families; legacy raw classes are still emitted. */
.webino-ea-style-engine-unified .webino-section-header--canonical-simple{background:transparent;border-color:transparent;box-shadow:none}
.webino-ea-style-engine-unified .webino-section-header--canonical-underline{border-block-end:1px solid var(--webino-ui-border)}
.webino-ea-style-engine-unified .webino-section-header--canonical-side-line .webino-section-header__title{border-inline-start:4px solid var(--webino-section-accent,var(--webino-primary));padding-inline-start:12px}
.webino-ea-style-engine-unified .webino-section-header--canonical-boxed{padding:var(--webino-space-3) var(--webino-space-4);background:var(--webino-section-bg,var(--webino-ui-soft));border:1px solid var(--webino-ui-border);border-radius:var(--webino-global-radius,16px)}
.webino-ea-style-engine-unified .webino-section-header--canonical-accent-block{padding:var(--webino-space-3) var(--webino-space-4);color:#fff;background:var(--webino-section-accent,var(--webino-primary));border-radius:var(--webino-global-radius,16px)}

/* Four dot families replace seven nearly identical presets in unified mode. */
.webino-ea-style-engine-unified .webino-slider__dots--canonical-circle button{border-radius:50%;aspect-ratio:1}
.webino-ea-style-engine-unified .webino-slider__dots--canonical-pill button{border-radius:999px}
.webino-ea-style-engine-unified .webino-slider__dots--canonical-line button{height:max(2px,var(--webino-dot-height,3px));border-radius:999px}


/* Clear async feedback without layout shift. */
:where([aria-busy="true"],.is-loading){cursor:progress}
:where(.webino-cart-control.is-loading,.webino-products.is-loading,.webino-product-tabs.is-loading){contain:paint}
:where(.webino-product-card__button,.webino-single-cart__add,.webino-section-header__more){transition:transform var(--webino-motion,240ms) var(--webino-ui-ease),box-shadow var(--webino-motion,240ms) var(--webino-ui-ease),background-color var(--webino-motion,240ms) var(--webino-ui-ease),border-color var(--webino-motion,240ms) var(--webino-ui-ease)}

/* ========================================================================
   Webino 9.1 — general ranked product list and smoother native scrolling
   ======================================================================== */
.webino-ranked-scroll-shell{
  position:relative;
  min-width:0;
  isolation:isolate;
}
.webino-ranked-products--horizontal{
  --webino-ranked-visible:var(--webino-ranked-visible-desktop,4);
  --webino-ranked-column-gap:18px;
  display:grid!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - (var(--webino-ranked-visible) - 1) * var(--webino-ranked-column-gap)) / var(--webino-ranked-visible));
  gap:var(--webino-ranked-column-gap)!important;
  width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  touch-action:pan-x pan-y pinch-zoom;
  cursor:grab;
  overflow-anchor:none;
}
.webino-ranked-products--horizontal::-webkit-scrollbar{display:none}
.webino-ranked-products--horizontal:active{cursor:grabbing}
.webino-ranked-products--horizontal.has-scroll-snap{scroll-snap-type:inline proximity}
.webino-ranked-column{
  display:flex;
  min-width:0;
  flex-direction:column;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
}
.webino-ranked-products--horizontal .webino-ranked-product{
  box-sizing:border-box;
  min-width:0;
  width:100%;
  flex:1 1 0;
  grid-template-columns:38px var(--webino-ranked-image-size,74px) minmax(0,1fr);
  transition:background-color .18s ease,transform .18s ease;
}
.webino-ranked-products--horizontal .webino-ranked-product:hover{
  background:color-mix(in srgb,var(--webino-accent,#5b4df7) 4%,transparent);
}
.webino-ranked-products--horizontal.has-separators .webino-ranked-column .webino-ranked-product:not(:last-child){
  border-bottom:1px solid #eceef2;
}
.webino-ranked-products--horizontal.has-separators .webino-ranked-column .webino-ranked-product:last-child{border-bottom:0}
.webino-ranked-product__image{display:grid;place-items:center;min-width:0}
.webino-ranked-product__image img{max-width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.webino-ranked-scroll__arrow{
  position:absolute;
  top:50%;
  z-index:6;
  display:grid;
  width:42px;
  height:42px;
  padding:0;
  place-items:center;
  border:1px solid #e1e5ec;
  border-radius:50%;
  color:#697085;
  background:#fff;
  box-shadow:0 6px 20px rgba(15,23,42,.09);
  cursor:pointer;
  transform:translateY(-50%);
  transition:opacity .18s ease,transform .18s ease,background-color .18s ease,color .18s ease;
}
.webino-ranked-scroll__arrow:hover{transform:translateY(-50%) scale(1.05)}
.webino-ranked-scroll__arrow:disabled{opacity:0;pointer-events:none}
.webino-ranked-scroll__arrow svg{display:block;width:48%;height:48%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.webino-ranked-scroll__arrow--prev{right:16px}
.webino-ranked-scroll__arrow--next{left:16px}
.webino-ranked-scroll-shell.is-dragging .webino-ranked-products--horizontal{
  cursor:grabbing;
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  user-select:none;
}
.webino-ranked-scroll-shell.is-dragging a{pointer-events:none}
.webino-ranked-products--grid{
  display:grid!important;
  grid-template-columns:repeat(var(--webino-columns-desktop,var(--webino-ranked-columns,4)),minmax(0,1fr))!important;
}

/* Native browser momentum is smoother than frame-by-frame touch interception. */
:where(
  .webino-native-carousel .webino-slider__viewport,
  .webino-ranked-products--horizontal,
  .webino-product-tabs__nav,
  .webino-category-grid--carousel,
  [data-webino-horizontal-scroll]
){
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scroll-behavior:smooth;
  touch-action:pan-x pan-y pinch-zoom!important;
}

@media(max-width:1024px){
  .webino-ranked-products--horizontal{--webino-ranked-visible:var(--webino-ranked-visible-tablet,3)}
  .webino-ranked-products--grid{grid-template-columns:repeat(var(--webino-columns-tablet,2),minmax(0,1fr))!important}
}
@media(max-width:767px){
  .webino-ranked-products--horizontal{
    --webino-ranked-visible:var(--webino-ranked-visible-mobile,2);
    --webino-ranked-column-gap:10px;
    padding-inline:8px;
  }
  .webino-ranked-products--horizontal .webino-ranked-product{
    grid-template-columns:30px var(--webino-ranked-image-size,64px) minmax(0,1fr);
    gap:6px;
  }
  .webino-ranked-product__number{font-size:21px}
  .webino-ranked-scroll__arrow{display:none}
  .webino-ranked-scroll-shell.has-mobile-arrows .webino-ranked-scroll__arrow{display:grid}
  .webino-ranked-scroll__arrow--prev{right:8px}
  .webino-ranked-scroll__arrow--next{left:8px}
  .webino-ranked-products--grid{grid-template-columns:repeat(var(--webino-columns-mobile,1),minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){
  .webino-ranked-products--horizontal,
  :where(.webino-native-carousel .webino-slider__viewport,.webino-product-tabs__nav){scroll-behavior:auto!important}
}

/* ========================================================================
   Webino 9.2 — Header mega menu, product-tab categories and amazing offers
   ======================================================================== */
.elementor-widget-webino-header-mega-menu,
.elementor-widget-webino-header-mega-menu>.elementor-widget-container{position:relative;overflow:visible!important}
.webino-header-menu{--webino-mega-accent:#ef4056;--webino-mega-max-width:1320px;--webino-mega-sidebar:250px;--webino-mega-columns:4;--webino-mega-min-height:430px;position:relative;z-index:30;color:#1f2937}
.webino-header-menu,.webino-header-menu *{box-sizing:border-box}
.webino-header-menu__bar{display:flex;min-width:0;align-items:center;gap:20px;padding-inline:14px;border-bottom:1px solid #e5e7eb;background:#fff;color:inherit}
.webino-header-menu__category-trigger,.webino-header-menu__mobile-toggle,.webino-header-menu__side-button,.webino-header-menu__mobile-head button,.webino-header-menu__overlay{appearance:none;border:0;font:inherit;cursor:pointer}
.webino-header-menu__category-trigger,.webino-header-menu__mobile-toggle{position:relative;display:inline-flex;min-height:44px;flex:0 0 auto;align-items:center;gap:9px;padding:8px 2px;color:inherit;background:transparent;font-weight:850}
.webino-header-menu__category-trigger:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;border-radius:999px;background:var(--webino-mega-accent);transform:scaleX(0);transition:transform .2s ease}
.webino-header-menu.is-open .webino-header-menu__category-trigger:after,.webino-header-menu__category-trigger:hover:after,.webino-header-menu__category-trigger:focus-visible:after{transform:scaleX(1)}
.webino-header-menu__trigger-icon,.webino-header-menu__top-icon,.webino-header-menu__side-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}
.webino-header-menu__trigger-icon svg,.webino-header-menu__top-icon svg,.webino-header-menu__side-icon svg{display:block;width:1em;height:1em;fill:currentColor}
.webino-header-menu__chevron{font-size:17px;line-height:1;transition:transform .2s ease}
.webino-header-menu.is-open .webino-header-menu__chevron{transform:rotate(180deg)}
.webino-header-menu__mobile-toggle{display:none}
.webino-header-menu__links{display:flex;min-width:0;flex:1 1 auto;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:none}
.webino-header-menu__links::-webkit-scrollbar{display:none}
.webino-header-menu__top-link{position:relative;display:inline-flex;min-height:44px;flex:0 0 auto;align-items:center;gap:7px;color:inherit;text-decoration:none!important;white-space:nowrap;transition:color .18s ease}
.webino-header-menu__top-link:hover,.webino-header-menu__top-link:focus-visible{color:var(--webino-mega-accent)}
.webino-header-menu__top-link small,.webino-header-menu__side-button small{padding:2px 6px;border-radius:999px;color:#fff;background:var(--webino-mega-accent);font-size:9px;line-height:1.4}
.webino-header-menu__mega{position:fixed;z-index:99990;top:var(--webino-mega-top,0);right:0;left:0;display:none;min-height:0;pointer-events:none}
.webino-header-menu.is-open .webino-header-menu__mega{display:block;pointer-events:auto;animation:webinoMegaIn .18s ease both}
@keyframes webinoMegaIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.webino-header-menu__overlay{position:fixed;z-index:0;top:var(--webino-mega-top,0);right:0;bottom:0;left:0;width:100%;height:auto;padding:0;background:rgba(17,24,39,.28)}
.webino-header-menu__panel{position:relative;z-index:1;display:grid;width:min(var(--webino-mega-max-width),calc(100vw - 24px));min-height:var(--webino-mega-min-height);max-height:calc(100vh - var(--webino-mega-top,0px) - 12px);grid-template-columns:var(--webino-mega-sidebar) minmax(0,1fr);margin:0 auto;overflow:hidden;border:1px solid #e5e7eb;border-top:0;background:#fff;box-shadow:0 24px 65px rgba(15,23,42,.2)}
.webino-header-menu__mobile-head{display:none}
.webino-header-menu__sidebar{min-width:0;overflow:auto;border-inline-end:1px solid #e5e7eb;background:#f8f9fb;scrollbar-width:thin}
.webino-header-menu__side-button{position:relative;display:flex;width:100%;min-height:54px;align-items:center;gap:10px;padding:10px 16px;color:#374151;background:transparent;text-align:start;transition:color .15s ease,background-color .15s ease}
.webino-header-menu__side-button img{width:30px;height:30px;flex:0 0 30px;border-radius:8px;object-fit:contain;background:#fff}
.webino-header-menu__side-button>span:not(.webino-header-menu__side-icon):not(.webino-header-menu__side-arrow){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.webino-header-menu__side-button:before{content:"";position:absolute;inset-block:9px;inset-inline-start:0;width:3px;border-radius:0 4px 4px 0;background:var(--webino-mega-accent);opacity:0}
.webino-header-menu__side-button.is-active,.webino-header-menu__side-button:hover,.webino-header-menu__side-button:focus-visible{color:var(--webino-mega-accent);background:#fff}
.webino-header-menu__side-button.is-active:before{opacity:1}
.webino-header-menu__side-arrow{margin-inline-start:auto;font-size:18px}
.webino-header-menu__panels{min-width:0;overflow:auto;padding:24px 28px 30px;background:#fff;scrollbar-width:thin}
.webino-header-menu__content-panel{display:none}
.webino-header-menu__content-panel.is-active{display:block;animation:webinoMegaPanel .16s ease both}
@keyframes webinoMegaPanel{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:none}}
.webino-header-menu__all-link{display:inline-flex;align-items:center;gap:7px;margin-bottom:22px;color:var(--webino-mega-accent);font-size:13px;font-weight:850;text-decoration:none!important}
.webino-header-menu__groups{display:grid;grid-template-columns:repeat(var(--webino-mega-columns),minmax(0,1fr));gap:28px 34px;align-items:start}
.webino-header-menu__group{display:flex;min-width:0;flex-direction:column;gap:10px}
.webino-header-menu__group-title{position:relative;display:flex;align-items:center;gap:6px;padding-inline-start:10px;color:#111827;font-size:14px;font-weight:900;text-decoration:none!important}
.webino-header-menu__group-title:before{content:"";position:absolute;inset-inline-start:0;width:3px;height:18px;border-radius:999px;background:var(--webino-mega-accent)}
.webino-header-menu__group-link{overflow:hidden;color:#6b7280;font-size:13px;line-height:1.8;text-decoration:none!important;text-overflow:ellipsis;white-space:nowrap;transition:color .16s ease,transform .16s ease}
.webino-header-menu__group-link:hover,.webino-header-menu__group-link:focus-visible{color:var(--webino-mega-accent);transform:translateX(-2px)}
.webino-header-menu__empty{display:grid;min-height:280px;place-items:center;color:#6b7280}
.webino-header-menu :focus-visible{outline:3px solid color-mix(in srgb,var(--webino-mega-accent) 35%,transparent);outline-offset:2px}
html.webino-mega-menu-open{overflow:hidden}

/* Amazing offers: cleaner Digikala-inspired hierarchy without changing old settings. */
.webino-amazing__eyebrow{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;color:#fff;background:rgba(255,255,255,.16);font-size:10px;font-weight:850;line-height:1.4}
.webino-amazing--digikala{gap:0;padding:12px;border:0;border-radius:18px;background:linear-gradient(135deg,#ef4056,#e52f50)}
.webino-amazing--digikala .webino-amazing__panel{padding:16px 14px;border-radius:0 14px 14px 0;background:transparent!important}
.webino-amazing--digikala .webino-amazing__slider{min-width:0;padding:0;border-radius:14px 0 0 14px;background:#fff!important}
.webino-amazing--digikala .webino-amazing__slider>.webino-slider__viewport{border-radius:inherit;background:#fff}
.webino-amazing--digikala .webino-slider__slide{padding:0!important;border-inline-end:1px solid #f0f1f3;background:#fff}
.webino-amazing--digikala .webino-slider__slide:first-child{border-start-start-radius:14px;border-end-start-radius:14px}
.webino-amazing--digikala .webino-product-card{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
.webino-amazing--digikala .webino-product-card:hover{transform:none;box-shadow:none!important}
.webino-amazing--digikala .webino-product-card--amazing:before{height:0!important}
.webino-amazing--digikala .webino-slider__arrow{width:40px;height:40px;border-color:#e5e7eb;color:#6b7280;background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.1)}
.webino-amazing--digikala .webino-slider__arrow:hover{color:#fff;border-color:var(--webino-accent,#ef4056);background:var(--webino-accent,#ef4056)}
.webino-amazing--digikala .webino-amazing__countdown{width:auto!important;margin:6px 0 8px}
.webino-amazing--digikala .webino-amazing__countdown .webino-countdown__unit{min-width:34px;min-height:34px;padding:4px;border-radius:6px;color:#111827;background:#fff!important}
.webino-amazing--digikala .webino-amazing__countdown .webino-countdown__value{color:#111827!important;font-weight:900}
.webino-amazing--digikala .webino-amazing__countdown .webino-countdown__separator{color:#fff!important}
.webino-amazing--digikala .webino-amazing__more{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border-radius:9px;color:#fff;text-decoration:none!important}

@media(max-width:1024px){
  .webino-header-menu__category-trigger{display:none}
  .webino-header-menu__mobile-toggle{display:inline-flex}
  .webino-header-menu__links{display:none}
  .webino-header-menu__mega{bottom:0}
  .webino-header-menu__overlay{background:rgba(15,23,42,.55)}
  .webino-header-menu[data-mobile-overlay="0"] .webino-header-menu__overlay{background:transparent;pointer-events:none}
  .webino-header-menu__panel{position:absolute;right:0;bottom:0;left:0;width:100%;max-width:none;height:calc(100vh - var(--webino-mega-top,0px));min-height:0;max-height:none;grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:1fr;margin:0;border:0;border-radius:0!important}
  .webino-header-menu__mobile-head{display:flex;min-height:52px;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #e5e7eb}
  .webino-header-menu__mobile-head button{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;color:#111827;background:#f3f4f6;font-size:24px}
  .webino-header-menu__sidebar{display:flex;width:100%;max-height:none;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid #e5e7eb;scroll-snap-type:x proximity}
  .webino-header-menu__side-button{width:auto;min-width:max-content;min-height:48px;flex:0 0 auto;padding:8px 14px;scroll-snap-align:start}
  .webino-header-menu__side-button:before{inset-block:auto 0;inset-inline:10px;width:auto;height:3px}
  .webino-header-menu__side-button img{width:26px;height:26px;flex-basis:26px}
  .webino-header-menu__side-arrow{display:none}
  .webino-header-menu__panels{padding:18px 16px 34px}
  .webino-header-menu__groups{grid-template-columns:repeat(var(--webino-mega-columns),minmax(0,1fr));gap:24px 20px}
}
@media(max-width:767px){
  .webino-header-menu{--webino-mega-columns:2}
  .webino-header-menu__bar{padding-inline:10px}
  .webino-header-menu__mobile-toggle{width:100%;justify-content:flex-start}
  .webino-header-menu__groups{gap:22px 16px}
  .webino-header-menu__group-title{font-size:13px}
  .webino-header-menu__group-link{font-size:12px}
  .webino-amazing--digikala.webino-amazing--compact-mobile{display:flex!important;flex-direction:column;padding:0;border-radius:14px;overflow:hidden}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__panel{display:grid!important;width:100%!important;min-height:62px!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 12px;border-radius:0;background:#ef4056!important;text-align:start}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__eyebrow{display:none}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__title{font-size:18px;line-height:1.35;white-space:nowrap}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__icon{display:none}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__symbol{display:none}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__countdown{margin:0}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__countdown .webino-countdown__unit{min-width:31px;min-height:31px;padding:3px}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__more{min-width:max-content;padding:6px 8px}
  .webino-amazing--digikala.webino-amazing--compact-mobile .webino-amazing__slider{width:100%!important;border-radius:0;background:#fff!important}
}
@media(prefers-reduced-motion:reduce){.webino-header-menu__mega,.webino-header-menu__content-panel{animation:none!important}.webino-header-menu *{scroll-behavior:auto!important;transition:none!important}}

/* ========================================================================
   Webino 9.2.1 — smoother touch scrolling and fully editable ranked arrows
   ======================================================================== */
/* Native touch scrolling must not inherit CSS smooth behavior. Programmatic
   arrow navigation still requests smooth scrolling explicitly in JavaScript. */
:where(
  .webino-native-carousel .webino-slider__viewport,
  .webino-ranked-products--horizontal,
  .webino-product-tabs__nav,
  .webino-category-grid--carousel,
  [data-webino-horizontal-scroll]
){
  scroll-behavior:auto!important;
  overscroll-behavior-x:contain;
  overflow-anchor:none;
}

/* Ranked list dimensions. Existing documents keep the former calculated
   widths because the custom column variable is empty until explicitly set. */
.webino-ranked-products--horizontal{
  grid-auto-columns:var(
    --webino-ranked-column-width,
    calc((100% - (var(--webino-ranked-visible) - 1) * var(--webino-ranked-column-gap)) / var(--webino-ranked-visible))
  )!important;
}
.webino-ranked-product,
.webino-ranked-products--horizontal .webino-ranked-product{
  grid-template-columns:var(--webino-ranked-number-width,38px) var(--webino-ranked-image-size,74px) minmax(0,1fr)!important;
}
.webino-ranked-product__number{
  width:100%;
  min-width:0;
  text-align:center;
  justify-self:stretch;
}

/* Navigation has its own layer inside the scroll shell. It can no longer fall
   over the section title because top/bottom presets reserve their own space. */
.webino-ranked-scroll-shell{
  --webino-ranked-arrow-size:42px;
  --webino-ranked-arrow-edge:16px;
  --webino-ranked-arrow-x:0px;
  --webino-ranked-arrow-y:0px;
  --webino-ranked-arrow-reserve:calc(var(--webino-ranked-arrow-size) + 12px);
}
.webino-ranked-scroll__controls{
  position:absolute;
  z-index:8;
  pointer-events:none;
}
.webino-ranked-scroll__controls .webino-ranked-scroll__arrow{
  right:auto!important;
  left:auto!important;
  top:auto;
  bottom:auto;
  pointer-events:auto;
}

/* Default: one button on each side, vertically centered. */
.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__controls{
  inset:0;
  display:block;
}
.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__arrow{
  position:absolute;
  top:50%;
  transform:translateY(calc(-50% + var(--webino-ranked-arrow-y))) translateX(var(--webino-ranked-arrow-x));
}
.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__arrow:hover{
  transform:translateY(calc(-50% + var(--webino-ranked-arrow-y))) translateX(var(--webino-ranked-arrow-x)) scale(1.05);
}
.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__arrow--prev{
  inset-inline-start:var(--webino-ranked-arrow-edge);
}
.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__arrow--next{
  inset-inline-end:var(--webino-ranked-arrow-edge);
}

/* Grouped top positions. */
.webino-ranked-scroll-shell--arrows-top_start,
.webino-ranked-scroll-shell--arrows-top_center,
.webino-ranked-scroll-shell--arrows-top_end{
  padding-top:var(--webino-ranked-arrow-reserve);
}
.webino-ranked-scroll-shell--arrows-top_start .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-top_center .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-top_end .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-bottom_start .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-bottom_center .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-bottom_end .webino-ranked-scroll__controls,
.webino-ranked-scroll-shell--arrows-custom .webino-ranked-scroll__controls{
  display:flex;
  align-items:center;
}
.webino-ranked-scroll-shell--arrows-top_start .webino-ranked-scroll__controls{
  top:0;inset-inline-start:var(--webino-ranked-arrow-edge);
  transform:translate(var(--webino-ranked-arrow-x),var(--webino-ranked-arrow-y));
}
.webino-ranked-scroll-shell--arrows-top_center .webino-ranked-scroll__controls{
  top:0;left:50%;
  transform:translate(calc(-50% + var(--webino-ranked-arrow-x)),var(--webino-ranked-arrow-y));
}
.webino-ranked-scroll-shell--arrows-top_end .webino-ranked-scroll__controls{
  top:0;inset-inline-end:var(--webino-ranked-arrow-edge);
  transform:translate(var(--webino-ranked-arrow-x),var(--webino-ranked-arrow-y));
}

/* Grouped bottom positions. */
.webino-ranked-scroll-shell--arrows-bottom_start,
.webino-ranked-scroll-shell--arrows-bottom_center,
.webino-ranked-scroll-shell--arrows-bottom_end{
  padding-bottom:var(--webino-ranked-arrow-reserve);
}
.webino-ranked-scroll-shell--arrows-bottom_start .webino-ranked-scroll__controls{
  bottom:0;inset-inline-start:var(--webino-ranked-arrow-edge);
  transform:translate(var(--webino-ranked-arrow-x),var(--webino-ranked-arrow-y));
}
.webino-ranked-scroll-shell--arrows-bottom_center .webino-ranked-scroll__controls{
  bottom:0;left:50%;
  transform:translate(calc(-50% + var(--webino-ranked-arrow-x)),var(--webino-ranked-arrow-y));
}
.webino-ranked-scroll-shell--arrows-bottom_end .webino-ranked-scroll__controls{
  bottom:0;inset-inline-end:var(--webino-ranked-arrow-edge);
  transform:translate(var(--webino-ranked-arrow-x),var(--webino-ranked-arrow-y));
}

/* Custom starts from the exact center and is moved with responsive X/Y controls. */
.webino-ranked-scroll-shell--arrows-custom .webino-ranked-scroll__controls{
  top:50%;left:50%;
  transform:translate(calc(-50% + var(--webino-ranked-arrow-x)),calc(-50% + var(--webino-ranked-arrow-y)));
}

/* Grouped arrows should scale without losing their preset translation. */
.webino-ranked-scroll-shell:not(.webino-ranked-scroll-shell--arrows-sides) .webino-ranked-scroll__arrow{
  position:relative;
  transform:none;
}
.webino-ranked-scroll-shell:not(.webino-ranked-scroll-shell--arrows-sides) .webino-ranked-scroll__arrow:hover{
  transform:scale(1.05);
}

@media(max-width:767px){
  .webino-ranked-products--horizontal .webino-ranked-product{
    grid-template-columns:var(--webino-ranked-number-width,30px) var(--webino-ranked-image-size,64px) minmax(0,1fr)!important;
  }
  .webino-ranked-scroll-shell:not(.has-mobile-arrows) .webino-ranked-scroll__controls{display:none!important}
  .webino-ranked-scroll-shell.has-mobile-arrows.webino-ranked-scroll-shell--arrows-sides .webino-ranked-scroll__controls{display:block!important}
  .webino-ranked-scroll-shell.has-mobile-arrows:not(.webino-ranked-scroll-shell--arrows-sides) .webino-ranked-scroll__controls{display:flex!important}
  .webino-ranked-scroll-shell.has-mobile-arrows .webino-ranked-scroll__arrow{display:grid!important}
}

@media(pointer:coarse){
  :where(
    .webino-native-carousel .webino-slider__viewport,
    .webino-ranked-products--horizontal,
    .webino-product-tabs__nav,
    .webino-category-grid--carousel,
    [data-webino-horizontal-scroll]
  ){
    scroll-behavior:auto!important;
    scroll-snap-stop:normal!important;
  }
}


/* 9.2.5 — product carousel title flow.
   Product names must use the complete card width instead of balanced wrapping,
   which could create an early line break and a visibly empty title area. */
.webino-product-carousel .webino-product-card__title{
  width:100%;
  min-width:0;
  max-width:none;
  line-height:1.6;
  text-wrap:wrap;
}
.webino-product-carousel .webino-product-card__title a{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-wrap:break-word;
  word-break:normal;
  text-wrap:wrap;
  unicode-bidi:plaintext;
}
