@font-face {
    font-family: 'BosthonBrush';
    src: url('./fonte/BOSTHONBRUSH.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
:root{
    --verde-900:#0F3D2B;
    --verde-700:#1B5E3F;
    --verde-500:#3CA871;
    --verde-300:#8FD8AC;
    --verde-100:#EAF7EF;
    --branco:#FFFFFF;
    --texto:#132118;
    --texto-suave:#5B6E62;
    --linha:#DCEDE2;
    --font-display:'Unbounded', sans-serif;
    --font-body:'Inter', sans-serif;
    --font-mono:'IBM Plex Mono', monospace;
    --shadow-sm:0 2px 8px rgba(15,61,43,.06);
    --shadow-md:0 10px 24px rgba(15,61,43,.10);
    --shadow-lg:0 20px 48px rgba(15,61,43,.16);
    --ease:cubic-bezier(.2,.8,.2,1);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--font-body);
    color:var(--texto);
    background:var(--branco);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
    line-height:1.5;
  }
  img,svg{display:block; max-width:100%;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}
  button{font-family:inherit; cursor:pointer; border:none; background:none;}

  .prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

  .container{
    width:100%;
    max-width:1240px;
    margin:0 auto;
    padding:0 24px;
  }
  :focus-visible{outline:3px solid var(--verde-500); outline-offset:2px; border-radius:4px;}
  ::selection{ background:var(--verde-300); color:var(--verde-900); }

  /* barra de rolagem discreta */
  ::-webkit-scrollbar{ width:10px; height:10px; }
  ::-webkit-scrollbar-track{ background:var(--verde-100); }
  ::-webkit-scrollbar-thumb{ background:var(--verde-300); border-radius:999px; border:2px solid var(--verde-100); }
  ::-webkit-scrollbar-thumb:hover{ background:var(--verde-500); }

  /* ===== Topbar ===== */
  .topbar{
    background:var(--verde-900);
    color:var(--verde-100);
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:.04em;
    text-align:center;
    padding:7px 12px;
  }

  /* ===== Header ===== */
  header{
    position:sticky; top:0; z-index:100;
    background:var(--branco);
    border-bottom:1px solid var(--linha);
    transition:box-shadow .25s ease;
  }
  header.scrolled{ box-shadow:var(--shadow-sm); }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px;
    gap:24px;
  }
  .logo{
      font-family:'BosthonBrush', sans-serif;
      font-weight:normal;
      font-size:32px;
       letter-spacing:.03em;
      color:var(--verde-900);
      white-space:nowrap;
  }
  .logo span{color:var(--verde-500);}
  nav.main-nav ul{
    display:flex; gap:28px;
  }
  nav.main-nav a{
    font-size:14px; font-weight:600;
    color:var(--texto);
    padding:6px 2px;
    border-bottom:2px solid transparent;
    transition:border-color .15s, color .15s;
  }
  nav.main-nav a:hover{ color:var(--verde-700); border-color:var(--verde-500);}
  .header-actions{
    display:flex; align-items:center; gap:18px;
  }
  .icon-btn{
    display:flex; align-items:center; justify-content:center;
    width:36px; height:36px;
    color:var(--verde-900);
    position:relative;
  }
  .icon-btn svg{width:20px; height:20px;}
  .cart-count{
    position:absolute; top:-2px; right:-2px;
    background:var(--verde-500); color:#fff;
    font-family:var(--font-mono);
    font-size:10px; font-weight:600;
    width:16px; height:16px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
  }
  .burger{ display:none; }

  /* ===== Hero ===== */
  .hero{
    background:#000;
    overflow:hidden;
  }
  .hero-inner{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:32px;
    padding:64px 24px;
  }
  .hero-eyebrow{
    font-family:var(--font-mono);
    font-size:13px; letter-spacing:.06em;
    color:#ffffff;
    text-transform:uppercase;
    margin-bottom:16px;
    display:flex; align-items:center; gap:10px;
  }
  .hero-eyebrow::before{
    content:''; width:24px; height:2px; background:var(--verde-500);
  }
  .hero h1{
    font-family:var(--font-display);
    font-size:clamp(32px, 5vw, 56px);
    line-height:1.05;
    color:#ffffff;
    max-width:11ch;
    margin-bottom:20px;
  }
  .hero p{
    font-size:16px; line-height:1.6;
    color:#dce7e1;
    max-width:44ch;
    margin-bottom:32px;
  }
  .hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 26px;
    font-weight:600; font-size:14px;
    border-radius:999px;
    transition:transform .15s ease, background .15s ease, color .15s ease;
  }
 .btn-primary{background:#22C55E; color:#000; color:#fff; box-shadow:var(--shadow-sm); }
  .btn-primary:hover{ background:var(--verde-700); transform:translateY(-2px); box-shadow:var(--shadow-md); }
  .btn-outline{ border:1.5px solid #22C55E; color:#22C55E; color:var(--verde-900); }
  .btn-outline:hover{ background:var(--verde-900); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-md); }
  .btn:active{ transform:translateY(0); box-shadow:none; }

  /* signature: ascending growth graphic */
  .ascend-graphic{
    position:relative;
    height:340px;
    display:flex; align-items:flex-end; justify-content:center;
    gap:14px;
  }
  .ascend-bar{
    width:15%;
    background:linear-gradient(180deg, var(--verde-500), var(--verde-700));
    border-radius:10px 10px 0 0;
    position:relative;
    box-shadow:var(--shadow-md);
    animation:rise .9s var(--ease) both;
  }
  .ascend-bar:nth-child(1){height:38%; animation-delay:.05s;}
  .ascend-bar:nth-child(2){height:56%; animation-delay:.15s;}
  .ascend-bar:nth-child(3){height:74%; animation-delay:.25s;}
  .ascend-bar:nth-child(4){height:92%; animation-delay:.35s; background:linear-gradient(180deg, var(--verde-300), var(--verde-500));}
  .ascend-bar:nth-child(4)::after{
    content:'✦';
    position:absolute; top:-28px; left:50%; transform:translateX(-50%);
    color:var(--verde-700); font-size:18px;
  }
  @keyframes rise{
    from{ transform:scaleY(0); opacity:0; }
    to{ transform:scaleY(1); opacity:1; }
  }
  .ascend-graphic{ transform-origin:bottom; }
  .ascend-bar{ transform-origin:bottom; }

  @media (prefers-reduced-motion: reduce){
    .ascend-bar{ animation:none; }
  }

  /* ===== Section headings ===== */
  .section{ padding:72px 0; }
  .section-head{
    display:flex; align-items:flex-end; justify-content:space-between;
    margin-bottom:36px; gap:20px; flex-wrap:wrap;
  }
  .section-head h2{
    font-family:var(--font-display);
    font-size:clamp(24px,3vw,32px);
    color:var(--verde-900);
  }
  .section-head p{ color:var(--texto-suave); font-size:14px; max-width:40ch; }
  .link-arrow{
    font-weight:600; font-size:14px; color:var(--verde-700);
    display:flex; align-items:center; gap:6px;
  }
  .link-arrow svg{ width:14px; height:14px; transition:transform .15s; }
  .link-arrow:hover svg{ transform:translateX(4px); }

  /* ===== Categories — ascending staggered grid (signature) ===== */
  .cat-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    align-items:end;
  }
  .cat-card{
    border-radius:18px;
    padding:28px 20px;
    display:flex; flex-direction:column; justify-content:flex-end;
    min-height:180px;
    position:relative;
    overflow:hidden;
    color:#fff;
    box-shadow:var(--shadow-sm);
    transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .cat-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
  .cat-card h3{ font-family:var(--font-display); font-size:17px; margin-bottom:4px; }
  .cat-card span{ font-family:var(--font-mono); font-size:12px; opacity:.85; }
  .cat-card::before{
    content:''; position:absolute; inset:0;
    background:radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 60%);
  }
  .cat-card.c1{ background:var(--verde-900); min-height:160px; }
  .cat-card.c2{ background:var(--verde-700); min-height:200px; }
  .cat-card.c3{ background:var(--verde-500); min-height:240px; }
  .cat-card.c4{ background:linear-gradient(160deg, var(--verde-300), var(--verde-500)); min-height:280px; color:var(--verde-900); }

  /* ===== Promo banner ===== */
  .promo{
    background:linear-gradient(135deg, var(--verde-900), var(--verde-700));
    color:#fff;
    border-radius:24px;
    padding:48px;
    display:flex; align-items:center; justify-content:space-between;
    gap:24px; flex-wrap:wrap;
    box-shadow:var(--shadow-lg);
    position:relative;
    overflow:hidden;
  }
  .promo::after{
    content:''; position:absolute; inset:0;
    background:radial-gradient(circle at 90% 110%, rgba(255,255,255,.12), transparent 55%);
    pointer-events:none;
  }
  .promo h2{
    font-family:var(--font-display);
    font-size:clamp(22px,3.4vw,34px);
    max-width:16ch;
  }
  .promo .highlight{ color:var(--verde-300); }
  .promo p{ font-size:14px; color:var(--verde-100); margin-top:10px; }

  /* ===== Product grid ===== */
  .prod-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
  }
  .prod-card{
    border:1px solid var(--linha);
    border-radius:16px;
    overflow:hidden;
    transition:box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s ease;
    background:#fff;
  }
  .prod-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
  .prod-thumb{
    aspect-ratio:3/4;
    background:var(--verde-100);
    position:relative;
    display:flex; align-items:center; justify-content:center;
  }
  .prod-thumb svg{ width:46%; color:var(--verde-500); }
  .prod-badge{
    position:absolute; top:12px; left:12px;
    background:var(--verde-900); color:#fff;
    font-family:var(--font-mono); font-size:11px;
    padding:4px 9px; border-radius:999px;
  }
  .prod-fav{
    position:absolute; top:10px; right:10px;
    width:30px; height:30px; border-radius:50%;
    background:rgba(255,255,255,.85);
    display:flex; align-items:center; justify-content:center;
    color:var(--verde-900);
  }
  .prod-fav svg{ width:15px; height:15px; }
  .prod-info{ padding:16px; }
  .prod-cat{ font-family:var(--font-mono); font-size:11px; color:var(--texto-suave); text-transform:uppercase; letter-spacing:.04em; }
  .prod-name{ font-size:14.5px; font-weight:600; margin:6px 0 8px; }
  .prod-price-row{ display:flex; align-items:baseline; gap:8px; }
  .prod-price{ font-family:var(--font-mono); font-weight:600; font-size:16px; color:var(--verde-900); }
  .prod-price-old{ font-family:var(--font-mono); font-size:12.5px; color:var(--texto-suave); text-decoration:line-through; }
  .prod-add{
    width:100%; margin-top:12px;
    padding:10px; border-radius:10px;
    border:1.5px solid var(--verde-900);
    font-weight:600; font-size:13px;
    color:var(--verde-900);
    transition:background .15s, color .15s;
  }
  .prod-add:hover{ background:var(--verde-900); color:#fff; }

  /* ===== Sustentabilidade ===== */
  .eco{
    background:var(--verde-100);
    border-radius:24px;
    padding:56px 40px;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:36px;
  }
  .eco-item{ }
  .eco-num{
    font-family:var(--font-mono);
    font-size:34px; font-weight:600;
    color:var(--verde-700);
  }
  .eco-item h4{ font-size:15px; margin:10px 0 6px; }
  .eco-item p{ font-size:13.5px; color:var(--texto-suave); line-height:1.5; }

  /* ===== Newsletter ===== */
  .newsletter{
    text-align:center;
    padding:80px 24px;
  }
  .newsletter h2{
    font-family:var(--font-display);
    font-size:clamp(22px,3vw,30px);
    color:var(--verde-900);
    margin-bottom:12px;
  }
  .newsletter p{ color:var(--texto-suave); margin-bottom:26px; }
  .news-form{
    display:flex; max-width:420px; margin:0 auto;
    border:1.5px solid var(--verde-900); border-radius:999px;
    overflow:hidden;
  }
  .news-form input{
    flex:1; border:none; padding:14px 18px; font-size:14px; font-family:inherit;
  }
  .news-form input:focus{ outline:none; }
  .news-form button{
    background:var(--verde-900); color:#fff; padding:0 22px; font-weight:600; font-size:14px;
  }
  .news-form button:hover{ background:var(--verde-700); }
  .news-msg{ margin-top:12px; font-size:13px; color:var(--verde-700); font-weight:600; min-height:18px; }

  /* ===== Footer ===== */
  footer{
    background:var(--verde-900);
    color:var(--verde-100);
    padding:56px 24px 24px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:32px;
    padding-bottom:36px;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  footer .logo{ color:#fff; margin-bottom:12px; }
  footer .logo span{ color:var(--verde-300); }
  footer p.tag{ font-size:13.5px; color:var(--verde-100); opacity:.8; max-width:32ch; line-height:1.6; }
  .footer-col h5{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; color:var(--verde-300); font-family:var(--font-mono); }
  .footer-col li{ margin-bottom:10px; }
  .footer-col a{ font-size:14px; opacity:.85; }
  .footer-col a:hover{ opacity:1; text-decoration:underline; }
  .footer-placeholder{ display:block; font-size:12px; line-height:1.45; opacity:.65; }
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    padding-top:20px; font-size:12.5px; opacity:.7; flex-wrap:wrap; gap:10px;
  }
  .social{ display:flex; gap:12px; }
  .social a{ width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; }
  .social svg{ width:14px; height:14px; }

  /* ===== Mobile menu ===== */
  .mobile-menu{
    display:none;
    position:fixed; inset:0; top:69px;
    background:#fff;
    z-index:99;
    padding:24px;
    overflow-y:auto;
  }
  .mobile-menu.open{ display:block; }
  .mobile-menu ul li{ border-bottom:1px solid var(--linha); }
  .mobile-menu a{ display:block; padding:16px 4px; font-weight:600; font-size:16px; }

  /* ===== Responsive ===== */
  @media (max-width:960px){
    .cat-grid{ grid-template-columns:repeat(2,1fr); }
    .prod-grid{ grid-template-columns:repeat(2,1fr); }
    .eco{ grid-template-columns:1fr; padding:40px 28px; }
    .hero-inner{ grid-template-columns:1fr; padding:48px 24px; }
    .ascend-graphic{ height:220px; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width:700px){
    nav.main-nav{ display:none; }
    .burger{ display:flex; width:36px; height:36px; align-items:center; justify-content:center; }
    .promo{ flex-direction:column; align-items:flex-start; padding:32px; }
    .section{ padding:52px 0; }
  }
  @media (max-width:520px){
    .cat-grid{ grid-template-columns:1fr; }
    .prod-grid{ grid-template-columns:1fr 1fr; gap:14px; }
    .prod-name{ font-size:13px; }
    .footer-grid{ grid-template-columns:1fr; gap:24px; }
    .news-form{ flex-direction:column; border-radius:16px; }
    .news-form button{ padding:14px; }
  }
  /* ===== Conta do usuário ===== */

.account-area {
    display: flex;
    align-items: center;
    gap: 7px;
}

.account-area .icon-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.account-area .icon-btn svg {
    width: 20px;
    height: 20px;
}

.account-name {
    display: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--verde-900);
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Conta do usuário ===== */

.account-area {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    position: relative;
}

.account-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.account-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--verde-900);
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quando não estiver logado */
.account-name {
    cursor: pointer;
}

/* No celular, mantém compacto */
@media (max-width: 520px) {
    .account-area {
        gap: 3px;
    }

    .account-name {
        max-width: 75px;
        font-size: 12px;
    }
}

/* ==============================
   CONTA NO HEADER
============================== */

.account-area {
    position: relative;
    display: flex;
    align-items: center;
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: auto;
    height: 36px;

    padding: 0 2px;

    color: var(--verde-900);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    white-space: nowrap;
}

.account-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.account-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Quando estiver escrito "Entrar" */
.account-btn:not(.logged) .account-name {
    font-size: 14px;
}

/* Menu lateral da conta */
.account-menu {
    position: fixed;
    top: 0;
    right: -360px;

    width: 340px;
    max-width: 90vw;
    height: 100vh;

    background: #fff;

    z-index: 1000;

    box-shadow: -10px 0 30px rgba(0,0,0,.15);

    padding: 30px 24px;

    transition: right .3s ease;

    overflow-y: auto;
}

.account-menu.open {
    right: 0;
}

.account-menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.35);

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease;
}

