:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #5a5a5a;
  --border: #e3e3e3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 0.85rem;
}

.product-body h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.product-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.message {
  text-align: center;
  color: var(--muted);
}

/* ===== PRODUCTS PAGE — brand header & lang switcher ===== */
:root {
  --gold:      #C9A84C;
  --gold-dark: #8B6914;
  --dark:      #0D0B08;
}

body { cursor: auto; }

/* Top bar */
.ph-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--dark);
  flex-wrap: wrap;
}

/* Back link */
.ph-back {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.ph-back:hover { color: var(--gold); }

/* Logo + brand name */
.ph-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ph-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.ph-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.35);
  color: rgba(255,255,255,0.65);
  padding: 0.32rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Page heading area */
.page-header {
  padding: 0;
  text-align: center;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  margin: 1.5rem 0 0.4rem;
  padding: 0 1rem;
}
.page-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #5a5a5a;
  margin: 0 0 0.75rem;
  padding: 0 1rem;
}

.products-quick-links {
  width: min(1100px, 92%);
  margin: 0 auto 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 0.75rem;
}

.products-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(13, 11, 8, 0.82);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: #fff;
}

.products-quick-links a i { color: var(--gold-dark); }

.products-quick-links a:hover {
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .ph-topbar {
    justify-content: center;
    padding: 0.9rem 0.85rem;
  }
  .ph-back   { order: 3; width: 100%; text-align: center; }
  .ph-logo { width: 54px; height: 54px; }
  .ph-brand { font-size: 1.25rem; }
  .container { width: 94%; }
  .products-quick-links { justify-content: stretch; }
  .products-quick-links a { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
}
