/* ============================================================
   کافه چی — فروشگاه قهوه سنتی
   پالت: قهوه‌ای گرم + کرم + طلایی (سبک سنتی)
   ============================================================ */

/* ============================================================
   فونت‌های محلی (بدون CDN) — Lalezar برای عنوان و Vazirmatn برای متن
   ============================================================ */
@font-face {
  font-family: 'Lalezar';
  src: url('fonts/lalezar/Lalezar-Regular.woff2') format('woff2'),
       url('fonts/lalezar/Lalezar-Regular.woff') format('woff'),
       url('fonts/lalezar/Lalezar-Regular.ttf') format('truetype'),
       url('fonts/lalezar/Lalezar-Regular.eot') format('embedded-opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-Light.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2'),
       url('fonts/vazirmatn/Vazirmatn-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --brown-900: #2B1B12;
  --brown-800: #3E2A1E;
  --brown-700: #54382A;
  --brown-600: #6B4A36;
  --brown-500: #8A6248;
  --cream:      #F7EFE3;
  --cream-dark: #EFE2CC;
  --gold:       #C89B4B;
  --gold-light: #E0BC7B;
  --gold-dark:  #A87B2F;
  --white:      #FFFDF8;
  --text:       #3E2A1E;
  --text-soft:  #6E5B4B;
  --shadow-sm:  0 4px 14px rgba(43, 27, 18, .10);
  --shadow-md:  0 10px 30px rgba(43, 27, 18, .16);
  --shadow-lg:  0 24px 60px rgba(43, 27, 18, .28);
  --radius:     18px;
  --radius-sm:  12px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-display: 'Lalezar', 'Vazirmatn', sans-serif;
  --font-body: 'Vazirmatn', 'Segoe UI', sans-serif;
  --font-sub: 'Vazirmatn', 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;

  font-size: var(--font-body-size, 16px); font-weight: var(--font-body-weight, inherit);}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

::selection { background: var(--gold); color: var(--brown-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--brown-500); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brown-600); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ============================================================
   Preloader
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--brown-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-cup { position: relative; width: 84px; height: 70px; }
.cup-body {
  position: absolute; bottom: 0; width: 84px; height: 48px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 0 0 14px 14px;
}
.cup-body::after {
  content: ''; position: absolute; top: 6px; left: 8px; right: 8px; height: 7px;
  background: rgba(255, 255, 255, .5); border-radius: 10px;
}
.cup-handle {
  position: absolute; bottom: 10px; right: -18px; width: 18px; height: 24px;
  border: 5px solid var(--gold-dark); border-left: none;
  border-radius: 0 10px 10px 0;
}
.steam {
  position: absolute; width: 5px; height: 20px;
  background: rgba(255, 255, 255, .7);
  border-radius: 5px; top: -24px;
  animation: steam 1.6s ease-in-out infinite;
}
.s1 { left: 28px; animation-delay: 0s; }
.s2 { left: 40px; animation-delay: .5s; }
.s3 { left: 52px; animation-delay: 1s; }

@keyframes steam {
  0%   { transform: translateY(6px) scaleX(1);  opacity: 0; }
  40%  { opacity: .9; }
  100% { transform: translateY(-14px) scaleX(1.8); opacity: 0; }
}

.preloader-text {
  color: var(--cream); font-size: .95rem; letter-spacing: .5px; opacity: .8;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .4; } }

/* ============================================================
   Scroll progress bar
   ============================================================ */
#scrollProgress {
  position: fixed; top: 0; right: 0; height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1001;
  transition: width .1s linear;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  border: none; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(-120%); }
.btn:active { transform: scale(.97); }

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--brown-900);
  box-shadow: 0 6px 20px rgba(200, 155, 75, .4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(200, 155, 75, .5); }

.btn-dark {
  background: var(--brown-800); color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover { transform: translateY(-3px); background: var(--brown-900); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255, 253, 248, .7);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: var(--white); color: var(--brown-900); transform: translateY(-3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.16); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,27,18,.55) 0%, rgba(43,27,18,.35) 40%, rgba(43,27,18,.85) 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(43,27,18,.45) 100%);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(43, 27, 18, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.nav-container {
  width: min(1180px, 92%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 80px; height: 80px;
  object-fit: contain;
  transition: transform var(--transition);
}
.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-4deg);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; right: 0; min-width: 210px;
  background: var(--brown-900); border: 1px solid rgba(224, 188, 123, .25);
  border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 60; backdrop-filter: blur(8px);
}
.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown li { list-style: none; }
.nav-drop-link {
  display: block; padding: 10px 14px; border-radius: 10px; font-size: .92rem;
  color: rgba(255, 253, 248, .85); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-drop-link:hover, .nav-drop-link.active { background: rgba(224, 188, 123, .14); color: var(--gold-light); }
.nav-link {
  position: relative;
  padding: 8px 14px; font-size: .95rem; font-weight: 500;
  color: rgba(255, 253, 248, .85);
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; right: 14px; left: 14px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-account {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(224, 188, 123, .35);
  background: rgba(43, 27, 18, .35);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-account svg { width: 21px; height: 21px; }
.nav-account:hover {
  background: rgba(224, 188, 123, .2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.nav-account.active-account {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  border-color: transparent;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 26px; height: 3px; background: var(--white); border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 22px;
  border: 1px solid rgba(224, 188, 123, .5);
  border-radius: 50px;
  background: rgba(43, 27, 18, .35);
  backdrop-filter: blur(6px);
  font-size: .9rem; letter-spacing: .5px;
  margin-bottom: 26px;
}
.badge-icon { width: 17px; height: 17px; color: var(--gold-light); flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--font-title-size, clamp(2.8rem, 7vw, 5.2rem)); line-height: 1.25; margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .45);

  font-weight: var(--font-title-weight, inherit);}
.gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: var(--font-sub-size, 1.12rem); line-height: 2.1; color: rgba(255, 253, 248, .9);
  max-width: 620px; margin: 0 auto 38px;

  font-weight: var(--font-sub-weight, inherit);}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; gap: clamp(28px, 8vw, 80px);
  flex-wrap: wrap;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; left: -40px; top: 20%;
  width: 1px; height: 60%; background: rgba(255, 253, 248, .25);
}
.stat strong {
  display: block;
  font-family: var(--font-display); font-size: var(--font-title-size, 2.6rem); line-height: 1.2; color: var(--gold-light);

  font-weight: var(--font-title-weight, bold);}
.stat span { font-size: .9rem; color: rgba(255, 253, 248, .75); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  opacity: .8; transition: opacity var(--transition);
}
.scroll-hint:hover { opacity: 1; }
.mouse {
  display: block; width: 26px; height: 42px;
  border: 2px solid rgba(255, 253, 248, .8); border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-light); border-radius: 4px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%   { opacity: 1; top: 7px; }
  70%  { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 7px; }
}

