/* Product detail — Figma 190:304, fluid full-width layout */

.product-page.site-main {
  margin: 0;
  padding: 0;
  max-width: none;
}

.silver-product-page .header__bar {
  margin-left: auto;
  margin-right: auto;
}

.product-page-layout {
  --product-inset: var(--silver-inset-x);
  --product-col-gap: clamp(32px, 9.44vw, 136px);
  --product-grid-gap: clamp(12px, 1.67vw, 24px);
  --product-dark: #121211;
  --product-title: #131313;
  --product-muted: #b5b6b5;
  --product-label: #717070;
  --product-page-bg: #fafaf8;
  --product-panel-shadow: 0 5.483px 27.417px rgba(0, 0, 0, 0.06);
  --product-expand-shadow: 0 5.483px 27.417px rgba(0, 0, 0, 0.29);
  --product-motion: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  width: 100%;
  background: var(--product-page-bg);
}

/* —— Main —— */
.product-main {
  padding: clamp(28px, 3.82vw, 55px) var(--product-inset) 0;
}

.product-main__inner {
  width: 100%;
}

.product-main__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.21fr) minmax(280px, 1fr);
  gap: var(--product-col-gap);
  align-items: start;
}

.product-main__gallery-col,
.product-main__info-col {
  min-width: 0;
}

.product-main__info-col {
  position: sticky;
  top: calc(var(--header-height, 76px) + 20px);
  align-self: start;
}

/* —— Gallery —— */
.product-gallery {
  width: 100%;
}

.product-gallery__desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-gallery__mobile {
  display: none;
  width: 100%;
}

.product-gallery__item {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ececeb;
  text-decoration: none;
  cursor: zoom-in;
}

.product-gallery__item--hero {
  width: 100%;
  height: auto;
  aspect-ratio: 648 / 545;
  margin-bottom: clamp(20px, 4.1vw, 59px);
}

.product-gallery__thumbs-wrap {
  position: relative;
  width: 100%;
}

.product-gallery__thumbs-wrap--has-expand {
  padding-bottom: calc(clamp(58px, 5.07vw, 73px) / 2);
}

.product-gallery.is-expanded .product-gallery__thumbs-wrap--has-expand {
  padding-bottom: calc(clamp(58px, 5.07vw, 73px) / 2 + var(--product-grid-gap));
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--product-grid-gap);
  width: 100%;
}

.product-gallery__item--thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 312 / 401;
}

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

.product-gallery__expand {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(88px, 7.7vw, 111px);
  height: clamp(58px, 5.07vw, 73px);
  padding: 0;
  border: 0;
  background: var(--product-dark);
  box-shadow: var(--product-expand-shadow);
  cursor: pointer;
  transform: translate(-50%, 50%);
  transition:
    opacity var(--product-motion),
    bottom var(--product-motion);
}

.product-gallery__expand:hover {
  opacity: 0.92;
}

.product-gallery__expand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-konnect);
  font-size: clamp(22px, 1.94vw, 28px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.product-gallery__more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--product-grid-gap);
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height var(--product-motion),
    opacity var(--product-motion),
    margin-top var(--product-motion);
}

.product-gallery.is-expanded .product-gallery__more {
  max-height: 5000px;
  margin-top: calc(clamp(58px, 5.07vw, 73px) / 2);
  opacity: 1;
  pointer-events: auto;
}

/* —— Mobile gallery swiper (Figma 589:2398) —— */
.product-gallery-swiper {
  overflow: hidden;
  width: 100%;
}

.product-gallery-swiper__slide {
  height: auto;
}

.product-gallery__item--slide {
  display: block;
  width: 100%;
  aspect-ratio: 402 / 338;
  background: #ececeb;
  cursor: zoom-in;
}

.product-gallery__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 16px 0 0;
}

.product-gallery__pagination.swiper-pagination-horizontal {
  position: static;
  width: auto;
}

.product-gallery__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(18, 18, 17, 0.2);
  opacity: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.product-gallery__pagination .swiper-pagination-bullet-active {
  background: var(--product-dark);
  transform: scale(1.1);
}

/* —— Info panel —— */
.product-info {
  width: 100%;
  padding: clamp(32px, 4.44vw, 64px) clamp(24px, 4.86vw, 70px) clamp(28px, 3.33vw, 48px) clamp(28px, 5.9vw, 85px);
  background: #fff;
  box-shadow: var(--product-panel-shadow);
}

