:root {
  --primary: #5c4a3a;
  --secondary: #8b7355;
  --accent: #c9a87c;
  --accent-light: #d4b896;
  --gold: #b8956e;
  --bg-light: #faf8f5;
  --bg-dark: #3d3228;
  --text-dark: #3d3228;
  --text-light: #8b8178;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(92, 74, 58, 0.1);
  --shadow-hover: 0 20px 60px rgba(92, 74, 58, 0.15);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  text-decoration: none;
}

.logo img { height: 40px; }

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

nav a:hover::after { width: 100%; }
nav a:hover { color: var(--accent); }

.cart-btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.cart-btn::after { display: none; }

/* Page Header */
.page-header {
  padding: 140px 5% 60px;
  background: linear-gradient(135deg, #5c4a3a 0%, #8b7355 50%, #a89078 100%);
  text-align: center;
}

.page-header-content { max-width: 800px; margin: 0 auto; }

.breadcrumb {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.breadcrumb:hover { color: var(--white); }

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Products */
.products {
  padding: 60px 5%;
  background: var(--bg-light);
}

.products.category-page { padding-top: 80px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-actions {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  font-size: 1.1rem;
}

.action-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.product-info { padding: 20px; }

.product-category {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

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

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 14px;
  transition: var(--transition);
}

.add-to-cart:hover { background: var(--accent); }

/* Footer */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 5%;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p { line-height: 1.7; margin-bottom: 16px; }

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  nav { display: none; }
  .page-header h1 { font-size: 2rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

html { scroll-behavior: smooth; }
