:root{
  --bg:#faf8f6;
  --card:#fff;
  --accent:#b8865b;
  --accent-dark:#8c5f3a;
  --muted:#7a7a7a;
  --radius:12px;
  --container:1100px;
}

*{
  box-sizing:border-box;
}

html, body{
  height:100%;
}

body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#222;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

a{
  text-decoration:none;
}

/* Header */
.header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:40;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.header .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.logo{
  display:flex;
  gap:12px;
  align-items:center;
  font-family:"Playfair Display", serif;
  font-size:1.3rem;
  color:var(--accent-dark);
  font-weight:700;
}

.logo .badge{
  width:44px;
  height:44px;
  border-radius:10px;
  background:linear-gradient(135deg, #ffdca8, #d4a373);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  font-size:1.2rem;
}

.logo span{
  display:flex;
  flex-direction:column;
  gap:0px;
}

.logo .brand-name{
  font-size:1.1rem;
  line-height:1.2;
}

.logo .brand-desc{
  font-size:0.7rem;
  color:var(--muted);
  font-weight:400;
  font-family:"Poppins", sans-serif;
}

/* Nav actions */
.nav-actions{
  display:flex;
  gap:14px;
  align-items:center;
}

.search{
  background:#f4f4f4;
  border-radius:999px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:220px;
}

.search input{
  border:none;
  background:transparent;
  outline:none;
  font-size:0.95rem;
  padding:6px 0;
  width:100%;
  color:#222;
}

.search input::placeholder{
  color:#999;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-weight:600;
  font-size:0.95rem;
  transition:all 0.3s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn.primary{
  background:linear-gradient(90deg, var(--accent), var(--accent-dark));
  color:#fff;
  box-shadow:0 6px 18px rgba(140, 95, 58, 0.12);
}

.btn.primary:hover{
  box-shadow:0 8px 24px rgba(140, 95, 58, 0.18);
}

.btn.ghost{
  background:transparent;
  border:1px solid #eee;
  color:#333;
}

.btn.ghost:hover{
  background:#f9f9f9;
}

.btn.small{
  padding:8px 12px;
  font-size:0.9rem;
  border-radius:10px;
}

/* Section */
.section{
  padding:40px 0;
}

.section h2{
  font-family:"Playfair Display", serif;
  font-size:2rem;
  margin:0 0 20px;
  color:var(--accent-dark);
  text-align:center;
}

/* Hero */
.hero{
  padding:36px 0 20px;
  background:linear-gradient(180deg, rgba(255, 252, 249, 0.65), rgba(250, 248, 246, 0.85));
}

.hero-inner{
  display:flex;
  gap:36px;
  align-items:center;
  max-width:var(--container);
  margin:0 auto;
  padding:40px 20px;
}

.hero-text{
  max-width:620px;
  flex:1;
}

.hero h1{
  font-family:"Playfair Display", serif;
  font-size:48px;
  margin:0 0 12px;
  color:var(--accent-dark);
  line-height:1.2;
}

.hero p{
  color:var(--muted);
  font-size:1.05rem;
  margin-bottom:18px;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Hero image */
.hero-image{
  flex:1;
  min-height:380px;
  border-radius:16px;
  background-image:url("https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?auto=format&fit=crop&w=1200&q=80");
  background-size:cover;
  background-position:center;
  box-shadow:0 10px 30px rgba(25, 20, 20, 0.08);
}

/* Promo strip */
.promo-strip{
  display:flex;
  gap:12px;
  justify-content:center;
  padding:16px 20px;
  flex-wrap:wrap;
}

.promo{
  background:#fff;
  border-radius:10px;
  padding:12px 18px;
  color:#333;
  font-weight:600;
  box-shadow:0 6px 20px rgba(30, 20, 10, 0.03);
  border:1px solid #f0f0f0;
}

/* Collections */
.collections-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-top:18px;
}

.collection-card{
  background:var(--card);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(20, 10, 0, 0.06);
  display:flex;
  flex-direction:column;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 40px rgba(20, 10, 0, 0.12);
}

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

.card-body{
  padding:14px;
  flex:1;
  display:flex;
  flex-direction:column;
}

.card-body h3{
  margin:0 0 6px;
  font-family:"Playfair Display", serif;
  color:var(--accent-dark);
}

.card-body p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:0.95rem;
  flex:1;
}

/* Products grid */
.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.section-header h2{
  margin:0;
}

.link{
  color:var(--accent);
  font-weight:600;
  font-size:0.95rem;
  transition:color 0.3s ease;
}

.link:hover{
  color:var(--accent-dark);
}

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

.product{
  background:var(--card);
  border-radius:12px;
  overflow:hidden;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 8px 30px rgba(15, 10, 5, 0.04);
  display:flex;
  flex-direction:column;
}

.product:hover{
  transform:translateY(-8px);
  box-shadow:0 16px 40px rgba(15, 10, 5, 0.08);
}

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

.product-body{
  padding:12px;
  flex:1;
  display:flex;
  flex-direction:column;
}

.product-body h4{
  margin:0 0 6px;
  font-size:1rem;
  color:#222;
  font-family:"Poppins", sans-serif;
}

.product-body p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:0.9rem;
  flex:1;
}

