/* =========================================================
   PRODUCT DETAIL — Grupo Versatile (B2B)
   Premium single product layout
   ========================================================= */

/* ---------- 1. Section base + container ---------- */
.product-detail-section {
  padding: 48px 0 96px;
  background: #fff;
}

.product-detail-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 2. Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 32px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink-500);
  letter-spacing: 0.01em;
}

.breadcrumb__item a {
  color: var(--ink-500);
  text-decoration: none;
  transition: color 0.18s ease;
}

.breadcrumb__item a:hover {
  color: var(--royal-500);
}

.breadcrumb__separator {
  color: var(--ink-400);
  opacity: 0.6;
  font-weight: 400;
}

.breadcrumb__current {
  color: var(--navy-900);
  font-weight: 500;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 3. Product layout grid (60/40, sticky) ---------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  margin-bottom: 96px;
  align-items: start;
}

.product-detail__gallery {
  position: relative;
  min-width: 0;
}

.product-detail__info {
  min-width: 0;
}

@media (min-width: 901px) {
  .product-detail__info {
    position: sticky;
    top: 96px;
  }
}

.product-detail__info-inner {
  display: flex;
  flex-direction: column;
}

/* ---------- 4. Gallery ---------- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(6, 21, 52, 0.06);
}

.product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), opacity 0.25s ease;
}

.product-gallery__main:hover .product-gallery__main-img {
  transform: scale(1.04);
}

.product-gallery__main-img.is-loading {
  opacity: 0.35;
}

.product-gallery__main .product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 12px;
}

.product-gallery__thumb-btn {
  position: relative;
  padding: 0;
  background: var(--bone);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery__thumb-btn:hover {
  border-color: var(--royal-400);
  transform: translateY(-2px);
}

.product-gallery__thumb-btn.is-active {
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(6, 21, 52, 0.08);
}

.product-gallery__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery--no-image {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bone);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-400);
  font-family: var(--font-body);
  font-size: 14px;
}

.product-gallery--no-image svg {
  width: 56px;
  height: 56px;
  color: var(--ink-400);
  opacity: 0.5;
}

/* ---------- 5. Info column ---------- */

/* Product badge (corner pill on gallery) */
.product-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(6, 21, 52, 0.18);
}

.product-badge--novo         { background: var(--royal-500); color: white; }
.product-badge--oferta       { background: var(--amber-500); color: var(--navy-900); }
.product-badge--mais-vendido { background: var(--whats-500); color: white; }

/* Category link */
.product-detail__category {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-detail__category a {
  color: var(--royal-500);
  text-decoration: none;
  transition: color 0.18s ease;
}

.product-detail__category a:hover {
  color: var(--navy-900);
}

/* Title */
.product-detail__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy-900);
}

/* SKU + stock row */
.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.product-detail__sku {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-500);
}

.product-detail__sku-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--ink-400);
}

.product-detail__sku-value {
  color: var(--ink-700);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   FABRICANTE — Premium brand card
   ========================================================= */
.product-detail__brand-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 14px;
  margin: 18px 0 24px;
  background: linear-gradient(135deg, rgba(30, 91, 191, 0.04), rgba(30, 91, 191, 0.01));
  border: 1px solid rgba(30, 91, 191, 0.15);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.22s var(--ease-out, ease-out);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.product-detail__brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 91, 191, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.product-detail__brand-card:not(.product-detail__brand-card--static):hover {
  border-color: var(--royal-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 91, 191, 0.15);
}
.product-detail__brand-card:not(.product-detail__brand-card--static):hover::before { opacity: 1; }

.product-detail__brand-avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--royal-500), var(--navy-700));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(30, 91, 191, 0.28);
  position: relative;
  z-index: 1;
}

.product-detail__brand-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.product-detail__brand-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--royal-500);
  line-height: 1;
}
.product-detail__brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.product-detail__brand-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-700);
  margin-left: 4px;
  position: relative;
  z-index: 1;
  transition: all 0.22s var(--ease-out, ease-out);
}
.product-detail__brand-card:hover .product-detail__brand-arrow {
  background: var(--royal-500);
  border-color: var(--royal-500);
  color: white;
  transform: rotate(45deg);
}

/* =========================================================
   TAGS — Premium chip group with header
   ========================================================= */
