html {
  scroll-behavior: smooth;
}

:root {
  --green: #1a451d;
  --green-dark: #0b1f0d;
  --orange: #df8122;
}

* {
  box-sizing: border-box;
}

body {

 margin:0;

 font-family:'Poppins',sans-serif;

 transition:background 0.3s,color 0.3s;

 overflow-x:hidden;

 -webkit-overflow-scrolling:touch;

 text-rendering:optimizeLegibility;
}

/* LIGHT */
body.light {
  background: #f4f4f4;
  color: #111;
}

/* DARK */
body.dark {
  background: #0b0f0c;
  color: #e8f5e9;
}

/* INTRO */
#intro {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.intro-logo {
  width: 140px;
  animation: introAnim 2.5s ease forwards;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

@keyframes introAnim {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}

/* HERO */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  background: url("assets/bg.jpeg") no-repeat center;
  background-size: cover;
  background-position: center 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-box {
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-box h1,
.hero-box p {
  text-align: center;
}

.hero-box p {
  font-size: 16px;
  opacity: 0.9;
}

body.light .hero-box {
  background: rgba(255,255,255,0.65);
}

body.dark .hero-box {
  background: rgba(10,40,20,0.5);
}

/* LOGO */
.main-logo {
  width: 100px;
  animation: float 3s infinite ease-in-out;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* GLASS */
.glass {
  margin-top: 20px;
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: 0.3s;
}

.glass:hover {
  transform: translateY(-3px);
}

body.light .glass {
  background: rgba(0, 128, 0, 0.08);
  border: 1px solid rgba(0,128,0,0.15);
}

body.dark .glass {
  background: rgba(10, 40, 20, 0.5);
  border: 1px solid rgba(0, 255, 100, 0.08);
}

/* CONTAINER */
.container {
  max-width: 700px;
  margin: auto;
  padding: 30px 20px;
}

/* FORM */
.product-row {
  margin-bottom: 25px;
  text-align: center;
}

.product-row label {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.product-row.disabled {
  opacity: 0.6;
}

/* STOCK */
.stock {
  display: block;
  font-size: 11px;
  color: #c0392b;
  background: rgba(192,57,43,0.1);
  padding: 3px 8px;
  border-radius: 6px;
  margin: 6px auto 10px;
  width: fit-content;
}

/* INPUTS */
input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--orange);
  transform: scale(1.01);
}

body.dark input {
  background: #111;
  border: 1px solid #2e7d32;
  color: white;
}

/* BUTTON */
.btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(45deg, var(--green), var(--orange));
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
}

.disabled-btn {
  opacity: 0.5;
  cursor: not-allowed;
}

/* QTY */
.qty-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 15px 0;
}

.qty-box button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #1a451d;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.qty-box button:hover {
  background: #df8122;
  transform: scale(1.1);
}

.qty-box span {
  font-size: 18px;
  min-width: 30px;
  text-align: center;
}

/* AVANTAGES */
.advantages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-box {
  padding: 18px;
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
}

/* CONTACT */
.contact {
  padding: 60px 20px;
}

.contact h2 {
  text-align: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.contact-btn {
  padding: 14px;
  border-radius: 25px;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.contact-btn:hover {
  transform: translateY(-3px);
}

.whatsapp {
  background: #25D366;
}

.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b);
}

.tiktok {
  background: linear-gradient(45deg,#0f172a,#1e293b);
}

.mail {
  background: #2a2a2a;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* MODAL */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#modalImg {
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
}

#closeModal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
}

.footer-logo {
  width: 60px;
}

footer small {
  display: block;
  margin-top: 10px;
  opacity: 0.7;
}

/* TOGGLE */
#modeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: 0.3s;
}

#modeToggle:hover {
  transform: rotate(15deg);
}

body.dark #modeToggle {
  background: rgba(255,255,255,0.1);
}

/* REVEAL */
/* REVEAL */

.reveal{

opacity:1;

transform:translateY(0);

transition:
opacity 0.8s ease,
transform 0.8s ease;
}

.reveal.hidden{

opacity:0;

transform:translateY(40px);
}

.reveal.active{

opacity:1;

transform:translateY(0);
}

