/* === Raw Cream Co. — Mini Cart Sidebar v2.0 === */

/* Oculta painel nativo do Elementor */
.elementor-menu-cart__main,
.elementor-menu-cart__container {
    display: none !important;
}

/* Overlay */
#raw-cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
    cursor: pointer;
}
#raw-cart-overlay.active { display: block; }

/* Painel lateral */
#raw-mini-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 33.333vw;
    min-width: 320px;
    max-width: 480px;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -4px 0 32px rgba(0,0,0,0.15);
    overflow: hidden;
}
#raw-mini-cart.active { transform: translateX(0); }

/* Header */
.raw-cart-header {
    background: #181818;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.raw-cart-header > span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.raw-cart-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.raw-cart-count {
    background: #ffffff;
    color: #181818;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
#raw-cart-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: opacity 0.2s;
}
#raw-cart-close:hover { opacity: 0.7; }

/* Area de itens */
#raw-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 0;
    display: flex;
    flex-direction: column;
}
#raw-cart-content::-webkit-scrollbar { width: 4px; }
#raw-cart-content::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }

/* Carrinho vazio */
.raw-cart-empty {
    text-align: center;
    padding: 48px 20px;
    color: #888888;
    font-size: 13px;
}

/* Item */
.raw-cart-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 0.5px solid #eeeeee;
}
.raw-cart-item:last-child { border-bottom: none; }

/* Imagem */
.raw-item-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}
.raw-item-img img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    display: block;
}

/* Info */
.raw-cart-info { flex: 1; min-width: 0; }
.raw-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #181818;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controles */
.raw-cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.raw-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #dddddd;
    border-radius: 6px;
    overflow: hidden;
}
.raw-qty-btn {
    width: 26px;
    height: 26px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.15s;
}
.raw-qty-btn:hover { background: #e8e8e8; }
.raw-qty-num {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #181818;
    background: #ffffff;
    user-select: none;
}
.raw-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #181818;
}

/* Botao remover */
.raw-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    margin-top: 2px;
    opacity: 0.35;
    transition: opacity 0.2s;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
}
.raw-remove:hover { opacity: 0.75; }
.raw-remove svg { width: 14px; height: 14px; display: block; }

/* Footer */
.raw-cart-footer {
    padding: 12px 14px 20px;
    flex-shrink: 0;
    border-top: 0.5px solid #eeeeee;
}
.raw-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.raw-cart-subtotal-label {
    font-size: 13px;
    color: #181818;
    font-weight: 400;
}
.raw-cart-total {
    font-size: 14px;
    font-weight: 600;
    color: #181818;
}
.btn-checkout {
    display: block;
    background: #181818 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 13px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    margin-bottom: 6px;
    transition: background 0.2s;
    box-sizing: border-box;
}
.btn-checkout:hover { background: #333333 !important; color: #ffffff !important; }
.btn-cart {
    display: block;
    background: transparent !important;
    color: #181818 !important;
    border: none;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.btn-cart:hover { opacity: 0.6; color: #181818 !important; }

/* ================================================
   PÁGINA DO CARRINHO — RAW CREAM CO.
   ================================================ */

/* Two-column layout: items left, sidebar right */
.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 1fr 320px !important;
    gap: 2.5rem !important;
    align-items: start;
}

.woocommerce-cart .eael-cart-clear-btn {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
}

.woocommerce-cart .shop_table.eael-woo-cart,
.woocommerce-cart .woocommerce-cart-form__contents {
    grid-column: 1 !important;
    border: none !important;
}

.woocommerce-cart .eael-cart-coupon-and-collaterals {
    grid-column: 2 !important;
    position: sticky;
    top: 100px;
}

.woocommerce-cart .eael-cart-coupon-wrapper { display: none !important; }

/* Cart table header */
.woocommerce-cart .eael-woo-cart-thead {
    border-bottom: 1.5px solid #181818 !important;
    padding-bottom: 0.75rem !important;
}
.woocommerce-cart .eael-woo-cart-thead .eael-woo-cart-th {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    color: #888 !important;
    text-transform: uppercase !important;
}

/* Item rows */
.woocommerce-cart .eael-woo-cart-tr {
    display: flex !important;
    align-items: center !important;
    padding: 1.25rem 0 !important;
    border-bottom: 0.5px solid rgba(0,0,0,0.07) !important;
    border-top: none !important;
    gap: 1rem !important;
    background: transparent !important;
}
.woocommerce-cart .eael-woo-cart-tr-left { flex: 0 0 auto !important; }
.woocommerce-cart .eael-woo-cart-tr-right {
    display: flex !important;
    flex: 1 !important;
    align-items: center !important;
    gap: 1rem !important;
}

/* Product image */
.woocommerce-cart .product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #f5f5f5 !important;
    padding: 4px !important;
    display: block !important;
}

/* Product name */
.woocommerce-cart .product-name { flex: 1 !important; }
.woocommerce-cart .product-name a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #181818 !important;
    text-decoration: none !important;
    letter-spacing: 0.02em !important;
}
.woocommerce-cart .product-name a:hover { opacity: 0.7 !important; }

