/* ============================================================
   DRIVURA Products — Category & Detail Page Styles
   Sidebar, product grids, breadcrumbs, detail layouts
   ============================================================ */

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--space-4) 0;
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-in-out);
}

.breadcrumb a:hover {
  color: var(--brand-primary);
}

.breadcrumb__sep {
  color: var(--text-tertiary);
  opacity: 0.5;
  font-size: var(--fs-xs);
}

.breadcrumb__current {
  color: var(--brand-primary);
  font-weight: var(--fw-semibold);
}

/* ── Category Page Layout ── */
.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-12);
  min-height: 60vh;
}

/* ── Sidebar ── */
.category-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  padding-right: var(--space-4);
  border-right: var(--border-subtle);
}

.category-sidebar__title {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  padding: var(--space-3) 0;
  margin-bottom: var(--space-2);
  border-bottom: 2px solid var(--brand-primary);
}

.sidebar-accordion {
  border-bottom: var(--border-subtle);
}

.sidebar-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-fast) var(--ease-in-out);
}

.sidebar-accordion__toggle:hover {
  color: var(--brand-primary);
}

.sidebar-accordion__toggle svg {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.sidebar-accordion__toggle.expanded svg {
  transform: rotate(180deg);
}

.sidebar-accordion__toggle.expanded {
  color: var(--brand-primary);
}

.sidebar-accordion__links {
  display: none;
  flex-direction: column;
  padding-bottom: var(--space-3);
}

.sidebar-accordion__links.active {
  display: flex;
}

.sidebar-accordion__link {
  display: block;
  padding: 6px 0 6px var(--space-4);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-in-out);
  border-left: 2px solid transparent;
}

.sidebar-accordion__link:hover {
  color: var(--brand-primary);
  border-left-color: var(--brand-primary);
  padding-left: var(--space-5);
}

.sidebar-accordion__link--active {
  color: var(--brand-primary);
  font-weight: var(--fw-semibold);
  border-left-color: var(--brand-primary);
  background: rgba(0, 210, 255, 0.08);
  box-shadow: inset 2px 0 8px rgba(0, 210, 255, 0.15);
}

/* ── Category Content ── */
.category-content {
  padding-left: var(--space-4);
}

.category-content__header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-subtle);
}

.category-content__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.category-content__desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 640px;
}

/* ── Category Product Grid ── */
.cat-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-5);
}

/* ── Category Product Card ── */
.cat-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.cat-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 144, 201, 0.15);
}

.cat-product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: var(--surface-card);
  overflow: hidden;
}

.cat-product-card__image img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.cat-product-card:hover .cat-product-card__image img {
  transform: scale(1.08);
}

.cat-product-card__body {
  width: 100%;
  padding: var(--space-4);
}

.cat-product-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  line-height: 1.4;
  margin-bottom: var(--space-2);
  min-height: 2.8em;
}

.cat-product-card__sub {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-3);
}

.cat-product-card__btn {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  text-align: center;
  color: var(--surface-body);
  background: var(--gradient-gold);
  border: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.cat-product-card__btn:hover {
  filter: brightness(1.1);
}

/* ── Product Detail Page ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding: var(--space-6) 0 var(--space-12);
  align-items: start;
}

.product-detail__image-wrap {
  position: sticky;
  top: 100px;
  background: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image-wrap img {
  max-width: 85%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
}

.product-detail__info {
  padding-top: var(--space-4);
}

.product-detail__brand {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.product-detail__name {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-4);
}

.product-detail__type {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.product-detail__type--petrol {
  background: var(--petrol-bg);
  color: var(--petrol-accent);
}

.product-detail__type--diesel {
  background: var(--diesel-bg);
  color: var(--diesel-accent);
}

.product-detail__specs-table {
  width: 100%;
  margin-bottom: var(--space-6);
  border-collapse: collapse;
}

.product-detail__specs-table tr {
  border-bottom: var(--border-subtle);
}

.product-detail__specs-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small);
}

.product-detail__specs-table td:first-child {
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  width: 40%;
}

.product-detail__specs-table td:last-child {
  color: var(--text-secondary);
}

.product-detail__features {
  margin-bottom: var(--space-6);
}

.product-detail__features-title {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.product-detail__features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-detail__features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-detail__features-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  margin-top: 7px;
  flex-shrink: 0;
}

.product-detail__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── Placeholder Page ── */
.placeholder-content {
  text-align: center;
  padding: var(--space-12) var(--space-5);
}

.placeholder-content__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-5);
  color: var(--text-tertiary);
  opacity: 0.4;
}

.placeholder-content__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.placeholder-content__text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-5);
}


/* ============================================================
   Product Table Layout (Reference-Style Pages)
   Sidebar + Table + Image Area
   ============================================================ */

