/* --- بک‌گراند تصویری برای هدر Cassiopeia --- */
header.header {
    background-image: url('/media/templates/site/cassiopeia/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px; /* ارتفاع دلخواه هدر */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* وسط‌چین کردن لوگو یا عنوان سایت */
.navbar-brand {
    text-align: center;
    width: 100%;
}

/* استایل عنوان سایت در هدر */
h1.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

/* حذف فاصله اضافی بالا و پایین در هدر */
header.header .container-header {
    padding-top: 0;
    padding-bottom: 0;
}
@font-face {
  font-family: 'Vazir';
  src: url('/media/templates/site/cassiopeia/fonts/Vazir.woff2') format('woff2'),
       url('/media/templates/site/cassiopeia/fonts/Vazir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Vazir', sans-serif;
}

/* اعمال فونت وزیر به کل بدنه سایت */
body,
src: url('/media/templates/site/cassiopeia/fonts/Vazir.woff2') format('woff2'),
       url('/media/templates/site/cassiopeia/fonts/Vazir.woff') format('woff');
h1, h2, h3, h4, h5, h6,
.site-title,
.module-title,
.navbar,
a,
p,
div,
span,
li,
button,
input,
textarea,
label {
  font-family: 'Vazir', sans-serif !important;
}
.products-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  direction: rtl;
  gap: 20px;
}

.product-card {
  width: 200px;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.product-info {
  display: none;
  margin-top: 10px;
  background: #f5f5f5;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-info h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.btn {
  display: inline-block;
  margin: 5px 5px 0;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn.cafe {
  background: #43b049;
}

.btn.myket {
  background: #00c2e8;
}

.btn:hover {
  opacity: 0.9;
}

/* ریسپانسیو برای موبایل */
@media screen and (max-width: 768px) {
  .products-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