/* ============================================================
   Sections (common)
   ============================================================ */
.section { padding: 110px 0; position: relative; }

.section-tag {
  display: inline-block;
  font-size: .85rem; font-weight: 700; letter-spacing: 1px;
  color: var(--gold-dark);
  background: rgba(200, 155, 75, .14);
  border: 1px solid rgba(200, 155, 75, .3);
  padding: 5px 16px; border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--font-title-size, clamp(1.9rem, 4vw, 3rem)); line-height: 1.4; margin-bottom: 14px;
  color: var(--brown-900);

  font-weight: var(--font-title-weight, inherit);}

.section-desc {
  font-family: var(--font-sub);
  color: var(--text-soft); font-size: var(--font-sub-size, 1.1rem);
  max-width: 560px; margin-inline: auto;

  font-weight: var(--font-sub-weight, inherit);}

.section-head { text-align: center; margin-bottom: 64px; }

/* ============================================================
   About
   ============================================================ */
.about { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}

.about-frame { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-frame::before {
  content: ''; position: absolute; inset: -18px 18px 18px -18px;
  border: 3px solid var(--gold); border-radius: var(--radius);
  z-index: -1;
}

.about-badge {
  position: absolute; bottom: 24px; right: -20px;
  background: var(--brown-800); color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 22px; text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--gold);
  animation: floaty 4s ease-in-out infinite;
}
.about-badge strong {
  display: block; font-family: var(--font-display); font-size: var(--font-title-size, 2rem); color: var(--gold-light); line-height: 1.2;

  font-weight: var(--font-title-weight, bold);}
.about-badge span { font-size: .8rem; line-height: 1.7; color: rgba(247, 239, 227, .85); }

@keyframes floaty { 50% { transform: translateY(-10px); } }

.about-content p { color: var(--text-soft); margin-bottom: 16px; font-size: 1.02rem; }

.about-list { margin: 28px 0 34px; display: grid; gap: 20px; }
.about-list li { display: flex; gap: 16px; align-items: flex-start; }
.list-icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900); font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(200, 155, 75, .35);
  transition: transform var(--transition);
}
.about-list li:hover .list-icon { transform: rotate(-12deg) scale(1.08); }
.about-list strong { font-size: 1.02rem; color: var(--brown-900); }
.about-list p { margin-bottom: 0; font-size: .92rem; }

/* ============================================================
   Products
   ============================================================ */
.products { background: var(--cream); }

.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream-dark);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.product-card:hover .product-media img { transform: scale(1.14) rotate(1.5deg); }

.product-view {
  position: absolute; inset: 0; z-index: 2;
  display: block;
}
/* دکمه افزودن باید بالاتر از لینک شفاف باشد تا کلیک روی آن کار کند */
.product-overlay .btn {
  position: relative;
  z-index: 3;
}
.product-name a {
  transition: color var(--transition);
}
.product-name a:hover { color: var(--gold-dark); }

.product-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--gold); color: var(--brown-900);
  font-size: .75rem; font-weight: 800;
  padding: 5px 14px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.tag-special { background: var(--brown-800); color: var(--gold-light); }

.product-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(43,27,18,0) 30%, rgba(43,27,18,.75) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay .btn {
  transform: translateY(24px);
  transition: transform var(--transition) .05s, background var(--transition), color var(--transition), box-shadow var(--transition);
}
.product-card:hover .product-overlay .btn { transform: translateY(0); }

.product-body { padding: 20px 20px 22px; }
.product-name {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.35rem); color: var(--brown-900); margin-bottom: 6px;
  transition: color var(--transition);

  font-weight: var(--font-title-weight, inherit);}
.product-card:hover .product-name { color: var(--gold-dark); }
.product-desc {
  color: var(--text-soft); font-size: .98rem;
  margin-bottom: 16px; min-height: 2.8em;
}

.product-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px dashed rgba(138, 98, 72, .3);
  padding-top: 14px;
}
.product-price {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.45rem); color: var(--gold-dark);

  font-weight: var(--font-title-weight, inherit);}
.product-price .toman { font-size: .72rem; font-family: var(--font-body); font-weight: 500; margin-right: 4px; color: var(--text-soft); }
.product-weight { font-size: .8rem; color: var(--text-soft); }

/* ============================================================
   Features
   ============================================================ */
.features {
  background:
    radial-gradient(circle at 15% 20%, rgba(200,155,75,.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(200,155,75,.08), transparent 40%),
    var(--brown-900);
  color: var(--cream);
}
.features .section-title { color: var(--cream); }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: rgba(255, 253, 248, .05);
  border: 1px solid rgba(224, 188, 123, .18);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 253, 248, .09);
  border-color: rgba(224, 188, 123, .45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .35);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 76px; height: 76px; margin: 0 auto 20px;
  display: grid; place-items: center;
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(224,188,123,.25), rgba(200,155,75,.1));
  border: 1px solid rgba(224, 188, 123, .35);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}
.feature-icon svg { width: 34px; height: 34px; }
.feature-card:hover .feature-icon {
  transform: translateY(-6px) scale(1.06) rotate(-6deg);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  box-shadow: 0 12px 28px rgba(200, 155, 75, .4);
}

.feature-card h3 {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.3rem); line-height: 1.6; color: var(--gold-light);

  font-weight: var(--font-title-weight, bold);}
.feature-card p { font-size: .92rem; color: rgba(247, 239, 227, .75); line-height: 1.9; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: linear-gradient(180deg, var(--cream-dark), var(--cream)); }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  position: absolute; top: 6px; right: 24px;
  font-family: serif; font-size: 5rem; line-height: 1;
  color: rgba(200, 155, 75, .35);
  transition: color var(--transition);
}
.testimonial:hover .quote-mark { color: rgba(200, 155, 75, .7); }

.testimonial blockquote {
  font-size: .98rem; color: var(--text);
  margin-bottom: 24px; line-height: 2.05;
}

.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-500));
  color: var(--cream); font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial strong { display: block; font-size: .95rem; color: var(--brown-900); }
.testimonial small { color: var(--text-soft); font-size: .8rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--cream); }

.contact-box {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 60px);
  background:
    radial-gradient(circle at 100% 0%, rgba(200,155,75,.12), transparent 45%),
    var(--white);
  border-radius: 26px;
  padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow-md);
}

.contact-info p { color: var(--text-soft); margin-bottom: 28px; }

