/* Products, catalog, category cards, and PDP */

:root {
  --app-height: 100vh;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--white);
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r16);
  padding: 30px 16px 26px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .25s cubic-bezier(.22, 1, .36, 1);
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.cat-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-8px);
  border-color: rgba(26, 123, 255, .2);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r12);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
  background: var(--ice);
}

.cat-card:hover .cat-icon {
  transform: scale(1.12);
}

.cat-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat-gen .cat-icon {
  background: rgba(232, 103, 14, .10);
}

.cat-gen .cat-icon svg {
  stroke: var(--orange);
}

.cat-gen::after,
.cat-ele::after {
  background: var(--orange);
}

.cat-bom .cat-icon {
  background: rgba(26, 123, 255, .10);
}

.cat-bom .cat-icon svg {
  stroke: var(--electric);
}

.cat-bom::after {
  background: var(--electric);
}

.cat-her .cat-icon {
  background: rgba(12, 163, 85, .10);
}

.cat-her .cat-icon svg {
  stroke: var(--green);
}

.cat-her::after {
  background: var(--green);
}

.cat-fer .cat-icon {
  background: rgba(232, 166, 18, .10);
}

.cat-fer .cat-icon svg {
  stroke: var(--gold);
}

.cat-fer::after {
  background: var(--gold);
}

.cat-pis .cat-icon {
  background: rgba(14, 163, 186, .10);
}

.cat-pis .cat-icon svg {
  stroke: #0EA3BA;
}

.cat-pis::after {
  background: #0EA3BA;
}

.cat-ele .cat-icon {
  background: rgba(232, 103, 14, .10);
}

.cat-ele .cat-icon svg {
  stroke: var(--orange);
}

.cat-name {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cat-qty {
  font-size: 11px;
  color: var(--slate-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-5px);
  border-color: rgba(26, 123, 255, .2);
}

.slider-track .product-card {
  height: 100%;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ice);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-img-wrap img {
  height: 170px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  transition: transform .35s ease;
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: var(--r2);
}

.badge-new {
  background: var(--electric);
  color: #fff;
}

.badge-offer {
  background: var(--orange);
  color: #fff;
}

.badge-hot {
  background: var(--red);
  color: #fff;
}

.badge-top {
  background: var(--gold);
  color: var(--navy);
}

.badge-stock {
  background: var(--green);
  color: #fff;
}

.card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  cursor: pointer;
}

.card-fav:hover {
  transform: scale(1.1);
}

.card-fav svg {
  width: 16px;
  height: 16px;
  stroke: var(--slate);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: all .2s;
}

.card-fav.favorited {
  background: rgba(214, 59, 59, .12);
}

.card-fav.favorited svg {
  stroke: var(--red);
  fill: var(--red);
}

.card-quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card:hover .card-quick-view {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.card-quick-view svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.card-brand {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-sku {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--slate-light);
  margin-bottom: 10px;
}

.card-price-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  min-height: 52px;
}

.card-price {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.card-price-old {
  font-size: 13px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.card-off {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.card-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 14px;
  min-height: 20px;
}

.card-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-ok {
  color: var(--green);
}

.stock-ok .card-stock-dot {
  background: var(--green);
}

.stock-low {
  color: var(--gold);
}

.stock-low .card-stock-dot {
  background: var(--gold);
}

.stock-out {
  color: var(--slate);
}

.stock-out .card-stock-dot {
  background: var(--slate);
}

.card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-detail {
  flex: 1;
  height: 40px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s;
}

.btn-detail:hover {
  background: var(--navy-light);
}

.btn-detail svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.catalog-toolbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(249, 250, 252, .98));
  border: 1px solid rgba(231, 235, 241, .95);
  border-radius: 22px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  box-shadow: 0 16px 34px rgba(12, 18, 28, .05);
  position: relative;
  overflow: hidden;
}

.catalog-toolbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 130, 12, .16), transparent);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.toolbar-result-count {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
}

.toolbar-result-count strong {
  color: var(--ink);
}

.active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  background: rgba(232, 130, 12, .08);
  border: 1px solid rgba(232, 130, 12, .2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
}

.sort-select-wrap,
.sort-select-wrap form {
  display: flex;
  position: relative;
}

.sort-select {
  height: 38px;
  min-width: 240px;
  border: 1px solid rgba(231, 235, 241, .95);
  border-radius: 14px;
  background: var(--white);
  padding: 0 42px 0 14px;
  font-size: 12px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.sort-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: inline-flex;
}

.sort-select-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--slate-light);
  stroke-width: 2;
  fill: none;
}

.view-toggle-group {
  display: flex;
  gap: 6px;
  padding-left: 2px;
}

.view-toggle {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(231, 235, 241, .95);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.view-toggle.active {
  background: rgba(232, 130, 12, .08);
  border-color: rgba(232, 130, 12, .2);
}

.view-toggle svg {
  width: 15px;
  height: 15px;
  stroke: var(--slate);
  stroke-width: 2;
  fill: none;
}

.catalog-subchips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.catalog-subchip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(231, 235, 241, .95);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 251, .98));
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate);
  box-shadow: 0 8px 16px rgba(12, 18, 28, .03);
}

.catalog-subchip.active,
.catalog-subchip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.prod-grid.list-view {
  grid-template-columns: 1fr;
  gap: 14px;
}

.ptag {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--r2);
  width: fit-content;
}

.ptag-new {
  background: var(--ink);
  color: var(--white);
}

.ptag-sale {
  background: var(--amber);
  color: var(--white);
}

.ptag-low {
  background: rgba(215, 59, 59, .1);
  color: var(--red-warn);
  border: 1px solid rgba(215, 59, 59, .2);
}

.ptag-ok {
  background: rgba(23, 163, 90, .1);
  color: var(--green-ok);
  border: 1px solid rgba(23, 163, 90, .2);
}

.product-rating-widget {
  display: grid;
  gap: 6px;
  margin: 4px 0 10px;
  visibility: hidden;
}

body.ratings-ready .product-rating-widget {
  visibility: visible;
}

.product-rating-widget.compact {
  margin-top: 2px;
}

.pdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 14, 26, .7);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.2vh, 24px);
}

.pdp-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pdp-modal {
  background: var(--white);
  border-radius: 24px;
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
  max-height: min(92vh, 920px);
  min-height: 0;
  overflow: hidden;
  box-shadow: var(--sh-xl);
  position: relative;
  transform: scale(.95) translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.pdp-overlay.open .pdp-modal {
  transform: scale(1) translateY(0);
}

.pdp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(210, 221, 235, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(8, 23, 43, .16);
  transition: background .2s;
}

.pdp-close:hover {
  background: rgba(8, 23, 43, .15);
}

.pdp-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-inner {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: 0;
  position: relative;
  align-items: stretch;
  max-height: min(92vh, 920px);
  min-height: 0;
}

.pdp-gallery,
.pdp-info {
  min-height: 0;
}

.pdp-gallery {
  background: var(--ice);
  border-radius: 24px 0 0 24px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.pdp-main-img {
  width: 100%;
  min-height: 260px;
  height: clamp(260px, 38vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--r12);
  border: 1px solid var(--ice-mid);
  margin-bottom: 0;
  padding: 18px;
}

.pdp-main-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  max-height: 120px;
}

.pdp-thumb {
  width: 100%;
  min-width: 0;
  height: 68px;
  border-radius: var(--r8);
  background: var(--white);
  border: 2px solid var(--ice-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
}

.pdp-thumb.active {
  border-color: var(--electric);
}

.pdp-thumb img {
  max-height: 50px;
  max-width: 60px;
  object-fit: contain;
}

.pdp-main-img {
  position: relative;
  cursor: zoom-in;
  appearance: none;
  border: 1px solid var(--ice-mid);
  font: inherit;
}

.pdp-image-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 23, 43, .78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.pdp-main-img:hover .pdp-image-zoom-hint,
.pdp-main-img:focus-visible .pdp-image-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.pdp-image-zoom-hint svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
}

.pdp-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 4300;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  background: rgba(5, 14, 26, .94);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.pdp-image-viewer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pdp-image-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.pdp-image-viewer-title {
  min-width: 0;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-image-viewer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}

.pdp-image-viewer-close svg,
.pdp-image-nav svg,
.pdp-image-tool svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

.pdp-image-viewer-stage {
  position: relative;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #07111f;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-x pan-y;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.pdp-image-viewer-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .18s ease;
}

.pdp-image-viewer.is-zoomed .pdp-image-viewer-img {
  cursor: grab;
}

.pdp-image-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 23, 43, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.pdp-image-nav-prev {
  left: 10px;
}

.pdp-image-nav-next {
  right: 10px;
}

.pdp-image-viewer-tools {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
}

.pdp-image-tool {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.pdp-image-viewer-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.pdp-image-viewer-thumbs::-webkit-scrollbar {
  display: none;
}

.pdp-image-viewer-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pdp-image-viewer-thumb.active {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .18);
}

.pdp-image-viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 0;
}

.pdp-breadcrumb span {
  color: var(--slate);
}

.pdp-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pdp-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pdp-badge {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: var(--r2);
}

.pdp-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: .02em;
}

.pdp-sku {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--slate-light);
  margin-bottom: 0;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 1;
}

.stars svg.half {
  fill: url(#half-star);
}

.pdp-rating-text {
  font-size: 12.5px;
  color: var(--slate);
}

.pdp-price-box {
  background: var(--ice);
  border-radius: var(--r8);
  padding: 18px 18px 16px;
  margin-bottom: 14px;
}

.pdp-price {
  font-family: var(--f-display);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.pdp-price-old {
  font-size: 15px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.pdp-price-off {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.pdp-price-note {
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 6px;
}

.pdp-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.pdp-stock-badge.ok {
  background: var(--green-pale);
  color: var(--green);
}

.pdp-stock-badge.low {
  background: var(--gold-pale);
  color: var(--gold);
}

.pdp-stock-badge svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.pdp-attr {
  background: var(--ice);
  border-radius: var(--r6);
  padding: 10px 14px;
  min-height: 66px;
}

.pdp-attr-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pdp-attr-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-actions-row {
  position: sticky;
  bottom: 0;
  margin-top: 18px;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 22%);
  display: flex;
  gap: 8px;
}

.btn-pdp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  height: 52px;
  border-radius: var(--r8);
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.btn-pdp-wa:hover {
  background: #1DB954;
  transform: translateY(-2px);
}

.btn-pdp-wa svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.btn-pdp-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: var(--r8);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}

.btn-pdp-secondary:hover {
  background: var(--navy-light);
}

.btn-pdp-secondary svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.pdp-fav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  cursor: pointer;
  transition: color .2s;
}

.pdp-fav-row:hover {
  color: var(--red);
}

.pdp-fav-row svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.pdp-fav-btn-action {
  min-height: 52px;
  flex: 0 0 146px;
  border: 1px solid rgba(213, 223, 236, .95);
}

.pdp-fav-btn-action.favorited {
  border-color: rgba(232, 103, 14, .26);
  box-shadow: 0 12px 28px rgba(232, 103, 14, .18);
}

#pdpCommZoneWrapper,
#pdpStateInfo,
#pdpStateForm,
#pdpStateForm .pdp-commercial-zone,
#pdpStateForm .pdp-form-compact {
  min-height: 0;
}

