@import url("tokens.css");

/* ── adidas.fr PDP clone ── */
.page-pdp {
  background: var(--adi-white);
  color: var(--adi-text);
}

/* Site header — promo bar + utility nav */
.pdp-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.pdp-promo-bar {
  background: var(--adi-black);
  text-align: center;
  padding: 10px 16px;
}

.pdp-promo-bar__link {
  color: var(--adi-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
}

.pdp-promo-bar__link:hover {
  text-decoration: underline;
}

.pdp-utility-nav {
  background: var(--adi-white);
  border-bottom: 1px solid var(--adi-border);
}

.pdp-utility-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.pdp-utility-nav__link {
  font-size: 11px;
  font-weight: 400;
  color: var(--adi-text);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}

.pdp-utility-nav__link:hover {
  text-decoration: underline;
}

.pdp-utility-nav__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
}

.pdp-utility-nav__flag svg {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .pdp-utility-nav__inner {
    justify-content: center;
    gap: 8px 14px;
    padding: 10px 16px;
  }

  .pdp-utility-nav__link:nth-child(n+4) {
    display: none;
  }
}

/* Main PDP grid */
.pdp-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 16px;
}

.pdp-left-col {
  min-width: 0;
}

/* Gallery — 2×2 adidas.co.ma hero */
.pdp-gallery {
  position: relative;
  padding-bottom: 28px;
}

.pdp-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.pdp-gallery__cell {
  position: relative;
  overflow: hidden;
  background: #eceff1;
  aspect-ratio: 1;
  cursor: zoom-in;
}

.pdp-gallery__cell.is-hidden {
  display: none;
}

.pdp-gallery__zoom-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #eceff1;
}

.pdp-gallery__zoom-wrap img.pdp-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s;
}

.pdp-gallery__zoom-wrap img.pdp-gallery__zoom-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.pdp-gallery__zoom-wrap.is-zooming img.pdp-gallery__zoom-img {
  opacity: 1;
}

.pdp-gallery__model-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0;
  font-size: 11px;
  font-weight: 500;
  z-index: 2;
  max-width: calc(100% - 24px);
}

.pdp-gallery__model-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.pdp-gallery__model-full {
  display: block;
  padding: 0 10px 8px;
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
}

.pdp-gallery__model-full[hidden] {
  display: none;
}

.pdp-gallery__model-info.is-expanded .pdp-gallery__model-short {
  display: none;
}

.pdp-gallery__see-more {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 12px 24px;
  border: 1px solid var(--adi-black);
  background: var(--adi-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pdp-gallery__see-more:hover {
  background: var(--adi-grey-bg);
}

.pdp-gallery__see-more svg {
  flex-shrink: 0;
}

/* Buy panel — sticky on desktop */
.pdp-buy {
  position: sticky;
  top: 24px;
  padding-bottom: 32px;
}

.pdp-buy__intro,
.pdp-buy__shop {
  display: block;
}

.pdp-size-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--adi-black);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.45;
}

.pdp-size-tip svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.pdp-size-tip p {
  margin: 0;
}

.pdp-size-tip strong {
  font-weight: 700;
}

.pdp-gallery__mobile {
  display: none;
}

.pdp-gallery__hero-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.pdp-gallery__hero-viewport::-webkit-scrollbar {
  display: none;
}

.pdp-gallery__hero-track {
  display: flex;
}

.pdp-gallery__hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 1;
  background: #eceff1;
}

.pdp-gallery__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pdp-gallery__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 14px 16px 4px;
}

.pdp-gallery__dot {
  width: 28px;
  height: 2px;
  padding: 0;
  border: none;
  background: #d9d9d9;
  cursor: pointer;
}

.pdp-gallery__dot.is-active {
  height: 3px;
  background: var(--adi-black);
}

.pdp-breadcrumb {
  font-size: 12px;
  color: var(--adi-text-secondary);
  margin: 0 0 12px;
  text-align: left;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-rating__stars {
  color: #00873a;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.pdp-rating__meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--adi-text);
}

.pdp-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.25;
}

.pdp-price {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.pdp-promo-notice {
  border: 1px solid var(--adi-border);
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.45;
  color: var(--adi-text);
}

.pdp-colors__heading {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.pdp-colors__label {
  font-size: 13px;
  color: var(--adi-text-secondary);
  margin: 12px 0 20px;
}

.pdp-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.pdp-color-swatch {
  width: 56px;
  height: 56px;
  border: 2px solid transparent;
  padding: 2px;
  background: none;
  cursor: pointer;
}

.pdp-color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-color-swatch.is-selected {
  border-color: var(--adi-black);
}

.pdp-size-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.pdp-size-header h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.pdp-size-chart {
  font-size: 13px;
  text-decoration: underline;
  color: var(--adi-text);
}

.pdp-size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--adi-border);
  margin-bottom: 24px;
}

