/* =========================================================================
   Product Detail Page (PDP) — Mekik Masura
   Reuses design tokens & components from style.css. Page-specific styles only.
   ========================================================================= */

.pdp {
  padding-bottom: clamp(48px, 6vw, 88px);
}

/* ----------------------------------------------------------------- Breadcrumb */
.breadcrumb {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.breadcrumb__list::-webkit-scrollbar {
  display: none;
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.breadcrumb__list a {
  color: var(--color-muted);
  transition: color 160ms ease;
}

.breadcrumb__list a:hover {
  color: var(--color-blue);
}

.breadcrumb__list li:not(:last-child)::after {
  color: var(--color-soft-blue);
  content: "›";
  font-weight: 800;
}

.breadcrumb__current {
  min-width: 0;
  max-width: 46ch;
  overflow: hidden;
  color: var(--color-navy);
  font-weight: 800;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------- PDP hero */
.pdp-hero {
  padding-top: clamp(22px, 3vw, 40px);
}

.pdp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

/* ----------------------------------------------------------------- Gallery */
.gallery {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery__thumb {
  display: grid;
  width: 92px;
  height: 92px;
  padding: 8px;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumb:hover {
  border-color: rgba(26, 102, 175, 0.4);
  transform: translateY(-1px);
}

.gallery__thumb.is-active {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(237, 144, 65, 0.16);
}

.gallery__stage {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.gallery__stage-img {
  width: 100%;
  height: 100%;
  padding: clamp(18px, 3vw, 40px);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 320ms ease;
}

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

.gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 50, 104, 0.94);
  color: var(--color-white);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.3px;
}

.gallery__zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.gallery__zoom-hint svg {
  width: 16px;
  height: 16px;
}

/* ----------------------------------------------------------------- Info panel */
.buy-panel {
  position: sticky;
  top: clamp(16px, 2vw, 28px);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.buy-panel__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.buy-panel__brand {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(26, 102, 175, 0.1);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.buy-panel__category {
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease;
}

.buy-panel__category:hover {
  color: var(--color-orange);
}

.buy-panel__title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.22;
  font-weight: 880;
}

.buy-panel__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.buy-panel__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12.5px;
  font-weight: 700;
}

.buy-panel__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-orange);
}

.buy-panel__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.buy-panel__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0 2px;
}

.buy-panel__price {
  color: var(--color-navy);
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1;
  font-weight: 950;
}

.buy-panel__vat {
  color: var(--color-muted);
  font-size: 12.5px;
  font-weight: 700;
}

.buy-panel__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 102, 175, 0.08);
  color: var(--color-blue);
  font-size: 12.5px;
  font-weight: 850;
}

.buy-panel__stock::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  content: "";
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.buy-panel__facts {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.buy-panel__fact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 650;
}

.buy-panel__fact svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-blue);
}

.buy-panel__fact strong {
  color: var(--color-navy);
  font-weight: 850;
}

/* Quantity + purchase row */
.buy-panel__purchase {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.qty {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: var(--color-bg);
}

.qty__btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(5, 50, 104, 0.08);
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}