.pdp-commercial-zone {
  margin-top: 0;
  padding: 18px;
}

#pdpStateForm .pdp-form-group:nth-child(3),
#pdpStateForm textarea {
  min-height: 0;
}

#pdpStateForm textarea {
  min-height: 160px;
  max-height: min(32vh, 280px);
}

#pdpStateForm .pdp-form-group:has(#pdp_wa_msg) {
  flex: 1;
  min-height: 0;
}

body.body-locked {
  overscroll-behavior: none;
}

.pdp-info.is-quote-mode {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: 132px;
}

.pdp-info.is-quote-mode #pdpCommZoneWrapper,
.pdp-info.is-quote-mode #pdpStateForm,
.pdp-info.is-quote-mode #pdpStateForm .pdp-commercial-zone {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.pdp-info.is-quote-mode #pdpStateForm .pdp-form-compact {
  flex: 1 1 auto;
  min-height: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.pdp-info.is-quote-mode .pdp-form-header {
  margin-bottom: 12px;
}

.pdp-info.is-quote-mode .pdp-quote-product-card {
  margin-bottom: 10px;
}

.pdp-info.is-quote-mode #pdpQuoteAreaSelector {
  display: none !important;
}

.pdp-info.is-quote-mode .pdp-quote-destination {
  margin-bottom: 16px;
}

.pdp-info.is-quote-mode #pdpStateForm textarea {
  min-height: 112px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-card {
    padding: 18px 12px 16px;
    border-radius: 18px;
    transform: none;
    box-shadow: none;
  }

  .cat-card:hover {
    transform: none;
  }

  .cat-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  .cat-icon svg {
    width: 28px;
    height: 28px;
  }

  .cat-name {
    font-size: 15px;
    line-height: 1.15;
    word-break: break-word;
  }

  .cat-qty {
    margin-top: 6px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .catalog-toolbar {
    padding: 12px 14px;
  }

  .sort-select {
    min-width: 0;
    width: 100%;
  }

  .toolbar-right {
    width: 100%;
    flex-wrap: wrap;
  }

  .view-toggle-group {
    margin-left: auto;
  }

  .prod-grid {
    grid-template-columns: 1fr;
  }

  body.catalog-page .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.catalog-page .catalog-layout {
    grid-template-columns: 1fr;
  }

  body.catalog-page .sidebar {
    display: none;
  }

  .mobile-filter-btn,
  .mobile-catalog-toolbar {
    display: flex;
  }

  body.catalog-page .catalog-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  body.catalog-page .toolbar-left {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.catalog-page .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  body.catalog-page .view-toggle-group {
    display: none;
  }

  body.catalog-page .pcard-img {
    height: 130px;
  }

  body.catalog-page .pcard-body {
    padding: 9px 10px 8px;
  }

  body.catalog-page .pcard-brand {
    font-size: 10px;
    margin-bottom: 2px;
  }

  body.catalog-page .pcard-name {
    font-size: 11.5px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  body.catalog-page .pcard-sku {
    display: none;
  }

  body.catalog-page .pcard-price {
    font-size: 18px;
  }

  body.catalog-page .pcard-price-old {
    font-size: 11px;
  }

  body.catalog-page .pcard-foot {
    padding: 7px 10px;
    gap: 6px;
  }

  body.catalog-page .btn-add-cart {
    height: 32px;
    font-size: 12px;
    flex: 1;
  }

  body.catalog-page .btn-micro {
    height: 32px;
    width: 32px;
    flex-shrink: 0;
  }

  .mobile-catalog-toolbar {
    align-items: center;
    gap: 8px;
    padding: 10px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-catalog-toolbar::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .slider-track .product-card {
    flex-basis: 100%;
    min-width: 100%;
    flex: 0 0 100%;
  }

  .pdp-overlay {
    padding: max(0px, env(safe-area-inset-top)) max(0px, env(safe-area-inset-right)) max(0px, env(safe-area-inset-bottom)) max(0px, env(safe-area-inset-left));
  }

  .pdp-gallery {
    padding: 14px 14px 10px;
  }

  .pdp-info {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  }

  .pdp-attrs {
    grid-template-columns: 1fr;
  }

  .pdp-price {
    font-size: 32px;
  }

  .cat-card {
    padding: 16px 10px 14px;
  }

  .pdp-modal {
    width: 100vw;
    max-height: var(--app-height);
    border-radius: 22px 22px 0 0;
    height: var(--app-height);
  }

  .pdp-close {
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
  }

  .pdp-actions-row {
    flex-direction: row;
    gap: 8px;
  }

  .pdp-actions-row .btn-pdp-wa {
    font-size: 14px;
  }

  .pdp-fav-btn-action {
    flex: 0 0 110px;
    font-size: 13px;
  }

  .pdp-main-img {
    height: clamp(132px, 22dvh, 188px);
    min-height: 132px;
  }

  .catalog-layout {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .catalog-main {
    padding-top: 20px;
  }

  .catalog-toolbar-mobile {
    position: sticky;
    top: 64px;
    z-index: 90;
    background: var(--white);
    margin: 0 -18px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--ice-mid);
    display: flex;
  }
}

/* Residual product and catalog overrides extracted from style.css */

.products-grid-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products-layout-premium {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 32px;
}

.filters-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  height: fit-content;
  position: sticky;
  top: 100px;
}

@media (max-width: 1200px) {
.products-grid-premium {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
.products-grid-premium {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-5px);
  border-color: rgba(26, 123, 255, .2);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ice);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrap img {
  height: 170px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  transition: transform .35s ease;
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: var(--r2);
}

.card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  cursor: pointer;
}

.card-fav:hover {
  transform: scale(1.1);
}

.card-fav svg {
  width: 16px;
  height: 16px;
  stroke: var(--slate);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: all .2s;
}

.card-fav.favorited {
  background: rgba(214, 59, 59, .12);
}

.card-fav.favorited svg {
  stroke: var(--red);
  fill: var(--red);
}

.card-quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card:hover .card-quick-view {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.card-quick-view svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-brand {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
  min-height: 40px;
}

.card-sku {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--slate-light);
  margin-bottom: 10px;
}

.card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.card-price {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.card-price-old {
  font-size: 13px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.card-off {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.card-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 14px;
}

.card-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-ok .card-stock-dot {
  background: var(--green);
}

.stock-low .card-stock-dot {
  background: var(--gold);
}

.stock-out .card-stock-dot {
  background: var(--slate);
}

.card-footer {
  display: flex;
  gap: 8px;
}

.pdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 14, 26, .7);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pdp-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pdp-modal {
  background: var(--white);
  border-radius: var(--r16);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: scale(.95) translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.pdp-overlay.open .pdp-modal {
  transform: scale(1) translateY(0);
}

.pdp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 23, 43, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
}

.pdp-close:hover {
  background: rgba(8, 23, 43, .15);
}

.pdp-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.pdp-gallery {
  background: var(--ice);
  border-radius: var(--r16) 0 0 var(--r16);
  padding: 32px;
}

.pdp-main-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--r12);
  margin-bottom: 16px;
  border: 1px solid var(--ice-mid);
}

.pdp-main-img img {
  max-height: 280px;
  max-width: 90%;
  object-fit: contain;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r8);
  background: var(--white);
  border: 2px solid var(--ice-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
}

.pdp-thumb.active {
  border-color: var(--electric);
}

.pdp-thumb img {
  max-height: 50px;
  max-width: 60px;
  object-fit: contain;
}

.pdp-info {
  padding: 36px 36px 36px 28px;
  max-height: min(90vh, 1120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.pdp-breadcrumb span {
  color: var(--slate);
}

.pdp-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pdp-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pdp-badge {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: var(--r2);
}

.pdp-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.pdp-sku {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-rating-text {
  font-size: 12.5px;
  color: var(--slate);
}

.pdp-price-box {
  background: var(--ice);
  border-radius: var(--r8);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.pdp-price {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.pdp-price-old {
  font-size: 15px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.pdp-price-off {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.pdp-price-note {
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 6px;
}

.pdp-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.pdp-stock-badge.ok {
  background: var(--green-pale);
  color: var(--green);
}

.pdp-stock-badge.low {
  background: var(--gold-pale);
  color: var(--gold);
}

.pdp-stock-badge svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.pdp-attr {
  background: var(--ice);
  border-radius: var(--r6);
  padding: 10px 14px;
}

.pdp-attr-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pdp-attr-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-fav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  cursor: pointer;
  transition: color .2s;
}

.pdp-fav-row:hover {
  color: var(--red);
}

.pdp-fav-row svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--ice-mid);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  transition: all .2s;
}

.filter-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filter-chip svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.filter-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}

.filter-sort select {
  border: 1.5px solid var(--ice-mid);
  background: var(--white);
  border-radius: var(--r6);
  height: 36px;
  padding: 0 10px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

@media(max-width:1200px) {
.cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pdp-layout-premium {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

.pdp-main-frame {
  background: var(--white);
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r16);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
  margin-bottom: 20px;
}

.pdp-main-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pdp-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 15px;
}

.pdp-thumb {
  flex: 0 0 100px;
  height: 100px;
  border: 2px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  padding: 10px;
  flex-shrink: 0;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-thumb:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.pdp-brand-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pdp-title {
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 10px;
}

.pdp-sku {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--slate-light);
  margin-bottom: 30px;
}

.pdp-price-panel {
  background: var(--ice);
  padding: 24px;
  border-radius: var(--r12);
  margin-bottom: 30px;
}

.pdp-price-main {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.pdp-price-original {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.pdp-price-original .old {
  font-size: 18px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.pdp-price-original .off {
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
}

.pdp-stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}

.pdp-stock-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pdp-stock-status.stock-ok {
  color: var(--green);
}

.pdp-stock-status.stock-ok .dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.pdp-short-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 32px;
  border-left: 3px solid var(--ice-mid);
  padding-left: 20px;
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ice-mid);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
}

.pdp-spec-item {
  background: var(--white);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp-spec-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--slate-light);
  letter-spacing: .05em;
}

.pdp-spec-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 1100px) {
.pdp-layout-premium {
    grid-template-columns: 1fr;
    gap: 40px;
  }

.pdp-main-frame {
    height: 400px;
  }
}

.detail-trust-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ice-mid);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
}

.detail-trust-cell {
  background: var(--white);
  padding: 16px 18px;
}

.detail-trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.detail-trust-sub {
  font-size: 11px;
  color: var(--slate);
  margin-top: 4px;
  line-height: 1.35;
}

.cat-grid {
  gap: 14px;
}

.cat-card {
  border: 1px solid var(--ice-mid);
  padding: 22px 14px 20px;
  border-radius: var(--r12);
}

.catalog-hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 32px 0;
}

