/** Shopify CDN: Minification failed

Line 735:0 Unexpected "<"

**/
.drawer {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  background-color: rgba(var(--color-foreground), 0.5);
  transition: visibility var(--duration-default) ease;
}

.drawer.active {
  visibility: visible;
}

.drawer__inner {
  height: 100%;
  width: 50rem;
  max-width: calc(100vw + 0rem);
  position: absolute;
  height: calc(100% - 20px);
  top: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 0;
  /* padding: 0 2.5rem;*/
  border-right: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-default) ease;
}

@media screen and (max-width: 600px) {
  .drawer__inner {
    position: absolute;
    height: calc(100% - 20px);
    max-width: calc(100vw - 20px);
  }
}

.drawer__inner-empty {
  height: 100%;
  padding: 0 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cart-drawer__warnings {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

cart-drawer.is-empty .drawer__inner {
  display: grid;
  grid-template-rows: 1fr;
  align-items: center;
  padding: 0;
}

cart-drawer.is-empty .drawer__header {
  display: none;
}

cart-drawer:not(.is-empty) .cart-drawer__warnings,
cart-drawer:not(.is-empty) .cart-drawer__collection {
  display: none;
}

.cart-drawer__warnings--has-collection .cart__login-title {
  margin-top: 2.5rem;
}

.drawer.active .drawer__inner {
  transform: translateX(0);
}

.drawer__header {
  position: relative;
  border-bottom: 0px solid
    rgba(var(--color-foreground), var(--inputs-border-opacity));
}

.drawer__heading {
  margin: 0;
}

.cart-count {
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  padding: 0.5rem 1.2rem;
  border-radius: 100%;
  font-size: 12px;
  height: 23px;
  width: 23px;
  text-wrap: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drawer__close {
  display: inline-block;
  padding: 0;
  min-width: 3.4rem;
  min-height: 3.4rem;
  position: absolute;
  top: 3px;
  right: 5px;
  background: transparent;
  border: none;
  color: currentColor;
  cursor: pointer;
  border-radius: 50px;
}

.cart-drawer__warnings .drawer__close {
  right: 5px;
}

.drawer__close svg {
  height: 1.4rem;
  width: 1.4rem;
}

.drawer__contents {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.drawer__footer {
  box-shadow: 0 0 0.1rem rgba(var(--color-foreground), 0.3);
  padding: 0rem 2rem 2rem 2rem;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

cart-drawer-items.is-empty + .drawer__footer {
  display: none;
}

/*.drawer__footer > details {
  margin-top: -1.5rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.2);
}*/

.drawer__footer > details {
  margin-bottom: 1rem;
}

.drawer__footer > details[open] {
  padding-bottom: 1.5rem;
}

.drawer__footer summary {
  display: flex;
  position: relative;
  line-height: 1;
  padding: 1.5rem;
}

.drawer__footer > details + .cart-drawer__footer {
  padding-top: 1.5rem;
}

cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
}

.cart-drawer__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.cart-drawer__overlay:empty {
  display: block;
}

.cart-drawer__form {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
}

.cart-drawer__collection {
  margin: 0 2.5rem 1.5rem;
}

.cart-drawer .drawer__cart-items-wrapper {
  flex-grow: 1;
  padding: 0 2rem;
}

.cart-drawer .cart-items,
.cart-drawer tbody {
  display: block;
  width: 100%;
}

.cart-drawer thead {
  display: inline-table;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 2;
}

cart-drawer-items {
  overflow: auto;
  flex: 1;
}

@media screen and (max-height: 650px) {
  cart-drawer-items {
    overflow: visible;
  }

  .drawer__inner {
    overflow: scroll;
  }
}

.cart-drawer .cart-item {
  display: grid;
  grid-template: repeat(1, auto) / repeat(4, 1fr);
  column-gap: 0.5rem;
  row-gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #f2f2f2;
}

.cart-drawer .cart-item__media {
  grid-row: 1 / 3;
}

/* APENAS para produtos JÁ NO CARRINHO (não crosssell) */
.cart-drawer .cart-items .cart-item__image {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--media-radius);
  display: block !important;
}

/* Container da imagem para itens do carrinho */
.cart-drawer .cart-items .cart-item__media {
  width: 80px !important;
  height: 90px !important;
  overflow: hidden !important;
  border-radius: var(--media-radius);
  flex-shrink: 0 !important;
}

/* Para mobile - apenas itens do carrinho */
@media screen and (max-width: 600px) {
  .cart-drawer .cart-items .cart-item__image {
    width: 60px !important;
    height: 60px !important;
  }

/* Garantir que crosssell mantenha formato original */
.cart-drawer .cart-drawer-upsell-list-item .cart-item__image,
.cart-drawer .upsell .cart-item__image {
  max-width: 100% !important;
}

  
  .cart-drawer .cart-item__media {
    width: 60px !important;
    height: 60px !important;
  }
}

.cart-drawer .cart-items thead {
  margin-bottom: 0.5rem;
}

.cart-drawer .cart-items thead th:first-child,
.cart-drawer .cart-items thead th:last-child {
  width: 0;
  padding: 0;
}

.cart-drawer .cart-items thead th:nth-child(2) {
  width: 50%;
  padding-left: 0;
}

.cart-drawer .cart-items thead tr {
  display: table-row;
  margin-bottom: 0;
}

.cart-drawer .cart-items th {
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.cart-drawer .cart-item:last-child {
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.cart-drawer .cart-item .loading__spinner {
  right: 5px;
  padding-top: 2.5rem;
}

.cart-drawer .cart-items td {
  padding-top: 1.2rem;
}

.cart-drawer .cart-item > td + td {
  padding-left: 0rem;
}

.cart-drawer .cart-item__details {
  width: auto;
  grid-column: 2 / 4;
}

.cart-drawer .cart-item__totals {
  pointer-events: auto;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-content: space-between;
 /* grid-column: 4 / 6;*/
}

.cart-drawer.cart-drawer .cart-item__price-wrapper > *:only-child {
  margin-top: 0;
}

.cart-drawer .cart-item__price-wrapper .cart-item__discounted-prices {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-drawer .unit-price {
  margin-top: 0.6rem;
}

.cart-drawer .cart-items .cart-item__quantity {
  padding-top: 0;
  grid-column: 2 / 5;
}

@media screen and (max-width: 749px) {
  .cart-drawer .cart-item cart-remove-button {
    margin-left: 0;
  }
}

.cart-drawer__footer > * + * {
  margin-top: 0.5rem;
}

.cart-drawer .totals {
  justify-content: space-between;
}

.cart-drawer .price {
  line-height: 1;
}

.cart-drawer .tax-note {
  margin: 1.2rem 0 1rem auto;
  text-align: left;
}

.cart-drawer .product-option dd {
  word-break: break-word;
  opacity: 0.6;
}

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

.cart-drawer .cart__checkout-button {
  max-width: none;
  font-size: : small;
  text-transform: uppercase;
}

.drawer__footer .cart__dynamic-checkout-buttons {
  max-width: 100%;
}

.drawer__footer #dynamic-checkout-cart ul {
  flex-wrap: wrap !important;
  flex-direction: row !important;
  margin: 0.5rem -0.5rem 0 0 !important;
  gap: 0.5rem;
}

.drawer__footer [data-shopify-buttoncontainer] {
  justify-content: flex-start;
}

.drawer__footer #dynamic-checkout-cart ul > li {
  flex-basis: calc(50% - 0.5rem) !important;
  margin: 0 !important;
}

.drawer__footer #dynamic-checkout-cart ul > li:only-child {
  flex-basis: 100% !important;
  margin-right: 0.5rem !important;
}

@media screen and (min-width: 750px) {
  .drawer__footer #dynamic-checkout-cart ul > li {
    flex-basis: calc(100% / 3 - 0.5rem) !important;
    margin: 0 !important;
  }

  .drawer__footer #dynamic-checkout-cart ul > li:first-child:nth-last-child(2),
  .drawer__footer
    #dynamic-checkout-cart
    ul
    > li:first-child:nth-last-child(2)
    ~ li,
  .drawer__footer #dynamic-checkout-cart ul > li:first-child:nth-last-child(4),
  .drawer__footer
    #dynamic-checkout-cart
    ul
    > li:first-child:nth-last-child(4)
    ~ li {
    flex-basis: calc(50% - 0.5rem) !important;
  }
}

cart-drawer-items::-webkit-scrollbar {
  width: 3px;
}

cart-drawer-items::-webkit-scrollbar-thumb {
  background-color: rgba(var(--color-foreground), 0.7);
  border-radius: 100px;
}

cart-drawer-items::-webkit-scrollbar-track-piece {
  margin-top: 31px;
}

.cart-drawer .quantity-popover-container {
  padding: 0;
  zoom: 0.7;
}

.cart-drawer .quantity-popover__info.global-settings-popup {
  transform: translateY(0);
  right: 0;
}

.cart-drawer .cart-item__error {
  margin-top: 0.8rem;
}

.cart-drawer .quantity-popover__info + .cart-item__error {
  margin-top: 0.2rem;
}

@media screen and (min-width: 750px) {
  .cart-drawer .cart-item__quantity--info quantity-popover > * {
    padding-left: 0;
  }

  .cart-drawer .cart-item__error {
    margin-left: 0;
  }
}



/* SELETOR DE QUANTIDADE MINIMALISTA NO CART DRAWER */
.cart-drawer-mini-quantity {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgb(199 199 199 / 19%);
  border: 1px solid rgba(var(--color-foreground), 0.08);
  border-radius: 8px;
  padding: 2px;
  margin-right: 8px;
  width: fit-content;
}

.mini-qty-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: rgba(var(--color-foreground), 0.7);
  width: 24px;
  height: 24px;
  min-width: 24px;
}

.mini-qty-btn:hover {
  background: rgba(var(--color-foreground), 0.08);
  color: rgb(var(--color-foreground));
}

.mini-qty-btn:active {
  background: rgba(var(--color-foreground), 0.12);
  transform: scale(0.95);
}

.mini-qty-btn svg {
  width: 10px;
  height: 10px;
}

.mini-qty-display {
  font-size: 13px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
  color: rgb(var(--color-foreground));
  padding: 0 4px;
  line-height: 1;
}

/* Ajustar layout do wrapper para acomodar o novo seletor */
.cart-drawer-quantity-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.quantity-popover-container {
  display: flex;
  align-items: center;
}

/* Garantir que o botão de remover mantenha seu estilo */
.cart-remove-button {
  flex-shrink: 0;
}

.cart-remove-button .button {
  padding: 6px;
  min-width: 32px;
  min-height: 32px;
}

/* Mobile: tornar ainda mais compacto */
@media screen and (max-width: 768px) {
  .cart-drawer-mini-quantity {
    gap: 2px;
    padding: 1px;
    border-radius: 6px;
  }
  
  .mini-qty-btn {
    width: 22px;
    height: 28px;
    min-width: 25px;
    padding: 5px;
    border-radius: 5px;
  }
  
  .mini-qty-btn svg {
    width: 9px;
    height: 9px;
  }
  
  .mini-qty-display {
    font-size: 16px;
    min-width: 40px;
    padding: 0 3px;
  }
  
}

/* Estilo para quando o item está sendo carregado */
.cart-item.loading .cart-drawer-mini-quantity {
  opacity: 0.6;
  pointer-events: none;
}

/* Hover states mais suaves */
.cart-drawer-mini-quantity:hover {
  border-color: rgba(var(--color-foreground), 0.12);
  background: rgba(var(--color-foreground), 0.06);
}

/* Focus states para acessibilidade */
.mini-qty-btn:focus {
  outline: 2px solid rgba(var(--color-foreground), 0.3);
  outline-offset: 1px;
}

/* Preço atual em salmão quando há oferta */
.cart-drawer .product-option:has(s) {
  color: #FA9178 !important; /* Cor salmão */
}

.cart-drawer .price:has(+ s),
.cart-drawer .price:has(s) {
  color: #FA9178 !important; /* Cor salmão */
}

/* Para o preço final quando há desconto */
.cart-drawer .cart-item__final-price {
  color: #FA9178 !important; /* Cor salmão */
}

/* Garantir que o preço riscado continue cinza */
.cart-drawer .product-option s,
.cart-drawer #cart-item-count,
.cart-drawer .cart-item__old-price {
  color: #999 !important;
  font-size: 10px !important;
  opacity: 0.7;
}
/* Esconder APENAS o preço abaixo do título, manter SKUs/variantes */
.cart-drawer .cart-item__details > .product-option:not(:has(dt)):not(:has(dd)),
.cart-drawer .cart-item__details > .cart-item__discounted-prices {
  display: none !important;
}

/* OU versão mais específica: */
.cart-drawer .cart-item__details .product-option:not([class*="variant"]):not(:has(dt)) {
  display: none !important;
}

/* Parcelamento no cart drawer - SEM AFETAR BOTÃO */
.cart-drawer-installments {
  font-family: inherit;
  font-size: 14px;
  color: Black;
  margin: 8px 0 0 0; /* SÓ margin-top */
  text-align: right;
  font-style: normal;
  /* NÃO usar margin-bottom para não afetar botão */
}

.cart-drawer-installments strong {
  color: #FA9178;
  font-weight: 600;
}

/* Garantir que o botão mantenha seu espaçamento */
.cart__ctas {
  margin-top: 1.5rem !important; /* Preservar espaçamento */
}


/* ✅ CORREÇÃO DO SCROLLBAR SHIFT */
html.overflow-hidden {
  overflow: hidden !important;
  padding-right: var(--scrollbar-width, 0px);
}

html.overflow-hidden body {
  overflow: hidden !important;
  position: relative;
}

/* ✅ CORREÇÃO DO Z-INDEX DO DRAWER */
cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
  pointer-events: none;
}

cart-drawer.active {
  pointer-events: all;
}

.cart-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.drawer__inner {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 9999;
  overflow-y: auto;
}

/* Garantir que nada fique sobre o drawer */
cart-drawer.active ~ *,
cart-drawer.active + * {
  z-index: auto !important;
}


</style>