/* ======================================================================
   پخش میلاد — فرانت‌اند جدید
   طراحی از صفر با الهام از برندهای غذایی/کشاورزی گرم و انسانی:
   رنگ‌های خاکی و طبیعی، تایپوگرافی قوی، عکس محصول در مرکز توجه،
   اسلایدرها و میانبرهای تصویری، انیمیشن‌های ملایم برای حس «زنده بودن».
   نام کلاس‌ها با بک‌اند PHP سازگار نگه داشته شده است.
   ====================================================================== */

:root {
    /* ---------- پالت اصلی: گرم، خاکی، طبیعی ---------- */
    --cream: #FBF6EC;
    --paper: #FFFFFF;
    --wheat: #F3E7C9;
    --sand: #EADFC0;

    --rust: #C1502E;
    --rust-dark: #9E3D21;
    --rust-light: #FBE6DC;

    --olive: #45573A;
    --olive-dark: #303F27;
    --olive-light: #E3EAD9;

    --gold: #C6952F;
    --gold-dark: #A67623;
    --gold-light: #FBF0D9;

    --ink: #2C2620;
    --muted: #8A7F6E;
    --line: #E9DFC9;

    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --shadow-sm: 0 6px 20px rgba(44, 38, 32, 0.08);
    --shadow-md: 0 18px 44px rgba(44, 38, 32, 0.14);
    --shadow-lift: 0 22px 40px rgba(193, 80, 46, 0.18);

    /* ---------- نگاشت برای سازگاری با کدهای موجود در PHP ---------- */
    --pink: var(--rust);
    --pink-dark: var(--rust-dark);
    --pink-light: var(--rust-light);
    --peach: var(--gold);
    --peach-dark: var(--gold-dark);
    --peach-light: var(--gold-light);
    --mint: var(--olive);
    --mint-dark: var(--olive-dark);
    --mint-light: var(--olive-light);
    --sun: var(--gold);
    --sun-dark: var(--gold-dark);
    --sun-light: var(--gold-light);
    --lav: var(--olive);
    --lav-dark: var(--olive-dark);
    --lav-light: var(--olive-light);
    --bg: var(--cream);
    --primary: var(--rust);
    --primary-dark: var(--rust-dark);
    --secondary: var(--gold);
    --accent: var(--gold);
    --accent2: var(--olive);
    --bg-light: var(--cream);
    --bg-warm: var(--wheat);
    --text-dark: var(--ink);
    --text-light: var(--muted);
    --border: var(--line);
    --white: #ffffff;
    --rose: var(--rust);
    --rose-soft: var(--rust-light);
    --gold-soft: var(--gold-light);
    --radius: var(--radius-lg);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.85;
    overflow-x: hidden;
    position: relative;
}