.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(232, 130, 12, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 130, 12, .04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.catalog-hero-glow {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 130, 12, .1) 0%, transparent 65%);
}

.catalog-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.catalog-hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.catalog-hero-title {
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}

@media (min-width: 992px) and (max-width: 1199px) {
.prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.catalog-layout {
    grid-template-columns: 1fr;
  }

.sidebar {
    position: relative;
    top: 0;
  }

.prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-btn {
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.page-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.page-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.page-btn.disabled {
  opacity: .4;
  pointer-events: none;
}

.page-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

#pdpRatingWidget {
  gap: 8px;
}

#pdpRatingWidget .rating-star-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

#pdpRatingWidget .rating-star-icon {
  font-size: 13px;
}

@media (max-width: 1100px) {
.catalog-layout {
    grid-template-columns: 250px 1fr;
  }

.prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
.catalog-layout {
    grid-template-columns: 1fr;
  }

.sidebar {
    position: static;
  }

.catalog-hero-title {
    font-size: 32px;
  }

.catalog-hero-stats {
    display: none;
  }
}

@media (max-width: 600px) {
.prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cat-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.cat-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r16);
  padding: 26px 18px 24px;
  box-shadow: 0 10px 28px rgba(8, 23, 43, .04);
}

.cat-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 16px;
}

.cat-name {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--navy);
}

.cat-qty {
  margin-top: 6px;
  font-size: 11px;
  color: var(--slate-light);
}

.card-img-wrap {
  height: 190px;
}

.card-body {
  padding: 14px 14px 16px;
}

.card-brand {
  font-size: 10px;
  letter-spacing: .12em;
}

.card-name {
  min-height: 48px;
  font-size: 15px;
  line-height: 1.35;
}

.card-price {
  font-size: 24px;
}

.card-footer {
  grid-template-columns: 1fr 34px;
  gap: 8px;
}

@media (max-width: 1100px) {
.cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-card {
  min-height: 0;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  padding: 22px 14px 20px;
  display: block;
  text-align: center;
  box-shadow: none;
}

.cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

.product-card {
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
  background: var(--white);
}

.card-img-wrap {
  height: 220px;
  background: var(--ice);
}

.card-img-wrap img {
  height: 170px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-name {
  min-height: 40px;
}

@media (max-width: 1200px) {
.cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.detail-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.detail-specs-quick {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.spec-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r8);
  background: var(--white);
}

.detail-trust-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-trust-cell svg {
  width: 16px;
  height: 16px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  margin-bottom: 2px;
}

.detail-close:hover {
  background: rgba(255, 255, 255, .2);
}

.detail-overlay .detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
}

.detail-overlay .detail-close {
  border: 0;
}

.detail-modal-frame .detail-close {
  background: rgba(8, 23, 43, .88);
  border: 1px solid rgba(255, 255, 255, .12);
}

.pdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 14, 26, .7);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pdp-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pdp-modal {
  background: var(--white);
  border-radius: var(--r16);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: scale(.95) translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  position: relative;
}

.pdp-overlay.open .pdp-modal {
  transform: scale(1) translateY(0);
}

.pdp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 23, 43, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
}

.pdp-close:hover {
  background: rgba(8, 23, 43, .15);
}

.pdp-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.pdp-gallery {
  background: var(--ice);
  border-radius: var(--r16) 0 0 var(--r16);
  padding: 32px;
}

.pdp-main-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--r12);
  margin-bottom: 16px;
  border: 1px solid var(--ice-mid);
}

.pdp-main-img img {
  max-height: 280px;
  max-width: 90%;
  object-fit: contain;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r8);
  background: var(--white);
  border: 2px solid var(--ice-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
  flex-shrink: 0;
  padding: 0;
}

.pdp-thumb.active {
  border-color: var(--electric);
}

.pdp-thumb img {
  max-height: 50px;
  max-width: 60px;
  object-fit: contain;
}

.pdp-info {
  padding: 36px 36px 36px 28px;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pdp-breadcrumb span {
  color: var(--slate);
}

.pdp-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pdp-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pdp-badge {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: var(--r2);
}

.pdp-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.pdp-sku {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pdp-rating-text {
  font-size: 12.5px;
  color: var(--slate);
}

.pdp-price-box {
  background: var(--ice);
  border-radius: var(--r8);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.pdp-price {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.pdp-price-old {
  font-size: 15px;
  color: var(--slate-light);
  text-decoration: line-through;
}

.pdp-price-off {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.pdp-price-note {
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 6px;
}

.pdp-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pdp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.pdp-stock-badge.ok {
  background: var(--green-pale);
  color: var(--green);
}

.pdp-stock-badge.low {
  background: var(--gold-pale);
  color: var(--gold);
}

.pdp-stock-badge svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.pdp-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.pdp-attr {
  background: var(--ice);
  border-radius: var(--r6);
  padding: 10px 14px;
}

.pdp-attr-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate);
.btn-pdp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border-radius: var(--r8);
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}.btn-pdp-wa:hover {
  background: #1DB954;
  transform: translateY(-2px);
}.btn-pdp-wa svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}.btn-pdp-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: var(--r8);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}.btn-pdp-secondary:hover {
  background: var(--navy-light);
}.btn-pdp-secondary svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}@media(max-width:1100px) {
  .pdp-inner {
    grid-template-columns: 1fr;
  }

  .pdp-gallery {
    border-radius: var(--r16) var(--r16) 0 0;
  }
}/* PDP overlay priority override *//* Catalog page hard override */.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ice);
  border: 1px solid rgba(8, 23, 43, 0.08);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
}.active-filter-chip:hover {
  background: var(--navy-pale);
  border-color: var(--navy-light);
  color: var(--navy-light);
}.active-filter-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}.active-filter-clear {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  margin-left: 4px;
}.active-filter-clear:hover {
  text-decoration: underline;
}body.detail-page .detail-rating-row,
body.detail-page .detail-cuotas,
body.detail-page .qty-row {
  display: none !important;
}body.detail-page .detail-cart-block {
  padding: 14px !important;
}body.detail-page .cart-row {
  margin-top: 0 !important;
}@media (max-width: 991px) {
  body.catalog-page .catalog-layout {
    grid-template-columns: 1fr !important;
  }

  /* Sidebar oculto en tablet también — usar botón filtros */
  body.catalog-page .sidebar {
    display: none !important;
  }

  .mobile-filter-btn {
    display: flex !important;
  }

  body.catalog-page .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}/* BLOG SYSTEM */  background: #fff;
  border: 1px solid #dce5f2;
  border-radius: 22px;
  padding: 12px
}

.mobile-filter-btn {
  display: none;
  /* shown via @media 767px block above */
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-filter-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-catalog-toolbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}

.filter-chip:hover {
  background: var(--navy-light);
}

.filter-chip-x {
  font-size: 14px;
  opacity: .7;
  line-height: 1;
}

.detail-specs-quick {
  background: #fdfdfd !important;
  border: 1px solid var(--ice-mid) !important;
  border-radius: 16px !important;
  padding: 4px !important;
  margin-bottom: 24px !important;
}

.spec-row {
  display: flex !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--ice-light) !important;
}

.spec-row:last-child {
  border-bottom: none !important;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-img-wrap {
  flex-shrink: 0;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

.card-price-row {
  align-items: flex-start;
  min-height: 52px;
}

.card-stock {
  min-height: 20px;
}

.card-footer {
  margin-top: auto;
}

body.catalog-page .prod-grid {
  align-items: stretch;
}

.pdp-overlay {
  align-items: center !important;
  padding: clamp(12px, 2.2vh, 24px) !important;
}

.pdp-modal {
  position: relative;
  width: min(1080px, calc(100vw - 32px)) !important;
  max-width: 1080px !important;
  max-height: min(92vh, 920px) !important;
  min-height: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

.pdp-close {
  top: 14px !important;
  right: 14px !important;
  width: 42px !important;
  height: 42px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(210, 221, 235, 0.95);
  box-shadow: 0 10px 30px rgba(8, 23, 43, 0.16);
}

.pdp-inner {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr) !important;
  align-items: stretch !important;
  max-height: min(92vh, 920px) !important;
  min-height: 0 !important;
}

.pdp-gallery,
.pdp-info {
  min-height: 0 !important;
}

.pdp-gallery {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  padding: 24px 22px 22px !important;
  border-radius: 24px 0 0 24px !important;
  overflow: hidden !important;
}

.pdp-main-img {
  flex: 0 0 auto;
  aspect-ratio: auto !important;
  min-height: 260px;
  height: clamp(260px, 38vh, 420px);
  margin-bottom: 0 !important;
  padding: 18px;
}

.pdp-main-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100% !important;
  object-fit: contain;
}

.pdp-thumbs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px !important;
  overflow-x: hidden !important;
  overflow-y: auto;
  padding-right: 2px;
  max-height: 120px;
}

.pdp-thumb {
  width: 100% !important;
  min-width: 0 !important;
  height: 68px !important;
}

.pdp-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
  padding: 24px 24px 22px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.pdp-breadcrumb {
  margin-bottom: 0 !important;
}

.pdp-title {
  font-size: clamp(24px, 2vw, 34px) !important;
  margin-bottom: 0 !important;
}

.pdp-sku,
.pdp-rating {
  margin-bottom: 0 !important;
}

#pdpCommZoneWrapper {
  min-height: 0 !important;
}

#pdpStateInfo,
#pdpStateForm,
#pdpStateForm .pdp-commercial-zone,
#pdpStateForm .pdp-form-compact {
  min-height: 0 !important;
}

.pdp-price-box {
  padding: 18px 18px 16px;
  margin-bottom: 14px;
}