.account-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.account-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid var(--linha);
}

.account-menu-header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--verde-900);
}

.account-close {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    color: var(--verde-900);
}

.account-menu-user {
    margin-bottom: 25px;
}

.account-menu-user strong {
    display: block;

    font-size: 18px;
    color: var(--verde-900);

    margin-bottom: 4px;
}

.account-menu-user span {
    font-size: 13px;
    color: var(--texto-suave);
}

.account-menu-item {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 14px 0;

    border-bottom: 1px solid var(--linha);

    font-size: 14px;
    font-weight: 600;

    color: var(--texto);

    cursor: pointer;

    text-align: left;
}

.account-menu-item:hover {
    color: var(--verde-700);
}

.logout-btn {
    color: #b42318;
}

.logout-btn:hover {
    color: #8a1710;
}


/* ==============================
   RESPONSIVO
============================== */

@media (max-width: 700px) {

    .account-name {
        max-width: 80px;
    }

    .account-btn {
        gap: 4px;
    }

    .account-btn svg {
        width: 20px;
        height: 20px;
    }

}

/* =========================================
   PAINEL DA CONTA
========================================= */

.account-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: 420px;
    max-width: 92vw;
    height: 100vh;

    background: #fff;

    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);

    transform: translateX(100%);

    transition: transform 0.3s ease;

    z-index: 1000;

    padding: 28px;

    overflow-y: auto;
}