/* ── Table Page Layout ── */
.category-table-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  min-height: 60vh;
}

/* ── Sidebar with Icons ── */
.cat-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  background: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.cat-sidebar__title {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 2px solid var(--brand-primary);
}

/* Sidebar category group */
.cat-sidebar__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-sidebar__group:last-child {
  border-bottom: none;
}

.cat-sidebar__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--duration-fast) var(--ease-in-out);
}

.cat-sidebar__toggle:hover {
  color: var(--brand-primary);
}

.cat-sidebar__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-sidebar__icon--automotive {
  background: rgba(0, 144, 201, 0.08);
  color: #0090C9;
}

.cat-sidebar__icon--industrial {
  background: rgba(234, 138, 30, 0.08);
  color: #EA8A1E;
}

.cat-sidebar__icon--coolant {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

.cat-sidebar__icon--greases {
  background: rgba(139, 92, 246, 0.08);
  color: #8B5CF6;
}

.cat-sidebar__icon svg {
  width: 20px;
  height: 20px;
}

.cat-sidebar__label {
  flex: 1;
  min-width: 0;
}

.cat-sidebar__label-name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.3;
  display: block;
}

.cat-sidebar__label-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  display: block;
  margin-top: 1px;
}

.cat-sidebar__chevron {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.cat-sidebar__toggle.expanded .cat-sidebar__chevron {
  transform: rotate(180deg);
}

.cat-sidebar__toggle.expanded .cat-sidebar__label-name {
  color: var(--brand-primary);
}

.cat-sidebar__links {
  display: none;
  flex-direction: column;
  padding: 0 0 var(--space-3) calc(36px + 12px);
}

.cat-sidebar__links.active {
  display: flex;
}

.cat-sidebar__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-in-out);
}

.cat-sidebar__link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--text-tertiary);
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-in-out);
}

.cat-sidebar__link:hover {
  color: var(--brand-primary);
  background: rgba(0, 144, 201, 0.04);
}

.cat-sidebar__link:hover::before {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.cat-sidebar__link--active {
  color: #FFFFFF;
  background: var(--brand-primary);
  font-weight: var(--fw-semibold);
}

.cat-sidebar__link--active::before {
  border-color: #FFFFFF;
  background: #FFFFFF;
}

.cat-sidebar__link--active:hover {
  color: #FFFFFF;
  background: var(--brand-primary);
}


/* ── Table Content Area ── */
.cat-table-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.cat-table-content__header {
  margin-bottom: 0;
}

.cat-table-content__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-2);
}

.cat-table-content__desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
}

/* ── Table + Image Grid ── */
.cat-table-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: var(--space-6);
  align-items: start;
}

/* ── Product Table ── */
.product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.product-table thead {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.18) 0%, rgba(0, 144, 201, 0.28) 100%);
  border-bottom: 1px solid rgba(0, 210, 255, 0.3);
}

.product-table thead th {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  text-align: left;
  border: none;
  border-bottom: 1px solid rgba(0, 210, 255, 0.25);
}

.product-table thead th:first-child {
  width: 40px;
  text-align: center;
}

.product-table tbody tr:not(.table-section-row) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--duration-fast) var(--ease-in-out);
  cursor: pointer;
}

.product-table tbody tr:not(.table-section-row):last-child {
  border-bottom: none;
}

.product-table tbody tr:not(.table-section-row):hover {
  background: rgba(0, 210, 255, 0.08);
}

.product-table tbody tr.product-row--active {
  background: rgba(0, 210, 255, 0.14) !important;
  box-shadow: inset 4px 0 0 var(--brand-primary), 0 0 15px rgba(0, 210, 255, 0.08);
}