.pdp-price {
  font-size: clamp(30px, 3.1vw, 42px) !important;
}

.pdp-commercial-zone {
  margin-top: 0 !important;
  padding: 18px !important;
}

.pdp-attrs {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.pdp-attr {
  min-height: 66px;
}

.pdp-full-info {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pdp-full-info[hidden] {
  display: none !important;
}

.pdp-detail-section {
  padding: 14px;
  border: 1px solid rgba(213, 223, 236, 0.95);
  border-radius: 14px;
  background: #fff;
}

.pdp-detail-title {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--amber);
}

.pdp-detail-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate-dark);
}

.pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pdp-spec-card {
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: var(--ice);
}

.pdp-spec-card span {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
}

.pdp-spec-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.pdp-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(232, 103, 14, 0.38);
  border-radius: 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 767px) {
  .pdp-full-info {
    gap: 10px;
  }

  .pdp-detail-section {
    padding: 12px;
    border-radius: 12px;
  }

  .pdp-spec-grid {
    grid-template-columns: 1fr;
  }
}

.pdp-actions-row {
  position: sticky;
  bottom: 0;
  margin-top: 18px !important;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 22%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.pdp-actions-row .btn-pdp-wa,
.pdp-fav-btn-action {
  min-height: 52px;
  border-radius: 14px;
  white-space: nowrap;
}

.pdp-actions-row .btn-pdp-wa {
  flex: 1 1 auto;
  min-width: 220px;
  padding: 0 22px;
  overflow: visible;
  font-size: 16px;
  font-weight: 900;
}

.pdp-fav-btn-action {
  flex: 0 0 176px;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(213, 223, 236, 0.95);
  background: #fff;
}

.pdp-fav-btn-action.favorited {
  border-color: rgba(232, 103, 14, 0.26);
  box-shadow: 0 12px 28px rgba(232, 103, 14, 0.18);
}

.pdp-fav-btn-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.pdp-fav-btn-action.favorited svg {
  fill: currentColor;
}

#pdpStateForm .pdp-form-group:nth-child(3),
#pdpStateForm textarea {
  min-height: 0 !important;
}

#pdpStateForm textarea {
  min-height: 160px !important;
  max-height: min(32vh, 280px);
}

#pdpStateForm .pdp-form-group:has(#pdp_wa_msg) {
  flex: 1;
  min-height: 0 !important;
}

.pdp-info.is-quote-mode {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: 132px;
}

.pdp-info.is-quote-mode #pdpCommZoneWrapper,
.pdp-info.is-quote-mode #pdpStateForm,
.pdp-info.is-quote-mode #pdpStateForm .pdp-commercial-zone {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.pdp-info.is-quote-mode #pdpStateForm .pdp-form-compact {
  flex: 1 1 auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

.pdp-info.is-quote-mode .pdp-form-header {
  margin-bottom: 12px;
}

.pdp-info.is-quote-mode .pdp-quote-product-card {
  margin-bottom: 10px;
}

.pdp-info.is-quote-mode #pdpQuoteAreaSelector {
  display: none !important;
}

.pdp-info.is-quote-mode .pdp-quote-destination {
  margin-bottom: 16px;
}

.pdp-info.is-quote-mode #pdpStateForm textarea {
  min-height: 112px !important;
  max-height: 160px !important;
}

.pdp-info.is-quote-mode .pdp-form-actions {
  position: sticky;
  bottom: -1px;
  margin-top: 12px;
  padding-top: 14px;
  padding-bottom: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .94) 18%, #fff 42%);
}

/* FIX: Layout del Catálogo */
.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 24px 0 56px;
}

.sidebar {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: 22px;
  overflow: hidden;
}

.filter-group {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ice-mid);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  cursor: pointer;
}

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

  .sidebar {
    display: none;
  }
}

/* Final authority: premium catalog surface. */
body.catalog-page {
  background:
    linear-gradient(180deg, #eef4fb 0%, #f7f9fc 280px, #f8fafc 100%) !important;
}

body.catalog-page .breadcrumb-bar {
  background: rgba(255,255,255,.86) !important;
  border-bottom: 1px solid rgba(148, 163, 184, .22) !important;
  backdrop-filter: blur(14px) !important;
}

body.catalog-page .catalog-hero {
  margin: 18px auto 24px !important;
  padding: 0 !important;
}

body.catalog-page .catalog-hero .container {
  position: relative !important;
}

body.catalog-page .catalog-hero-inner {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 28px !important;
  align-items: center !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(7,20,33,.98), rgba(11,30,52,.94) 56%, rgba(232,103,14,.92)) !important;
  box-shadow: 0 28px 70px rgba(7,20,33,.2) !important;
}

body.catalog-page .catalog-hero-inner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,.08), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px) !important;
  pointer-events: none !important;
}

body.catalog-page .catalog-hero-left,
body.catalog-page .catalog-hero-stats {
  position: relative !important;
  z-index: 1 !important;
}

body.catalog-page .catalog-hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  color: #ffb15b !important;
  font-family: var(--f-mono) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.catalog-page .catalog-hero-title {
  max-width: 760px !important;
  margin-top: 18px !important;
  color: #fff !important;
  font-family: var(--f-display) !important;
  font-size: clamp(38px, 5vw, 72px) !important;
  font-weight: 900 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
}

body.catalog-page .catalog-hero-title span {
  color: #ff7a18 !important;
}

body.catalog-page .catalog-hero-sub {
  max-width: 620px !important;
  margin-top: 16px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

body.catalog-page .catalog-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(100px, 1fr)) !important;
  gap: 10px !important;
}

body.catalog-page .cat-stat {
  min-width: 112px !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.08) !important;
  backdrop-filter: blur(12px) !important;
}

body.catalog-page .cat-stat-num {
  color: #fff !important;
  font-family: var(--f-display) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.catalog-page .cat-stat-num .acc {
  color: #ff7a18 !important;
}

body.catalog-page .cat-stat-label {
  margin-top: 7px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.catalog-page .catalog-layout {
  align-items: start !important;
  gap: 18px !important;
}

body.catalog-page .sidebar,
body.catalog-page .catalog-toolbar,
body.catalog-page .pcard,
body.catalog-page .catalog-empty {
  border: 1px solid rgba(148,163,184,.22) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 18px 42px rgba(11,30,52,.08) !important;
}

body.catalog-page .sidebar {
  position: sticky !important;
  top: 118px !important;
  padding: 18px !important;
}

body.catalog-page .catalog-toolbar {
  padding: 14px 16px !important;
  margin-bottom: 18px !important;
}

body.catalog-page .sort-select,
body.catalog-page .view-toggle,
body.catalog-page .active-filter-chip,
body.catalog-page .catalog-subchip,
body.catalog-page .btn-reset-catalog {
  border-radius: 999px !important;
}

body.catalog-page .btn-add-cart {
  min-height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #071421, #0b1e34) !important;
  box-shadow: 0 12px 24px rgba(7,20,33,.18) !important;
  font-weight: 800 !important;
}

body.catalog-page .pcard:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(232,103,14,.34) !important;
  box-shadow: 0 24px 50px rgba(11,30,52,.13) !important;
}

body.catalog-page .cma-btn {
  min-height: 54px !important;
  color: #071421 !important;
  font-weight: 900 !important;
}

@media (max-width: 900px) {
  body.catalog-page .catalog-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 26px 20px !important;
    border-radius: 24px !important;
  }

  body.catalog-page .catalog-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.catalog-page .cat-stat {
    min-width: 0 !important;
    padding: 12px 10px !important;
  }

  body.catalog-page .catalog-hero-title {
    font-size: clamp(34px, 11vw, 52px) !important;
  }
}

/* Final filter readability pass. Keep labels complete, compact and collapsible. */
@media (min-width: 901px) {
  body.catalog-page .catalog-layout {
    grid-template-columns: minmax(320px, 340px) minmax(0, 1fr) !important;
  }
}

body.catalog-page .filter-group {
  padding: 14px 16px !important;
}

body.catalog-page .filter-group-head {
  min-height: 38px !important;
  margin-bottom: 10px !important;
  cursor: pointer !important;
}

body.catalog-page .filter-group.collapsed .filter-group-body {
  display: none !important;
}

body.catalog-page .filter-group.collapsed .filter-group-toggle svg {
  transform: rotate(-90deg) !important;
}

body.catalog-page .filter-check {
  grid-template-columns: 22px minmax(0, 1fr) auto !important;
  min-height: 40px !important;
  padding: 7px 8px !important;
  gap: 9px !important;
}

body.catalog-page .filter-check-name {
  overflow: visible !important;
  color: #14243a !important;
  font-size: 12.5px !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: normal !important;
}

body.catalog-page .filter-check-count {
  min-width: 28px !important;
  padding: 3px 7px !important;
  font-size: 11.5px !important;
}

body.catalog-page .fcheck-box {
  width: 20px !important;
  height: 20px !important;
  border-radius: 7px !important;
}

body.catalog-page .filter-check.is-hidden:has(input:checked),
body.catalog-page .filter-check.is-parent-selected {
  display: grid !important;
}

body.catalog-page .filter-check.is-parent-selected {
  border-color: rgba(232, 103, 14, .22) !important;
  background: linear-gradient(135deg, rgba(232, 103, 14, .1), rgba(255, 255, 255, .9)) !important;
}

