body:has(.rolex-listing) { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.rolex-listing .listhead h1 {
  color: #000;
  font: 700 30px/1.2 Arial, Helvetica, sans-serif;
}
.rolex-listing .rolex-intro { color: #000; line-height: 1.6; }
.rolex-listing .rolex-tools { gap: 20px; }
.rolex-listing .page-sizes { gap: 0; color: #767676; line-height: 1.6; }
.rolex-listing .page-sizes b { color: #333; margin-right: 3px; }
.rolex-listing .page-sizes a { padding-inline: 7px; }
.rolex-listing .grid-views { gap: 11px; align-items: center; }
.rolex-listing .columns { width: 31px; height: 29px; border-width: 3px; }
.rolex-listing .columns:not(:hover) { background-image: radial-gradient(circle, #bcbcbc 49%, transparent 53%); }
.rolex-listing .listhead select {
  width: 201px; height: 42px; padding: 0 30px 0 15px; color: #767676;
  border: 1px solid #e1e1e1; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23aaa' stroke-width='1.25'/%3E%3C/svg%3E") no-repeat right 15px center;
}
.rolex-listing .category-sidebar { background: #f4f4f4; border-radius: 20px; }
.rolex-listing .category-sidebar :is(.rail,.filter-drawer,.color-filter) { background: transparent; }
.rolex-listing .rail h2, .rolex-listing .color-filter summary {
  padding: 0; margin: 0 0 10px; color: #000; font: 600 16px/1.4 Arial, sans-serif;
}
.rolex-listing .rail a, .rolex-listing .color-filter nav a {
  align-items: flex-start; gap: 10px; padding: 8px 0; color: #767676;
  font: 400 16px/1.4 Arial, Helvetica, sans-serif;
}
.rolex-listing .rail a:hover, .rolex-listing .color-filter a:hover { color: #242424; }
.rolex-listing .rail a span, .rolex-listing .color-filter nav a span {
  color: #767676; border-color: #d8d8d8; padding: 0 5px;
}
.rolex-listing .category-sidebar :is(.filter-drawer,.color-filter) {
  border-top: 1px solid #ddd; border-radius: 0; margin: 0 30px; padding: 26px 0;
}
.rolex-listing .store-filters { background: transparent; }
.rolex-listing .store-filters label:has(input[type=number]) { width: calc(50% - 5px); }
.rolex-listing .store-filters input[type=number] { width: 100%; }
.rolex-price-track {
  position: relative; height: 24px; width: 100%; --min: 0%; --max: 100%;
  background: linear-gradient(to right,#ddd var(--min),#c8a96e var(--min) var(--max),#ddd var(--max)) center / 100% 3px no-repeat;
}
.rolex-listing .store-filters .rolex-price-range {
  position: absolute; inset: 0; margin: 0; border: 0; background: none;
  width: 100%; height: 100%; max-width: none; padding: 0; appearance: none; pointer-events: none;
}
.rolex-price-range::-webkit-slider-thumb { appearance: none; border: 2px solid #a68747; border-radius: 50%; width: 15px; height: 15px; background: white; pointer-events: auto; cursor: ew-resize; }
.rolex-price-range::-moz-range-thumb { border: 2px solid #a68747; border-radius: 50%; background: white; pointer-events: auto; cursor: ew-resize; }
.rolex-price-range:focus-visible { outline: 2px solid #534529; }
.rolex-listing .filter-drawer button { padding: 8px 15px; color: #222; background: #efefef; }
.rolex-listing .filter-drawer summary { list-style: none; font: 600 16px/1.4 Arial, sans-serif; }
.rolex-listing .color-filter nav { max-height: 280px; overflow-y: auto; }
.rolex-listing .color-filter summary { list-style: none; }
.rolex-listing > section { min-width: 0; }
.rolex-sidebar-toggle { display: none; }
@media(min-width:1025px) {
  .rolex-listing .store-filters label:has([name=size]) { display: none; }
  .rolex-listing .listhead { margin-bottom: 20px; }
  .rolex-listing { grid-template-columns: minmax(170px,19.6475%) minmax(0,1fr); }
}
@media(max-width:700px) {
  .rolex-listing:has(.rolex-sidebar-toggle) > .category-sidebar { display: none; }
  .rolex-listing .listhead { display: flex; align-items: center; gap: 6px; margin: 0 0 18px; }
  .rolex-listing .listhead h1 { font-size: 24px; }
  .rolex-listing .rolex-tools { display: none; }
  .rolex-sidebar-toggle {
    display: inline-flex; align-items: center; min-height: 36px; margin-right: auto; padding: 0;
    background: transparent; border: 0; font: 600 16px Arial, sans-serif;
  }
  .rolex-listing .listhead #sort {
    width: 38px; height: 36px; padding: 0; border: 0; color: transparent;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 2v15m-3-4 3 4 3-4M8 3h10M8 7h7m-7 4h4' fill='none' stroke='%23242424' stroke-width='1.7'/%3E%3C/svg%3E") no-repeat center;
  }
  .rolex-listing .listhead #sort option { color: #242424; }
  .rolex-listing .rolex-intro { margin: 0 0 20px; }
  #rolex-sidebar-dialog {
    position: fixed; inset: 0 auto 0 0; margin: 0; padding: 12px;
    width: min(84vw,340px); max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0;
  }
  #rolex-sidebar-dialog::backdrop { background: #0006; }
  #rolex-sidebar-dialog .category-sidebar { display: block; clear: both; }
  #rolex-sidebar-dialog .rail { display: flex; flex-direction: column; padding: 20px; }
  .rolex-sidebar-close { display: block; border: 0; margin: 0 0 8px auto; background: #fff; font-size: 26px; }
}
