/* Dewise premium layer — load AFTER styles.css */
:root{color-scheme:light}
:root[data-theme="dark"]{
  color-scheme:dark;
  --green:#5CC283; --green-d:#0F3A21; --orange:#F29A3A; --orange-d:#E8801A;
  --ink:#E6F0E8; --muted:#9DB1A3; --bg:#0D1812; --card:#15241B; --line:#25392C;
  --danger:#FF8A80; --shadow:0 10px 30px rgba(0,0,0,.45);
}
dialog,.dlg-head,input,textarea,.notice{background:var(--card)}
[data-theme=dark] .btn-primary{background:#2E8A4F;color:#fff}
[data-theme=dark] .btn-primary:hover{background:#3AA062}
[data-theme=dark] .site-header{background:rgba(13,24,18,.88)}
[data-theme=dark] .site-footer{background:#08110B;color:#b4c6b9}
[data-theme=dark] #toast{background:#25392C}
[data-theme=dark] .card img,[data-theme=dark] .zoom{background:#0F1D15}
.menu-btn{color:var(--ink)}
@media(prefers-reduced-motion:no-preference){
  html.theme-anim,html.theme-anim *{transition:background-color .45s,color .45s,border-color .45s!important}
}

/* theme toggle (animated sun/moon icons) */
.theme-btn{position:relative;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer;display:grid;place-items:center;margin-left:1rem;overflow:hidden;transition:transform .2s,border-color .2s}
.theme-btn:hover{border-color:var(--orange)}.theme-btn:active{transform:scale(.9)}
.theme-btn svg{position:absolute;width:20px;height:20px;transition:transform .5s cubic-bezier(.4,1.5,.5,1),opacity .3s}
.theme-btn .sun{opacity:0;transform:rotate(-90deg) scale(.3)}
[data-theme=dark] .theme-btn .sun{opacity:1;transform:none}
[data-theme=dark] .theme-btn .moon{opacity:0;transform:rotate(90deg) scale(.3)}
@media(min-width:721px){.nav ul{margin-left:auto}}
@media(max-width:720px){.theme-btn{order:2;margin-left:auto}.menu-btn{order:3;margin-left:.6rem}}
.site-header{transition:box-shadow .3s}.site-header.scrolled{box-shadow:0 6px 24px rgba(0,0,0,.12)}

/* hero */
.hero-x{position:relative;isolation:isolate;min-height:min(88vh,760px);display:flex;align-items:center;color:#fff;overflow:hidden}
.hero-x .hero-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;z-index:-2;animation:kb 24s ease-in-out infinite alternate}
.hero-x::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(8,28,16,.93) 0%,rgba(8,28,16,.8) 45%,rgba(8,28,16,.4) 100%)}
@keyframes kb{to{transform:scale(1.1)}}
.hero-x .wrap{padding:clamp(5rem,12vw,8rem) 0}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;padding:.4rem .9rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);font-size:.85rem;font-weight:600;letter-spacing:.04em}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(232,128,26,.3)}
.hero-x h1{margin:1rem 0;max-width:16ch;text-wrap:balance;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.rot{display:inline-block;color:#F5A54A;transition:opacity .35s,transform .35s}
.rot.out{opacity:0;transform:translateY(.3em)}
.hero-x .lead{color:#e3efe5;font-size:clamp(1.05rem,2.4vw,1.3rem);max-width:52ch}
.hero-x .cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.5rem}
.hero-x .btn-ghost{border-color:rgba(255,255,255,.7);color:#fff}
.hero-x .btn-ghost:hover{background:rgba(255,255,255,.15)}
.pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:2rem}
.pills span{padding:.4rem .9rem;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);font-size:.85rem}
@media(max-width:720px){
  .hero-x{min-height:84svh}
  .hero-x::before{background:linear-gradient(180deg,rgba(8,28,16,.82),rgba(8,28,16,.92))}
}

/* polish */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.feature{transition:transform .25s,box-shadow .25s,border-color .25s}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--green)}
.card img{transition:transform .5s}.card:hover img{transform:scale(1.05)}

/* floating buttons */
.to-top{position:fixed;left:1.2rem;bottom:1.2rem;z-index:40;width:48px;height:48px;border-radius:50%;border:0;background:#2E8A4F;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(16px);transition:.3s}
.to-top.show{opacity:1;visibility:visible;transform:none}.to-top:hover{background:var(--orange)}
.to-top svg,.wa-float svg{width:22px;height:22px}
.wa-float{position:fixed;right:1.2rem;bottom:1.2rem;z-index:40;width:56px;height:56px;border-radius:50%;background:#1FA855;color:#fff;display:grid;place-items:center;animation:pulse 2.4s infinite}
.wa-float svg{width:32px;height:32px}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(31,168,85,.5)}70%{box-shadow:0 0 0 18px rgba(31,168,85,0)}100%{box-shadow:0 0 0 0 rgba(31,168,85,0)}}

/* phones: 2 products per row, image + title + price only (tap card for details) */
@media(max-width:600px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;padding-bottom:7rem}
  .card{border-radius:14px}
  .card .body{padding:.7rem;gap:.35rem}
  .card h3{font-size:.95rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .card p,.card .link-btn{display:none}
  .card .foot{flex-direction:column;align-items:stretch;gap:.5rem;padding-top:.2rem}
  .price{font-size:1.05rem}
  .card .btn-sm{width:100%;padding:.5rem .6rem;font-size:.82rem}

}

/* smoother scrolling (nothing is stopped or reduced) */
.card{content-visibility:auto;contain-intrinsic-size:auto 340px}
@media(max-width:600px){.card{contain-intrinsic-size:auto 260px}}