body.catalog-page .filter-subtitle {
  margin: 11px 2px 7px !important;
  color: #60728f !important;
  font-family: var(--f-mono) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.fav-actions {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.fav-actions::after {
  content: "Todo queda seleccionado para cotizar. Puedes desmarcar lo que no quieras enviar." !important;
  max-width: 310px !important;
  color: #60728f !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.fav-item.is-selected {
  border-color: rgba(232, 103, 14, .28) !important;
  background: linear-gradient(135deg, rgba(232, 103, 14, .06), #fff) !important;
}

@media (max-width: 767px) {
  .fav-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .fav-actions::after {
    max-width: none !important;
  }
}

/* Final premium pass: catalog filters, breadcrumbs and mobile PDP gallery. */
body.catalog-page .breadcrumb-bar {
  padding: 16px 0 4px !important;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
}

body.catalog-page .breadcrumb {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 14px 34px rgba(11, 30, 52, .08) !important;
  backdrop-filter: blur(14px) !important;
  color: #60728f !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body.catalog-page .breadcrumb a,
body.catalog-page .breadcrumb-current {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #0b1e34 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.catalog-page .breadcrumb a:hover {
  background: rgba(232, 103, 14, .1) !important;
  color: #e8670e !important;
}

body.catalog-page .breadcrumb-sep,
body.catalog-page .pdp-breadcrumb span:not(#pdpCat):not(#pdpBreadName) {
  color: #94a3b8 !important;
}

body.catalog-page .sidebar {
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
}

body.catalog-page .sidebar::before {
  content: "" !important;
  display: block !important;
  height: 4px !important;
  background: linear-gradient(90deg, #e8670e, #ffb15b, #0b1e34) !important;
}

body.catalog-page .sidebar-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 18px 18px 14px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
}

body.catalog-page .sidebar-head-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #071421 !important;
  font-family: var(--f-display) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.catalog-page .sidebar-clear {
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(232, 103, 14, .24) !important;
  border-radius: 999px !important;
  background: rgba(232, 103, 14, .08) !important;
  color: #c95100 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body.catalog-page .filter-group {
  margin: 0 !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
}

body.catalog-page .filter-group:last-child {
  border-bottom: 0 !important;
}

body.catalog-page .filter-group-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.catalog-page .filter-group-label {
  color: #071421 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.catalog-page .filter-group-toggle {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #0b1e34 !important;
  box-shadow: 0 8px 18px rgba(11, 30, 52, .06) !important;
}

body.catalog-page .filter-options {
  display: grid !important;
  gap: 8px !important;
}

body.catalog-page .filter-check {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: #14243a !important;
  cursor: pointer !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.catalog-page .filter-check:hover {
  border-color: rgba(232, 103, 14, .2) !important;
  background: rgba(232, 103, 14, .06) !important;
  transform: translateX(2px) !important;
}

body.catalog-page .filter-check input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.catalog-page .fcheck-box {
  display: grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  border: 1px solid rgba(96, 114, 143, .34) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}

body.catalog-page .filter-check input:checked + .fcheck-box {
  border-color: #e8670e !important;
  background: #e8670e !important;
}

body.catalog-page .filter-check input:checked + .fcheck-box::after {
  content: "" !important;
  width: 8px !important;
  height: 5px !important;
  border-left: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  transform: rotate(-45deg) translate(1px, -1px) !important;
}

body.catalog-page .filter-check-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #14243a !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.catalog-page .filter-check-count {
  min-width: 30px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: #edf3fb !important;
  color: #557094 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

body.catalog-page .filter-check input:checked ~ .filter-check-name {
  color: #071421 !important;
}

body.catalog-page .filter-check input:checked ~ .filter-check-count {
  background: rgba(232, 103, 14, .14) !important;
  color: #c95100 !important;
}

.pdp-thumbs {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 5px 2px 9px !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: none !important;
}

.pdp-thumbs::-webkit-scrollbar {
  display: none !important;
}

.pdp-thumb {
  flex: 0 0 76px !important;
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  padding: 6px !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(11, 30, 52, .08) !important;
  scroll-snap-align: center !important;
}

.pdp-thumb.is-active,
.pdp-thumb.active {
  border-color: #1877ff !important;
  box-shadow: 0 0 0 3px rgba(24, 119, 255, .14), 0 14px 28px rgba(11, 30, 52, .12) !important;
}

.pdp-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  background: #f4f7fb !important;
}

.pdp-image-viewer-stage {
  touch-action: none !important;
  overscroll-behavior: contain !important;
}

.pdp-image-viewer-img {
  user-select: none !important;
  -webkit-user-drag: none !important;
  will-change: transform !important;
}

@media (max-width: 767px) {
  body.catalog-page .breadcrumb-bar {
    padding: 10px 0 0 !important;
  }

  body.catalog-page .breadcrumb {
    gap: 5px !important;
    max-width: calc(100vw - 28px) !important;
    overflow-x: auto !important;
    padding: 7px !important;
    scrollbar-width: none !important;
  }

  body.catalog-page .breadcrumb::-webkit-scrollbar {
    display: none !important;
  }

  body.catalog-page .breadcrumb a,
  body.catalog-page .breadcrumb-current {
    min-height: 26px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .pdp-main-img {
    min-height: 190px !important;
    height: clamp(190px, 35vh, 270px) !important;
  }

  .pdp-main-img img {
    object-fit: contain !important;
    background: #f4f7fb !important;
  }

  .pdp-thumb {
    flex-basis: 66px !important;
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
    min-height: 66px !important;
    padding: 5px !important;
  }

  .pdp-image-viewer-tools {
    opacity: .86 !important;
  }
}

/* Final product truth: Ferkon quotes, no public ratings or financing copy. */
.pcard-rating,
.product-rating-widget,
.detail-rating-row,
.detail-cuotas,
.pdp-rating {
  display: none !important;
}

body.detail-page .btn-main-cart {
  min-height: 48px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
}

body.detail-page .detail-tabs-bar {
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

body.detail-page .detail-tabs-bar::-webkit-scrollbar {
  display: none !important;
}

body.detail-page .detail-modal-inline .detail-close {
  display: none !important;
}

body.detail-page .related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.detail-page .detail-related-section .section-head-row {
  margin-bottom: 14px !important;
}

body.detail-page .detail-related-title {
  color: #071421 !important;
  font-family: var(--f-display) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.detail-page .related-grid .pcard-foot {
  grid-template-columns: 1fr auto !important;
}

body.detail-page .detail-hero-facts .cat-stat-num {
  max-width: 150px !important;
  overflow: hidden !important;
  font-size: clamp(16px, 2.2vw, 24px) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  body.detail-page .catalog-hero-detail {
    display: none !important;
  }

  body.detail-page .detail-shell {
    padding-top: 14px !important;
  }

  body.detail-page .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.detail-page .related-grid .pcard {
    border-radius: 16px !important;
  }

  body.detail-page .related-grid .pcard-img {
    height: 150px !important;
  }

  body.detail-page .related-grid .pcard-body {
    padding: 12px !important;
  }

  body.detail-page .related-grid .pcard-name {
    font-size: 13px !important;
  }

  body.detail-page .related-grid .pcard-price {
    font-size: 22px !important;
  }

  body.detail-page .related-grid .pcard-foot {
    padding: 9px 10px !important;
  }
}

/* Final mobile catalog cleanup: two-column cards and no empty filters. */
body.catalog-page .filter-check.is-hidden {
  display: none !important;
}

body.catalog-page .pcard-foot {
  grid-template-columns: minmax(0, 1fr) 46px !important;
}

body.catalog-page .pcard-foot .btn-add-cart {
  width: 100% !important;
}

@media (max-width: 767px) {
  body.catalog-page .prod-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.catalog-page .pcard {
    min-width: 0 !important;
    border-radius: 18px !important;
  }

  body.catalog-page .pcard-img {
    height: 132px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  body.catalog-page .pcard-body {
    padding: 12px 12px 10px !important;
    gap: 7px !important;
  }

  body.catalog-page .pcard-brand {
    font-size: 10px !important;
    letter-spacing: .12em !important;
  }

  body.catalog-page .pcard-name {
    min-height: 40px !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body.catalog-page .pcard-sku,
  body.catalog-page .pcard-rating {
    display: none !important;
  }

  body.catalog-page .pcard-price-row {
    gap: 4px !important;
  }

  body.catalog-page .pcard-price {
    font-size: 19px !important;
  }

  body.catalog-page .pcard-price-old,
  body.catalog-page .pcard-note {
    font-size: 11px !important;
  }

  body.catalog-page .pcard-foot {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 8px !important;
    padding: 10px 12px 12px !important;
  }

  body.catalog-page .btn-add-cart,
  body.catalog-page .btn-micro {
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  body.catalog-page .pcard-overlay .pcard-ov-btn:first-child {
    display: none !important;
  }
}

/* Final authority: premium catalog parity */
body.catalog-page .catalog-hero {
  padding: 32px 0;
}

body.catalog-page .catalog-hero-inner {
  align-items: center;
  justify-content: space-between;
}

body.catalog-page .catalog-hero-title {
  font-size: 42px;
  line-height: 1;
}

body.catalog-page .catalog-hero-title span {
  color: var(--amber);
}

body.catalog-page .catalog-hero-sub {
  color: rgba(255, 255, 255, .45);
}

body.catalog-page .catalog-hero-stats {
  display: flex;
}

body.catalog-page .cat-stat-num,
body.catalog-page .cat-stat-label {
  color: var(--white);
}

body.catalog-page .catalog-toolbar {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

body.catalog-page .toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

body.catalog-page .toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

body.catalog-page .toolbar-result-count {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
}

body.catalog-page .toolbar-result-count strong {
  color: var(--ink);
}

body.catalog-page .toolbar-active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

body.catalog-page .active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  background: rgba(232, 130, 12, .08);
  border: 1px solid rgba(232, 130, 12, .2);
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--amber-dim);
}

body.catalog-page .active-filter-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

body.catalog-page .active-filter-clear {
  margin-left: 4px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

body.catalog-page .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.catalog-page .pcard {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform: none;
}

body.catalog-page .pcard:hover {
  border-color: var(--steel-mid);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

body.catalog-page .pcard-img {
  height: 175px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.catalog-page .pcard-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.catalog-page .pcard-brand {
  margin-bottom: 5px;
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.catalog-page .pcard-name {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.01em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.catalog-page .pcard-sku {
  display: block;
  margin-bottom: 10px;
  color: var(--slate-light);
  font-family: var(--f-mono);
  font-size: 10px;
}

body.catalog-page .pcard-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

body.catalog-page .pcard-stars {
  display: flex;
  gap: 1px;
}

body.catalog-page .pcard-star {
  color: var(--amber);
  font-size: 11px;
  line-height: 1;
}

body.catalog-page .pcard-star-empty {
  color: var(--ice-mid);
  font-size: 11px;
  line-height: 1;
}

body.catalog-page .pcard-rating-count {
  color: var(--slate-light);
  font-size: 11px;
}

body.catalog-page .pcard-price-row {
  margin-top: auto;
}

body.catalog-page .pcard-price {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
}

body.catalog-page .pcard-price sup {
  font-size: 14px;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}

body.catalog-page .pcard-note {
  margin-top: 3px;
  color: var(--slate);
  font-size: 10.5px;
}

body.catalog-page .pcard-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--ice-mid);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
}

body.catalog-page .btn-add-cart {
  height: 36px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
}

body.catalog-page .btn-micro {
  width: 36px;
  height: 36px;
}

body.catalog-page .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}

body.catalog-page .page-btn {
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

body.catalog-page .page-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

body.catalog-page .page-btn.disabled {
  opacity: .4;
  pointer-events: none;
}

body.catalog-page .page-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

body.catalog-page .page-ellipsis {
  height: 36px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  color: var(--slate-light);
  font-size: 13px;
}

@media (max-width: 1100px) {
  body.catalog-page .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body.catalog-page .catalog-hero-stats {
    display: none;
  }
}

@media (max-width: 600px) {
  body.catalog-page .prod-grid {
    grid-template-columns: 1fr;
  }

  body.catalog-page .pcard-img {
    height: 168px;
  }
}

/* Mobile catalog drawers */
.catalog-mobile-actions-wrapper {
  display: none;
}

.catalog-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--ice-mid);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 32px rgba(11, 30, 52, .08);
  overflow: hidden;
}

.cma-btn {
  flex: 1 1 0;
  min-height: 52px;
  padding: 0 18px;
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.cma-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.cma-divider {
  width: 1px;
  align-self: stretch;
  background: var(--ice-mid);
}

.filter-drawer-overlay,
.sort-drawer-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2090;
  background: rgba(8, 23, 43, .48);
  transition: opacity .25s ease, visibility .25s ease;
}

.filter-drawer,
.sort-drawer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  width: 100%;
  max-width: 100%;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 48px rgba(8, 23, 43, .18);
  transform: translateY(100%);
  transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
}

.filter-drawer-overlay.open,
.sort-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.filter-drawer.open,
.sort-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.filter-drawer-head,
.sort-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--ice-mid);
}

.filter-drawer-title,
.sort-drawer-title {
  color: var(--navy);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
}

.filter-drawer-close,
.sort-drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ice-mid);
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.filter-drawer-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.filter-drawer-body,
.sort-drawer-body {
  padding: 12px 20px 18px;
  max-height: min(68vh, 640px);
  overflow: auto;
}

.filter-drawer-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--ice-mid);
  background: var(--white);
}

.filter-drawer-clear,
.filter-drawer-apply {
  min-height: 46px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
}

.filter-drawer-clear {
  border: 1px solid var(--ice-mid);
  background: var(--white);
  color: var(--navy);
}

.filter-drawer-apply {
  background: var(--navy);
  color: var(--white);
}

.filter-drawer .filter-group {
  margin-bottom: 16px;
  border: 1px solid var(--ice-mid);
  border-radius: 16px;
  overflow: hidden;
}

.filter-drawer .filter-group-head {
  padding: 14px 16px;
}

.filter-drawer .filter-group-body {
  padding: 2px 16px 14px;
}

.filter-group-label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.filter-group-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.fcheck-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ice-dark);
  border-radius: 6px;
  background: var(--white);
  flex: 0 0 18px;
}

.filter-check input:checked + .fcheck-box {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .9);
}

.filter-check-name {
  flex: 1 1 auto;
  color: var(--navy);
  font-size: 14px;
}

.filter-check-count {
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
}

.sort-option {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ice-mid);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.sort-option + .sort-option {
  margin-top: 10px;
}

.sort-option.active {
  border-color: rgba(232, 103, 14, .35);
  background: rgba(232, 103, 14, .08);
  color: var(--orange-deep);
}

@media (min-width: 992px) {
  .filter-drawer-overlay,
  .sort-drawer-overlay,
  .filter-drawer,
  .sort-drawer,
  .catalog-mobile-actions-wrapper {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .catalog-mobile-actions-wrapper {
    display: block;
  }
}

/* Product detail authority: catalogoyproducto.html */
.detail-body {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 0;
}

.detail-gallery {
  background: var(--white);
  padding: 28px;
  border-right: 1px solid var(--ice-mid);
}

.gallery-main {
  background: var(--ice);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  flex: 1;
  height: 70px;
  background: var(--ice);
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
  overflow: hidden;
}

.gallery-thumb.active {
  border-color: var(--ink);
}

.gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.detail-brand {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.detail-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.detail-sku {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--slate-light);
}

.detail-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
}

.detail-stock-badge.ok {
  border: 1px solid rgba(23, 163, 90, .2);
  background: rgba(23, 163, 90, .08);
  color: var(--green);
}

.detail-stock-badge.low {
  border: 1px solid rgba(216, 59, 59, .18);
  background: rgba(216, 59, 59, .07);
  color: var(--red-warn);
}

.detail-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.detail-price-block {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--ice);
}

