.page-product-detail .site-main {
  max-width: none;
  padding: 0;
  overflow-x: clip;
}

.product-detail-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
  width: 100%;
}

.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: #777;
  font-size: 0.86rem;
}

.product-detail-breadcrumb a:hover {
  color: #111;
}

.product-detail-breadcrumb__home svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.product-detail-breadcrumb__sep {
  color: #bbb;
}

.product-detail-breadcrumb__current {
  color: #111;
  font-weight: 600;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: 2rem;
  row-gap: 0.65rem;
  padding: 1.5rem;
  border: 1px solid #ececec;
  border-radius: 1.1rem;
  background: #fff;
  margin-bottom: 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.product-detail-gallery,
.product-detail-info {
  min-width: 0;
  max-width: 100%;
}

.product-detail-gallery__main {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.product-detail-gallery__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.product-detail-gallery__badge--new {
  background: var(--color-primary);
}

.product-detail-gallery__badge--popular {
  background: #16a34a;
}

.product-detail-gallery__badge--off {
  background: #e53935;
}

.product-detail-gallery__badge--out-of-stock {
  background: #757575;
}

.product-detail-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  padding: 2rem;
  border: 1px solid #f0f0f0;
  border-radius: 1rem;
  background: #fafafa;
}

.product-detail-gallery__image {
  width: 100%;
  max-width: 26rem;
  height: auto;
  object-fit: contain;
}

.product-detail-gallery__stage--placeholder {
  background: #f7f7f8;
}

.product-detail-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 16rem;
  color: #aaa;
}

.product-detail-gallery__placeholder svg {
  width: 4rem;
  height: 4rem;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.product-detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #ececec;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.product-detail-gallery__nav svg {
  width: 1rem;
  height: 1rem;
}

.product-detail-gallery__nav--prev {
  right: 0.75rem;
}

.product-detail-gallery__nav--next {
  left: 0.75rem;
}

.product-detail-gallery__zoom {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #ececec;
  border-radius: 0.55rem;
  background: #fff;
  color: #444;
  cursor: pointer;
}

.product-detail-gallery__zoom svg {
  width: 0.95rem;
  height: 0.95rem;
}

.product-detail-gallery__tags {
  position: absolute;
  inset-inline-start: 0.75rem;
  inset-inline-end: 3.25rem;
  bottom: 0.75rem;
  z-index: 2;
  pointer-events: none;
}

.product-detail-gallery__tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-gallery__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(228, 228, 231, 0.95);
  color: #52525b;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  pointer-events: auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.product-detail-gallery__tag:hover {
  background: #fff;
  color: #18181b;
}

.product-detail-gallery__thumbs-viewport {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-detail-gallery__thumbs-nav {
  display: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #ececec;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.product-detail-gallery__thumbs-nav svg {
  width: 0.95rem;
  height: 0.95rem;
}

.product-detail-gallery__thumbs-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-detail-gallery__thumbs-viewport--carousel .product-detail-gallery__thumbs-nav {
  display: grid;
}

.product-detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.product-detail-lightbox[hidden] {
  display: none;
}

.product-detail-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 0.82);
  cursor: pointer;
}

.product-detail-lightbox__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(92vw, 56rem);
  max-height: 88vh;
}

.product-detail-lightbox__image {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff;
}

.product-detail-lightbox__close,
.product-detail-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: rgb(255 255 255 / 0.92);
  color: #111;
  cursor: pointer;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
}

.product-detail-lightbox__close {
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.product-detail-lightbox__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.product-detail-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}

.product-detail-lightbox__nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.product-detail-lightbox__nav--prev {
  right: 1rem;
}

.product-detail-lightbox__nav--next {
  left: 1rem;
}

.product-detail-lightbox__nav[hidden],
.product-detail-lightbox__close[hidden] {
  display: none;
}

.product-detail-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  direction: ltr;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-detail-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.product-detail-gallery__thumb {
  flex: 0 0 5.75rem;
  width: 5.75rem;
  height: 5.75rem;
  padding: 0.35rem;
  border: 1px solid #ececec;
  border-radius: 0.65rem;
  background: #fff;
  cursor: pointer;
}

.product-detail-gallery__thumb--active {
  border-color: #111;
}

.product-detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.35rem;
}

.product-detail-info__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.product-detail-info__title {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-size: clamp(1.35rem, 0.8rem + 1.5vw, 1.75rem);
  font-weight: 700;
  color: #111;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-detail-info__wishlist {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #ececec;
  border-radius: 50%;
  background: #fff;
  color: #666;
  cursor: pointer;
}

