html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.jb-topbar,
.jb-topbar-inner,
.jb-topbar-left,
.jb-ticker-container,
.jb-ticker-track-wrap {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

:root {
  --oz-navy: #194785;
  --oz-navy-dark: #123769;
  --oz-navy-light: #255fa6;
  --oz-copper: #c27847;
  --oz-copper-light: #df9665;
  --oz-border-color: #e2e8f0;
  --oz-border-subtle: #f1f5f9;
  --oz-bg-tag: #f0f4f9;
  --oz-tag-border: #dbe5f1;
  --oz-text-heading: #1e293b;
  --oz-text-body: #334155;
  --oz-text-muted: #64748b;
  --oz-radius: 12px;
}

.oz-filter-sidebar,
.oz-filter-sidebar *,
.oz-mobile-drawer,
.oz-mobile-drawer *,
.oz-mobile-filter-bar,
.oz-mobile-filter-bar * {
  box-sizing: border-box;
}

.oz-filter-sidebar {
  width: 100%;
  max-width: 310px;
  background: #ffffff;
  border-radius: var(--oz-radius);
  border: 1px solid var(--oz-border-color);
  box-shadow: 0 4px 20px -2px rgba(25, 71, 133, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  font-family: 'Jost', 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 30px;
}

.oz-filter-sidebar.oz-in-drawer {
  max-width: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
}

.oz-filter-brand-header {
  background: var(--oz-navy);
  background: linear-gradient(145deg, #194785 0%, #123769 100%);
  padding: 22px 18px 18px 18px;
  text-align: center;
  border-radius: 11px 11px 0 0;
  position: relative;
  overflow: hidden;
}

.oz-filter-brand-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.oz-filter-brand-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}

.oz-filter-brand-logo {
  max-width: 200px;
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.oz-filter-brand-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.oz-filter-brand-subtitle span.oz-sub-diamond {
  color: var(--oz-copper-light);
  font-size: 9px;
}

.oz-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px 18px;
}

.oz-filter-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--oz-text-heading);
  letter-spacing: -0.01em;
}

.oz-filter-heading svg {
  color: var(--oz-navy);
}

.oz-filter-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--oz-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.oz-filter-reset-btn:hover {
  color: var(--oz-navy);
  background: var(--oz-border-subtle);
}

.oz-active-tags-container {
  padding: 0 18px 12px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oz-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--oz-bg-tag);
  border: 1px solid var(--oz-tag-border);
  color: var(--oz-navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.oz-filter-tag svg.oz-tag-icon {
  color: var(--oz-copper);
}

.oz-filter-tag button.oz-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--oz-text-muted);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: all 0.15s ease;
}

.oz-filter-tag button.oz-tag-remove:hover {
  background: var(--oz-navy);
  color: #ffffff;
}

.oz-filter-group {
  border-top: 1px solid var(--oz-border-color);
}

.oz-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.oz-acc-header:hover {
  background: rgba(241, 245, 249, 0.45);
}

.oz-acc-header-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.oz-acc-icon {
  color: var(--oz-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.oz-acc-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--oz-text-heading);
}

.oz-acc-chevron {
  color: var(--oz-text-muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.oz-acc-header[aria-expanded="false"] .oz-acc-chevron {
  transform: rotate(-90deg);
}

.oz-acc-body {
  padding: 0 18px 16px 18px;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.oz-acc-header[aria-expanded="false"] + .oz-acc-body {
  display: none;
}

.oz-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.oz-checkbox-grid.oz-cols-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.oz-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  color: var(--oz-text-body);
  padding: 6px 8px;
  border-radius: 7px;
  transition: background-color 0.15s ease, color 0.15s ease;
  min-height: 32px;
}

.oz-checkbox-item:hover {
  background: #F4F7FB;
  color: var(--oz-navy);
}

.oz-checkbox-item > span:not(.oz-custom-checkbox):not(.oz-item-count) {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.oz-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.oz-custom-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.oz-checkbox-input:checked + .oz-custom-checkbox {
  background: var(--oz-navy);
  border-color: var(--oz-navy);
}

.oz-custom-checkbox svg {
  display: none;
  color: #ffffff;
}

.oz-checkbox-input:checked + .oz-custom-checkbox svg {
  display: block;
}

.oz-checkbox-input:focus-visible + .oz-custom-checkbox {
  outline: 2px solid var(--oz-navy-light);
  outline-offset: 2px;
}

.oz-item-count {
  color: var(--oz-text-muted);
  font-size: 11.5px;
  font-weight: 600;
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  flex-shrink: 0;
}

.oz-price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.oz-price-field-wrap {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.oz-price-input {
  width: 100%;
  max-width: 100%;
  height: 38px;
  background: #ffffff;
  border: 1px solid var(--oz-border-color);
  border-radius: 8px;
  padding: 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--oz-text-heading);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.oz-price-input:focus {
  outline: none;
  border-color: var(--oz-navy);
  box-shadow: 0 0 0 3px rgba(25, 71, 133, 0.12);
}

.oz-price-separator {
  color: var(--oz-text-muted);
  font-weight: 600;
}

.oz-dual-slider-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.oz-slider-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
}

.oz-slider-track-fill {
  position: absolute;
  height: 5px;
  background: var(--oz-navy);
  border-radius: 999px;
  pointer-events: none;
}

.oz-slider-range-input {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  pointer-events: none;
  margin: 0;
  z-index: 2;
}

.oz-slider-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--oz-navy);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(25, 71, 133, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.oz-slider-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 8px rgba(25, 71, 133, 0.35);
}

.oz-slider-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--oz-navy);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(25, 71, 133, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.oz-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oz-size-btn-label {
  display: inline-flex;
  cursor: pointer;
}

.oz-size-btn-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.oz-size-btn-box {
  min-width: 44px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--oz-border-color);
  border-radius: 7px;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--oz-text-body);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.oz-size-btn-label input:checked + .oz-size-btn-box {
  background: var(--oz-navy);
  color: #ffffff;
  border-color: var(--oz-navy);
  box-shadow: 0 2px 6px rgba(25, 71, 133, 0.25);
}

.oz-size-btn-label:hover .oz-size-btn-box {
  border-color: var(--oz-navy-light);
  color: var(--oz-navy);
}

.oz-size-btn-label input:checked:hover .oz-size-btn-box {
  color: #ffffff;
}

.oz-colors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.oz-color-swatch-label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.oz-color-swatch-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.oz-color-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  position: relative;
}