.contact-list { display: grid; gap: 16px; }
.contact-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: var(--text);
  background: var(--cream);
  padding: 12px 16px; border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-list li:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-sm);
  background: #FFF;
}
.contact-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(200, 155, 75, .3);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-form { display: grid; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group label { font-size: .88rem; font-weight: 700; color: var(--brown-800); }
.form-group input, .form-group textarea {
  border: 2px solid var(--cream-dark);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 75, .18);
}
.form-group input.error, .form-group textarea.error { border-color: #C0392B; }

.form-success {
  text-align: center; color: #2E7D32; font-weight: 700;
  font-size: .95rem;
  display: none;
}
.form-success.show { display: block; animation: fadeUp .5s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--brown-900);
  color: rgba(247, 239, 227, .8);
  padding-top: 70px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px; padding-bottom: 50px;
}

.footer-logo { width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; line-height: 2; max-width: 300px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer-social-link {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(224, 188, 123, .1);
  border: 1px solid rgba(224, 188, 123, .28);
  color: var(--gold-light);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}

.footer-col h4 {
  font-family: var(--font-display); color: var(--gold-light);
  font-size: var(--font-title-size, 1.15rem);
  font-weight: var(--font-title-weight, bold);}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: .92rem; color: rgba(247, 239, 227, .75);
  transition: color var(--transition), padding-right var(--transition);
}
.footer-col a:hover { color: var(--gold-light); padding-right: 6px; }
.footer-col .hours li { font-size: .9rem; }

.footer-bottom {
  border-top: 1px solid rgba(247, 239, 227, .12);
  text-align: center; padding: 22px 0;
  font-size: .85rem; color: rgba(247, 239, 227, .55);
}

/* ============================================================
   Back to top
   ============================================================ */
#backToTop {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--brown-900);
  font-size: 1.25rem; font-weight: 800;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================================
   Cart button (navbar)
   ============================================================ */
.cart-btn {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(224, 188, 123, .35);
  background: rgba(43, 27, 18, .35);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn:hover {
  background: rgba(224, 188, 123, .2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.cart-btn:active { transform: scale(.94); }

.cart-count {
  position: absolute; top: -6px; left: -6px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--brown-900);
  font-size: .72rem; font-weight: 800;
  border-radius: 50px;
  border: 2px solid var(--brown-900);
  line-height: 1;
}
.cart-count.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ============================================================
   Cart drawer
   ============================================================ */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(20, 10, 5, .55);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.cart-backdrop.show { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1101;
  width: min(420px, 94vw);
  background: var(--cream);
  box-shadow: 12px 0 40px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column;
  transform: translateX(-105%);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--brown-800), var(--brown-900));
  color: var(--cream);
}
.cart-header h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--font-title-size, 1.3rem);
  font-weight: var(--font-title-weight, bold);}
.cart-header h3 svg { width: 22px; height: 22px; color: var(--gold-light); }

.cart-close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: rgba(255, 253, 248, .12);
  color: var(--cream); font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}
.cart-close:hover { background: rgba(255, 253, 248, .25); transform: rotate(90deg); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
  display: grid; align-content: start; gap: 6px;
}
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--brown-500); border-radius: 6px; }

.cart-item {
  display: grid; grid-template-columns: 74px 1fr auto;
  gap: 14px; align-items: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .35s ease;
}
.cart-item img {
  width: 74px; height: 74px; object-fit: cover;
  border-radius: 10px;
}
.cart-item-info { min-width: 0; }
.cart-item-info h4 {
  font-size: .95rem; color: var(--brown-900);
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-info .item-meta {
  font-size: .75rem; color: var(--text-soft);
  margin-bottom: 8px;
}
.cart-item-info .item-price {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.05rem); color: var(--text-soft);

  font-weight: var(--font-title-weight, inherit);}

