.product-page {
  padding-top: 18px;
  padding-bottom: 48px;
}

.nav-row a.is-active {
  color: var(--accent);
}

.nav-row a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-breadcrumbs a:hover {
  color: var(--accent);
}

.product-breadcrumbs span {
  color: #98a2b3;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(340px, 0.88fr) 330px;
  gap: 28px;
  align-items: start;
}

.product-empty {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.product-empty h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.product-empty p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.55;
}

.product-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

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

.product-gallery__thumbs {
  display: grid;
  gap: 10px;
}

.product-thumb {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-thumb.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 105, 0, 0.18);
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-gallery__stage {
  display: grid;
  place-items: center;
  min-height: clamp(420px, 42vw, 590px);
  padding: 28px;
  border: 1px solid rgba(231, 235, 242, 0.75);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 24%, rgba(235, 243, 255, 0.78), transparent 46%),
    linear-gradient(180deg, #fff, #fbfcff);
}

.product-gallery__stage img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 26px 28px rgba(15, 23, 42, 0.12));
}

.product-gallery__actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: -4px;
}

.product-gallery__actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #007a72;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-buybox {
  padding-top: 16px;
}

.product-buybox__brand {
  margin: 0 0 8px;
  color: #007a72;
  font-weight: 800;
}

.product-buybox h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #344054;
}

.product-rating__stars {
  color: #ffb91c;
  letter-spacing: 0;
}

.product-rating a {
  color: #007a72;
  font-weight: 700;
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.product-price-row strong {
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  line-height: 1;
  font-weight: 800;
}

.product-price-row span {
  color: #475467;
}

.product-price-note {
  margin: -2px 0 18px;
  color: #475467;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-packages {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-packages[hidden] {
  display: none;
}

.product-packages__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-packages__head strong {
  color: #111827;
  font-size: 0.96rem;
}

.product-packages__head span {
  color: #007a72;
  font-size: 0.84rem;
  font-weight: 800;
}

.product-package-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-package-option {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  min-height: 112px;
  padding: 10px;
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  text-align: left;
}

.product-package-option.is-active {
  border-color: #ff6b00;
  box-shadow: 0 0 0 2px rgba(255, 105, 0, 0.18), 0 18px 38px rgba(15, 23, 42, 0.08);
}

.product-package-option__image {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #f8fafc;
}

.product-package-option__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-package-option__body,
.product-package-option__price {
  display: grid;
  gap: 2px;
}

.product-package-option__body strong {
  color: #111827;
  font-size: 1rem;
  line-height: 1.1;
}

.product-package-option__body em,
.product-package-option__body small,
.product-package-option__price small {
  color: #667085;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.25;
}

.product-package-option__price {
  grid-column: 1 / -1;
  align-items: end;
  grid-template-columns: 1fr auto;
}

.product-package-option__price b {
  color: #111827;
  font-size: 1rem;
}

.product-package-option__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: 110px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 122, 114, 0.1);
  color: #007a72;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-perks {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.product-perks div {
  display: flex;
  gap: 12px;
  color: #475467;
}

.product-perks .icon {
  color: #007a72;
}

.product-perks strong {
  display: block;
  color: #007a72;
  margin-bottom: 2px;
}

.product-perks em {
  display: block;
  color: #475467;
  font-style: normal;
}

