:root {
  --cream: #E8D3BB;
  --brown: #482B19;
  --black: #1A1A1A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: var(--cream);
  color: var(--black);
}

/* NAVBAR */
.navbar {
  background: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;   /* 🔥 important */
  padding: 1px 50px;    /* slightly reduced */
  border-bottom: 2px solid var(--brown);
}

.logo h2 {
  color: var(--brown);
}

.logo span {
  font-size: 12px;
  color: var(--black);
}

.navbar a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
}

.lang-switch { margin-right: 15px; }
.lang-btn {
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid var(--brown);
  background: transparent;
  color: var(--brown);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.lang-btn.active, .lang-btn:hover { background: var(--brown); color: var(--cream); }

/* HERO */
/* HOME PAGE HERO SLIDER UI */

.hero-slider {
  position: relative;
  text-align: center;
  padding: 0;
}

.hero-slider .slider {
  position: relative;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: none;
  border-radius: 20px;
}

.slide.active {
  display: block;
}

.slider-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: rgba(0,0,0,0.6);
  padding: 20px 30px;
  border-radius: 12px;
  color: white;
}

.hero-slider button {
  padding: 12px 30px;
  border: none;
  background: #482B19;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

/* PRODUCTS */
.products {
  padding: 50px;
}

.products h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--brown);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin: 10px 0;
  color: var(--brown);
}

.card p {
  font-weight: bold;
}

.card button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: var(--brown);
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* SMART QUANTITY INTERFACE */

.img-box {
  text-align: center;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  text-align: center;
}

.quantity-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}

.inc-btn, .dec-btn {
  padding: 6px 14px;
  background: #482B19;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.remove-btn {
  margin-top: 10px;
  padding: 8px;
  background: #1A1A1A;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.subtotal {
  font-size: 13px;
  text-align: center;
}



/* PREMIUM ATTRACTIVE FOOTER - BRAND KIT BASED */

.heritage-footer {
  background: #482B19;
  color: white;
  padding: 50px 40px 20px 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-about h2 {
  color: #E8D3BB;
  margin-bottom: 8px;
}

.tagline {
  font-size: 13px;
  margin-bottom: 12px;
  color: #E8D3BB;
  font-weight: 600;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 10px;
  color: #E8D3BB;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: white;
  margin: 6px 0;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #E8D3BB;
}

.footer-social .social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.social-icons a:hover {
  color: #E8D3BB;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid #E8D3BB;
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #E8D3BB;
}

.footer-bottom strong {
  color: white;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.05);
}

/* DETAIL PAGE UI */

.detail-container {
  display: flex;
  padding: 40px;
  gap: 30px;
}

.detail-card {
  width: 40%;
}

.curved {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 20px;
}

.detail-info {
  width: 55%;
}

/* PREMIUM SEARCH BAR */

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 18px 16px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.search-box:focus-within {
  box-shadow: 0 6px 18px rgba(72, 43, 25, 0.4);
  transform: scale(1.03);
}

.search-icon {
  font-size: 18px;
  margin-right: 10px;
  color: #482B19;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}



/* ===============================
   RESPONSIVE DESIGN
================================ */

/* TABLET (≤ 992px) */
@media (max-width: 992px) {

  .navbar {
    padding: 15px 25px;
  }

  .hero-slider .slider,
  .slide {
    height: 300px;
  }

  .products {
    padding: 30px;
  }

  .detail-container {
    flex-direction: column;
    padding: 30px;
  }

  .detail-card,
  .detail-info {
    width: 100%;
  }

  .search-box {
    width: 220px;
  }
}


/* MOBILE (≤ 768px) */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .navbar a {
    margin-left: 0;
  }

  /* HERO */
  .hero-slider .slider,
  .slide {
    height: 220px;
    border-radius: 12px;
  }

  .slider-text {
    width: 90%;
    font-size: 14px;
    padding: 15px;
  }

  /* PRODUCTS */
  .products {
    padding: 20px;
  }

  .product-grid {
    gap: 20px;
  }

  /* CARD */
  .card img {
    height: 180px;
  }

  /* DETAIL PAGE */
  .curved {
    height: 260px;
  }

  /* SEARCH BAR */
  .search-box {
    width: 100%;
    max-width: 320px;
  }

  /* FOOTER */
  .heritage-footer {
    padding: 40px 20px 20px 20px;
  }

  .footer-container {
    gap: 20px;
    text-align: center;
  }

  .footer-social .social-icons {
    align-items: center;
  }
}


/* SMALL MOBILE (≤ 480px) */
@media (max-width: 480px) {

  body {
    font-size: 14px;
  }

  .navbar h2 {
    font-size: 18px;
  }

  .slider-text {
    font-size: 13px;
  }

  .card {
    padding: 12px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
  }

  .card button {
    padding: 8px;
    font-size: 13px;
  }

  .search-box {
    padding: 6px 14px;
  }
}


/* MODERN PRODUCT CARD */

