/* Sahtain sizes — matched to sahtain.sa
   Use px (not rem): Zid html root is often ~12px and rem shrinks everything. */

.sahtain-products,
.sahtain-products *,
.sahtain-products *::before,
.sahtain-products *::after {
  box-sizing: border-box;
}

.sahtain-products {
  --sahtain-navy: #061b36;
  --sahtain-brand: #0756a8;
  --sahtain-blue: #3f9ae5;
  --sahtain-text: #0b2340;
  --sahtain-muted: #6c8198;
  --sahtain-line: rgba(26, 94, 160, 0.14);

  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 42%, rgba(72, 173, 239, 0.17), transparent 464px),
    linear-gradient(rgb(255, 255, 255) 0%, rgb(247, 251, 255) 66%, rgb(238, 248, 255) 100%);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--sahtain-text);
  width: 100%;
  max-width: none;
}

.sahtain-products.is-ltr {
  font-family: inherit;
}

.sahtain-products::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(10, 91, 170, 0.055) 50%, transparent 50.1%) 0 0 / 180px 180px,
    linear-gradient(0deg, transparent 49.9%, rgba(10, 91, 170, 0.04) 50%, transparent 50.1%);
  mask-image: linear-gradient(transparent, black 18%, black 82%, transparent);
}

.sahtain-products .products-wrap {
  width: min(1460px, calc(100% - 42px));
  margin: auto;
}

.sahtain-products .products-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 34px;
  direction: rtl;
  text-align: right;
}

.sahtain-products.is-ltr .products-head {
  direction: ltr;
  text-align: left;
}

.sahtain-products .products-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sz-kicker-color, var(--sahtain-blue));
  font-weight: 900;
  font-size: var(--sz-kicker-size, 14.72px);
  line-height: var(--sz-kicker-lh, 1.5);
  margin-bottom: 12px;
}

.sahtain-products .products-kicker::after {
  content: "";
  width: 54px;
  height: 1px;
  background: currentColor;
}

.sahtain-products .products-head h2 {
  margin: 0;
  /* Reference: clamp(3.5rem, 6.2vw, 7.4rem) at 16px */
  font-size: clamp(calc(var(--sz-title-size, 118.4px) * 0.472972973), 6.2vw, var(--sz-title-size, 118.4px));
  line-height: var(--sz-title-lh, 1.08);
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--sz-title-color, var(--sahtain-text));
}

.sahtain-products .products-head p {
  margin: 0;
  max-width: 540px;
  color: var(--sz-desc-color, var(--sahtain-muted));
  font-size: var(--sz-desc-size, 16px);
  font-weight: 400;
  line-height: var(--sz-desc-lh, 1.9);
}

