@import url("/css/shop.css?v=2026081101");

/* =========================================================
   Planner Maison — Product detail
   Complementa el tema global de shop.css
   ========================================================= */

.product-page {
  --pm-ink: #22354a;
  --pm-ink-soft: #344a62;
  --pm-muted: #6d7787;
  --pm-line: rgba(34, 53, 74, 0.11);
  --pm-line-strong: rgba(34, 53, 74, 0.17);
  --pm-paper: #ffffff;
  --pm-cream: #f6f0e5;
  --pm-cream-soft: #fbf8f1;
  --pm-blue: #92a4bb;
  --pm-blue-soft: #edf2f7;
  --pm-orange: #f3a000;
  --pm-orange-dark: #df9200;
  --pm-green: #48805a;
  --pm-purple: #73549a;
  --pm-shadow-sm: 0 8px 22px rgba(34, 53, 74, 0.07);
  --pm-shadow-md: 0 18px 44px rgba(34, 53, 74, 0.1);
  --pm-shadow-lg: 0 30px 70px rgba(34, 53, 74, 0.12);
  --pm-radius-xl: 26px;
  --pm-radius-lg: 20px;
  --pm-radius-md: 14px;

  color: var(--pm-ink);
}

.product-page *,
.product-page *::before,
.product-page *::after {
  box-sizing: border-box;
}

.product-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 24px 0 64px;
}

/* Breadcrumb */

.product-breadcrumb {
  margin-bottom: 18px;
}

.product-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--pm-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.product-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(109, 119, 135, 0.5);
}

.product-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.product-breadcrumb__link:hover {
  color: var(--pm-ink);
}

.product-breadcrumb__item--active {
  color: var(--pm-ink-soft);
}

/* Hero */

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.product-gallery,
.product-card {
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pm-shadow-md);
}

.product-gallery {
  padding: 16px;
}

.product-gallery__stage {
  position: relative;
  display: block;
  min-height: 560px;
  padding: 28px;
  border-radius: 20px;
  background: radial-gradient(
    circle at 50% 24%,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.94) 31%,
    rgba(246, 240, 229, 0.62) 100%
  );
  overflow: hidden;
}

.product-gallery__stage::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 4%;
  left: 7%;
  height: 15%;
  border-radius: 50%;
  background: rgba(34, 53, 74, 0.05);
  filter: blur(28px);
  pointer-events: none;
}

.product-gallery__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(34, 53, 74, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pm-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--pm-shadow-sm);
  backdrop-filter: blur(12px);
}

.product-gallery__main-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(34, 53, 74, 0.11));
}

.product-gallery__main-video {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 32px -18px rgba(34, 53, 74, 0.4);
  filter: drop-shadow(0 28px 22px rgba(34, 53, 74, 0.11));
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumb {
  display: grid;
  width: 92px;
  min-height: 92px;
  place-items: center;
  padding: 7px;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 164, 187, 0.65);
}

.product-gallery__thumb--active {
  border-color: rgba(146, 164, 187, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(146, 164, 187, 0.28),
    0 8px 18px rgba(34, 53, 74, 0.08);
}

.product-gallery__thumb:focus-visible,
.product-buy-button:focus-visible {
  outline: 3px solid rgba(146, 164, 187, 0.55);
  outline-offset: 3px;
}

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

.product-gallery__thumb--video {
  position: relative;
  background:
    linear-gradient(135deg, rgba(34, 53, 74, 0.06), rgba(146, 164, 187, 0.18)),
    #fff;
}

.product-gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}

.product-gallery__thumb-play i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 53, 74, 0.92);
  color: #fff;
  font-size: 0.85rem;
  padding-left: 3px;
  box-shadow: 0 6px 14px rgba(34, 53, 74, 0.35);
  transition: transform 160ms ease, background 160ms ease;
}

.product-gallery__thumb--video:hover .product-gallery__thumb-play i,
.product-gallery__thumb--video.product-gallery__thumb--active .product-gallery__thumb-play i {
  transform: scale(1.06);
  background: rgba(34, 53, 74, 1);
}

.product-gallery__thumb--video img {
  opacity: 0.85;
}

.product-gallery__thumb-tag {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 53, 74, 0.92);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

/* Purchase card */

.product-card {
  position: sticky;
  top: 18px;
  padding: 30px;
}

.product-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--pm-ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(34, 53, 74, 0.12);
  border-radius: 9px;
  background: var(--pm-blue);
  color: #fff;
  box-shadow: 0 7px 18px rgba(146, 164, 187, 0.28);
}

.product-card__heading {
  max-width: 620px;
}

.product-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #52677d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  color: var(--pm-ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.product-card__lead {
  margin: 16px 0 0;
  color: var(--pm-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}

.product-card__price {
  margin: 0;
  color: var(--pm-ink);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.045em;
}

