:root {
  --brand: #b48c5a;
  --brand-dark: #a07a4a;
  --bg: #f8fafc;
  --text: #222;
  --muted: #666;
  --card: #fff;
  --shadow: 0 8px 26px rgba(180, 140, 90, 0.22);
}

* { box-sizing: border-box; }

body {
  font-family: 'Cairo', Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, #f3e7e9 100%);
  margin: 0 auto;
  max-width: 1440px;
  color: var(--text);
}

.page-header {
  background: #fff;
  box-shadow: 0 2px 8px #eee;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  white-space: nowrap;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.page-nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 700;
}

.page-nav a:hover { color: var(--brand); }

.hero {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hero-text, #fff);
  background: linear-gradient(
    120deg,
    var(--hero-gradient-start, rgba(180, 140, 90, 0.9)),
    var(--hero-gradient-end, rgba(160, 122, 74, 0.85))
  );
}

.hero h1 {
  margin: 0 0 8px 0;
  font-size: 2rem;
}

.hero p {
  margin: 0;
  font-size: 1rem;
}

.collection-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}

.collection-card {
  background: var(--showcase-card-bg, var(--card));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 20px;
  margin-bottom: 30px;
}

.collection-image {
  width: 100%;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f1e8, #e9d7c5);
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.collection-info h2 {
  margin: 0 0 8px 0;
  font-size: 1.6rem;
  color: var(--brand);
}

.collection-meta {
  display: flex;
  gap: 16px;
  font-weight: 700;
  color: var(--brand-dark);
}

.add-to-cart-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.add-to-cart-btn:hover {
  background: var(--brand-dark);
}

.section-title {
  color: var(--brand);
  font-size: 1.3rem;
  margin: 20px 0 16px;
}

.perfumes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.perfume-card {
  background: var(--showcase-card-bg, var(--card));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perfume-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(180, 140, 90, 0.3);
}

.perfume-image {
  width: 100%;
  height: 180px;
  background: #f8f1e8;
  overflow: hidden;
}

.perfume-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background-color: white;
}

.perfume-info {
  padding: 12px 14px 16px;
}

.perfume-info h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.perfume-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  color: var(--muted);
  text-align: center;
  padding: 12px 0;
}

.page-footer {
  background: #fff;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  box-shadow: 0 -2px 8px #eee;
}

@media (max-width: 768px) {
  .collection-card {
    grid-template-columns: 1fr;
  }

  .add-to-cart-btn {
    width: 100%;
    align-self: stretch;
  }
}
