/** Shopify CDN: Minification failed

Line 582:0 Unexpected "}"

**/
/* ==========================================================================
   AMENDOPRO HEADER - SHOPIFY CUSTOM CSS
   ========================================================================== */

/* ---- Font Overrides (override base.css) ---- */
:root {
  --font-heading-family: 'Outfit', sans-serif !important;
  --font-heading-weight: 600 !important;
  --font-body-family: 'Outfit', sans-serif !important;
  --font-body-weight: 400 !important;
}

/* ---- Fix Global Header Stacking Context (Z-Index) ---- */
#shopify-section-header,
.shopify-section-group-header-group,
.section-header,
sticky-header,
.header-wrapper,
.amendopro-freight-bar {
  z-index: 99999 !important;
}

#shopify-section-header,
.shopify-section-group-header-group,
.section-header {
  position: sticky !important;
  top: 0;
}

body, .gradient,
body p, body a, body li, body span, body div,
body h1, body h2, body h3, body h4, body h5, body h6,
body input, body button, body select, body textarea, body label {
  font-family: 'Outfit', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 400 !important;
}

/* ---- Freight Bar ---- */
.amendopro-freight-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #F6AA00;
  color: #5C3B1E;
  padding: 8px 16px;
  font-weight: 400 !important;
  font-size: 13px;
  letter-spacing: 0.05em;
  width: 100%;
}

.amendopro-freight-bar .ph {
  font-size: 18px;
  flex-shrink: 0;
}

/* ---- Header Core ---- */
.header-wrapper,
.header {
  background-color: #ECDBAF !important;
  border-bottom: none !important;
  font-family: 'Outfit', sans-serif !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Force middle-left layout: Logo | Nav | Icons+CTA (single row) */
.header {
  display: grid !important;
  grid-template-areas: 'heading navigation icons' !important;
  grid-template-columns: auto auto 1fr !important;
  column-gap: 2rem !important;
  align-items: center !important;
}

@media screen and (max-width: 989px) {
  /* No mobile, a logo mantém a mesma escala ao rolar. O header continua
     sticky, mas não há redução/transição que cause o salto visual. */
  .scrolled-past-header .header__heading-logo-wrapper,
  .header__heading-logo-wrapper {
    width: 100% !important;
    transition: none !important;
  }

  .header__heading-logo,
  .header__heading-logo.motion-reduce {
    transform: none !important;
    transition: none !important;
  }

  .header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 1.5rem !important; /* FIX: Restore normal mobile padding */
  }

  header-drawer {
    margin-left: -0.5rem !important;
  }

  .header__icons {
    margin-right: -0.5rem !important;
  }

  .amendopro-header-cta {
    display: none !important;
  }

  .header-icons-pill {
    padding: 4px 10px;
    height: 40px;
  }

  .header-icons-pill .header__icon {
    width: 40px;
    height: 40px;
  }

  .header-icons-pill svg {
    width: 20px;
    height: 20px;
  }
}

.header__heading-link,
.header__menu-item,
.header__icon,
summary.header__menu-item {
  color: #5C3B1E !important;
  font-family: 'Outfit', sans-serif !important;
}

.header__heading-link {
  font-family: 'Outfit', sans-serif !important;
}

.header__heading,
.header__heading-link {
  grid-area: heading !important;
  justify-self: start !important;
}

.header__inline-menu {
  grid-area: navigation !important;
  margin-top: 0 !important;
}

.header__icons {
  grid-area: icons !important;
  justify-self: end !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center;
  gap: 8px;
}

.header__icon {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Remove underlines or pseudo borders on summary/menu icons */
.header__icon::after,
.header__icon::before,
summary.header__icon::after,
summary.header__icon::before {
  display: none !important;
}

/* ---- CTA Button ---- */
.amendopro-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #5C3B1E;
  color: #fff !important;
  font-weight: 400 !important;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  height: 40px;
  margin-right: 8px;
}

.amendopro-header-cta:hover {
  background-color: #F6AA00;
  color: #3E2013 !important;
}

/* ---- Icons (no green pill) ---- */
.header-icons-pill {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-icons-pill .header__icon {
  color: #5C3B1E !important;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.header-icons-pill .header__icon .ph {
  font-size: 22px;
  color: #5C3B1E !important;
}

.header-icons-pill .amendopro-cart-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: #5C3B1E;
  flex: 0 0 auto;
}

.header-icons-pill .header__icon:hover .ph {
  color: #F6AA00 !important;
}

.header-icons-pill .header__icon--cart:hover .amendopro-cart-icon {
  color: #F6AA00;
}

@media screen and (max-width: 989px) {
  .header-icons-pill .header__icon--cart {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
  }
}

/* ---- Cart Count Bubble ---- */
.header-icons-pill .cart-count-bubble {
  background-color: #F6AA00;
  color: #5C3B1E;
  bottom: 2px;
  left: 20px;
}

/* ---- Dropdown Menu ---- */
.header__submenu {
  background-color: #ECDBAF !important;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(92, 59, 30, 0.12);
  border: 1px solid rgba(92, 59, 30, 0.08);
  padding: 8px 0;
  min-width: 220px;
  position: absolute;
  z-index: 1000;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.header__menu-item--has-children,
.header__mega-menu-toggle,
details[open] > summary {
  position: relative;
}

.header__submenu .header__menu-item {
  padding: 10px 20px;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header__submenu .header__menu-item:hover {
  background-color: #FFF9E6;
  color: #5C3B1E !important;
}

/* Sub-dropdown (Proteína vegetal) - estado padrão (fechado) */
.header__submenu li {
  position: relative;
}

.amendopro-nested-dropdown > .header__submenu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  left: 100% !important;
  top: -8px !important;
  background-color: #ECDBAF !important;
}

/* Sub-dropdown - abre à direita no hover */
.header__submenu li:hover > .amendopro-nested-dropdown > .header__submenu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Ponte invisível para evitar perda de hover na diagonal */
.header__submenu li > .amendopro-nested-dropdown > .header__submenu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: transparent;
}

.header__submenu li:hover > .amendopro-nested-dropdown > .amendopro-nested-link .icon-caret {
  transform: rotate(-90deg);
}