.pdp-size-tile {
  min-height: 48px;
  border: none;
  border-right: 1px solid var(--adi-border);
  border-bottom: 1px solid var(--adi-border);
  background: var(--adi-white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.pdp-size-tile:nth-child(5n) { border-right: none; }

.pdp-size-tile:hover:not(.is-oos):not(.is-selected) {
  background: var(--adi-grey-bg);
}

.pdp-size-tile.is-selected {
  outline: 2px solid var(--adi-black);
  outline-offset: -2px;
  font-weight: 700;
  z-index: 1;
}

.pdp-size-tile.is-oos {
  color: #bbb;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #fafafa;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--adi-border);
  border-bottom: 1px solid var(--adi-border);
}

.pdp-qty-row label {
  font-size: 14px;
  font-weight: 700;
}

.pdp-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.pdp-btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--adi-black);
  color: var(--adi-white);
  border: none;
  padding: 0 0 0 20px;
  min-height: 52px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.pdp-btn-cart:hover { background: #333; }

.pdp-btn-cart__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--adi-black);
  border-left: 1px solid rgba(255,255,255,0.2);
}

.pdp-btn-wishlist {
  width: 52px;
  height: 52px;
  border: 1px solid var(--adi-black);
  background: var(--adi-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pdp-btn-wishlist:hover { background: var(--adi-grey-bg); }

.pdp-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdp-qty-row--hidden {
  display: none !important;
}

.pdp-trust-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pdp-trust-list li span {
  font-weight: 400;
}

.pdp-trust-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pdp-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.pdp-error {
  color: var(--adi-error);
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}

.pdp-error.is-visible { display: block; }

.buy-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--adi-border);
}

.buy-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--adi-white);
  font-size: 20px;
  cursor: pointer;
}

.buy-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.buy-qty-value {
  min-width: 48px;
  text-align: center;
  font-weight: 700;
  border-left: 1px solid var(--adi-border);
  border-right: 1px solid var(--adi-border);
  line-height: 44px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Accordions — adidas.co.ma style (left column) */
.pdp-left-col .pdp-accordions {
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ebedee;
}

.pdp-accordions {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid #ebedee;
}

.pdp-accordion {
  border-bottom: 1px solid #ebedee;
}

.pdp-accordion__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--adi-black);
}

.pdp-accordion__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  line-height: 1.2;
}

.pdp-accordion__icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--adi-black);
  border-bottom: 2px solid var(--adi-black);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease, margin 0.2s ease;
}

.pdp-accordion.is-open .pdp-accordion__icon {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.pdp-accordion__chev {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pdp-accordion.is-open .pdp-accordion__chev {
  transform: rotate(180deg);
}

.pdp-accordion__panel {
  padding-bottom: 28px;
}

.pdp-accordion__panel[hidden] {
  display: none;
}

/* Reviews (inside Avis accordion) */
.pdp-accordion__panel--reviews {
  padding-top: 0;
}

.pdp-reviews__heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.2;
}

.pdp-reviews__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, auto) minmax(0, 1fr);
  gap: 40px 48px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ebedee;
  align-items: start;
}

.pdp-reviews__bars-title,
.pdp-reviews__score-label,
.pdp-reviews__rate-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.pdp-reviews__bars-sub {
  font-size: 12px;
  color: var(--adi-text-secondary);
  margin: 0 0 18px;
  line-height: 1.45;
}

.pdp-review-bar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--adi-text);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.pdp-review-bar.is-active .pdp-review-bar__fill {
  background: #008a5a;
}

.pdp-review-bar__track {
  height: 10px;
  background: #ebedee;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pdp-review-bar__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--adi-black);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.pdp-review-bar__count {
  text-align: right;
  font-size: 12px;
  color: var(--adi-text);
}

.pdp-reviews__score {
  text-align: center;
  padding-top: 2px;
}

