:root {
  --bg: #F9F6F0; --card: #FFFFFF; --text: #3E3228; --brand: #8B5A2B;
  --border: rgba(62, 50, 40, 0.15); --shadow: 0 8px 24px rgba(0,0,0,0.05);
  --radius: 12px; --radius-sm: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Assistant', sans-serif; background: var(--bg); color: var(--text); direction: rtl; }
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

.nav { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; max-width: 1100px; margin: 0 auto; }
.brand { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--text); }
.nav-links { display: flex; gap: 8px; }
.pill { padding: 8px 16px; border-radius: 6px; text-decoration: none; color: #666; font-weight: 600; font-size: 14px; }
.pill.active { background: var(--bg); color: var(--brand); border: 1px solid var(--border); }

/* Toolbar - Cozy No Blue */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.toolbar input { flex: 1 1 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; }
.toolbar select { 
  flex: 1; min-width: 80px; padding: 10px 5px; border: 1px solid var(--border); border-radius: 8px; 
  font-family: inherit; font-weight: 600; font-size: 13px; background-color: white; color: var(--text);
  -webkit-appearance: none; appearance: none; outline: none; -webkit-tap-highlight-color: transparent;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%233E3228%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 0.7em top 50%; background-size: 0.65em auto; padding-left: 20px;
}
@media (min-width: 600px) {
  .toolbar { flex-wrap: nowrap; }
  .toolbar input { flex: 2; }
  .toolbar select { flex: 1; font-size: 16px; padding: 12px; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 30px; }
.photo { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: 0.2s; }
.photo:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo .meta { padding: 12px; }
.title { font-weight: 800; color: var(--brand); font-size: 1rem; margin-bottom: 4px; }
.sub { font-size: 0.85rem; color: #6B5E55; }

.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-inner { padding: 25px; }
.btn { display: inline-block; padding: 12px 24px; background: var(--brand); color: white !important; border-radius: 8px; text-decoration: none; font-weight: 700; margin-top: 10px; }

#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
#lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; border: 3px solid white; }