/* CGM-SITE-PRODUCT — página do produto gourmet minimal */
:root {
  --gm-creme: #fefae1;
  --gm-verde: #5b947c;
  --gm-marrom: #887362;
  --gm-bordo: #8d384b;
  --gm-vinho: #8d384b;
  --gm-texto: #3d342f;
  --gm-bg: #fefae1;
  --gm-borda: rgba(136, 115, 98, 0.18);
}


  body.single-product {
    background: linear-gradient(180deg, var(--gm-creme) 0%, var(--gm-creme) 100%) !important;
  }

  .gm-product-single-app,
  .gm-product-single-app * {
    box-sizing: border-box;
  }

  .gm-product-single-app {
    width: 100%;
    background: var(--gm-bg) !important;
    padding: 70px 20px 90px;
    font-family: inherit;
  }

  .gm-product-wrap {
    max-width: 1180px;
    margin: 0 auto;
  }

  .gm-product-main {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 520px);
    gap: 64px;
    align-items: start;
    justify-content: center;
  }

  .gm-product-gallery {
    background: var(--gm-creme);
    border: 1px solid rgba(136, 115, 98, 0.24);
    box-shadow: none !important;
    position: relative;
  }

  .gm-product-main-image {
    position: relative;
    width: 100%;
    height: 560px;
    background: var(--gm-creme);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
  }

  .gm-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 34px;
    display: block;
    transition: transform 0.25s ease;
  }

  .gm-product-main-image:hover img {
    transform: none;
  }

  .gm-product-zoom {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 44px;
    height: 44px;
    border-radius: 0 !important;
    border: 0;
    background: var(--gm-creme);
    color: var(--gm-vinho);
    box-shadow: none !important;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    z-index: 5;
  }

  .gm-product-zoom:hover {
    background: var(--gm-vinho);
    color: var(--gm-creme);
  }

  .gm-product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    background: var(--gm-creme);
  }

  .gm-product-thumb {
    border: 2px solid transparent;
    background: var(--gm-creme);
    padding: 0;
    cursor: pointer;
    height: 86px;
    overflow: hidden;
    opacity: 0.72;
    transition: all 0.2s ease;
  }

  .gm-product-thumb.active,
  .gm-product-thumb:hover {
    opacity: 1;
    border-color: var(--gm-vinho);
  }

  .gm-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gm-product-info {
    max-width: 520px;
  }

  .gm-product-breadcrumb {
    color: var(--gm-verde);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 34px;
  }

  .gm-product-breadcrumb a {
    color: var(--gm-vinho) !important;
    text-decoration: none !important;
    font-weight: 600;
  }

  .gm-product-breadcrumb a:hover {
    color: var(--gm-verde) !important;
  }

  .gm-product-title {
    color: var(--gm-vinho);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 600;
    margin: 0 0 26px;
    padding: 28px 0;
    border-top: 5px solid var(--gm-marrom);
    border-bottom: 5px solid var(--gm-marrom);
  }

  .gm-product-description {
    color: var(--gm-texto);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    margin: 0 0 28px;
  }

  .gm-product-description p {
    margin: 0 0 16px;
  }

  .gm-product-price {
    color: var(--gm-verde);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 600;
    margin: 22px 0 14px;
  }

  .gm-product-price del {
    color: var(--gm-marrom);
    opacity: 0.5;
    font-size: 18px;
    margin-right: 8px;
  }

  .gm-product-price ins {
    color: var(--gm-verde);
    text-decoration: none;
  }

  .gm-product-stock {
    color: var(--gm-verde);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px;
  }

  .gm-product-stock.out {
    color: #b00000;
  }

  .gm-product-cart {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 22px 0 28px;
  }

  .gm-product-qty-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 148px;
  }

  .gm-product-qty-label {
    color: var(--gm-texto);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .gm-product-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(136, 115, 98, 0.36);
    background: var(--gm-creme);
  }

  .gm-product-qty-btn {
    width: 44px;
    min-height: 50px;
    border: 0;
    background: transparent;
    color: var(--gm-vinho);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
  }

  .gm-product-qty-btn:hover {
    background: rgba(141, 56, 75, 0.12);
  }

  .gm-product-qty {
    width: 56px;
    height: 50px;
    background: var(--gm-creme);
    border: 0;
    border-left: 1px solid rgba(136, 115, 98, 0.24);
    border-right: 1px solid rgba(136, 115, 98, 0.24);
    color: var(--gm-marrom);
    border-radius: 0 !important;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
  }

  .gm-product-qty::-webkit-outer-spin-button,
  .gm-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .gm-product-add {
    height: 50px;
    min-height: 50px;
    background: var(--gm-vinho);
    color: var(--gm-creme) !important;
    border: 0;
    border-radius: 0 !important;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.22s ease;
    cursor: pointer;
  }

  .gm-product-add:hover {
    background: var(--gm-verde);
    color: var(--gm-creme) !important;
    transform: none;
  }

  .gm-product-add.disabled {
    opacity: 0.65;
    pointer-events: none;
  }

  .gm-product-actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  .gm-product-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(136, 115, 98, 0.34);
    color: var(--gm-marrom) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.22s ease;
  }

  .gm-product-secondary-link:hover {
    background: var(--gm-verde);
    border-color: var(--gm-verde);
    color: var(--gm-creme) !important;
  }

  .gm-product-cart-message {
    margin: -8px 0 22px;
    padding: 15px 17px;
    background: rgba(91, 148, 124, 0.12);
    border: 1px solid rgba(91, 148, 124, 0.24);
    color: var(--gm-marrom);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    display: none;
  }

  .gm-product-cart-message.active {
    display: block;
  }

  .gm-product-cart-message a {
    color: var(--gm-vinho) !important;
    font-weight: 600;
    text-decoration: none !important;
  }

  .gm-product-cart-message a:hover {
    color: var(--gm-verde) !important;
  }

  .gm-product-frete-aviso {
    margin: 22px 0 0;
    background: rgba(91, 148, 124, 0.1);
    border: 1px solid rgba(91, 148, 124, 0.18);
    padding: 16px 18px;
    color: var(--gm-marrom);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
  }

  .gm-product-frete-aviso strong {
    color: var(--gm-vinho);
    font-weight: 600;
  }

  .gm-product-meta {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(136, 115, 98, 0.35);
    color: var(--gm-marrom);
    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
  }

  .gm-product-meta strong {
    color: var(--gm-vinho);
  }

  .gm-product-full-description {
    margin-top: 70px;
    background: var(--gm-creme);
    border: 1px solid rgba(136, 115, 98, 0.22);
    box-shadow: none !important;
    padding: 34px;
    color: var(--gm-marrom);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
  }

  .gm-product-full-description h2,
  .gm-product-full-description h3 {
    color: var(--gm-vinho);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 18px;
  }

  .gm-product-full-description p {
    margin: 0 0 18px;
  }

  .gm-related-section {
    margin-top: 78px;
  }

  .gm-related-title {
    color: var(--gm-vinho);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    text-align: center;
    margin: 0 0 34px;
  }

  .gm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
  }

  .gm-related-card {
    background: var(--gm-creme);
    border: 1px solid rgba(136, 115, 98, 0.22);
    box-shadow: none !important;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .gm-related-card:hover {
    transform: none;
    box-shadow: none !important;
  }

  .gm-related-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
  }

  .gm-related-info {
    padding: 20px;
  }

  .gm-related-info h3 {
    color: var(--gm-marrom);
    font-size: 16px;
    line-height: 1.28;
    font-weight: 600;
    margin: 0 0 12px;
  }

  .gm-related-price {
    color: var(--gm-verde);
    font-size: 17px;
    font-weight: 600;
  }

  .gm-product-loading,
  .gm-product-error {
    max-width: 760px;
    min-height: 320px;
    margin: 0 auto;
    background: var(--gm-creme);
    color: var(--gm-marrom);
    border: 1px solid rgba(136, 115, 98, 0.22);
    padding: 32px;
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .gm-product-loading span {
    display: inline-flex;
    background: rgba(141, 56, 75, 0.08);
    color: var(--gm-vinho);
    border: 1px solid rgba(141, 56, 75, 0.16);
    border-radius: 0 !important;
    padding: 9px 16px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .gm-product-loading strong {
    display: block;
    color: var(--gm-vinho);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .gm-product-loading p,
  .gm-product-error p {
    margin: 0;
    color: var(--gm-marrom);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
  }

  .gm-product-error a {
    color: var(--gm-vinho) !important;
    font-weight: 600;
    text-decoration: none !important;
  }

  .gm-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 72px 72px;
    box-sizing: border-box;
  }

  .gm-product-lightbox.active {
    display: flex;
  }

  .gm-product-lightbox-inner {
    position: relative;
    width: min(94vw, 980px);
    max-height: calc(100vh - 120px);
    background: var(--gm-creme);
    padding: 12px;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gm-product-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .gm-product-lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000001;
    width: 42px;
    height: 42px;
    border-radius: 0 !important;
    border: 0;
    background: var(--gm-vinho);
    color: var(--gm-creme);
    font-size: 24px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gm-product-lightbox-close:hover {
    background: var(--gm-verde);
  }

  .gm-product-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000001;
    width: 46px;
    height: 46px;
    border-radius: 0 !important;
    border: 0;
    background: var(--gm-creme);
    color: var(--gm-vinho);
    font-size: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gm-product-lightbox-nav:hover {
    background: var(--gm-vinho);
    color: var(--gm-creme);
  }

  .gm-product-lightbox-prev {
    left: 16px;
  }

  .gm-product-lightbox-next {
    right: 16px;
  }

  .gm-product-lightbox-counter {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 1000001;
    color: var(--gm-creme);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  @media (max-width: 1024px) {
    .gm-product-main {
      grid-template-columns: 1fr;
      max-width: 760px;
      margin: 0 auto;
      gap: 38px;
    }

    .gm-product-info {
      max-width: 100%;
    }

    .gm-related-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 620px) {
    .gm-product-single-app {
      padding: 38px 16px 72px;
    }

    .gm-product-wrap,
    .gm-product-main,
    .gm-product-info {
      width: 100% !important;
      max-width: 560px !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .gm-product-main-image {
      height: 390px;
    }

    .gm-product-main-image img {
      padding: 20px;
    }

    .gm-product-breadcrumb {
      font-size: 13px;
      margin-bottom: 26px;
    }

    .gm-product-title {
      font-size: 32px;
      padding: 22px 0;
    }

    .gm-product-description {
      font-size: 15px;
      line-height: 1.65;
    }

    .gm-product-price {
      font-size: 30px;
    }

    .gm-product-cart {
      display: grid;
      grid-template-columns: 1fr;
    }

    .gm-product-qty,
    .gm-product-add {
      width: 100%;
    }

    .gm-product-actions-row {
      display: grid;
      grid-template-columns: 1fr;
    }

    .gm-product-secondary-link {
      width: 100%;
    }

    .gm-product-thumbs {
      grid-template-columns: repeat(4, 1fr);
    }

    .gm-product-thumb {
      height: 72px;
    }

    .gm-product-full-description {
      padding: 24px;
    }

    .gm-related-grid {
      grid-template-columns: 1fr;
    }

    .gm-related-card img {
      height: 300px;
    }

    .gm-product-lightbox {
      padding: 48px 12px 56px;
    }

    .gm-product-lightbox-inner {
      width: 100%;
      padding: 8px;
    }

    .gm-product-lightbox-inner img {
      max-height: calc(100vh - 140px);
    }

    .gm-product-lightbox-close {
      top: 10px;
      right: 10px;
      width: 38px;
      height: 38px;
      font-size: 22px;
    }

    .gm-product-lightbox-prev {
      left: 8px;
    }

    .gm-product-lightbox-next {
      right: 8px;
    }

    .gm-product-lightbox-nav {
      width: 40px;
      height: 40px;
      font-size: 26px;
      background: rgba(254, 250, 224, 0.92);
    }

    .gm-product-lightbox-counter {
      bottom: 12px;
    }
  }
body.single-product { background: var(--gm-bg) !important; }
.gm-product-single-app { background: var(--gm-bg) !important; padding: 56px 20px 72px !important; }
.gm-product-gallery { box-shadow: none !important; border: 1px solid var(--gm-borda) !important; }
.gm-product-title { font-size: clamp(24px, 3.5vw, 36px) !important; font-weight: 600 !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: var(--gm-texto) !important; border-top: 1px solid var(--gm-borda) !important; border-bottom: 1px solid var(--gm-borda) !important; padding: 20px 0 !important; }
.gm-product-breadcrumb { font-size: 11px !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; font-weight: 600 !important; color: var(--gm-marrom) !important; }
.gm-product-price { color: var(--gm-vinho) !important; font-size: 24px !important; font-weight: 600 !important; }
.gm-product-add { border-radius: 0 !important; font-size: 11px !important; letter-spacing: 0.14em !important; font-weight: 600 !important; }
.gm-product-add:hover { background: #4d7d66 !important; transform: none !important; }

.gm-product-moagem {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--gm-borda);
  background: var(--gm-creme);
  font-size: 14px;
  line-height: 1.45;
  color: var(--gm-marrom);
}

.gm-product-moagem strong {
  color: var(--gm-vinho);
  font-weight: 600;
}

.gm-product-moagem.is-graos strong {
  color: var(--gm-verde);
}

.gm-product-variations {
  margin: 0 0 20px;
}

.gm-product-variations-label {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-marrom);
}

.gm-product-variation-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-product-variation-option {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--gm-borda);
  border-radius: 0 !important;
  background: var(--gm-creme) !important;
  color: var(--gm-marrom) !important;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: none !important;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.gm-product-variation-option:hover,
.gm-product-variation-option:focus,
.gm-product-variation-option.is-active {
  background: var(--gm-creme) !important;
  box-shadow: none !important;
}

.gm-product-variation-option.is-active,
.gm-product-variation-option:hover:not(.is-disabled) {
  border-color: var(--gm-vinho);
  color: var(--gm-vinho) !important;
}

.gm-product-variation-option.is-graos.is-active,
.gm-product-variation-option.is-graos:hover:not(.is-disabled) {
  border-color: var(--gm-verde);
  color: var(--gm-verde) !important;
  background: var(--gm-creme) !important;
}

.gm-product-variation-option.is-moido.is-active,
.gm-product-variation-option.is-moido:hover:not(.is-disabled) {
  border-color: var(--gm-vinho);
  color: var(--gm-vinho) !important;
  background: var(--gm-creme) !important;
}

.gm-product-variation-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gm-product-variation-option.is-out-of-stock {
  opacity: 0.72;
}

body.single-product .gm-product-single-app button.gm-product-variation-option,
body.single-product .gm-product-single-app button.gm-product-variation-option:hover,
body.single-product .gm-product-single-app button.gm-product-variation-option:focus,
body.single-product .gm-product-single-app button.gm-product-variation-option.is-active {
  background: var(--gm-creme) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.gm-product-pacote {
  margin-bottom: 4px;
}

.gm-product-pacote .gm-product-variation-option.is-pacote,
.gm-product-peso .gm-product-variation-option.is-peso {
  text-decoration: none;
  text-align: center;
}

.gm-product-pacote a.gm-product-variation-option.is-pacote.is-active,
.gm-product-pacote span.gm-product-variation-option.is-pacote.is-active,
.gm-product-peso button.gm-product-variation-option.is-peso.is-active {
  border-color: var(--gm-vinho);
  color: var(--gm-vinho) !important;
  background: var(--gm-creme) !important;
  font-weight: 700;
}

.gm-product-pacote .gm-product-variation-option.is-pacote.is-active.is-disabled,
.gm-product-peso .gm-product-variation-option.is-peso.is-active.is-disabled {
  opacity: 1;
  border-color: var(--gm-vinho);
  color: var(--gm-vinho) !important;
}

body.single-product .gm-product-single-app a.gm-product-variation-option.is-pacote,
body.single-product .gm-product-single-app a.gm-product-variation-option.is-pacote:hover,
body.single-product .gm-product-single-app a.gm-product-variation-option.is-pacote:focus,
body.single-product .gm-product-single-app button.gm-product-variation-option.is-peso,
body.single-product .gm-product-single-app button.gm-product-variation-option.is-peso:hover,
body.single-product .gm-product-single-app button.gm-product-variation-option.is-peso:focus {
  background: var(--gm-creme) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.gm-product-qty, .gm-product-secondary-link { border-radius: 0 !important; }
.gm-product-full-description, .gm-related-card { border-radius: 0 !important; box-shadow: none !important; }
.gm-related-title { font-size: clamp(22px, 3vw, 32px) !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; font-weight: 600 !important; }
.gm-related-card:hover { transform: none !important; box-shadow: none !important; border-color: rgba(141, 56, 75, 0.35) !important; }
.gm-product-zoom { border-radius: 0 !important; }
/* CGM-PRODUCT-LOCK */

/* CGM-PRODUCT-LIGHTBOX-LOCK — não remover: UCSS não vê o markup injetado via JS */
.gm-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 72px;
  box-sizing: border-box;
}
.gm-product-lightbox.active { display: flex; }
.gm-product-lightbox-inner {
  position: relative;
  width: min(94vw, 980px);
  max-height: calc(100vh - 120px);
  background: #fefae1;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-product-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.gm-product-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000001;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: #8d384b;
  color: #fefae1;
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-product-lightbox-close:hover { background: #5b947c; }
.gm-product-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000001;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: #fefae1;
  color: #8d384b;
  font-size: 30px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-product-lightbox-nav:hover { background: #8d384b; color: #fefae1; }
.gm-product-lightbox-prev { left: 16px; }
.gm-product-lightbox-next { right: 16px; }
.gm-product-lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1000001;
  color: #fefae1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
@media (max-width: 620px) {
  .gm-product-lightbox { padding: 48px 12px 56px; }
  .gm-product-lightbox-inner { width: 100%; padding: 8px; }
  .gm-product-lightbox-inner img { max-height: calc(100vh - 140px); }
  .gm-product-lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 22px; }
  .gm-product-lightbox-prev { left: 8px; }
  .gm-product-lightbox-next { right: 8px; }
  .gm-product-lightbox-nav { width: 40px; height: 40px; font-size: 26px; background: rgba(254, 250, 224, 0.92); }
  .gm-product-lightbox-counter { bottom: 12px; }
}

/* CGM-PRODUCT-MOBILE-LOCK — produto ok em telas estreitas (320px+) */
@media (max-width: 767px) {
  body.single-product {
    overflow-x: clip !important;
  }

  body.single-product .elementor-location-content,
  body.single-product .elementor-location-content .e-con,
  body.single-product .elementor-location-content .e-con-inner,
  body.single-product #gm-product-single-app,
  body.single-product .gm-product-single-app,
  body.single-product .gm-product-wrap,
  body.single-product .gm-product-main,
  body.single-product .gm-product-info,
  body.single-product .gm-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .gm-product-single-app {
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
  }

  body.single-product .gm-product-wrap,
  body.single-product .gm-product-main,
  body.single-product .gm-product-info {
    max-width: none !important;
  }

  body.single-product .gm-product-title {
    font-size: clamp(22px, 6.2vw, 32px) !important;
    line-height: 1.12 !important;
    padding: 16px 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  body.single-product .gm-product-breadcrumb {
    font-size: 11px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
  }

  body.single-product .gm-product-price {
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.2 !important;
  }

  body.single-product .gm-product-price .woocommerce-Price-amount {
    white-space: nowrap;
  }

  /* Tamanho: 3 colunas lado a lado */
  body.single-product .gm-product-pacote .gm-product-variation-options,
  body.single-product .gm-product-peso .gm-product-variation-options {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    flex-direction: unset !important;
  }

  /* Moagem: 2 colunas */
  body.single-product #gm-product-moagem .gm-product-variation-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    flex-direction: unset !important;
  }

  body.single-product .gm-product-variation-option {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center;
    padding: 11px 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    min-height: 44px !important;
  }

  body.single-product .gm-product-cart {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  body.single-product .gm-product-qty-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .gm-product-qty-stepper {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .gm-product-qty {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 48px !important;
  }

  body.single-product .gm-product-add {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 10px !important;
    height: auto !important;
    min-height: 50px !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.single-product .gm-product-actions-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.single-product .gm-product-secondary-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  body.single-product .gm-product-cart-message {
    overflow-wrap: anywhere;
  }
}