/* ---- Caret Icon ---- */
.icon-caret {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

details[open] > summary .icon-caret {
  transform: rotate(180deg);
}

/* Override Dawn theme icon sizing */
.header__icon .ph {
  line-height: 1;
  font-style: normal;
}

/* ==========================================================================
   MOBILE DRAWER (Dawn <header-drawer>)
   ========================================================================== */

/* ---- Core Drawer Fix (Prevent Layout Break) ---- */
.menu-drawer {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important; /* Start exactly at the left edge of the header */
  width: 100% !important; /* Take exactly the full width of the header */
  height: 100dvh !important;
  max-width: none !important;
  background-color: #ECDBAF !important;
  border: none !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.menu-drawer-container[open] > .menu-drawer {
  visibility: visible !important;
  transform: translateX(0) !important;
}

/* ---- Inner container ---- */
.menu-drawer__inner-container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 0 !important;
}

.menu-drawer__navigation-container {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 0 !important;
}

/* ---- Navigation ---- */
.menu-drawer__navigation {
  padding: 0 !important;
}

.menu-drawer__quick-links {
  display: grid;
  gap: 0;
  padding: 0 2rem 2rem;
  color: #5C3B1E;
}

.menu-drawer__quick-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(92, 59, 30, 0.12);
  color: inherit;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}

.menu-drawer__quick-link span {
  color: rgba(92, 59, 30, 0.68);
  font-size: 0.82rem;
}

.menu-drawer__quick-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: #5C3B1E;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
}

.menu-drawer__quick-cta:focus-visible,
.menu-drawer__quick-link:focus-visible {
  outline: 2px solid #5C3B1E;
  outline-offset: 3px;
}

.menu-drawer__menu {
  list-style: none !important;
  padding: 0 2rem !important;
  margin: 0 !important;
}

/* ---- Menu items (links & summaries) ---- */
.menu-drawer__menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  color: #5C3B1E !important;
  padding: 1.25rem 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(92, 59, 30, 0.08) !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.menu-drawer__menu li:last-child .menu-drawer__menu-item {
  border-bottom: none !important;
}

/* Arrow & caret icons in menu items */
.menu-drawer__menu-item .svg-wrapper {
  flex-shrink: 0 !important;
  margin-left: 0.5rem !important;
  color: #5C3B1E !important;
}

.menu-drawer__menu-item .svg-wrapper svg {
  width: 14px !important;
  height: 14px !important;
}

/* ---- Submenu ---- */
.menu-drawer__submenu {
  background-color: #ECDBAF !important;
  border: none !important;
}

/* Esconde o botão de 'Voltar' redundante do Shopify já que agora é um accordion */
.menu-drawer__close-button {
  display: none !important;
}

/* Esconde a seta para a direita (icon-arrow) mantendo apenas a seta para baixo (icon-caret) no menu mobile */
.menu-drawer__menu-item .icon-arrow {
  display: none !important;
}

/* Rotaciona a seta para cima quando o accordion (dropdown) está aberto */
details[open] > summary .icon-caret {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
details > summary .icon-caret {
  transition: transform 0.3s ease;
}

.menu-drawer__inner-submenu {
  padding: 0 !important;
  flex: 1 !important;
  overflow-y: auto !important;
}

.menu-drawer__inner-submenu .menu-drawer__menu {
  padding: 0 2rem !important;
}

/* Back button (close-button inside submenu) */
.menu-drawer__close-button {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  color: #5C3B1E !important;
  padding: 1.25rem 2rem !important;
  margin: 0 !important;
  background: rgba(92, 59, 30, 0.04) !important;
  border: none !important;
  border-bottom: 1px solid rgba(92, 59, 30, 0.08) !important;
  cursor: pointer !important;
  text-align: left !important;
}

.menu-drawer__close-button .svg-wrapper svg {
  width: 16px !important;
  height: 16px !important;
  transform: rotate(180deg);
}

/* ---- Hide utility links (account, social, localization) ---- */
.menu-drawer__utility-links {
  display: none !important;
}

/* ---- Hide account icon in header on mobile ---- */
.header__icon--account {
  display: none !important;
}

/* ---- Hide header icons inside drawer overlay ---- */
.menu-drawer .header__icon:not(.header__icon--menu):not(.header__icon--summary) {
  display: none !important;
}

/* ---- Responsive: smaller padding on tiny screens ---- */
@media screen and (max-width: 374px) {
  .menu-drawer__menu,
  .menu-drawer__inner-submenu .menu-drawer__menu,
  .menu-drawer__quick-links {
    padding: 0 1.25rem !important;
  }
  .menu-drawer__close-button {
    padding: 1.25rem 1.25rem !important;
  }
  .menu-drawer__menu-item {
    font-size: 1rem !important;
  }
}
}

@media screen and (max-width: 749px) {
  .amendopro-freight-bar {
    font-size: 11px;
    padding: 6px 12px;
  }

  .amendopro-freight-bar svg {
    width: 16px;
    height: 16px;
  }
}

/* ---- Search Sidebar Overlay ---- */
.amendopro-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(62, 32, 19, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.amendopro-search-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Search Sidebar (Drawer) ---- */
.amendopro-search-wrapper {
  position: relative;
}

.amendopro-search-dropdown {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  height: 100dvh;
  background: #ECDBAF;
  box-shadow: -12px 0 40px rgba(62, 32, 19, 0.15);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.amendopro-search-dropdown.open {
  right: 0;
}

.amendopro-search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0 16px;
  background: transparent;
  border-bottom: 2px solid rgba(92, 59, 30, 0.15);
  margin: 0 32px;
  flex-shrink: 0;
}

.amendopro-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400 !important;
  color: #5C3B1E;
  outline: none;
  padding: 0;
}

/* Remove default blue X from webkit search input */
.amendopro-search-input::-webkit-search-decoration,
.amendopro-search-input::-webkit-search-cancel-button,
.amendopro-search-input::-webkit-search-results-button,
.amendopro-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.amendopro-search-input::placeholder {
  color: rgba(92, 59, 30, 0.35);
}

.amendopro-search-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amendopro-search-clear {
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  color: rgba(92, 59, 30, 0.7);
  cursor: pointer;
  display: none;
}
.amendopro-search-clear.visible {
  display: block;
}
.amendopro-search-clear:hover {
  color: #F6AA00;
}

.amendopro-search-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #5C3B1E;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.amendopro-search-close:hover {
  color: #F6AA00;
}
.amendopro-search-close .ph {
  font-size: 24px;
}

