@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caacupe+One&display=swap');

*{margin:0;padding:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* ===== PALETA SOMENTE BRANCO + VERMELHO ===== */
:root{
  --primary-color:#C62828;      /* vermelho */
  --secondary-color:#FFFFFF;    /* branco (fundo) */
  --bg-elev:#FFFFFF;            /* superfícies */
  --bg-soft:#FFFFFF;            /* campos/pills */
  --text-color:#000;            /* texto principal */
  --text-muted:rgba(22, 21, 21, 0.8);
  --border-color:rgba(198,40,40,.20);
  --error-color:#C62828;        /* erros também em vermelho */
}

/* --- BASE --- */
body{
  font-family:'Montserrat',sans-serif;
  color:var(--text-color);
  background-color:var(--secondary-color);
  line-height:1.6;
}

h1,h2,h3,h4,.logo-text{
  font-family:'Cormorant Garamond',serif;
  font-weight:900;
  color:var(--text-color);
}

body.no-scroll{overflow:hidden;}

/* --- CABEÇALHO --- */
header{
  background:var(--secondary-color);
  position:sticky; top:0; z-index:990;
  padding:1rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-bottom:1px solid var(--border-color);
}

.logo{display:flex; align-items:center; gap:.75rem; text-decoration:none; cursor:pointer;}
.logo-image{
  width:56px; height:56px; border-radius:50%; object-fit:cover; display:block;
  border:2px solid var(--primary-color);
  background:#FFF;
}
.logo .logo-text{font-size:1.90rem; letter-spacing:1px; color:var(--primary-color); font-weight:bold; font-family: "Caacupe One", sans-serif;}

.search-container{
  width:100%; display:flex; align-items:center;
  background:var(--bg-soft);
  border:1px solid var(--border-color);
  border-radius:1.5rem; padding:.5rem 1rem;
  order:3; flex-basis:100%;
  transition:box-shadow .3s,border-color .3s;
}
.search-container:focus-within{
  box-shadow:0 0 0 3px rgba(198,40,40,.15);
  border-color:rgba(198,40,40,.45);
}
.search-container input{
  width:100%; border:none; background:none; outline:none;
  padding:.5rem; font-size:1rem; color:var(--text-color);
}
.search-container i{color:var(--primary-color); cursor:pointer;}

.cart-icon{position:relative; cursor:pointer; padding:.5rem; order:2;}
.cart-icon i{font-size:1.8rem; color:var(--primary-color);}
.cart-badge{
  position:absolute; top:0; right:0;
  background:var(--primary-color); color:#FFF;
  border-radius:50%; width:20px; height:20px;
  display:flex; justify-content:center; align-items:center;
  font-size:.8rem; font-weight:800; transform:translate(25%,-25%);
}

/* --- CATEGORIAS --- */
.categories-container{
  background:var(--secondary-color);
  display:flex; overflow-x:auto;
  border-bottom:1px solid var(--border-color);
}
.categories-bar{display:flex; justify-content:flex-start; align-items:center; padding:.75rem 1.5rem; gap:.75rem; width:100%;}
.category-btn{
  display:flex; gap:.5rem; align-items:center;
  border:1px solid var(--primary-color);
  color:var(--primary-color);
  border-radius:1.5rem; padding:.6rem 1.2rem; cursor:pointer;
  background:#FFF; white-space:nowrap;
  font-size:.9rem; font-weight:700;
  transition:all .2s;
}
.category-btn i{font-size:1rem;}
.category-btn:hover{background:rgba(198,40,40,.06);}
.category-btn.active{
  background:var(--primary-color);
  color:#FFF;
  border-color:var(--primary-color);
}

/* --- HERO --- */
.hero-section{
  background:#FFF;
  color:var(--text-color);
  text-align:center;
  padding:4rem 1.5rem 12vw;
  position:relative;
}
.hero-section h2{font-size:2.6rem; margin-bottom:.5rem; letter-spacing:1px;}
.hero-section p{font-size:1.1rem; color:var(--text-muted);}
.wave-divider{position:absolute; bottom:0; left:0; width:100%; line-height:0;}
.wave-divider svg{display:block; width:100%; height:auto;}
.wave-divider .shape-fill{fill:#FFFFFF;}

/* --- DESTAQUE --- */
.featured-look{
  display:flex; flex-direction:column; align-items:center; gap:2rem;
  padding:3rem 1.5rem; text-align:center;
  max-width:1200px; margin:2rem auto; border-radius:1rem;
  background:var(--bg-elev);
  border:1px solid var(--border-color);
}
.featured-look-img{
  width:100%; max-width:350px; height:auto; border-radius:1rem;
  border:1px solid var(--border-color);
  background:#FFF;
}
.featured-look-info h3{font-size:2.2rem; margin-bottom:.5rem;}
.featured-look-info p{font-size:1rem; max-width:520px; margin-bottom:1.5rem; color:var(--text-muted);}
.btn-primary{
  background:var(--primary-color); color:#FFF;
  padding:.85rem 2.5rem; border:none; border-radius:2rem;
  font-weight:800; cursor:pointer; text-decoration:none;
  text-transform:uppercase; letter-spacing:1px; font-size:.9rem;
  transition:transform .15s, filter .2s;
}
.btn-primary:hover{transform:translateY(-2px); filter:saturate(108%);}

/* --- PRODUTOS --- */
.products{width:100%; max-width:1200px; padding:2rem 1.5rem; margin:0 auto;}
.products-container{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
.product-card{
  background:#FFF; border-radius:1rem; overflow:hidden; cursor:pointer;
  transition:transform .2s, border-color .2s;
  border:1px solid var(--border-color);
  box-shadow:0 0 12px var(--text-color);
}
.product-card:hover{transform:translateY(-4px); border-color:rgba(198,40,40,.45);}
.product-img-container{width:100%; height:180px; overflow:hidden; background:#FFF;}
.product-img{width:100%; height:100%; object-fit:cover; transition:transform .3s ease;}
.product-card:hover .product-img{transform:scale(1.04);}
.product-info{padding:1rem; display:flex; flex-direction:column; flex-grow:1; text-align:center;}
.product-name{font-size:1.6rem; font-weight:500; margin-bottom:1rem;font-family: "Caacupe One", sans-serif;}
.product-description{display:none; color:var(--text-muted);}
.product-price{font-size:1.25rem; color:var(--primary-color); margin-bottom:1rem; font-weight:800;}
.product-button{
  width:100%; background:#FFF; color:var(--primary-color);
  border:2px solid var(--primary-color);
  padding:.7rem; font-size:.95rem; font-weight:800; border-radius:.5rem; cursor:pointer;
  transition:all .15s; margin-top:auto;
}
.product-button:hover{background:var(--primary-color); color:#FFF;}

/* --- CARRINHO --- */
.cart-overlay{
  position:fixed; inset:0;
  background:rgba(198,40,40,.10);
  z-index:999; opacity:0; visibility:hidden; transition:opacity .25s, visibility .25s;
}
.cart-overlay.show{opacity:1; visibility:visible;}

.cart-sidebar{
  position:fixed; top:0; right:0; width:100%; max-width:420px; height:100%;
  background:#FFF; z-index:1000; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s ease;
  border-left:2px solid var(--primary-color);
}
.cart-sidebar.show{transform:translateX(0);}

.cart-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem 1.5rem; border-bottom:1px solid var(--border-color);
}
.cart-header h3{font-size:1.6rem;}
.close-cart-btn{background:none; border:none; font-size:2rem; cursor:pointer; color:var(--primary-color);}

.cart-body{padding:1.5rem; overflow-y:auto; flex-shrink:1;}
.cart-footer{
  padding:1.5rem; border-top:1px solid var(--border-color);
  background:#FFF; overflow-y:auto; flex-grow:1;
}

.finish-order-btn-container{
  padding:1rem 1.5rem; border-top:1px solid var(--border-color);
  background:#FFF;
}

.cart-empty{text-align:center; padding-top:4rem; color:var(--text-muted);}
.cart-empty i{font-size:4rem; margin-bottom:1rem; color:var(--border-color);}
.cart-empty p{font-size:1.2rem; font-weight:700;}

.cart-item{display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem;}
.cart-item-img{
  width:80px; height:80px; object-fit:cover; border-radius:.5rem;
  border:1px solid var(--border-color); background:#FFF;
}
.cart-item-info{flex-grow:1;}
.cart-item-name{
  font-size:1.1rem; font-weight:700; font-family:'Cormorant Garamond',serif; margin-bottom:.25rem;
}
.cart-item-price{font-size:.95rem; color:var(--primary-color); font-weight:800;}
.cart-item-controls{display:flex; align-items:center; gap:.5rem; margin-top:.5rem;}
.quantity-btn{
  background:#FFF; border:1px solid var(--border-color);
  width:28px; height:28px; border-radius:50%; cursor:pointer; font-weight:800;
  color:var(--primary-color); transition:background .15s, border-color .15s;
}
.quantity-btn:hover{background:rgba(198,40,40,.06); border-color:rgba(198,40,40,.45);}
.remove-item-btn{background:none; border:none; color:var(--primary-color); font-size:1.8rem; cursor:pointer; margin-left:auto;}

.product-image-fly{
  position:fixed; z-index:1001; border-radius:50%; object-fit:cover;
  border:2px solid var(--primary-color);
  transition:all .6s cubic-bezier(.55,.055,.675,.19);
}

/* opções entrega/retirada */
.options-toggle{
  display:flex; border:1px solid var(--border-color); border-radius:1.5rem; overflow:hidden; margin-bottom:1.5rem;
  background:#FFF;
}
.delivery-btn{
  flex:1; padding:.75rem; border:none; background:#FFF; cursor:pointer;
  font-size:1rem; font-weight:800; color:var(--primary-color); transition:background .2s,color .2s;
}
.delivery-btn.active{background:var(--primary-color); color:#FFF;}
.form-group{margin-bottom:1rem;}
.form-group label{display:block; margin-bottom:.5rem; font-weight:800; font-size:.9rem;}
.form-group input,.form-group select,.form-group textarea{
  width:100%; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:1rem; color:var(--text-color); background:#FFF;
  transition:border-color .15s, box-shadow .15s;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;
}
.form-group input.error,.form-group textarea.error,.form-group select.error{
  border-color:var(--primary-color)!important; box-shadow:0 0 0 3px rgba(198,40,40,.15)!important;
}

.payment-option{
  display:flex; align-items:center; gap:.75rem; padding:.75rem;
  border:1px solid var(--border-color); border-radius:.5rem; margin-bottom:.5rem; cursor:pointer;
  color:var(--text-color); background:#FFF; transition:border-color .15s, background .15s;
}
.payment-option:hover{background:rgba(198,40,40,.06);}
.payment-option input[type="radio"]{display:none;}
.payment-option .radio-custom{
  width:20px; height:20px; border:2px solid var(--border-color); border-radius:50%; display:inline-block; position:relative; transition:border-color .15s;
}
.payment-option input[type="radio"]:checked + .radio-custom{border-color:var(--primary-color);}
.payment-option input[type="radio"]:checked + .radio-custom::after{
  content:''; width:10px; height:10px; background:var(--primary-color); border-radius:50%;
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
}
.payment-option.selected{border-color:rgba(198,40,40,.45); background:#FFF;}

#troco-container{
  display:none; margin-top:1rem; padding:1rem; background:#FFF;
  border-radius:.5rem; border:1px solid var(--border-color);
}
.delivery-fee-notice{
  font-size:.85rem; text-align:center; color:var(--text-muted);
  background:#FFF; padding:.5rem; border-radius:.5rem; margin:1.5rem 0; border:1px solid var(--border-color);
}

.date-time-row{display:flex; gap:1rem;}

.coupon-select-container{margin-bottom:.5rem;}
#coupon-select{
  width:100%; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:.9rem; background:#FFF; color:var(--text-color); cursor:pointer;
  transition:border-color .15s, box-shadow .15s;
}
#coupon-select:focus{border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;}

.coupon-container{display:flex; gap:.5rem; margin-bottom:.5rem;}
#coupon-input{
  flex-grow:1; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:1rem; background:#FFF; color:var(--text-color);
  transition:border-color .15s, box-shadow .15s;
}
#coupon-input:focus{border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;}

.cart-summary{margin:1.5rem 0; border-top:1px solid var(--border-color); padding-top:1.5rem;}
.summary-line{display:flex; justify-content:space-between; margin-bottom:.5rem; font-size:1rem; color:var(--text-color);}
.summary-line.total{font-size:1.3rem; font-weight:800;}
.summary-line.total span:last-child{color:var(--primary-color);}

#apply-coupon-btn{
  border:2px solid var(--primary-color); background:#FFF; color:var(--primary-color);
  padding:0 1.5rem; border-radius:.5rem; cursor:pointer; font-weight:800; transition:all .15s;
}
#apply-coupon-btn:hover{background:var(--primary-color); color:#FFF;}

.finish-order-btn{
  width:100%; padding:1rem; font-size:1.2rem; font-weight:800;
  background:var(--primary-color); color:#FFF; border:none; border-radius:.5rem; cursor:pointer;
  transition:filter .15s, transform .1s;
}
.finish-order-btn:hover:not(:disabled){filter:saturate(110%); transform:translateY(-1px);}
.finish-order-btn:disabled{background:rgba(198,40,40,.45); color:#FFF; opacity:.6; cursor:not-allowed;}
.finish-order-btn .fa-whatsapp{margin-right:.5rem;}

.view-cart-banner{
  position:fixed; bottom:-100px; left:0; width:100%;
  background:#FFF; color:var(--text-color);
  z-index:980; padding:.75rem 1.5rem; display:flex; justify-content:space-between; align-items:center;
  border-top:2px solid var(--primary-color); transition:bottom .3s ease-in-out;
}
.view-cart-banner.show{bottom:0;}
.view-cart-banner p{margin:0; font-weight:800; font-size:1.1rem;}
.view-cart-banner-btn{
  background:#FFF; color:var(--primary-color); border:2px solid var(--primary-color);
  padding:.5rem 1rem; border-radius:.5rem; font-weight:800; cursor:pointer; transition:all .15s;
}
.view-cart-banner-btn:hover{background:var(--primary-color); color:#FFF;}

/* --- RODAPÉ --- */
footer{
  background:#FFF; color:var(--text-color);
  text-align:center; padding:2.5rem 1.5rem; margin-top:3rem;
  border-top:1px solid var(--border-color);
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@400;500;700&display=swap');

*{margin:0;padding:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* ===== PALETA SOMENTE BRANCO + VERMELHO ===== */
:root{
  --primary-color:#C62828;      /* vermelho */
  --secondary-color:#FFFFFF;    /* branco (fundo) */
  --bg-elev:#FFFFFF;            /* superfícies */
  --bg-soft:#FFFFFF;            /* campos/pills */
  --surface:#FFFFFF;            /* cartões, inputs, sacola (muda no tema escuro) */
  --text-color:#000;            /* texto principal */
  --text-muted:rgba(22, 21, 21, 0.8);
  --border-color:rgba(198,40,40,.20);
  --error-color:#C62828;        /* erros também em vermelho */
  --shadow-color:rgba(0,0,0,.08);
}

/* ===== TEMA ESCURO ===== */
[data-theme="dark"]{
  --secondary-color:#121212;
  --bg-elev:#1b1b1b;
  --bg-soft:#1b1b1b;
  --surface:#1e1e1e;
  --text-color:#F2F2F2;
  --text-muted:rgba(242,242,242,.7);
  --border-color:rgba(255,255,255,.12);
  --shadow-color:rgba(0,0,0,.45);
}

[data-theme="dark"] body{ background-color:var(--secondary-color); }
[data-theme="dark"] .product-card,
[data-theme="dark"] .auto-card,
[data-theme="dark"] .cart-sidebar,
[data-theme="dark"] .payment-options-container,
[data-theme="dark"] #troco-container,
[data-theme="dark"] .cart-summary,
[data-theme="dark"] .coupon-container,
[data-theme="dark"] .coupon-select-container,
[data-theme="dark"] #coupon-select,
[data-theme="dark"] .delivery-fee-notice{
  box-shadow:0 2px 10px var(--shadow-color);
}

/* --- BASE --- */
body{
  font-family:'Montserrat',sans-serif;
  color:var(--text-color);
  background-color:var(--secondary-color);
  line-height:1.6;
  transition:background-color .25s, color .25s;
}
*{ transition:background-color .2s, border-color .2s, color .2s; }

h1,h2,h3,h4,.logo-text{
  font-family:'Cormorant Garamond',serif;
  font-weight:700;
  color:var(--text-color);
}

body.no-scroll{overflow:hidden;}

/* --- CABEÇALHO --- */
header{
  background:var(--secondary-color);
  position:sticky; top:0; z-index:990;
  padding:1rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-bottom:1px solid var(--border-color);
}

.logo{display:flex; align-items:center; gap:.75rem; text-decoration:none; cursor:pointer;}
.logo-image{
  width:56px; height:56px; border-radius:50%; object-fit:cover; display:block;
  border:2px solid var(--primary-color);
  background:var(--surface);
}
.logo .logo-text{font-size:1.75rem; letter-spacing:1px;}
 
/* --- BOTÃO DE TEMA --- */
.theme-toggle-btn{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--border-color); background:var(--surface); color:var(--primary-color);
  font-size:1.1rem; cursor:pointer; flex-shrink:0;
  transition:background .2s, border-color .2s, transform .15s;
}
.theme-toggle-btn:hover{ border-color:var(--primary-color); transform:scale(1.05); }
 
/* --- BANNER DE CUPOM --- */
.coupon-banner{
  display:flex; align-items:center; gap:.75rem;
  background:var(--surface); border:1px dashed var(--primary-color); border-radius:.75rem;
  padding:.9rem 1.25rem; margin:0 0 1.25rem; max-width:1200px; margin-left:auto; margin-right:auto;
}
.coupon-banner-info{ display:flex; align-items:center; gap:.75rem; }
.coupon-banner-info > i{ font-size:1.4rem; color:var(--primary-color); flex-shrink:0; }
.coupon-banner-text{ display:flex; flex-direction:column; gap:.15rem; }
.coupon-banner-text strong{ color:var(--text-color); font-size:.95rem; }
.coupon-banner-text span{ color:var(--text-muted); font-size:.8rem; }

.search-container{
  width:100%; display:flex; align-items:center;
  background:var(--bg-soft);
  border:1px solid var(--border-color);
  border-radius:1.5rem; padding:.5rem 1rem;
  order:3; flex-basis:100%;
  transition:box-shadow .3s,border-color .3s;
}
.search-container:focus-within{
  box-shadow:0 0 0 3px rgba(198,40,40,.15);
  border-color:rgba(198,40,40,.45);
}
.search-container input{
  width:100%; border:none; background:none; outline:none;
  padding:.5rem; font-size:1rem; color:var(--text-color);
}
.search-container i{color:var(--primary-color); cursor:pointer;}

.cart-icon{position:relative; cursor:pointer; padding:.5rem; order:2;}
.cart-icon i{font-size:1.8rem; color:var(--primary-color);}
.cart-badge{
  position:absolute; top:0; right:0;
  background:var(--primary-color); color:#FFF;
  border-radius:50%; width:20px; height:20px;
  display:flex; justify-content:center; align-items:center;
  font-size:.8rem; font-weight:800; transform:translate(25%,-25%);
}

/* --- CATEGORIAS --- */
.categories-container{
  background:var(--secondary-color);
  display:flex; overflow-x:auto;
  border-bottom:1px solid var(--border-color);
}
.categories-bar{display:flex; justify-content:flex-start; align-items:center; padding:.75rem 1.5rem; gap:.75rem; width:100%;}
.category-btn{
  display:flex; gap:.5rem; align-items:center;
  border:1px solid var(--primary-color);
  color:var(--primary-color);
  border-radius:1.5rem; padding:.6rem 1.2rem; cursor:pointer;
  background:var(--surface); white-space:nowrap;
  font-size:.9rem; font-weight:700;
  transition:all .2s;
}
.category-btn i{font-size:1rem;}
.category-btn:hover{background:rgba(198,40,40,.06);}
.category-btn.active{
  background:var(--primary-color);
  color:#FFF;
  border-color:var(--primary-color);
}

/* --- HERO --- */
.hero-section{
  background:var(--surface);
  color:var(--text-color);
  text-align:center;
  padding:4rem 1.5rem 12vw;
  position:relative;
}
.hero-section h2{font-size:2.6rem; margin-bottom:.5rem; letter-spacing:1px;}
.hero-section p{font-size:1.1rem; color:var(--text-muted);}
.wave-divider{position:absolute; bottom:0; left:0; width:100%; line-height:0;}
.wave-divider svg{display:block; width:100%; height:auto;}
.wave-divider .shape-fill{fill:#FFFFFF;}

/* --- DESTAQUE --- */
.featured-look{
  display:flex; flex-direction:column; align-items:center; gap:2rem;
  padding:3rem 1.5rem; text-align:center;
  max-width:1200px; margin:2rem auto; border-radius:1rem;
  background:var(--bg-elev);
  border:1px solid var(--border-color);
}
.featured-look-img{
  width:100%; max-width:350px; height:auto; border-radius:1rem;
  border:1px solid var(--border-color);
  background:var(--surface);
}
.featured-look-info h3{font-size:2.2rem; margin-bottom:.5rem;}
.featured-look-info p{font-size:1rem; max-width:520px; margin-bottom:1.5rem; color:var(--text-muted);}
.btn-primary{
  background:var(--primary-color); color:#FFF;
  padding:.85rem 2.5rem; border:none; border-radius:2rem;
  font-weight:800; cursor:pointer; text-decoration:none;
  text-transform:uppercase; letter-spacing:1px; font-size:.9rem;
  transition:transform .15s, filter .2s;
}
.btn-primary:hover{transform:translateY(-2px); filter:saturate(108%);}

/* --- PRODUTOS --- */
.products{width:100%; max-width:1200px; padding:2rem 1.5rem; margin:0 auto;}
.products-container{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
.product-card{
  background:var(--surface); border-radius:1rem; overflow:hidden; cursor:pointer;
  transition:transform .2s, border-color .2s;
  border:1px solid var(--border-color);
}
.product-card:hover{transform:translateY(-4px); border-color:rgba(198,40,40,.45);}
.product-img-container{width:100%; height:180px; overflow:hidden; background:var(--surface);}
.product-img{width:100%; height:100%; object-fit:cover; transition:transform .3s ease;}
.product-card:hover .product-img{transform:scale(1.04);}
.product-info{padding:1rem; display:flex; flex-direction:column; flex-grow:1; text-align:center;}
/* .product-name{font-size:1.1rem; font-weight:700; margin-bottom:.5rem;} */
.product-description{display:none; color:var(--text-muted);}
.product-price{font-size:1.25rem; color:var(--primary-color); margin-bottom:1rem; font-weight:800;}
.product-button{
  width:100%; background:var(--surface); color:var(--primary-color);
  border:2px solid var(--primary-color);
  padding:.7rem; font-size:.95rem; font-weight:800; border-radius:.5rem; cursor:pointer;
  transition:all .15s; margin-top:auto;
}
.product-button:hover{background:var(--primary-color); color:#FFF;}

/* --- CARRINHO --- */
.cart-overlay{
  position:fixed; inset:0;
  background:rgba(198,40,40,.10);
  z-index:999; opacity:0; visibility:hidden; transition:opacity .25s, visibility .25s;
}
.cart-overlay.show{opacity:1; visibility:visible;}

.cart-sidebar{
  position:fixed; top:0; right:0; width:100%; max-width:420px; height:100%;
  background:var(--surface); z-index:1000; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s ease;
  border-left:2px solid var(--primary-color);
}
.cart-sidebar.show{transform:translateX(0);}

.cart-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem 1.5rem; border-bottom:1px solid var(--border-color);
}
.cart-header h3{font-size:1.6rem;}
.close-cart-btn{background:none; border:none; font-size:2rem; cursor:pointer; color:var(--primary-color);}

.cart-body{padding:1.5rem; overflow-y:auto; flex-shrink:1;}
.cart-footer{
  padding:1.5rem; border-top:1px solid var(--border-color);
  background:var(--surface); overflow-y:auto; flex-grow:1;
}

.finish-order-btn-container{
  padding:1rem 1.5rem; border-top:1px solid var(--border-color);
  background:var(--surface);
}

.cart-empty{text-align:center; padding-top:4rem; color:var(--text-muted);}
.cart-empty i{font-size:4rem; margin-bottom:1rem; color:var(--border-color);}
.cart-empty p{font-size:1.2rem; font-weight:700;}

.cart-item{display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem;}
.cart-item-img{
  width:80px; height:80px; object-fit:cover; border-radius:.5rem;
  border:1px solid var(--border-color); background:var(--surface);
}
.cart-item-info{flex-grow:1;}
.cart-item-name{
  font-size:1.1rem; font-weight:700; font-family:'Cormorant Garamond',serif; margin-bottom:.25rem;
}
.cart-item-price{font-size:.95rem; color:var(--primary-color); font-weight:800;}
.cart-item-controls{display:flex; align-items:center; gap:.5rem; margin-top:.5rem;}
.quantity-btn{
  background:var(--surface); border:1px solid var(--border-color);
  width:28px; height:28px; border-radius:50%; cursor:pointer; font-weight:800;
  color:var(--primary-color); transition:background .15s, border-color .15s;
}
.quantity-btn:hover{background:rgba(198,40,40,.06); border-color:rgba(198,40,40,.45);}
.remove-item-btn{background:none; border:none; color:var(--primary-color); font-size:1.8rem; cursor:pointer; margin-left:auto;}

.product-image-fly{
  position:fixed; z-index:1001; border-radius:50%; object-fit:cover;
  border:2px solid var(--primary-color);
  transition:all .6s cubic-bezier(.55,.055,.675,.19);
}

/* opções entrega/retirada */
.options-toggle{
  display:flex; border:1px solid var(--border-color); border-radius:1.5rem; overflow:hidden; margin-bottom:1.5rem;
  background:var(--surface);
}
.delivery-btn{
  flex:1; padding:.75rem; border:none; background:var(--surface); cursor:pointer;
  font-size:1rem; font-weight:800; color:var(--primary-color); transition:background .2s,color .2s;
}
.delivery-btn.active{background:var(--primary-color); color:#FFF;}
.form-group{margin-bottom:1rem;}
.form-group label{display:block; margin-bottom:.5rem; font-weight:800; font-size:.9rem;}
.form-group input,.form-group select,.form-group textarea{
  width:100%; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:1rem; color:var(--text-color); background:var(--surface);
  transition:border-color .15s, box-shadow .15s;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;
}
.form-group input.error,.form-group textarea.error,.form-group select.error{
  border-color:var(--primary-color)!important; box-shadow:0 0 0 3px rgba(198,40,40,.15)!important;
}

.payment-option{
  display:flex; align-items:center; gap:.75rem; padding:.75rem;
  border:1px solid var(--border-color); border-radius:.5rem; margin-bottom:.5rem; cursor:pointer;
  color:var(--text-color); background:var(--surface); transition:border-color .15s, background .15s;
}
.payment-option:hover{background:rgba(198,40,40,.06);}
.payment-option input[type="radio"]{display:none;}
.payment-option .radio-custom{
  width:20px; height:20px; border:2px solid var(--border-color); border-radius:50%; display:inline-block; position:relative; transition:border-color .15s;
}
.payment-option input[type="radio"]:checked + .radio-custom{border-color:var(--primary-color);}
.payment-option input[type="radio"]:checked + .radio-custom::after{
  content:''; width:10px; height:10px; background:var(--primary-color); border-radius:50%;
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
}
.payment-option.selected{border-color:rgba(198,40,40,.45); background:var(--surface);}

#troco-container{
  display:none; margin-top:1rem; padding:1rem; background:var(--surface);
  border-radius:.5rem; border:1px solid var(--border-color);
}
.delivery-fee-notice{
  font-size:.85rem; text-align:center; color:var(--text-muted);
  background:var(--surface); padding:.5rem; border-radius:.5rem; margin:1.5rem 0; border:1px solid var(--border-color);
}

.date-time-row{display:flex; gap:1rem;}

.coupon-select-container{margin-bottom:.5rem;}
#coupon-select{
  width:100%; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:.9rem; background:var(--surface); color:var(--text-color); cursor:pointer;
  transition:border-color .15s, box-shadow .15s;
}
#coupon-select:focus{border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;}
 
.coupon-container{display:flex; gap:.5rem; margin-bottom:.5rem;}
#coupon-input{
  flex-grow:1; padding:.75rem; border:1px solid var(--border-color); border-radius:.5rem;
  font-size:1rem; background:var(--surface); color:var(--text-color);
  transition:border-color .15s, box-shadow .15s;
}
#coupon-input:focus{border-color:rgba(198,40,40,.6); box-shadow:0 0 0 3px rgba(198,40,40,.12); outline:none;}

.cart-summary{margin:1.5rem 0; border-top:1px solid var(--border-color); padding-top:1.5rem;}
.summary-line{display:flex; justify-content:space-between; margin-bottom:.5rem; font-size:1rem; color:var(--text-color);}
.summary-line.total{font-size:1.3rem; font-weight:800;}
.summary-line.total span:last-child{color:var(--primary-color);}

#apply-coupon-btn{
  border:2px solid var(--primary-color); background:var(--surface); color:var(--primary-color);
  padding:0 1.5rem; border-radius:.5rem; cursor:pointer; font-weight:800; transition:all .15s;
}
#apply-coupon-btn:hover{background:var(--primary-color); color:#FFF;}

.finish-order-btn{
  width:100%; padding:1rem; font-size:1.2rem; font-weight:800;
  background:var(--primary-color); color:#FFF; border:none; border-radius:.5rem; cursor:pointer;
  transition:filter .15s, transform .1s;
}
.finish-order-btn:hover:not(:disabled){filter:saturate(110%); transform:translateY(-1px);}
.finish-order-btn:disabled{background:rgba(198,40,40,.45); color:#FFF; opacity:.6; cursor:not-allowed;}
.finish-order-btn .fa-whatsapp{margin-right:.5rem;}

.view-cart-banner{
  position:fixed; bottom:-100px; left:0; width:100%;
  background:var(--surface); color:var(--text-color);
  z-index:980; padding:.75rem 1.5rem; display:flex; justify-content:space-between; align-items:center;
  border-top:2px solid var(--primary-color); transition:bottom .3s ease-in-out;
}
.view-cart-banner.show{bottom:0;}
.view-cart-banner p{margin:0; font-weight:800; font-size:1.1rem;}
.view-cart-banner-btn{
  background:var(--surface); color:var(--primary-color); border:2px solid var(--primary-color);
  padding:.5rem 1rem; border-radius:.5rem; font-weight:800; cursor:pointer; transition:all .15s;
}
.view-cart-banner-btn:hover{background:var(--primary-color); color:#FFF;}

/* --- RODAPÉ --- */
footer{
  background:var(--surface); color:var(--text-color);
  text-align:center; padding:2.5rem 1.5rem; margin-top:3rem;
  border-top:1px solid var(--border-color);
}

/* --- MEDIA QUERIES --- */
@media (min-width:640px){
  .products-container{grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.5rem;}
  .product-img-container{height:250px;}
  .product-description{display:block;}
}

@media (min-width:768px){
  header{padding:1rem 2rem;}
  .search-container{order:2; flex-basis:auto; width:auto; max-width:400px;}
  .cart-icon{order:3;}
  .categories-bar{justify-content:center;}
  .category-btn{padding:.75rem 1.5rem; font-size:1rem;}

  .featured-look{flex-direction:row; text-align:left; padding:4rem; gap:3rem;}

  .hero-section{padding:6rem 2rem 10vw;}
  .hero-section h2{font-size:3.6rem;}
  .hero-section p{font-size:1.2rem;}
}

@media (min-width:1024px){
  .hero-section{padding:8rem 2rem 8vw;}
  .hero-section h2{font-size:4.2rem;}
  .products{padding:3rem 2rem;}
  .products-container{gap:2rem;}
  .product-img-container{height:300px;}
}

/* ================================================== */
/* ======= COLEÇÃO AUTOMÁTICA (CARROSSEL) ========== */
/* ================================================== */

.auto-collection{
  padding:2rem 1.5rem;
  max-width:1200px;
  margin:0 auto 1rem auto;
  background:var(--bg-elev);
  border:1px solid var(--border-color);
  border-radius:1rem;
}

.auto-collection-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; margin-bottom:1rem;
}

.auto-collection-header h3{
  font-size:1.4rem; font-weight:700;
}

.auto-collection-controls{display:flex; gap:.5rem;}
.ac-btn{
  border:2px solid var(--primary-color);
  background:var(--surface); color:var(--primary-color);
  padding:.45rem .75rem; border-radius:.75rem;
  cursor:pointer; font-weight:800; font-size:1rem;
  transition:all .15s;
}
.ac-btn:hover{background:var(--primary-color); color:#FFF;}
.ac-btn:active{transform:scale(0.98);}

.auto-collection-viewport{
  overflow:auto; /* acessível no mobile */
  scrollbar-width:thin;
  scroll-behavior:smooth;
}
.auto-collection-viewport::-webkit-scrollbar{height:8px;}
.auto-collection-viewport::-webkit-scrollbar-thumb{
  background:rgba(198,40,40,.35);
  border-radius:8px;
}
.auto-collection-viewport::-webkit-scrollbar-track{
  background:rgba(198,40,40,.08);
  border-radius:8px;
}

.auto-collection-track{
  display:flex; gap:16px; align-items:stretch;
  width:100%;
}

.auto-card{
  min-width:220px; max-width:220px;
  background:var(--surface); border-radius:1rem; overflow:hidden;
  border:1px solid var(--border-color);
  display:flex; flex-direction:column;
  transition:transform .2s, border-color .2s;
}
.auto-card:hover{transform:translateY(-4px); border-color:rgba(198,40,40,.45);}

.auto-card .product-img-container{
  width:100%; aspect-ratio: 1.25/1; overflow:hidden; background:var(--surface);
}
.auto-card .product-img{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;
}
.auto-card:hover .product-img{transform:scale(1.04);}

.auto-card .product-info{
  padding:.9rem; display:flex; flex-direction:column; gap:.35rem; text-align:center;
}
.auto-card .product-name{font-size:1rem; font-weight:700;}
.auto-card .product-description{font-size:.9rem; color:var(--text-muted); min-height:2.6em;}
.auto-card .product-price{font-weight:800; color:var(--primary-color);}

.auto-card .product-button{
  margin-top:.25rem;
  border:2px solid var(--primary-color);
  background:var(--surface); color:var(--primary-color);
  padding:.6rem .8rem; border-radius:.6rem; cursor:pointer; font-weight:800;
  transition:all .15s;
}
.auto-card .product-button:hover{background:var(--primary-color); color:#FFF;}
.auto-card .product-button[disabled]{opacity:.6; cursor:not-allowed;}

/* Responsivo para o carrossel */
@media (min-width:640px){
  .auto-collection{padding:2rem;}
  .auto-card{min-width:240px; max-width:240px;}
}
@media (min-width:1024px){
  .auto-card{min-width:260px; max-width:260px;}
}

/* Banner do cabeçalho (opcional, definido pelo admin em Configurações) */
header.header--banner {
    background-size: cover;
    background-position: center;
    color: #fff;
}
header.header--banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,.3), rgba(0,0,0,.1));
    z-index: 0;
}
header.header--banner > * {
    position: relative;
    z-index: 1;
}
 

/* --- MEDIA QUERIES --- */
@media (min-width:640px){
  .products-container{grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.5rem;}
  .product-img-container{height:250px;}
  .product-description{display:block;}
}

@media (min-width:768px){
  header{padding:1rem 2rem;}
  .search-container{order:2; flex-basis:auto; width:auto; max-width:400px;}
  .cart-icon{order:3;}
  .categories-bar{justify-content:center;}
  .category-btn{padding:.75rem 1.5rem; font-size:1rem;}

  .featured-look{flex-direction:row; text-align:left; padding:4rem; gap:3rem;}

  .hero-section{padding:6rem 2rem 10vw;}
  .hero-section h2{font-size:3.6rem;}
  .hero-section p{font-size:1.2rem;}
}

@media (min-width:1024px){
  .hero-section{padding:8rem 2rem 8vw;}
  .hero-section h2{font-size:4.2rem;}
  .products{padding:3rem 2rem;}
  .products-container{gap:2rem;}
  .product-img-container{height:300px;}
}

/* ================================================== */
/* ======= COLEÇÃO AUTOMÁTICA (CARROSSEL) ========== */
/* ================================================== */

.auto-collection{
  padding:2rem 1.5rem;
  max-width:1200px;
  margin:0 auto 1rem auto;
  background:var(--bg-elev);
  border:1px solid var(--border-color);
  border-radius:1rem;
}

.auto-collection-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; margin-bottom:1rem;
}

.auto-collection-header h3{
  font-size:1.4rem; font-weight:700;
}

.auto-collection-controls{display:flex; gap:.5rem;}
.ac-btn{
  border:2px solid var(--primary-color);
  background:#FFF; color:var(--primary-color);
  padding:.45rem .75rem; border-radius:.75rem;
  cursor:pointer; font-weight:800; font-size:1rem;
  transition:all .15s;
}
.ac-btn:hover{background:var(--primary-color); color:#FFF;}
.ac-btn:active{transform:scale(0.98);}

.auto-collection-viewport{
  overflow:auto; /* acessível no mobile */
  scrollbar-width:thin;
  scroll-behavior:smooth;
}
.auto-collection-viewport::-webkit-scrollbar{height:8px;}
.auto-collection-viewport::-webkit-scrollbar-thumb{
  background:rgba(198,40,40,.35);
  border-radius:8px;
}
.auto-collection-viewport::-webkit-scrollbar-track{
  background:rgba(198,40,40,.08);
  border-radius:8px;
}

.auto-collection-track{
  display:flex; gap:16px; align-items:stretch;
  width:100%;
}

.auto-card{
  min-width:220px; max-width:220px;
  background:#FFF; border-radius:1rem; overflow:hidden;
  border:1px solid var(--border-color);
  display:flex; flex-direction:column;
  transition:transform .2s, border-color .2s;
}
.auto-card:hover{transform:translateY(-4px); border-color:rgba(198,40,40,.45);}

.auto-card .product-img-container{
  width:100%; aspect-ratio: 1.25/1; overflow:hidden; background:#FFF;
}
.auto-card .product-img{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;
}
.auto-card:hover .product-img{transform:scale(1.04);}

.auto-card .product-info{
  padding:.9rem; display:flex; flex-direction:column; gap:.35rem; text-align:center;
}
/* .auto-card .product-name{font-size:1rem; font-weight:700;} */
.auto-card .product-description{font-size:.9rem; color:var(--text-muted); min-height:2.6em;}
.auto-card .product-price{font-weight:800; color:var(--primary-color);}

.auto-card .product-button{
  margin-top:.25rem;
  border:2px solid var(--primary-color);
  background:#FFF; color:var(--primary-color);
  padding:.6rem .8rem; border-radius:.6rem; cursor:pointer; font-weight:800;
  transition:all .15s;
}
.auto-card .product-button:hover{background:var(--primary-color); color:#FFF;}
.auto-card .product-button[disabled]{opacity:.6; cursor:not-allowed;}

/* Responsivo para o carrossel */
@media (min-width:640px){
  .auto-collection{padding:2rem;}
  .auto-card{min-width:240px; max-width:240px;}
}
@media (min-width:1024px){
  .auto-card{min-width:260px; max-width:260px;}
}

/* Banner do cabeçalho (opcional, definido pelo admin em Configurações) */
header.header--banner {
    background-size: cover;
    background-position: center;
    color: #fff;
}
header.header--banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,.3), rgba(0,0,0,.1));
    z-index: 0;
}
header.header--banner > * {
    position: relative;
    z-index: 1;
}