/* بافت دانه‌ای بسیار ملایم روی پس‌زمینه برای حس طبیعی/دستی */
body::before {
    content: "";
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(193,80,46,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

.kicker {
    display: block; text-align: center; font-size: 12.5px; font-weight: 800;
    letter-spacing: 1.5px; color: var(--rust); margin-bottom: 10px;
    text-transform: uppercase;
}
.kicker::before { content: "— "; }
.kicker::after { content: " —"; }
.kicker-right { text-align: right; }
.kicker-right::before, .kicker-right::after { content: none; }

::selection { background: var(--rust-light); color: var(--rust-dark); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px dashed var(--gold);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ================================================================
   نوار باریک بالای هدر (اعتماد + تماس)
   ================================================================ */
.top-strip { background: var(--olive-dark); color: #EFE7D2; }
.top-strip-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 12.5px; font-weight: 600; }
.top-strip-msg { display: flex; align-items: center; gap: 8px; }
.top-strip-msg .icon { color: var(--gold); font-size: 15px; }
.top-strip-phone { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; }
.top-strip-phone .icon { color: var(--gold); }

/* ================================================================
   هدر
   ================================================================ */
.site-header {
    background: var(--paper);
    position: sticky; top: 0; z-index: 200;
    box-shadow: 0 2px 18px rgba(44,38,32,0.06);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand-badge { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 18px; color: var(--ink); min-width: 0; }
.brand-badge img {
    width: 48px; height: 48px; border-radius: 50%; object-fit: contain; flex-shrink: 0;
    background: var(--wheat);
    border: 2px solid var(--line);
    transition: transform .3s ease;
}
.brand-badge:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-badge-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; overflow: hidden; }
.brand-badge-text em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.main-nav { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li > a {
    display: block; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--ink);
    border-radius: var(--radius-pill); transition: .2s ease; position: relative;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: var(--wheat); color: var(--rust-dark); }
.main-nav .has-sub { position: relative; }
.sub-menu-desktop {
    position: absolute; top: 100%; right: 0; background: var(--paper); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); padding: 10px; min-width: 190px; opacity: 0; visibility: hidden;
    transform: translateY(6px); transition: .2s ease; border: 1px solid var(--line);
}
.main-nav .has-sub:hover .sub-menu-desktop { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu-desktop li a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; }
.sub-menu-desktop li a:hover { background: var(--wheat); color: var(--rust-dark); }

.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hide-on-mobile { display: none; }

.orb-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--wheat); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    border: none; cursor: pointer; position: relative;
    transition: transform .2s ease, background .2s ease, color .2s ease;
    text-decoration: none;
}
.orb-btn:hover { background: var(--rust); color: #fff; transform: translateY(-2px); }
.orb-btn:active { transform: translateY(0) scale(0.95); }
.cart-icon-badge {
    position: absolute; top: -3px; left: -3px; background: var(--gold); color: var(--ink);
    font-size: 10px; font-weight: 900; min-width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 2px solid var(--paper);
    animation: badgePop .3s ease;
}
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

.menu-orb { flex-direction: column; gap: 4px; }
.menu-orb span { width: 18px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .25s ease; }
#menuToggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#menuToggle.is-active span:nth-child(2) { opacity: 0; }
#menuToggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* منوی تمام‌صفحه (موبایل) */
.fullscreen-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(160deg, var(--cream), var(--wheat) 140%);
    z-index: 300;
    opacity: 0; visibility: hidden; transform: scale(0.98);
    transition: .3s ease;
    overflow-y: auto;
}
.fullscreen-nav.open { opacity: 1; visibility: visible; transform: scale(1); }
.fullscreen-nav-inner { max-width: 480px; margin: 0 auto; padding: 110px 24px 40px; position: relative; }
.nav-close {
    position: fixed; top: 20px; left: 20px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--paper); color: var(--ink); border: none; font-size: 16px; cursor: pointer;
    z-index: 301; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
    transition: transform .2s ease;
}
.nav-close:hover { transform: rotate(90deg); background: var(--rust); color: #fff; }
.fullscreen-nav ul { display: flex; flex-direction: column; gap: 4px; }
.fullscreen-nav > .fullscreen-nav-inner > ul > li > a {
    display: block; padding: 15px 18px; font-weight: 800; font-size: 20px; color: var(--ink);
    border-radius: var(--radius-md); transition: .2s ease;
}
.fullscreen-nav > .fullscreen-nav-inner > ul > li > a:hover { background: var(--paper); color: var(--rust-dark); }
.fullscreen-nav a.active { color: var(--rust); }
.has-sub .sub-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 18px 18px; }
.sub-menu a {
    padding: 9px 18px !important; border-radius: var(--radius-pill) !important; background: var(--paper) !important;
    color: var(--rust-dark) !important; font-weight: 700 !important; font-size: 13px !important; border: 1.5px solid var(--line) !important;
    transition: .2s ease;
}
.sub-menu a:hover { background: var(--rust) !important; color: #fff !important; border-color: var(--rust) !important; }
.fullscreen-nav-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px;
    background: var(--rust); color: #fff; padding: 15px; border-radius: var(--radius-pill); font-weight: 800;
}

/* ================================================================
   هیرو / اسلایدر اصلی — اسلایدری مستقل و جدا از هدر، با محتوای وسط‌چین روی عکس واقعی
   ================================================================ */
