@media (min-width: 1024px) {
  #comercios { padding-top: 0; }
  #comercios > div[role="group"] { min-height: 26px; margin-bottom: 2px; }
  #comercios:has([data-featured-carousel]) > div[role="group"] { position: relative; z-index: 2; transform: translateY(20px); }
  #comercios > div[role="group"] > div button { height: 26px; }
  #comercios > div:has(> [data-featured-carousel]) { margin-bottom: 14px; }
  #comercios > div:has(> [data-featured-carousel]) > div:first-child {
    margin-bottom: 0;
    padding-bottom: 10px;
    transform: translateY(-4px);
  }
  #comercios [data-featured-carousel] [data-carousel-controls] {
    position: static;
    order: 2;
    width: auto;
    margin: 6px 0 0;
    justify-content: center;
  }
  #comercios [data-featured-carousel] [data-carousel-controls] > p { display: none; }
  #comercios [data-featured-carousel] [data-carousel-controls] button { width: 32px; height: 32px; }
  #comercios [data-featured-carousel] [data-carousel-track] { order: 1; padding-bottom: 0; }
  #comercios [data-featured-carousel] .featured-glass-card > div:first-child {
    height: clamp(145px, 12vw, 180px);
    aspect-ratio: auto;
  }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) { padding: 12px; }
  #comercios [data-featured-carousel] .featured-glass-card h3 { margin-top: 5px; font-size: 16px; line-height: 1.25; }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) > p { margin-top: 4px; line-height: 1.4; }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) > div.my-3 { margin-top: 7px; margin-bottom: 7px; }
  #comercios [data-featured-carousel] .featured-glass-card a[id^="business-whatsapp-"],
  #comercios [data-featured-carousel] .featured-glass-card a[id^="business-details-btn-"] { padding-top: 7px; padding-bottom: 7px; }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) > div.mt-3 { margin-top: 8px; padding-top: 8px; }
  #comercios [data-featured-carousel] .featured-glass-card [aria-label^="Compartilhar "] a,
  #comercios [data-featured-carousel] .featured-glass-card [aria-label^="Compartilhar "] button { padding-top: 5px; padding-bottom: 5px; }
}

@media (min-width: 1024px) and (max-height: 820px) {
  #comercios [data-featured-carousel] .featured-glass-card > div:first-child { height: 140px; }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) { padding: 10px; }
  #comercios [data-featured-carousel] .featured-glass-card > div:nth-child(2) > div.mt-3 { margin-top: 5px; padding-top: 5px; }
  #comercios [data-featured-carousel] .featured-glass-card [aria-label^="Compartilhar "] a,
  #comercios [data-featured-carousel] .featured-glass-card [aria-label^="Compartilhar "] button { padding-top: 3px; padding-bottom: 3px; }
}

/* advertiser-card-hover-v1:start */
@media (hover: hover) {
  #comercios div[id^="business-card-"] {
    position: relative;
    z-index: 0;
    overflow: visible;
    transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
  }
  #comercios div[id^="business-card-"]:hover,
  #comercios div[id^="business-card-"]:focus-within { z-index: 20; }
  #comercios div[id^="business-card-"]:not(.featured-glass-card):hover,
  #comercios div[id^="business-card-"]:not(.featured-glass-card):focus-within {
    transform: perspective(1000px) translateY(-8px) scale(1.025) rotateX(0.7deg);
    border-color: #d97706;
    box-shadow: 0 18px 34px rgb(15 23 42 / 24%), 0 5px 12px rgb(120 73 10 / 14%);
  }
  #comercios div[id^="business-card-"].featured-glass-card:hover,
  #comercios div[id^="business-card-"].featured-glass-card:focus-within {
    transform: perspective(1000px) translateY(-8px) scale(1.025) rotateX(0.7deg);
    border-color: #a16207;
    box-shadow: 0 0 0 1px rgb(255 247 191 / 96%), 0 20px 38px rgb(120 73 10 / 28%), 0 6px 14px rgb(120 73 10 / 17%), inset 0 1px 0 rgb(255 255 255 / 96%), inset 0 -1px 0 rgb(202 138 4 / 30%);
  }
}

@media (min-width: 1024px) and (hover: hover) {
  #comercios [data-featured-carousel] [data-carousel-track] {
    margin-top: -22px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
/* advertiser-card-hover-v1:end */