.qty {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 50px;
  padding: 3px;
}
.qty button {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: transparent;
  color: var(--brown-700);
  font-size: .9rem; font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.qty button:hover { background: rgba(200, 155, 75, .18); color: var(--gold-dark); }
.qty button:active { transform: scale(.9); }
.qty .qty-num {
  min-width: 26px; text-align: center;
  font-weight: 800; font-size: .9rem; color: var(--brown-900);
}

.cart-item-actions {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.item-remove {
  border: none; background: none;
  color: var(--text-soft); font-size: .85rem;
  display: flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.item-remove:hover { color: #C0392B; }
.item-remove svg { width: 15px; height: 15px; }

.cart-item.removing { animation: slideOut .3s ease forwards; }
@keyframes slideOut {
  to { opacity: 0; transform: translateX(-30px); height: 0; padding: 0; margin: 0; }
}

.cart-empty {
  flex: 1;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 30px;
  color: var(--text-soft);
}
.cart-empty svg { width: 84px; height: 84px; color: rgba(138, 98, 72, .4); }
.cart-empty p { font-size: 1rem; }
.cart-empty.show { display: flex; }

.cart-footer {
  border-top: 1px solid var(--cream-dark);
  padding: 20px 24px 24px;
  background: var(--white);
}
.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.cart-total span { font-weight: 700; color: var(--brown-800); font-size: .98rem; }
.cart-total strong {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.5rem); color: var(--gold-dark);

  font-weight: var(--font-title-weight, bold);}
.cart-note {
  text-align: center; font-size: .78rem;
  color: var(--text-soft); margin-top: 12px;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; bottom: 30px; right: 50%;
  transform: translate(50%, 80px);
  z-index: 1200;
  background: var(--brown-900);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 50px;
  font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-right: 4px solid var(--gold);
  opacity: 0;
  transition: transform .45s cubic-bezier(.3, 1.2, .4, 1), opacity .3s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(50%, 0); }

/* ============================================================
   Scroll reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1),
              transform .8s cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1),
              transform .9s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .cart-drawer { width: 94vw; }
  .section { padding: 80px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px;
    background: var(--brown-900);
    padding: 80px 30px;
    transition: right .45s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; padding: 12px 0; width: 100%; }
  .nav-item { width: 100%; }
  .nav-item.has-dropdown { display: flex; flex-wrap: wrap; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; margin: 2px 0 10px; padding: 4px 0 4px 14px;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
  }
  .nav-drop-link { padding: 8px 14px; font-size: 1rem; }

  .nav-cta { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-frame::before { inset: -12px 12px 12px -12px; }
  .about-badge { right: 12px; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats { gap: 24px; }

  /* Cart item: two-row layout so text has room on small screens */
  .cart-item {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      'img info'
      'img actions';
    gap: 8px 12px;
  }
  .cart-item img { width: 64px; height: 64px; grid-area: img; }
  .cart-item-info { grid-area: info; }
  .cart-item-actions {
    grid-area: actions;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .cart-item-actions .qty { order: 2; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-right { opacity: 1; transform: none; }
}

/* ============================================================
   Pages internes — بنر عنوان صفحات داخلی
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 30%, rgba(200,155,75,.16), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(200,155,75,.1), transparent 40%),
    linear-gradient(135deg, var(--brown-900), var(--brown-700));
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: ''; position: absolute;
  width: 340px; height: 340px;
  border: 2px solid rgba(224, 188, 123, .12);
  border-radius: 50%;
}
.page-hero::before { top: -140px; right: -100px; }
.page-hero::after { bottom: -180px; left: -120px; width: 420px; height: 420px; }

.page-hero .section-title { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(247, 239, 227, .8); max-width: 560px; margin-inline: auto; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(247, 239, 227, .7);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }

/* ============================================================
   صفحه محصولات — فیلترها
   ============================================================ */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--text-soft);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .88rem; font-weight: 700;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: var(--brown-900);
  box-shadow: 0 4px 14px rgba(200, 155, 75, .35);
}
.result-count { font-size: .88rem; color: var(--text-soft); }
.result-count strong { color: var(--brown-800); }

.product-card.hidden-filter { display: none; }

/* ============================================================
   صفحه محصول تکی
   ============================================================ */
.product-detail {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.product-detail-media {
  position: sticky; top: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-detail-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.product-detail-media:hover img { transform: scale(1.05); }
.product-detail-media .product-tag { font-size: .85rem; padding: 7px 18px; }

.product-detail-info .section-tag { margin-bottom: 10px; }
.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, clamp(1.9rem, 4vw, 2.6rem)); line-height: 1.4; color: var(--brown-900); margin-bottom: 10px;

  font-weight: var(--font-title-weight, bold);}
.product-detail-info .detail-desc { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 22px; }

.detail-price {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 2rem); color: var(--gold-dark);
  margin-bottom: 24px;

  font-weight: var(--font-title-weight, inherit);}
.detail-price .toman { font-size: .9rem; font-family: var(--font-body); color: var(--text-soft); font-weight: 500; }

.field-label { font-size: .88rem; font-weight: 800; color: var(--brown-800); margin-bottom: 10px; display: block; }
.unit-options { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.unit-option {
  border: 2px solid var(--cream-dark);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 110px;
}
.unit-option strong { display: block; font-size: .95rem; color: var(--brown-800); }
.unit-option small { font-size: .78rem; color: var(--text-soft); }
.unit-option:hover { border-color: var(--gold); transform: translateY(-2px); }
.unit-option.selected {
  border-color: var(--gold);
  background: rgba(200, 155, 75, .1);
  box-shadow: 0 6px 18px rgba(200, 155, 75, .25);
}
.unit-option.selected strong { color: var(--gold-dark); }

.detail-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.qty-stepper {
  display: inline-flex; align-items: center;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 50px;
  overflow: hidden;
}
.qty-stepper button {
  width: 46px; height: 48px;
  border: none; background: none;
  font-size: 1.2rem; font-weight: 800; color: var(--brown-700);
  transition: background var(--transition), color var(--transition);
}
.qty-stepper button:hover { background: rgba(200, 155, 75, .18); color: var(--gold-dark); }
.qty-stepper .qty-val {
  min-width: 44px; text-align: center;
  font-weight: 800; font-size: 1.05rem; color: var(--brown-900);
}

.spec-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}
.spec-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.spec-item svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.spec-item span { font-size: .85rem; }
.spec-item strong { display: block; font-size: .9rem; color: var(--brown-900); }

.flavor-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.flavor-chip {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  color: var(--brown-700);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem; font-weight: 700;
}

.trust-bar {
  display: flex; gap: 22px; flex-wrap: wrap;
  border-top: 1px dashed rgba(138, 98, 72, .35);
  padding-top: 20px;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-soft); }
.trust-item svg { width: 18px; height: 18px; color: #2E7D32; flex-shrink: 0; }

.related-products { margin-top: 90px; }

/* ============================================================
   وبلاگ — لیست و مقاله
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.blog-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.1); }
.blog-cat {
  position: absolute; top: 14px; right: 14px;
  background: rgba(43, 27, 18, .85);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  font-size: .74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 50px;
}
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 1.12rem; line-height: 1.7; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--brown-900); transition: color var(--transition); }
.blog-card-body h3 a:hover { color: var(--gold-dark); }
.blog-card-body p { color: var(--text-soft); font-size: .9rem; margin-bottom: 18px; flex: 1; }
.blog-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--text-soft);
  border-top: 1px dashed rgba(138, 98, 72, .3);
  padding-top: 14px;
}
.blog-meta .author { display: flex; align-items: center; gap: 7px; }
.blog-meta .author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-500));
  color: var(--cream); font-size: .72rem; font-weight: 800;
}

/* مقاله تکی */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 34px;
}
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-head { text-align: center; margin-bottom: 36px; }
.article-head h1 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, clamp(1.7rem, 4vw, 2.5rem)); line-height: 1.5;
  margin-bottom: 16px;

  font-weight: var(--font-title-weight, bold);}
.article-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
  font-size: .95rem; color: var(--text-soft);
}
.article-meta svg { width: 18px; height: 18px; color: var(--gold-dark); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; color: var(--gold-dark); }

.article-body { font-size: var(--font-body-size, 1.05rem); color: var(--text); line-height: 2.2; }
.article-body p { margin-bottom: 22px; }
.article-body .drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 3.4em); float: right; margin: 6px 0 0 14px;
  color: var(--gold-dark);

  font-weight: var(--font-title-weight, inherit);}
.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 1.5rem); color: var(--brown-900);
  margin: 40px 0 16px;

  font-weight: var(--font-title-weight, bold);}
.pull-quote {
  position: relative;
  margin: 38px 0;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--brown-900), var(--brown-700));
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 1.12rem; line-height: 2;
  text-align: center;
}
.pull-quote::before {
  content: '”'; position: absolute; top: -14px; right: 24px;
  font-family: serif; font-size: 4.5rem; line-height: 1;
  color: var(--gold);
}
.pull-quote p { margin: 0; }

.article-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px dashed rgba(138, 98, 72, .35);
  padding-top: 22px; margin-top: 34px;
}
.article-author { display: flex; align-items: center; gap: 12px; }
.article-author .author-avatar { width: 44px; height: 44px; font-size: 1rem; }
.article-author strong { display: block; color: var(--brown-900); font-size: .95rem; }
.article-author small { color: var(--text-soft); font-size: .78rem; }
.share-links { display: flex; gap: 8px; }
.share-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--brown-600);
  transition: all var(--transition);
}
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { background: var(--brown-800); border-color: var(--brown-800); color: var(--gold-light); transform: translateY(-3px); }

.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 46px;
}
.article-nav a {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: .88rem; color: var(--brown-800);
  transition: all var(--transition);
  max-width: 46%;
}
.article-nav a:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.article-nav a small { display: block; color: var(--text-soft); font-size: .74rem; margin-bottom: 4px; }

/* ============================================================
   صفحه درباره ما
   ============================================================ */