.detail-price-old {
  margin-bottom: 4px;
  color: var(--slate-light);
  font-size: 13px;
  text-decoration: line-through;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.detail-price {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.detail-discount-badge {
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--r4);
  background: var(--orange);
  color: var(--white);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.detail-price-note {
  color: var(--slate);
  font-size: 12px;
  line-height: 1.5;
}

.detail-price-note strong {
  color: var(--green);
  font-weight: 600;
}

.detail-specs-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ice-mid);
  font-size: 13px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  flex: 1;
  color: var(--slate);
}

.spec-value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.detail-cart-block {
  margin-bottom: 14px;
}

.detail-action-separator {
  width: 100%;
  height: 1px;
  margin: 4px 0 14px;
  background: var(--ice-mid);
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-main-cart {
  height: 48px;
  border-radius: var(--r8);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: background .2s, transform .15s;
}

.btn-main-cart:hover {
  background: var(--steel-mid);
  transform: translateY(-1px);
}

.btn-main-cart svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex: 0 0 17px;
}

.btn-wishlist {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: border-color .2s, background .2s;
}

.btn-wishlist:hover {
  border-color: var(--red-warn);
  background: rgba(216, 59, 59, .04);
}

.btn-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: var(--slate);
  stroke-width: 1.8;
  fill: none;
  flex: 0 0 18px;
}

.btn-wishlist.favorited svg,
.btn-wishlist.active svg {
  stroke: var(--red-warn);
  fill: rgba(216, 59, 59, .1);
}

.product-wa-support {
  margin-top: 10px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.5;
}

.detail-short-desc {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.detail-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.detail-trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r8);
  background: var(--ice);
  text-align: center;
}

.detail-trust-cell svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  stroke-width: 1.8;
  fill: none;
}

.detail-trust-title {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.detail-trust-sub {
  color: var(--slate);
  font-size: 10px;
  line-height: 1.3;
}

.detail-tabs-section {
  border-top: 1px solid var(--ice-mid);
  background: var(--white);
}

.detail-tabs-bar {
  display: flex;
  padding: 0 28px;
  border-bottom: 1px solid var(--ice-mid);
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-tabs-bar::-webkit-scrollbar {
  display: none;
}

.detail-tab {
  height: 48px;
  padding: 0 20px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  cursor: pointer;
}

.detail-tab:hover {
  color: var(--ink);
}

.detail-tab.active {
  color: var(--ink);
  border-color: var(--orange);
}

.detail-tab-panel {
  display: none;
  padding: 28px;
}

.detail-tab-panel.active {
  display: block;
}

.desc-content {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.desc-content p {
  margin-bottom: 14px;
}

.desc-content h4 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
}

.desc-content ul {
  margin-bottom: 14px;
  padding-left: 20px;
}

.desc-content li {
  margin-bottom: 6px;
  color: var(--slate);
}

.detail-usage-box {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(243, 247, 252, .98) 100%);
}

.usage-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
}

.technical-grid-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tech-item {
  padding: 14px 16px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r10);
  background: var(--white);
}

.tech-label {
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tech-value {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.detail-docs-box-premium {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(243, 247, 252, .98) 100%);
}

.docs-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--ice-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(8, 23, 43, .08);
}

.docs-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange);
  stroke-width: 1.9;
  fill: none;
}

.docs-content h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
}

.docs-content p {
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.7;
}

.docs-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.docs-resource-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(8, 23, 43, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.docs-resource-card:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 103, 14, .35);
  box-shadow: 0 16px 30px rgba(8, 23, 43, .1);
}

.docs-resource-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  background: #071421;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.docs-resource-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-resource-card small {
  display: block;
  margin-top: 3px;
  color: var(--slate);
  font-size: 11px;
  font-weight: 650;
}

.detail-related-section {
  margin-top: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1100px) {
  .detail-body {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    border-right: none;
    border-bottom: 1px solid var(--ice-mid);
  }

  .related-grid,
  .technical-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .detail-body,
  .detail-gallery,
  .detail-info {
    padding: 18px;
  }

  .gallery-main {
    height: 260px;
  }

  .detail-price {
    font-size: 36px;
  }

  .detail-trust-row,
  .technical-grid-premium {
    grid-template-columns: 1fr;
  }

  .related-grid,
  .docs-resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-docs-box-premium {
    grid-template-columns: 1fr;
  }

  .detail-tabs-bar {
    padding: 0 14px;
    gap: 6px;
  }

  .detail-tab {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 12px;
    font-size: 12px;
  }

  .docs-resource-card {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 12px;
  }

  .docs-resource-card strong {
    white-space: normal;
  }
}

/* Final authority: catalog and product detail from catalogoyproducto.html */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0 60px;
}

.sidebar {
  position: sticky;
  top: 130px;
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
}

.filter-group {
  margin-bottom: 0;
  border-bottom: 1px solid var(--ice-mid);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.filter-group-body {
  padding: 4px 20px 16px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  min-height: 42px;
  cursor: pointer;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prod-grid.list-view {
  grid-template-columns: 1fr;
}

.detail-shell {
  padding: 0 0 60px;
}

.detail-modal.detail-modal-inline {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r16);
  background: var(--ice);
  box-shadow: var(--sh-xl);
}

.detail-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 16px 28px;
  background: var(--ink);
}

.detail-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 130, 12, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 130, 12, .04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.detail-header-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
}

.detail-header-breadcrumb span {
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.detail-header-sep {
  color: rgba(255, 255, 255, .2);
}

.detail-close {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--r8);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.detail-close:hover {
  background: rgba(255, 255, 255, .15);
  color: var(--white);
}

.detail-body {
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 0;
}

.detail-gallery {
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--ice-mid);
}

.gallery-main {
  position: relative;
  overflow: hidden;
  height: 320px;
  margin-bottom: 12px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.gallery-tags-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  flex: 1;
  height: 70px;
  overflow: hidden;
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s;
}

.gallery-thumb:hover {
  border-color: var(--slate-light);
}

.gallery-thumb.active {
  border-color: var(--ink);
}

.gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.detail-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-brand {
  margin-bottom: 8px;
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.detail-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.detail-sku {
  color: var(--slate-light);
  font-family: var(--f-mono);
  font-size: 11px;
}

.detail-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
}

.detail-stock-badge.ok {
  border: 1px solid rgba(23, 163, 90, .2);
  background: rgba(23, 163, 90, .08);
  color: var(--green-ok);
}

.detail-stock-badge.low {
  border: 1px solid rgba(215, 59, 59, .18);
  background: rgba(215, 59, 59, .07);
  color: var(--red-warn);
}