.product-info__title {
  margin: 0 0 16px;
  font-family: var(--font-konnect);
  font-size: clamp(24px, 2.29vw, 33px);
  font-weight: 600;
  line-height: 1.14;
  color: var(--product-title);
}

.product-info__sku {
  margin: 0 0 clamp(24px, 2.57vw, 37px);
  font-family: var(--font-konnect);
  font-size: clamp(18px, 1.53vw, 22px);
  font-weight: 400;
  line-height: 1.32;
  color: var(--product-muted);
}

.product-info__colors {
  margin-bottom: clamp(28px, 3.26vw, 47px);
}

.product-info__colors-label {
  margin: 0 0 8px;
  font-family: var(--font-konnect);
  font-size: clamp(18px, 1.53vw, 22px);
  font-weight: 600;
  line-height: 1.32;
  color: #000;
}

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

.product-info__swatch {
  display: block;
  width: clamp(52px, 4.65vw, 67px);
  height: clamp(42px, 3.82vw, 55px);
  padding: 0;
  border: 2px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.product-info__swatch.is-active,
.product-info__swatch:hover,
.product-info__swatch:focus-visible {
  border-color: var(--product-dark);
  outline: none;
}

.product-info__description-block {
  margin-bottom: clamp(28px, 3.4vw, 49px);
}

.product-info__description-label {
  margin: 0 0 15px;
  font-family: var(--font-konnect);
  font-size: clamp(18px, 1.53vw, 22px);
  font-weight: 600;
  line-height: 1.05;
  color: #000;
}

.product-info__description {
  font-family: var(--font-konnect);
  font-size: clamp(14px, 0.97vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--product-muted);
}

.product-info__description p {
  margin: 0;
}

.product-info__accordion + .product-info__accordion {
  margin-top: clamp(24px, 3.13vw, 45px);
}

.product-info__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: start;
}

.product-info__accordion-label {
  font-family: var(--font-konnect);
  font-size: clamp(18px, 1.53vw, 22px);
  font-weight: 600;
  line-height: 1;
  color: var(--product-label);
  transition: color var(--product-motion);
}

.product-info__accordion.is-open .product-info__accordion-label {
  color: var(--product-title);
}

.product-info__accordion-icon {
  flex-shrink: 0;
  font-family: var(--font-konnect);
  font-size: clamp(18px, 1.53vw, 22px);
  font-weight: 400;
  line-height: 1;
  color: var(--product-label);
  transition:
    transform var(--product-motion),
    color var(--product-motion);
}

.product-info__accordion.is-open .product-info__accordion-icon {
  transform: rotate(45deg);
  color: var(--product-title);
}

.product-info__accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--product-motion);
}

.product-info__accordion.is-open .product-info__accordion-panel {
  grid-template-rows: 1fr;
}

.product-info__accordion-panel-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity var(--product-motion),
    transform var(--product-motion);
}

.product-info__accordion.is-open .product-info__accordion-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.product-info__feature-list {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  font-family: var(--font-konnect);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--product-muted);
}

.product-info__feature-list li + li {
  margin-top: 8px;
}

.product-info__spec-list {
  margin: 16px 0 0;
}

.product-info__spec-row {
  display: grid;
  grid-template-columns: minmax(90px, 110px) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e6;
  font-family: var(--font-konnect);
  font-size: 14px;
  line-height: 1.4;
}

.product-info__spec-row:last-child {
  border-bottom: 0;
}

.product-info__spec-row dt {
  margin: 0;
  padding-inline-end: 12px;
  border-inline-end: 1px solid #e6e6e6;
  font-weight: 600;
  color: var(--product-title);
}

.product-info__spec-row dd {
  margin: 0;
  font-weight: 400;
  color: var(--product-muted);
}

.product-info__attachment-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.product-info__attachment-item + .product-info__attachment-item {
  margin-top: 8px;
}

.product-info__attachment-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-family: var(--font-konnect);
  font-size: 14px;
  line-height: 1.4;
  color: var(--product-title);
  text-decoration: none;
  transition: color var(--product-motion);
}

.product-info__attachment-link:hover,
.product-info__attachment-link:focus-visible {
  color: var(--product-label);
}

