/* The product page replaces the title banner with a neutral canvas that begins
   behind the lower half of the overlapping desktop navigation. */
body.single-sahika_product .site-content,
body.sahika-products-page .site-content {
  background-color: #f3f5f7;
}

body.sahika-products-page .site-content {
  padding: 20px 0 50px;
}

.sahika-products {
  padding: 105px 0;
}

.sahika-products__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 42px;
}

.sahika-products__filters button {
  background: transparent;
  border: 1px solid #ccd7e7;
  color: #183677;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 18px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sahika-products__filters button:hover,
.sahika-products__filters button:focus,
.sahika-products__filters button.is-active {
  background: #0d43c7;
  border-color: #0d43c7;
  color: #fff;
}

.sahika-products__section + .sahika-products__section {
  margin-top: 72px;
}

.sahika-products__section--special h2 {
  color: #0b2d88;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  margin: 0 0 24px;
  text-align: center;
}

.sahika-collections__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sahika-collection-card__link {
  color: inherit;
  display: block;
  text-decoration: none !important;
}

.sahika-collection-card__image {
  aspect-ratio: 4 / 3;
  background: #e9eef5;
  overflow: hidden;
  position: relative;
}

.sahika-collection-card__image > img,
.sahika-collection-card__placeholder {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}

.sahika-collection-card__placeholder {
  background: linear-gradient(145deg, #dce5f1, #f7f9fc);
}

.sahika-collection-card__overlay {
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(5, 22, 67, .03) 25%, rgba(5, 22, 67, .88) 100%);
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  left: 0;
  padding: 30px 25px;
  position: absolute;
  right: 0;
  top: 0;
}

.sahika-collection-card__overlay h2 {
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
  margin: 0;
}

.sahika-collection-card__overlay > span {
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  margin-top: 13px;
  opacity: 0;
  padding-bottom: 4px;
  transform: translateY(7px);
  transition: opacity .25s ease, transform .25s ease;
}

.sahika-collection-card__overlay > span span {
  font-size: 17px;
  margin-left: 7px;
}

.sahika-collection-card__link:hover .sahika-collection-card__image > img,
.sahika-collection-card__link:focus .sahika-collection-card__image > img {
  transform: scale(1.06);
}

.sahika-collection-card__link:hover .sahika-collection-card__overlay > span,
.sahika-collection-card__link:focus .sahika-collection-card__overlay > span {
  opacity: 1;
  transform: translateY(0);
}

.sahika-products__back-link {
  color: #0d43c7;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  text-decoration: none !important;
}

.sahika-products__back-link:hover,
.sahika-products__back-link:focus {
  color: #087cff;
}

.sahika-products__collection-header {
  margin-bottom: 36px;
  text-align: center;
}

.sahika-products__collection-brand {
  color: #5d7195;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.sahika-products__collection-header h1 {
  align-items: center;
  color: #0b2d88;
  display: flex;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 600;
  gap: 16px;
  justify-content: center;
  line-height: 1.14;
  margin: 0;
  text-transform: uppercase;
}

.sahika-products__collection-header h1::before,
.sahika-products__collection-header h1::after {
  background: #aebbd0;
  content: '';
  height: 1px;
  width: clamp(34px, 8vw, 120px);
}

.sahika-products__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sahika-product-card__link {
  color: inherit;
  display: block;
  text-decoration: none !important;
}

.sahika-product-card__image {
  aspect-ratio: 340 / 541;
  background: #f1f4f8;
  overflow: hidden;
  position: relative;
}

.sahika-product-card__image::before {
  display: none;
}

.sahika-product-card__image > img,
.sahika-product-card__placeholder {
  height: 100%;
  width: 100%;
}

.sahika-product-card__image > img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.sahika-product-card__placeholder {
  background: linear-gradient(135deg, #e7edf5, #f8fafc);
  display: block;
}

.sahika-product-card__overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(3, 20, 72, .04) 16%, rgba(3, 20, 72, .86) 100%);
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  left: 0;
  opacity: 0;
  padding: 28px 24px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}

.sahika-product-card__title {
  color: inherit;
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}

.sahika-product-card__cta {
  align-items: center;
  border-bottom: 2px solid #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .01em;
  margin-top: 14px;
  padding-bottom: 4px;
}

.sahika-product-card__cta span {
  font-size: 18px;
  line-height: .7;
}

.sahika-product-card__link:hover .sahika-product-card__overlay,
.sahika-product-card__link:focus .sahika-product-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.sahika-products__empty {
  background: #f4f7fc;
  color: #384a5e;
  margin: 0;
  padding: 28px;
  text-align: center;
}

