/** Shopify CDN: Minification failed

Line 500:0 Unexpected "}"

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

/* ---- Font Overrides (override base.css) ---- */
:root {
  --font-heading-family: 'Airwaves', sans-serif !important;
  --font-heading-weight: 600 !important;
  --font-body-family: 'Airwaves', 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: 'Airwaves', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Airwaves', 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: 'Airwaves', 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) {
  .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: 'Airwaves', sans-serif !important;
}

.header__heading-link {
  font-family: 'Airwaves', 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 .header__icon:hover .ph {
  color: #F6AA00 !important;
}

/* ---- 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__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: 'Airwaves', 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: 'Airwaves', 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 {
    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: 'Airwaves', 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: 'Airwaves', 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: 'Airwaves', 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: 'Airwaves', 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: 'Airwaves', sans-serif;
  font-size: 14px;
  font-weight: 400 !important;
  color: #5C3B1E; /* Cor original AmendoPRO */
}
.amendopro-search-price-regular {
  font-family: 'Airwaves', 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: 'Airwaves', sans-serif;
  font-size: 15px;
}

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