.product-table tbody tr.product-row--active td {
  color: var(--brand-primary) !important;
  font-weight: var(--fw-bold) !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

.product-table tbody td {
  padding: 10px var(--space-4);
  font-size: var(--fs-small);
  color: var(--text-primary);
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.product-table tbody td:first-child {
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  width: 40px;
}

.product-table tbody td:nth-child(2) {
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.product-table tbody td:nth-child(3) {
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
}

/* Section divider row in table */
.product-table .table-section-row td {
  background: rgba(255, 179, 0, 0.08);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--brand-secondary);
  text-shadow: 0 0 10px rgba(255, 179, 0, 0.3);
  padding: var(--space-2) var(--space-4);
  border-top: 1px solid rgba(255, 179, 0, 0.25);
  border-bottom: 1px solid rgba(255, 179, 0, 0.15);
  cursor: default;
}

/* ── Product Showcase Area (Dual Front + Back) ── */
.product-image-area {
  position: sticky;
  top: 100px;
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 440px;
  background: radial-gradient(circle at 50% 35%, rgba(0, 210, 255, 0.08) 0%, #151B27 65%, #0B0E15 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.08);
  text-align: center;
  gap: var(--space-3);
  overflow: hidden;
}

.product-image-area--has-image {
  border-color: rgba(0, 210, 255, 0.3);
}

/* Showcase Header */
.product-showcase__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-showcase__title {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.product-showcase__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

/* View Switcher Tabs */
.product-showcase__tabs {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
  margin-top: 2px;
}

.product-showcase__tab {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-in-out);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.product-showcase__tab:hover {
  color: var(--text-primary);
}

.product-showcase__tab.active {
  background: var(--brand-primary);
  color: var(--text-inverse);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

/* Showcase Stage */
.product-showcase__stage {
  width: 100%;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-2) 0;
}

.product-showcase__stage::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

/* Dual View: Front & Back side-by-side */
.showcase-dual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  position: relative;
  z-index: 2;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.showcase-dual__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.showcase-dual__item:hover {
  transform: translateY(-6px) scale(1.03);
}

.showcase-dual__img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7));
  transition: all var(--duration-normal) var(--ease-out);
}

.showcase-dual__item:hover .showcase-dual__img {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
}

.showcase-dual__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-in-out);
}

.showcase-dual__item:hover .showcase-dual__label {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(0, 210, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Single View: When 1 view is picked or only 1 image exists */
.showcase-single {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 2;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.showcase-single__img {
  max-width: 85%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.75));
  transition: transform var(--duration-slow) var(--ease-out);
}

.showcase-single:hover .showcase-single__img {
  transform: scale(1.04);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(0, 210, 255, 0.35));
}

.showcase-single__label {
  display: inline-flex;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--brand-primary);
}

/* Quick switcher thumbnails */
.product-image-carousel__thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.product-image-carousel__thumb {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 4px;
  cursor: pointer;
  background: var(--surface-card);
  transition: all var(--duration-fast) var(--ease-in-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-carousel__thumb:hover,
.product-image-carousel__thumb.active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
}

.product-image-carousel__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ── Showcase Placeholder State (When product photo is pending) ── */
.showcase-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 250px;
  padding: var(--space-4);
  position: relative;
  z-index: 2;
  transition: opacity 0.25s ease;
}

.showcase-placeholder__icon {
  width: 68px;
  height: 68px;
  color: var(--brand-primary);
  opacity: 0.6;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.25));
  margin-bottom: 2px;
}

.showcase-placeholder__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.3);
  color: #ffb830;
}

.showcase-placeholder__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  max-width: 250px;
  line-height: var(--lh-relaxed);
  margin: 0;
}

.showcase-placeholder__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--brand-primary);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-in-out);
}

.showcase-placeholder__btn:hover {
  background: var(--brand-primary);
  color: var(--text-inverse);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* ── Features Bar ── */
.category-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-4);
  padding: var(--space-6) 0;
  margin-top: var(--space-6);
  border-top: var(--border-subtle);
}

.category-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
}

.category-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-feature__icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

.category-feature__text {
  display: flex;
  flex-direction: column;
}

.category-feature__title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.category-feature__desc {
  font-size: 11px;
  color: var(--text-tertiary);
}


/* ── Responsive ── */
@media (max-width: 1200px) {
  .cat-table-grid {
    grid-template-columns: 1fr 380px;
    gap: var(--space-4);
  }
}

@media (max-width: 1024px) {
  .category-layout {
    grid-template-columns: 220px 1fr;
    gap: var(--space-4);
  }

  .category-table-layout {
    grid-template-columns: 200px 1fr;
    gap: var(--space-4);
  }

  .cat-table-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .product-image-area {
    position: static;
  }

  .category-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
    border-right: none;
    border-bottom: var(--border-subtle);
    padding-right: 0;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
  }

  .category-content {
    padding-left: 0;
  }

  .cat-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .product-detail__image-wrap {
    position: static;
  }

  /* Table layout mobile */
  .category-table-layout {
    grid-template-columns: 1fr;
  }

  .cat-sidebar {
    position: static;
  }

  .cat-table-grid {
    grid-template-columns: 1fr;
  }

  .product-image-area {
    position: static;
    min-height: 280px;
  }

  .product-table {
    font-size: 13px;
  }

  .product-table thead th,
  .product-table tbody td {
    padding: var(--space-2) var(--space-3);
  }

  .category-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .cat-product-grid {
    grid-template-columns: 1fr;
  }

  .category-features-bar {
    grid-template-columns: 1fr;
  }

  .product-table thead th:first-child,
  .product-table tbody td:first-child {
    display: none;
  }
}