.amendopro-search-results-container {
  padding: 24px 32px;
  flex: 1;
  overflow-y: auto;
}
.amendopro-search-results-container::-webkit-scrollbar {
  width: 4px;
}
.amendopro-search-results-container::-webkit-scrollbar-thumb {
  background: rgba(92, 59, 30, 0.15);
  border-radius: 4px;
}

.amendopro-search-title-section {
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400 !important;
  color: #5C3B1E;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SKELETON */
.amendopro-search-skeleton {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skeleton-item {
  display: flex;
  gap: 16px;
  align-items: center;
}
.skeleton-img {
  width: 64px;
  height: 64px;
  background: #f0f0f0;
  border-radius: 8px;
  animation: pulse 1.5s infinite;
}
.skeleton-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skeleton-title {
  width: 70%;
  height: 14px;
  background: #f0f0f0;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}
.skeleton-price {
  width: 40%;
  height: 14px;
  background: #f0f0f0;
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* PRODUCTS LIST */
.amendopro-search-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  text-decoration: none;
  transition: opacity 0.2s;
  border-bottom: 1px solid rgba(92, 59, 30, 0.08);
}
.amendopro-search-item:last-child {
  border-bottom: none;
}
.amendopro-search-item:hover {
  opacity: 0.6;
}

.amendopro-search-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: #FFF9E6;
  display: block;
}

.amendopro-search-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  line-height: 1.3;
}

.amendopro-search-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400 !important;
  color: #5C3B1E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amendopro-search-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}
.amendopro-search-price-sale {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400 !important;
  color: #5C3B1E; /* Cor original AmendoPRO */
}
.amendopro-search-price-regular {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400 !important;
  color: rgba(92, 59, 30, 0.5);
  text-decoration: line-through;
}

.amendopro-search-empty {
  padding: 32px 0;
  text-align: left;
  color: rgba(92, 59, 30, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
}

@media screen and (max-width: 749px) {
  .amendopro-search-dropdown {
    width: 100vw;
    right: -100vw;
  }
}

/* ==========================================================================
   HEADER ACCOUNT BUTTON & USER PILL
   ========================================================================== */
.header__account-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header__account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #5C3B1E !important;
  border-radius: 9999px;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif !important;
  cursor: pointer;
}

/* Logged In Pill */
.header__account-btn--logged {
  background: rgba(92, 59, 30, 0.06);
  border: 1px solid rgba(92, 59, 30, 0.12);
  padding: 3px 12px 3px 4px;
}

.header__account-btn--logged:hover,
.header__account-wrapper.is-open .header__account-btn--logged {
  background: rgba(92, 59, 30, 0.12);
  border-color: rgba(92, 59, 30, 0.22);
  box-shadow: 0 2px 8px rgba(92, 59, 30, 0.06);
}

.header__account-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #5C3B1E;
  color: #FFF9EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  overflow: visible;
  border: 1px solid rgba(92, 59, 30, 0.15);
}

.header__account-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.header__account-initial {
  line-height: 1;
  text-transform: uppercase;
  color: #FFF9EE;
}

.header__account-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border: 2px solid #ECDBAF;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.6);
}

.header__account-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header__account-greeting {
  font-size: 13px;
  font-weight: 500;
  color: #5C3B1E;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__account-caret {
  font-size: 13px;
  color: #5C3B1E;
  transition: transform 0.2s ease;
}

.header__account-wrapper:hover .header__account-caret,
.header__account-wrapper.is-open .header__account-caret {
  transform: rotate(180deg);
}

/* Guest Button */
.header__account-btn--guest {
  padding: 6px 12px;
  border-radius: 9999px;
  color: #5C3B1E !important;
  font-size: 13px;
  font-weight: 500;
}

.header__account-btn--guest:hover {
  background-color: rgba(92, 59, 30, 0.08);
  color: #F6AA00 !important;
}

.header__account-guest-text {
  font-size: 13px;
  font-weight: 500;
}

/* Dropdown Menu - Alinhado 100% com .header__submenu */
.header__account-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 250px;
  background-color: #ECDBAF !important;
  border: 1px solid rgba(92, 59, 30, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(92, 59, 30, 0.12);
  padding: 8px 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  pointer-events: none;
}

/* Hover bridge: ensures moving mouse between button and dropdown never loses hover */
.header__account-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.header__account-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

@media (hover: hover) and (min-width: 990px) {
  .header__account-wrapper:hover .header__account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.header__account-wrapper.is-open .header__account-dropdown,
.header__account-wrapper:focus-within .header__account-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.header__account-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 10px;
}

.header__account-dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5C3B1E;
  color: #FFF9EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(92, 59, 30, 0.12);
}

.header__account-dropdown-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__account-dropdown-user {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.header__account-dropdown-name {
  font-size: 14px;
  font-weight: 700;
  color: #3E2013;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Outfit', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.header__account-dropdown-email {
  font-size: 11px;
  color: rgba(92, 59, 30, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-top: 2px;
}

.header__account-dropdown-divider {
  height: 1px;
  background-color: rgba(92, 59, 30, 0.1);
  margin: 6px 0;
  list-style: none;
}

.header__account-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 0;
  text-decoration: none !important;
  color: #5C3B1E !important;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header__account-dropdown-item i {
  font-size: 18px;
  color: #5C3B1E;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.header__account-dropdown-item:hover {
  background-color: #FFF9E6 !important;
  color: #5C3B1E !important;
}

.header__account-dropdown-item:hover i {
  color: #5C3B1E;
}

.header__account-dropdown-item--logout:hover {
  background-color: rgba(220, 38, 38, 0.08) !important;
  color: #DC2626 !important;
}

.header__account-dropdown-item--logout:hover i {
  color: #DC2626;
}

.header__account-dropdown-menu li:last-child .header__account-dropdown-item {
  border-radius: 0 0 17px 17px;
}

/* ==========================================================================
   AMENDOPRO CUSTOMER PROFILE DRAWER
   ========================================================================== */
.amendopro-profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(62, 32, 19, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.amendopro-profile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.amendopro-profile-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 490px;
  max-width: 100vw;
  height: 100dvh;
  background: #ECDBAF;
  box-shadow: -14px 0 44px rgba(62, 32, 19, 0.2);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  font-family: 'Outfit', sans-serif !important;
}

.amendopro-profile-drawer.open {
  right: 0;
}

/* Header */
.profile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(92, 59, 30, 0.14);
  background: #ECDBAF;
  flex-shrink: 0;
}