.product-detail__tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 4px;
  padding: 16px 18px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.product-detail__tags-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.product-detail__tags-header svg {
  color: var(--royal-500);
}
.product-detail__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-detail__tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: all 0.18s var(--ease-out, ease-out);
  line-height: 1.4;
}
.product-detail__tag-hash {
  color: var(--royal-500);
  margin-right: 2px;
  font-weight: 700;
  transition: color 0.18s;
}
.product-detail__tag-chip:hover {
  background: linear-gradient(135deg, var(--royal-500), var(--navy-700));
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 91, 191, 0.25);
}
.product-detail__tag-chip:hover .product-detail__tag-hash {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .product-detail__brand-card {
    width: 100%;
    padding: 14px;
  }
  .product-detail__brand-avatar { width: 38px; height: 38px; font-size: 16px; }
  .product-detail__brand-name { font-size: 15px; }
  .product-detail__tags { padding: 14px; }
}

/* Stock badge pill */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stock-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
  position: relative;
}

.stock-badge__dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
}

.stock-badge--in_stock     { background: #e8faf0; color: #1a7a47; }
.stock-badge--backorder    { background: #fff7e6; color: #92540a; }
.stock-badge--out_of_stock { background: #fef2f2; color: #991b1b; }

/* Short description */
.product-detail__short-desc {
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-500);
}

.product-detail__short-desc p {
  margin: 0 0 8px;
}

.product-detail__short-desc p:last-child {
  margin-bottom: 0;
}

/* Attributes pills */
.product-detail__attributes {
  margin-bottom: 28px;
}

.product-detail__attributes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail__attribute-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.product-detail__attribute-pill:hover {
  border-color: var(--navy-900);
  background: white;
}

.product-detail__attribute-pill .attribute-label {
  color: var(--ink-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.product-detail__attribute-pill .attribute-value {
  color: var(--ink-700);
  font-weight: 600;
}

/* ---------- 6. Qty selector ---------- */
.product-qty {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.product-qty__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}

.product-qty__control {
  display: inline-flex;
  align-items: stretch;
  width: 160px;
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: white;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.product-qty__control:focus-within {
  border-color: var(--navy-900);
}

.product-qty__btn {
  flex-shrink: 0;
  width: 50px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  user-select: none;
}

.product-qty__btn:hover {
  background: var(--bone);
}

.product-qty__btn:active {
  background: var(--line);
}

.product-qty__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  -moz-appearance: textfield;
  appearance: textfield;
  font-variant-numeric: tabular-nums;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-qty__input:focus {
  outline: none;
}

/* ---------- 7. CTA buttons ---------- */
.product-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.product-detail__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-detail__actions .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.product-detail__actions .btn--primary {
  background: linear-gradient(135deg, var(--royal-500), var(--navy-700));
  color: white;
  box-shadow: 0 10px 30px rgba(30, 91, 191, 0.32);
}

.product-detail__actions .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(30, 91, 191, 0.42);
}

.product-detail__actions .btn--primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.product-detail__actions .btn--whats {
  background: var(--whats-500);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.32);
}

.product-detail__actions .btn--whats:hover {
  background: var(--whats-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(37, 211, 102, 0.42);
}

.product-detail__actions .btn .arrow { display: none; }

/* Wishlist button (works with wishlist agent's JS via .gv-add-to-wishlist) */
.btn-wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: white;
  color: var(--ink-700);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-wishlist:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.btn-wishlist svg { width: 18px; height: 18px; }

.btn-wishlist.is-active {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.btn-wishlist.is-active svg { fill: #ef4444; }

/* PDF link */
.product-detail__pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.18s ease;
}

.product-detail__pdf-link svg {
  width: 18px;
  height: 18px;
  color: var(--royal-500);
}

.product-detail__pdf-link:hover {
  color: var(--royal-500);
}

.product-detail__pdf-link:hover svg {
  transform: translateY(1px);
}

/* ---------- 8. Trust badges ---------- */
.product-trust {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: white;
  color: var(--royal-500);
  border: 1px solid var(--line);
}

.product-trust__icon svg {
  width: 20px;
  height: 20px;
}

.product-trust__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-trust__text strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.2;
}

.product-trust__text span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.3;
}

/* ---------- 9. Tabs ---------- */
.product-tabs {
  margin-bottom: 96px;
}

.product-tabs__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.product-tabs__bar::-webkit-scrollbar { display: none; }

.product-tabs__tab {
  position: relative;
  flex-shrink: 0;
  padding: 18px 4px;
  margin-right: 24px;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-tabs__tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--navy-900);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.product-tabs__tab:hover {
  color: var(--navy-900);
}

.product-tabs__tab.is-active {
  color: var(--navy-900);
  font-weight: 700;
}

.product-tabs__tab.is-active::after {
  transform: scaleX(1);
}

.product-tabs__panels {
  position: relative;
}

.product-tabs__panel {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-tabs__panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-tabs__panel[hidden] {
  display: none;
}

.product-tabs__content {
  max-width: 880px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
}

.product-tabs__content h2,
.product-tabs__content h3,
.product-tabs__content h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 28px 0 14px;
  letter-spacing: -0.01em;
}

.product-tabs__content h2 { font-size: 24px; }
.product-tabs__content h3 { font-size: 20px; }
.product-tabs__content h4 { font-size: 17px; }

.product-tabs__content p {
  margin: 0 0 16px;
}

.product-tabs__content ul,
.product-tabs__content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.product-tabs__content li {
  margin-bottom: 6px;
}

.product-tabs__content a {
  color: var(--royal-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-tabs__content strong {
  color: var(--ink-700);
  font-weight: 600;
}

/* Specs table */
.product-specs-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 15px;
}

.product-specs-table tr {
  border-bottom: 1px solid var(--line);
}

.product-specs-table tr:first-child {
  border-top: 1px solid var(--line);
}

.product-specs-table th,
.product-specs-table td {
  padding: 16px 4px;
  text-align: left;
  vertical-align: top;
}

.product-specs-table th {
  width: 38%;
  color: var(--ink-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.product-specs-table td {
  color: var(--navy-900);
  font-weight: 500;
}

/* Delivery grid */
.product-delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-delivery-grid__item {
  padding: 24px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product-delivery-grid__item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.product-delivery-grid__item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ---------- 10. Video section ---------- */
.product-video-section {
  margin-bottom: 96px;
}

.product-video__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6, 21, 52, 0.15);
}

.product-video__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 11. Section headers ---------- */
.product-section-header {
  margin-bottom: 32px;
  text-align: left;
}

.product-section-header__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.product-section-header__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--royal-500);
}

.product-section-header__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.1;
}

/* ---------- 12. Related products ---------- */
.related-products {
  margin-bottom: 32px;
}

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

/* Wishlist button on related cards */
.product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  color: var(--ink-700);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 21, 52, 0.1);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.product-card__wishlist svg {
  width: 18px;
  height: 18px;
}

.product-card__wishlist:hover {
  color: #ef4444;
  background: white;
  transform: scale(1.06);
}

.product-card__wishlist.is-active {
  color: #ef4444;
  background: #fef2f2;
}

.product-card__wishlist.is-active svg {
  fill: #ef4444;
}

.product-card__image-link {
  position: relative;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
  }

  .product-detail__info {
    position: static;
  }

  .product-detail-section {
    padding: 32px 0 72px;
  }

  .products-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-tabs {
    margin-bottom: 72px;
  }
}