.product-detail-info__wishlist svg {
  width: 1.05rem;
  height: 1.05rem;
}

.product-detail-info__wishlist.is-active,
.product-detail-mobile-bar__wishlist.is-active {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.product-detail-info__wishlist.is-active svg path,
.product-detail-mobile-bar__wishlist.is-active svg path {
  fill: currentColor;
  stroke: currentColor;
}

.product-detail-info__connectivity {
  margin: 0 0 0.85rem;
  color: #777;
  font-size: 0.92rem;
}

.product-detail-info__rating {
  margin-bottom: 1rem;
}

.product-detail-info__reviews-link {
  text-decoration: none;
}

.product-detail-info__reviews-link:hover {
  color: var(--color-primary);
}

.product-detail-info__points {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.55rem;
  background: #ecfdf3;
  color: #15803d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.product-detail-info__points-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #16a34a;
}

.product-detail-info__points-icon svg {
  width: 1rem;
  height: 1rem;
}

.product-detail-info__points--login {
  background: #f8fafc;
  color: #475569;
}

.product-detail-info__points--login .product-detail-info__points-icon {
  color: #64748b;
}

.product-detail-info__points-login-link {
  color: var(--color-primary);
  font-weight: 600;
}

.product-detail-info__points-login-link:hover {
  text-decoration: underline;
}

.product-detail-info__pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.product-detail-info__price-irr {
  font-size: clamp(1.35rem, 0.9rem + 1.2vw, 1.65rem);
  font-weight: 700;
  color: #111;
}

.product-detail-info__price-irr span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
}

.product-detail-info__price-usd {
  font-size: clamp(1.35rem, 0.9rem + 1.2vw, 1.65rem);
  font-weight: 700;
  color: #111;
}

.product-detail-specs {
  margin: 0 0 1.25rem;
  padding: 0;
}

.product-detail-specs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-detail-specs__row:last-child {
  border-bottom: 0;
}

.product-detail-specs__row dt {
  margin: 0;
  flex-shrink: 0;
  color: #666;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-detail-specs__row dd {
  margin: 0;
  min-width: 0;
  color: #111;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: end;
  overflow-wrap: anywhere;
}

.product-detail-specs__row--color dd {
  text-align: start;
}

.product-detail-stock {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0;
  color: #111;
  font-size: 0.88rem;
  font-weight: 600;
}

.product-detail-stock__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.product-detail-stock--out {
  color: #888;
}

.product-detail-stock--out .product-detail-stock__dot {
  background: #d1d5db;
}

.product-detail-variants {
  margin: 0;
}

.product-detail-variants__value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.product-detail-variants__name {
  color: #666;
  font-size: 0.82rem;
  font-weight: 600;
}

.product-detail-variants__swatches {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-detail-variants__swatch {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch-color, #e5e7eb);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-detail-variants__swatch:hover:not(:disabled) {
  transform: scale(1.05);
}

.product-detail-variants__swatch--active {
  border-color: #111;
}

.product-detail-variants__swatch--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-detail-add-form {
  margin: 0;
}

.product-detail-add-form .product-detail-purchase {
  margin-bottom: 1.25rem;
}

.product-detail-purchase {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ececec;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
}

.product-detail-qty__btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.75rem;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 1.1rem;
  cursor: pointer;
}

.product-detail-qty__value {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.75rem;
  border-inline: 1px solid #ececec;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: #2c333f;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.product-detail-cta[hidden],
.product-detail-notify-btn[hidden],
.product-detail-qty-wrap[hidden] {
  display: none !important;
}

.product-detail-cta [data-cta-label] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.product-detail-cta [data-cta-label][hidden] {
  display: none !important;
}

.product-detail-cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.product-detail-cta--notify {
  background: #fff;
  border: 1px solid #2c333f;
  color: #2c333f;
}

.product-detail-highlights {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid #ececec;
}

.product-detail-hero:has(.product-detail-highlights) .product-detail-purchase {
  margin-bottom: 0;
}

.product-detail-hero:has(.product-detail-highlights) .product-detail-add-form .product-detail-purchase {
  margin-bottom: 0;
}

.product-detail-highlights__viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-detail-highlights__track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-highlights__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1 1 calc(50% - 0.375rem);
  min-width: 14rem;
  max-width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid #e8ebf0;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #fbfcff 0%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-highlights__item:hover {
  border-color: rgba(0, 102, 255, 0.18);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.product-detail-highlights__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 255, 0.12);
}

