.eda-wsf-shell,
.eda-wsf-shell * {
  box-sizing: border-box;
}

.eda-wsf-shell {
  position: relative;
  font-family: var(--eda-wsf-font, inherit);
}

.eda-wsf-mobile-trigger,
.eda-wsf-mobile-close {
  font-family: inherit;
}

.eda-wsf-mobile-trigger {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--eda-wsf-border, #eee);
  border-radius: var(--eda-wsf-radius, 14px);
  background: var(--eda-wsf-bg, #fff);
  color: var(--eda-wsf-text, #1f1f1f);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  cursor: pointer;
}

.eda-wsf-mobile-trigger-icon {
  font-size: 16px;
  line-height: 1;
}

.eda-wsf-overlay {
  display: none;
}

.eda-wsf {
  width: 100%;
  background: var(--eda-wsf-bg, #fff);
  color: var(--eda-wsf-text, #1f1f1f);
  border: 1px solid var(--eda-wsf-border, #eee);
  border-radius: var(--eda-wsf-radius, 14px);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.eda-wsf-style-minimal {
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.eda-wsf-style-boxed {
  box-shadow: 0 14px 42px rgba(0,0,0,.08);
}

.eda-wsf-compact,
.eda-wsf-style-compact {
  padding: 16px;
}

.eda-wsf-mobile-header {
  display: none;
}

.eda-wsf-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--eda-wsf-border, #eee);
}

.eda-wsf-section:first-child {
  padding-top: 0;
}

.eda-wsf-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.eda-wsf-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--eda-wsf-text, #1f1f1f);
}

.eda-wsf-category-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eda-wsf-cat-item {
  width: 100%;
}

.eda-wsf-cat-row {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.eda-wsf-cat-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: calc(var(--eda-wsf-radius, 14px) - 4px);
  color: var(--eda-wsf-text, #1f1f1f);
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.25;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.eda-wsf-cat-link:hover {
  background: rgba(0,0,0,.035);
  color: var(--eda-wsf-text, #1f1f1f);
}

.eda-wsf-cat-link small {
  color: var(--eda-wsf-muted, #707070);
  font-size: 12px;
}

.eda-wsf-cat-item.is-current > .eda-wsf-cat-row .eda-wsf-cat-link {
  background: var(--eda-wsf-active-bg, #f4eee6);
  color: var(--eda-wsf-text, #1f1f1f);
  font-weight: 600;
}

.eda-wsf-depth-1 > .eda-wsf-cat-row .eda-wsf-cat-link {
  padding-left: 22px;
  font-size: 14px;
  color: var(--eda-wsf-muted, #707070);
}

.eda-wsf-depth-2 > .eda-wsf-cat-row .eda-wsf-cat-link {
  padding-left: 34px;
  font-size: 13px;
  color: var(--eda-wsf-muted, #707070);
}

.eda-wsf-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--eda-wsf-text, #1f1f1f);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, transform .18s ease;
}

.eda-wsf-toggle:hover {
  background: rgba(0,0,0,.045);
}

.eda-wsf-plus {
  display: block;
  transform: translateY(-1px);
}

.eda-wsf-children {
  margin: 1px 0 4px;
}

.eda-wsf-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--eda-wsf-text, #1f1f1f);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}

.eda-wsf-chevron {
  font-size: 17px;
  line-height: 1;
  transition: transform .18s ease;
}

.eda-wsf-section.is-collapsed .eda-wsf-chevron {
  transform: rotate(180deg);
}

.eda-wsf-section.is-collapsed .eda-wsf-price-form,
.eda-wsf-section.is-collapsed .eda-wsf-color-swatches {
  display: none;
}

.eda-wsf-price-form {
  margin-top: 20px;
}

.eda-wsf-range {
  position: relative;
  height: 34px;
  margin: 8px 8px 16px;
}

.eda-wsf-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

.eda-wsf-range input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--eda-wsf-accent, #c7a878);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.eda-wsf-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--eda-wsf-accent, #c7a878);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.eda-wsf-range input[type="range"]::-webkit-slider-runnable-track,
.eda-wsf-range input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

.eda-wsf-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 4px;
  border-radius: 99px;
  background: rgba(0,0,0,.16);
  overflow: hidden;
  z-index: 1;
}

.eda-wsf-range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: var(--eda-wsf-accent, #c7a878);
}

.eda-wsf-price-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.eda-wsf-price-values input {
  width: 100%;
  height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--eda-wsf-border, #eee);
  border-radius: calc(var(--eda-wsf-radius, 14px) - 4px);
  background: #fff;
  color: var(--eda-wsf-text, #1f1f1f);
  text-align: center;
  font: inherit;
  font-size: 14px;
}

.eda-wsf-price-sep {
  color: var(--eda-wsf-muted, #707070);
}

.eda-wsf-apply {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: calc(var(--eda-wsf-radius, 14px) - 4px);
  padding: 12px 14px;
  background: var(--eda-wsf-accent, #c7a878);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.eda-wsf-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.eda-wsf-swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 38px;
  text-decoration: none !important;
  color: var(--eda-wsf-text, #1f1f1f);
}

.eda-wsf-swatch span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.eda-wsf-swatch em {
  font-style: normal;
  font-size: 12px;
  color: var(--eda-wsf-muted, #707070);
}

.eda-wsf-swatch.is-active span {
  outline: 2px solid var(--eda-wsf-accent, #c7a878);
  outline-offset: 3px;
}

.eda-wsf-clear {
  flex: 0 0 100%;
  margin-top: 4px;
  font-size: 13px;
  color: var(--eda-wsf-text, #1f1f1f);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  body.eda-wsf-drawer-open {
    overflow: hidden;
  }

  .eda-wsf-mobile-trigger {
    display: inline-flex;
  }

  .eda-wsf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.24);
    z-index: 9997;
  }

  .eda-wsf-shell.is-mobile-open .eda-wsf-overlay {
    display: block;
  }

  .eda-wsf {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 380px);
    max-width: 100%;
    border-radius: 0 18px 18px 0;
    padding: 18px 18px 24px;
    z-index: 9998;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform .24s ease;
  }

  .eda-wsf-shell.is-mobile-open .eda-wsf {
    transform: translateX(0);
  }

  .eda-wsf-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -4px -2px 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--eda-wsf-border, #eee);
  }

  .eda-wsf-mobile-header strong {
    font-size: 20px;
    line-height: 1.1;
  }

  .eda-wsf-mobile-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--eda-wsf-border, #eee);
    border-radius: 999px;
    background: #fff;
    color: var(--eda-wsf-text, #1f1f1f);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .eda-wsf-title {
    font-size: 20px;
  }
}