.account-panel.open {
    transform: translateX(0);
}


.account-panel-header {
    display: flex;
    align-items: center;
    gap: 15px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--linha);

    margin-bottom: 25px;
}


.account-panel-header h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: 18px;

    color: var(--verde-900);
}


.account-panel-back {
    padding: 8px 10px;

    border-radius: 8px;

    color: var(--verde-900);

    font-size: 14px;
}


.account-panel-back:hover {
    background: var(--verde-100);
}


.account-panel-content {
    display: none;
}


.account-panel-content.active {
    display: block;
}


.account-panel-content h3 {
    margin-top: 0;
    margin-bottom: 8px;

    font-size: 22px;

    color: var(--texto);
}


.panel-description {
    color: var(--texto-suave);

    font-size: 13px;

    margin-bottom: 22px;
}


/* =========================================
   PERFIL
========================================= */

.profile-info {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


.profile-info div {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 15px;

    background: var(--verde-100);

    border-radius: 10px;
}


.profile-info strong {
    font-size: 12px;

    color: var(--texto-suave);
}


.profile-info span {
    font-size: 15px;

    color: var(--texto);
}


/* =========================================
   FORMULÁRIO DE ENDEREÇO
========================================= */

.form-group {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-bottom: 15px;
}


.form-group label {
    font-size: 13px;

    font-weight: 600;

    color: var(--texto);
}


.form-group input {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #d8ded9;

    border-radius: 9px;

    font-family: var(--font-body);

    font-size: 14px;

    outline: none;
}


.form-group input:focus {
    border-color: var(--verde-700);
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.account-save-btn {
    width: 100%;

    padding: 13px;

    margin-top: 5px;

    border-radius: 10px;

    background: var(--verde-900);

    color: white;

    font-size: 14px;

    font-weight: 600;
}


.account-save-btn:hover {
    opacity: 0.9;
}


.account-form-msg {
    margin-top: 12px;

    font-size: 13px;

    text-align: center;
}


/* =========================================
   PEDIDOS
========================================= */

.pedidos-lista {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.pedidos-vazio {
    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 8px;

    padding: 40px 15px;

    color: var(--texto-suave);
}


.pedidos-vazio-icon {
    font-size: 38px;

    margin-bottom: 8px;
}


.pedidos-vazio strong {
    color: var(--texto);

    font-size: 15px;
}


.pedidos-vazio span {
    font-size: 13px;
}


@media (max-width: 520px) {

    .account-panel {
        width: 100%;
        max-width: 100vw;

        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =========================================
   CONTEÚDO DA CONTA
========================================= */

.account-content {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
    padding-bottom: 20px;
}

.account-welcome h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--verde-900);
}

.account-welcome p {
    margin: 0;
    font-size: 14px;
    color: var(--texto-suave);
}


/* =========================================
   PERFIL
========================================= */

.profile-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-box h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: var(--verde-900);
}

.profile-info {
    padding: 14px;
    background: var(--verde-100);
    border-radius: 10px;
}

.profile-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--texto-suave);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.profile-value {
    font-size: 14px;
    color: var(--texto);
    word-break: break-word;
}


/* =========================================
   ENDEREÇO
========================================= */

.address-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-box h3 {
    margin: 0 0 5px;
    font-size: 20px;
    color: var(--verde-900);
}

.address-box label {
    font-size: 12px;
    font-weight: 600;
    color: var(--texto);
}

.address-box input {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-family: var(--font-body);
    font-size: 13px;

    outline: none;
}

.address-box input:focus {
    border-color: var(--verde-700);
}

.address-save {
    margin-top: 5px;

    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 9px;

    background: var(--verde-900);
    color: white;

    font-weight: 600;
    cursor: pointer;
}

.address-save:hover {
    opacity: 0.9;
}

.address-msg {
    font-size: 13px;
    margin-top: 2px;
}


/* =========================================
   PEDIDOS
========================================= */

.orders-box h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: var(--verde-900);
}

