body.viph-quickview-open {
  overflow: hidden;
}

.viph-qv[hidden] {
  display: none;
}

.viph-qv {
  --collection-title: #005b6b;
  --collection-text: #075b6a;
  --collection-button-bg: #005b6b;
  --collection-button-text: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: block;
  padding: 0;
  overflow: hidden;
  color: var(--collection-text);
}

.viph-qv__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.viph-qv__dialog {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}

.viph-qv__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: var(--collection-title);
  font-size: 20px;
  font-weight: 700;
}

.viph-qv__close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--collection-button-bg) !important;
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.viph-qv__close:hover {
  transform: scale(1.08);
}

.viph-qv__close:focus,
.viph-qv__close:active {
  outline: none;
  box-shadow: none;
}

.viph-qv__close span {
  position: absolute;
  top: 22px;
  left: 12px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.viph-qv__close span:first-child {
  transform: rotate(45deg);
}

.viph-qv__close span:last-child {
  transform: rotate(-45deg);
}

body.viph-quickview-open .zoomContainer {
  z-index: 1000001 !important;
}

body.viph-quickview-open .zoomContainer .zoomLens {
  cursor: crosshair !important;
}

.viph-qv-product {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 60px;
  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 60px 60px 50px;
  color: var(--collection-text);
  font-family: inherit;
  box-sizing: border-box;
}

.viph-qv-product__media {
  position: sticky;
  top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 380px;
  max-height: calc(100vh - 120px);
  padding-top: 0;
}

.viph-qv-product__media img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.viph-qv-product__body {
  min-width: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}

.viph-qv-product__title {
  margin: 0 60px 16px 0;
  color: var(--collection-title) !important;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.viph-qv-product__summary {
  margin: 0 0 28px;
  color: var(--collection-text) !important;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.viph-qv-tabs {
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 4px solid var(--collection-button-bg);
  flex-wrap: wrap;
  gap: 4px;
}

.viph-qv-tabs__btn {
  min-width: 110px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  color: var(--collection-title) !important;
  background: transparent !important;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.viph-qv-tabs__btn.is-active {
  color: #fff !important;
  background: var(--collection-button-bg) !important;
  border-radius: 6px 6px 0 0;
}

.viph-qv-tabs__btn:focus,
.viph-qv-tabs__btn:active {
  outline: none;
  box-shadow: none;
}

.viph-qv-tabs__panel {
  display: none;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  color: var(--collection-text) !important;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.viph-qv-tabs__panel.is-active {
  display: block;
}

.viph-qv-tabs__panel,
.viph-qv-tabs__panel * {
  color: var(--collection-text) !important;
  font-weight: 400 !important;
}

.viph-qv-tabs__panel p {
  margin: 0 0 8px;
  color: var(--collection-text) !important;
}

.viph-qv-tabs__panel ul {
  list-style-type: disc !important;
  margin: 0 0 14px 20px !important;
  padding-left: 20px !important;
  color: var(--collection-text) !important;
}

.viph-qv-tabs__panel ol {
  list-style-type: decimal !important;
  margin: 0 0 14px 20px !important;
  padding-left: 20px !important;
  color: var(--collection-text) !important;
}

.viph-qv-tabs__panel li {
  list-style-type: inherit !important;
  color: var(--collection-text) !important;
  margin-bottom: 4px;
}

.viph-qv-tabs__panel li::marker {
  color: #000000 !important;
}

.viph-qv-tabs__panel a {
  color: var(--collection-text) !important;
}

.viph-qv-tabs__panel strong,
.viph-qv-tabs__panel b {
  color: var(--collection-title) !important;
  font-weight: 800 !important;
}

.viph-qv-tabs__panel strong * {
  font-weight: 800 !important;
}

.viph-qv-tabs__panel table {
  width: 100% !important;
}

.viph-qv-tabs__panel table td {
  padding: 8px;
}

.viph-qv-product__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 24px;
}

.viph-qv-product__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--collection-button-bg);
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.viph-qv-product__contact:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .viph-qv {
    padding: 0;
  }

  .viph-qv__dialog {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
  }

  .viph-qv__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .viph-qv__close span {
    top: 19px;
    left: 10px;
    width: 22px;
    height: 4px;
  }

  .viph-qv-product {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 24px 40px;
    min-height: auto;
  }

  .viph-qv-product__media {
    position: relative;
    top: 0;
    height: auto;
    max-height: 40vh;
    min-height: auto;
  }

  .viph-qv-product__media img {
    max-height: 40vh;
  }

  .viph-qv-product__title {
    margin-right: 50px;
    font-size: 28px;
  }

  .viph-qv-tabs {
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  .viph-qv__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .viph-qv__close span {
    top: 17px;
    left: 9px;
    width: 20px;
    height: 4px;
  }

  .viph-qv-product {
    padding: 56px 16px 30px;
  }

  .viph-qv-product__title {
    font-size: 22px;
  }

  .viph-qv-product__summary,
  .viph-qv-tabs__panel {
    font-size: 15px;
  }

  .viph-qv-tabs__btn {
    min-width: 90px;
    padding: 0 16px;
    font-size: 14px;
    height: 38px;
  }
}