.qty__btn:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.qty__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty__btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.qty__input {
  width: 54px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 850;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.btn {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.2px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease, box-shadow 160ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn--cart {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 14px 28px rgba(237, 144, 65, 0.28);
}

.btn--cart:hover {
  background: #DD7E31;
  box-shadow: 0 18px 34px rgba(237, 144, 65, 0.36);
  transform: translateY(-2px);
}

.btn--cart:active {
  transform: translateY(0);
}

.buy-panel__secondary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.btn--whatsapp {
  border: 1.5px solid rgba(5, 50, 104, 0.2);
  background: var(--color-white);
  color: var(--color-navy);
  min-height: 50px;
}

.btn--whatsapp svg {
  color: #25D366;
}

.btn--whatsapp:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--whatsapp:hover svg {
  color: var(--color-white);
}

.btn--fav {
  display: inline-grid;
  width: 50px;
  min-height: 50px;
  place-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn--fav svg {
  width: 22px;
  height: 22px;
}

.btn--fav:hover {
  border-color: rgba(237, 144, 65, 0.5);
  background: rgba(237, 144, 65, 0.1);
  color: var(--color-orange);
}

.btn--fav.is-active {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--fav.is-active svg {
  fill: currentColor;
}

.buy-panel__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 650;
}

.buy-panel__note svg {
  width: 15px;
  height: 15px;
  color: var(--color-soft-blue);
}

/* ----------------------------------------------------------------- Trust cards */
.pdp-trust {
  padding-top: clamp(28px, 4vw, 48px);
}

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

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 12px 26px rgba(5, 50, 104, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.trust-card:hover {
  border-color: rgba(237, 144, 65, 0.4);
  box-shadow: 0 18px 36px rgba(5, 50, 104, 0.1);
  transform: translateY(-3px);
}

.trust-card__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 102, 175, 0.14), rgba(5, 50, 104, 0.08));
  color: var(--color-navy);
}

.trust-card__icon svg {
  width: 24px;
  height: 24px;
}

.trust-card h3 {
  margin: 0 0 3px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 850;
}

.trust-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ----------------------------------------------------------------- Feature highlights */
.pdp-section {
  padding-top: clamp(44px, 6vw, 80px);
}

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

.feature-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(5, 50, 104, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(26, 102, 175, 0.3);
  box-shadow: 0 18px 38px rgba(5, 50, 104, 0.1);
  transform: translateY(-3px);
}

.feature-card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: rgba(237, 144, 65, 0.12);
  color: var(--color-orange);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 850;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ----------------------------------------------------------------- Tabs */
.pdp-tabs {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(5, 50, 104, 0.06);
  overflow: hidden;
}

.pdp-tabs__list {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #FBFCFE, var(--color-white));
  scrollbar-width: none;
}

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

.pdp-tabs__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  transition: color 160ms ease;
}

.pdp-tabs__tab::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--color-orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.pdp-tabs__tab[aria-selected="true"] {
  color: var(--color-navy);
}

.pdp-tabs__tab[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.pdp-tabs__panel {
  padding: clamp(22px, 3vw, 38px);
}

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

.pdp-tabs__panel h3 {
  margin: 0 0 12px;
  color: var(--color-navy);
  font-size: 19px;
  font-weight: 850;
}

.pdp-tabs__panel p {
  margin: 0 0 14px;
  max-width: 74ch;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.75;
}

.pdp-tabs__panel p:last-child {
  margin-bottom: 0;
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table caption {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 19px;
  font-weight: 850;
  text-align: left;
}

.spec-table tr {
  border-bottom: 1px solid var(--color-border);
}

.spec-table tr:last-child {
  border-bottom: 0;
}

.spec-table th {
  width: 40%;
  padding: 13px 16px 13px 0;
  color: var(--color-muted);
  font-weight: 750;
  text-align: left;
  vertical-align: top;
}

.spec-table td {
  padding: 13px 0;
  color: var(--color-navy);
  font-weight: 780;
}

@media (max-width: 520px) {
  .spec-table th {
    width: 46%;
  }
}

.shipping-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 74ch;
}

.shipping-list li {
  display: flex;
  gap: 12px;
  color: var(--color-text);
  font-size: 14.5px;
  line-height: 1.6;
}

.shipping-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: var(--color-blue);
}

/* FAQ accordion */
.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq__item.is-open {
  border-color: rgba(26, 102, 175, 0.35);
  box-shadow: 0 10px 24px rgba(5, 50, 104, 0.07);
}

.faq__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 18px;
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  font-size: 15px;
  font-weight: 820;
  text-align: left;
}

.faq__trigger svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-blue);
  transition: transform 200ms ease;
}

.faq__item.is-open .faq__trigger svg {
  transform: rotate(180deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ----------------------------------------------------------------- Consult CTA */
.consult {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 88% 10%, rgba(237, 144, 65, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(5, 50, 104, 0.98), rgba(26, 102, 175, 0.94)),
    var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 28px 56px rgba(5, 50, 104, 0.24);
}

.consult__body {
  max-width: 640px;
}

.consult__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFD8B8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.4px;
}

.consult__kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-orange);
  content: "";
}

.consult h2 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 900;
}

.consult p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.7;
}

.consult__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.consult__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 850;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.consult__btn svg {
  width: 19px;
  height: 19px;
}