.hero { position: relative; background: var(--ink); }
.hero-slider { position: relative; height: 580px; overflow: hidden; }
.hero-track { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hero-slide {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center;
    opacity: 0; visibility: hidden; transition: opacity .9s ease;
    display: flex; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide-overlay {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(20,16,10,.15) 0%, rgba(20,16,10,.2) 45%, rgba(20,16,10,.62) 100%);
}
.hero-slide-cover { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; cursor: pointer; }
.hero-slide-inner { position: relative; z-index: 1; max-width: 700px; color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-slide-inner > * { min-width: 0; max-width: 100%; }
.hero-fallback {
    position: relative; overflow: hidden; padding: 90px 0;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive) 60%, var(--rust-dark) 130%);
    color: #fff;
}
.hero-fallback-decor {
    position: absolute; left: -60px; top: 50%; transform: translateY(-50%); font-size: 340px; opacity: .08;
    color: #fff; line-height: 1;
}
.hero-fallback .hero-slide-inner { max-width: 640px; margin: 0 auto; text-align: center; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16);
    backdrop-filter: blur(6px); color: #fff; padding: 8px 18px; border-radius: var(--radius-pill);
    font-size: 12.5px; font-weight: 800; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.3);
}
.hero-badge .icon { color: var(--gold); }
.hero-slide-inner .hero-title {
    font-size: 38px; font-weight: 900; line-height: 1.5; margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-slide-inner .hero-title em { font-style: normal; color: var(--gold); }
.hero-slide-inner p { font-size: 15.5px; font-weight: 600; opacity: .95; margin-bottom: 30px; max-width: 520px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* کنترل‌های اسلایدر: فلش‌های ظریف در گوشه پایین + نقطه‌های وسط، جدا از محتوای متنی */
.hero-arrow {
    position: absolute; bottom: 24px; width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2; transition: .2s ease; backdrop-filter: blur(4px);
}
.hero-arrow .icon { width: 16px; height: 16px; }
.hero-arrow:hover { background: var(--rust); border-color: var(--rust); }
.hero-prev { right: 24px; }
.hero-next { left: 24px; }
.hero-dots { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); border: none; cursor: pointer; padding: 0; transition: .25s ease; }
.hero-dot.active { background: var(--gold); width: 22px; border-radius: var(--radius-pill); }

/* ================================================================
   نوار اعتماد (USP)
   ================================================================ */
.trust-strip { background: var(--paper); padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 14px; flex: 1 1 220px; min-width: 0; }
.trust-item > div { min-width: 0; }
.trust-item .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--wheat); color: var(--rust); flex-shrink: 0; box-sizing: content-box; }
.trust-item h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 2px; }
.trust-item p { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.trust-dots { display: none; justify-content: center; gap: 7px; margin-top: 14px; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; transition: .25s ease; }
.trust-dot.active { background: var(--rust); width: 20px; border-radius: var(--radius-pill); }

/* ================================================================
   میانبر دسته‌بندی تصویری
   ================================================================ */
.cat-shortcuts { padding: 54px 0 20px; }
.cat-row { display: flex; gap: 30px; overflow-x: auto; padding: 10px 4px 20px; justify-content: center; flex-wrap: wrap; }
.cat-shortcut { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; width: 108px; }
.cat-shortcut-photo {
    width: 104px; height: 104px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--wheat), var(--sand)); border: 3px solid var(--paper);
    box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.cat-shortcut:hover .cat-shortcut-photo { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow-lift); }
.cat-shortcut-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-shortcut-fallback { font-size: 32px; color: var(--rust); display: flex; }
.cat-shortcut-label { font-size: 13.5px; font-weight: 800; color: var(--ink); }

/* ================================================================
   دکمه‌ها
   ================================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px; background: var(--rust); color: #fff; padding: 14px 30px;
    border-radius: var(--radius-pill); font-weight: 800; border: none; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    font-family: inherit; font-size: 14.5px;
    box-shadow: 0 10px 24px rgba(193,80,46,0.28);
}
.btn:hover { background: var(--rust-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(193,80,46,0.34); }
.btn:active { transform: translateY(0); }

.btn-outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.btn-light { background: var(--paper); color: var(--rust-dark); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-light:hover { background: var(--gold-light); }

.btn-secondary { background: var(--olive-light); color: var(--olive-dark); box-shadow: none; }
.btn-secondary:hover { background: var(--olive); color: #fff; }

.btn-sm { padding: 9px 20px; font-size: 12.5px; box-shadow: none; }
.btn-sm:hover { transform: none; box-shadow: 0 6px 16px rgba(193,80,46,0.25); }

button[disabled], .btn[disabled] { filter: grayscale(.5); box-shadow: none !important; transform: none !important; cursor: not-allowed; }

/* ================================================================
   بخش عمومی
   ================================================================ */