/* MOBILE */
@media (max-width: 600px) {

  .hero-box {
    width: 90%;
    max-width: 320px;
    padding: 18px;
  }

  .hero-box h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  .product-row label {
    font-size: 15px;
  }

}

/* PHONE */

.phone-box {

  display: flex;

  align-items: center;

  margin-top: 10px;

  border-radius: 10px;

  overflow: hidden;

  border: 1px solid #ccc;

  transition: 0.3s;
}

.phone-box:focus-within {

  border-color: var(--orange);

  transform: scale(1.01);
}

.country-code {

  padding: 12px;

  background: rgba(0,0,0,0.05);

  font-weight: 600;
}

.phone-box input {

  border: none;

  margin: 0;

  border-radius: 0;

  flex: 1;
}

.phone-box input:focus {

  transform: none;
}

body.dark .phone-box {

  border: 1px solid #2e7d32;
}

body.dark .country-code {

  background: rgba(255,255,255,0.05);

  color: white;
}

html,
body{

width:100%;
overflow-x:hidden;
}

.date-box{

width:100%;

margin-top:14px;
}

.date-box input{

width:100%;

height:64px;

padding:0 18px;

appearance:none;

-webkit-appearance:none;

font-size:16px;

border-radius:18px;
}

input,
button{

font-size:16px;
}

#modeToggle{

z-index:999999;
}

/* SAFARI FIX */

html{

height:100%;

overflow-x:hidden;
}

body{

min-height:100%;

overflow-x:hidden;
}

/* IOS BUTTON FIX */

button,
a{

-webkit-tap-highlight-color:transparent;
}

/* IMAGE FIX */

img{

display:block;

max-width:100%;
}

/* FORM PREMIUM */

.form-grid{

display:flex;

flex-direction:column;

gap:18px;

margin-top:25px;
}

.input-group{

display:flex;

flex-direction:column;

gap:8px;
}

.input-group label{

font-size:14px;

font-weight:600;

opacity:0.75;

padding-left:4px;
}

/* INPUT PREMIUM */

.input-group input{

height:60px;

padding:0 18px;

border-radius:18px;

font-size:15px;

border:1px solid rgba(0,0,0,0.08);

background:rgba(255,255,255,0.9);

transition:0.3s;
}

body.dark .input-group input{

background:#101510;

border:1px solid rgba(255,255,255,0.06);

color:white;
}

.input-group input:focus{

border-color:var(--orange);

box-shadow:
0 0 0 4px rgba(223,129,34,0.12);

transform:none;
}

/* PHONE */

.phone-box{

height:60px;

border-radius:18px;

overflow:hidden;

background:white;

border:1px solid rgba(0,0,0,0.08);
}

body.dark .phone-box{

background:#101510;

border:1px solid rgba(255,255,255,0.06);
}

.country-code{

height:100%;

display:flex;

align-items:center;

padding:0 18px;

font-weight:600;

background:rgba(0,0,0,0.04);
}

body.dark .country-code{

background:rgba(255,255,255,0.04);
}

/* DATE */

.date-box{

width:100%;
}

.date-box input{

width:100%;

min-width:0;

max-width:100%;

overflow:hidden;

appearance:none;

-webkit-appearance:none;
}

/* TOTAL */

.total-box{

margin-top:24px;

padding:20px;

border-radius:22px;

display:flex;

justify-content:space-between;

align-items:center;

background:
linear-gradient(
135deg,
rgba(26,69,29,0.08),
rgba(223,129,34,0.08)
);
}

.total-box span{

font-size:15px;

opacity:0.7;
}

.total-box strong{

font-size:28px;

font-weight:700;
}

/* BUTTON */

.btn{

height:62px;

font-size:16px;

border-radius:22px;
}

/* CARD */

.card{

overflow:hidden;
}

/* FOOTER FIX */

footer{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;
}

.footer-logo{

display:block;

margin:0 auto 18px;

width:70px;
}

/* MOBILE */

@media(max-width:600px){

.form-grid{

gap:16px;
}

.input-group input{

height:58px;

font-size:16px;
}

.total-box{

padding:18px;
}

.total-box strong{

font-size:24px;
}

.btn{

height:58px;
}
}