.pdp-reviews__score-num {
  font-size: 52px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pdp-reviews__stars {
  color: #008a5a;
  font-size: 16px;
  letter-spacing: 3px;
  margin: 10px 0 8px;
  line-height: 1;
}

.pdp-reviews__count {
  font-size: 13px;
  color: var(--adi-text);
  margin: 0;
}

.pdp-reviews__rate {
  padding-top: 2px;
}

.pdp-rate-stars {
  display: flex;
  gap: 6px;
}

.pdp-rate-star {
  width: 40px;
  height: 40px;
  border: 1px solid #008a5a;
  background: var(--adi-white);
  color: #008a5a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.pdp-rate-star:hover,
.pdp-rate-star:focus-visible {
  background: #f3faf6;
}

.pdp-rate-star span {
  display: block;
  transform: translateY(-1px);
}

.pdp-reviews__rate-note {
  font-size: 11px;
  color: var(--adi-text-secondary);
  margin: 14px 0 0;
  line-height: 1.45;
  max-width: 240px;
}

.pdp-reviews__filters {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ebedee;
}

.pdp-reviews__filters-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
}

.pdp-reviews__search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.pdp-reviews__search {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  color: var(--adi-text);
  background: var(--adi-white);
}

.pdp-reviews__search:focus {
  outline: none;
  border-color: var(--adi-black);
}

.pdp-reviews__search::placeholder {
  color: #767677;
}

.pdp-reviews__search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--adi-text);
  pointer-events: none;
}

.pdp-reviews__filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-reviews__filter-select-wrap {
  display: block;
}

.pdp-reviews__filter-select {
  width: 100%;
  appearance: none;
  padding: 12px 36px 12px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  color: var(--adi-text);
  background: var(--adi-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
}

.pdp-reviews__filter-select:focus {
  outline: none;
  border-color: var(--adi-black);
}

.pdp-reviews__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 13px;
}

.pdp-reviews__range {
  color: var(--adi-text);
  white-space: nowrap;
}

.pdp-reviews__toolbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pdp-reviews__relevance-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--adi-text);
  cursor: pointer;
  white-space: nowrap;
}

.pdp-reviews__relevance-info:hover {
  text-decoration: underline;
}

.pdp-reviews__relevance-info svg {
  flex-shrink: 0;
}

.pdp-reviews__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c8c8c8;
  padding: 0 0 0 12px;
  background: var(--adi-white);
  white-space: nowrap;
}

.pdp-reviews__sort-prefix {
  font-size: 13px;
  color: var(--adi-text);
}

.pdp-reviews__sort select {
  appearance: none;
  border: none;
  padding: 10px 32px 10px 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--adi-text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
  cursor: pointer;
}

.pdp-reviews__sort select:focus {
  outline: none;
}

.pdp-review-item {
  padding: 28px 0;
  border-bottom: 1px solid #ebedee;
}

.pdp-review-item__stars {
  color: #008a5a;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1;
}

.pdp-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pdp-desc-grid h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pdp-desc-grid em {
  display: block;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 16px;
}

.pdp-desc-grid p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

.pdp-desc-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eceff1;
}

.pdp-details-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.pdp-details-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pdp-details-cols ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.pdp-review-item__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.pdp-review-item__author {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 2px;
}

.pdp-review-item__date {
  font-size: 12px;
  color: var(--adi-text-secondary);
  margin: 0 0 12px;
}

.pdp-review-item__body {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
}

.pdp-review-item__translate {
  font-size: 12px;
  color: var(--adi-text-secondary);
  text-decoration: underline;
}

.pdp-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid var(--adi-border);
  font-size: 11px;
}

/* Vous pourriez aussi aimer + Consulté récemment */
.pdp-left-col .pdp-recommend,
.pdp-left-col .pdp-recent {
  max-width: none;
  margin: 0;
  padding: 40px 0 0;
  border-top: 1px solid #ebedee;
}

.pdp-recommend,
.pdp-recent {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px 0;
  border-top: 1px solid #ebedee;
}

.pdp-recommend__title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  line-height: 1.2;
}

.pdp-recent {
  padding-bottom: 48px;
}

.pdp-recent__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 24px;
  line-height: 1.2;
}

/* Product tiles (recommendations + recently viewed) */
.pdp-carousel__track .pdp-product-tile {
  flex: 0 0 var(--tile-size);
  width: var(--tile-size);
  min-width: 0;
  scroll-snap-align: start;
}

.pdp-product-row .pdp-product-tile {
  min-width: 0;
}

.pdp-product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pdp-product-tile__image {
  background: #eceff1;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 12px;
}

.pdp-product-tile__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.pdp-product-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pdp-product-tile__name a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.pdp-product-tile__name a:hover {
  text-decoration: underline;
}

.pdp-product-tile__price {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pdp-product-tile__category {
  font-size: 12px;
  color: var(--adi-text-secondary);
  line-height: 1.4;
}

/* Carousel */
.pdp-carousel {
  position: relative;
  padding-bottom: 28px;
}

.pdp-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  --carousel-gap: 8px;
  --carousel-visible: 4;
  --tile-size: calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible));
}