.consult__btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(237, 144, 65, 0.34);
}

.consult__btn--primary:hover {
  background: #F19A4D;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(237, 144, 65, 0.44);
}

.consult__btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
}

.consult__btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.consult__decor {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.consult__decor svg {
  width: 92px;
  height: 92px;
  color: rgba(255, 255, 255, 0.9);
  stroke-width: 1.4;
}

/* ----------------------------------------------------------------- Cross-sell (compact) */
.product-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--compact .product-card__title {
  min-height: 42px;
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.product-grid--compact .product-tags {
  display: none;
}

.product-grid--compact .product-card__media {
  aspect-ratio: 1 / 1;
}

.product-grid--compact .product-card__price {
  font-size: 18px;
}

/* ----------------------------------------------------------------- Mobile sticky buy bar */
.sticky-buy {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -12px 30px rgba(5, 50, 104, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(120%);
  transition: transform 260ms ease;
}

.sticky-buy.is-visible {
  transform: translateY(0);
}

.sticky-buy__info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-buy__name {
  overflow: hidden;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-buy__price {
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 950;
}

.sticky-buy__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.sticky-buy__wa {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  color: #25D366;
}

.sticky-buy__wa svg {
  width: 22px;
  height: 22px;
}

.sticky-buy__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--color-orange);
  color: var(--color-white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(237, 144, 65, 0.28);
}

.sticky-buy__cart svg {
  width: 19px;
  height: 19px;
}

/* ----------------------------------------------------------------- Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: 1fr;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 21, 42, 0.82);
  opacity: 0;
  visibility: hidden;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__dialog {
  position: relative;
  display: grid;
  width: min(920px, 100%);
  gap: 14px;
  transform: scale(0.97);
  transition: transform 240ms ease;
}

.lightbox.is-open .lightbox__dialog {
  transform: scale(1);
}

.lightbox__stage {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-white);
}

.lightbox__img {
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 56px);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lightbox__close:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease;
}

.lightbox__nav:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.lightbox__nav--prev {
  left: clamp(-16px, -2vw, 12px);
}

.lightbox__nav--next {
  right: clamp(-16px, -2vw, 12px);
}

.lightbox__counter {
  justify-self: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 800;
}

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 991px) {
  .pdp-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .buy-panel {
    position: static;
  }

  .pdp-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .consult {
    grid-template-columns: minmax(0, 1fr);
  }

  .consult__decor {
    display: none;
  }
}

@media (max-width: 767px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery__thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .gallery__stage {
    order: 1;
  }

  .buy-panel__secondary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* Ürün satın alma barı, mobil bottom navigation'ın hemen üstünde dursun. */
  .sticky-buy {
    display: flex;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-bottom: 10px;
    box-shadow: 0 -10px 24px rgba(5, 50, 104, 0.12);
  }

  .pdp {
    padding-bottom: 96px;
  }

  .lightbox__nav--prev {
    left: 6px;
  }

  .lightbox__nav--next {
    right: 6px;
  }

  .lightbox__close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 560px) {
  .pdp-trust__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .buy-panel__purchase {
    grid-template-columns: minmax(0, 1fr);
  }

  .qty {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__stage:hover .gallery__stage-img,
  .trust-card:hover,
  .feature-card:hover,
  .product-card:hover,
  .btn--cart:hover,
  .consult__btn:hover {
    transform: none !important;
  }

  .lightbox,
  .lightbox__dialog,
  .faq__panel,
  .sticky-buy {
    transition-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------------- Final support band */
.support-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(26, 102, 175, 0.07), transparent 55%),
    var(--color-white);
  box-shadow: 0 14px 34px rgba(5, 50, 104, 0.06);
}

.support-band__text {
  margin: 0;
  max-width: 640px;
  color: var(--color-navy);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  font-weight: 820;
}

.support-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(237, 144, 65, 0.28);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.support-band__btn svg {
  width: 20px;
  height: 20px;
}

.support-band__btn:hover {
  background: #DD7E31;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(237, 144, 65, 0.36);
}

@media (max-width: 560px) {
  .support-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-band__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-band__btn:hover {
    transform: none !important;
  }
}
