/* =====================================================================
   ATELIÊ ARTES DA CECI — CSS personalizado
   Cole TUDO no campo de CSS personalizado da loja (substituindo o atual).
   ===================================================================== */

:root {
  --ceci-creme: #FCF1E1;        /* fundo do topo */
  --ceci-fundo: #FFFDF9;        /* fundo da página */
  --ceci-rosa: #F5A0C8;         /* linhas tracejadas */
  --ceci-rosa-forte: #E85A8F;   /* lupa / hover */
  --ceci-azul-claro: #DCEDF8;   /* faixa do menu */
  --ceci-azul: #438BCB;         /* ícones */
  --ceci-azul-texto: #3E6E99;   /* links do menu */
  --ceci-marrom: #6B4A3A;       /* textos */
  --ceci-marrom-claro: #8C7A70;
}

body { background: var(--ceci-fundo); }

/* Regras que já existiam no seu CSS (mantidas) */
#footer-main .element-social-footer .social-footer-list .social-footer-item img { max-height: 20px; }
.element-banner-stripe #banner-stripe { justify-content: space-between; }
.element-banner-stripe #banner-stripe > li { flex: auto; }
.element-banner-stripe #banner-stripe > li img { max-height: 24px; }

/* ---------------- CABEÇALHO ---------------- */
#header-main {
  background: var(--ceci-creme);
  position: relative;
  z-index: 100;                 /* logo pode "invadir" a faixa do menu */
}
#header-main .container-12 {
  width: auto !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Barra superior + linha tracejada rosa */
#header-main .header-1 {
  padding: 8px 0 !important;
  border-bottom: 2px dashed var(--ceci-rosa);
}
#header-main .header-1,
#header-main .header-1 a { color: var(--ceci-marrom); font-size: 15px; }
#header-main .header-1 .menu-top-list li { margin-right: 28px; }
#header-main .header-1 a:hover { color: var(--ceci-rosa-forte); text-decoration: none; }
#header-main .header-1 .icon-phone,
#header-main .header-1 .info-time { display: none !important; }
#header-main .header-1 .info-inner { display: flex; justify-content: flex-end; align-items: center; }
#header-main .header-1 .info-phone::before {
  content: "|";
  color: var(--ceci-marrom);
  margin: 0 16px;
}

/* Linha logo / busca / usuário / sacola */
#header-main .header-2 { padding: 20px 0 !important; }
#header-main .header-2 .container-12 { display: flex; align-items: center; }

#header-main .header-2 .grid-logo {
  float: none; flex: 0 0 340px; width: 340px; margin: 0;
  height: 80px; position: relative;
}
#header-main .element-logo,
#header-main .logo { display: block !important; height: 80px; }
#header-main .logo a {
  position: absolute; top: -16px; left: 0;
  filter: drop-shadow(0 4px 6px rgba(107, 74, 58, .15));
}
/*
#header-main .logo img {
  width: 340px !important;
  height: auto !important;
  max-width: none !important;
}
*/
/* Busca em formato pílula */
#header-main .grid-search { float: none; flex: 1 1 auto; width: auto; margin: 0 40px 0 20px; }
#header-main .element-search { display: block !important; width: 100%; }
#header-main .search-inner { position: relative; }
#header-main #SearchFilter.search-field {
  height: 52px;
  border: 2px solid #F1DDD6 !important;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(107, 74, 58, .06);
  padding: 0 64px 0 26px;
  font-size: 20px;
  font-style: italic;
  color: var(--ceci-marrom);
}
#header-main #SearchFilter.search-field::placeholder { color: #A89890; font-style: italic; }
#header-main .btn-search {
  position: absolute !important;
  top: 4px !important; right: 8px !important; bottom: auto !important; left: auto !important;
  margin: 0 !important; transform: none !important;
  width: 44px; height: 44px; padding: 0;
  background: transparent !important;
}
#header-main .btn-search .icon-search {
  display: inline-block !important;
  width: 28px !important; height: 28px !important;
  -webkit-mask-size: contain; mask-size: contain;
  background-color: var(--ceci-rosa-forte) !important;
}
#header-main .btn-search .btn-text { display: none; }

/* Usuário e sacola */
#header-main .grid-shopping-cart { float: none; flex: 0 0 auto; width: auto; margin: 0; }
#header-main .list-shopping-cart { display: flex; align-items: center; gap: 34px; }
#header-main .user-info {
  display: flex !important; align-items: center !important; gap: 14px; padding: 0 !important;
}
#header-main .icon-user {
  position: static !important; flex: 0 0 48px;
  width: 48px !important; height: 48px !important;
  -webkit-mask-size: contain; mask-size: contain;
  background-color: var(--ceci-azul) !important;
}
#header-main .user-info-inner {
  position: static !important; margin: 0 !important;
  line-height: 1.35; font-size: 17px; color: var(--ceci-marrom-claro);
}
#header-main .user-title { font-family: lora_regular, Georgia, serif; font-size: 19px; color: var(--ceci-marrom); }
#header-main .user-info-inner a { color: var(--ceci-marrom-claro); }
#header-main .user-info-inner a:hover { color: var(--ceci-rosa-forte); text-decoration: none; }

