/* ============================================================================
   PAGE FAMILY: search-by-color checkbox finder (C5) - STRUCTURE tier - from the
   global files, original order. Scope: color-search-* / filter-row family /
   hue-gradient-* / main-color-list (render only in search_by_color.html).
   Migrated 2026-07-06. PHASE-A FIDELITY: verbatim relocation.
   ========================================================================= */

.color-search-page .slider-container {
    background: #f1f1f1;
    padding: 30px 40px 50px;
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
  }

.color-search-page .slider-container.disabled {
    opacity: 0.5;
  }

.color-search-page .slider-container.disabled .noUi-target {
    opacity: 0.3;
    pointer-events: none;
  }

.color-search-page .slider-container.disabled small {
    pointer-events: none;
  }

.color-search-page .slider-container small {
    color: #666;
    display: block;
    margin-bottom: 35px;
    font-size: 0.95em;
    font-style: italic;
    line-height: 1.4;
  }

.color-search-page .slider-container .noUi-target {
    border: none;
    height: 6px;
    border-radius: 0;
    box-shadow: none;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    cursor: pointer;
  }

.color-search-page #brightness-slider .noUi-connects { background: linear-gradient(to right, #000000, #ffffff); }

.color-search-page #contrast-slider .noUi-connects { background: linear-gradient(to right, #808080, #000000 50%, #ffffff); }

.color-search-page #harmony-slider .noUi-connects { background: linear-gradient(to right, #ff0000, #00ff00); }

.color-search-page #variance-slider .noUi-connects { background: linear-gradient(to right, #cccccc, #ff00ff); }

.color-search-page #saturation-slider .noUi-connects { background: linear-gradient(to right, #808080, #ff0000); }

.color-search-page #luminance-slider .noUi-connects { background: linear-gradient(to right, #000000, #ffffff); }

.color-search-page #intensity-slider .noUi-connects { background: linear-gradient(to right, #f0f0f0, #ff0000); }

.color-search-page #color-hue-slider {
    height: 15px;
    background: linear-gradient(to right, 
      hsl(0, 100%, 50%), hsl(60, 100%, 50%), hsl(120, 100%, 50%), 
      hsl(180, 100%, 50%), hsl(240, 100%, 50%), hsl(300, 100%, 50%), 
      hsl(360, 100%, 50%)
    );
  }

.color-search-page .slider-container .noUi-connect {
    background: transparent; /* Let container background show through */
  }

.color-search-page .slider-container .noUi-pips {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    margin-top: 8px;
  }

.color-search-page .slider-container .noUi-marker {
    background: #d4af37;
    width: 1px;
  }

.color-search-page .color-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 25px auto 0;
  }

.color-search-page #search-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

.color-search-page #search-button {
    display: block;
    margin: 30px auto;
    max-width: 400px;
  }

.color-search-page .color-search-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.color-search-page .color-search-sidebar {
    flex: 0 0 320px;
    max-width: 320px;
    position: sticky;
    top: 16px;
}

.color-search-page .color-search-main {
    flex: 1 1 auto;
    min-width: 0;
}

.color-search-page .color-search-sidebar .filter-row {
    flex-direction: column;
    gap: 8px;
}

.color-search-page .color-search-sidebar .filter-row-label {
    min-width: auto;
}

.color-search-page .color-search-sidebar .main-color-list,.color-search-page .color-search-sidebar .hue-gradient-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-search-page .color-search-sidebar .main-color-list > li,.color-search-page .color-search-sidebar .hue-gradient-list > li {
    margin-bottom: 0;
}

.color-search-page .color-search-sidebar .main-color-list label,.color-search-page .color-search-sidebar .hue-gradient-list label {
    width: auto;
}

.color-search-page .color-search-empty {
    padding: 32px 0;
}

.color-search-page .repruct_content_collapse .accordion-body .filter-option span {
    margin-left: 0;
    font-weight: inherit;
    font-size: inherit;
    text-transform: none;
    cursor: inherit;
}

.color-search-page .repruct_content_collapse .accordion-body .filter-option span:not(.hue-gradient-swatch):not(.color-dot) {
    color: inherit;
}

@media (max-width: 991px) {
  .color-search-page .color-search-layout {
        flex-direction: column;
    }

  .color-search-page .color-search-sidebar {
        position: static;
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }

}

/* ── search submit button (renamed from the legacy .addToCart alias 2026-07-06;
   values verbatim from the HEAD global base + responsive blocks) ── */
.color-search-page .color-search-submit-button {
	background: #875D2A;
	width: 200px;
	display: block;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 15px;
	line-height: 20px;
	text-align: center;
	text-transform: uppercase;
	color: #EDE9DE;
	text-decoration: none;
	padding: 10px 35px;
}

@media only screen and (min-width: 992px) and (max-width: 1500px) {
  .color-search-page .color-search-submit-button { width: 100%;
		font-size: 11px;
		line-height: 14px;
		padding: 10px 9px; }
}
@media only screen and (max-width: 991px) {
  .color-search-page .color-search-submit-button { width: 100%;
		font-size: 11px;
		line-height: 14px;
		padding: 10px 9px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .color-search-page .color-search-submit-button { font-size: 10px;
		padding: 10px 6px; }
}