.product-card{
  background:white;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
  overflow:hidden;
  transition:0.3s;
  position:relative;
}

.product-card:hover{
  transform:translateY(-6px);
}

.product-img-box{
  position:relative;
}

.product-img-box img{
  width:100%;
  height:220px;
  object-fit:cover;
}

/* Wishlist Icon */

.wishlist-icon{
  position:absolute;
  top:10px;
  right:10px;
  background:white;
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  font-size:18px;
}

.product-info{
  padding:15px;
}

.product-info h3{
  font-size:16px;
  margin-bottom:6px;
  color:#482B19;
}

.product-info p{
  font-weight:700;
  margin-bottom:10px;
}

.add-btn{
  width:100%;
  padding:10px;
  background:#482B19;
  color:white;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

.weight-btn {
  padding: 8px 12px;
  font-size: 12px;
  background: #fff;
  color: #482B19;
  border: 1px solid #482B19;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.weight-btn:hover {
  background: #482B19;
  color: #fff;
}

.filter-bar{
  display:flex;
  gap:15px;
  justify-content:center;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.filter-bar select,
.filter-bar input{
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #ccc;
}

.review-card{
  background:#fff;
  padding:10px;
  border-radius:8px;
  margin:8px 0;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}


.logo-img{
  height:90px;
  object-fit:contain;
  cursor:pointer;
  
}

.foot-img{
  width: 250px;
  height: 100px;
}




.contact-hero{
  background:#482B19;
  color:white;
  text-align:center;
  padding:60px 20px;
}

.contact-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  padding:40px;
}

.card{
  background:white;
  padding:25px;
  border-radius:16px;
  text-align:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.contact-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  padding:40px;
}

.contact-form{
  background:white;
  padding:30px;
  border-radius:16px;
  box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  margin:10px 0;
  border-radius:8px;
  border:1px solid #ccc;
}

.contact-form button{
  background:#482B19;
  color:white;
  padding:12px;
  width:100%;
  border:none;
  border-radius:10px;
  cursor:pointer;
}

.contact-map{
  height:420px;
  border-radius:16px;
  overflow:hidden;
}

#successMsg{
  color:green;
  margin-top:10px;
}

/* WhatsApp Floating */
.whatsapp-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  padding:15px;
  border-radius:50%;
  font-size:22px;
  text-decoration:none;
  box-shadow:0 5px 15px rgba(0,0,0,.3);
}




/* ===== ADMIN LAYOUT ===== */

body{
  margin:0;
  font-family: 'Segoe UI', sans-serif;
  background:#f4f6f9;
}

.admin-layout{
  display:flex;
  min-height:100vh;
}

/* ===== SIDEBAR ===== */

.admin-sidebar{
  width:240px;
  background:#1f2937;
  color:white;
  padding:20px 15px;
}

.admin-logo{
  text-align:center;
  margin-bottom:30px;
}

.admin-logo img{
  max-width:120px;
  margin-bottom:10px;
}

.admin-menu a{
  display:block;
  padding:12px 15px;
  margin-bottom:6px;
  text-decoration:none;
  color:#cbd5e1;
  border-radius:8px;
  transition:0.3s;
  font-size:14px;
}

.admin-menu a:hover,
.admin-menu a.active{
  background:#374151;
  color:#fff;
}

/* ===== MAIN ===== */

.admin-main{
  flex:1;
  padding:30px;
}

.admin-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

.admin-topbar h2{
  margin:0;
  font-weight:600;
}

.logout-btn{
  padding:8px 16px;
  background:#ef4444;
  border:none;
  color:white;
  border-radius:6px;
  cursor:pointer;
}

/* ===== FILTER BUTTONS ===== */

.filter-bar{
  display:flex;
  gap:10px;
  margin-bottom:25px;
}

.filter-bar button{
  padding:8px 14px;
  border:none;
  border-radius:20px;
  background:#e5e7eb;
  cursor:pointer;
  font-size:13px;
  transition:0.3s;
}

.filter-bar button:hover{
  background:#d1d5db;
}

.filter-bar button.active{
  background:#2563eb;
  color:white;
}

/* ===== STAT CARDS ===== */

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.stat-card{
  background:white;
  padding:22px;
  border-radius:14px;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  transition:0.3s;
}

.stat-card:hover{
  transform:translateY(-4px);
}

.stat-card h4{
  font-size:13px;
  color:#6b7280;
  margin-bottom:10px;
}

.stat-card h2{
  font-size:22px;
  margin:0;
}

.green{color:#10b981;}
.blue{color:#3b82f6;}
.orange{color:#f59e0b;}

/* ===== CHARTS ===== */

.chart-section{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}

.chart-card{
  background:white;
  padding:20px;
  border-radius:14px;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.chart-card h3{
  margin-bottom:15px;
  font-size:16px;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){
  .chart-section{
    grid-template-columns:1fr;
  }

  .admin-sidebar{
    display:none;
  }
}