.about-page-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 70px); align-items: center;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 80px;
}
.value-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.value-card .feature-icon { margin-bottom: 16px; }
.value-card h3 { font-family: var(--font-display); color: var(--brown-900); font-size: var(--font-title-size, 1.25rem); font-weight: var(--font-title-weight, bold);}
.value-card p { font-size: .88rem; color: var(--text-soft); }

.timeline {
  position: relative;
  max-width: 720px; margin-inline: auto;
  padding-right: 34px;
  margin-top: 80px;
}
.timeline::before {
  content: ''; position: absolute; right: 9px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--brown-500));
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; right: -31px; top: 6px;
  width: 15px; height: 15px;
  background: var(--gold-light);
  border: 3px solid var(--brown-800);
  border-radius: 50%;
}
.timeline-item .year {
  display: inline-block;
  font-family: var(--font-display); color: var(--gold-dark);
  font-size: var(--font-title-size, 1.1rem);
  font-weight: var(--font-title-weight, inherit);}
.timeline-item h3 { font-size: 1.08rem; color: var(--brown-900); margin-bottom: 6px; }
.timeline-item p { color: var(--text-soft); font-size: .9rem; }

/* ============================================================
   صفحه تماس با ما
   ============================================================ */
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}
.info-cards { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-md);
}
.info-card .contact-icon { width: 48px; height: 48px; }
.info-card h3 { font-size: .98rem; color: var(--brown-900); margin-bottom: 4px; }
.info-card p { font-size: .88rem; color: var(--text-soft); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.contact-form-card form { display: grid; gap: 18px; }
.contact-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-placeholder {
  min-height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(200,155,75,.05) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, var(--cream), var(--cream-dark));
  color: var(--text-soft);
  text-align: center;
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--gold-dark); }
.map-placeholder p { font-size: .85rem; }

/* ============================================================
   صفحه پرداخت
   ============================================================ */
.checkout-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(30px, 4vw, 46px);
  align-items: start;
}
.checkout-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.checkout-card h2 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--font-title-size, 1.3rem); color: var(--brown-900); margin-bottom: 20px;

  font-weight: var(--font-title-weight, bold);}