.price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
}

.price{
  font-weight:700;
  color:var(--accent-dark);
  font-size:1rem;
}

.old-price{
  text-decoration:line-through;
  color:#b8b8b8;
  font-size:0.9rem;
}

/* Newsletter */
.newsletter{
  background:#fff;
  margin:28px 0;
  padding:32px 0;
  box-shadow:0 6px 30px rgba(30, 18, 10, 0.03);
  border-radius:12px;
}

.newsletter-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.newsletter-inner div{
  flex:1;
}

.newsletter-inner h3{
  margin:0 0 6px;
  font-family:"Playfair Display", serif;
  font-size:1.5rem;
  color:var(--accent-dark);
}

.newsletter-inner p{
  margin:0;
  color:var(--muted);
}

.newsletter-form{
  display:flex;
  gap:10px;
  flex:1;
}

.newsletter-form input{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #eee;
  outline:none;
  width:100%;
  font-size:0.95rem;
  transition:border-color 0.3s ease;
}

.newsletter-form input:focus{
  border-color:var(--accent);
}

/* Footer */
.footer{
  background:#fff;
  border-top:1px solid #eee;
  padding:40px 0 60px;
  margin-top:30px;
}

.footer .cols{
  display:flex;
  gap:24px;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
  flex-wrap:wrap;
}

.footer .cols > div{
  flex:1;
  min-width:200px;
}

.footer h5{
  margin:0 0 10px;
  font-size:1rem;
  color:#222;
  font-weight:600;
}

.footer p{
  margin:0;
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.8;
}

.footer a{
  color:var(--muted);
  text-decoration:none;
  transition:color 0.3s ease;
}

.footer a:hover{
  color:var(--accent);
}

/* Responsive */
@media (max-width:1024px){
  .products-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width:980px){
  .products-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .collections-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .hero-inner{
    flex-direction:column;
  }
  .hero-image{
    width:100%;
    height:300px;
  }
  .newsletter-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .newsletter-form{
    width:100%;
  }
  .header .top{
    padding:0 12px;
  }
  .search{
    min-width:160px;
  }
}

@media (max-width:768px){
  .hero h1{
    font-size:36px;
  }
  .section h2{
    font-size:1.6rem;
  }
  .collections-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .header .top{
    height:64px;
    padding:0 14px;
  }
  .products-grid{
    grid-template-columns:1fr;
  }
  .search{
    min-width:120px;
    font-size:0.85rem;
  }
  .search input{
    font-size:0.85rem;
  }
  .newsletter-form input{
    width:100%;
  }
  .hero-inner{
    padding:20px;
  }
  .hero h1{
    font-size:28px;
  }
  .hero p{
    font-size:0.95rem;
  }
  .nav-actions{
    gap:8px;
  }
  .btn{
    padding:8px 12px;
    font-size:0.85rem;
  }
  .footer .cols{
    flex-direction:column;
  }
}

/* Logo Styles */
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-img-login {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.admin-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}