@import url('https://lib.arvancloud.ir/vazir-font/33.003/Farsi-Digits-Non-Latin/Vazirmatn-FD-NL-font-face.css');

body {
  font-family: 'Vazirmatn', sans-serif;
  background: #f9f9f7;
  margin: 0;
  direction: rtl;
  color: #1c1a17;
}

/* -------- رنگ‌های لوکس -------- */
:root {
  --gold: #d4af37;
  --silver: #c0c0c0;
  --black: #0c0c0c;
  --soft-bg: #f9f9f7;
  --white: #ffffff;
}

.logo {
  height: 100px;
  width: auto;
}

header {
  background: var(--white);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--silver);
  position: sticky;
  top: 0;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: var(--gold);
}

.hero {
  background: #f6f4ec;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  color: var(--gold);
}

.btn {
  background: var(--gold);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--black);
}

.container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
 .card img {
  width: 100%;
  height: 284px;
  object-fit: cover;
}
}

.card h3 {
  font-size: 16px;
  padding: 10px;
  color: var(--black);
}

.price {
  padding: 0 10px;
  color: var(--gold);
}

.card button {
  margin: 10px;
  background: #eee;
  border: none;
  padding: 10px;
  border-radius: 6px;
  width: calc(100% - 20px);
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  background: var(--gold);
  color: var(--black);
}

.about, .faq, .contact {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: var(--black);
}

.faq-item {
  margin: 15px 0;
}

footer {
  background: var(--white);
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  border-top: 1px solid var(--silver);
  color: #555;
}

/* -------- سبد خرید -------- */
.cart {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
  width: 280px;
  max-height: 60vh;
  overflow-y: auto;
  transition: .3s;
  z-index: 1000;
}

.cart.closed {
  transform: translateY(82%);
  height: 55px;
  overflow: hidden;
  padding-top: 35px;
}

.cart h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--black);
}

.cart-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--gold);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  width: 90%;
}

.cart-badge {
  background: var(--black);
  color: var(--gold);
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 11px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.remove {
  color: var(--gold);
  cursor: pointer;
}

.cart button {
  margin-top: 6px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background: var(--gold);
  cursor: pointer;
  color: var(--black);
}

.order {
  background: #d2e7d9;
}

@media (max-width: 700px) {
  .cart {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 15px 15px 0 0;
    max-height: 70vh;
  }

  .cart.closed {
    transform: translateY(60%);
  }

  .cart-toggle {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  header {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 26px;
  }
}

/* -------- ویدئو و مدال -------- */
.thumb {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(212, 175, 55, 0.7);
  color: white;
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 50%;
  pointer-events: none;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-box {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-box video {
  width: 100%;
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 26px;
  color: white;
  background: rgba(212, 175, 55, 0.6);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