.product-detail-highlights__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-primary);
}

.product-detail-highlights__icon svg path,
.product-detail-highlights__icon svg circle,
.product-detail-highlights__icon svg rect {
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail-highlights__icon svg circle[fill="currentColor"] {
  fill: var(--color-primary);
  stroke: none;
}

.product-detail-highlights__icon-image {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

.product-detail-highlights__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.product-detail-highlights__copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  line-height: 1.45;
}

.product-detail-highlights__copy span {
  display: block;
  font-size: 0.8rem;
  color: #667085;
  line-height: 1.55;
}

.product-detail-highlights__nav {
  display: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #ececec;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.product-detail-highlights__nav svg {
  width: 0.95rem;
  height: 0.95rem;
}

.product-detail-highlights__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-detail-mobile-bar {
  display: none;
}

.product-detail-accordions {
  display: none;
}

.product-detail-tabs {
  border: 1px solid #ececec;
  border-radius: 1.1rem;
  background: #fff;
  overflow: hidden;
}

.product-detail-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 1rem;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
}

.product-detail-tabs__btn {
  position: relative;
  border: 0;
  background: none;
  color: #666;
  padding: 1rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
}

.product-detail-tabs__btn--active {
  color: #111;
  font-weight: 700;
}

.product-detail-tabs__btn--active::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  left: 0.85rem;
  bottom: 0;
  height: 2px;
  background: #111;
}

.product-detail-tabs__panel {
  padding: 1.5rem;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.95;
}

.product-detail-tabs__panel[hidden] {
  display: none;
}

.product-detail-tabs__panel p {
  margin: 0;
}

.product-detail-description {
  color: inherit;
}

.product-detail-description > :first-child {
  margin-top: 0;
}

.product-detail-description > :last-child {
  margin-bottom: 0;
}

.product-detail-description p + p,
.product-detail-description ul,
.product-detail-description ol,
.product-detail-description blockquote,
.product-detail-description figure,
.product-detail-description h2,
.product-detail-description h3,
.product-detail-description h4 {
  margin-top: 1rem;
}

.product-detail-description ul,
.product-detail-description ol {
  padding-right: 1.25rem;
  padding-left: 0;
  list-style-position: outside;
}

.product-detail-description ul {
  list-style-type: disc;
}

.product-detail-description ol {
  list-style-type: decimal;
}

.product-detail-description li > p {
  margin: 0;
}

.product-detail-description li + li {
  margin-top: 0.35rem;
}

.product-detail-description a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.product-detail-description a:hover {
  color: #444;
}

.product-detail-description img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 0.75rem;
}

.product-detail-description blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-right: 3px solid #ddd;
  background: #fafafa;
  color: #555;
}

.product-detail-description h2,
.product-detail-description h3,
.product-detail-description h4 {
  color: #111;
  line-height: 1.5;
}

.product-detail-description h2 {
  font-size: 1.35rem;
  font-weight: 700;
}

.product-detail-description h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.product-detail-description h4 {
  font-size: 0.98rem;
}

.product-detail-specs--panel .product-detail-specs__row {
  grid-template-columns: 9rem 1fr;
}

.product-detail-accordion {
  border: 1px solid #ececec;
  border-radius: 0.85rem;
  background: #fff;
  overflow: hidden;
}

.product-detail-accordion + .product-detail-accordion {
  margin-top: 0.65rem;
}

.product-detail-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}

.product-detail-accordion summary::-webkit-details-marker {
  display: none;
}

.product-detail-accordion summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid #666;
  border-bottom: 1.5px solid #666;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.product-detail-accordion[open] summary::after {
  transform: rotate(-135deg);
}

.product-detail-accordion__body {
  padding: 0 1rem 1rem;
  color: #555;
  font-size: 0.86rem;
  line-height: 1.85;
}

.product-detail-accordion__body p {
  margin: 0;
}

.product-detail-reviews-section {
  display: grid;
  gap: 1.5rem;
}

.product-review-form-card {
  padding: 1.25rem;
  border: 1px solid #ececec;
  border-radius: 0.95rem;
  background: #fafafa;
}

.product-review-form-card--prompt {
  background: #fff;
}

.product-review-form-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-review-form-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.product-review-form-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-review-form-card__prompt {
  margin: 0;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.8;
}

.product-review-form-card__prompt a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.product-review-form {
  display: grid;
  gap: 1rem;
}

.product-review-form__field {
  margin: 0;
  border: 0;
  padding: 0;
}

