.product-page { background: #fff; }
.product-page .site-header {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.product-main { padding-top: var(--header-height); }
.product-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 51% 48%, rgba(227, 27, 35, 0.025), transparent 18%),
    linear-gradient(112deg, #fff 0%, #fff 58%, #fafaf8 100%);
  padding: clamp(20px, 2vw, 32px) clamp(22px, 6vw, 96px) clamp(20px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}
.product-intro > .eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
}
.product-intro > .eyebrow::before { content: ""; width: 24px; height: 2px; background: #e31b23; }
.product-intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 48px;
}
.product-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.product-intro__content > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
}
.catalog { min-height: 100vh; padding-bottom: clamp(80px, 9vw, 140px); scroll-margin-top: var(--header-height); }
.catalog-layout {
  display: grid;
  grid-template-columns: clamp(340px, 23vw, 430px) minmax(0, 1fr);
  align-items: start;
}
.catalog-content { min-width: 0; }
.brand-filter {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 44px clamp(30px, 3vw, 48px) 46px clamp(38px, 4vw, 68px);
  border-right: 1px solid var(--line);
}
.brand-filter > .eyebrow { margin-bottom: 25px; font-size: 11px; }
.brand-filter__title { margin-top: 28px; }
.brand-reset,
.brand-options label {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #666;
  text-align: left;
  font-size: 15px;
  font-family: var(--font-base);
  cursor: pointer;
  transition: color 160ms ease;
}
.brand-reset {
  padding: 4px 0 6px;
  border: 0;
  position: relative;
}
.brand-reset:hover {
  color: #111;
}
.brand-reset span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-reset span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #d8d8d4;
  transition: background 180ms ease, transform 180ms ease;
}
.brand-reset.is-active {
  color: #111;
  font-weight: 700;
}
.brand-reset.is-active span::before {
  background: #e31b23;
  transform: scale(1.15);
}
.brand-reset small,
.brand-options small {
  color: #999;
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.brand-options {
  margin-top: 4px;
}
.brand-options label {
  position: relative;
}
.brand-options label:hover,
.brand-options label:has(input:focus-visible),
.brand-options label:has(input:checked) {
  color: #111;
}
.brand-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.brand-options label:has(input:checked) span {
  font-weight: 600;
  color: #111;
}
.brand-options label:has(input:checked) span::before {
  content: "✓";
  margin-right: 6px;
  color: #e31b23;
  font-weight: 700;
}
.product-family {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}
.product-family:first-of-type {
  margin-top: 4px;
}
.product-family__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.product-family__toggle {
  position: relative;
  flex: 1;
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  color: #555;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms ease;
}
.product-family__toggle:hover {
  color: #111;
}
.product-family__toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.product-family__toggle span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-family__toggle span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #d8d8d4;
  transition: background 180ms ease, transform 180ms ease;
}
.product-family__toggle:has(input:checked) {
  color: #111;
  font-weight: 700;
}
.product-family__toggle:has(input:checked) span::before {
  background: #e31b23;
  transform: scale(1.15);
}
.product-family__toggle:has(input:focus-visible) {
  outline: 1px solid #bbb;
  outline-offset: 3px;
}
.product-family__toggle small {
  color: #999;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.family-accordion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #999;
  border-radius: 4px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.family-accordion-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}
