:root {
  --green: #C2DC80;
  --pink: #EA9CAF;
  --dark: #333;
  --light: #fff;
  --shadow: 0 4px 10px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:#fffafc;
  color:var(--dark);
}
/* ================= SIDEBAR ================= */

.sidebar{
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: white;
  box-shadow: var(--shadow);
  z-index: 2000;
  transition: 0.3s ease;
  padding: 20px;
}

.sidebar.active{
  left: 0;
}

.sidebar-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-top h2{
  color: var(--pink);
}

#closeMenu{
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* MENU LIST */
.menu-list{
  list-style: none;
}

.menu-list li{
  margin: 15px 0;
}

.menu-list a{
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

/* DROPDOWN */
.dropdown-toggle{
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.submenu{
  display: none;
  padding-left: 15px;
  margin-top: 10px;
}

.dropdown.active .submenu{
  display: block;
}

/* OVERLAY */
.overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.overlay.active{
  opacity: 1;
  visibility: visible;
}
/* HEADER */

.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 5%;
  background:var(--light);
  box-shadow:var(--shadow);
  position:sticky;
  top:0;
  z-index:1000;
}

.logo h1{
  color:var(--pink);
}

.menu-icon{
  font-size:24px;
  cursor:pointer;
  transition:var(--transition);
}

.menu-icon:hover{
  transform:scale(1.1);
}

.search-box{
  display:flex;
  gap:10px;
}

.search-box input{
  padding:10px;
  border-radius:30px;
  border:1px solid #ddd;
}

.search-box button{
  border:none;
  padding:10px 15px;
  border-radius:50%;
  background:var(--green);
  cursor:pointer;
  transition:var(--transition);
}

.search-box button:hover{
  background:var(--pink);
  color:white;
}

.highlight {
  box-shadow: 0 0 20px rgba(234, 156, 175, 0.8);
  transform: scale(1.03);
  transition: 0.3s ease;
  border-radius: 20px;
}

/* MENU */

.mobile-menu{
  display:none;
  flex-direction:column;
  background:white;
  padding:20px;
}

.mobile-menu a{
  text-decoration:none;
  color:var(--dark);
  padding:10px 0;
  transition:var(--transition);
}

/* SLIDER */

.hero-slider{
  padding:40px 5%;
}

.hero-slider h2{
  text-align:center;
  margin-bottom:20px;
}

.slider{
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

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

/* PRODUCTS */

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

  padding:20px 5%;
  background:var(--light);
  box-shadow:var(--shadow);

  position:sticky;
  top:0;
  z-index:1000;
}

/* LEFT BACK BUTTON */
.product-header > .back-btn{
  font-size:20px;
  color:var(--green);
  text-decoration:none;
}

/* CENTER TITLE */
.product-title{
  flex:1;
  text-align:center;
  font-size:18px;
  font-weight:600;
  color:var(--dark);

  /* prevents long titles breaking layout */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* RIGHT BRAND */
.brand{
  font-weight:700;
  color:var(--pink);
  font-size:18px;
}

.product-section{
  padding:50px 5%;
}

.product-section h2{
  margin-bottom:25px;
  color:var(--pink);
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.product-card{
  background:white;
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:var(--transition);
}

.product-card:hover{
  transform:translateY(-5px) scale(1.02);
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.product-card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.product-card h3,
.product-card p{
  padding:10px;
}

.product-card a{
  text-decoration:none;
  color:var(--dark);
}

/* PRODUCT DETAILS */

.product-details{
  display:flex;
  flex-direction: column;
  gap:40px;
  padding:50px 5%;
}

.gallery{
  flex:1;
}

.main-image{
  width:100%;
  border-radius:20px;
}

.thumbnails{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.thumbnails img{
  width:80px;
  cursor:pointer;
  border-radius:10px;
}

.product-info{
  flex:1;
}

.product-info h1{
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.buttons{
  margin-top:20px;
  display:flex;
  gap:20px;
}

button{
  border:none;
  padding:12px 20px;
  background:var(--green);
  border-radius:30px;
  cursor:pointer;
  transition:var(--transition);
}

button:hover{
  background:var(--pink);
  color:white;
}

/* REVIEWS */

.review-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding:30px 5%;
}

.review-grid img{
  width:100%;
  border-radius:20px;
}

/* FOOTER */

.footer{
  background:var(--green);
  padding:40px 5%;
  text-align:center;
  margin-top:50px;
}

.social-icons{
  margin:20px 0;
}

.social-icons i{
  font-size:22px;
  margin:0 10px;
  transition:var(--transition);
  cursor:pointer;
}

.social-icons i:hover{
  color:white;
  transform:scale(1.2);
}

#topBtn{
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 55px;
  height: 55px;

  border: none;
  border-radius: 50%;

  background: var(--green);
  color: white;

  font-size: 22px;
  cursor: pointer;

  display: none;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;

  transition: 0.3s ease;
}

#topBtn:hover{
  background: var(--pink);
  transform: translateY(-5px);
}
/* HEADER */
.simple-header{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:15px 5%;
  background:var(--green);

  position:sticky;
  top:0;

  box-shadow:var(--shadow);
}

/* TITLE CENTER FIX */
.simple-header h1{
  flex:1;
  text-align:center;
  color:white;
  font-size:20px;
}

.simple-header .back-btn{
  color: #EA9CAF;
  font-size: 25px;
}

/* EMPTY SPACE TO BALANCE LEFT SIDE */
.spacer{
  width:20px;
}

/* PAGE */
.page{
  padding:30px 5%;
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* BOX */
.box{
  background:white;
  padding:20px;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.box h2{
  margin-bottom:20px;
  color:var(--pink);
}

/* QR SECTION */
.qr-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  text-align:center;
}

.qr-card img{
  width:100px;
  border-radius:10px;
}

/* MEASURE SECTION */
.measure-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.measure-grid img{
  width:100%;
  border-radius:15px;
}
/* SIMPLE FOOTER */
.simple-footer{
  margin-top:40px;
  padding:30px 5%;
  text-align:center;

  background:var(--green);
  color:white;

  border-top-left-radius:20px;
  border-top-right-radius:20px;
}

.simple-footer h3{
  font-size:18px;
  font-weight:600;
}
/* MOBILE */
@media(max-width:768px){
  .qr-grid{
    grid-template-columns:1fr;
  }

  .measure-grid{
    grid-template-columns:1fr;
  }
}