.sahtain-products .product-stage {
  position: relative;
  /* Match sahtain.sa stage */
  min-height: clamp(650px, 72vh, 820px);
  height: auto;
  overflow: hidden;
  border: 1px solid var(--sahtain-line);
  border-radius: clamp(26px, 3vw, 46px);
  background:
    radial-gradient(circle at 34% 47%, rgba(75, 174, 240, 0.16), transparent 432px),
    color-mix(in srgb, var(--sz-stage-bg, #fff) calc(var(--sz-stage-opacity, 82) * 1%), transparent);
  box-shadow: rgba(15, 67, 117, 0.12) 0 35px 100px;
}

.sahtain-products .product-stage.has-stage-fill {
  background: var(--sz-stage-fill);
}

.sahtain-products .product-stage[data-system]::after {
  content: attr(data-system);
  position: absolute;
  left: 42px;
  top: 42px;
  color: rgba(7, 76, 145, 0.23);
  font: 900 12px / 1 Arial, sans-serif;
  letter-spacing: 0.18em;
  direction: ltr;
  text-transform: none;
}

.sahtain-products .product-tabs {
  position: absolute;
  z-index: 20;
  right: 34px;
  top: 30px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sahtain-products.is-ltr .product-tabs {
  right: auto;
  left: 34px;
}

.sahtain-products .product-tab {
  min-width: 116px;
  border: 1px solid rgba(7, 91, 174, 0.18);
  border-radius: 999px;
  padding: 13px 19px;
  background: color-mix(in srgb, var(--sz-item-tab-bg, #fff) calc(var(--sz-item-tab-opacity, 76) * 1%), transparent);
  color: var(--sz-item-tab-fg, var(--sz-tab-color, var(--sahtain-navy)));
  font-weight: 900;
  font-family: inherit;
  font-size: var(--sz-tab-size, 16px);
  line-height: var(--sz-tab-lh, 1.2);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  /* Kill default browser / Bootstrap black focus ring */
  outline: none !important;
  outline-offset: 0 !important;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}

.sahtain-products .product-tab:hover {
  transform: translateY(-2px);
}

.sahtain-products .product-tab:focus,
.sahtain-products .product-tab:focus-visible,
.sahtain-products .product-tab:active {
  outline: none !important;
  outline-offset: 0 !important;
}

.sahtain-products .product-tab:focus:not(.active),
.sahtain-products .product-tab:focus-visible:not(.active) {
  border-color: rgba(7, 91, 174, 0.18);
  box-shadow: none;
}

.sahtain-products .product-tab.active {
  color: var(--sz-item-tab-active-fg, #fff);
  background: color-mix(in srgb, var(--sz-item-tab-active-bg, var(--sahtain-blue)) calc(var(--sz-item-tab-active-opacity, 100) * 1%), transparent);
  border-color: var(--sz-item-tab-active-bg, var(--sahtain-blue));
  box-shadow: rgba(8, 100, 191, 0.22) 0 12px 30px;
}

.sahtain-products .product-tab.active:focus,
.sahtain-products .product-tab.active:focus-visible,
.sahtain-products .product-tab.active:active {
  outline: none !important;
  border-color: var(--sz-item-tab-active-bg, var(--sahtain-blue));
  box-shadow: rgba(8, 100, 191, 0.22) 0 12px 30px;
}

.sahtain-products .product-copy {
  position: absolute;
  z-index: 10;
  right: 6.5%;
  /* Exact reference: bottom 9% (not top) so layout matches sahtain.sa */
  bottom: 9%;
  top: auto;
  width: min(400px, 34%);
  direction: rtl;
  text-align: right;
}

.sahtain-products.is-ltr .product-copy {
  right: auto;
  left: 6.5%;
  direction: ltr;
  text-align: left;
}

.sahtain-products .product-size {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  color: var(--sahtain-blue);
  direction: rtl;
  justify-content: flex-start;
}

.sahtain-products.is-ltr .product-size {
  direction: ltr;
}

.sahtain-products .product-size strong {
  direction: ltr;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(calc(var(--sz-num-size, 144px) * 0.5555555556), 9vw, var(--sz-num-size, 144px));
  line-height: var(--sz-num-lh, 0.72);
  letter-spacing: -0.07em;
  color: var(--sz-num-color, var(--sahtain-blue));
}

.sahtain-products .product-size span {
  font-size: var(--sz-unit-size, 16.8px);
  font-weight: 900;
  line-height: var(--sz-unit-lh, 1.5);
  padding-bottom: 7px;
  color: var(--sz-unit-color, var(--sahtain-blue));
}

.sahtain-products .product-copy h3 {
  margin: 30px 0 8px;
  /* Reference: clamp(1.45rem, 2vw, 2rem) */
  font-size: clamp(calc(var(--sz-item-title-size, 32px) * 0.725), 2vw, var(--sz-item-title-size, 32px));
  line-height: var(--sz-item-title-lh, 1.2);
  font-weight: 900;
  color: var(--sz-item-title-color, var(--sahtain-text));
}

.sahtain-products .product-copy p {
  margin: 0;
  color: var(--sz-item-desc-color, var(--sahtain-muted));
  line-height: var(--sz-item-desc-lh, 1.85);
  font-size: var(--sz-item-desc-size, 16px);
  font-weight: 400;
}

.sahtain-products .product-meta {
  display: flex;
  gap: 34px;
  margin-top: 24px;
  color: var(--sz-meta-label-color, var(--sahtain-muted));
  font-size: var(--sz-meta-label-size, 13.12px);
  font-weight: 400;
  line-height: var(--sz-meta-label-lh, 1.5);
}

.sahtain-products .product-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--sz-meta-value-color, var(--sahtain-navy));
  font-size: var(--sz-meta-value-size, 16.96px);
  font-weight: 700;
  line-height: var(--sz-meta-value-lh, 1.5);
}

.sahtain-products .product-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  min-width: 150px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--sz-btn-bg, var(--sahtain-blue));
  color: var(--sz-btn-color, #fff);
  text-decoration: none;
  font-weight: 900;
  font-size: var(--sz-btn-size, 16px);
  line-height: var(--sz-btn-lh, 1.5);
  box-shadow: rgba(8, 100, 191, 0.2) 0 14px 30px;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
}

.sahtain-products .product-order:hover {
  transform: translateY(-2px);
  box-shadow: rgba(8, 100, 191, 0.28) 0 18px 36px;
  background: var(--sz-btn-bg, rgb(7, 87, 167));
  color: var(--sz-btn-color, #fff);
}

.sahtain-products .product-order:focus-visible {
  outline: rgba(8, 100, 191, 0.22) solid 3px;
  outline-offset: 4px;
}

.sahtain-products .product-visual {
  position: absolute;
  z-index: 5;
  left: 4%;
  bottom: 0;
  width: 58%;
  height: 88%;
  pointer-events: none;
}

.sahtain-products.is-ltr .product-visual {
  left: auto;
  right: 4%;
}

.sahtain-products .product-bottle,
.sahtain-products .product-carton {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: 4%;
  width: 48%;
  height: 78%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  transform-origin: 50% 100%;
  transition: opacity 0.25s, transform 0.72s cubic-bezier(0.2, 0.82, 0.2, 1), filter 0.72s;
  filter: drop-shadow(rgba(7, 66, 120, 0.11) 0 26px 28px);
}

.sahtain-products .product-bottle {
  z-index: 5;
  left: 50%;
  filter: drop-shadow(rgba(7, 66, 120, 0.17) 0 32px 30px);
}

.sahtain-products .product-floor {
  position: absolute;
  z-index: 1;
  left: 18%;
  bottom: 1%;
  width: 68%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(rgba(44, 139, 211, 0.17), rgba(44, 139, 211, 0) 70%);
  filter: blur(9px);
}

.sahtain-products .product-banner {
  display: none;
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.sahtain-products .product-stage.has-banner .product-visual,
.sahtain-products.is-ltr .product-stage.has-banner .product-visual {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 58%;
  height: 100%;
}

.sahtain-products.is-ltr .product-stage.has-banner .product-visual {
  left: auto;
  right: 0;
}

.sahtain-products .product-stage.has-banner .product-banner {
  display: block;
}

.sahtain-products .product-stage.has-banner .product-bottle,
.sahtain-products .product-stage.has-banner .product-carton,
.sahtain-products .product-stage.has-banner .product-floor {
  display: none !important;
}

.sahtain-products .product-stage.is-switching .product-bottle {
  opacity: 0;
  transform: translateY(22px) scale(0.965);
}

.sahtain-products .product-stage.is-switching .product-carton {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
}

@media (max-width: 900px) {
  .sahtain-products {
    padding: 76px 0 34px;
    min-height: 0;
  }

  .sahtain-products .products-wrap {
    width: min(calc(100% - 24px), 1460px);
  }

  .sahtain-products .products-head {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .sahtain-products .products-kicker {
    justify-content: center;
  }

  .sahtain-products .products-head p {
    margin: auto;
  }

  .sahtain-products .product-stage {
    min-height: 880px;
    height: auto;
  }

  .sahtain-products .product-stage[data-system]::after {
    display: none;
  }

  .sahtain-products .product-tabs,
  .sahtain-products.is-ltr .product-tabs {
    top: 22px;
    right: 18px;
    left: 18px;
    justify-content: center;
  }

  .sahtain-products .product-tab {
    min-width: 0;
    padding: 11px 15px;
    font-size: calc(var(--sz-tab-size, 16px) * 0.9375);
  }

  .sahtain-products .product-visual,
  .sahtain-products.is-ltr .product-visual {
    top: 20%;
    left: 5%;
    right: auto;
    width: 90%;
    height: 51%;
  }

  .sahtain-products .product-stage.has-banner .product-visual,
  .sahtain-products.is-ltr .product-stage.has-banner .product-visual {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 48%;
  }

  .sahtain-products .product-copy,
  .sahtain-products.is-ltr .product-copy {
    right: 7%;
    left: 7%;
    top: auto;
    bottom: 5%;
    width: auto;
    text-align: center;
  }

  .sahtain-products .product-size {
    justify-content: center;
  }

  .sahtain-products .product-meta {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .sahtain-products .products-kicker {
    font-size: var(--sz-kicker-size-m, 14.72px);
    line-height: var(--sz-kicker-lh-m, 1.5);
  }

  .sahtain-products .products-head h2 {
    font-size: var(--sz-title-size-m, 59px);
    line-height: var(--sz-title-lh-m, 1.08);
  }

  .sahtain-products .products-head p {
    font-size: var(--sz-desc-size-m, 15px);
    line-height: var(--sz-desc-lh-m, 1.9);
  }

  .sahtain-products .product-stage {
    min-height: 760px;
    border-radius: 28px;
  }

  .sahtain-products .product-tabs {
    gap: 5px;
  }

  .sahtain-products .product-tab {
    font-size: var(--sz-tab-size-m, 13px);
    line-height: var(--sz-tab-lh-m, 1.2);
    padding: 9px 11px;
  }

  .sahtain-products .product-visual {
    top: 16%;
    left: 4%;
    width: 92%;
    height: 44%;
  }

  .sahtain-products .product-stage.has-banner .product-visual {
    top: 0;
    left: 0;
    width: 100%;
    height: 42%;
  }

  .sahtain-products .product-floor {
    left: 12%;
    bottom: 3%;
    width: 76%;
  }

  .sahtain-products .product-copy {
    bottom: 3.8%;
  }

  .sahtain-products .product-size strong {
    font-size: var(--sz-num-size-m, 73px);
    line-height: var(--sz-num-lh-m, 0.72);
  }

  .sahtain-products .product-size span {
    font-size: var(--sz-unit-size-m, 16.8px);
    line-height: var(--sz-unit-lh-m, 1.5);
  }

  .sahtain-products .product-copy h3 {
    margin-top: 20px;
    font-size: var(--sz-item-title-size-m, 22px);
    line-height: var(--sz-item-title-lh-m, 1.2);
  }

  .sahtain-products .product-copy p {
    font-size: var(--sz-item-desc-size-m, 16px);
    line-height: var(--sz-item-desc-lh-m, 1.85);
  }

  .sahtain-products .product-meta {
    gap: 22px;
    font-size: var(--sz-meta-label-size-m, 13.12px);
    line-height: var(--sz-meta-label-lh-m, 1.5);
  }

  .sahtain-products .product-meta strong {
    font-size: var(--sz-meta-value-size-m, 16.96px);
    line-height: var(--sz-meta-value-lh-m, 1.5);
  }

  .sahtain-products .product-order {
    width: 100%;
    margin-top: 20px;
    font-size: var(--sz-btn-size-m, 16px);
    line-height: var(--sz-btn-lh-m, 1.5);
  }
}