.checkout-card h2 .step-num {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  border-radius: 50%;
  font-size: .95rem;
}
.checkout-form { display: grid; gap: 16px; }
.checkout-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form label { font-size: .85rem; font-weight: 700; color: var(--brown-800); margin-bottom: 6px; display: block; }
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: .93rem; font-family: inherit; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 75, .16);
}
.checkout-form input.error { border-color: #C0392B; }

.pay-methods { display: grid; gap: 12px; }
.pay-method {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.pay-method:hover { border-color: var(--gold); }
.pay-method.selected { border-color: var(--gold); background: rgba(200, 155, 75, .08); }
.pay-method input { accent-color: var(--gold-dark); width: 18px; height: 18px; cursor: pointer; }
.pay-method .pay-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: var(--brown-700);
}
.pay-method .pay-icon svg { width: 21px; height: 21px; }
.pay-method strong { display: block; font-size: .93rem; color: var(--brown-900); }
.pay-method small { font-size: .76rem; color: var(--text-soft); }

.order-summary {
  position: sticky; top: 100px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.order-summary h2 {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.3rem); color: var(--brown-900); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;

  font-weight: var(--font-title-weight, bold);}
.order-summary h2 .sum-count {
  font-family: var(--font-body); font-size: .8rem; color: var(--text-soft);
  background: var(--cream); padding: 4px 12px; border-radius: 50px;
}
.summary-items { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; padding-left: 4px; }
.summary-item {
  display: flex; gap: 12px; align-items: center;
  border-bottom: 1px dashed rgba(138, 98, 72, .25);
  padding-bottom: 12px;
}
.summary-item img {
  width: 58px; height: 58px; border-radius: 10px; object-fit: cover;
}
.summary-item h4 { font-size: .88rem; color: var(--brown-900); }
.summary-item .sum-meta { font-size: .72rem; color: var(--text-soft); }
.summary-item .sum-price {
  margin-right: auto;
  font-size: .85rem; font-weight: 800; color: var(--gold-dark);
  white-space: nowrap;
}
.summary-item .sum-qty {
  font-size: .72rem; color: var(--text-soft); background: var(--cream);
  border-radius: 50px; padding: 2px 9px;
}

.summary-coupon { display: flex; gap: 8px; margin-top: 16px; }
.summary-coupon input {
  flex: 1; min-width: 0;
  border: 1.5px dashed var(--brown-500); border-radius: 12px;
  background: var(--cream); padding: 9px 14px;
  font-size: .85rem; letter-spacing: .05em; color: var(--brown-900);
}
.summary-coupon input:focus { outline: none; border-color: var(--gold); background: #fff; }
.summary-disc-msg { font-size: .78rem; min-height: 18px; margin-top: 8px; color: #C0392B; }
.summary-disc-msg.ok { color: #2E7D32; }
.summary-lines { margin-top: 10px; display: grid; gap: 10px; }
.summary-line {
  display: flex; justify-content: space-between;
  font-size: .9rem; color: var(--text-soft);
}
.summary-line.free strong { color: #2E7D32; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px dashed var(--brown-500);
  padding-top: 14px; margin-top: 6px;
}
.summary-total span { font-weight: 800; color: var(--brown-900); }
.summary-total strong {
  font-family: var(--font-display); font-size: var(--font-title-size, 1.5rem); color: var(--gold-dark);

  font-weight: var(--font-title-weight, bold);}

.checkout-empty {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 70px 30px;
  box-shadow: var(--shadow-sm);
}
.checkout-empty svg { width: 90px; height: 90px; color: rgba(138, 98, 72, .35); margin-bottom: 18px; }
.checkout-empty h2 { font-family: var(--font-display); color: var(--brown-900); margin-bottom: 10px; 
  font-weight: var(--font-title-weight, bold);}
.checkout-empty p { color: var(--text-soft); margin-bottom: 24px; }

.success-screen {
  text-align: center;
  max-width: 560px; margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 60px 30px;
  box-shadow: var(--shadow-md);
}
.success-screen .success-check {
  width: 90px; height: 90px; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2E7D32, #43A047);
  color: var(--white);
  border-radius: 50%;
  animation: pop .6s cubic-bezier(.3, 1.6, .5, 1);
}
.success-screen .success-check svg { width: 42px; height: 42px; }
.success-screen h2 { font-family: var(--font-display); font-size: var(--font-title-size, 1.7rem); color: var(--brown-900); margin-bottom: 10px; 
  font-weight: var(--font-title-weight, bold);}
.success-screen p { color: var(--text-soft); margin-bottom: 28px; }
.success-screen .order-num {
  display: inline-block;
  background: var(--cream);
  border: 1px dashed var(--gold);
  color: var(--gold-dark);
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 800; margin-bottom: 26px;
}

/* ============================================================
   صفحه حساب کاربری
   ============================================================ */
.account-layout {
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.account-sidebar {
  position: sticky; top: 100px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.account-user {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 14px;
}
.account-user .avatar {
  width: 52px; height: 52px; font-size: 1.3rem;
}
.account-user strong { display: block; color: var(--brown-900); font-size: .98rem; }
.account-user small { color: var(--text-soft); font-size: .76rem; }

.account-nav { display: grid; gap: 4px; }
.account-nav button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  border: none; background: none;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .92rem; font-weight: 600;
  color: var(--text-soft);
  text-align: right;
  transition: all var(--transition);
}
.account-nav button svg { width: 19px; height: 19px; }
.account-nav button:hover { background: var(--cream); color: var(--brown-800); }
.account-nav button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  box-shadow: 0 4px 14px rgba(200, 155, 75, .3);
}
.order-badge {
  display: none;
  font-size: .72rem; font-weight: 800;
  background: rgba(200, 155, 75, .18);
  color: var(--gold-dark);
  padding: 3px 10px; border-radius: 50px;
}

.account-panel { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.account-panel h2 { font-family: var(--font-display); font-size: var(--font-title-size, 1.4rem); color: var(--brown-900); margin-bottom: 22px; 
  font-weight: var(--font-title-weight, bold);}
.account-panel .panel-desc { color: var(--text-soft); font-size: .9rem; margin-bottom: 22px; }

.orders-list { display: grid; gap: 16px; }
.order-card {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.order-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(138, 98, 72, .25);
  margin-bottom: 12px;
}
.order-head strong { color: var(--brown-900); }
.order-head .order-date { font-size: .8rem; color: var(--text-soft); }
.status-badge {
  font-size: .74rem; font-weight: 800;
  padding: 5px 14px; border-radius: 50px;
}
.status-badge.pending { background: rgba(200, 155, 75, .18); color: var(--gold-dark); }
.status-badge.shipped { background: rgba(46, 125, 50, .14); color: #2E7D32; }
.status-badge.delivered { background: rgba(43, 27, 18, .1); color: var(--brown-800); }
.order-items { display: grid; gap: 8px; margin-bottom: 12px; }
.order-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .86rem;
}
.order-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.order-item .oi-name { color: var(--brown-800); }
.order-item .oi-qty { color: var(--text-soft); font-size: .76rem; }
.order-item .oi-price { margin-right: auto; font-weight: 800; color: var(--gold-dark); font-size: .82rem; }
.order-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .86rem; color: var(--text-soft);
  border-top: 1px dashed rgba(138, 98, 72, .25);
  padding-top: 10px;
}
.order-foot .order-total { font-weight: 800; color: var(--brown-900); }
.order-foot .order-total strong { color: var(--gold-dark); }

.orders-empty { text-align: center; padding: 46px 20px; }
.orders-empty svg { width: 76px; height: 76px; color: rgba(138, 98, 72, .35); margin-bottom: 14px; }
.orders-empty p { color: var(--text-soft); margin-bottom: 18px; }

.addresses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.address-card {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.address-card h3 { font-size: .95rem; color: var(--brown-900); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.address-card h3 svg { width: 17px; height: 17px; color: var(--gold-dark); }
.address-card p { font-size: .86rem; color: var(--text-soft); margin-bottom: 10px; }
.address-card .badge-default {
  font-size: .7rem; font-weight: 800;
  background: rgba(200, 155, 75, .18); color: var(--gold-dark);
  border-radius: 50px; padding: 3px 10px;
}

.account-form { display: grid; gap: 16px; max-width: 460px; }
.account-form label { font-size: .85rem; font-weight: 700; color: var(--brown-800); display: block; margin-bottom: 6px; }
.account-form input {
  width: 100%;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: .93rem; font-family: inherit; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.account-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 75, .16);
}

.panel-success {
  text-align: center; color: #2E7D32; font-weight: 700;
  font-size: .9rem;
  display: none;
}
.panel-success.show { display: block; animation: fadeUp .5s ease; }

/* ============================================================
   صفحه اصلی — آخرین مقالات
   ============================================================ */
.home-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.home-post-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 155, 75, .12);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.home-post-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.home-post-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
}
.home-post-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.home-post-card:hover .home-post-media img { transform: scale(1.1); }
.home-post-cat {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  font-size: .74rem; font-weight: 800;
  padding: 5px 14px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.home-post-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-post-body h3 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 1.2rem); color: var(--brown-900);
  margin-bottom: 10px;
  line-height: 1.6;

  font-weight: var(--font-title-weight, bold);}
.home-post-body h3 a { transition: color var(--transition); }
.home-post-body h3 a:hover { color: var(--gold-dark); }
.home-post-body p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 16px;
  flex: 1;
}
.home-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-soft);
  border-top: 1px dashed rgba(138, 98, 72, .25);
  padding-top: 14px;
}
.home-post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brown-700);
}
.home-post-author .author-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-500));
  color: var(--cream);
  font-size: .78rem; font-weight: 800;
}
.home-post-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .85rem;
  transition: gap var(--transition), color var(--transition);
}
.home-post-read:hover { gap: 10px; color: var(--brown-800); }
.home-post-read svg { width: 15px; height: 15px; }

/* ============================================================
   وبلاگ — لیست پستی مدرن (21st style)
   ============================================================ */
.blog-list {
  display: grid;
  gap: 28px;
  max-width: 960px;
  margin-inline: auto;
}

.blog-list-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(200, 155, 75, .12);
}
.blog-list-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-list-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.blog-list-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.blog-list-card:hover .blog-list-media img { transform: scale(1.08); }
.blog-list-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43,27,18,.35));
}
.blog-list-cat {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  font-size: .74rem; font-weight: 800;
  padding: 6px 16px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.blog-list-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-list-body h3 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 1.5rem); color: var(--brown-900);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition);

  font-weight: var(--font-title-weight, bold);}
.blog-list-body h3 a:hover { color: var(--gold-dark); }
.blog-list-body p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 18px;
}
.blog-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px dashed rgba(138, 98, 72, .25);
  padding-top: 16px;
}
.blog-list-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--brown-700);
  font-weight: 600;
}
.blog-list-author .author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-500));
  color: var(--cream);
  font-size: .95rem; font-weight: 800;
}
.blog-list-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .92rem;
  color: var(--text-soft);
}
.blog-list-info svg { width: 17px; height: 17px; color: var(--gold-dark); }
.blog-list-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-list-info svg { width: 15px; height: 15px; color: var(--gold-dark); }
.blog-list-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .88rem;
  transition: gap var(--transition), color var(--transition);
}
.blog-list-read:hover { gap: 10px; color: var(--brown-800); }
.blog-list-read svg { width: 16px; height: 16px; }

/* ============================================================
   مطالب مرتبط
   ============================================================ */