.pdp-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.pdp-carousel__track {
  display: flex;
  gap: 8px;
}

.pdp-carousel__prev,
.pdp-carousel__next {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--adi-white);
  border: 1px solid var(--adi-black);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.pdp-carousel__prev {
  left: 0;
}

.pdp-carousel__next {
  right: 0;
}

.pdp-carousel__prev:hover,
.pdp-carousel__next:hover {
  background: var(--adi-grey-bg);
}

.pdp-carousel__prev:disabled,
.pdp-carousel__next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pdp-carousel__indicator {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  height: 3px;
  background: #e5e5e5;
  position: relative;
}

.pdp-carousel__indicator-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 72px;
  background: var(--adi-black);
  transition: left 0.35s ease;
}

/* Legacy aliases */
.pdp-recommend h2 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

.pdp-recommend__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pdp-recommend__card {
  display: block;
  background: #eceff1;
  aspect-ratio: 1;
  overflow: hidden;
}

.pdp-recommend__card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}

.pdp-recommend__card:hover img {
  transform: scale(1.03);
}

/* Legacy alias */
.pdp-recent {
  display: none;
}

.pdp-membership {
  max-width: 1440px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.pdp-membership__inner {
  background: #f5f5eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  gap: 24px;
}

.pdp-membership__text {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.pdp-membership__btn {
  background: var(--adi-black);
  color: var(--adi-white);
  border: none;
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Footer */
.pdp-footer {
  background: var(--adi-black);
  color: var(--adi-white);
  padding: 48px 24px 32px;
}

.pdp-footer__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.pdp-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.pdp-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdp-footer__col li {
  margin-bottom: 10px;
}

.pdp-footer__col a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-decoration: none;
}

.pdp-footer__col a:hover {
  color: var(--adi-white);
  text-decoration: underline;
}

.pdp-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.pdp-footer__social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-footer__social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}

.pdp-footer__bottom {
  max-width: 1440px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.pdp-footer__bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.pdp-footer__bottom a:hover { color: var(--adi-white); }

/* Zoom modal */
.pdp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pdp-modal.is-open {
  display: flex;
}

.pdp-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--adi-white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.pdp-modal__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .pdp-main {
    padding: 0 16px 48px;
  }

  .pdp-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
  }

  .pdp-left-col,
  .pdp-buy {
    display: contents;
  }

  .pdp-buy__intro {
    order: 1;
    width: 100%;
    padding-bottom: 4px;
  }

  .pdp-gallery {
    order: 2;
    width: 100%;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    padding-bottom: 8px;
  }

  .pdp-gallery__grid,
  .pdp-gallery__see-more {
    display: none !important;
  }

  .pdp-gallery__mobile {
    display: block;
  }

  .pdp-buy__shop {
    order: 3;
    width: 100%;
    padding-top: 8px;
  }

  .pdp-accordions {
    order: 4;
    width: 100%;
  }

  .pdp-recommend {
    order: 5;
    width: 100%;
  }

  .pdp-recent {
    order: 6;
    width: 100%;
  }

  .pdp-buy {
    position: static;
  }

  .pdp-breadcrumb {
    display: none;
  }

  .pdp-title {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .pdp-price {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .pdp-colors__label {
    margin-bottom: 24px;
  }

  .pdp-color-swatch.is-selected {
    border-color: transparent;
    border-bottom: 3px solid var(--adi-black);
    border-radius: 0;
    padding-bottom: 4px;
  }

  .pdp-actions {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: var(--adi-white);
    padding: 12px 0 16px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }

  .pdp-desc-grid,
  .pdp-details-cols,
  .pdp-footer__grid,
  .pdp-product-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-reviews__summary {
    grid-template-columns: 1fr;
  }

  .pdp-reviews__filter-row {
    grid-template-columns: 1fr;
  }

  .pdp-reviews__toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pdp-reviews__toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .pdp-reviews__relevance-info span,
  .pdp-reviews__relevance-info {
    font-size: 12px;
  }

  .pdp-carousel__viewport {
    --carousel-visible: 2;
  }

  .pdp-carousel__prev,
  .pdp-carousel__next {
    width: 36px;
    height: 36px;
  }

  .pdp-recommend__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-size-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pdp-size-tile:nth-child(5n) { border-right: 1px solid var(--adi-border); }
  .pdp-size-tile:nth-child(4n) { border-right: none; }

  .pdp-membership__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-gallery__zoom-wrap img { transition: none; }
}