@media (max-width: 700px) {
  .product-detail-section .container {
    padding: 0 16px;
  }

  .breadcrumb__current {
    max-width: 200px;
  }

  .product-detail {
    gap: 32px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
  }

  .product-detail__title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .product-qty {
    align-items: center;
    text-align: center;
  }

  .product-qty__label {
    text-align: center;
  }

  .product-qty__control {
    width: 180px;
    margin: 0 auto;
  }

  .product-detail__actions .btn,
  .btn-wishlist {
    height: 50px;
    font-size: 14px;
  }

  .product-trust {
    padding: 18px;
  }

  .product-tabs__tab {
    font-size: 14px;
    padding: 14px 4px;
    margin-right: 18px;
  }

  .product-tabs__content {
    font-size: 15px;
  }

  .product-specs-table th,
  .product-specs-table td {
    padding: 12px 4px;
    font-size: 14px;
  }

  .product-specs-table th {
    width: 42%;
    font-size: 11px;
  }

  .products-grid--related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-detail-section {
    padding: 24px 0 56px;
  }

  .breadcrumb {
    margin-bottom: 20px;
  }

  .product-detail__meta {
    gap: 10px;
  }

  .product-trust {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .product-gallery__main-img,
  .product-tabs__tab::after,
  .product-tabs__panel,
  .product-detail__actions .btn,
  .btn-wishlist,
  .product-card__wishlist {
    transition: none !important;
  }
  .product-gallery__main:hover .product-gallery__main-img {
    transform: none;
  }
}
