/* assets/style.css - design limpo, moderno e responsivo */
/* Reset mínimo */
*{box-sizing:border-box}
html,body{
    height:100%;
    margin:0;
    font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background:#f6f7fb;
    color:#111;
}

.container{
    max-width:1100px;
    margin:0 auto;
    padding:18px;
}

.narrow{
    max-width:760px;
    margin:0 auto;
    padding:18px;
}

.topbar{
    background:linear-gradient(90deg,#0f1724,#071124);
    color:#fff;
    padding:12px 0;
    position:sticky;
    top:0;
    z-index:10;
    box-shadow:0 2px 8px rgba(2,6,23,0.2)
}
.topbar .container{
    display:flex;
    align-items:center;
    justify-content:space-between
}
.brand{
    font-weight:700;
    font-size:1.1rem;
    letter-spacing:0.2px
}
.brand .accent{color:#ffd166}

/* HERO */
.hero{
    padding:20px 0 6px;
    text-align:left;
}
.hero h1{
    margin:0;
    font-size:1.6rem;
}
.hero .lead{
    color:#445;
    opacity:0.9;
    margin-top:6px;
}

/* GRID */
.grid{
    display:grid;
    grid-template-columns:repeat(1,1fr);
    gap:14px;
}

@media(min-width:900px){
    .grid{
        grid-template-columns:repeat(3,1fr);
        gap:20px;
    }
}

@media(min-width:1200px){
    .grid{
        grid-template-columns:repeat(3,1fr);
        gap:24px;
    }
}

@media(max-width:420px){
    .grid{
        grid-template-columns:repeat(1,1fr);
    }
}

/* CARD */
.card{
    background:#fff;
    border-radius:12px;
    padding:12px;
    box-shadow:0 6px 18px rgba(10,15,30,0.06);
    display:flex;
    flex-direction:column;
    gap:10px;
    min-height:180px;
    transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(10,15,30,0.1);
}

.card img{
    width:100%;
    height:70%;
   /*  height:110px; */
    object-fit:cover;
    border-radius:8px;
}

.card h3{
    margin:0;
    font-size:1rem;
}

.card p{
    margin:0;
    color:#666;
    font-size:0.9rem;
}

.card .price{
    font-weight:700;
    font-size:1.05rem;
    color: #108108;
}

.card .actions{
    margin-top:auto;
    display:flex;
    gap:8px;
    align-items:center;
}

/* BUTTONS */
.btn{
    display:inline-block;
    padding:10px 14px;
    border-radius:10px;
    text-decoration:none;
    border:1px solid transparent;
    background:#ffd166;
    color:#000000;
    cursor:pointer;
}
.btn:hover{opacity:0.95}

.btn.primary{
    background:linear-gradient(90deg,#3b82f6,#06b6d4);
    color:white;
    border:0;
    box-shadow:0 6px 18px rgba(6,46,90,0.12)
}

/* CART BUTTON */
.cart-btn{
    background:transparent;
    border:0;
    color:#fff;
    font-size:1rem;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
}

.badge{
    background:#ffd166;
    color:#000000;
    padding:3px 10px;
    border-radius:5px;
    font-weight:700;
}

/* MODAL */
.modal{
    position:fixed;
    inset:0;
    background:rgba(3,7,18,0.45);
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:20px;
}
.modal.hidden{display:none}

.modal-content{
    width:100%;
    max-width:720px;
    background:#fff;
    border-radius:12px;
    padding:14px;
    box-shadow:0 10px 30px rgba(3,7,18,0.18);
}

.modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #eee;
    padding-bottom:8px;
}

.modal-footer{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:12px;
}

.cart-items{
    max-height:340px;
    overflow:auto;
    padding:8px;
}

/* SUMMARY */
.summary-row{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px dashed #eee;
}
.summary-total{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    font-size:1.05rem;
}

/* FORM */
.form label{
    display:block;
    margin:8px 0;
    font-size:0.95rem;
}
.form input,
.form textarea{
    width:100%;
    padding:10px;
    border-radius:8px;
    border:1px solid #e6eef8;
    background:#fbfdff;
}
.form textarea{
    min-height:90px;
    resize:vertical;
}

.form-actions{
    margin-top:10px;
    display:flex;
    gap:8px;
    align-items:center;
}

/* HELPER */
.container a{color:#000000;}
.s-left{color:#222}
.s-right{font-weight:700;color:#111}

/* MOBILE */ 
@media(max-width:420px){
  .topbar .container{padding:8px}
  .brand{font-size:1rem}
}

/* DESKTOP MELHORADO */
@media(min-width:1000px){
    .hero{
        padding:40px 0 20px;
        text-align:left;
    }
    .hero h1{font-size:2.2rem}
    .hero .lead{font-size:1.05rem}

    .container{
        padding:28px;
    }
    
    .card img{
        height:140px;
    }
}





/* CARROSSEL */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 25px auto;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform .5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
}

.slide-title {
  position: absolutee;
  bottom: 15px;
  left: 5px;
  padding: 8px 14px;
  background: rgb(255 209 102 / 65%);
  color: #000000;
  border-radius: 4px;
  font-size: 1.1rem;
  letter-spacing: .5px;
  text-align: center;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  font-size: 32px;
  width: 42px;
  height: 42px;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: .2s;
}



.brand1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #111;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
}




.ze-gradient {
  background: linear-gradient(90deg, #FFE8A3, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Opcional para ficar mais bonito */
  font-weight: 700;
}




.carousel-btn:hover {
  background: rgba(0,0,0,0.75);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Mobile */
@media(max-width: 600px) {
  .slide img {
    height: 200px;
    /* height: 180px; */
  }
}