.section { padding: 60px 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head-row .section-title { margin-bottom: 0; }
.section-head-link { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; color: var(--rust); flex-shrink: 0; transition: gap .2s ease; }
.section-head-link:hover { gap: 10px; }
.section-title { text-align: center; font-size: 27px; font-weight: 900; margin-bottom: 30px; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
.section-title-right { text-align: right; margin-bottom: 0; }
.section-subtitle { text-align: center; color: var(--muted); margin-bottom: 32px; margin-top: -20px; font-weight: 600; font-size: 14px; overflow-wrap: break-word; }

/* ================================================================
   اسلایدر محصولات (فروشگاه)
   ================================================================ */
.products-section { padding-top: 20px; }
.product-slider-wrap { position: relative; }
.product-slider {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 18px;
    scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none;
}
.product-slider::-webkit-scrollbar { display: none; }
.product-slider:active { cursor: grabbing; }
.product-slider .photo-card { flex: 0 0 260px; scroll-snap-align: start; }
.ps-arrow {
    position: absolute; top: 40%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
    background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.ps-arrow:hover { background: var(--rust); color: #fff; border-color: var(--rust); }
.ps-prev { right: -8px; }
.ps-next { left: -8px; }
@media (max-width: 640px) { .ps-arrow { display: none; } }

/* کارت‌های محصول (گرید عکس‌محور) — الهام‌گرفته از فروشگاه‌های حرفه‌ای مواد غذایی */
.photo-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-card, .product-card {
    background: var(--paper); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
.photo-card:hover, .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.photo-card-media, .product-card > a {
    position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(150deg, var(--wheat), var(--sand) 140%); padding: 18px; height: 176px;
}
.photo-card-media img, .product-img { width: 100%; height: 100%; max-height: 150px; object-fit: contain; transition: transform .4s ease; }
.photo-card:hover .photo-card-media img, .product-card:hover .product-img { transform: scale(1.07); }
.photo-card-placeholder, .product-img-placeholder {
    width: 100%; height: 176px; display: flex; align-items: center; justify-content: center; font-size: 40px;
    background: linear-gradient(150deg, var(--wheat), var(--sand)); color: var(--rust);
}
.photo-card-tag, .product-cat {
    position: absolute; top: 10px; right: 10px; background: var(--paper); color: var(--olive-dark);
    font-size: 10.5px; font-weight: 800; padding: 5px 12px; border-radius: var(--radius-pill);
    box-shadow: 0 3px 8px rgba(44,38,32,.1); display: flex; align-items: center; gap: 4px;
}
.photo-card-tag .icon { width: 11px; height: 11px; color: var(--muted); }
.photo-card-discount {
    position: absolute; top: 10px; left: 10px; background: var(--rust); color: #fff;
    font-size: 11px; font-weight: 900; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(193,80,46,.35); line-height: 1.1; text-align:center;
}
.photo-card-body, .product-info { padding: 14px 16px 16px; }
.photo-card-body h3, .product-info h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 10px; line-height: 1.6; min-height: 2.6em; }
.product-info .product-cat { position: static; display: inline-block; background: var(--wheat); color: var(--rust-dark); margin-bottom: 8px; padding: 4px 12px; box-shadow: none; }
.product-info p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.photo-card-footer, .product-price {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px;
    padding-top: 12px; border-top: 1px dashed var(--line); flex-wrap: nowrap;
}

.price-tag { font-weight: 900; color: var(--rust-dark); font-size: 15px; }
.price-discount-wrap { display: flex; flex-direction: column; gap: 1px; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.price-new { color: var(--rust-dark); font-weight: 900; font-size: 14.5px; }
.discount-ribbon {
    display: none; /* روی کارت‌ها به‌جای این نوار، بج دایره‌ای گوشه بالا-چپ استفاده می‌شود */
}
.discount-ribbon.big {
    display: inline-flex; align-items: center; gap: 6px; background: var(--rust); color: #fff;
    font-size: 13px; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-pill); margin-bottom: 8px; width: fit-content;
}
.discount-timer { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gold-dark); font-weight: 700; margin-top: 2px; }
.discount-timer.card-countdown {
    position: absolute; bottom: 8px; right: 8px; left: 8px; background: rgba(20,16,10,.72); color: #fff;
    padding: 5px 10px; border-radius: var(--radius-pill); font-size: 10.5px; justify-content: center; margin-top: 0;
    backdrop-filter: blur(3px);
}
.discount-timer.card-countdown .icon { color: var(--gold); flex-shrink: 0; }
.discount-timer.card-countdown .discount-timer-text { color: #fff; font-weight: 800; }

/* بخش تخفیف‌های ویژه صفحه اصلی */
.discount-section-subtitle { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 6px; }
.discount-section .kicker-right { color: var(--rust); display: flex; align-items: center; gap: 6px; }
.discount-section .kicker-right::before, .discount-section .kicker-right::after { content: none; }
.discount-section .kicker-right .icon { color: var(--rust); }

/* دکمه دایره‌ای افزودن به سبد روی کارت محصول (سبز، مثل فروشگاه‌های مواد غذایی) */
.card-add-btn {
    width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer;
    box-shadow: 0 6px 16px rgba(69,87,58,.3); transition: transform .2s ease, background .2s ease;
}
.card-add-btn .icon { width: 17px; height: 17px; }
.card-add-btn:hover { background: var(--olive-dark); transform: scale(1.08); }

/* ================================================================
   تایل‌های تبلیغاتی (مثل بنرهای فروشگاه‌های مواد غذایی) — چیدمان با ستون‌بندی درصدی ساده
   (بدون calc/gap در فلکس) برای جلوگیری قطعی از روی‌هم‌افتادن تایل‌ها در هر مرورگری
   ================================================================ */
.promo-tiles { display: flex; flex-wrap: wrap; margin: 8px -11px 0; }
.promo-tile-col { box-sizing: border-box; width: 50%; padding: 0 11px; margin-bottom: 22px; }
.promo-tile-col.promo-tile-col-full { width: 100%; }
.promo-tile {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 220px;
    width: 100%; height: 100%; box-sizing: border-box;
    display: flex; align-items: center; padding: 32px; color: #fff; box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease; background-size: cover;
}
.promo-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.promo-tile::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(115deg, rgba(20,16,10,.72) 15%, rgba(20,16,10,.38) 60%, rgba(20,16,10,.15) 100%);
    z-index: 0;
}
.promo-tile-rust::before { background: linear-gradient(115deg, rgba(158,61,33,.82) 15%, rgba(158,61,33,.4) 65%, rgba(158,61,33,.12) 100%); }
.promo-tile-olive::before { background: linear-gradient(115deg, rgba(48,63,39,.82) 15%, rgba(48,63,39,.4) 65%, rgba(48,63,39,.12) 100%); }
.promo-tile-gold::before { background: linear-gradient(115deg, rgba(166,118,35,.82) 15%, rgba(166,118,35,.4) 65%, rgba(166,118,35,.12) 100%); }
.promo-tile-rust { background-color: var(--rust); }
.promo-tile-olive { background-color: var(--olive); }
.promo-tile-gold { background-color: var(--gold-dark); }
.promo-tile-decor {
    position: absolute; left: -20px; bottom: -30px; font-size: 170px; opacity: .12; line-height: 1; color: #fff;
    transform: rotate(-12deg); z-index: 0;
}
.promo-tile-body { position: relative; z-index: 1; max-width: 64%; }
.promo-tile-body h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.promo-tile-body p { font-size: 13px; font-weight: 600; opacity: .92; margin-bottom: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
@media (max-width: 768px) {
    .promo-tile-col { width: 100%; }
    .promo-tile-body { max-width: 72%; }
}
.story-brand { padding: 20px 0 70px; }
.story-brand-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.story-brand-media { position: relative; }
.story-brand-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.story-brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-brand-badge {
    position: absolute; bottom: -18px; right: -18px; background: var(--paper); padding: 14px 20px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 13px; border: 1px solid var(--line);
}
.story-brand-badge .icon { color: var(--olive); width: 22px; height: 22px; }
.story-brand-text p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.story-brand-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.story-brand-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; }
.story-brand-list .icon { color: var(--rust); width: 20px; height: 20px; padding: 8px; background: var(--rust-light); border-radius: 50%; box-sizing: content-box; }

/* ================================================================
   نوار تبلیغ همکاری
   ================================================================ */
.cta-band { background: linear-gradient(120deg, var(--olive-dark), var(--olive)); color: #fff; padding: 44px 0; }
.cta-band-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band-row > div { min-width: 0; flex: 1 1 260px; }
.cta-band h2 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.cta-band p { opacity: .85; font-size: 13.5px; font-weight: 500; }

/* ================================================================
   فرم‌ها
   ================================================================ */
.form-box {
    background: var(--paper); border-radius: var(--radius-lg); padding: 34px;
    box-shadow: var(--shadow-sm); max-width: 700px; margin: 0 auto;
    border: 1px solid var(--line);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 13.5px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; background: var(--cream); color: var(--ink); transition: .2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--rust); background: var(--paper); box-shadow: 0 0 0 4px var(--rust-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 13.5px; font-weight: 700; border: 1px solid transparent; }
.alert-success { background: var(--olive-light); color: var(--olive-dark); border-color: var(--olive); }
.alert-error { background: var(--rust-light); color: var(--rust-dark); border-color: var(--rust); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; justify-content: center; }
.filter-bar a { padding: 10px 22px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--paper); font-size: 13.5px; font-weight: 700; transition: .2s ease; }
.filter-bar a.active, .filter-bar a:hover { background: var(--rust); color: #fff; border-color: var(--rust); }

/* ================================================================
   هدر صفحات داخلی
   ================================================================ */
.page-header {
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
    padding: 46px 0; text-align: center; position: relative; overflow: hidden; color: #fff;
}
.page-header h1 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.breadcrumb { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; }
.breadcrumb a { color: var(--gold); font-weight: 800; }

.content-box { background: var(--paper); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); max-width: 900px; margin: 0 auto; line-height: 2.1; border: 1px solid var(--line); }
.content-box img { border-radius: var(--radius-md); margin-bottom: 20px; width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; background: var(--wheat); }
@media (max-width: 600px) { .content-box img { aspect-ratio: 4 / 3; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.contact-grid .content-box, .contact-grid .form-box { max-width: 100%; margin: 0; width: 100%; }
.contact-grid .content-box p { margin-bottom: 6px; font-weight: 600; }
.contact-info-list { display: flex; flex-direction: column; gap: 12px; }
.contact-info-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.contact-info-list .icon { color: var(--rust); width: 20px; height: 20px; padding: 8px; background: var(--wheat); border-radius: 50%; box-sizing: content-box; flex-shrink: 0; }

/* ================================================================
   صفحه محصول
   ================================================================ */
.product-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--paper);
    padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.product-detail img { border-radius: var(--radius-md); width: 100%; }
.detail-info h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.detail-meta { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: var(--wheat); padding: 6px 15px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; }
.detail-price { font-size: 24px; font-weight: 900; color: var(--rust-dark); margin: 20px 0; }
.stock-status { font-size: 13.5px; margin-bottom: 20px; font-weight: 800; }
.in-stock { color: var(--olive); }
.out-stock { color: var(--rust); }

/* ================================================================
   فوتر
   ================================================================ */
.site-footer { background: var(--olive-dark); color: #E7E2D3; margin-top: 60px; }
.footer-top { background: var(--rust); color: #fff; }
.footer-top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
.footer-top-text { min-width: 0; flex: 1 1 260px; }
.footer-top-text h3 { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.footer-top-text p { font-size: 13px; opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; padding: 46px 0 30px; }
.footer-col h3 { color: #fff; margin-bottom: 14px; font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.footer-col h3 .icon { color: var(--gold); }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 14.5px; font-weight: 800; }
.footer-col p { font-weight: 500; opacity: .8; font-size: 13.5px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; font-weight: 500; opacity: .9; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-list li { display: flex; align-items: center; gap: 8px; }
.footer-contact-list .icon { color: var(--gold); flex-shrink: 0; }
.social-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--gold); font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px 0; font-size: 12.5px; color: rgba(231,226,211,.7); }

.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); font-weight: 600; }
.empty-state .emoji { font-size: 46px; margin-bottom: 16px; color: var(--rust); display: flex; justify-content: center; }
.empty-state .emoji .icon { width: 46px; height: 46px; }

/* ================================================================
   گالری/لایت‌باکس
   ================================================================ */
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs img, .main-photo { cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; border-radius: var(--radius-md); }
.main-photo { width: 100%; height: 380px; object-fit: contain; background: var(--wheat); }
@media (max-width: 480px) { .main-photo { height: 280px; } }
.gallery-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--line); }
.gallery-thumbs img:hover, .main-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-thumbs img.active-thumb { border-color: var(--rust); }

.lightbox-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; background: rgba(30,24,16,.92); align-items: center; justify-content: center; padding: 20px; }
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; text-align: center; }
.lightbox-inner img { max-width: 100%; max-height: 78vh; border-radius: var(--radius-md); object-fit: contain; background: #241d29; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255,255,255,.18); color: #fff; border: none; width: 44px; height: 44px;
    border-radius: 50%; font-size: 19px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--ink); }