.product-stock {
  margin: 0 0 10px;
  color: #344054;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 52px 88px 52px;
  height: 46px;
  margin-bottom: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.quantity-control button,
.quantity-control input {
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  color: #111827;
  font: inherit;
}

.quantity-control button + input,
.quantity-control input + button {
  border-left: 1px solid var(--line-strong);
}

.quantity-control input {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 6px;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
}

.quantity-control input:focus {
  outline: 2px solid rgba(255, 105, 0, 0.24);
  outline-offset: -2px;
}

.quantity-control button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.product-cta--cart {
  background: linear-gradient(180deg, #ff7a17, var(--accent));
}

.product-cta--buy {
  margin-top: 10px;
  background: linear-gradient(180deg, #ff6f10, #f04e00);
}

.product-purchase-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.product-purchase-notes span {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.product-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 164px;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid #00857c;
  border-radius: 8px;
  background: #fff;
  color: #007a72;
  font-weight: 800;
}

.product-watch-note {
  display: inline-block;
  margin: 0 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-aside {
  display: grid;
  gap: 16px;
}

.product-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-panel h2 {
  margin: 0 0 16px;
  font-size: 1.02rem;
  text-transform: uppercase;
}

.product-panel a {
  display: inline-flex;
  margin-top: 14px;
  color: #007a72;
  font-weight: 700;
}

.delivery-list {
  display: grid;
  gap: 16px;
}

.delivery-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.delivery-item .icon {
  color: #1f2937;
}

.delivery-item strong {
  display: block;
  margin-bottom: 3px;
}

.delivery-item span {
  color: #007a72;
}

.delivery-item b {
  align-self: center;
  white-space: nowrap;
}

.offer-meta {
  display: grid;
  gap: 12px;
  margin: 0;
}

.offer-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.offer-meta dt {
  color: #475467;
}

.offer-meta dd {
  margin: 0;
  text-align: right;
}

.product-tabs {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.product-tabs__nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.product-tabs__nav button {
  position: relative;
  min-height: 54px;
  padding: 0;
  border: 0;
  background: none;
  color: #344054;
  font-weight: 800;
  white-space: nowrap;
}

.product-tabs__nav button.is-active {
  color: #111827;
}

.product-tabs__nav button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.product-tabs__panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  padding: 24px 0 0;
}

.product-tabs__panel.is-active {
  display: grid;
}

.product-tabs__panel h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.product-tabs__panel p {
  margin: 0 0 14px;
  color: #344054;
  line-height: 1.7;
}

.product-tabs__panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #344054;
}

.product-specs {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.product-specs div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  min-height: 58px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.product-specs div:last-child {
  border-bottom: 0;
}

.product-specs dt {
  color: #475467;
  font-weight: 700;
}

.product-specs dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.product-description-card {
  min-width: 0;
}

.product-description-rich,
.product-description-showcase {
  display: grid;
  gap: 22px;
}

.product-story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96)),
    linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.product-story-hero figure,
.product-story-section figure {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.product-story-hero img,
.product-story-section img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 122, 114, 0.1);
  color: #007a72;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-story-hero h3,
.product-story-section h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.16;
}

.product-html {
  color: #344054;
  line-height: 1.72;
}

.product-html h1,
.product-html h2,
.product-html h3,
.product-html h4 {
  margin: 18px 0 10px;
  color: #0f172a;
  font-size: 1.08rem;
}

.product-html h1:first-child,
.product-html h2:first-child,
.product-html h3:first-child {
  margin-top: 0;
}

.product-html p {
  margin: 0 0 13px;
}

.product-html ul,
.product-html ol {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 20px;
}

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

.product-feature-tiles div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 12px;
  background: #fff;
}

.product-feature-tiles span {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 122, 114, 0.12);
  color: #007a72;
  font-weight: 900;
}

.product-feature-tiles strong {
  color: #1f2937;
  line-height: 1.35;
}

.product-story-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.product-story-section.is-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
}

.product-story-section.is-reverse figure {
  order: 2;
}

.product-story-section p {
  max-width: 680px;
  margin: 0;
  color: #344054;
  line-height: 1.72;
}

.product-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-trust-row div {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(210, 219, 232, 0.95);
  border-radius: 12px;
  background: #fff;
}

.product-trust-row span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-trust-row strong {
  color: #111827;
  overflow-wrap: anywhere;
}

#productBullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

#productBullets li {
  padding: 8px 11px;
  border: 1px solid rgba(0, 122, 114, 0.16);
  border-radius: 999px;
  background: rgba(0, 122, 114, 0.08);
  color: #075e58;
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 1220px) {
  .product-layout {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.88fr);
  }

  .product-aside {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-layout,
  .product-gallery,
  .product-tabs__panel {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    grid-row: 2;
    grid-template-columns: repeat(4, 76px);
    overflow-x: auto;
  }

  .product-thumb {
    width: 76px;
  }

  .product-gallery__actions {
    grid-column: 1;
  }

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

  .product-story-hero,
  .product-story-section,
  .product-story-section.is-reverse {
    grid-template-columns: 1fr;
  }

  .product-story-section.is-reverse figure {
    order: 0;
  }

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

@media (max-width: 620px) {
  .product-page {
    padding-top: 12px;
  }

  .product-gallery__stage {
    min-height: 330px;
    padding: 18px;
  }

  .product-gallery__stage img {
    max-height: 300px;
  }

  .product-watch-note {
    display: block;
    margin: 10px 0 0;
  }

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

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

  .product-tabs__nav {
    gap: 16px;
  }

  .product-story-hero,
  .product-feature-tiles div,
  .product-trust-row div {
    border-radius: 10px;
  }

  .product-story-hero figure,
  .product-story-section figure {
    min-height: 220px;
    padding: 16px;
  }

  .product-feature-tiles,
  .product-trust-row {
    grid-template-columns: 1fr;
  }
}