.product-review-form__field--rating {
  min-width: 0;
}

.product-review-form__label {
  display: block;
  margin-bottom: 0.45rem;
  color: #444;
  font-size: 0.84rem;
  font-weight: 600;
}

.product-review-form__input,
.product-review-form__textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-review-form__input {
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
}

.product-review-form__textarea {
  min-height: 6.5rem;
  padding: 0.75rem 0.85rem;
  resize: vertical;
  line-height: 1.75;
}

.product-review-form__input:focus,
.product-review-form__textarea:focus {
  outline: none;
  border-color: #2c333f;
  box-shadow: 0 0 0 3px rgba(44, 51, 63, 0.08);
}

.product-review-form__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-review-form__rating-option {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 3.5rem;
  padding: 0.65rem 0.55rem;
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.product-review-form__rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-review-form__rating-option:hover,
.product-review-form__rating-option--selected {
  border-color: #2c333f;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 51, 63, 0.06);
}

.product-review-form__rating-stars {
  display: inline-flex;
  gap: 0.1rem;
}

.product-review-form__rating-star {
  width: 0.85rem;
  height: 0.85rem;
  fill: #e5e7eb;
}

.product-review-form__rating-star--active {
  fill: #f59e0b;
}

.product-review-form__rating-value {
  color: #666;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-review-form__rating-option--selected .product-review-form__rating-value {
  color: #111;
}

.product-review-form__error {
  margin: 0.35rem 0 0;
  color: #dc2626;
  font-size: 0.78rem;
}

.product-review-form__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-review-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: #2c333f;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.product-review-form__submit:hover {
  background: #1f2530;
}

.product-review-delete-form {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ececec;
}

.product-review-form__delete {
  border: 0;
  background: none;
  padding: 0;
  color: #888;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.product-review-form__delete:hover {
  color: #dc2626;
}

.product-detail-reviews-list__title {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
}

.product-detail-reviews-list__empty {
  margin: 0;
  color: #777;
  font-size: 0.88rem;
}

.product-detail-reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.product-detail-reviews__item {
  padding: 1rem 1.05rem;
  border: 1px solid #ececec;
  border-radius: 0.85rem;
  background: #fff;
}

.product-detail-reviews__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.product-detail-reviews__stars {
  display: inline-flex;
  gap: 0.12rem;
}

.product-detail-reviews__star {
  width: 0.9rem;
  height: 0.9rem;
  fill: #e5e7eb;
}

.product-detail-reviews__star--active {
  fill: #f59e0b;
}

.product-detail-reviews__title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111;
}

.product-detail-reviews__body {
  margin: 0;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.85;
}

@media (max-width: 1100px) {
  .product-detail-highlights__item {
    flex-basis: calc(50% - 0.375rem);
  }
}