.profile-drawer__title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-drawer__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #3E2013;
  line-height: 1.2;
}

.profile-drawer__subtitle {
  font-size: 12px;
  color: #855700;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #5C3B1E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.profile-drawer__close:hover {
  background-color: rgba(92, 59, 30, 0.1);
  color: #3E2013;
  transform: rotate(90deg);
}

.profile-drawer__close .ph {
  font-size: 22px;
}

/* Tabs */
.profile-drawer__tabs {
  display: flex;
  gap: 6px;
  padding: 12px 28px;
  background: rgba(92, 59, 30, 0.05);
  border-bottom: 1px solid rgba(92, 59, 30, 0.1);
  flex-shrink: 0;
}

.profile-drawer__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  color: #5C3B1E;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-drawer__tab:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #3E2013;
}

.profile-drawer__tab.is-active {
  background: #FFFDF9;
  color: #3E2013;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(92, 59, 30, 0.08);
}

.profile-drawer__tab .ph {
  font-size: 16px;
}

.profile-drawer__tab.is-active .ph {
  color: #F6AA00;
}

.profile-drawer__tab-badge {
  background: #F6AA00;
  color: #3E2013;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1;
}

/* Body & Panes */
.profile-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-drawer__body::-webkit-scrollbar {
  width: 5px;
}

.profile-drawer__body::-webkit-scrollbar-thumb {
  background: rgba(92, 59, 30, 0.2);
  border-radius: 4px;
}

.profile-drawer__pane {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.profile-drawer__pane.is-active {
  display: flex;
}

/* Cards */
.profile-drawer__card {
  background: #FFFDF9;
  border: 1px solid rgba(92, 59, 30, 0.14);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(62, 32, 19, 0.05);
}

/* User Card in Drawer */
.profile-drawer__user-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-drawer__avatar-box {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.profile-drawer__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #5C3B1E;
  color: #FFF9EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  overflow: hidden;
  border: 2px solid #F6AA00;
  box-shadow: 0 3px 10px rgba(92, 59, 30, 0.15);
}

.profile-drawer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-drawer__avatar-edit-btn {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F6AA00;
  color: #3E2013;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #FFFDF9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  transition: transform 0.2s, background-color 0.2s;
}

.profile-drawer__avatar-edit-btn:hover {
  transform: scale(1.1);
  background: #e29b12;
}

.profile-drawer__avatar-edit-btn .ph {
  font-size: 14px;
}

.profile-drawer__user-meta {
  flex: 1;
  min-width: 0;
}

.profile-drawer__user-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.profile-drawer__user-name {
  font-size: 17px;
  font-weight: 700;
  color: #3E2013;
  margin: 0;
  line-height: 1.2;
}

.profile-drawer__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(246, 170, 0, 0.18);
  color: #855700;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.profile-drawer__user-email {
  font-size: 13px;
  color: rgba(62, 32, 19, 0.7);
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-drawer__avatar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-drawer__btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #5C3B1E;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  font-family: 'Outfit', sans-serif !important;
}

.profile-drawer__btn-link:hover {
  color: #F6AA00;
}

.profile-drawer__btn-link--danger {
  color: #DC2626;
}

.profile-drawer__btn-link--danger:hover {
  color: #B91C1C;
}

.profile-drawer__avatar-status {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}

/* Stats in Drawer */
.profile-drawer__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-drawer__stat-box {
  background: #FFFDF9;
  border: 1px solid rgba(92, 59, 30, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(62, 32, 19, 0.04);
}

.profile-drawer__stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #F6AA00;
  line-height: 1.1;
  margin-bottom: 2px;
}

.profile-drawer__stat-label {
  font-size: 11px;
  color: rgba(62, 32, 19, 0.7);
  line-height: 1.2;
}

/* Shopify Orders Promo Card */
.profile-drawer__orders-promo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFFDF9;
}

.profile-drawer__orders-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(246, 170, 0, 0.16);
  color: #5C3B1E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.profile-drawer__orders-content {
  flex: 1;
}

.profile-drawer__orders-title {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #3E2013;
}

.profile-drawer__orders-desc {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: rgba(62, 32, 19, 0.7);
  line-height: 1.4;
}

.profile-drawer__orders-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5C3B1E;
  color: #FFF !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.profile-drawer__orders-btn:hover {
  background: #F6AA00;
  color: #3E2013 !important;
}

/* Explore Recipes Banner */
.profile-drawer__cta-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFDF9;
  border: 1px solid rgba(92, 59, 30, 0.14);
  border-radius: 14px;
  padding: 14px 18px;
  text-decoration: none !important;
  color: #5C3B1E !important;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.profile-drawer__cta-banner:hover {
  background: #FFF9EE;
  color: #F6AA00 !important;
  border-color: #F6AA00;
}

.profile-drawer__cta-banner .ph-book-open {
  font-size: 20px;
  color: #F6AA00;
}

/* Reviews List in Drawer */
.profile-drawer__reviews-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-drawer__review-card {
  background: #FFFDF9;
  border: 1px solid rgba(92, 59, 30, 0.12);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(62, 32, 19, 0.04);
}

.profile-drawer__review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.profile-drawer__review-recipe-link {
  font-size: 13px;
  font-weight: 700;
  color: #3E2013;
  text-decoration: none;
  line-height: 1.3;
}

.profile-drawer__review-recipe-link:hover {
  color: #F6AA00;
}

.profile-drawer__review-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.profile-drawer__review-status--approved {
  background: #DCFCE7;
  color: #15803D;
}

.profile-drawer__review-status--pending {
  background: #FEF3C7;
  color: #B45309;
}

.profile-drawer__review-status--rejected {
  background: #FEE2E2;
  color: #B91C1C;
}

.profile-drawer__review-stars {
  color: #F6AA00;
  font-size: 14px;
  display: flex;
  gap: 2px;
}

.profile-drawer__review-body {
  font-size: 13px;
  color: #4A301E;
  line-height: 1.4;
  margin: 0;
  background: rgba(236, 219, 175, 0.25);
  padding: 8px 12px;
  border-radius: 8px;
}

.profile-drawer__review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(62, 32, 19, 0.55);
  padding-top: 4px;
  border-top: 1px solid rgba(62, 32, 19, 0.06);
}

