/* ============================================================
   EROS — Estilo WooCommerce (compatível com tema de BLOCOS)
   Paleta: creme / preto / dourado · Cormorant + Inter
   Cobre os blocos novos (wc-block-*) e o layout clássico.
   ============================================================ */
:root{
  --eros-ink:#0A0A0A;
  --eros-ash:#6A6A6A;
  --eros-wire:#E8E8E8;
  --eros-cream:#FAFAF8;
  --eros-gold:#B8975A;
  --eros-gold-d:#96824a;
}

/* ────────────────────────────────────────────────
   TÍTULO DA PÁGINA (Loja) e cabeçalhos
   ──────────────────────────────────────────────── */
.wp-block-query-title,
.woocommerce-products-header__title,
h1.wp-block-post-title{
  font-family:'Cormorant Garamond',Georgia,serif !important;
  font-style:italic;font-weight:500 !important;
  font-size:clamp(2.2rem,5vw,3.2rem) !important;
  color:var(--eros-ink) !important;letter-spacing:-.01em;
}
.woocommerce-breadcrumb,.wc-block-breadcrumbs{
  font-size:.72rem !important;letter-spacing:.05em;color:var(--eros-ash) !important;
}
.woocommerce-result-count{color:var(--eros-ash) !important;font-size:.75rem !important}

/* ────────────────────────────────────────────────
   GRADE DE PRODUTOS — blocos novos (wc-block-product)
   ──────────────────────────────────────────────── */
.wc-block-product-template{gap:22px !important}

li.wc-block-product,
.wc-block-product-template .wc-block-product{
  background:#fff !important;
  border:1px solid var(--eros-wire) !important;
  border-radius:6px !important;
  padding:0 0 18px !important;
  overflow:hidden;
  transition:border-color .3s,box-shadow .3s,transform .3s;
  display:flex;flex-direction:column;
}
li.wc-block-product:hover{
  border-color:var(--eros-gold) !important;
  box-shadow:0 14px 40px rgba(184,151,90,.15) !important;
  transform:translateY(-3px);
}

/* imagem do produto */
li.wc-block-product .wc-block-components-product-image,
li.wc-block-product .wp-block-woocommerce-product-image{margin:0 0 12px !important}
li.wc-block-product .wc-block-components-product-image img,
li.wc-block-product img{
  width:100% !important;aspect-ratio:3/4;object-fit:cover !important;border-radius:0 !important;
}

/* título do produto */
li.wc-block-product .wp-block-post-title,
li.wc-block-product h3{
  font-family:'Cormorant Garamond',serif !important;
  font-style:normal !important;font-weight:500 !important;
  font-size:1.3rem !important;line-height:1.2 !important;
  padding:0 16px !important;margin:0 0 4px !important;color:var(--eros-ink) !important;
}
li.wc-block-product .wp-block-post-title a{color:var(--eros-ink) !important;text-decoration:none}
li.wc-block-product .wp-block-post-title a:hover{color:var(--eros-gold-d) !important}

/* preço */
li.wc-block-product .wc-block-components-product-price,
li.wc-block-product .woocommerce-Price-amount{
  color:var(--eros-gold-d) !important;font-weight:700 !important;font-size:1rem !important;
  padding:0 16px;
}
li.wc-block-product .wc-block-components-product-price{padding:2px 16px 10px !important}

/* ────────────────────────────────────────────────
   BOTÕES — blocos (wp-element-button) e clássicos
   Sobrescreve inclusive o border-radius inline (25px)
   ──────────────────────────────────────────────── */
li.wc-block-product .wp-block-button__link,
li.wc-block-product .wc-block-components-product-button__button,
li.wc-block-product a.add_to_cart_button,
li.wc-block-product button.add_to_cart_button,
.wc-block-components-product-button .wp-block-button__link{
  background-color:var(--eros-ink) !important;
  background-image:none !important;
  color:#fff !important;
  border:1.5px solid var(--eros-ink) !important;
  border-radius:2px !important;
  font-family:'Inter',sans-serif !important;
  font-size:.6rem !important;font-weight:700 !important;
  text-transform:uppercase !important;letter-spacing:.15em !important;
  padding:.85rem 1.4rem !important;
  transition:all .3s cubic-bezier(.16,1,.3,1) !important;
  margin:6px 16px 0 !important;width:calc(100% - 32px) !important;
}
li.wc-block-product .wp-block-button__link:hover,
li.wc-block-product .wc-block-components-product-button__button:hover,
li.wc-block-product a.add_to_cart_button:hover{
  background-color:var(--eros-gold) !important;border-color:var(--eros-gold) !important;color:#fff !important;
}
/* remove o estilo "outline" que o tema aplica */
.wc-block-components-product-button.is-style-outline .wp-block-button__link{
  border:1.5px solid var(--eros-ink) !important;background:var(--eros-ink) !important;color:#fff !important;
}

/* ────────────────────────────────────────────────
   ORDENAÇÃO (select) e notas
   ──────────────────────────────────────────────── */
.woocommerce-ordering select,.wc-block-catalog-sorting select{
  border:1.5px solid var(--eros-wire) !important;border-radius:6px !important;
  padding:8px 12px !important;font-size:.8rem;color:var(--eros-ink);background:#fff;
}
.wc-block-components-notice-banner,.woocommerce-message,.woocommerce-info{
  border-radius:6px !important;border-top:3px solid var(--eros-gold) !important;
}

/* ────────────────────────────────────────────────
   PÁGINA DO PRODUTO + CARRINHO + CHECKOUT (clássico)
   ──────────────────────────────────────────────── */
.woocommerce div.product .product_title{font-family:'Cormorant Garamond',serif !important;font-style:italic;font-size:2.4rem !important;color:var(--eros-ink)}
.woocommerce div.product p.price,.woocommerce div.product span.price,
.wc-block-components-product-price .wc-block-components-product-price__value{color:var(--eros-gold-d) !important;font-weight:700 !important}

.woocommerce #respond input#submit,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.wc-block-cart__submit-button,.wc-block-components-button.contained,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{
  background-color:var(--eros-ink) !important;color:#fff !important;
  border-radius:2px !important;text-transform:uppercase !important;
  letter-spacing:.14em !important;font-weight:700 !important;border:1.5px solid var(--eros-ink) !important;
}
.woocommerce .single_add_to_cart_button:hover,
.wc-block-components-button.contained:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover{
  background-color:var(--eros-gold) !important;border-color:var(--eros-gold) !important;
}
/* botão de finalizar em dourado */
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.wc-proceed-to-checkout .checkout-button{
  background-color:var(--eros-gold) !important;border-color:var(--eros-gold) !important;
}

/* campos de formulário */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.wc-block-components-text-input input{
  border:1.5px solid var(--eros-wire) !important;border-radius:3px !important;
}
.woocommerce form .form-row input.input-text:focus,
.wc-block-components-text-input input:focus{border-color:var(--eros-gold) !important;outline:none}

/* selo de promoção */
.woocommerce span.onsale,.wc-block-components-product-sale-badge{
  background:var(--eros-gold) !important;color:#fff !important;border-radius:0 !important;
  text-transform:uppercase;letter-spacing:.1em;font-size:.55rem;font-weight:700;
}

/* estrelas / links dourados */
.woocommerce .star-rating span{color:var(--eros-gold)}