.lightbox-close { top: -54px; left: 0; }
.lightbox-prev { top: 50%; right: -10px; transform: translateY(-50%); }
.lightbox-next { top: 50%; left: -10px; transform: translateY(-50%); }
.lightbox-counter { color: #e6d9ec; margin-top: 12px; font-size: 13px; font-weight: 600; }

/* ================================================================
   وزن/تعداد
   ================================================================ */
.weight-options { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.weight-options input[type="radio"] { display: none; }
.weight-options label { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; font-weight: 800; font-size: 12.5px; transition: .2s ease; }
.weight-options input[type="radio"]:checked + label { background: var(--rust); color: #fff; border-color: var(--rust); }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.qty-stepper button { width: 38px; height: 38px; border: none; background: var(--cream); color: var(--rust-dark); font-size: 18px; font-weight: 900; cursor: pointer; transition: background .2s ease; }
.qty-stepper button:hover { background: var(--wheat); }
.qty-stepper input { width: 54px; text-align: center; border: none; font-weight: 900; font-size: 14px; background: transparent; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ================================================================
   مودال سفارش
   ================================================================ */
.order-modal-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; background: rgba(30,24,16,.55); align-items: center; justify-content: center; padding: 16px; }
.order-modal-overlay.open { display: flex; }
.order-modal { background: var(--paper); border-radius: var(--radius-lg); max-width: 400px; width: 100%; padding: 28px; position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.order-modal h3 { color: var(--ink); margin-bottom: 16px; font-weight: 900; }
.order-modal .close-modal { position: absolute; top: 14px; left: 14px; background: var(--wheat); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--rust-dark); }
.order-modal-summary { background: var(--cream); border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 16px; font-size: 12.5px; font-weight: 600; }

/* ================================================================
   ماشین‌حساب وزن
   ================================================================ */
.weight-calc { background: var(--wheat); border-radius: var(--radius-md); padding: 18px; margin: 18px 0; }
.weight-calc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.weight-calc input[type="number"] { width: 120px; padding: 10px 14px; border: 1.5px solid var(--paper); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; font-weight: 800; background: var(--paper); }
.weight-calc input[type="number"]:focus { outline: none; border-color: var(--rust); }
.weight-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.weight-presets button { padding: 7px 15px; border-radius: var(--radius-pill); border: 1.5px solid var(--paper); background: var(--paper); font-size: 12.5px; font-weight: 800; cursor: pointer; transition: .2s ease; font-family: inherit; }
.weight-presets button:hover, .weight-presets button.active { background: var(--rust); color: #fff; border-color: var(--rust); }
.weight-calc-total { font-size: 19px; font-weight: 900; color: var(--rust-dark); margin-top: 12px; }
.weight-calc-total small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 4px; }

/* ================================================================
   اسلایدر بسته‌بندی
   ================================================================ */
.pkg-slider { position: relative; overflow: hidden; height: 175px; background: linear-gradient(160deg, var(--wheat), var(--sand)); }
.pkg-slider-track { display: flex; width: 100%; height: 100%; }
.pkg-slide { width: 100%; height: 175px; object-fit: cover; flex-shrink: 0; display: none; cursor: zoom-in; }
.pkg-slide.active { display: block; animation: pkgFade .3s ease; }
@keyframes pkgFade { from { opacity: 0; } to { opacity: 1; } }
.pkg-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
    border: none; background: rgba(44,38,32,.5); color: #fff; font-size: 17px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: .2s ease;
}
.pkg-slider:hover .pkg-slider-nav { opacity: 1; }
.pkg-slider-nav:hover { background: var(--gold); color: var(--ink); }
.pkg-slider-prev { right: 8px; }
.pkg-slider-next { left: 8px; }
.pkg-slider-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.pkg-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); cursor: pointer; }
.pkg-dot.active { background: var(--gold); transform: scale(1.3); }