.accordion-chevron {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-family.is-open .accordion-chevron {
  transform: rotate(180deg);
}
.product-family:not(.is-open) .accordion-chevron {
  transform: rotate(0deg);
}

.brand-options--nested {
  position: relative;
  margin: 2px 0 8px 16px;
  padding-left: 14px;
  border-left: 1px solid #e8e8e4;
  transition: max-height 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease, margin 240ms ease;
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}
.brand-options--nested label {
  min-height: 32px;
  font-size: 13.5px;
  color: #666;
}
.brand-options--nested label:hover {
  color: #111;
}
.product-family:not(.is-open) .brand-options--nested {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
  min-height: 68px;
  padding: 0 clamp(20px, 3.2vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.catalog-filters {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Individual Dropdown Containers */
.filter-dropdown {
  position: relative;
}
.filter-btn {
  height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-btn:hover {
  background: #f7f7f5;
  border-color: rgba(0, 0, 0, 0.22);
  color: #111111;
}
.filter-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.filter-btn[aria-expanded="true"] {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.filter-btn__indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.65;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 150ms ease;
}
.filter-btn[aria-expanded="true"] .filter-btn__indicator {
  transform: rotate(45deg);
  opacity: 1;
}
.filter-btn.has-filters {
  border-color: #111111;
  color: #111111;
  font-weight: 700;
}
.filter-btn.has-filters .filter-btn__indicator {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e31b23;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  opacity: 1;
  transform: none !important;
}

/* Floating Popover Dropdown */
.filter-dropdown__popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px;
  animation: popoverReveal 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-dropdown__popover[hidden] {
  display: none !important;
}
@keyframes popoverReveal {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.filter-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filter-dropdown__list label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #444444;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
  user-select: none;
}
.filter-dropdown__list label:hover {
  background: #f4f4f1;
  color: #111111;
}
.filter-dropdown__list label:has(input:checked) {
  background: #fafaf8;
  color: #111111;
  font-weight: 600;
}

/* Custom UI/UX Checkboxes */
.filter-dropdown__list input[type="checkbox"],
.mega-filter-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1.5px solid #c8c8c4;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 150ms ease;
}
.filter-dropdown__list label:hover input[type="checkbox"],
.mega-filter-list label:hover input[type="checkbox"] {
  border-color: #666666;
}
.filter-dropdown__list input[type="checkbox"]:checked,
.mega-filter-list input[type="checkbox"]:checked {
  background: #111111;
  border-color: #111111;
}
.filter-dropdown__list input[type="checkbox"]:checked::after,
.mega-filter-list input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4.5px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mega Dropdown for More Filters / Advanced Specifications */
.filter-dropdown--mega {
  position: static;
}
.filter-dropdown__popover--mega {
  position: absolute;
  top: calc(100% + 8px);
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 50px -8px rgba(0, 0, 0, 0.14), 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 26px clamp(24px, 3.5vw, 44px) 22px;
  box-sizing: border-box;
}

.mega-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mega-filter-header .eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
}
.mega-close-trigger {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #888888;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease;
}
.mega-close-trigger:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
}

.mega-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.mega-filter-col {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.mega-filter-col legend {
  font-family: var(--font-display, var(--font-base));
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mega-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-filter-list label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #555555;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 140ms ease;
  user-select: none;
}
.mega-filter-list label:hover {
  background: #f5f5f3;
  color: #111111;
}
.mega-filter-list label:has(input:checked) {
  background: #fafaf8;
  color: #111111;
}

.mega-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mega-btn-clear,
.mega-btn-apply {
  height: 38px;
  padding: 0 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 180ms ease;
}
.mega-btn-clear {
  border: 0;
  background: transparent;
  color: #666666;
}
.mega-btn-clear:hover {
  background: #f0f0ed;
  color: #111111;
}
.mega-btn-apply {
  border: 0;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.mega-btn-apply:hover {
  background: #e31b23;
  box-shadow: 0 6px 18px rgba(227, 27, 35, 0.32);
  transform: translateY(-1px);
}

.catalog-view { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.catalog-view > span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
}
.view-switch { display: flex; align-items: center; gap: 6px; }
.view-switch > span { margin-right: 3px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.view-switch button {
  min-width: 29px;
  height: 29px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #888;
  font-size: 12px;
  cursor: pointer;
}
.view-switch button:hover,
.view-switch button:focus-visible { color: #111; border-color: #bbb; outline: none; }
.view-switch button.is-active { color: #fff; background: #111; border-color: #111; }

.active-filters {
  min-height: 1px;
  padding: 0 clamp(20px, 3.2vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.active-filters:not(:empty) { padding-top: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.filter-chip {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d7d7d2;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 10px;
  cursor: pointer;
}
.filter-chip i { color: #111; font-size: 14px; font-style: normal; line-height: 1; }

/* Product Grid & Square Card Styling */
.product-grid {
  padding: clamp(28px, 3.5vw, 54px) clamp(18px, 3vw, 48px) 0;
  display: grid;
  gap: clamp(30px, 4vw, 62px) clamp(14px, 2vw, 30px);
  transition: grid-template-columns 240ms ease;
}
.product-grid.grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card[hidden] { display: none; }
.product-card a {
  display: block;
  text-decoration: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 350ms cubic-bezier(0.22, 1, 0.36, 1), transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  box-shadow: none;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-card__media {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.11);
}
.product-card:hover .product-card__media img {
  transform: scale(1.03);
}
.product-card__compare-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  color: #111;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.product-card:hover .product-card__compare-btn,
.product-card a:focus-visible .product-card__compare-btn,
.product-card__compare-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.product-card__compare-btn:hover {
  background: #111;
  border-color: #111;
  color: #ffffff;
  transform: scale(1.08) translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.product-card__compare-btn.is-in-compare {
  background: #e31b23 !important;
  border-color: #e31b23 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 16px rgba(227, 27, 35, 0.45);
}
.product-card__compare-btn.is-in-compare:hover {
  background: #c7141b !important;
  border-color: #c7141b !important;
  transform: scale(1.1) translateY(0);
}
.product-card a:focus-visible { outline: none; }
.product-card a:focus-visible .product-card__media { outline: 2px solid #111; outline-offset: 3px; }
.product-card__info { padding-top: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-card__info > div { min-width: 0; }
.product-card__info p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-card__info h2 { margin: 0; font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 20px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: #111; }
.product-card__info > p { max-width: 155px; text-align: right; }
.catalog-view-wrapper .product-card__size { margin-top: 2px; }
.detail-related-section .product-card__info { display: block; }
.detail-related-section .product-card__size { margin-top: 4px; }
.catalog-empty { padding: 100px 22px; text-align: center; color: var(--muted); font-size: 15px; }
.product-page .footer { border-top: 1px solid var(--line); }

@media (max-width: 1180px) {
  .catalog-layout { grid-template-columns: 290px minmax(0, 1fr); }
  .brand-filter { padding-left: 32px; padding-right: 30px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 0; }
  .catalog-filters { overflow-x: auto; scrollbar-width: none; }
  .catalog-filters::-webkit-scrollbar { display: none; }
  .filter-btn { min-height: 60px; }
  .catalog-view { min-height: 50px; justify-content: space-between; border-top: 1px solid var(--line); }
  .mega-filter-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 860px) {
  .product-page .site-header { background: rgba(255, 255, 255, 0.94); }
  .product-intro { padding-top: 44px; }
  .product-intro__content { grid-template-columns: 1fr; gap: 28px; }
  .product-intro h1 { font-size: clamp(34px, 8vw, 46px); line-height: 0.96; }
  .product-intro__content > p { max-width: 540px; }
  .catalog-layout { display: block; }
  .brand-filter {
    position: static;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-filter > .eyebrow { margin-bottom: 13px; }
  .brand-filter__title { margin-top: 18px; padding-top: 18px; }
  .product-family { margin-top: 15px; padding-top: 15px; }
  .product-family__toggle { min-height: 42px; font-size: 19px; }
  .brand-options--nested {
    max-width: 100%;
    margin: 8px 0 0;
    padding: 0 0 4px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    vertical-align: initial;
  }
  .brand-options--nested::before { display: none; }
  .brand-reset,
  .brand-options label { width: auto; min-height: 34px; padding: 0 12px; border: 1px solid #d6d6d1; border-radius: 999px; }
  .brand-reset { display: inline-grid; }
  .brand-reset::before { display: none; }
  .brand-options { margin: 0 0 0 6px; display: inline-flex; gap: 6px; vertical-align: top; overflow-x: auto; max-width: calc(100% - 115px); }
  .brand-filter .brand-options--nested { max-width: 100%; margin: 8px 0 0; padding-bottom: 4px; display: flex; vertical-align: initial; }
  .brand-options label { min-width: max-content; grid-template-columns: auto auto; }
  .brand-options label:has(input:checked) { color: #fff; background: #111; border-color: #111; }
  .brand-options label:has(input:checked) span::before { display: none; }
  .catalog-toolbar { top: var(--header-height); padding-inline: 18px; }
  .product-grid.grid--four,
  .product-grid.grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid.grid--two { grid-template-columns: 1fr; }
  .product-card__info { display: block; }
  .product-card__info > p { max-width: none; margin-top: 6px; text-align: left; }
}
@media (max-width: 560px) {
  .product-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(112deg, #fff 0%, #fff 58%, #fafaf8 100%);
    padding: 38px 20px 46px;
  }
  .product-intro > .eyebrow { margin-bottom: 20px; }
  .product-intro h1 { font-size: clamp(32px, 9vw, 42px); }
  .brand-filter { padding-inline: 16px; }
  .catalog-toolbar { padding-inline: 14px; }
  .catalog-filters { gap: 21px; }
  .filter-btn { min-height: 56px; font-size: 10px; }
  .catalog-view > span { font-size: 9px; }
  .filter-dropdown__popover--mega { padding: 20px 16px; }
  .mega-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .mega-filter-col legend { font-size: 16px; }
  .mega-filter-actions { padding: 14px 0 0; display: grid; grid-template-columns: 0.8fr 1.2fr; }
  .mega-btn-clear, .mega-btn-apply { min-width: 0; padding-inline: 10px; }
  .active-filters { padding-inline: 14px; }
  .product-grid { padding: 24px 10px 0; gap: 34px 10px; }
  .product-card__info { padding: 12px 3px 0; }
  .product-card__info h2 { font-size: 19px; }
}

/* ==========================================================================
   CONCORD PRODUCT DETAIL VIEW
   Matching Concord Architectural Typography & Design Language
   ========================================================================== */
.product-detail-view {
  display: block;
  background: #fff;
  min-height: auto;
  padding-bottom: clamp(32px, 5vw, 64px);
  animation: detailFadeIn 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.product-detail-view[hidden] {
  display: none !important;
}
@keyframes detailFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product Detail View - Full 1-Viewport Hero Section */
.product-detail-view {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

/* Top Bar: Clean Concord Breadcrumbs & Back Action */
.detail-top-bar {
  padding: 12px clamp(16px, 3.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
  width: 100%;
  box-sizing: border-box;
}
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.detail-breadcrumbs .bc-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #666;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease;
}
.detail-breadcrumbs .bc-link:hover {
  color: #111;
  text-decoration: underline;
}
.detail-breadcrumbs .bc-sep {
  color: #ccc;
  font-size: 11px;
}
.detail-breadcrumbs .bc-current {
  color: #111;
  font-weight: 700;
}
.detail-back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.detail-back-button:hover {
  background: #e31b23;
  border-color: #e31b23;
  color: #fff;
  transform: translateX(-2px);
}

/* 2-Column Hero Grid - Aligned to top of media showcase */
.detail-hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(360px, clamp(420px, 46vw, 600px)) minmax(360px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(14px, 2.2vh, 32px) clamp(16px, 3.5vw, 56px);
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
  box-sizing: border-box;
}

/* Left: Interactive Media Column */
.detail-media-column {
  min-width: 0;
  display: flex;
  justify-content: center;
}
.detail-image-viewer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 600px;
}
.viewer-media-card {
  --tile-display-width: 100%;
  --tile-display-height: 100%;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: min(600px, calc(100vh - var(--header-height) - 140px));
  max-width: 600px;
  background: transparent;
  border: 1px solid transparent;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: box-shadow 250ms ease, border-color 250ms ease;
  border-radius: 4px;
}
.viewer-media-card:hover {
  box-shadow: none;
  border-color: transparent;
}
.viewer-display-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease, filter 240ms ease;
  will-change: opacity, transform, filter;
}
.viewer-media-card:not(.is-interior-view) .viewer-display-img {
  width: var(--tile-display-width);
  height: var(--tile-display-height);
}
.viewer-media-card.is-interior-view .viewer-display-img {
  width: 100%;
  height: 100%;
}
.viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.viewer-arrow--previous { left: 12px; }
.viewer-arrow--next { right: 12px; }
.viewer-arrow:hover,
.viewer-arrow:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.05);
}
.viewer-media-card:hover .viewer-display-img {
  transform: scale(1.02);
}
/* Silky cross-dissolve morph effect during view toggle */
.viewer-display-img.is-morphing {
  opacity: 0.35;
  filter: blur(3px);
  transform: scale(0.985);
}

/* Floating Status Badge (Top-Left) */
.viewer-mode-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 3;
}
.viewer-mode-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e31b23;
  box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.25);
}

/* Minimalist Capsule Toggle Switch */
.image-toggle-control {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease;
  user-select: none;
}
.image-toggle-control:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}
.image-toggle-switch {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  outline: none;
}
.switch-track {
  width: 36px;
  height: 19px;
  border: 1.8px solid #e31b23;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 1.5px;
  box-sizing: border-box;
  background: transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}
.switch-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e31b23;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 200ms ease;
  transform: translateX(0);
}

/* ACTIVE STATE: Only the inner track turns solid red, knob turns white, outer pill stays white */
.image-toggle-control.is-active .switch-track,
.image-toggle-control:has(.image-toggle-switch[aria-checked="true"]) .switch-track {
  background: #e31b23;
  border-color: #e31b23;
}
.image-toggle-control.is-active .switch-knob,
.image-toggle-switch[aria-checked="true"] .switch-knob {
  background: #ffffff;
  transform: translateX(17px);
}

/* Floating Room Tabs (Inside Media Card at Bottom-Left with Zero Layout Shift) */
.viewer-floating-room-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  z-index: 4;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms;
}
.viewer-floating-room-bar.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}
.compact-room-title {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 2px;
}
.compact-room-btn {
  padding: 3px 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  color: #555;
  border-radius: 999px;
  cursor: pointer;
  transition: all 140ms ease;
}
.compact-room-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}
.compact-room-btn.is-active {
  background: #111;
  color: #fff;
}

/* Right: Information & Spec Column - Concord Typography */
.detail-info-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 640px;
  padding-top: 0;
}
.detail-info-header {
  margin-bottom: 0;
}
.detail-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e31b23;
  margin-top: 0;
  margin-bottom: 12px;
}
.detail-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #e31b23;
}
.detail-product-title {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #111;
}
.detail-product-tagline {
  margin: 0 0 20px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.detail-product-desc {
  margin: 0 0 24px;
  color: #4b4b4b;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  max-width: 620px;
}

/* Specification Table - Clean Architectural Section */
.detail-spec-container {
  margin-bottom: 20px;
}
.detail-spec-heading {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid #111;
}
.detail-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.detail-spec-group--technical {
  padding-top: 14px;
  border-top: 1px solid #111;
}
.detail-spec-subheading {
  margin: 0 0 5px;
  color: #111;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.detail-spec-table--secondary {
  border-left: 0;
}
.detail-spec-table tr {
  border-bottom: 1px solid #ebebe6;
}
.detail-spec-table tr:last-child {
  border-bottom: none;
}
.detail-spec-table td {
  padding: 6px 0;
  vertical-align: middle;
}
.detail-spec-table td:first-child {
  width: 32%;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.detail-spec-table td:last-child {
  padding-left: 12px;
  color: #111;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

/* CTA Action Buttons - Concord Architectural Button System */
.detail-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.detail-cta-primary,
.detail-cta-secondary,
.detail-cta-compare {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
  flex: 1;
  min-width: 140px;
  white-space: nowrap;
}
.detail-cta-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}
.detail-cta-primary:hover {
  background: #e31b23;
  border-color: #e31b23;
  color: #fff;
}
.detail-cta-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}
.detail-cta-secondary:hover {
  background: #111;
  color: #fff;
}
.detail-cta-compare {
  background: #fafaf8;
  color: #111;
  border: 1px solid #111;
}
.detail-cta-compare:hover {
  background: #111;
  color: #fff;
}
.detail-cta-compare.is-in-compare {
  background: #e31b23;
  border-color: #e31b23;
  color: #fff;
}

/* Shareable product catalogue card */
.detail-share-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-share-status {
  margin: 0;
  color: #555;
  font-size: 9.5px;
}
.detail-share-button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}
.detail-share-button:hover {
  border-color: #e31b23;
  background: #e31b23;
}
.detail-share-button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* Interior Application Section */
.detail-interior-section {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
}
.detail-section-header {
  margin-bottom: 18px;
}
.detail-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.detail-section-header p {
  color: #777;
  font-size: 12.5px;
  margin: 0;
}
.detail-interior-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.interior-preview-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: all 220ms ease;
  border-radius: 4px;
}
.interior-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #999;
}
.interior-preview-card.is-active {
  border: 2px solid #111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.interior-preview-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.interior-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.interior-preview-card:hover .interior-preview-media img {
  transform: scale(1.04);
}
.interior-preview-media .preview-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 6px;
  border-radius: 2px;
}
.interior-preview-info {
  padding: 12px;
}
.interior-preview-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.interior-preview-info p {
  margin: 0 0 8px;
  color: #666;
  font-size: 11px;
  line-height: 1.4;
}
.preview-link-hint {
  font-size: 10px;
  font-weight: 700;
  color: #e31b23;
  display: inline-block;
}

/* Related Collections Section */
.detail-related-section {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 48px);
}

/* Responsive Styles for Detail View */
@media (max-width: 900px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .viewer-media-card {
    max-width: 100%;
    max-height: 380px;
  }
  .detail-interior-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .detail-top-bar {
    padding: 10px 16px;
  }
  .detail-back-button {
    display: none !important;
  }
  .detail-spec-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-share-card {
    display: block;
  }
  .detail-share-button {
    width: 100%;
  }
  .detail-share-status {
    margin-top: 7px;
  }
}

/* ==========================================================================
   FLOATING COMPARISON TRAY
   ========================================================================== */
.compare-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 1000;
  width: min(1080px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease, visibility 300ms;
}
.compare-floating-bar.is-hidden {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.compare-bar-inner {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
}
.compare-bar-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-bar-badge {
  background: #e31b23;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.compare-bar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111;
}
.compare-bar-header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.compare-bar-clear {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 150ms ease;
}
.compare-bar-clear:hover {
  color: #e31b23;
}
.compare-bar-minimize {
  border: 0;
  background: #ebebeb;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #333;
  transition: all 180ms ease;
}
.compare-bar-minimize:hover {
  background: #111;
  color: #fff;
}

/* Minimized Compare Floating Pill */
.compare-minimized-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 999;
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.compare-minimized-pill:hover {
  background: #e31b23;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 18px 40px rgba(227, 27, 35, 0.4);
}
.compare-minimized-pill.is-hidden {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.compare-minimized-pill .pill-badge {
  background: #e31b23;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  transition: all 180ms ease;
}
.compare-minimized-pill:hover .pill-badge {
  background: #ffffff;
  color: #e31b23;
}
.compare-slots-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compare-slot {
  position: relative;
  background: #f8f8f6;
  border: 1px solid #deded8;
  border-radius: 8px;
  padding: 12px 16px;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}
.compare-slot.is-empty {
  border: 2px dashed #bbb;
  background: transparent;
  cursor: pointer;
  justify-content: center;
  transition: all 180ms ease;
}
.compare-slot.is-empty:hover {
  border-color: #111;
  background: rgba(0, 0, 0, 0.04);
}
.compare-slot-empty-btn {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
  cursor: pointer;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.compare-slot-media {
  width: 68px;
  height: 68px;
  background: #ebebeb;
  display: grid;
  place-items: center;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  flex-shrink: 0;
}
.compare-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-slot[data-size="25x50"] .compare-slot-img,
.compare-slot[data-size="60x120"] .compare-slot-img {
  width: 50%;
  height: 100%;
}
.compare-slot-info {
  flex: 1;
  min-width: 0;
}
.compare-slot-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e31b23;
  margin: 0 0 3px;
}
.compare-slot-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #111;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.compare-slot-size {
  font-size: 12.5px;
  color: #666;
  margin: 0;
  font-weight: 500;
}
.compare-slot-remove {
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
  color: #555;
  transition: all 150ms ease;
  flex-shrink: 0;
}
.compare-slot-remove:hover {
  background: #e31b23;
  color: #fff;
}
.compare-bar-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.compare-launch-btn {
  min-height: 50px;
  padding: 0 28px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 180ms ease;
  width: 100%;
  justify-content: center;
  border-radius: 6px;
}
.compare-launch-btn:hover:not(:disabled) {
  background: #e31b23;
  border-color: #e31b23;
}
.compare-launch-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   COMPARISON MODALS (Matrix Backdrop: 2000, Picker Backdrop: 3000)
   ========================================================================== */
.compare-matrix-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.compare-picker-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 3000; /* Higher than matrix backdrop so picker opens in front! */
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.compare-picker-backdrop.is-hidden,
.compare-matrix-backdrop.is-hidden {
  display: none !important;
}
.compare-picker-modal {
  background: #ffffff;
  width: min(880px, 96vw);
  height: min(85vh, 650px);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 240ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 3001;
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.picker-modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.picker-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e31b23;
  margin: 0 0 2px;
}
.picker-modal-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.picker-close-btn,
.matrix-close-btn {
  border: 0;
  background: #f0f0ed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #333;
  transition: all 150ms ease;
}
.picker-close-btn:hover,
.matrix-close-btn:hover {
  background: #e31b23;
  color: #fff;
}
.picker-search-bar {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
  flex-shrink: 0;
}
.picker-search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}
.picker-brand-tabs {
  padding: 12px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  flex-shrink: 0;
}
.picker-tab {
  padding: 6px 14px;
  border: 1px solid #deded8;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}
.picker-tab:hover {
  border-color: #111;
}
.picker-tab.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.picker-grid {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 280px;
  background: #fdfdfc;
  align-content: start;
}
.picker-card {
  background: #fff;
  border: 1px solid #e6e6e0;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 180ms ease;
  position: relative;
  text-align: left;
}
.picker-card:hover:not(.is-selected) {
  border-color: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.picker-card.is-selected {
  opacity: 0.55;
  cursor: not-allowed;
  background: #fafaf8;
}
.picker-card-img-wrap {
  aspect-ratio: 1 / 1;
  background: #f4f4f1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6%;
}
.picker-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.picker-card[data-size="25x50"] .picker-card-img-wrap img,
.picker-card[data-size="60x120"] .picker-card-img-wrap img {
  width: 50%;
  height: 100%;
}
.picker-card-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e31b23;
  margin: 0;
}
.picker-card-name {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: #111;
}
.picker-card-meta {
  font-size: 10.5px;
  color: #777;
  margin: 0;
}
.picker-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   FULLSCREEN SIDE-BY-SIDE MATRIX MODAL
   ========================================================================== */
.compare-matrix-modal {
  background: #ffffff;
  width: min(1200px, 98vw);
  max-height: 94vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.matrix-modal-header {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
  gap: 16px;
  flex-wrap: wrap;
}
.matrix-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e31b23;
  display: block;
  margin-bottom: 3px;
}
.matrix-modal-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #111;
}
.matrix-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.matrix-modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   LARGE VISUAL MOTIFS SHOWCASE (WIDE & IMPACTFUL)
   -------------------------------------------------------------------------- */
.compare-visual-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.visual-card {
  background: #ffffff;
  border: 1px solid #e2e2dd;
  border-radius: 8px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 200ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.visual-card:hover {
  border-color: #bbb;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.visual-card--main {
  border: 2px solid #111111;
  background: #ffffff;
}
.visual-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e31b23;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.visual-card-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e31b23;
}
.visual-card--comp .visual-card-tag {
  color: #555;
}
.visual-card--comp .visual-card-tag::before {
  background: #888;
}
.visual-card-media {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  margin-bottom: 16px;
  box-sizing: border-box;
  cursor: default;
}
.visual-card--comp .visual-card-media {
  cursor: pointer;
}
.visual-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.visual-card--comp:hover .visual-card-media img {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}
.visual-card[data-size="25x50"] .visual-card-media img,
.visual-card[data-size="60x120"] .visual-card-media img {
  width: 50%;
  height: 100%;
}
.visual-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  width: 100%;
}
.visual-card-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e31b23;
  margin: 0 0 4px;
}
.visual-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  line-height: 1.25;
}
.visual-card-meta {
  font-size: 12.5px;
  color: #666;
  margin: 0;
  font-weight: 500;
}
.visual-card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  justify-content: center;
  flex-wrap: wrap;
}
.visual-btn-change {
  flex: 1;
  min-height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border: 1.5px solid #111;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.visual-btn-change:hover {
  background: #e31b23;
  border-color: #e31b23;
  color: #fff;
}
.visual-btn-view {
  min-height: 38px;
  padding: 0 14px;
  background: #111;
  color: #fff;
  border: 1.5px solid #111;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.visual-btn-view:hover {
  background: #e31b23;
  border-color: #e31b23;
}
.visual-btn-remove {
  width: 38px;
  height: 38px;
  background: #f0f0ed;
  border: 1px solid #d4d4ce;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 180ms ease;
  color: #555;
}
.visual-btn-remove:hover {
  background: #e31b23;
  color: #fff;
  border-color: #e31b23;
}
.visual-card--add {
  border: 2px dashed #bbb;
  background: transparent;
  cursor: pointer;
  justify-content: center;
  min-height: 380px;
}
.visual-card--add:hover {
  border-color: #111;
  background: rgba(0, 0, 0, 0.03);
}
.visual-add-btn {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.visual-card--add:hover .visual-add-btn {
  color: #111;
}

/* --------------------------------------------------------------------------
   COLLAPSIBLE TECHNICAL SPECIFICATIONS ACCORDION
   -------------------------------------------------------------------------- */
.compare-spec-accordion {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.compare-spec-toggle-btn {
  width: 100%;
  min-height: 48px;
  background: #fafaf8;
  border: 1px solid #deded8;
  border-radius: 6px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #222;
  transition: all 180ms ease;
}
.compare-spec-toggle-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.spec-toggle-chevron {
  transition: transform 220ms ease;
}
.compare-spec-toggle-btn.is-active .spec-toggle-chevron {
  transform: rotate(180deg);
}
.compare-spec-drawer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-spec-drawer.is-hidden {
  display: none;
}
.compare-spec-diff-bar {
  display: flex;
  justify-content: flex-end;
}
.matrix-diff-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  user-select: none;
}
.matrix-diff-toggle input {
  accent-color: #e31b23;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.matrix-table th,
.matrix-table td {
  padding: 12px 16px;
  border: 1px solid #e8e8e3;
  vertical-align: middle;
  text-align: left;
}
.matrix-table th.matrix-label-col,
.matrix-table td.matrix-label-col {
  width: 180px;
  background: #fafaf8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}
.matrix-diff-row td:not(.matrix-label-col) {
  background: rgba(227, 27, 35, 0.04);
  font-weight: 600;
  color: #111;
}
.matrix-diff-row td.matrix-label-col {
  color: #e31b23;
}

@media (max-width: 900px) {
  .compare-visual-showcase {
    grid-template-columns: 1fr;
  }
}