.related-section {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px dashed rgba(138, 98, 72, .25);
}
.related-box {
  background:
    radial-gradient(circle at 15% 15%, rgba(200,155,75,.12), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(200,155,75,.1), transparent 40%),
    linear-gradient(135deg, #FFFDF8, #F7EFE3);
  border: 1px solid rgba(200, 155, 75, .2);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.related-box::before {
  content: '☕';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 8rem;
  opacity: .06;
  transform: rotate(-15deg);
  pointer-events: none;
}
.related-head {
  text-align: center;
  margin-bottom: 36px;
}
.related-head .section-tag { margin-bottom: 10px; }
.related-head h2 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 2rem); color: var(--brown-900);

  font-weight: var(--font-title-weight, bold);}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 155, 75, .1);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.related-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.related-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.related-card:hover .related-media img { transform: scale(1.1); }
.related-cat {
  position: absolute; top: 12px; right: 12px;
  background: rgba(43, 27, 18, .85);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  font-size: .7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}
.related-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-body h3 {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--brown-900);
  margin-bottom: 10px;
  flex: 1;
}
.related-body h3 a { transition: color var(--transition); }
.related-body h3 a:hover { color: var(--gold-dark); }
.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--text-soft);
  border-top: 1px dashed rgba(138, 98, 72, .25);
  padding-top: 12px;
}

/* ============================================================
   نظرات
   ============================================================ */
.comments-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px dashed rgba(138, 98, 72, .25);
}
.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.comments-head h2 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 1.6rem); color: var(--brown-900);
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: var(--font-title-weight, bold);}
.comments-head h2 svg { width: 26px; height: 26px; color: var(--gold-dark); }
.comments-count {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  font-size: .8rem; font-weight: 800;
  padding: 5px 16px;
  border-radius: 50px;
}
.comments-list {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.comment-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 155, 75, .1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.comment-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.comment-avatar {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-900);
  font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 4px 12px rgba(200, 155, 75, .3);
}
.comment-body { flex: 1; min-width: 0; }
.comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.comment-name {
  font-weight: 800;
  color: var(--brown-900);
  font-size: .95rem;
}
.comment-date {
  font-size: .76rem;
  color: var(--text-soft);
}
.comment-text {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 2;
}
.comment-reply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition), gap var(--transition);
}
.comment-reply:hover { color: var(--brown-800); gap: 10px; }
.comment-reply svg { width: 15px; height: 15px; }

.comment-form-wrap {
  background: linear-gradient(135deg, var(--brown-900), var(--brown-700));
  border-radius: 22px;
  padding: 30px;
  color: var(--cream);
}
.comment-form-wrap h3 {
  font-family: var(--font-display);
  font-size: var(--font-title-size, 1.3rem); color: var(--gold-light);
  margin-bottom: 6px;

  font-weight: var(--font-title-weight, bold);}
.comment-form-wrap > p {
  font-size: .85rem;
  color: rgba(247, 239, 227, .7);
  margin-bottom: 20px;
}
.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comment-form .cf-full { grid-column: 1 / -1; }
.comment-form label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(247, 239, 227, .85);
  margin-bottom: 6px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(224, 188, 123, .25);
  background: rgba(255, 253, 248, .08);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--cream);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: rgba(247, 239, 227, .4); }
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 253, 248, .12);
  box-shadow: 0 0 0 4px rgba(200, 155, 75, .2);
}
.comment-form .btn { justify-self: start; }

/* ============================================================
   ریسپانسیو صفحات داخلی
   ============================================================ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-list-card { grid-template-columns: 260px 1fr; }
  .home-posts-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-media { position: static; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .about-page-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-nav { grid-template-columns: 1fr 1fr; }
  .addresses-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .blog-list-card { grid-template-columns: 1fr; }
  .home-posts-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .blog-list-media { min-height: 200px; }
  .related-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .comment-form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .values-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .checkout-form .form-row,
  .contact-form-card .form-row { grid-template-columns: 1fr; }
  .account-nav { grid-template-columns: 1fr; }
  .filter-bar { justify-content: center; }
  .detail-actions .btn { flex: 1; }
  .qty-stepper { flex-shrink: 0; }
  .blog-list-body { padding: 20px; }
  .blog-list-info { gap: 10px; }
  .comment-item { flex-direction: column; }
  .comment-avatar { width: 44px; height: 44px; font-size: 1rem; }
  .comment-form-wrap { padding: 22px; }
}
/* ============================================================
   Testimonials cards (home)
   ============================================================ */
