/* ─── فونت فارسی وزیرمتن ─── */
@font-face {
    font-family: "Vazirmatn";
    src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-ExtraBold.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #be1e2d;
    --red-light: #d43c4b;
    --red-dark: #9a1520;
    --gold: #faa634;
    --gold-light: #fcc060;
    --gold-dark: #d48a1e;
    --white: #ffffff;
    --off-white: #fefbf7;
    --dark: #2b1b0e;
    --dark-soft: #4a3a2a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-gold: 0 8px 28px rgba(250, 166, 52, 0.35);
    --shadow-red: 0 8px 28px rgba(190, 30, 45, 0.35);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

body {
    font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #fffaf3 0%, #fdf2e6 40%, #f5e6d6 100%);
    color: var(--dark);
    direction: rtl;
    line-height: 1.8;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ─── نوار قرمز بالای هدر ─── */
.top-banner {
    background: linear-gradient(135deg, var(--red-dark), var(--red), var(--red-light));
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.top-banner p {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.top-banner p::before,
.top-banner p::after {
    content: "✦";
    font-size: 0.8rem;
    color: var(--gold);
    width: auto;
    height: auto;
    background: none;
}

/* ─── هدر شیشه‌ای ─── */
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 30px rgba(190, 30, 45, 0.15);
    border-bottom: 2px solid rgba(250, 166, 52, 0.3);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

/* ─── منوی کشویی ─── */
.nav-left {
    position: relative;
}

.nav-dropdown {
    background: linear-gradient(135deg, var(--white), #fff5eb);
    border-radius: 999px;
    border: 2px solid var(--gold);
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--red);
    box-shadow: 0 6px 18px rgba(250, 166, 52, 0.25);
    transition: all 0.25s ease;
}

.nav-dropdown:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(250, 166, 52, 0.4);
    border-color: var(--red);
}

.icon-menu {
    width: 22px;
    height: 22px;
}

.icon-menu rect {
    fill: var(--red);
    rx: 2;
}

.nav-dropdown-list {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--white);
    width: 200px;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(43, 27, 14, 0.25);
    list-style: none;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(250, 166, 52, 0.2);
}

.nav-left:hover .nav-dropdown-list {
    display: block;
}

.nav-dropdown-list li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--dark-soft);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f5ede4;
    transition: all 0.15s ease;
}

.nav-dropdown-list li:last-child a {
    border-bottom: none;
}

.nav-dropdown-list li a:hover {
    background: linear-gradient(90deg, #fff5eb, #fceae3);
    color: var(--red);
    padding-right: 20px;
}

/* ─── لوگو ─── */
.nav-center .logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-center .logo-img {
    height: 68px;
    filter: drop-shadow(0 4px 12px rgba(190, 30, 45, 0.25));
}

/* ─── آیکن تلفن ─── */
.nav-right .phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white), #fef0e6);
    border: 2px solid var(--red);
    box-shadow: 0 8px 24px rgba(190, 30, 45, 0.3);
    transition: all 0.25s ease;
}

.icon-phone {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transform: none;
}

.nav-right .phone-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(190, 30, 45, 0.45);
    background: linear-gradient(135deg, var(--white), #ffe0d6);
}

.icon-phone {
    width: 24px;
    height: 24px;
}

.icon-phone path {
    fill: var(--red);
}

/* ─── کانتینر اصلی ─── */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* ─── اسلایدر محصولات ─── */
/* اسلایدر */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 16px; /* گوشه‌های گرد */
}

.slides {
  display: flex;
  height: 220px;
  transition: transform .4s ease;
  direction: ltr !important;
  margin: 0 !important;
  padding: 0 !important;
}

.slide {
  flex: 0 0 100%;
  height: 220px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 16px; /* عکس‌ها هم گرد بشن */
}

/* دات‌ها */
.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .4;
  cursor: pointer;
}

.slider-dots span.active {
  opacity: 1;
}

/* دات‌ها */
.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .4;
  cursor: pointer;
}

.slider-dots span.active {
  opacity: 1;
}

/* ─── سکشن دسته‌بندی‌ها ─── */
.section-header {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 20px;
    position: relative;
}

.section-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
    margin: 12px auto 0;
    border-radius: 999px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
}

.section-header p {
    font-size: 1rem;
    color: var(--dark-soft);
    margin-top: 8px;
}

.categories-section {
    margin-top: 12px;
}

.categories-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 12px 4px 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #f0e6dc;
}

.categories-carousel::-webkit-scrollbar {
    height: 6px;
}

.categories-carousel::-webkit-scrollbar-track {
    background: #f0e6dc;
    border-radius: 999px;
}

.categories-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 999px;
}

.category-item {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
    transition: transform 0.25s ease;
}

.category-item:hover {
    transform: translateY(-4px);
}

.category-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 180deg, var(--gold), var(--gold-light), #ffe6b3, var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(250, 166, 52, 0.3);
    transition: all 0.25s ease;
}

.category-item:hover .category-avatar {
    box-shadow: 0 12px 32px rgba(250, 166, 52, 0.5);
}

.category-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.category-item h3 {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-soft);
}

/* ─── چرا محک ─── */
.why-section {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    background: linear-gradient(135deg, var(--white), #fff8f0);
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(250, 166, 52, 0.15);
}

.why-content {
    font-size: 1rem;
    color: var(--dark-soft);
}

.why-content p {
    margin-bottom: 14px;
}

.why-content p:first-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red);
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(250, 166, 52, 0.2);
}

.why-image::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(190, 30, 45, 0.35);
    pointer-events: none;
}

.why-image figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #8a7a6a;
    text-align: center;
}

/* ─── منتخب‌های محک ─── */
.featured-section {
    margin-top: 48px;
}

.featured-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.featured-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(250, 166, 52, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.featured-item:hover::after {
    transform: scaleX(1);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(43, 27, 14, 0.2);
    border-color: rgba(250, 166, 52, 0.3);
}

.featured-item img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.featured-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.featured-item p {
    font-size: 0.85rem;
    color: #7a6a5a;
    line-height: 1.6;
}

/* ─── فوتر ─── */
.site-footer {
    margin-top: 60px;
    background: linear-gradient(180deg, var(--glass-bg), #f0e6dc);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
    border-top: 2px solid rgba(250, 166, 52, 0.2);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 18px;
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--red);
    position: relative;
    padding-bottom: 6px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
}

.footer-column p,
.footer-column li {
    font-size: 0.85rem;
    color: var(--dark-soft);
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: var(--dark-soft);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    margin-top: 22px;
    border-top: 1px solid rgba(250, 166, 52, 0.2);
    padding-top: 14px;
    font-size: 0.8rem;
    color: #8a7a6a;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 900px) {
    .main-nav {
        padding-inline: 14px;
    }

    .why-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nav-center .logo-img {
        height: 52px;
    }

    .top-banner {
        font-size: 0.85rem;
        padding: 8px 0;
    }