.profile-drawer__review-delete-btn {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Outfit', sans-serif !important;
}

.profile-drawer__review-delete-btn:hover {
  text-decoration: underline;
}

.profile-drawer__empty {
  text-align: center;
  padding: 32px 16px;
  background: #FFFDF9;
  border: 1px dashed rgba(92, 59, 30, 0.25);
  border-radius: 16px;
}

.profile-drawer__empty-icon {
  font-size: 32px;
  color: #F6AA00;
  margin-bottom: 6px;
}

.profile-drawer__empty-title {
  font-size: 14px;
  font-weight: 700;
  color: #3E2013;
  margin: 0 0 4px;
}

.profile-drawer__empty-desc {
  font-size: 12px;
  color: rgba(62, 32, 19, 0.65);
  margin: 0 0 14px;
  line-height: 1.4;
}

.profile-drawer__loading {
  padding: 32px;
  text-align: center;
  color: rgba(62, 32, 19, 0.65);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-drawer__spin {
  animation: drawerSpin 1s linear infinite;
  font-size: 18px;
}

@keyframes drawerSpin {
  100% { transform: rotate(360deg); }
}

/* Footer */
.profile-drawer__footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(92, 59, 30, 0.12);
  background: #ECDBAF;
  flex-shrink: 0;
}

.profile-drawer__logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  color: #DC2626 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: #FFFDF9;
}

.profile-drawer__logout-btn:hover {
  background: rgba(220, 38, 38, 0.08);
}

@media screen and (max-width: 989px) {
  .header__account-btn--logged {
    padding: 2px;
    border-radius: 50%;
  }
  .header__account-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .header__account-dropdown {
    right: -10px;
  }
}

@media screen and (max-width: 749px) {
  .amendopro-profile-drawer {
    width: 100vw;
    right: -100vw;
  }
  .profile-drawer__header,
  .profile-drawer__tabs,
  .profile-drawer__body,
  .profile-drawer__footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Header revisado: devolve largura real à marca e abre respiro vertical. */
.header-wrapper,
.header {
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
}

.header {
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) auto !important;
  column-gap: 1rem !important;
}

.header__heading {
  width: 100% !important;
  min-width: 0 !important;
}