#testimonials .t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
#testimonials .t-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px;
  padding: 50px 34px 36px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(214, 178, 112, .16), transparent 55%),
    radial-gradient(120% 90% at 15% 100%, rgba(120, 70, 30, .35), transparent 55%),
    linear-gradient(150deg, #4b2d18, #2a1a0e);
  border: 1px solid rgba(214, 178, 112, .28);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(74, 44, 23, .25);
  transition: transform var(--transition), box-shadow var(--transition);
}
#testimonials .t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(74, 44, 23, .35);
}
#testimonials .t-quote {
  display: block;
  font-family: serif; font-size: 4.4rem;
  line-height: 1; height: 4.4rem;
  color: rgba(214, 178, 112, .55);
  margin: 0;
}
#testimonials .t-stars {
  color: #e9c46a; font-size: 1.1rem; letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(233, 196, 106, .45);
}
#testimonials .t-card blockquote {
  margin: 0;
  font-size: 1.02rem; line-height: 2.1;
  color: var(--cream);
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}
#testimonials .t-card figcaption {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
}
#testimonials .t-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e9c46a, #b98a4a);
  color: #3a2412; font-weight: 800; font-size: 1.3rem;
  border: 3px solid rgba(233, 196, 106, .35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  flex-shrink: 0;
}
#testimonials .t-card strong {
  display: block; font-family: var(--font-display);
  font-size: 1.2rem; color: #e9c46a; letter-spacing: .5px;
  font-weight: var(--font-title-weight, bold);
}
#testimonials .t-card small { color: rgba(247, 239, 227, .7); font-size: .88rem; }
@media (max-width: 900px) {
  #testimonials .t-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* ============ ورود / ثبت‌نام کاربر (حساب کاربری) ============ */
.account-auth { max-width: 540px; margin: 0 auto; }
.auth-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark); }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(200, 155, 75, .35); }
.auth-head h2 { font-family: var(--font-display); font-size: var(--font-title-size, 1.5rem); color: var(--brown-900); margin-bottom: 6px; font-weight: var(--font-title-weight, bold); }
.auth-head p { color: var(--text-soft); font-size: .88rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--cream); border-radius: var(--radius-sm); padding: 5px; margin-bottom: 22px; }
.auth-tabs button { border: none; background: none; padding: 11px; border-radius: calc(var(--radius-sm) - 4px); font-weight: 700; font-size: .9rem; color: var(--text-soft); cursor: pointer; transition: all var(--transition); }
.auth-tabs button.active { background: var(--white); color: var(--brown-900); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-form { display: grid; gap: 16px; }
.auth-form label { font-size: .85rem; font-weight: 700; color: var(--brown-800); display: block; margin-bottom: 6px; }
.auth-form input { width: 100%; border: 1.5px solid var(--cream-dark); background: var(--white); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; color: var(--brown-900); outline: none; transition: border-color var(--transition); font-family: inherit; }
.auth-form input:focus { border-color: var(--gold); }
.auth-form input.error { border-color: #d64545; }
.btn-block { width: 100%; }
.auth-err { font-size: .8rem; font-weight: 700; color: #b3261e; background: rgba(211, 69, 69, .08); border: 1px solid rgba(211, 69, 69, .2); padding: 10px 14px; border-radius: var(--radius-sm); }
.auth-otp { display: grid; gap: 12px; padding: 16px; background: var(--cream); border-radius: var(--radius-sm); border: 1px dashed var(--gold); }
.auth-otp[hidden], .auth-form[hidden], .sms-sim[hidden] { display: none !important; }
.otp-inputs { display: flex; gap: 8px; direction: ltr; justify-content: center; }
.otp-inputs input { width: 44px; height: 52px; text-align: center; font-size: 1.25rem; font-weight: 800; border: 1.5px solid var(--cream-dark); border-radius: 12px; background: var(--white); color: var(--brown-900); outline: none; transition: border-color var(--transition); }
.otp-inputs input:focus { border-color: var(--gold); }
.otp-inputs input.error { border-color: #d64545; }
.otp-hint { font-size: .78rem; color: var(--text-soft); text-align: center; }
.sms-sim { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; background: #f2faf2; border: 1px solid #cfe6cf; border-radius: var(--radius-sm); padding: 14px 16px; }
.sms-ico { font-size: 1.5rem; line-height: 1; }
.sms-title { font-size: .82rem; font-weight: 800; color: #2e7d32; margin-bottom: 3px; }
.sms-body { font-size: .92rem; color: var(--brown-900); }
.sms-body strong { color: #2e7d32; letter-spacing: .15em; font-size: 1.05rem; }
.sms-note { font-size: .72rem; color: #6b8f6b; margin-top: 2px; }

/* ============ ورود/ثبت‌نام — روش ورود + کپچای عددی ============ */
.lmode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--cream); border-radius: var(--radius-sm); padding: 5px; }
.lmode-tabs button { border: none; background: none; padding: 10px; border-radius: calc(var(--radius-sm) - 4px); font-weight: 700; font-size: .84rem; color: var(--text-soft); cursor: pointer; transition: all var(--transition); }
.lmode-tabs button.active { background: var(--white); color: var(--brown-900); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-cap-label { margin-bottom: 6px; }
.auth-captcha-row { display: flex; align-items: center; gap: 10px; }
.auth-captcha { display: flex; align-items: center; gap: 6px; background: var(--brown-900); border-radius: 12px; padding: 10px 14px; user-select: none; }
.auth-captcha span { font-weight: 900; font-size: 1.15rem; color: var(--gold); line-height: 1; font-family: var(--font-display); }
.auth-cap-refresh { width: 44px; height: 44px; border: 1.5px solid var(--cream-dark); background: var(--white); color: var(--brown-700); border-radius: 12px; font-size: 1.05rem; cursor: pointer; transition: all var(--transition); flex-shrink: 0; }
.auth-cap-refresh:hover { border-color: var(--gold); color: var(--gold-dark); }
.auth-cap-input { flex: 1; min-width: 0; text-align: center; letter-spacing: .35em; font-weight: 800; }
.req-note { font-weight: 500; color: var(--text-soft); font-size: .74rem; }
.auth-or-note { font-size: .76rem; color: var(--text-soft); background: var(--cream); border-radius: var(--radius-sm); padding: 9px 12px; margin: 0; }


/* ============ پیگیری سفارش (حساب کاربری) ============ */
.auth-err.hidden, .auth-err[hidden] { display: none !important; }
.tracking-search { display: flex; gap: 10px; margin-bottom: 14px; }
.tracking-search input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--cream-dark); background: var(--white);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: .92rem; color: var(--brown-900);
  outline: none; transition: border-color var(--transition); font-family: inherit;
}
.tracking-search input:focus { border-color: var(--gold); }
.tracking-result { font-size: .85rem; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; }
.tracking-result.ok { background: #f2faf2; border: 1px solid #cfe6cf; color: var(--brown-900); }
.tracking-result.err { background: rgba(211, 69, 69, .08); border: 1px solid rgba(211, 69, 69, .2); color: #b3261e; font-weight: 700; }
.tracking-result strong { color: #2E7D32; }
.tracking-code-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  background: var(--cream); border: 1px dashed var(--gold);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 12px;
  font-size: .85rem; color: var(--brown-800);
}
.tracking-code-box code { font-family: inherit; font-weight: 900; color: var(--brown-900); letter-spacing: .08em; }


/* ============ تایید تماس (ایمیل/شماره) — رمز یکبارمصرف ============ */
.auth-send-row { display: flex; gap: 8px; }
.auth-send-row input { flex: 1; min-width: 0; }
.auth-send-row .btn-sm { white-space: nowrap; }
.auth-verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 800; color: #2E7D32;
  background: #f2faf2; border: 1px solid #cfe6cf;
  border-radius: 50px; padding: 6px 12px; margin-top: 8px;
}
.auth-otp { margin-top: 10px; }


/* ============================================================
   آواتار پروفایل کاربری + جنسیت (کافه چی)
   ============================================================ */
.avatar { overflow: hidden; }
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  display: block;
}
.avatar-lg { width: 76px; height: 76px; font-size: 1.6rem; }
.profile-avatar-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding: 14px;
  background: linear-gradient(135deg, rgba(200,155,75,.10), rgba(139,98,72,.06));
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
}
.avatar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar-actions .btn-sm { padding: 8px 14px; font-size: .8rem; }
.avatar-hint {
  font-size: .76rem; color: var(--text-soft);
  margin: 6px 0 14px; line-height: 1.8;
}
.auth-gender { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-gender-opt {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  padding: 10px 16px; cursor: pointer;
  font-size: .9rem; font-weight: 700; color: var(--brown-800);
  background: var(--white);
  transition: border-color .2s, background .2s, transform .15s;
}
.auth-gender-opt:hover { border-color: var(--gold); transform: translateY(-1px); }
.auth-gender-opt input { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.auth-gender-opt:has(input:checked) {
  border-color: var(--gold);
  background: rgba(200,155,75,.12);
  color: var(--gold-dark);
}