.detail-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.detail-price-block {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--ice);
}

.detail-price-old {
  margin-bottom: 4px;
  color: var(--slate-light);
  font-size: 13px;
  text-decoration: line-through;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.detail-price {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.detail-discount-badge {
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--r4);
  background: var(--amber);
  color: var(--white);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.detail-price-note {
  color: var(--slate);
  font-size: 12px;
  line-height: 1.5;
}

.detail-price-note strong {
  color: var(--green-ok);
  font-weight: 600;
}

.detail-specs-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ice-mid);
  font-size: 13px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  flex: 1;
  color: var(--slate);
}

.spec-value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.detail-cart-block {
  margin-bottom: 14px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.qty-label {
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1.5px solid var(--ice-mid);
  border-radius: var(--r8);
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: var(--ice);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty-input {
  width: 48px;
  height: 34px;
  border: none;
  outline: none;
  text-align: center;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  background: var(--white);
}

.detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.detail-actions .btn-primary,
.detail-actions .btn-secondary,
.detail-actions .btn-fav {
  min-height: 48px;
}

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

  .sidebar {
    display: none;
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    border-right: 0;
    border-bottom: 1px solid var(--ice-mid);
  }
}

@media (max-width: 640px) {
  .detail-shell {
    padding-bottom: 36px;
  }

  .detail-header,
  .detail-gallery,
  .detail-info {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gallery-main {
    height: 260px;
  }

  .detail-title {
    font-size: 24px;
  }

  .detail-price {
    font-size: 36px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }
}

/* Final authority: category and product cards from home template */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  padding: 22px 14px 20px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.cat-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s;
}

.cat-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: var(--r12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
}

.cat-card:hover .cat-icon {
  transform: scale(1.08);
}

.cat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--white);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-5px);
  border-color: rgba(26, 123, 255, .2);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-img-wrap img {
  width: auto;
  height: 170px;
  max-width: 90%;
  object-fit: contain;
  transition: transform .35s ease;
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-body {
  padding: 16px 18px 18px;
}

.card-footer {
  display: flex;
  gap: 8px;
}

.btn-detail {
  flex: 1;
  height: 40px;
  border-radius: var(--r6);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.btn-detail:hover {
  background: var(--navy-light);
}

.btn-detail svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.btn-wa {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(37, 211, 102, .25);
  border-radius: var(--r6);
  background: rgba(37, 211, 102, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}

.btn-wa:hover {
  border-color: #25D366;
  background: #25D366;
}

.btn-wa svg {
  width: 16px;
  height: 16px;
  fill: #25D366;
  transition: fill .2s;
}

.btn-wa:hover svg {
  fill: #fff;
}

@media (max-width: 1200px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* Final authority: catalog pcard from catalogoyproducto.html */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  background: var(--white);
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.pcard:hover {
  border-color: var(--steel-mid);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.pcard-img {
  position: relative;
  overflow: hidden;
  height: 175px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-img img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.pcard-img-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ice-mid) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
}

.pcard-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pcard-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(10, 14, 23, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s;
}

.pcard:hover .pcard-overlay {
  opacity: 1;
}

.pcard-ov-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r8);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.pcard-ov-btn:hover {
  background: var(--ice);
}

.pcard-ov-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  stroke-width: 1.8;
  fill: none;
}

.pcard-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pcard-brand {
  margin-bottom: 5px;
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pcard-name {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.01em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pcard-sku {
  margin-bottom: 14px;
  color: var(--slate-light);
  font-family: var(--f-mono);
  font-size: 10px;
}

.pcard-price-row {
  margin-top: auto;
}

.pcard-price-old {
  margin-bottom: 1px;
  color: var(--slate-light);
  font-size: 11px;
  text-decoration: line-through;
}

.pcard-price {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.pcard-note {
  margin-top: 3px;
  color: var(--slate);
  font-size: 10.5px;
}

.pcard-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--ice-mid);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
}

.btn-add-cart {
  height: 36px;
  border-radius: var(--r6);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s;
}

.btn-add-cart:hover {
  background: var(--steel-mid);
}

.btn-micro {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ice-mid);
  border-radius: var(--r6);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}

.btn-micro:hover {
  background: var(--ice-mid);
  border-color: var(--slate-light);
}

.btn-micro svg {
  width: 14px;
  height: 14px;
  stroke: var(--slate);
  stroke-width: 2;
  fill: none;
}

.btn-micro.wished svg {
  stroke: var(--red-warn);
  fill: rgba(216, 59, 59, .1);
}

.prod-grid.list-view .pcard {
  flex-direction: row;
  transform: none !important;
}

.prod-grid.list-view .pcard:hover {
  box-shadow: var(--sh-sm);
}

.prod-grid.list-view .pcard-img {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
}

.prod-grid.list-view .pcard-body {
  padding: 14px 16px;
}

.prod-grid.list-view .pcard-foot {
  width: 160px;
  padding: 14px;
  border-top: none;
  border-left: 1px solid var(--ice-mid);
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  flex-shrink: 0;
}

.prod-grid.list-view .pcard-foot .btn-add-cart {
  height: 38px;
}

body.catalog-page .pcard-img {
  height: 130px;
}

body.catalog-page .pcard-body {
  padding: 9px 10px 8px;
}

body.catalog-page .pcard-brand {
  margin-bottom: 2px;
  font-size: 10px;
}

body.catalog-page .pcard-name {
  font-size: 11.5px;
  line-height: 1.3;
}

body.catalog-page .pcard-sku {
  display: none;
}

body.catalog-page .pcard-price {
  font-size: 18px;
}

body.catalog-page .pcard-price-old {
  font-size: 11px;
}

body.catalog-page .pcard-foot {
  padding: 7px 10px;
  gap: 6px;
}

body.catalog-page .btn-add-cart,
body.catalog-page .btn-micro {
  flex-shrink: 0;
  height: 32px;
}

body.catalog-page .btn-micro {
  width: 32px;
}

/* Template sync: catalogoyproducto.html */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sidebar {
  background: var(--white);
  border: 1px solid var(--ice-mid);
  border-radius: var(--r12);
  overflow: hidden;
  position: sticky;
  top: 120px;
}

.filter-group {
  border-bottom: 1px solid var(--ice-mid);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #fff;
}

.filter-group-body {
  padding: 4px 20px 16px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  cursor: pointer;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.prod-grid.list-view {
  grid-template-columns: 1fr;
}

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

  .sidebar {
    display: none;
  }
}

/* ============================================================
   FINAL AUTHORITY: CATALOGO PREMIUM CARD + DETAIL META
   ============================================================ */
body.catalog-page .pcard-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.catalog-page .pcard-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

body.catalog-page .pcard-stars {
  display: flex;
  gap: 1px;
}

body.catalog-page .pcard-star {
  color: var(--amber);
  font-size: 11px;
}

body.catalog-page .pcard-star-empty {
  color: var(--ice-mid);
  font-size: 11px;
}

body.catalog-page .pcard-rating-count {
  font-size: 11px;
  color: var(--slate-light);
}

body.catalog-page .pcard-price-row {
  margin-top: auto;
}

body.catalog-page .pcard-note {
  font-size: 10.5px;
  color: var(--slate);
  margin-top: 3px;
}

body.catalog-page .pcard-foot {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}

body.catalog-page .btn-add-cart {
  height: 40px;
  border-radius: var(--r8);
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .03em;
}

body.catalog-page .detail-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.catalog-page .detail-stars {
  display: flex;
  gap: 2px;
}

body.catalog-page .detail-star {
  color: var(--amber);
  font-size: 13px;
}

body.catalog-page .detail-star-empty {
  color: var(--ice-mid);
  font-size: 13px;
}

body.catalog-page .detail-rating-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

body.catalog-page .detail-rating-count {
  font-size: 12px;
  color: var(--slate-light);
}

body.detail-page .detail-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.detail-page .detail-cuotas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

body.detail-page .detail-cuotas svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-ok);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

body.detail-page .detail-cuotas-text {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
}

body.detail-page .detail-cuotas-text strong {
  color: var(--green-ok);
}

/* Mobile PDP authority: product detail must show full info, not only the gallery. */
@media (max-width: 767px) {
  .pdp-overlay {
    align-items: flex-start !important;
    z-index: 2200 !important;
    padding: calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    background: rgba(5, 14, 26, .78) !important;
  }

  .pdp-modal {
    width: min(100%, 430px) !important;
    max-width: calc(100vw - 16px) !important;
    height: calc(var(--app-height, 100vh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    max-height: calc(var(--app-height, 100vh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(5, 14, 26, .42) !important;
  }

  .pdp-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    background: #fff !important;
  }

  .pdp-overlay.open .pdp-modal {
    transform: translateY(0) scale(1) !important;
  }

  .pdp-info {
    order: 2;
    padding: 14px 14px 14px !important;
    overflow: visible !important;
    gap: 9px !important;
    background: #fff !important;
  }

  .pdp-gallery {
    order: 1;
    padding: 12px 14px !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: 1px solid rgba(213, 223, 236, .85) !important;
    overflow: visible !important;
    background: #f3f6fb !important;
    gap: 10px !important;
  }

  .pdp-breadcrumb,
  .pdp-rating {
    display: none !important;
  }

  .pdp-brand-row {
    margin: 0 !important;
    gap: 8px !important;
  }

  .pdp-title {
    font-size: 20px !important;
    line-height: 1.12 !important;
    margin: 1px 0 0 !important;
  }

  .pdp-sku {
    font-size: 11px !important;
  }

  .pdp-price-box {
    padding: 12px 14px 13px !important;
    margin-bottom: 8px !important;
    border-radius: 12px !important;
  }

  .pdp-price {
    font-size: 31px !important;
  }

  .pdp-price-note {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .pdp-commercial-zone {
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .pdp-stock-row {
    margin: 4px 0 10px !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .pdp-attrs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-bottom: 10px !important;
  }

  .pdp-attr {
    min-height: auto !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  .pdp-full-info {
    margin-top: 8px !important;
    padding-bottom: 82px !important;
  }

  .pdp-detail-section {
    padding: 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(8, 23, 43, .05) !important;
  }

  .pdp-detail-title {
    margin-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .pdp-detail-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .pdp-spec-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .pdp-spec-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  .pdp-main-img {
    height: clamp(138px, 28vh, 176px) !important;
    min-height: 138px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .pdp-main-img img {
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .pdp-image-zoom-hint {
    right: 10px !important;
    bottom: 10px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    opacity: 1 !important;
    transform: none !important;
    font-size: 11px !important;
  }

  .pdp-thumbs {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-height: none !important;
    padding: 0 0 2px !important;
    scrollbar-width: none;
  }

  .pdp-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pdp-thumb {
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
  }

  .pdp-actions-row {
    position: sticky !important;
    bottom: calc(6px + env(safe-area-inset-bottom)) !important;
    z-index: 20;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
    padding: 8px !important;
    border: 1px solid rgba(213, 223, 236, .95) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 16px 38px rgba(8, 23, 43, .16) !important;
    backdrop-filter: blur(12px);
  }

  .pdp-actions-row + * {
    margin-top: 10px !important;
  }

  .pdp-actions-row .btn-pdp-wa,
  .pdp-fav-btn-action {
    min-height: 50px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .pdp-fav-btn-action {
    flex: 0 0 auto !important;
    padding: 0 12px !important;
  }

  .pdp-actions-row .btn-pdp-wa svg,
  .pdp-fav-btn-action svg {
    width: 19px !important;
    height: 19px !important;
  }

  .pdp-close {
    top: -14px !important;
    right: 10px !important;
    z-index: 5;
  }
}

body.pdp-open .wa-float,
body.pdp-open .fav-float-mobile,
body.pdp-open .scroll-top,
body.pdp-open #scrollTopBtn {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(18px) scale(.9) !important;
}

/* Final authority: premium PDP quote form */
#pdpStateForm {
  width: 100% !important;
}

#pdpStateForm .pdp-commercial-zone {
  padding: 0 !important;
  background: transparent !important;
}

#pdpStateForm .pdp-form-compact {
  display: grid !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 18px !important;
  border: 1px solid rgba(213, 223, 236, .92) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%) !important;
  box-shadow: 0 18px 44px rgba(8, 23, 43, .08) !important;
}

#pdpStateForm .pdp-form-header {
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
}

#pdpStateForm .pdp-form-title {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: var(--f-display) !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

#pdpStateForm .pdp-quote-product-card {
  display: grid !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(213, 223, 236, .92) !important;
  border-radius: 14px !important;
  background: #eef3fa !important;
}

#pdpStateForm .pdp-quote-product-label {
  color: #5f789b !important;
  font-family: var(--f-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

#pdpStateForm .pdp-quote-product-name {
  color: var(--ink) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
}

#pdpStateForm .pdp-quote-product-meta {
  color: var(--slate) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

#pdpStateForm .pdp-form-desc {
  margin: 0 !important;
  color: var(--slate) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

#pdpStateForm .pdp-quote-destination {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(37, 211, 102, .18) !important;
  border-radius: 14px !important;
  background: rgba(37, 211, 102, .08) !important;
}

#pdpStateForm .pdp-quote-destination-label {
  color: var(--slate) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

#pdpStateForm .pdp-quote-destination-value {
  color: #0f8b49 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

#pdpStateForm .pdp-client-summary,
#pdpStateForm .pdp-message-preview {
  border-radius: 14px !important;
}

#pdpStateForm .pdp-client-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(37, 211, 102, .18) !important;
  background: linear-gradient(135deg, rgba(37, 211, 102, .10), #fff) !important;
}

#pdpStateForm .pdp-client-summary[hidden],
#pdpStateForm .pdp-client-fields[hidden] {
  display: none !important;
}

#pdpStateForm .pdp-client-fields {
  display: grid !important;
  gap: 12px !important;
}

