/* RESET & BASE */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}
body{
  background:#f3ece9;
  color:#222;
}

/* CONTAINER HEADER & SIDEBAR */
header{
  display:flex;
  min-height:100vh;
}
.sidebar{
  width:110px;
  background:#d8c3bd;
  display:flex;
  justify-content:center;
  align-items:center;
  position: relative;
}
.sidebar h1{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color:white;
  letter-spacing:8px;
  font-size:48px;
  font-weight:bold;
  white-space: nowrap;
}
.main{
  flex:1;
  padding:30px 50px;
}

/* TOP BAR (Logo, Search, Cart) */
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-area img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
}
.logo-area h1 {
  font-size: 28px;
  color: #b58f87;
  font-weight: bold;
}
.search-box {
  flex: 1;
  max-width: 500px;
  display: flex;
}
.search-box input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #d8c3bd;
  border-radius: 25px 0 0 25px;
  outline: none;
  font-size: 16px;
}
.search-box button {
  padding: 0 25px;
  background: #b58f87;
  border: none;
  color: white;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  font-size: 16px;
}
.cart-icon-btn {
  position: relative;
  background: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #222;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.cart-icon-btn:hover {
  background: #b58f87;
  color: white;
}

/* NAVIGATION BAR */
.navbar {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 60px;
}
.nav-links li a {
  text-decoration: none;
  color: #555;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #b58f87;
  transition: width 0.3s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #b58f87;
}

/* COMMON COMPONENT: BUTTON */
.btn {
  display:inline-block;
  padding:10px 25px;
  background:black;
  color:white;
  border-radius:50px;
  text-decoration:none;
  transition:0.3s;
  cursor: pointer;
  border: none;
  font-size: 14px;
}
.btn:hover {
  background:#b58f87;
}

/* FOOTER */
footer {
  margin-top:50px;
  background:black;
  color:white;
  text-align:center;
  padding:35px;
  border-radius:20px 20px 0 0;
}
footer h2 {
  font-size:28px;
  margin-bottom:10px;
  letter-spacing:3px;
}
footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* RESPONSIVE BASE */
@media(max-width:768px){
  header{ flex-direction:column; }
  .sidebar{ width:100%; height:70px; }
  .sidebar h1{ writing-mode: horizontal-tb; transform:none; font-size:28px; }
  .main{ padding:20px; }
  .header-bar { flex-direction: column; align-items: stretch; }
  .logo-area { justify-content: center; }
  .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
  .nav-links li a { font-size: 14px; }
}