.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 250, 250, 0.82);
  border-bottom: 1px solid rgba(236, 236, 236, 0.8);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  direction: ltr;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
  direction: ltr;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  font-size: 0.78rem;
  letter-spacing: -0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  direction: ltr;
}

.nav-link {
  position: relative;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--primary);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--primary);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.lang-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 24px 46px rgba(17, 17, 17, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.btn-light {
  background: var(--card);
  color: var(--primary);
  border-color: var(--border);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 16px 34px rgba(201, 169, 110, 0.28);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--nav-height);
  overflow: hidden;
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.15s ease, transform 5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.2));
}

body[dir="rtl"] .hero-overlay {
  background: linear-gradient(-90deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.2));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
}

body[dir="rtl"] .hero-content {
  align-items: flex-start;
}

.hero h1 {
  margin: 16px 0 22px;
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

body[dir="rtl"] .hero h1 {
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 34px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 36px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.active {
  background: #fff;
}

.category-card,
.product-card,
.feature-card,
.stat-card,
.spec-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover,
.product-card:hover,
.feature-card:hover,
.stat-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 240px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 24px;
  color: #fff;
  isolation: isolate;
}

.category-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.72));
}

.category-card:hover .category-image {
  transform: scale(1.06);
}

.category-content {
  position: relative;
  z-index: 1;
}

.category-card h3,
.feature-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.category-card p,
.feature-card p,
.contact-card p {
  margin: 0;
  color: inherit;
}

.product-card {
  cursor: pointer;
}

.product-media {
  aspect-ratio: 4 / 5;
  background: var(--soft);
  overflow: hidden;
}

.product-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.055);
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 0.84rem;
}

.product-card h3 {
  min-height: 52px;
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.product-price {
  margin: 0 0 12px;
  font-size: 1.03rem;
  font-weight: 900;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}

.pill,
.size-pill,
.color-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .btn {
  min-height: 42px;
  padding-inline: 12px;
  font-size: 0.84rem;
}

.card-actions .btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(201, 169, 110, 0.22);
}

.card-actions .btn-primary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.18);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
  margin-bottom: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  padding: 0 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 130px;
  padding-block: 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.14);
}

.feature-card,
.contact-card,
.stat-card,
.spec-card {
  padding: 28px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.14);
  color: var(--accent);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.newsletter,
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 1px solid #ddd4c7;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(
    180deg,
    #f8f5ef 0%,
    #efe8dd 100%
  );
  color: #1e1e1e;
  box-shadow: 0 24px 70px rgba(107, 91, 65, 0.12);
}

.newsletter::after,
.cta-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  inset-inline-end: -90px;
  top: -120px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.18);
}

.newsletter::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: rgba(201, 169, 110, 0.35);
}

.newsletter h2,
.cta-band h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.newsletter p,
.cta-band p {
  position: relative;
  max-width: 620px;
  margin: 0 0 24px;
  color: #6b6b6b;
}

.newsletter-form {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 560px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  border: 1px solid #ddd4c7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1e1e1e;
  padding: 0 18px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #6b6b6b;
}

.newsletter .btn-accent,
.cta-band .btn-accent {
  background: var(--accent);
  color: #1e1e1e;
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(201, 169, 110, 0.28);
}

.newsletter .btn-accent:hover,
.cta-band .btn-accent:hover {
  background: #1e1e1e;
  border-color: #1e1e1e;
  color: #fff;
}

.footer {
  padding: 92px 0 34px;
  border-top: 1px solid rgba(201, 169, 110, 0.35);
  background: linear-gradient(
    180deg,
    #f8f5ef 0%,
    #efe8dd 100%
  );
  color: #1e1e1e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
}

.footer h3,
.footer h4 {
  margin: 0 0 18px;
  color: #1e1e1e;
  letter-spacing: -0.025em;
}

.footer p,
.footer li {
  color: #6b6b6b;
}

.footer a {
  display: inline-block;
  color: #444444;
  transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

body[dir="rtl"] .footer a:hover {
  transform: translateX(-4px);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #ddd4c7;
  border-radius: 999px;
  background: #fff;
  color: #2b2b2b;
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

body[dir="rtl"] .socials a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #ddd4c7;
  color: rgba(107, 107, 107, 0.78);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.56);
}

.modal.open {
  display: flex;
}

.modal-panel {
  width: min(900px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
}

.modal-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 24px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.quantity button,
.quantity input {
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  text-align: center;
}

.quantity input {
  border-inline: 1px solid var(--border);
  font-weight: 900;
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 169, 110, 0.13), rgba(17, 17, 17, 0.03)),
    repeating-linear-gradient(45deg, #fff, #fff 16px, #f3f3f3 16px, #f3f3f3 17px);
  border: 1px solid var(--border);
  text-align: center;
}