#pdpStateForm .pdp-client-summary span,
#pdpStateForm .pdp-message-preview {
  color: var(--slate) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

#pdpStateForm .pdp-client-summary strong {
  display: block !important;
  margin-top: 3px !important;
  color: var(--ink) !important;
  font-weight: 900 !important;
}

#pdpStateForm .pdp-client-summary button {
  height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(183, 198, 218, .95) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-weight: 900 !important;
}

#pdpStateForm .pdp-message-preview {
  padding: 11px 13px !important;
  border: 1px solid rgba(213, 223, 236, .86) !important;
  background: #f8fbff !important;
}

#pdpStateForm .pdp-form-group {
  display: grid !important;
  flex: none !important;
  gap: 7px !important;
  margin: 0 !important;
  min-height: 0 !important;
}

#pdpStateForm .pdp-form-group:has(#pdp_wa_msg) {
  flex: none !important;
}

#pdpStateForm .pdp-form-group label {
  color: var(--ink) !important;
  font-family: var(--f-mono) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

#pdpStateForm input,
#pdpStateForm textarea {
  width: 100% !important;
  border: 1px solid rgba(183, 198, 218, .95) !important;
  border-radius: 14px !important;
  outline: none !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-family: var(--f-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

#pdpStateForm input {
  height: 48px !important;
  padding: 0 14px !important;
}

#pdpStateForm textarea {
  min-height: 112px !important;
  max-height: 180px !important;
  padding: 13px 14px !important;
  resize: vertical !important;
}

#pdpStateForm input:focus,
#pdpStateForm textarea:focus {
  border-color: rgba(232, 103, 14, .58) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(232, 103, 14, .12) !important;
}

#pdpStateForm textarea::placeholder,
#pdpStateForm input::placeholder {
  color: #8090a8 !important;
  font-weight: 500 !important;
}

#pdpStateForm .pdp-form-error {
  display: none;
  color: var(--red-warn) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#pdpStateForm .pdp-form-actions {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#pdpStateForm #pdpQuoteSubmitBtn {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

#pdpStateForm .btn-pdp-back-alt {
  height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(183, 198, 218, .95) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-family: var(--f-display) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

#pdpStateForm .btn-pdp-back-alt:hover {
  border-color: rgba(8, 23, 43, .22) !important;
  background: #f3f6fb !important;
}

@media (max-width: 767px) {
  .pdp-inner:has(.pdp-info.is-quote-mode) .pdp-gallery {
    display: none !important;
  }

  .pdp-inner:has(.pdp-info.is-quote-mode) .pdp-info {
    padding: 14px !important;
  }

  #pdpStateForm .pdp-form-compact {
    gap: 10px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  #pdpStateForm .pdp-form-title {
    font-size: 22px !important;
  }

  #pdpStateForm .pdp-quote-product-card {
    padding: 12px 14px !important;
  }

  #pdpStateForm .pdp-form-desc {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
  }

  #pdpStateForm .pdp-quote-destination {
    padding: 10px 12px !important;
  }

  #pdpStateForm .pdp-quote-destination {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  #pdpStateForm .pdp-quote-destination-value {
    text-align: left !important;
  }

  #pdpStateForm input {
    height: 43px !important;
  }

  #pdpStateForm textarea {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 116px !important;
  }

  #pdpStateForm #pdpQuoteSubmitBtn,
  #pdpStateForm .btn-pdp-back-alt {
    height: 48px !important;
    min-height: 48px !important;
  }

  #pdpStateForm .pdp-form-actions {
    grid-template-columns: 1fr !important;
  }

  #pdpStateForm .btn-pdp-back-alt {
    width: 100% !important;
  }
}

@media (min-width: 520px) and (max-width: 767px) {
  #pdpStateForm .pdp-form-actions {
    grid-template-columns: minmax(0, 1fr) 168px !important;
  }

  #pdpStateForm .btn-pdp-back-alt {
    width: auto !important;
  }
}

/* Final catalog authority after product and PDP overrides. */
body.catalog-page {
  background: linear-gradient(180deg, #eef4fb 0%, #f7f9fc 280px, #f8fafc 100%) !important;
}

body.catalog-page .breadcrumb-bar {
  background: rgba(255,255,255,.86) !important;
  border-bottom: 1px solid rgba(148,163,184,.22) !important;
  backdrop-filter: blur(14px) !important;
}

body.catalog-page .catalog-hero {
  margin: 18px auto 24px !important;
  padding: 0 !important;
}

body.catalog-page .catalog-hero-inner {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 28px !important;
  align-items: center !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, rgba(7,20,33,.98), rgba(11,30,52,.94) 56%, rgba(232,103,14,.92)) !important;
  box-shadow: 0 28px 70px rgba(7,20,33,.2) !important;
}

body.catalog-page .catalog-hero-inner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px) !important;
  pointer-events: none !important;
}

body.catalog-page .catalog-hero-left,
body.catalog-page .catalog-hero-stats {
  position: relative !important;
  z-index: 1 !important;
}

body.catalog-page .catalog-hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  color: #ffb15b !important;
  font-family: var(--f-mono) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.catalog-page .catalog-hero-title {
  max-width: 760px !important;
  margin-top: 18px !important;
  color: #fff !important;
  font-family: var(--f-display) !important;
  font-size: clamp(38px, 5vw, 72px) !important;
  font-weight: 900 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
}

body.catalog-page .catalog-hero-title span {
  color: #ff7a18 !important;
}

body.catalog-page .catalog-hero-sub {
  max-width: 620px !important;
  margin-top: 16px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

body.catalog-page .catalog-hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(100px, 1fr)) !important;
  gap: 10px !important;
}

body.catalog-page .cat-stat {
  min-width: 112px !important;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.08) !important;
  backdrop-filter: blur(12px) !important;
}

body.catalog-page .cat-stat-num {
  color: #fff !important;
  font-family: var(--f-display) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.catalog-page .cat-stat-num .acc {
  color: #ff7a18 !important;
}

body.catalog-page .cat-stat-label {
  margin-top: 7px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.catalog-page .sidebar,
body.catalog-page .catalog-toolbar,
body.catalog-page .pcard,
body.catalog-page .catalog-empty {
  border: 1px solid rgba(148,163,184,.22) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 18px 42px rgba(11,30,52,.08) !important;
}

body.catalog-page .sidebar {
  position: sticky !important;
  top: 118px !important;
  padding: 18px !important;
}

body.catalog-page .catalog-toolbar {
  padding: 14px 16px !important;
  margin-bottom: 18px !important;
}

body.catalog-page .btn-add-cart {
  min-height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #071421, #0b1e34) !important;
  box-shadow: 0 12px 24px rgba(7,20,33,.18) !important;
  font-weight: 800 !important;
}

body.catalog-page .pcard:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(232,103,14,.34) !important;
  box-shadow: 0 24px 50px rgba(11,30,52,.13) !important;
}

@media (max-width: 900px) {
  body.catalog-page .catalog-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 26px 20px !important;
    border-radius: 24px !important;
  }

  body.catalog-page .catalog-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.catalog-page .cat-stat {
    min-width: 0 !important;
    padding: 12px 10px !important;
  }

  body.catalog-page .catalog-hero-title {
    font-size: clamp(34px, 11vw, 52px) !important;
  }
}
