/* =========================================================
   HTG PRODUCT MASTER PAGE
========================================================= */

:root {
  --product-green: #061b14;
  --product-green-2: #0b3427;
  --product-gold: #b99532;
  --product-gold-light: #d4b65c;
  --product-cream: #f7f4ec;
  --product-line: rgba(6,27,20,.13);
  --product-text: #183128;
  --product-soft: #66736e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--product-text);
  background: #fff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* HEADER */

.product-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--product-line);
  backdrop-filter: blur(14px);
}

.product-header-shell {
  width: min(1380px, calc(100% - 48px));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.product-brand img {
  width: 210px;
  display: block;
}

.product-header-actions,
.product-language {
  display: flex;
  align-items: center;
}

.product-header-actions {
  gap: 30px;
}

.product-back {
  color: var(--product-green);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-language {
  gap: 7px;
}

.product-language button {
  border: 0;
  padding: 5px;
  color: #88918d;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.product-language button.active {
  color: var(--product-gold);
}

/* HERO */

.product-detail-hero {
  padding: 75px 0 95px;
  background:
    radial-gradient(circle at 16% 25%, rgba(185,149,50,.09), transparent 28%),
    linear-gradient(180deg,#fbfaf6 0%,#fff 100%);
}

.product-detail-shell {
  width: min(1380px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(390px,.95fr);
  gap: clamp(50px,7vw,110px);
  align-items: center;
}

/* GALLERY */

.product-gallery {
  min-width: 0;
}

.product-main-image {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(185,149,50,.16);
  background:
    radial-gradient(circle at center, #fff 0%, #f7f4ec 68%, #eee9dc 100%);
  cursor: zoom-in;
}

.product-main-image > img {
  width: min(82%, 520px);
  max-height: 590px;
  object-fit: contain;
  transition: transform .35s ease;
}

.product-main-image:hover > img {
  transform: scale(1.025);
}

.product-zoom-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(6,27,20,.12);
  border-radius: 50%;
  color: #fff;
  background: var(--product-green);
  font-size: 1.5rem;
  cursor: pointer;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.product-thumbnail {
  flex: 0 0 92px;
  height: 92px;
  padding: 7px;
  border: 1px solid var(--product-line);
  background: #fff;
  cursor: pointer;
}

.product-thumbnail.active {
  border: 2px solid var(--product-gold);
}

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

/* PRIMARY INFO */

.product-brand-label,
.product-section-eyebrow {
  margin: 0 0 14px;
  color: var(--product-gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.product-primary-info h1 {
  margin: 0;
  color: var(--product-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem,6vw,6.8rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.055em;
}

.product-primary-info h1 sup {
  position: relative;
  top: -.35em;
  font-size: .24em;
}

.product-introduction {
  max-width: 600px;
  margin: 30px 0;
  color: var(--product-soft);
  font-size: 1.15rem;
  line-height: 1.8;
}

.product-presentation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
}

.product-presentation span {
  color: var(--product-soft);
}

.product-presentation strong {
  color: var(--product-green);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.product-buy,
.product-share {
  min-height: 58px;
  border: 1px solid var(--product-green);
  font-weight: 900;
  letter-spacing: .1em;
  cursor: pointer;
}

.product-buy {
  color: #fff;
  background: var(--product-green);
}

.product-share {
  color: var(--product-green);
  background: #fff;
}

/* SHARE */

.product-share-panel {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid var(--product-line);
  background: #fff;
  box-shadow: 0 18px 45px rgba(6,27,20,.09);
}

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

.product-share-panel > p {
  margin: 0 0 15px;
  font-weight: 800;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 9px;
}

.share-option {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--product-line);
  color: var(--product-green);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.share-option:hover {
  border-color: var(--product-gold);
}

.share-option.axira-social,
.share-option.axira-chat-share {
  grid-column: 1 / -1;
  min-height: 66px;
  color: #fff;
  background: var(--product-green);
  border-color: var(--product-green);
}

.share-option strong,
.share-option span {
  display: block;
}

.share-option span {
  margin-top: 4px;
  opacity: .72;
  font-size: .76rem;
}

/* CONTENT */

.product-information-section,
.product-content-section,
.product-video-section,
.product-faq-section {
  padding: 100px 0;
}

.product-content-section.alternate {
  background: var(--product-cream);
}

.product-content-shell {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}

.product-content-shell h2 {
  margin: 0 0 35px;
  color: var(--product-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem,4vw,4.6rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.product-information-placeholder {
  padding: 35px;
  border-left: 3px solid var(--product-gold);
  color: var(--product-soft);
  background: rgba(255,255,255,.72);
  line-height: 1.8;
}

/* VIDEO */

.product-video-section {
  color: #fff;
  background: var(--product-green);
}

.product-video-section .product-content-shell h2 {
  color: #fff;
}

.product-video-placeholder {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at center, rgba(185,149,50,.13), transparent 45%),
    #08241b;
}

.video-play-symbol {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  font-size: 1.5rem;
}

/* FAQ */

.product-faq {
  border-top: 1px solid var(--product-line);
}

.product-faq details {
  border-bottom: 1px solid var(--product-line);
}

.product-faq summary {
  padding: 25px 5px;
  color: var(--product-green);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.product-faq details p {
  max-width: 850px;
  margin: 0;
  padding: 0 5px 28px;
  color: var(--product-soft);
  line-height: 1.75;
}

/* AXIRA CHAT */

.axira-chat-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 205px;
  padding: 11px 16px 11px 11px;
  border: 1px solid rgba(212,182,92,.55);
  border-radius: 999px;
  color: #fff;
  background: var(--product-green);
  box-shadow: 0 15px 40px rgba(0,0,0,.24);
  cursor: pointer;
}

.axira-chat-symbol {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--product-green);
  background: var(--product-gold-light);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.axira-chat-floating strong,
.axira-chat-floating small {
  display: block;
  text-align: left;
}

.axira-chat-floating small {
  margin-top: 2px;
  opacity: .7;
}

/* LIGHTBOX */

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background: rgba(1,10,7,.96);
}

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

.lightbox-image-stage {
  width: min(80vw,1100px);
  height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.lightbox-image-stage img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .15s ease;
  cursor: grab;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 2.6rem;
  cursor: pointer;
}

.lightbox-control {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 1.6rem;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .product-detail-shell {
    grid-template-columns: 1fr;
  }

  .product-main-image {
    min-height: 520px;
  }

  .product-primary-info {
    max-width: 700px;
  }
}

@media (max-width: 600px) {
  .product-header-shell,
  .product-detail-shell,
  .product-content-shell {
    width: min(100% - 28px, 1380px);
  }

  .product-header-shell {
    min-height: 72px;
  }

  .product-brand img {
    width: 155px;
  }

  .product-back {
    display: none;
  }

  .product-detail-hero {
    padding: 28px 0 65px;
  }

  .product-main-image {
    min-height: 410px;
  }

  .product-main-image > img {
    max-height: 370px;
  }

  .product-thumbnail {
    flex-basis: 74px;
    height: 74px;
  }

  .product-primary-info h1 {
    font-size: clamp(3.2rem,16vw,5rem);
  }

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

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

  .share-option.axira-social,
  .share-option.axira-chat-share {
    grid-column: auto;
  }

  .product-information-section,
  .product-content-section,
  .product-video-section,
  .product-faq-section {
    padding: 70px 0;
  }

  .product-video-placeholder {
    min-height: 300px;
  }

  .axira-chat-floating {
    right: 14px;
    bottom: 14px;
    min-width: 0;
  }

  .axira-chat-floating > span:last-child {
    display: none;
  }

  .lightbox-control {
    position: absolute;
    bottom: 25px;
  }

  #zoomOut {
    left: calc(50% - 65px);
  }

  #zoomIn {
    right: calc(50% - 65px);
  }

  .lightbox-image-stage {
    width: 96vw;
    height: 80vh;
  }
}
