/* ATMOSFERA 022D. Product-page galleries only; no other site components. */
@media screen {
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] {
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100%;
    height: clamp(460px, 42vw, 580px);
    padding: 28px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] > span {
    position: static;
    justify-self: start;
    margin: 0;
  }
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] > img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    justify-self: center;
    align-self: center;
    image-rendering: auto;
  }
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] > .gallery-options {
    position: static;
    inset: auto;
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] .gallery-options button {
    max-width: 100%;
    min-height: 38px;
    white-space: normal;
  }
}
@media screen and (min-width: 761px) and (max-width: 1100px) {
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] {
    height: 440px;
    padding: 24px 18px !important;
    gap: 16px;
  }
}
@media screen and (max-width: 760px) {
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] {
    height: clamp(340px, 88vw, 500px);
    padding: 22px 18px !important;
    gap: 16px;
  }
}
/* END ATMOSFERA 022D */

/* ATMOSFERA PATCH 101 — hide redundant product photo gallery buttons.
   Applies to all 30 individual product cards; keeps primary photo and label.
   Restore the 2-row grid so no blank row remains after controls are hidden. */
@media screen {
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] {
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
  .v6-product-hero > .product-photo[data-gallery-layout="022d"] > .gallery-options {
    display: none !important;
  }
}
/* END ATMOSFERA PATCH 101 */
