﻿/* FoodShop Quick View — Figma 1766:4746 */
.quick-view-btn {
  width: calc(100% - 80px);
  margin-left: 40px;
  opacity: 0;
  bottom: 0;
  position: absolute;
  height: 50px !important;
  font-size: 16px;
}

.product-item:hover .quick-view-btn {
  opacity: 1;
}

.qv-modal .loader img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 767px) {
  .quick-view-btn {
    display: none !important;
  }
}

.qvclick-button {
  display: none;
}

.qv-modal {
  display: none;
  width: 675px;
  max-width: calc(100vw - 32px);
  max-height: min(934px, calc(100vh - 40px));
  min-height: 0;
  margin: 20px auto;
  padding: 0;
  background: var(--white, #fff);
  border-radius: 15px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  text-align: start;
  flex-direction: column;
}

/* Theme .mobile-bottom-nav uses z-index:1000 — mfp default 999 sat under it and hid ATC */
.mfp-bg,
.mfp-wrap {
  z-index: 10050 !important;
}

/* Figma 1766:4746 — full-sheet QV; hide storefront tab bar while open */
body:has(.mfp-wrap.mfp-ready) .mobile-bottom-nav {
  display: none !important;
}

.mfp-ready ~ .bar-notification-container {
  z-index: 100000;
}

.mfp-ready ~ .ajax-loading-block-window {
  z-index: 100001;
}

.mfp-content .qv-modal {
  display: flex;
}

/* Figma 1766:4746 — .qv-details hosts the magazine product sheet */
.qv-modal .qv-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: min(934px, calc(100vh - 40px));
  overflow: hidden;
  background: var(--white, #fff);
  border-radius: 15px;
}

.qv-modal .qv-details > .qv-fs,
.qv-modal .qv-details > .page {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
}

.mfp-wrap .mfp-content {
  max-height: 100%;
}

/* Figma 2099:8004 — desktop header close: 14×14 at top 23 / end 23 (675×60 bar) */
.mfp-content .qv-modal .mfp-close,
.qv-modal .mfp-close,
.qv-fs__header--bar .mfp-close,
.mfp-container .mfp-close,
.mfp-wrap .mfp-close {
  position: absolute !important;
  top: 23px !important;
  /* Logical only — physical left/right fight RTL (inline-start maps to right) */
  inset-inline-end: 23px !important;
  inset-inline-start: auto !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  z-index: 1046;
  cursor: pointer;
}

.mfp-content .qv-modal .mfp-close .qv-mfp-close-icon,
.qv-modal .mfp-close .qv-mfp-close-icon,
.mfp-wrap .mfp-close .qv-mfp-close-icon {
  display: block;
  width: 14px;
  height: 14px;
  background-color: transparent;
  background-image: url("../images/qv-close.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.mfp-content .qv-modal .mfp-close:active,
.qv-modal .mfp-close:active,
.qv-fs__header--bar .mfp-close:active,
.mfp-wrap .mfp-close:active,
.mfp-content .qv-modal .mfp-close:focus,
.qv-modal .mfp-close:focus,
.mfp-wrap .mfp-close:focus {
  top: 23px !important;
  opacity: 1 !important;
}

.mfp-content .qv-modal .mfp-close::before,
.qv-modal .mfp-close::before,
.qv-fs__header--bar .mfp-close::before,
.mfp-container .mfp-close::before,
.mfp-wrap .mfp-close::before {
  content: none !important;
  display: none !important;
}

/* RTL: inset-inline-end already places close on the left — no physical override */

.qv-fs {
  display: flex;
  flex-direction: column;
  max-height: min(934px, calc(100vh - 40px));
  min-height: 0;
  height: 100%;
  background: var(--white, #fff);
  padding: 0 !important;
  margin: 0 !important;
}

.qv-fs .page-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  max-height: 100%;
}

.qv-fs #product-details-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  max-height: 100%;
}

/* Schema wrapper must stay in the flex chain or .qv-fs__scroll grows and never scrolls */
.qv-fs #product-details-form > [itemscope] {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  max-height: 100%;
}

.qv-fs__header {
  position: relative;
  flex: 0 0 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: 0;
  /* Figma 2099:8000 — title x=20; close occupies end 23+14 */
  padding-inline: 20px 50px;
  background: var(--grey, #e0e0e0);
  border-radius: 15px 15px 0 0;
  box-sizing: border-box;
  text-align: start;
}

/* Figma 2099:8004 — close at header end (LTR right / RTL left via logical inset) */
.qv-fs__close {
  position: absolute;
  top: 50%;
  inset-inline-end: 23px;
  inset-inline-start: auto;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.qv-fs__close .qv-mfp-close-icon {
  display: block;
  width: 14px;
  height: 14px;
  background-color: transparent;
  background-image: url("../images/qv-close.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Prefer in-header close — hide Magnific’s floating close when header is present */
.qv-modal:has(.qv-fs__header--bar) ~ .mfp-close,
.mfp-content:has(.qv-fs__header--bar) > .mfp-close,
.qv-modal:has(.qv-fs__header--bar) .mfp-close {
  display: none !important;
}

.qv-fs__title {
  margin: 0;
  /* Figma 2099:8002 — ~13px cap height in 60px bar */
  font-size: 14px;
  font-weight: 500;
  line-height: 13px;
  color: var(--black, #000);
  text-align: start;
}

.qv-fs__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: 0;
  border: 0;
}

.qv-fs__hero,
.qv-fs__hero .gallery,
.qv-fs__hero .picture {
  margin: 0;
  padding: 0;
  width: 100%;
}

.qv-fs__hero .picture {
  height: 352px;
  max-height: 352px;
  overflow: hidden;
  border-radius: 0;
}

.qv-fs__hero .picture img,
.qv-fs__hero .picture a {
  display: block;
  width: 100%;
  height: 352px;
  object-fit: cover;
}

.qv-fs__hero .picture-thumbs {
  display: none;
}

.qv-fs__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Theme (min-width:1001px) floats .overview to 52% — breaks QV full-bleed sheet */
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: start !important;
  align-items: stretch;
}

.qv-fs__scroll.product-essential {
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
  /* Keep vertical scroll — theme .product-essential floats made this visible and clipped tall QV content */
  overflow-x: hidden !important;
  overflow-y: auto !important;
  min-height: 0;
}

.qv-fs__scroll.product-essential::after {
  display: none !important;
}

/* Theme floats .gallery to 46% on desktop — keep hero full width in QV */
.qv-fs .gallery,
.qv-fs__hero .gallery {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.qv-fs .gallery .picture {
  max-width: none !important;
  margin: 0 !important;
}

.qv-fs .gallery .picture::before {
  display: none !important;
  content: none !important;
  padding-top: 0 !important;
}

.qv-fs .gallery .picture img,
.qv-fs .gallery .picture a img {
  position: static !important;
  inset: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
}

.qv-fs__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start; /* start edge = right in RTL */
}

.qv-fs__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  direction: ltr;
  unicode-bidi: isolate;
}

.qv-fs__old-price {
  font-size: 18px;
  font-weight: 400;
  color: var(--dark-grey, #767484);
  text-decoration: line-through;
}

.qv-fs__price {
  font-size: 20px;
  font-weight: 500;
  color: var(--red, #eb0038);
}

.qv-fs__badge {
  background: var(--red, #eb0038);
  color: var(--white, #fff);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: lowercase;
  direction: ltr;
  unicode-bidi: isolate;
}

.qv-fs__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--black, #000) !important;
  margin: 0 !important;
  width: 100%;
  /* Isolate LTR product copy so trailing punctuation does not flip in RTL pages */
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start !important;
}

html[dir="rtl"] .qv-fs__desc {
  /* Keep English sentences LTR while sitting on the RTL start (right) edge */
  text-align: right !important;
}

.qv-fs .attributes {
  margin: 0 !important;
  border: none;
  padding: 0;
  position: relative;
  background: transparent;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  float: none !important;
  align-self: stretch;
}

.qv-fs .attributes dl {
  margin: 0;
  padding: 0 !important;
  overflow: visible !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* One bordered card per attribute so chips / Required* stay local (LTR + RTL) */
.qv-fs .qv-fs__attr {
  position: relative;
  margin: 0;
  border: 1px solid var(--grey, #e0e0e0);
  border-radius: 8px;
  padding: 28px 16px 16px;
  background: var(--white, #fff);
  box-sizing: border-box;
  width: 100%;
}

.qv-fs .attributes dt {
  position: absolute;
  top: -12px;
  inset-inline-start: 16px;
  inset-inline-end: auto;
  margin: 0 !important;
  padding: 6px 10px;
  background: var(--white, #fff);
  border: 1px solid var(--grey, #e0e0e0);
  border-radius: 4px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  float: none !important;
  width: auto !important;
  white-space: nowrap;
  text-align: start;
  z-index: 1;
}

.qv-fs .attributes dt .text-prompt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--black, #000);
}

.qv-fs .attributes dt .required {
  display: none;
}

.qv-fs .attributes dt .attribute-description {
  display: none;
}

.qv-fs .attributes dt:has(.required) + dd {
  position: relative;
}

.qv-fs .attributes dd {
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: start;
}

.qv-fs .attributes dd > * {
  grid-column: 1 / -1;
}

.qv-fs .attributes dd::before {
  content: 'Select one';
  display: block;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  font-size: 14px;
  color: var(--black, #000);
  margin: 8px 0 12px;
  text-align: start;
}

.qv-fs .attributes dt:has(.required) + dd::after {
  content: 'Required*';
  position: static;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--primary, #d22e00);
  font-weight: 400;
  white-space: nowrap;
}

.qv-fs__price-row,
.qv-fs__desc {
  width: 100%;
  text-align: start !important;
  justify-content: flex-start;
}

.qv-fs .attributes .option-list label {
  margin: 0 !important;
}

.qv-fs .option-list-square {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.qv-fs .option-list-square li {
  margin: 0;
  padding: 0;
}

.qv-fs .option-list-square label {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 50px;
  height: 50px;
  width: 100%;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid var(--grey, #e0e0e0);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(224, 224, 224, 0.3), rgba(224, 224, 224, 0.3)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  color: var(--black, #000);
  cursor: pointer;
}

.qv-fs .option-list-square .qv-fs__option-text {
  flex: 1 1 auto;
  line-height: 1.3;
  min-width: 0;
}

/* Figma 1041:4390 — name at start, absolute/adjustment price at end */
.qv-fs .option-list-square .qv-fs__option-price {
  flex: 0 0 auto;
  margin-inline-start: auto;
  margin-left: 0;
  color: var(--dark-grey, #767484);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.qv-fs .option-list-square input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 1000px;
  background: var(--grey, #e0e0e0);
  flex-shrink: 0;
  position: relative;
  order: -1;
}

/* Figma: selected radio filled primary + white check */
.qv-fs .option-list-square input[type="radio"]:checked {
  background: var(--primary, #d22e00);
  box-shadow: none;
}

.qv-fs .option-list-square input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 11px;
  border: solid var(--white, #fff);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.qv-fs .option-list-square li:has(input:checked) label {
  border-color: var(--primary, #d22e00);
  background: var(--white, #fff);
  color: var(--primary, #d22e00);
}

.qv-fs .option-list-square li:has(input:checked) .qv-fs__option-price {
  color: var(--primary, #d22e00);
}

/* Checkboxes — input is a sibling of label; flex the <li> for RTL/LTR */
.qv-fs .option-list:not(.option-list-square):not(.attribute-squares) {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-fs .option-list:not(.option-list-square):not(.attribute-squares) li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qv-fs .option-list:not(.option-list-square):not(.attribute-squares) label {
  display: block;
  flex: 1 1 auto;
  margin: 0;
  text-align: start;
  cursor: pointer;
  min-width: 0;
}

.qv-fs .option-list:not(.option-list-square):not(.attribute-squares) input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
  order: -1;
}

.qv-fs .attributes select {
  width: 100%;
  max-width: 100%;
  height: 44px;
  padding-inline: 12px 36px;
  border: 1px solid var(--grey, #e0e0e0);
  border-radius: 8px;
  background-color: var(--white, #fff);
  text-align: start;
  direction: inherit;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666484' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

html[dir="rtl"] .qv-fs .attributes select {
  background-position: left 12px center;
}

.qv-fs__footer {
  flex: 0 0 auto;
  min-height: 121px;
  padding: 21px 26px 20px;
  background: var(--white, #fff);
  border-radius: 0 0 20px 20px;
  box-shadow: -3px 4px 25px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.qv-fs__total {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.qv-fs__total-label {
  color: var(--black, #000);
}

.qv-fs__total-label::after {
  content: ': ';
}

.qv-fs__total-price {
  color: var(--primary, #d22e00);
}

.qv-fs__atc-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.qv-fs__atc-panel > * {
  float: none !important;
}

.qv-fs__qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 102px;
  height: 50px;
  padding: 0 12px;
  border: 1px solid var(--grey, #e0e0e0);
  border-radius: 7px;
  background: var(--white, #fff);
  box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.qv-fs__qty-btn {
  border: 0;
  background: transparent;
  color: var(--black, #000);
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qv-fs__qty-input {
  width: 28px !important;
  border: 0 !important;
  text-align: center;
  font-size: 16px;
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield;
}

.qv-fs__qty-input::-webkit-outer-spin-button,
.qv-fs__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qv-fs__qty .qv-fs__qty-minus {
  display: none;
}

.qv-fs__qty.is-min .qv-fs__qty-trash {
  display: inline-block;
}

.qv-fs__qty:not(.is-min) .qv-fs__qty-trash {
  display: none;
}

.qv-fs__qty:not(.is-min) .qv-fs__qty-minus {
  display: inline-block;
}

.qv-fs__add-btn {
  flex: 1 1 auto;
  width: auto !important;
  max-width: 508px;
  height: 50px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--primary, #d22e00) !important;
  color: var(--white, #fff) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 24px !important;
}

.qv-fs__add-btn:hover {
  filter: brightness(1.05);
}

.qv-fs .overview-buttons,
.qv-fs .full-description,
.qv-fs .product-collateral,
.qv-fs .product-reviews,
.qv-fs .sku,
.qv-fs .manufacturers,
.qv-fs .availability,
.qv-fs .delivery-info {
  display: none !important;
}

.qv-modal .loader {
  position: relative;
  min-height: 300px;
}

.lds-ellipsis {
  display: inline-block;
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary, #d22e00);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: qv-lds1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: qv-lds2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: qv-lds2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: qv-lds3 0.6s infinite;
}

@keyframes qv-lds1 {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

@keyframes qv-lds3 {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}

@keyframes qv-lds2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(24px, 0); }
}

.qv-fs__title--sheet {
  display: none;
}

/* Mobile Quick View — Figma 1766:4746 (grey header + sticky ATC footer) */
@media (max-width: 767px) {
  .mfp-bg {
    opacity: 0.85;
  }

  .mfp-wrap,
  .mfp-container {
    padding: 0 !important;
    height: 100% !important;
  }

  .mfp-container {
    position: fixed !important;
    inset: 0;
  }

  .mfp-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    vertical-align: top !important;
  }

  .qv-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .qv-modal .qv-details {
    height: 100%;
    max-height: 100dvh;
    max-height: 100vh;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .qv-modal .qv-details > .qv-fs,
  .qv-modal .qv-details > .page {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .qv-fs {
    height: 100%;
    max-height: 100dvh;
    max-height: 100vh;
    min-height: 0;
  }

  .qv-fs .page-body,
  .qv-fs #product-details-form,
  .qv-fs #product-details-form > [itemscope] {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  /* Figma 1766:4746 / 2099:8000 — grey header bar with title (same as desktop) */
  .qv-fs__header--bar {
    display: flex !important;
    flex: 0 0 60px;
    height: 60px;
    border-radius: 0;
    padding-inline: 20px 50px;
    background: var(--grey, #e0e0e0);
    z-index: 5;
  }

  .qv-fs__header--bar .qv-fs__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--black, #000);
  }

  .qv-fs__close {
    inset-inline-end: 16px;
    inset-inline-start: auto;
    width: 32px;
    height: 32px;
  }

  /* Title lives in header bar — hide duplicate sheet title */
  .qv-fs__title--sheet {
    display: none !important;
  }

  .qv-fs__scroll,
  .qv-fs__scroll.product-essential {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Keep last content clear of sticky ATC (Figma footer ~121px) */
    padding-bottom: 8px !important;
  }

  .qv-fs__hero {
    position: relative;
    flex-shrink: 0;
  }

  .qv-fs__hero .picture,
  .qv-fs__hero .picture img,
  .qv-fs__hero .picture a {
    height: 240px;
    max-height: 240px;
  }

  .qv-fs__content {
    margin: 0 !important;
    padding: 20px;
    background: var(--white, #fff);
    border-radius: 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  /* Figma 1766:4748 — sticky ATC footer always visible */
  .qv-fs__footer {
    flex: 0 0 auto;
    position: relative;
    border-radius: 0;
    padding: 21px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    min-height: 121px;
    background: var(--white, #fff);
    box-shadow: -3px 4px 25px 6px rgba(0, 0, 0, 0.2);
    z-index: 6;
  }

  /* Floating Magnific close unused when in-header close is present */
  .mfp-content .qv-modal .mfp-close,
  .qv-modal .mfp-close,
  .mfp-container .mfp-close,
  .mfp-wrap .mfp-close {
    display: none !important;
  }

  .mfp-content .qv-modal .mfp-close::before,
  .qv-modal .mfp-close::before,
  .mfp-container .mfp-close::before,
  .mfp-wrap .mfp-close::before {
    content: none !important;
    display: none !important;
  }

  /* Figma 1766:4747 — qty + Add to Cart row */
  .qv-fs__atc-panel {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .qv-fs__qty {
    width: 102px !important;
    flex: 0 0 102px;
  }

  .qv-fs__add-btn {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none;
  }
}