/* Unit price */
.woocommerce-cart .product-price {
    font-size: 13px !important;
    color: #888 !important;
    white-space: nowrap !important;
}
.woocommerce-cart .product-price .woocommerce-Price-amount { color: #888 !important; }

/* Quantity controls */
.woocommerce-cart .product-quantity .quantity {
    display: flex !important;
    align-items: center !important;
    border: 0.5px solid rgba(0,0,0,0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    width: fit-content !important;
    background: #fff !important;
}
.woocommerce-cart .product-quantity .qty-minus,
.woocommerce-cart .product-quantity .qty-plus {
    width: 28px !important; height: 28px !important;
    background: none !important; border: none !important;
    cursor: pointer !important; font-size: 16px !important;
    color: #181818 !important; padding: 0 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    line-height: 1 !important;
}
.woocommerce-cart .product-quantity .qty-minus:hover,
.woocommerce-cart .product-quantity .qty-plus:hover { background: #f5f5f5 !important; }
.woocommerce-cart .product-quantity input.qty {
    width: 32px !important; height: 28px !important;
    text-align: center !important; border: none !important;
    border-left: 0.5px solid rgba(0,0,0,0.12) !important;
    border-right: 0.5px solid rgba(0,0,0,0.12) !important;
    border-radius: 0 !important; font-size: 13px !important;
    font-weight: 500 !important; padding: 0 !important;
    background: #fff !important; -moz-appearance: textfield !important;
    -webkit-appearance: none !important; box-shadow: none !important;
}
.woocommerce-cart .product-quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart .product-quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none !important; }

/* Subtotal */
.woocommerce-cart .product-subtotal {
    font-size: 14px !important; font-weight: 500 !important;
    color: #181818 !important; white-space: nowrap !important;
    text-align: right !important;
}
.woocommerce-cart .product-subtotal .woocommerce-Price-amount { color: #181818 !important; }

/* Remove / trash button */
.woocommerce-cart .product-remove a {
    color: transparent !important; font-size: 0 !important;
    width: 28px !important; height: 28px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 4px !important; background: none !important;
}
.woocommerce-cart .product-remove a::after {
    content: '';
    display: block; width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6M14 11v6M9 6V4h6v2'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.woocommerce-cart .product-remove a:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6M14 11v6M9 6V4h6v2'/%3E%3C/svg%3E");
}

/* Back / continue shopping btn */
.woocommerce-cart .eael-woo-cart-back-btn {
    font-size: 12px !important; color: #888 !important;
    text-transform: uppercase !important; letter-spacing: 0.08em !important;
    text-decoration: none !important;
}
.woocommerce-cart .eael-woo-cart-back-btn:hover { color: #181818 !important; }

/* ---- TOTALS SIDEBAR ---- */
.woocommerce-cart .cart_totals {
    background: #181818 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    color: #fff !important;
}
.woocommerce-cart .cart_totals > h2 {
    font-size: 13px !important; font-weight: 500 !important;
    text-transform: uppercase !important; letter-spacing: 0.1em !important;
    color: rgba(255,255,255,0.55) !important; margin-bottom: 1.25rem !important;
}
.woocommerce-cart .cart_totals .shop_table {
    border: none !important; background: transparent !important;
    width: 100% !important; margin-bottom: 1rem !important;
}
.woocommerce-cart .cart_totals .shop_table th,
.woocommerce-cart .cart_totals .shop_table td {
    font-size: 13px !important; color: rgba(255,255,255,0.8) !important;
    padding: 5px 0 !important; border: none !important;
    background: transparent !important; vertical-align: middle !important;
}
.woocommerce-cart .cart_totals .shop_table .order-total th,
.woocommerce-cart .cart_totals .shop_table .order-total td {
    font-size: 19px !important; font-weight: 500 !important;
    color: #fff !important; padding-top: 12px !important;
    border-top: 0.5px solid rgba(255,255,255,0.15) !important;
}
.woocommerce-cart .cart_totals .woocommerce-Price-amount { color: inherit !important; }

/* Shipping calculator */
.woocommerce-cart .cart_totals .shipping th,
.woocommerce-cart .cart_totals .shipping td { vertical-align: top !important; }
.woocommerce-cart .cart_totals .shipping-calculator-button {
    font-size: 11px !important; color: rgba(255,255,255,0.4) !important;
    text-decoration: underline !important; background: none !important;
    border: none !important; padding: 0 !important; cursor: pointer !important;
    text-transform: uppercase !important; letter-spacing: 0.06em !important;
}
.woocommerce-cart .cart_totals .shipping-calculator-form p input,
.woocommerce-cart .cart_totals .shipping-calculator-form p select {
    background: rgba(255,255,255,0.08) !important;
    border: 0.5px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important; color: #fff !important;
    padding: 7px 10px !important; font-size: 12px !important; width: 100% !important;
}
.woocommerce-cart .cart_totals .shipping-calculator-form p .button {
    background: #fff !important; color: #181818 !important;
    border: none !important; border-radius: 6px !important;
    font-size: 11px !important; font-weight: 500 !important;
    text-transform: uppercase !important; letter-spacing: 0.06em !important;
    padding: 8px 14px !important;
}

/* Checkout button */
.woocommerce-cart .wc-proceed-to-checkout { padding: 0 !important; margin-top: 0.5rem !important; }
.woocommerce-cart .checkout-button.button {
    display: block !important; width: 100% !important;
    background: #fff !important; color: #181818 !important;
    border: none !important; border-radius: 8px !important;
    padding: 13px 16px !important; font-size: 13px !important;
    font-weight: 600 !important; text-transform: uppercase !important;
    letter-spacing: 0.1em !important; text-align: center !important;
    text-decoration: none !important; cursor: pointer !important;
    transition: opacity 0.15s !important; margin-bottom: 0 !important;
}
.woocommerce-cart .checkout-button.button:hover { opacity: 0.9 !important; color: #181818 !important; }

/* Trust footer inside sidebar */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout::after {
    content: "Pagamento seguro  ·  Pix · Cartão · Boleto";
    display: block; font-size: 10px;
    color: rgba(255,255,255,0.3); text-align: center;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 0.5px solid rgba(255,255,255,0.1);
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---- UPSELL SECTION ---- */
.raw-cart-upsell {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid rgba(0,0,0,0.08);
}
.raw-upsell-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1rem;
}
.raw-upsell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.raw-upsell-card {
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px;
    transition: border-color 0.15s;
}
.raw-upsell-card:hover { border-color: #181818; }
.raw-upsell-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raw-upsell-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.raw-upsell-img span {
    font-size: 22px;
    font-weight: 700;
    color: #ccc;
}
.raw-upsell-name {
    font-size: 12px;
    font-weight: 500;
    color: #181818;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.raw-upsell-price {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}
.raw-upsell-add {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.15s;
}
.raw-upsell-add:hover { color: #181818; }

/* ---- CONTINUAR COMPRANDO (inside sidebar) ---- */
.raw-continue-shopping {
    display: block;
    width: 100%;
    background: transparent !important;
    color: #fff !important;
    border: 0.5px solid rgba(255,255,255,0.3) !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    text-decoration: none !important;
    margin-top: 8px !important;
    cursor: pointer;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.raw-continue-shopping:hover {
    border-color: rgba(255,255,255,0.6) !important;
    color: #fff !important;
}

/* Grid placement fixes */
.woocommerce-cart .raw-cart-upsell {
    grid-column: 1 !important;
    grid-row: 3 !important;
}
.woocommerce-cart .eael-cart-coupon-and-collaterals {
    grid-column: 2 !important;
    grid-row: 2 / span 2 !important;
}
/* Remove excessive empty space from Elementor section */
.woocommerce-cart .elementor-widget-container { padding: 0 !important; }
.woocommerce-cart .e-con, .woocommerce-cart .elementor-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* ============================================================
   MINI CARRINHO RAW — Drawer lateral (1/3 da tela)
   Cola no FINAL do CSS Adicional.
   Cobre: Elementor Pro Menu Cart + widget padrão WooCommerce
   ============================================================ */

/* ---------- 1. WRAPPER / DIMENSÕES (1/3 da tela) ---------- */

/* Elementor Pro Menu Cart */
/* === FIX 2026-04-29: regras antigas de .elementor-menu-cart__wrapper removidas. Estavam aplicando estilo de painel lateral (largura, fundo branco, sombra) no container errado, fazendo o painel aparecer permanentemente. O painel real e o .elementor-menu-cart__container, que ja vem corretamente configurado pelo Elementor Pro. === */

.elementor-menu-cart__container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 0 !important;
}

.elementor-menu-cart__main {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Overlay escuro atrás do drawer */
.elementor-menu-cart__close-button-wrapper,
.elementor-menu-cart__overlay {
  background: rgba(24,24,24,.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* Mobile: full width */
@media (max-width: 767px) {
  .elementor-menu-cart__wrapper {
    width: 100vw !important;
    min-width: 100vw !important;
  }
}

/* ---------- 2. HEADER PRETO ---------- */
.elementor-menu-cart__main::before {
  content: "MEU CARRINHO" !important;
  display: block !important;
  background: #181818 !important;
  color: #FFFFFF !important;
  padding: 22px 24px !important;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Botão de fechar (X) em cima do header */
.elementor-menu-cart__close-button,
.elementor-menu-cart__toggle-wrapper .elementor-menu-cart__close-button {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 3 !important;
  background: transparent !important;
  border: 0 !important;
  color: #FFFFFF !important;
  opacity: .9 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity .2s !important;
  cursor: pointer !important;
}

.elementor-menu-cart__close-button:hover {
  opacity: 1 !important;
}

.elementor-menu-cart__close-button i,
.elementor-menu-cart__close-button svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
  font-size: 18px !important;
}

/* ---------- 3. LISTA DE ITENS ---------- */
.widget_shopping_cart_content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
}

.woocommerce-mini-cart,
ul.cart_list,
ul.product_list_widget {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Scrollbar sutil */
.woocommerce-mini-cart::-webkit-scrollbar {
  width: 6px;
}
.woocommerce-mini-cart::-webkit-scrollbar-track {
  background: transparent;
}
.woocommerce-mini-cart::-webkit-scrollbar-thumb {
  background: #E6E6DC;
  border-radius: 3px;
}

/* Cada item */
.woocommerce-mini-cart__item,
li.woocommerce-mini-cart-item,
ul.cart_list li.mini_cart_item {
  display: grid !important;
  grid-template-columns: 80px 1fr auto !important;
  gap: 14px !important;
  padding: 18px 24px !important;
  border-bottom: 1px solid #E6E6DC !important;
  align-items: start !important;
  list-style: none !important;
  position: relative !important;
}

ul.cart_list li.mini_cart_item:last-child,
.woocommerce-mini-cart__item:last-child {
  border-bottom: 0 !important;
}

/* Foto do item */
.woocommerce-mini-cart__item a img,
ul.cart_list li a img,
li.mini_cart_item img {
  width: 120px !important;
  height: 160px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  background: #F1F1E7 !important;
  margin: 0 !important;
  float: none !important;
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
}

/* Link do título (o nome do produto) */
.woocommerce-mini-cart__item > a,
ul.cart_list li > a {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #181818 !important;
  text-decoration: none !important;
  letter-spacing: .01em !important;
  padding-right: 24px !important;
}

.woocommerce-mini-cart__item > a:hover {
  color: #BF2E26 !important;
}

/* Variante (tam/cor) */
.variation,
dl.variation {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: 11px !important;
  color: #7A7A72 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  margin: 4px 0 0 0 !important;
}

.variation dt,
.variation dd {
  display: inline !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.variation dt::after {
  content: " " !important;
}

/* Quantidade — linha com preço */
.quantity {
  grid-column: 2 !important;
  grid-row: 3 !important;
  font-size: 13px !important;
  color: #2A2A2A !important;
  margin-top: 8px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.quantity .amount {
  font-weight: 700 !important;
  color: #181818 !important;
  font-size: 14px !important;
}

/* Botão remover (X) */
.woocommerce-mini-cart__item a.remove,
ul.cart_list li a.remove,
a.remove_from_cart_button {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 26px !important;
  height: 26px !important;
  background: transparent !important;
  color: #7A7A72 !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: .7 !important;
  transition: all .18s !important;
  position: static !important;
  margin: 0 !important;
}

.woocommerce-mini-cart__item a.remove:hover,
ul.cart_list li a.remove:hover,
a.remove_from_cart_button:hover {
  color: #BF2E26 !important;
  background: rgba(191,46,38,.08) !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- 4. FOOTER (subtotal + CTAs) ---------- */
.woocommerce-mini-cart__total,
p.woocommerce-mini-cart__total,
.woocommerce-mini-cart__total.total {
  flex-shrink: 0 !important;
  padding: 18px 24px 8px !important;
  margin: 0 !important;
  background: #FAFAF6 !important;
  border-top: 1px solid #E6E6DC !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-size: 16px !important;
  color: #181818 !important;
}

.woocommerce-mini-cart__total strong {
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  color: #181818 !important;
}

.woocommerce-mini-cart__total .amount,
.woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #181818 !important;
}

/* Botões (Ver carrinho + Concluir) */
.woocommerce-mini-cart__buttons,
p.woocommerce-mini-cart__buttons.buttons {
  flex-shrink: 0 !important;
  background: #FAFAF6 !important;
  padding: 8px 24px 22px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1.3fr !important;
  gap: 10px !important;
}

.woocommerce-mini-cart__buttons a,
.woocommerce-mini-cart__buttons .button,
p.woocommerce-mini-cart__buttons .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 16px !important;
  border-radius: 10px !important;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  border: 1px solid transparent !important;
  transition: all .22s cubic-bezier(.2,.7,.2,1) !important;
  text-decoration: none !important;
  margin: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
}

/* "Ver carrinho" (secundário) */
.woocommerce-mini-cart__buttons a.wc-forward:not(.checkout),
.woocommerce-mini-cart__buttons .button:not(.checkout) {
  background: #FFFFFF !important;
  border-color: #181818 !important;
  color: #181818 !important;
  order: 1 !important;
}

.woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):hover {
  background: #181818 !important;
  color: #FFFFFF !important;
}

/* "Concluir" / Checkout (primário) */
.woocommerce-mini-cart__buttons a.checkout,
.woocommerce-mini-cart__buttons .checkout.wc-forward {
  background: #181818 !important;
  color: #FFFFFF !important;
  border-color: #181818 !important;
  order: 2 !important;
}

.woocommerce-mini-cart__buttons a.checkout:hover {
  background: #000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px -6px rgba(24,24,24,.35) !important;
}

.woocommerce-mini-cart__buttons a.checkout::after {
  content: " →" !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  margin-left: 4px !important;
}

/* ---------- 5. ESCONDER cupom e itens extras ---------- */
.woocommerce-mini-cart .coupon,
.widget_shopping_cart .coupon,
.elementor-menu-cart__main .coupon,
form.woocommerce-coupon-form,
.woocommerce-mini-cart__coupon,
[class*="coupon"].mini-cart {
  display: none !important;
}

/* Esconder mensagens WooCommerce nativas dentro do mini cart */
.elementor-menu-cart__main .woocommerce-mini-cart__empty-message ~ *,
.widget_shopping_cart .buttons .wc-forward:not(.checkout):not([href*="cart"]) {
  /* mantém só ver-carrinho e checkout */
}

/* ---------- 6. CARRINHO VAZIO ---------- */
.woocommerce-mini-cart__empty-message,
p.woocommerce-mini-cart__empty-message,
.cart_list li.empty {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 60px 28px !important;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  color: #7A7A72 !important;
  line-height: 1.5 !important;
  background: #FFFFFF !important;
  margin: 0 !important;
  font-style: normal !important;
}

.woocommerce-mini-cart__empty-message::before {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 18px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7A72' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4zM3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
}

.woocommerce-mini-cart__empty-message::after {
  content: "Ainda não tem nada por aqui." !important;
  display: block !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #7A7A72 !important;
}

/* ---------- 7. LOADING SPINNER (ajax update) ---------- */
.widget_shopping_cart.loading::before,
.woocommerce-mini-cart.loading::before {
  background: rgba(255,255,255,.85) !important;
}

/* ---------- 8. ÍCONE DO CARRINHO NO HEADER ---------- */
.elementor-menu-cart__toggle .elementor-button-text {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
}

.elementor-menu-cart__main {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
}

.elementor-menu-cart__toggle .elementor-button-icon-qty {
  background: #BF2E26 !important;
  color: #FFFFFF !important;
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  border-radius: 999px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;



/* ============================================================
   HOME — Uniformização grade de produtos (task #20)
   Alinha carousel e grid da home com o estilo da /produtos/
   ============================================================ */

/* 1. FIX OVERFLOW: HIDDEN no grid
   EAEL sobrescreve para visible !important com especificidade 0,5,2
   Usamos 0,6,2 para ganhar */
.eael-product-grid.eael-product-default.grid .woocommerce ul.products li.product,
.elementor-widget-eicon-woocommerce .eael-product-grid .woocommerce ul.products li.product {
  overflow: hidden !important;
}

/* 2. CAROUSEL — card base (igualar ao grid da /produtos/) */
.eael-woo-product-carousel-container .eael-product-carousel {
  position: relative !important;
  border-radius: 14px !important;
  border: 1px solid #E6E6DC !important;
  box-shadow: 0 1px 2px rgba(24,24,24,.04) !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  transition: all .28s cubic-bezier(.2,.7,.2,1) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

/* Hover no card do carousel */
.eael-woo-product-carousel-container .swiper-slide:hover .eael-product-carousel {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px -20px rgba(24,24,24,.22), 0 2px 6px rgba(24,24,24,.05) !important;
  border-color: #181818 !important;
}

/* Imagem do carousel — forçar aspect-ratio 1:1 como no grid */
.eael-woo-product-carousel-container .eael-product-carousel .product-image-wrap {
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.eael-woo-product-carousel-container .eael-product-carousel img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  background: #F1F1E7 !important;
  margin: 0 !important;
  transition: transform .5s cubic-bezier(.2,.7,.2,1) !important;
}

.eael-woo-product-carousel-container .swiper-slide:hover .eael-product-carousel img {
  transform: scale(1.04) !important;
}

/* Detalhes do produto no carousel */
.eael-woo-product-carousel-container .eael-product-carousel .product-details-wrap {
  padding: 16px 18px 18px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .eael-product-title a,
.eael-woo-product-carousel-container .eael-product-carousel .eael-product-title {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  color: #181818 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  display: block !important;
  margin: 0 0 6px !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .eael-product-title a:hover {
  color: #BF2E26 !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .eael-product-price,
.eael-woo-product-carousel-container .eael-product-carousel .price {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #181818 !important;
  margin: 0 !important;
  display: block !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .price del {
  color: #7A7A72 !important;
  font-weight: 400 !important;
  opacity: .6 !important;
  margin-right: 6px !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .price ins {
  text-decoration: none !important;
  color: #BF2E26 !important;
}
.eael-woo-product-carousel-container .eael-product-carousel .image-hover-wrap,
.eael-woo-product-carousel-container .eael-product-carousel .icons-wrap,
.eael-woo-product-carousel-container .eael-product-carousel .add_to_cart_button,
.eael-woo-product-carousel-container .eael-product-carousel .button,
.eael-woo-product-carousel-container .eael-product-carousel .eael-product-rating-wrap {
  display: none !important;
}
.eael-woo-product-carousel-container .eael-product-carousel::after {
  content: "VER PRODUTO →";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: #181818;
  color: #FFFFFF;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 2;
}
.eael-woo-product-carousel-container .swiper-slide:hover .eael-product-carousel::after {
  transform: translateY(0);
}
.eael-woo-product-carousel-container .swiper-slide {
  height: auto !important;
}