.product-info__attachment-label {
  font-weight: 600;
}

.product-info__attachment-action {
  flex-shrink: 0;
  font-weight: 400;
  color: var(--product-muted);
}

/* —— Explore More Items —— */
.product-recommended {
  padding: clamp(64px, 12.4vw, 179px) var(--product-inset) clamp(48px, 6.67vw, 96px);
}

.product-recommended__inner {
  width: 100%;
}

.product-recommended__title {
  margin: 0 0 clamp(24px, 3.68vw, 53px);
  font-family: var(--font-konnect);
  font-size: clamp(28px, 3.13vw, 45px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--product-dark);
  text-transform: capitalize;
}

.product-recommended__title-accent {
  font-weight: 700;
}

.product-recommended__panel {
  margin-inline: calc(-1 * var(--product-inset));
  padding: clamp(48px, 6.67vw, 96px) var(--product-inset) clamp(56px, 5vw, 72px);
  background: #fff;
}

.product-recommended__slider-wrap {
  position: relative;
}

.product-recommended-swiper {
  overflow: hidden;
}

.product-recommended-swiper .swiper-slide {
  width: clamp(220px, 21.67vw, 312px);
  height: auto;
}

.product-recommended {
  --sub-dark: #121211;
  --sub-muted: rgba(18, 18, 17, 0.55);
}

.product-recommended .subcategory-product {
  min-width: 0;
  height: 100%;
}

.product-recommended .subcategory-product__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(18, 18, 17, 0.08);
}

.product-recommended .subcategory-product__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ececeb;
}

.product-recommended .subcategory-product__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-recommended .subcategory-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 20px;
}

.product-recommended .subcategory-product__title {
  margin: 0;
  font-family: var(--font-konnect);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sub-dark);
}

.product-recommended .subcategory-product__colors-label {
  display: block;
  font-family: var(--font-konnect);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sub-muted);
}

.product-recommended__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.product-recommended__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--product-dark);
  box-shadow: 0 4px 16px rgba(18, 18, 17, 0.08);
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.product-recommended__arrow:hover {
  opacity: 0.85;
}

.product-recommended__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.product-recommended__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(24px, 2.22vw, 32px);
}

.product-recommended__pagination .swiper-pagination-bullet {
  width: clamp(20px, 2.01vw, 29px);
  height: 3px;
  margin: 0 !important;
  border-radius: 0;
  background: rgba(18, 18, 17, 0.2);
  opacity: 1;
}

.product-recommended__pagination .swiper-pagination-bullet-active {
  background: var(--product-dark);
}