/* ================================================================
   انیمیشن ورود هنگام اسکرول
   ================================================================ */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .animate-on-scroll { opacity: 1; transform: none; transition: none; } }

/* ================================================================
   سبد خرید
   ================================================================ */
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.cart-item {
    display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 14px; align-items: center;
    background: var(--paper); border-radius: var(--radius-md); padding: 14px 18px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.cart-item-error { background: var(--rust-light); border-color: var(--rust); }
.cart-item-img img, .cart-item-noimg { width: 66px; height: 66px; border-radius: var(--radius-sm); object-fit: cover; background: var(--wheat); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cart-item-info h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.cart-item-type { font-size: 11.5px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.cart-item-weight, .cart-item-discount { display: flex; align-items: center; gap: 5px; }
.cart-item-discount { color: var(--rust-dark); font-weight: 800; font-size: 12px; margin-top: 4px; }
.cart-item-weight .icon, .cart-item-discount .icon, .cart-item-type .icon { color: var(--rust); flex-shrink: 0; }
.cart-item-weight { font-size: 12.5px; color: var(--rust-dark); font-weight: 800; margin-top: 3px; }
.cart-item-alert { font-size: 11.5px; color: var(--rust-dark); font-weight: 800; margin-top: 6px; }
.cart-fixed-qty { font-weight: 900; font-size: 14px; }
.qty-stepper-sm { transform: scale(0.85); }
.cart-item-total { font-weight: 900; color: var(--rust-dark); font-size: 14.5px; white-space: nowrap; }
.cart-item-remove {
    width: 36px; height: 36px; border-radius: 50%; background: var(--wheat); color: var(--rust-dark);
    display: flex; align-items: center; justify-content: center; font-weight: 900; transition: .2s ease;
}
.cart-item-remove:hover { background: var(--rust); color: #fff; }
.cart-summary {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    background: linear-gradient(120deg, var(--wheat), var(--sand)); border-radius: var(--radius-md); padding: 20px 24px;
}
.cart-summary-total { font-size: 16px; font-weight: 700; }
.cart-summary-total strong { color: var(--rust-dark); font-size: 22px; }

.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout-form-box { margin: 0; }
.checkout-summary { background: linear-gradient(150deg, var(--wheat), var(--sand)); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 20px; }
.checkout-summary-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1.5px dashed rgba(44,38,32,0.12); }
.cs-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.cs-price { font-weight: 900; color: var(--rust-dark); white-space: nowrap; font-size: 13.5px; }
.checkout-summary-total { display: flex; justify-content: space-between; padding-top: 16px; font-size: 15px; font-weight: 700; }
.checkout-summary-total strong { color: var(--rust-dark); font-size: 20px; }

/* ================================================================
   ریسپانسیو
   ================================================================ */
@media (min-width: 993px) {
    .main-nav { display: block; }
    .hide-on-mobile { display: flex; }
    .menu-orb { display: none; }
}
@media (max-width: 992px) {
    .photo-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .story-brand-row { grid-template-columns: 1fr; gap: 40px; }
    .story-brand-badge { right: 16px; bottom: -14px; }
    .hero-slider { height: 460px; }
    .hero-slide-inner .hero-title { font-size: 30px; }
    .section-title { font-size: 23px; }
}
@media (max-width: 768px) {
    .header-row { padding: 10px 0; }
    .cart-item { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
    .cart-item-qty, .cart-item-total, .cart-item-remove { grid-column: 2; justify-self: start; }
    .top-strip-msg span { display: none; }
    .footer-top-row { text-align: center; justify-content: center; }
    .cta-band-row { text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
    .photo-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .section { padding: 40px 0; }
    .container { padding: 0 14px; }
    /* اصلاح مهم: اسلایدها باید همیشه روی هم (absolute) بمانند تا وقتی چند اسلاید
       دارید، به‌جای اینکه زیر هم قرار بگیرند و هیرو خیلی طولی/بلند شود، هر اسلاید
       دقیقاً روی اسلاید قبلی بنشیند و فقط یکی در لحظه دیده شود. ارتفاع با روش
       «padding-top درصدی» (نسبت تقریبی ۶:۵) کنترل می‌شود — این روش برخلاف
       aspect-ratio در همه مرورگرها (حتی قدیمی‌ها) درست کار می‌کند، و عکس در موبایل
       هم به‌جای طولی‌شدن، عریض/افقی می‌ماند؛ همزمان فاصله‌های متن هم جمع‌وجورتر
       شده تا نشان+تیتر+توضیح+دکمه به‌طور کامل و بدون بریده‌شدن جا شوند. */
    /* نسبت تصویر عریض‌تر (نزدیک به ۳:۲) که برای عکس‌های بنری واقعی (مثل عکس‌های
       افقی محصولات در طبیعت/مزرعه) خیلی بهتر از حالت قبلی (تقریباً مربعی) عمل
       می‌کند و کمتر از لبه‌های عکس می‌برد. min-height هم تضمین می‌کند که در
       گوشی‌های خیلی باریک، باز هم جای کافی برای متن (نشان+تیتر+توضیح+دکمه) بماند. */
    .hero-slider { height: 0; padding-top: 66%; min-height: 270px; }
    .hero-fallback { height: auto; padding: 60px 0; }
    .hero-badge { margin-bottom: 12px; padding: 6px 14px; font-size: 11.5px; }
    .hero-slide-inner .hero-title { margin-bottom: 10px; }
    .hero-slide-inner p { margin-bottom: 16px; font-size: 13.5px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: 10px 20px; font-size: 12.5px; }
    .cat-shortcut { width: 84px; }
    .cat-shortcut-photo { width: 80px; height: 80px; }

    /* نوار اعتماد در موبایل: به‌جای چیدمان عمودی با فاصله زیاد، یک اسلایدر افقی
       خودکار می‌شود که هر ۵ ثانیه مورد بعدی را نشان می‌دهد (مشابه اسلایدر هیرو) */
    .trust-row {
        position: relative; flex-wrap: nowrap; overflow: hidden; min-height: 64px;
        justify-content: flex-start;
    }
    .trust-item {
        position: absolute; top: 0; right: 0; left: 0; flex: none; width: 100%;
        opacity: 0; visibility: hidden; transition: opacity .5s ease;
    }
    .trust-item.active { opacity: 1; visibility: visible; }
    .trust-dots { display: flex; }
}
@media (max-width: 400px) {
    .brand-badge-text em { display: none; }
}
@media (max-width: 480px) {
    .photo-grid, .product-grid { grid-template-columns: 1fr 1fr; }
    .hero-slide-inner .hero-title { font-size: 23px; }
    .section-title { font-size: 19px; margin-bottom: 20px; }
    .section-subtitle { font-size: 12.5px; }
    .content-box, .form-box { padding: 22px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .fullscreen-nav-inner { padding: 90px 16px 30px; }
    .btn { padding: 12px 24px; font-size: 13.5px; }
    .photo-card-media img, .product-img, .photo-card-placeholder, .product-img-placeholder { height: 130px; }
}