.sahika-product-detail {
  padding: 20px 0;
}

.sahika-product-detail__grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 450px) minmax(340px, 1fr);
}

.sahika-product-detail__media-wrap {
  margin: 0 auto;
  max-width: 450px;
  width: 100%;
}

.sahika-product-detail__media {
  aspect-ratio: 450 / 716;
  background: #f4f6f8;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.sahika-product-detail__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
  width: 100%;
}

.sahika-product-detail__media:hover .sahika-product-detail__image,
.sahika-product-detail__media.is-zooming .sahika-product-detail__image {
  transform: scale(1.8);
}

.sahika-product-detail__zoom-hint {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  bottom: 18px;
  color: #0431b8;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: 18px;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  width: 42px;
}

.sahika-product-detail__zoom-hint svg {
  height: 20px;
  width: 20px;
}

.sahika-product-detail__media:hover .sahika-product-detail__zoom-hint,
.sahika-product-detail__media:focus .sahika-product-detail__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.sahika-product-detail__no-image {
  align-items: center;
  background: #f3f6fa;
  color: #5c6b7a;
  display: flex;
  min-height: 440px;
  padding: 28px;
  text-align: center;
}

.sahika-product-detail__title {
  color: #0b2d88;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 30px;
}

.sahika-product-detail__identity {
  color: #5470a2;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 0 10px;
  letter-spacing: .04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.sahika-product-detail__identity > * + *::before {
  color: #087cff;
  content: '/';
  margin-right: 10px;
}

.sahika-product-detail__identity-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.sahika-product-detail__identity-link:hover,
.sahika-product-detail__identity-link:focus {
  color: #0d43c7;
}

.sahika-product-detail__share h2 {
  align-items: center;
  color: #102d7c;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 9px;
  margin: 0 0 14px;
}

.sahika-product-detail__description {
  color: #4c5d70;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 30px;
}

.sahika-product-detail__description > :last-child {
  margin-bottom: 0;
}

.sahika-product-detail__measurements,
.sahika-product-detail__price {
  border-top: 1px solid #e1e8f0;
  margin-top: 25px;
  padding-top: 23px;
}

.sahika-product-detail__measurements h2,
.sahika-product-detail__price h2 {
  color: #102d7c;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}

.sahika-product-detail__measurement-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sahika-product-detail__measurement {
  background: #fff;
  border: 1px solid #cfd9e7;
  color: #253c71;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 13px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sahika-product-detail__measurement:hover,
.sahika-product-detail__measurement:focus,
.sahika-product-detail__measurement.is-selected {
  background: #0d43c7;
  border-color: #0d43c7;
  color: #fff;
}

.sahika-product-detail__price {
  margin-bottom: 30px;
}

.sahika-product-detail__price p {
  color: #0b2d88;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.sahika-product-detail__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sahika-product-detail__actions--without-price {
  margin-top: 30px;
}

.sahika-product-button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.sahika-product-button svg,
.sahika-product-button i {
  font-size: 19px;
  height: 19px;
  width: 19px;
}

.sahika-product-button:hover,
.sahika-product-button:focus {
  transform: translateY(-2px);
}

.sahika-product-button--outline {
  background: #fff;
  border: 1px solid #0d43c7;
  color: #0d43c7;
}

.sahika-product-button--outline:hover,
.sahika-product-button--outline:focus {
  background: #0d43c7;
  color: #fff;
}

.sahika-product-button--whatsapp {
  background: #25d366;
  color: #fff !important;
}

.sahika-product-button--whatsapp:hover,
.sahika-product-button--whatsapp:focus {
  background: #169c48;
}

.sahika-product-button--locations {
  background: #0d43c7;
  color: #fff;
  grid-column: 1 / -1;
}

.sahika-product-button--locations:hover,
.sahika-product-button--locations:focus {
  background: #087cff;
}

.sahika-product-detail__share {
  border-top: 1px solid #e1e8f0;
  margin-top: 31px;
  padding-top: 27px;
}

.sahika-product-detail__share h2 {
  margin-bottom: 13px;
}

.sahika-product-detail__share-links {
  display: flex;
  gap: 9px;
}

.sahika-product-share {
  align-items: center;
  border-radius: 50%;
  color: #fff !important;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  text-decoration: none !important;
  transition: transform .2s ease, opacity .2s ease;
  width: 38px;
}

.sahika-product-share:hover,
.sahika-product-share:focus {
  color: #fff !important;
  opacity: .88;
  transform: translateY(-3px);
}

.sahika-product-share .ct-facebook-svg {
  height: 17px;
  width: 11px;
}

.sahika-product-share > svg {
  fill: currentColor;
  height: 16px;
  width: 16px;
}

.sahika-product-share i {
  font-size: 18px;
}

.sahika-product-share--facebook { background: #3b5998; }
.sahika-product-share--x { background: #000; }
.sahika-product-share--whatsapp { background: #25d366; }
.sahika-product-share--linkedin { background: #0077b5; }

.sahika-product-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 28px;
  pointer-events: none;
  position: fixed;
  transition: opacity .25s ease, visibility .25s ease;
  visibility: hidden;
  z-index: 100000;
}

.sahika-product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.sahika-product-modal__backdrop {
  background: rgba(2, 11, 37, .82);
  inset: 0;
  position: absolute;
}

.sahika-product-modal__dialog {
  background: #fff;
  max-height: calc(100vh - 56px);
  overflow: auto;
  position: relative;
  width: min(1180px, 100%);
  z-index: 1;
}

.sahika-product-modal__dialog--image {
  background: transparent;
  line-height: 0;
  text-align: center;
  width: fit-content;
}

.sahika-product-modal__dialog--image img {
  display: block;
  max-height: calc(100vh - 56px);
  max-width: 100%;
}

.sahika-product-modal__dialog--map {
  padding: 36px;
}

.sahika-product-modal__dialog--map h2 {
  color: #0b2d88;
  font-size: 26px;
  margin: 0 40px 24px 0;
}

.sahika-product-map-modal .sahika-branches-map__canvas {
  height: min(58vh, 520px);
}

.sahika-product-modal__close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: #0b2d88;
  cursor: pointer;
  display: inline-flex;
  font-size: 30px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  z-index: 2;
}

.sahika-product-modal__close:hover,
.sahika-product-modal__close:focus {
  background: #0b2d88;
  color: #fff;
}

body.sahika-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .sahika-products { padding: 75px 0; }
  .sahika-products__section + .sahika-products__section { margin-top: 56px; }
  .sahika-collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sahika-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sahika-product-detail { padding: 20px 0; }
  .sahika-product-detail__grid { gap: 42px; grid-template-columns: 1fr; }
}

@media screen and (max-width: 767px) {
  .sahika-products,
  .sahika-product-detail {
    padding-top: 0;
  }

  .sahika-products__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sahika-products__filters button {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .sahika-products__filters button[data-sahika-product-filter="all"] {
    grid-column: 1 / -1;
  }

  .sahika-product-detail__grid {
    gap: 0;
  }

  .sahika-product-detail__content {
    display: contents;
  }

  .sahika-product-detail__content > * {
    order: 4;
  }

  .sahika-product-detail__identity {
    order: 1;
    justify-content: center;
    margin-bottom: 8px;
    text-align: center;
  }

  .sahika-product-detail__title {
    order: 2;
    margin-bottom: 22px;
    text-align: center;
  }

  .sahika-product-detail__media-wrap {
    order: 3;
    margin-bottom: 28px;
  }

  .sahika-product-detail__description {
    order: 4;
  }

  .sahika-product-detail__measurements {
    order: 5;
    margin-top: 0;
    text-align: center;
  }

  .sahika-product-detail__measurement-options {
    justify-content: center;
  }

  .sahika-product-detail__price {
    order: 6;
    text-align: center;
  }

  .sahika-product-detail__actions {
    order: 7;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sahika-product-button {
    gap: 6px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .sahika-product-button--locations {
    grid-column: 1 / -1;
  }

  .sahika-product-detail__share {
    order: 8;
  }
}

@media screen and (max-width: 575px) {
  .sahika-products { padding: 0 0 55px; }
  .sahika-products__filters { gap: 8px; margin-bottom: 30px; }
  .sahika-products__filters button { font-size: 13px; min-height: 39px; padding: 8px 13px; }
  .sahika-products__section + .sahika-products__section { margin-top: 44px; }
  .sahika-collections__grid { gap: 18px; grid-template-columns: 1fr; }
  .sahika-products__grid { gap: 18px; grid-template-columns: 1fr; }
  .sahika-products--collection .sahika-products__grid { gap: 18px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sahika-product-detail { padding: 0 0 20px; }
  .sahika-product-detail__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sahika-product-button { font-size: 12px; }
  .sahika-product-button--locations { grid-column: 1 / -1; }
  .sahika-product-modal { padding: 14px; }
  .sahika-product-modal__dialog--map { padding: 24px 16px 16px; }
  .sahika-product-map-modal .sahika-branches-map__canvas { height: 58vh; }
}