#header-main .link-shopping-cart { position: relative; width: 40px; height: 44px; }
#header-main .icon-shopping-cart {
  width: 40px !important; height: 44px !important;
  -webkit-mask-size: contain; mask-size: contain;
  background-color: var(--ceci-azul) !important;
}
#header-main .shopping-cart-total-products-wrapper {
  right: -14px !important; bottom: -10px !important; top: auto !important; left: auto !important;
  width: 30px !important; height: 30px !important;
  background: var(--ceci-azul) !important;
  border: 3px solid #fff;
  box-sizing: border-box;
  display: flex !important; align-items: center; justify-content: center;
}
#header-main .shopping-cart-total-products {
  position: static !important; width: auto !important; height: auto !important;
  font-size: 15px; line-height: 1; color: #fff;
}

/* ---------------- MENU DE CATEGORIAS ---------------- */
#nav-main .element-menu-category {
  background: var(--ceci-azul-claro);
  margin-bottom: 0 !important;
}
#nav-main .element-menu-category .container-12,
#nav-main .element-menu-category .grid-12 {
  display: block !important;
  width: auto !important; max-width: 1400px;
  margin: 0 auto !important; padding: 0 !important;
  float: none !important;
}
#nav-main #menu-category .menu-category-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;   /* menu centralizado */
  align-items: center;
  gap: 18px;
  padding: 0 20px !important;
  box-sizing: border-box;
  min-height: 0 !important;
}
#nav-main #menu-category .menu-category-list > li {
  float: none !important; width: auto !important; flex: 0 0 auto !important;
}
#nav-main #menu-category .menu-category-list > li > a {
  font-family: lora_regular, Georgia, serif !important;
  font-size: 16.5px !important;
  color: var(--ceci-azul-texto) !important;
  padding: 22px 5px !important;
  white-space: nowrap;
  transition: color .2s;
}
#nav-main #menu-category .menu-category-list > li > a::before { color: var(--ceci-azul-texto) !important; }
#nav-main #menu-category .menu-category-list > li > a:hover {
  color: var(--ceci-rosa-forte) !important; text-decoration: none;
}

/* ---------------- BANNER PRINCIPAL ---------------- */
#nav-main .element-banner-main { margin-bottom: 0 !important; }
#nav-main .element-banner-main .container-12,
#nav-main .element-banner-main .grid-12 { width: 100% !important; margin: 0 !important; }
#nav-main .element-banner-main .bx-controls-direction a { opacity: 0; transition: opacity .3s; }
#nav-main .element-banner-main:hover .bx-controls-direction a { opacity: 1; }

/* Faixa de benefícios abaixo do banner */
#nav-main .element-banner-stripe {
  background: #fff;
  border-bottom: 2px dashed var(--ceci-rosa);
  padding: 12px 0;
  margin-bottom: 0 !important;
}
#banner-stripe p { color: var(--ceci-marrom); font-size: 14px; }

/* ---------------- CÍRCULOS DE CATEGORIAS ----------------
   (banners de vitrine sobem para logo abaixo do banner) */
#vitrine { display: flex !important; flex-direction: column; }
#vitrine > div[class^="element-"] { margin: 0 0 30px !important; }
#vitrine .element-banner-shop { order: -1; margin-top: 10px !important; }
#banner-shop {
  display: flex !important; justify-content: space-between; flex-wrap: nowrap;
  width: 100% !important; margin: 0 !important;
}
#banner-shop .banner-item {
  float: none !important; flex: 1 1 0; width: auto !important;
  padding: 0 6px; box-sizing: border-box; text-align: center;
}
#banner-shop .banner-item a { display: block; width: 100% !important; height: auto !important; }
#banner-shop .banner-item img {
  width: 100% !important; height: auto !important; max-width: 200px; margin: 0 auto;
  transition: transform .25s ease;
  filter: drop-shadow(0 4px 6px rgba(107, 74, 58, .12));
}
#banner-shop .banner-item a:hover img { transform: translateY(-4px) scale(1.04); }

/* Títulos das vitrines (Destaques, Mais vendidos...) */
#vitrine .header-box-content h2,
#vitrine .header-box-content .title-primary,
#vitrine .header-box-content .title-secundary {
  color: var(--ceci-azul-texto);
  font-family: lora_regular, Georgia, serif;
  font-size: 24px;
}

/* ---------------- TELAS MENORES ---------------- */
@media (max-width: 1340px) {
  #header-main .header-2 .grid-logo { flex-basis: 270px; width: 270px; }
  #header-main .logo img { width: 270px !important; }
  #nav-main #menu-category .menu-category-list {
    flex-wrap: wrap !important; justify-content: center !important;
    gap: 6px;
  }
  #nav-main #menu-category .menu-category-list > li > a { font-size: 15.5px !important; padding: 14px 8px !important; }
}
@media (max-width: 991px) {
  #header-main .header-2 .container-12 { flex-wrap: wrap; justify-content: center; }
  #header-main .header-2 .grid-logo { flex-basis: 100%; height: auto; text-align: center; }
  #header-main .element-logo, #header-main .logo { height: auto; }
  #header-main .logo a { position: static; display: inline-block; }
  #header-main .logo img { margin: 0 auto; }
  #banner-shop { flex-wrap: wrap; justify-content: center; }
  #banner-shop .banner-item { flex: 0 0 33.333%; margin-bottom: 12px; }
}