* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fefaf5;
  color: #2c241a;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* header / navbar */
.navbar {
  background: rgba(255, 251, 245, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  border-bottom: 1px solid #ffe6d5;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #e86f2c, #c45a24);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #4d3824;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: #e16a2c;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  background: #fff0e4;
  padding: 8px 14px;
  border-radius: 40px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-icon i {
  font-size: 1.25rem;
  color: #c55a28;
}

.cart-count {
  background: #e16a2c;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

/* hero section */
.hero {
  background: linear-gradient(110deg, #ffe3d0 0%, #ffd9bf 100%);
  border-radius: 0 0 56px 56px;
  padding: 56px 0 64px;
  margin-bottom: 48px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #422f1f;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 1.2rem;
  color: #5e3f28;
  margin-bottom: 28px;
  max-width: 520px;
}

.btn-primary {
  background: #e16a2c;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 18px rgba(225, 106, 44, 0.25);
}

.btn-primary:hover {
  background: #c25420;
  transform: translateY(-2px);
}

.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  width: 320px;
  filter: drop-shadow(12px 16px 24px rgba(0,0,0,0.12));
}

/* section styling */
.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 48px 0 28px 0;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70%;
  height: 4px;
  background: #f7b06b;
  border-radius: 4px;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 36px;
  margin-bottom: 60px;
}

.product-card {
  background: white;
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border: 1px solid #faeadc;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 32px -12px rgba(0,0,0,0.15);
}

.product-img {
  background: #fbf5ef;
  text-align: center;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.product-img img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.02);
}

.product-info {
  padding: 18px 20px 24px;
}

.product-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #2c241a;
}

.product-brand {
  font-size: 0.75rem;
  color: #b87a50;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.product-price {
  font-weight: 800;
  color: #e16a2c;
  font-size: 1.35rem;
  margin: 12px 0 14px;
}

.add-to-cart {
  background: #fef3ea;
  border: 1px solid #ffe0ce;
  width: 100%;
  padding: 12px 0;
  border-radius: 50px;
  font-weight: 600;
  color: #c45a28;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.add-to-cart:hover {
  background: #e16a2c;
  color: white;
  border-color: #e16a2c;
}

/* Page content styles */
.page-content {
  background: white;
  border-radius: 48px;
  padding: 48px 40px;
  margin: 48px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid #ffefdf;
}

.page-content h1 {
  font-size: 2.5rem;
  color: #c45a24;
  margin-bottom: 24px;
}

.page-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px 0;
  color: #5e3f28;
}

.page-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px 0;
  color: #7b5a3e;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #3a2c1f;
}

.page-content ul {
  margin: 16px 0 16px 32px;
}

.page-content li {
  margin-bottom: 8px;
}

/* About page specific */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin: 40px 0;
  align-items: center;
}

.about-text {
  flex: 1.2;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 48px;
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.values-section {
  background: #fff9f2;
  border-radius: 48px;
  padding: 48px 32px;
  margin: 48px 0;
}

.values-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}

.value-card {
  background: white;
  border-radius: 32px;
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.value-card i {
  font-size: 2.5rem;
  color: #e16a2c;
  margin-bottom: 16px;
}

/* cart modal */
.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.cart-modal-content {
  background: white;
  max-width: 540px;
  width: 90%;
  border-radius: 36px;
  padding: 28px 26px;
  box-shadow: 0 30px 40px rgba(0,0,0,0.2);
  max-height: 85vh;
  overflow-y: auto;
}

.cart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ffe0ce;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.cart-modal-header h3 {
  font-size: 1.7rem;
  font-weight: 700;
}

.close-modal {
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

.cart-items-list {
  list-style: none;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f5e2d2;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-item-info {
  flex: 2;
  min-width: 130px;
}

.cart-item-title {
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.8rem;
  color: #b45a2c;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fef3ec;
  padding: 4px 12px;
  border-radius: 40px;
}

.qty-btn {
  background: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.cart-total {
  font-weight: 800;
  font-size: 1.4rem;
  margin: 24px 0 20px;
  text-align: right;
  border-top: 2px dashed #f0cfb5;
  padding-top: 18px;
}

.checkout-btn {
  background: #2c6e49;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 60px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.empty-cart-msg {
  text-align: center;
  padding: 48px 0;
  color: #ba8b63;
}

footer {
  background: #f5ebe1;
  padding: 36px 0;
  margin-top: 60px;
  text-align: center;
  border-radius: 40px 40px 0 0;
  color: #7b5a3e;
}

.toast-msg {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d241c;
  color: #ffefe2;
  padding: 12px 28px;
  border-radius: 60px;
  font-size: 0.9rem;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-text h2 { font-size: 2.3rem; }
  .nav-container { flex-direction: column; }
  .nav-links { justify-content: center; }
  .page-content { padding: 28px 20px; }
  .toast-msg { white-space: nowrap; font-size: 0.8rem; }
}