/* —— Mobile Figma 589:2398 (402px, gallery swiper + dots) —— */
@media (max-width: 992px) {
  .product-page-layout {  }

  .product-main {
    padding: 0 0 0;
  }

  .product-main__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-main__gallery-col {
    margin-inline: calc(-1 * var(--product-inset));
    width: calc(100% + (var(--product-inset) * 2));
  }

  .product-gallery__desktop {
    display: none;
  }

  .product-gallery__mobile {
    display: block;
  }

  .product-gallery__item--slide {
    aspect-ratio: 402 / 338;
  }

  .product-gallery__pagination {
    padding: 16px var(--product-inset) 20px;
  }

  .product-main__info-col {
    position: static;
    top: auto;
    padding: 0 var(--product-inset);
  }

  .product-info {
    padding: 24px 0 28px;
    background: transparent;
    box-shadow: none;
  }

  .product-info__title {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.2;
  }

  .product-info__sku {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .product-info__colors {
    margin-bottom: 24px;
  }

  .product-info__colors-label,
  .product-info__description-label,
  .product-info__accordion-label {
    font-size: 18px;
  }

  .product-info__swatch {
    width: 52px;
    height: 42px;
  }

  .product-info__description-block {
    margin-bottom: 24px;
  }

  .product-info__description {
    font-size: 14px;
    line-height: 1.5;
  }

  .product-info__accordion + .product-info__accordion {
    margin-top: 20px;
  }

  .product-recommended {
    padding: 48px var(--product-inset) 40px;
  }

  .product-recommended__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .product-recommended__panel {
    padding: 40px var(--product-inset) 48px;
  }

  .product-recommended__nav {
    display: none;
  }

  .product-recommended-swiper .swiper-slide {
    width: clamp(200px, 62vw, 280px);
  }
}

@media (min-width: 993px) {
  .product-gallery__mobile {
    display: none;
  }

  .product-gallery__desktop {
    display: flex;
  }
}

/* —— Mobile Figma 589:2684 (402px) —— */
@media (max-width: 640px) {
  .product-main {
    padding: 27px var(--product-inset) 0;
  }

  .product-main__gallery-col {
    margin-inline: 0;
    width: 100%;
  }

  .product-main__info-col {
    padding: 0;
  }

  .product-gallery__item--slide {
    aspect-ratio: 372 / 379.3;
  }

  .product-gallery__pagination {
    padding: 26px 0 44px;
    gap: 6px;
  }

  .product-gallery__pagination.swiper-pagination-lock {
    height: 0;
    padding: 0 0 44px;
    overflow: hidden;
  }

  .product-gallery__pagination .swiper-pagination-bullet,
  .product-recommended__pagination .swiper-pagination-bullet {
    width: 17px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: #cacbcb;
    transform: none;
  }

  .product-gallery__pagination .swiper-pagination-bullet-active,
  .product-recommended__pagination .swiper-pagination-bullet-active {
    background: #121212;
    transform: none;
  }

  .product-info {
    padding: 45px 31px 36px;
    background: #fff;
    box-shadow: 0 3.806px 19.028px rgba(0, 0, 0, 0.06);
  }

  .product-info__title,
  .product-info__sku,
  .product-info__colors,
  .product-info__description-block {
    padding-inline: 28px;
  }

  .product-info__title {
    margin-bottom: 11px;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.12;
    text-transform: capitalize;
  }

  .product-info__sku {
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.33;
    text-transform: capitalize;
  }

  .product-info__colors {
    margin-bottom: 33px;
  }

  .product-info__colors-label,
  .product-info__description-label,
  .product-info__accordion-label,
  .product-info__accordion-icon {
    font-size: 15px;
  }

  .product-info__accordion-label {
    white-space: nowrap;
  }

  .product-info__colors-label {
    margin-bottom: 6px;
  }

  .product-info__swatches {
    gap: 10px;
  }

  .product-info__swatch {
    width: 47px;
    height: 38px;
    border-width: 0.877px;
  }

  .product-info__description-block {
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 0.48px solid #e6e6e6;
  }

  .product-info__description-label {
    margin-bottom: 10px;
  }

  .product-info__description {
    font-size: 11px;
    line-height: 1.4;
    text-align: justify;
  }

  .product-info__accordion {
    padding: 14px 28px;
    border-bottom: 0.48px solid #e6e6e6;
  }

  .product-info__accordion + .product-info__accordion {
    margin-top: 0;
  }

  .product-info__spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-info__spec-row dt {
    padding-inline-end: 0;
    padding-bottom: 6px;
    border-inline-end: 0;
    border-bottom: 1px solid #e6e6e6;
  }

  .product-recommended {
    padding: 47px 0 0;
  }

  .product-recommended__title {
    margin: 0 var(--product-inset) 16px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
  }

  .product-recommended__title-accent {
    font-weight: 700;
  }

  .product-recommended__panel {
    margin-inline: 0;
    padding: 18px 0 25px;
    box-shadow: 0 5.483px 27.417px rgba(0, 0, 0, 0.06);
  }

  .product-recommended-swiper {
    margin-inline-start: var(--product-inset);
    width: calc(100% - var(--product-inset));
  }

  .product-recommended-swiper .swiper-slide {
    width: 179px;
  }

  .product-recommended .subcategory-product__body {
    gap: 8px;
    padding: 12px 10px 14px;
  }

  .product-recommended .subcategory-product__title {
    font-size: 13px;
  }

  .product-recommended .subcategory-product__colors-label {
    font-size: 10px;
  }

  .product-recommended__pagination {
    margin-top: 25px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery__more,
  .product-gallery__expand,
  .product-info__accordion-panel,
  .product-info__accordion-panel-inner,
  .product-info__accordion-icon,
  .product-info__accordion-label {
    transition: none !important;
  }

  .product-info__accordion-panel-inner {
    opacity: 1;
    transform: none;
  }

  .product-info__accordion:not(.is-open) .product-info__accordion-panel-inner {
    opacity: 0;
  }
}