.product-card__tax {
  display: block;
  margin-top: 7px;
  color: var(--pm-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.product-card__availability {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.product-card__availability-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pm-muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.product-card__availability-item--ok {
  color: var(--pm-green);
}

/* Feature grid */

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.product-feature {
  display: grid;
  min-height: 76px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--pm-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
}

.product-feature__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--pm-cream);
  color: var(--pm-ink);
}

.product-feature strong,
.product-feature span {
  display: block;
}

.product-feature strong {
  color: var(--pm-ink);
  font-size: 0.81rem;
  line-height: 1.25;
}

.product-feature span {
  margin-top: 4px;
  color: var(--pm-muted);
  font-size: 0.7rem;
  line-height: 1.25;
}

/* Buy */

.product-card__buy {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.product-buy-button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 20px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, #f5aa08 0%, var(--pm-orange) 100%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(243, 160, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.product-buy-button:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(0.99);
  box-shadow:
    0 18px 34px rgba(243, 160, 0, 0.29),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.product-buy-button__arrow {
  margin-left: auto;
}

.product-buy-button--disabled,
.product-buy-button--disabled:hover {
  background: #e7e9ed;
  color: #7d8795;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: none;
}

.product-payment-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  color: var(--pm-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.product-payment-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-payment-points i {
  color: var(--pm-green);
}

.product-payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
}

.product-payment-method {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--pm-line);
  border-radius: 9px;
  background: #fff;
  color: var(--pm-ink);
  font-size: 0.68rem;
  font-weight: 800;
}

.product-payment-note {
  max-width: 480px;
  margin: 0 auto;
  color: var(--pm-muted);
  font-size: 0.66rem;
  line-height: 1.45;
  text-align: center;
}

/* Value strip */

.product-value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.product-value-card {
  display: grid;
  min-height: 100px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--pm-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--pm-shadow-sm);
}

.product-value-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  font-size: 1rem;
}

.product-value-card__icon--green {
  background: #edf4e7;
  color: #568054;
}

.product-value-card__icon--blue {
  background: #edf3fa;
  color: #5c76a2;
}

.product-value-card__icon--purple {
  background: #f3edf9;
  color: var(--pm-purple);
}

.product-value-card__icon--sand {
  background: #f5eee5;
  color: #715d48;
}

.product-value-card strong,
.product-value-card p {
  margin: 0;
}

.product-value-card strong {
  display: block;
  color: var(--pm-ink);
  font-size: 0.8rem;
}

.product-value-card p {
  margin-top: 4px;
  color: var(--pm-muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

/* Details */

.product-details {
  margin-top: 54px;
}

.product-details__intro {
  max-width: 760px;
}

.product-details__eyebrow,
.product-security__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #52677d;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-details__intro h2,
.product-security h2 {
  margin: 0;
  color: var(--pm-ink);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.product-details__intro p {
  max-width: 660px;
  margin: 13px 0 0;
  color: var(--pm-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.product-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.product-detail-card {
  padding: 22px;
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--pm-shadow-sm);
}

.product-detail-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--pm-cream);
  color: var(--pm-ink);
}

.product-detail-card h3 {
  margin: 0;
  color: var(--pm-ink);
  font-size: 0.95rem;
}

.product-detail-card p {
  margin: 8px 0 0;
  color: var(--pm-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Security */

.product-security {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--pm-line);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94),
    rgba(246, 240, 229, 0.7)
  );
  box-shadow: var(--pm-shadow-sm);
}

.product-security__content {
  display: grid;
  max-width: 860px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.product-security__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--pm-blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(146, 164, 187, 0.25);
}

.product-security h2 {
  font-size: 1.35rem;
}

.product-security p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--pm-muted);
  font-size: 0.81rem;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 1020px) {
  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-card {
    position: static;
  }

  .product-gallery__stage {
    min-height: 500px;
  }

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

@media (max-width: 760px) {
  .product-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .product-gallery,
  .product-card {
    border-radius: 19px;
  }

  .product-gallery {
    padding: 10px;
  }

  .product-gallery__stage {
    min-height: 390px;
    padding: 18px;
    border-radius: 15px;
  }

  .product-gallery__badge {
    top: 12px;
    left: 12px;
  }

  .product-card {
    padding: 22px;
  }

  .product-card__title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .product-card__price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card__availability {
    justify-items: start;
  }

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

  .product-details {
    margin-top: 40px;
  }

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

@media (max-width: 560px) {
  .product-gallery__stage {
    min-height: 340px;
  }

  .product-gallery__thumb {
    width: 78px;
    min-height: 78px;
  }

  .product-gallery__thumb img {
    height: 64px;
  }

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

  .product-card__brand {
    margin-bottom: 14px;
  }

  .product-payment-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }

  .product-security {
    padding: 19px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .product-gallery__thumb,
  .product-buy-button,
  .product-breadcrumb__link {
    transition: none;
  }
}
.product-feature {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;

  min-height: 112px;
  padding: 18px 20px;

  border: 1px solid var(--pm-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.product-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  border-radius: 18px;
  background: var(--pm-cream);
  color: #687586;

  font-size: 1.15rem;
  line-height: 1;
}

.product-feature__icon i {
  display: block;
  margin: 0;
  padding: 0;

  font-size: 1.15rem;
  line-height: 1;
}

.product-feature > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-feature strong {
  display: block;
  margin: 0;

  color: var(--pm-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-feature span:not(.product-feature__icon) {
  display: block;
  margin-top: 7px;

  color: var(--pm-muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

/* Scroll-snap gallery (Vuetify v-window approach). */

.product-gallery__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: calc(100% - 0px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--pm-radius-lg, 18px);
  background: var(--pm-bg, #fdfaf3);
}

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

.product-gallery__slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(8px, 3vw, 24px);
}

.product-gallery__slide .product-gallery__main-image,
.product-gallery__slide .product-gallery__main-video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.product-gallery__dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: none;
  gap: 6px;
  transform: translateX(-50%);
}

.product-gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 53, 74, 0.18);
  transition: width 220ms ease, background-color 220ms ease;
}

.product-gallery__dot--active {
  width: 18px;
  background: var(--pm-ink, #22354a);
}

@media (hover: none) and (pointer: coarse) {
  .product-gallery__dots {
    display: inline-flex;
  }
}