.oz-color-circle::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.oz-color-swatch-label:hover .oz-color-circle {
  transform: scale(1.1);
}

.oz-color-swatch-label input:checked + .oz-color-circle::after {
  border-color: var(--oz-navy);
}

.oz-color-swatch-label input:checked + .oz-color-circle svg {
  display: block;
}

.oz-color-circle svg {
  display: none;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.oz-filter-bottom-actions {
  padding: 16px 18px 20px 18px;
  border-top: 1px solid var(--oz-border-color);
  background: #ffffff;
  border-radius: 0 0 11px 11px;
}

.oz-btn-apply-filters {
  width: 100%;
  height: 48px;
  background: var(--oz-navy);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(25, 71, 133, 0.22);
}

.oz-btn-apply-filters:hover {
  background: var(--oz-navy-dark);
  box-shadow: 0 4px 14px rgba(25, 71, 133, 0.32);
  transform: translateY(-1px);
}

.oz-btn-apply-filters:active {
  transform: translateY(0);
}

.oz-btn-apply-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.oz-btn-apply-icon {
  color: var(--oz-copper-light);
  display: flex;
}

.oz-btn-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 12px;
  color: var(--oz-text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s ease;
}

.oz-btn-guide-link:hover {
  color: var(--oz-navy);
}

.oz-btn-guide-link svg {
  color: var(--oz-copper);
}

.oz-mobile-filter-bar {
  display: none;
}

.oz-mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.oz-mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.oz-mobile-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90vh;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.oz-mobile-drawer.active {
  transform: translateY(0);
}

.oz-drawer-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 12px 16px;
  border-bottom: 1px solid var(--oz-border-color);
  background: #ffffff;
  position: relative;
  min-height: 56px;
}

.oz-drawer-drag-pill {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}

.oz-drawer-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--oz-text-heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.oz-drawer-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oz-drawer-close-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--oz-text-muted);
  cursor: pointer;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  transition: all 0.15s ease;
}

.oz-drawer-close-btn:hover {
  background: var(--oz-border-subtle);
  color: var(--oz-text-heading);
}

.oz-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

.oz-drawer-footer {
  flex-shrink: 0;
  padding: 14px 20px max(14px, env(safe-area-inset-bottom)) 20px;
  border-top: 1px solid var(--oz-border-color);
  background: #ffffff;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .jb-header .oz-container,
  .jb-topbar .oz-container,
  .oz-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100vw !important;
  }

  .jb-ticker-container {
    max-width: calc(100vw - 32px) !important;
    overflow: hidden !important;
  }

  .oz-desktop-sidebar {
    display: none !important;
  }

  .jb-shop-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 0 60px 0 !important;
  }

  .jb-shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .oz-mobile-filter-bar {
    display: block;
    margin-bottom: 18px;
  }

  .oz-mobile-controls-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .oz-mobile-trigger-btn {
    height: 44px;
    background: #ffffff;
    border: 1px solid var(--oz-border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--oz-text-heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    min-height: 44px;
  }

  .oz-mobile-trigger-btn svg {
    color: var(--oz-navy);
  }

  .oz-mobile-sort-select {
    height: 44px;
    background: #ffffff;
    border: 1px solid var(--oz-border-color);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--oz-text-heading);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    font-family: inherit;
    min-height: 44px;
  }

  .oz-mobile-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }

  .jb-shop-topbar {
    display: none !important;
  }
}

.oz-empty-filter-state {
  text-align: center;
  padding: 60px 24px;
  background: #ffffff;
  border-radius: var(--oz-radius);
  border: 1px solid var(--oz-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.oz-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  color: var(--oz-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oz-bg-tag);
  border-radius: 50%;
}

.oz-empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--oz-text-heading);
  margin-bottom: 8px;
}

.oz-empty-text {
  font-size: 14px;
  color: var(--oz-text-muted);
  max-width: 420px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.oz-btn-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--oz-navy);
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.oz-btn-clear-all:hover {
  background: var(--oz-navy-dark);
}