.header__heading-link {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.header__heading-logo-wrapper {
  width: 240px !important;
  max-width: 100% !important;
}

.header__heading-logo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.amendopro-freight-bar {
  font-size: 15px !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media screen and (min-width: 990px) and (max-width: 1399px) {
  .header {
    grid-template-columns: minmax(180px, 200px) minmax(0, 1fr) auto !important;
    column-gap: 0.75rem !important;
  }

  .header__heading-logo-wrapper {
    width: 200px !important;
  }
}

@media screen and (max-width: 989px) {
  .header {
    min-height: 74px !important;
    padding: 0.75rem 1.5rem !important;
  }

  .header__heading {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .header__heading-link {
    width: min(200px, calc(100vw - 150px)) !important;
    flex: 0 1 auto !important;
  }

  .header__heading-logo-wrapper {
    width: 100% !important;
  }

  .header__heading-logo {
    width: 100% !important;
    height: auto !important;
  }

  .amendopro-freight-bar {
    font-size: 14px !important;
    padding: 8px 12px;
  }
}

/* Layout final do header: marca à esquerda, atalhos à direita e navegação em faixa própria. */
@media screen and (min-width: 990px) {
  .header.header--top-center {
    grid-template-areas: "heading icons" "navigation navigation" !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 1.5rem !important;
    row-gap: 0.5rem !important;
  }

  .header.header--top-center .header__heading,
  .header.header--top-center .header__heading-link {
    grid-area: heading !important;
    justify-self: start !important;
    align-self: center !important;
    width: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .header.header--top-center .header__heading-logo-wrapper {
    width: 240px !important;
    max-width: 100% !important;
  }

  .header.header--top-center .header__heading-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .header.header--top-center .header__inline-menu {
    grid-area: navigation !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .header.header--top-center .header__inline-menu .list-menu--inline {
    justify-content: center !important;
  }

  .header.header--top-center .header__icons {
    grid-area: icons !important;
    justify-self: end !important;
  }

  header-drawer {
    display: none !important;
  }
}

@media screen and (max-width: 989px) {
  .header {
    min-height: 74px !important;
    padding: 0.75rem 1.25rem !important;
  }

  .header__heading {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .header__heading-link {
    display: block !important;
    width: min(180px, calc(100vw - 160px)) !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header__heading-logo-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }

  .header__heading-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Desktop-wide header: balance brand, navigation and actions on one row. */
@media screen and (min-width: 2050px) {
  .header.header--top-center,
  .header.header--middle-left {
    grid-template-areas: 'heading navigation icons' !important;
    grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) max-content !important;
    column-gap: 16px !important;
    padding-inline: 32px !important;
    max-width: 1760px !important;
  }

  .header.header--top-center .header__inline-menu,
  .header.header--middle-left .header__inline-menu {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  .header.header--top-center .header__inline-menu .list-menu--inline,
  .header.header--middle-left .header__inline-menu .list-menu--inline {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .header.header--top-center .header__inline-menu .header__menu-item,
  .header.header--middle-left .header__inline-menu .header__menu-item,
  .header.header--top-center .header__inline-menu summary.list-menu__item,
  .header.header--middle-left .header__inline-menu summary.list-menu__item {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Mobile header: keep the menu beside a larger logo and group actions on the right. */
@media screen and (max-width: 989px) {
  .header.header--mobile-center,
  .header.header--mobile-left,
  .header.header--top-center,
  .header.header--middle-left {
    display: grid !important;
    grid-template-areas: 'left-icons heading icons' !important;
    grid-template-columns: 44px minmax(110px, 1fr) max-content !important;
    column-gap: 8px !important;
    justify-content: initial !important;
    align-items: center !important;
    padding: 0 12px !important;
    min-height: 64px !important;
  }

  .header header-drawer {
    grid-area: left-icons !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  .header .header__heading,
  .header .header__heading-link {
    grid-area: heading !important;
    justify-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .header .header__heading-logo-wrapper {
    width: clamp(110px, 34vw, 140px) !important;
    max-width: 140px !important;
  }

  .header .header__heading-logo {
    display: block !important;
    width: clamp(110px, 34vw, 140px) !important;
    max-width: 140px !important;
    height: auto !important;
    transform: none !important;
  }

  .header .header__icons {
    grid-area: icons !important;
    justify-self: end !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  header-drawer .header__icon--menu {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  header-drawer .header__icon--menu svg {
    width: 18px !important;
    height: 18px !important;
  }

  .header .header__inline-menu {
    display: none !important;
  }
}

@media screen and (max-width: 989px) {
  header-drawer .header__icon--menu svg {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }
}

@media screen and (max-width: 989px) {
  .header .header__icons {
    gap: 2px !important;
    padding: 0 !important;
  }

  .header .header__account-btn--guest {
    width: 32px !important;
    min-width: 32px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  .header .header-icons-pill {
    gap: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .header .header-icons-pill .header__icon {
    width: 32px !important;
    height: 40px !important;
  }
}


/* Desktop header typography stays compact while storefront copy remains enlarged. */
@media screen and (min-width: 990px) {
  .header__inline-menu .header__menu-item,
  .header__inline-menu summary.header__menu-item,
  .header__inline-menu .header__menu-item span {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .header__inline-menu .header__menu-item {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .header__icons {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .header__account-btn--guest,
  .header__account-guest-text,
  .amendopro-header-cta {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  .header-revendedor .revendedor-title {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }
  .header-revendedor .revendedor-subtitle {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }
}


/* Keep the full desktop header on one row and keep open menus above page content. */
@media screen and (min-width: 1400px) {
  .header.header--top-center,
  .header.header--middle-left {
    grid-template-areas: "heading navigation icons" !important;
    grid-template-columns: clamp(190px, 16vw, 230px) minmax(0, 1fr) max-content !important;
    column-gap: 8px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: none !important;
    width: 100% !important;
  }

  .header__heading {
    grid-area: heading !important;
    justify-self: start !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .header__heading-link,
  .header__heading-logo-wrapper,
  .header__heading-logo {
    width: clamp(190px, 16vw, 230px) !important;
    max-width: none !important;
  }

  .header__inline-menu {
    grid-area: navigation !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    justify-self: center !important;
    position: relative !important;
    z-index: 40 !important;
    overflow: visible !important;
  }

  .header__inline-menu .list-menu--inline {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .header__inline-menu .header__menu-item,
  .header__inline-menu summary.header__menu-item,
  .header__inline-menu .header__menu-item span {
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .header__inline-menu .header__menu-item {
    padding: 8px 5px !important;
  }

  .header__icons {
    grid-area: icons !important;
    justify-self: end !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    width: max-content !important;
  }

  .header-revendedor {
    gap: 6px !important;
    margin-right: 8px !important;
  }

  .header-revendedor .revendedor-title {
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  .header-revendedor .revendedor-subtitle {
    font-size: 9px !important;
    line-height: 1.15 !important;
  }

  .amendopro-header-cta {
    font-size: 11px !important;
    padding: 8px 14px !important;
    margin-right: 4px !important;
  }

  .header__account-btn--guest {
    font-size: 11px !important;
    padding: 6px 8px !important;
    gap: 6px !important;
  }
}

@media screen and (min-width: 990px) {
  .section-header,
  .header-wrapper,
  .header,
  .header__inline-menu,
  .header__inline-menu .list-menu--inline {
    overflow: visible !important;
  }

  .section-header {
    z-index: 100 !important;
  }

  .header__inline-menu {
    position: relative !important;
    z-index: 40 !important;
  }

  .header__inline-menu details[open] > .header__submenu,
  .header__inline-menu details[open] .header__submenu {
    z-index: 1000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


/* Final desktop polish: compact logo/container and place carets beside labels. */
@media screen and (min-width: 1400px) {
  header.header.header--top-center,
  header.header.header--middle-left {
    max-width: 1500px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: 190px minmax(0, 1fr) max-content !important;
  }

  header.header .header__heading,
  header.header .header__heading-link,
  header.header .header__heading-logo-wrapper,
  header.header .header__heading-logo {
    width: 190px !important;
    max-width: 190px !important;
  }

  header.header .header__heading-logo {
    height: auto !important;
  }

  header.header .header__inline-menu summary.header__menu-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px !important;
    white-space: nowrap !important;
  }

  header.header .header__inline-menu summary.header__menu-item .icon-caret {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 10px !important;
    height: 6px !important;
    flex: 0 0 10px !important;
    margin: 0 !important;
  }
}


/* Keep desktop navigation readable at the compact header scale. */
@media screen and (min-width: 1400px) {
  .header__inline-menu .header__menu-item,
  .header__inline-menu summary.header__menu-item,
  .header__inline-menu .header__menu-item span {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
}

@media screen and (min-width: 1400px) {
  .header__inline-menu summary.header__menu-item {
    vertical-align: top !important;
  }
}

/* Slightly rebalance the sitewide type scale while keeping the header clear. */
:root {
  --font-body-scale: 1.25 !important;
  --font-heading-scale: 1.1 !important;
}

@media screen and (min-width: 990px) {
  .header__inline-menu .header__menu-item,
  .header__inline-menu summary.header__menu-item,
  .header__inline-menu .header__menu-item span {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .header__inline-menu .list-menu--inline {
    column-gap: 4px !important;
  }

  .header__inline-menu summary.header__menu-item {
    gap: 7px !important;
    vertical-align: top !important;
  }

  .header .header-revendedor {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .header .header__account-btn,
  .header .amendopro-header-cta {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 989px) {
  .menu-drawer__menu-item {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .menu-drawer__quick-link {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
  }

  .menu-drawer__quick-cta {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* Improve readability of the amino-acid composition section. */
.section-aminograma-tecnico [class*="amino-title-"] {
  font-size: clamp(36px, 4.2vw, 52px) !important;
}

.section-aminograma-tecnico [class*="amino-desc-"] {
  font-size: 17px !important;
  line-height: 1.6 !important;
}

.section-aminograma-tecnico [class*="amino-subtitle-"] {
  font-size: 26px !important;
  line-height: 1.3 !important;
}

.section-aminograma-tecnico [class*="amino-group-title-"] {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

.section-aminograma-tecnico [class*="amino-highlight-item-"] {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.section-aminograma-tecnico [class*="amino-name-"] {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.section-aminograma-tecnico [class*="amino-val-"] {
  font-size: 15px !important;
  line-height: 1.4 !important;
  padding: 4px 10px !important;
}

.section-aminograma-tecnico [class*="amino-detail-"] {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.section-aminograma-tecnico [class*="amino-tooltip-"] {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.section-aminograma-tecnico [class*="amino-total-unit-"] {
  font-size: 17px !important;
  line-height: 1.4 !important;
}

.section-aminograma-tecnico .amino-footer p {
  font-size: 21px !important;
}

/* Stronger readability scale for the amino-acid chart. */
.section-aminograma-tecnico [class*="amino-title-"] {
  font-size: clamp(40px, 4.5vw, 56px) !important;
}

.section-aminograma-tecnico [class*="amino-desc-"] {
  font-size: 20px !important;
  line-height: 1.55 !important;
}

.section-aminograma-tecnico [class*="amino-subtitle-"] {
  font-size: 30px !important;
  line-height: 1.25 !important;
}

.section-aminograma-tecnico [class*="amino-group-title-"] {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.section-aminograma-tecnico [class*="amino-highlight-item-"] {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.section-aminograma-tecnico [class*="amino-name-"] {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

.section-aminograma-tecnico [class*="amino-val-"] {
  font-size: 18px !important;
  line-height: 1.3 !important;
  padding: 5px 12px !important;
}

.section-aminograma-tecnico [class*="amino-detail-"] {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.section-aminograma-tecnico [class*="amino-tooltip-"] {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.section-aminograma-tecnico [class*="amino-total-unit-"] {
  font-size: 19px !important;
  line-height: 1.35 !important;
}

.section-aminograma-tecnico .amino-footer p {
  font-size: 24px !important;
}

/* Outfit preview: apply the readable typeface to text and preserve icon glyphs. */
html body #MainContent :is(h1, h2, h3, h4, h5, h6, p, a, li, span, button, input, textarea, select, label, summary, small, strong, em, td, th, dt, dd, legend, option, figcaption, blockquote, pre, code):not([class*="icon"]):not([class*="Icon"]):not([class*="ph"]):not([class*="fa-"]):not([class*="material"]) {
  font-family: 'Outfit', sans-serif !important;
}


/* Desktop navigation stays on one row; use the compact drawer when space is limited. */
@media screen and (min-width: 1121px) {
  .header.header--top-center,
  .header.header--middle-left {
    grid-template-areas: "heading navigation icons" !important;
    grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) max-content !important;
    grid-template-rows: auto !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .header.header--top-center .header__heading,
  .header.header--middle-left .header__heading,
  .header.header--top-center .header__heading-link,
  .header.header--middle-left .header__heading-link {
    grid-area: heading !important;
    justify-self: start !important;
    align-self: center !important;
    width: 240px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .header.header--top-center .header__inline-menu,
  .header.header--middle-left .header__inline-menu {
    display: flex !important;
    grid-area: navigation !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    justify-self: center !important;
  }

  .header.header--top-center .header__inline-menu .list-menu--inline,
  .header.header--middle-left .header__inline-menu .list-menu--inline {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }

  .header.header--top-center .header__icons,
  .header.header--middle-left .header__icons {
    grid-area: icons !important;
    justify-self: end !important;
    flex-wrap: nowrap !important;
  }

  header-drawer {
    display: none !important;
  }
}

@media screen and (min-width: 990px) and (max-width: 1120px) {
  .header.header--mobile-center,
  .header.header--mobile-left,
  .header.header--top-center,
  .header.header--middle-left {
    display: grid !important;
    grid-template-areas: "left-icons heading icons" !important;
    grid-template-columns: 44px minmax(110px, 1fr) max-content !important;
    grid-template-rows: auto !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    align-items: center !important;
    justify-content: initial !important;
    min-height: 74px !important;
    padding: 0 20px !important;
  }

  .header header-drawer {
    display: flex !important;
    grid-area: left-icons !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  .header header-drawer .header__icon--menu {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  .header header-drawer .header__icon--menu svg {
    width: 18px !important;
    height: 18px !important;
  }

  .header .header__heading,
  .header .header__heading-link {
    grid-area: heading !important;
    justify-self: start !important;
    align-self: center !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header .header__heading-logo-wrapper {
    width: min(180px, 100%) !important;
    max-width: 180px !important;
  }

  .header .header__heading-logo {
    display: block !important;
    width: 100% !important;
    max-width: 180px !important;
    height: auto !important;
  }

  .header .header__icons {
    display: flex !important;
    grid-area: icons !important;
    justify-self: end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header .header__inline-menu,
  .header .header-revendedor,
  .header .amendopro-header-cta {
    display: none !important;
  }

  .header .header__account-guest-text {
    display: none !important;
  }

  .header .header__account-btn--guest {
    width: 32px !important;
    min-width: 32px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
  }

  .header .header-icons-pill {
    gap: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .header .header-icons-pill .header__icon {
    width: 32px !important;
    height: 40px !important;
  }
}


/* Keep the homepage hero readable at intermediate widths. */
@media screen and (min-width: 1280px) and (max-width: 1899px) {
  .hero-section .hero-content {
    width: min(520px, 45vw) !important;
    max-width: none !important;
  }
  .hero-section .hero-title {
    max-width: 520px !important;
    font-size: clamp(38px, 2.45vw, 46px) !important;
    line-height: 1.08 !important;
  }
  .hero-section .hero-carousel-panel {
    width: 52% !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .hero-section .hero-content {
    width: min(460px, 42vw) !important;
    max-width: none !important;
  }
  .hero-section .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(30px, 3vw, 38px) !important;
    line-height: 1.08 !important;
  }
  .hero-section .hero-carousel-panel {
    width: 50% !important;
  }
}


/* Desktop header stays complete above tablet width; tighten only its narrow desktop range. */
@media screen and (min-width: 1121px) and (max-width: 1399px) {
  .header.header--top-center,
  .header.header--middle-left {
    grid-template-areas: 'heading navigation icons' !important;
    grid-template-columns: minmax(150px, 170px) minmax(0, 1fr) max-content !important;
    grid-template-rows: auto !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    max-width: none !important;
    padding-inline: 12px !important;
  }

  .header.header--top-center .header__heading,
  .header.header--top-center .header__heading-link,
  .header.header--middle-left .header__heading,
  .header.header--middle-left .header__heading-link {
    width: 170px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
  }

  .header.header--top-center .header__heading-logo-wrapper,
  .header.header--middle-left .header__heading-logo-wrapper {
    width: 100% !important;
    max-width: 170px !important;
  }

  .header.header--top-center .header__inline-menu,
  .header.header--middle-left .header__inline-menu {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .header.header--top-center .header__inline-menu .list-menu--inline,
  .header.header--middle-left .header__inline-menu .list-menu--inline {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
    gap: 0 !important;
  }

  .header.header--top-center .header__inline-menu .header__menu-item,
  .header.header--middle-left .header__inline-menu .header__menu-item,
  .header.header--top-center .header__inline-menu summary.list-menu__item,
  .header.header--middle-left .header__inline-menu summary.list-menu__item {
    font-size: 11px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    white-space: nowrap !important;
  }

  .header.header--top-center .header-revendedor,
  .header.header--middle-left .header-revendedor {
    gap: 3px !important;
    margin: 0 2px !important;
    padding: 0 !important;
  }

  .header.header--top-center .header-revendedor .revendedor-icon,
  .header.header--middle-left .header-revendedor .revendedor-icon {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  .header.header--top-center .header-revendedor .revendedor-title,
  .header.header--middle-left .header-revendedor .revendedor-title {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .header.header--top-center .header-revendedor .revendedor-subtitle,
  .header.header--middle-left .header-revendedor .revendedor-subtitle,
  .header.header--top-center .header__account-guest-text,
  .header.header--middle-left .header__account-guest-text {
    display: none !important;
  }

  .header.header--top-center .amendopro-header-cta,
  .header.header--middle-left .amendopro-header-cta {
    height: 36px !important;
    padding: 8px 10px !important;
    margin-right: 2px !important;
    font-size: 11px !important;
  }

  .header.header--top-center .header__icons,
  .header.header--middle-left .header__icons {
    gap: 3px !important;
  }

  .header.header--top-center header-drawer,
  .header.header--middle-left header-drawer {
    display: none !important;
  }
}


/* Keep the hero proportions readable on ultrawide screens. */
@media screen and (min-width: 1900px) {
  .hero-section .hero-content {
      width: min(520px, 45vw) !important;
          max-width: none !important;
            }
              .hero-section .hero-title {
                  max-width: 520px !important;
                      font-size: clamp(38px, 2.45vw, 46px) !important;
                          line-height: 1.08 !important;
                            }
                              .hero-section .hero-carousel-panel {
                                  width: 52% !important;
                                    }
                                    }

                                    @media screen and (min-width: 1121px) and (max-width: 1399px) {
                                      .header.header--top-center .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                        .header.header--middle-left .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                          .header.header--top-center .header__inline-menu .list-menu--inline > li > a.header__menu-item > span,
                                            .header.header--middle-left .header__inline-menu .list-menu--inline > li > a.header__menu-item > span {
                                                font-size: 11px !important;
                                                    line-height: 1.2 !important;
                                                      }

                                                        .header.header--top-center .header__inline-menu .list-menu--inline,
                                                          .header.header--middle-left .header__inline-menu .list-menu--inline {
                                                              column-gap: 8px !important;
                                                                }
                                                                }

                                                                @media screen and (min-width: 1121px) and (max-width: 1399px) {
                                                                    .header.header--top-center .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                                                      .header.header--middle-left .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                                                        .header.header--top-center .header__inline-menu .list-menu--inline > li > a.header__menu-item > span,
                                                                          .header.header--middle-left .header__inline-menu .list-menu--inline > li > a.header__menu-item > span {
                                                                              font-size: 14px !important;
                                                                                }
                                                                                }
                                                                

                                                                @media screen and (min-width: 1400px) and (max-width: 1539px) {
                                                                  .header.header--top-center .header__inline-menu .list-menu--inline > li > header-menu > details > summary,
                                                                    .header.header--middle-left .header__inline-menu .list-menu--inline > li > header-menu > details > summary,
                                                                      .header.header--top-center .header__inline-menu .list-menu--inline > li > a.header__menu-item,
                                                                        .header.header--middle-left .header__inline-menu .list-menu--inline > li > a.header__menu-item {
                                                                            font-size: 13px !important;
                                                                                padding-left: 2px !important;
                                                                                    padding-right: 2px !important;
                                                                                        white-space: nowrap !important;
                                                                                          }

                                                                                            .header.header--top-center .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                                                                              .header.header--middle-left .header__inline-menu .list-menu--inline > li > header-menu > details > summary > span,
                                                                                                .header.header--top-center .header__inline-menu .list-menu--inline > li > a.header__menu-item > span,
                                                                                                  .header.header--middle-left .header__inline-menu .list-menu--inline > li > a.header__menu-item > span {
                                                                                                      font-size: 13px !important;
                                                                                                          line-height: 1.2 !important;
                                                                                                            }

                                                                                                              .header.header--top-center .header__inline-menu .list-menu--inline,
                                                                                                                .header.header--middle-left .header__inline-menu .list-menu--inline {
                                                                                                                    column-gap: 5px !important;
                                                                                                                      }
                                                                                                                      }

                                                                                                                      @media screen and (max-width: 359px) {
                                                                                                                        .section-aminograma-tecnico [class*="amino-grid-"] {
                                                                                                                            grid-template-columns: minmax(0, 1fr) !important;
                                                                                                                              }

                                                                                                                                .section-aminograma-tecnico [class*="amino-info-"] {
                                                                                                                                    flex-wrap: wrap !important;
                                                                                                                                      }
                                                                                                                                      }
                                                                                                                                      

                                                                                                                                      /* Desktop hero slide spans the full section height. */
                                                                                                                                      @media screen and (min-width: 768px) {
                                                                                                                                        .hero-section > .hero-carousel-panel {
                                                                                                                                            top: 0 !important;
                                                                                                                                                bottom: 0 !important;
                                                                                                                                                    height: 100% !important;
                                                                                                                                                        aspect-ratio: auto !important;
                                                                                                                                                            transform: none !important;
                                                                                                                                                              }
                                                                                                                                                              }


                                                                                                                                                              /* Prevent the countdown bar from creating horizontal page overflow. */
                                                                                                                                                              #amendopro-campaign-countdown {
                                                                                                                                                                width: 100% !important;
                                                                                                                                                                  margin-left: 0 !important;
                                                                                                                                                                  }
                                                                                                                                                                  