/* =========================================================================
   page-cart.css — identidade Atlantes na página /cart/ (bloco Carrinho do
   WooCommerce). Conservador: estiliza fundo, container, título, botão de
   finalização e a barra de ações (continuar/esvaziar), sem quebrar o bloco.
   ========================================================================= */
body.woocommerce-cart {
  background: #eef6fd;
}
.woocommerce-cart main.container,
.woocommerce-cart .wp-site-blocks > main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px 70px;
}
.woocommerce-cart h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #002b5c;
  line-height: 1.1;
  margin: 6px 0 22px;
}
.wp-block-woocommerce-cart.alignwide {
  max-width: none;
}

/* coluna de itens */
.wc-block-cart__main {
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 16px;
  padding: 8px 22px 4px;
  box-shadow: 0 10px 30px rgba(0,40,90,.05);
}
.wc-block-cart-items__header {
  color: #5d7085;
}
.wc-block-cart-item__product .wc-block-components-product-name {
  color: #0b1f33;
  font-weight: 700;
  text-decoration: none;
}

/* coluna de totais */
.wc-block-cart__sidebar .wc-block-components-sidebar {
  background: transparent;
}
.wc-block-cart__sidebar > div,
.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  background: #fff;
}
.wc-block-cart__sidebar {
  border: 1px solid #dcecf8;
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0,40,90,.05);
}
.wc-block-components-totals-item__label {
  color: #5d7085;
}

/* botão finalizar -> pill verde da marca */
.wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button {
  background: #16a34a !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  min-height: 52px !important;
  box-shadow: 0 12px 28px rgba(32,200,107,.22) !important;
  transition: filter .15s ease, transform .12s ease;
}
.wc-block-cart__submit-button:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* barra de ações (continuar comprando / esvaziar) */
.atl-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 16px 4px 0;
  border-top: 1px solid #eef3f9;
  font-family: 'Inter', system-ui, sans-serif;
}
.atl-cart-continue {
  color: #0066ff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.atl-cart-continue:hover {
  text-decoration: underline;
}
.atl-cart-clear {
  background: none;
  border: 1.5px solid #e0413a;
  color: #e0413a;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.atl-cart-clear:hover {
  background: #e0413a;
  color: #fff;
}
.atl-cart-clear[disabled] {
  opacity: .5;
  pointer-events: none;
}

/* =========================================================================
   CARRINHO VAZIO — funil branded (cards de experiência -> checkout direto)
   ========================================================================= */
.woocommerce-cart .wc-block-cart__empty-cart__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 30px !important;
  color: #002b5c !important;
}
.atl-empty-funnel {
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 1140px;
  margin: 6px auto 0;
  padding: 0 4px;
}
.atl-ef-sub {
  text-align: center;
  color: #5d7085;
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 34px;
}
.atl-ef-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.atl-ef-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dcecf8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,40,90,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.atl-ef-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0,40,90,.13);
}
.atl-ef-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.atl-ef-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atl-ef-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,43,92,.86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.atl-ef-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.atl-ef-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  color: #002b5c;
  line-height: 1.1;
  margin: 0 0 8px;
}
.atl-ef-copy {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5d7085;
  margin: 0 0 16px;
  flex: 1;
}
.atl-ef-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.atl-ef-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.atl-ef-price span {
  font-size: 11px;
  color: #8597a8;
  font-weight: 600;
}
.atl-ef-price strong {
  font-size: 20px;
  color: #002b5c;
  font-weight: 800;
}
.atl-ef-btn {
  flex-shrink: 0;
  background: #0066ff;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,102,255,.22);
  transition: filter .15s ease, transform .12s ease;
}
.atl-ef-btn:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}
.atl-ef-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 34px auto 0;
}
.atl-ef-trust span {
  font-size: 12.5px;
  font-weight: 600;
  color: #3a5571;
  background: #fff;
  border: 1px solid #dcecf8;
  padding: 8px 15px;
  border-radius: 999px;
}
@media (max-width: 900px) {
  .atl-ef-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .atl-ef-grid { grid-template-columns: 1fr; }
  .atl-ef-foot { flex-direction: column; align-items: stretch; }
  .atl-ef-btn { text-align: center; }
}

/* ícone do carrinho vazio -> ondas do mar (marca) num círculo suave, no lugar
   do sad-face padrão do WC. Profissional, sem ambiguidade. */
.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background-color: #e6f1ff !important;
  border-radius: 50% !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA2MCA0MCcgZmlsbD0nbm9uZScgc3Ryb2tlPScjMDA2NmZmJyBzdHJva2Utd2lkdGg9JzMuNCcgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJz48cGF0aCBkPSdNNiAxMiBxOCAtOCAxNiAwIHQxNiAwIHQxNiAwJy8+PHBhdGggZD0nTTYgMjIgcTggLTggMTYgMCB0MTYgMCB0MTYgMCcvPjxwYXRoIGQ9J002IDMyIHE4IC04IDE2IDAgdDE2IDAgdDE2IDAnLz48L3N2Zz4=") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 54% !important;
  width: 104px !important;
  height: 104px !important;
  margin: 0 auto 4px !important;
}