@media (max-width: 768px) {
  .product-detail-highlights {
    margin-top: 0.75rem;
    padding-top: 0.85rem;
  }

  .product-detail-highlights__viewport {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    overflow: hidden;
  }

  .product-detail-highlights__track {
    flex-wrap: nowrap;
    gap: 0.65rem;
    direction: ltr;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-detail-highlights__track::-webkit-scrollbar {
    display: none;
  }

  .product-detail-highlights__item {
    flex: 0 0 auto;
    width: min(17rem, calc(100vw - 5.5rem));
    min-width: 14rem;
    scroll-snap-align: start;
  }

  .product-detail-highlights__viewport--carousel .product-detail-highlights__nav {
    display: grid;
  }

  .product-detail-highlights__nav {
    width: 1.85rem;
    height: 1.85rem;
  }

  .page-product-detail {
    overflow-x: clip;
  }

  .page-product-detail .site-main {
    overflow-x: clip;
    max-width: 100%;
  }

  .product-detail-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding: 0.75rem 1rem 6.5rem;
  }

  .product-detail-breadcrumb {
    max-width: 100%;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .product-detail-hero {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .product-detail-gallery,
  .product-detail-info,
  .product-detail-highlights,
  .product-detail-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-detail-gallery__stage {
    width: 100%;
    max-width: 100%;
    min-height: 18rem;
    padding: 1rem;
    border-radius: 0.85rem;
  }

  .product-detail-gallery__image {
    max-width: 100%;
  }

  .product-detail-gallery__placeholder {
    min-height: 12rem;
  }

  .product-detail-gallery__placeholder svg {
    width: 3rem;
    height: 3rem;
  }

  .product-detail-gallery__nav {
    width: 2rem;
    height: 2rem;
  }

  .product-detail-gallery__thumb {
    flex-basis: 4.75rem;
    width: 4.75rem;
    height: 4.75rem;
  }

  .product-detail-gallery__tags {
    inset-inline-start: 0.75rem;
    inset-inline-end: 0.75rem;
  }

  .product-detail-gallery__tag {
    font-size: 0.68rem;
    padding: 0.24rem 0.6rem;
  }

  .product-detail-gallery__thumbs-viewport {
    gap: 0.35rem;
    margin-top: 0.75rem;
    overflow: hidden;
  }

  .product-detail-info__pricing {
    margin-bottom: 0;
    max-width: 100%;
  }

  .product-detail-gallery__thumbs-nav {
    width: 1.85rem;
    height: 1.85rem;
  }

  .product-detail-info__head {
    margin-bottom: 0.35rem;
  }

  .product-detail-info__wishlist--desktop,
  .product-detail-purchase--desktop {
    display: none;
  }

  .product-detail-info__title {
    font-size: 1.2rem;
  }

  .product-detail-info__connectivity {
    margin-bottom: 0.55rem;
    font-size: 0.84rem;
  }

  .product-detail-info__rating {
    margin-bottom: 0.75rem;
  }

  .product-detail-info__price-irr {
    font-size: 1.35rem;
  }

  .product-detail-info__price-usd {
    font-size: 1.35rem;
  }

  .product-detail-specs {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
  }

  .product-detail-specs__row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.65rem 0;
  }

  .product-detail-specs__row dt,
  .product-detail-specs__row dd {
    min-width: 0;
  }

  .product-detail-specs__row dd {
    text-align: left;
    font-size: 0.82rem;
  }

  .product-detail-specs__row--color dd {
    width: 100%;
  }

  .product-detail-stock {
    width: auto;
    padding-top: 0;
  }

  .product-detail-tabs {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .product-detail-tabs__nav {
    padding: 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
    gap: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-detail-tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .product-detail-tabs__btn {
    padding: 0.85rem 0.75rem;
    font-size: 0.82rem;
  }

  .product-detail-tabs__btn--desktop {
    display: none;
  }

  .product-detail-tabs__panel {
    padding: 1rem 0 0;
  }

  .product-detail-accordions {
    display: block;
    margin-top: 1rem;
  }

  .product-detail-mobile-bar {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ececec;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
  }

  .product-detail-mobile-bar__wishlist {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #ececec;
    border-radius: 0.65rem;
    background: #fff;
    color: #666;
    cursor: pointer;
  }

  .product-detail-mobile-bar__wishlist svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .product-detail-qty--mobile {
    flex-shrink: 0;
  }

  .product-detail-qty--mobile .product-detail-qty__btn,
  .product-detail-qty--mobile .product-detail-qty__value {
    width: 2.25rem;
    height: 2.75rem;
    min-width: 2.25rem;
  }

  .product-detail-mobile-bar__cta {
    flex: 1;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.84rem;
  }

  .product-detail-mobile-bar__cta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-detail-cta--notify.product-detail-mobile-bar__cta {
    flex: 1;
  }
}

/* Stock-notify modal */
body.stock-notify-modal-open {
  overflow: hidden;
}

.stock-notify-modal[hidden] {
  display: none !important;
}

.stock-notify-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.stock-notify-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.stock-notify-modal__panel {
  position: relative;
  z-index: 1;
  width: min(28rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.stock-notify-modal__close {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #444;
  cursor: pointer;
}

.stock-notify-modal__close svg {
  width: 1rem;
  height: 1rem;
}

.stock-notify-modal__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
  text-align: center;
}

.stock-notify-modal__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.stock-notify-modal__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.stock-notify-modal__icon--confirm {
  background: #eef2ff;
  color: #2c333f;
}

.stock-notify-modal__icon--success {
  background: #dcfce7;
  color: #166534;
}

.stock-notify-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}

.stock-notify-modal__message {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

.stock-notify-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.stock-notify-modal__actions--single {
  grid-template-columns: 1fr;
}

.stock-notify-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.stock-notify-modal__btn--secondary {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111;
}

.stock-notify-modal__btn--primary {
  border: 0;
  background: #111;
  color: #fff;
}

.product-detail-notify-btn.is-subscribed {
  opacity: 0.72;
  cursor: default;
}

@media (max-width: 560px) {
  .stock-notify-modal__actions {
    grid-template-columns: 1fr;
  }
}