.no-orders {
    padding: 20px;

    border-radius: 10px;

    background: var(--verde-100);

    text-align: center;

    font-size: 14px;
    color: var(--texto-suave);
}

/* =========================================
   AVISO DE ESTOQUE
========================================= */

.estoque-aviso {

    position: fixed;

    top: 24px;
    right: 24px;

    width: 380px;
    max-width: calc(100vw - 48px);

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #e6e6e6;

    border-left: 4px solid #111111;

    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.14);

    z-index: 99999;

    opacity: 0;

    transform:
        translateX(30px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

}


.estoque-aviso.show {

    opacity: 1;

    transform:
        translateX(0);

}


/* ÍCONE */

.estoque-aviso-icon {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f1f1;

    color: #111;

    font-family: 'Unbounded', sans-serif;

    font-size: 15px;
    font-weight: 800;

}


/* TEXTO */

.estoque-aviso-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.estoque-aviso-content strong {

    font-family: 'Unbounded', sans-serif;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    color: #111;

}


.estoque-aviso-content span {

    font-family: 'Inter', sans-serif;

    font-size: 13px;

    line-height: 1.4;

    color: #666;

}


/* BOTÃO FECHAR */

.estoque-aviso-close {

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    border: none;

    background: transparent;

    color: #888;

    font-size: 22px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.estoque-aviso-close:hover {

    background: #f2f2f2;

    color: #111;

}


/* MOBILE */

@media (max-width: 600px) {

    .estoque-aviso {

        top: 16px;

        right: 16px;

        left: 16px;

        width: auto;

        max-width: none;

    }

}
/* =====================================================
   PEDIDOS COMPACTOS
===================================================== */

.order-summary {

    min-height: 62px;

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    cursor: pointer;

    background: #fff;

    transition: background .2s ease;
}


.order-summary:hover {

    background: #f8f8f8;

}


.order-summary-id {

    font-family:
        'Unbounded',
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 5px;
}


.order-summary-client {

    color: #555;

    font-size: 13px;

}


.order-summary-right {

    display: flex;

    align-items: center;

    gap: 15px;
}


.order-arrow {

    font-size: 24px;

    color: #888;

    transition:
        transform .2s ease;
}


.order-open
.order-arrow {

    transform:
        rotate(90deg);

}


.order-details {

    display: none;

    padding: 0 20px 20px;

    border-top: 1px solid #eee;

}

.order-row {

    border-bottom: 1px solid #eee;

}


.order-row:last-child {

    border-bottom: none;

}

.toast {
    min-width: 260px;
    max-width: 320px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    animation: toastIn .25s ease;
}

.toast.success {
    background: #e8f6ec;
    color: #246b35;
}

.toast.error {
    background: #fdecea;
    color: #a12a22;
}

.toast.warning {
    background: #fff6d8;
    color: #9a6700;
}

.toast.info {
    background: #e8f3ff;
    color: #1769aa;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* TOAST CENTRALIZADO COM BORDA VERDE */
#toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}
.search-bar {
  position: absolute;
  top: 70px;
  right: 20px;
  background: white;
  border: 2px solid #22c55e;
  border-radius: 10px;
  padding: 10px;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.order-message {
    min-height: 18px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--verde-700);
    text-align: center;

    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}
#enderecoMsg {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
#pedidoMsg {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    color: #22c55e;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.toast-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toast-message {
    line-height: 1.4;
}

.toast-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.toast-action {
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid var(--verde-900);
    background: var(--verde-900);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.toast-action:hover {
    background: var(--verde-700);
}

.toast-action:first-child {
    background: #fff;
    color: var(--verde-900);
}

.toast-action:first-child:hover {
    background: var(--verde-100);
}
#pedidoMsg.show {
    opacity: 1;
    transform: translateY(0);
}
#enderecoMsg.show {
    opacity: 1;
    transform: translateY(0);
}
.order-message.show {
    opacity: 1;
    transform: translateY(0);
}
.search-bar input {
  border: none;
  outline: none;
  font-size: 14px;
}
.toast {
    background: #ffffff;
    color: var(--verde-700);
    padding: 18px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-width: 260px;

    /* 👇 BORDA VERDE */
    border: 2px solid var(--verde-500);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);

    opacity: 0;
    transform: scale(0.95);
    animation: zoomIn .2s ease forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
