/* =========================================================
   صبا الکتریک — style.css
   فهرست:
   ۱) توکن‌ها (رنگ‌ها و اندازه‌ها)   ۲) ریست و پایه   ۳) کامپوننت‌های مشترک
   ۴) نوار بالا / هدر / منو         ۵) هیرو          ۶) بخش‌های صفحه
   ۷) فوتر و اجزای شناور            ۸) انیمیشن       ۹) ریسپانسیو
   ========================================================= */


/* ================= ۱) TOKENS ================= */
/* رنگ‌ها و اندازه‌ها یک‌جا تعریف شدن؛ برای عوض کردن تم فقط همین‌جا رو تغییر بده */

:root {
    --brand-orange: #ff7900;
    --brand-black: #111111;
    --brand-white: #ffffff;
    --brand-image-surface: #e9edf2;
    --brand-image-border: #d1d9e2;
    --orange: var(--brand-orange);
    --orange-dark: #e86800;
    --orange-soft: #fff2e8;

    --black: var(--brand-black);
    --ink: #151515;

    --gray-700: #555555;
    --gray-500: #8a8a8a;
    --gray-300: #dddddd;
    --gray-200: #eeeeee;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;

    --green: #16a34a;

    --radius: 14px;
    --radius-lg: 20px;

    --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);

    --header-h: 76px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ================= ۲) RESET & BASE ================= */

/* اختیاری: فونت وزیرمتن. فایل Vazirmatn.woff2 رو داخل static/fonts/ بذار.
   اگه نبود، مرورگر خودکار از Tahoma استفاده می‌کنه. */
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn.woff2?v=4e3fa217d38f") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
    background: var(--brand-white);
    color: var(--ink);
    line-height: 1.8;
    direction: rtl;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: min(92%, 1250px);
    margin-inline: auto;
}

/* فقط برای صفحه‌خوان‌ها (نابینایان) قابل دیدنه */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -70px;
    inset-inline-start: 12px;
    background: var(--orange);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    z-index: 400;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}


/* ================= ۳) SHARED COMPONENTS ================= */

/* آیکون‌ها (SVG) — رنگشون از color والد میاد */
.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 121, 0, 0.28);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--black);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-outline-dark {
    border: 1px solid var(--gray-300);
    color: var(--ink);
}

.btn-outline-dark:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    background: #fff;
    transition: border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.icon-btn .icon {
    width: 22px;
    height: 22px;
}

.menu-toggle {
    display: none; /* فقط در موبایل نمایش داده میشه */
}


/* ================= ۴) TOP BAR / HEADER / NAV ================= */

.top-bar {
    background: var(--black);
    color: #dddddd;
    font-size: 13px;
}

.top-bar-content {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-links,
.top-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.top-links a:hover {
    color: var(--orange);
}

.top-info {
    color: #bbbbbb;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-info .icon {
    color: var(--orange);
    width: 16px;
    height: 16px;
}

.separator {
    width: 1px;
    height: 14px;
    background: #444;
}

/* هدر چسبنده: موقع اسکرول بالای صفحه می‌مونه */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.25s;
}

.site-header.is-stuck {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.header-content {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.logo-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.logo-text strong {
    font-size: 20px;
    color: var(--black);
}

.logo-text span {
    font-size: 11px;
    color: var(--gray-500);
}

.search-box {
    flex: 1;
    height: 50px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 999px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.search-box:focus-within {
    border-color: var(--orange);
    background: #fff;
}

.search-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 22px;
    font-size: 14px;
}

.search-box button {
    width: 58px;
    height: 100%;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--orange-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 12px;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--orange);
}

.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.cart:hover {
    border-color: var(--orange);
}

.cart-icon {
    position: relative;
    display: grid;
    place-items: center;
}

.cart-icon > .icon {
    width: 26px;
    height: 26px;
}

.cart-badge {
    position: absolute;
    top: -10px;
    inset-inline-start: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.cart-info {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.cart-info > span {
    font-size: 14px;
    font-weight: 700;
}

.cart-info small {
    color: var(--gray-500);
    font-size: 11px;
}

.navigation {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.navigation-content {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.cat-menu {
    position: relative;
}

.categories-button {
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.categories-button:hover {
    background: var(--orange-dark);
}

.categories-button .chev {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.categories-button[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.cat-panel {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 60;
}

.cat-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.cat-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.cat-panel a:hover {
    background: var(--orange-soft);
    color: var(--orange-dark);
}

.cat-panel .icon {
    color: var(--orange);
}

.navigation-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--orange);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    inset-inline: 14px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
}

.shipping-location {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 13px;
}

.shipping-location .icon {
    color: var(--orange);
    width: 18px;
    height: 18px;
}


/* ================= ۵) HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-bottom: 70px;
    background:
        radial-gradient(900px 420px at 85% 15%, rgba(255, 121, 0, 0.22), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(255, 121, 0, 0.12), transparent 60%),
        linear-gradient(135deg, #0e0e0e, #1d1d1d);
}

/* شبکه‌ی محو پشت هیرو برای حس صنعتی */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    min-height: 480px;
    padding-block: 56px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 121, 0, 0.12);
    border: 1px solid rgba(255, 121, 0, 0.35);
    color: #ffab66;
    font-size: 13px;
}

.hero-label .icon {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.5;
    font-weight: 800;
    margin: 18px 0 14px;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero p {
    color: #c9c9c9;
    font-size: 16px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 30px;
    color: #bdbdbd;
    font-size: 13px;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-points .icon {
    color: var(--orange);
    width: 18px;
    height: 18px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.visual-ring {
    position: relative;
    width: min(380px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 25%, #ff9a3c, var(--orange) 55%, #d96200);
    box-shadow: 0 0 90px rgba(255, 121, 0, 0.35);
}

.visual-ring::before {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.22);
    animation: spin 40s linear infinite;
}

.visual-ring .icon {
    width: 46%;
    height: 46%;
    color: #fff;
    stroke-width: 1.5;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}

.float-card .icon {
    width: 22px;
    height: 22px;
    color: var(--orange);
}

.float-card small {
    display: block;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 400;
}

.float-card.one {
    top: 8%;
    inset-inline-start: 0;
}

.float-card.two {
    bottom: 10%;
    inset-inline-end: 0;
    animation-delay: -2.5s;
}


/* ================= ۶) SECTIONS ================= */

/* نوار مزایا: کمی روی هیرو میفته */
.trust {
    position: relative;
    z-index: 2;
    margin-top: -44px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-inline-start: 1px solid var(--gray-200);
}

.trust-item:first-child {
    border-inline-start: 0;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.trust-icon .icon {
    width: 24px;
    height: 24px;
}

.trust-item h3 {
    font-size: 14px;
}

.trust-item p {
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.6;
}

.section {
    padding: 80px 0;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
}

.eyebrow {
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 28px;
    line-height: 1.5;
    margin-top: 4px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-dark);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s;
}

.view-all:hover {
    gap: 10px;
}

.view-all .icon {
    width: 18px;
    height: 18px;
}

/* ---- Categories ---- */
/* ---- Categories ---- */

.category-section {
    padding: 80px 0;
    background: var(--brand-white);
}


/* عنوان بخش */

.category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
    margin-bottom: 36px;
}

.category-eyebrow {
    display: inline-block;

    margin-bottom: 6px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;
}

.category-heading h2 {
    margin: 0;

    color: var(--black);

    font-size: 30px;
    font-weight: 900;
    line-height: 1.5;
}

.category-heading p {
    max-width: 530px;

    margin-top: 7px;

    color: var(--gray-500);

    font-size: 14px;
    line-height: 1.9;
}


/* مشاهده همه */

.category-view-all {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    color: var(--black);

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

.category-view-all span {
    color: var(--orange);
    font-size: 18px;
}

.category-view-all:hover {
    color: var(--orange);
    gap: 11px;
}


/* =========================
   GRID
========================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;
}


/* هر کارت دو ستون از شش ستون می‌گیرد */

.category-item {
    grid-column: span 2;

    position: relative;
    overflow: hidden;

    min-height: 280px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #161616,
            #242424
        );

    border: 1px solid #303030;

    border-radius: 18px;

    color: var(--brand-white);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* دو کارت ردیف دوم وسط قرار بگیرند */

.category-item:nth-child(4) {
    grid-column: 2 / span 2;
}

.category-item:nth-child(5) {
    grid-column: 4 / span 2;
}


.category-item:hover {
    transform: translateY(-6px);

    border-color: var(--orange);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.16);
}


/* نور نارنجی */

.category-item::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    left: -80px;
    top: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 121, 0, 0.23),
            transparent 70%
        );

    pointer-events: none;
}


/* شماره کارت */

.category-number {
    position: absolute;

    top: 18px;
    left: 20px;

    color: rgba(255, 255, 255, 0.2);

    font-size: 13px;
    font-weight: 800;
}


/* فعلاً جای عکس */

.category-visual {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #ff993d,
            var(--orange)
        );

    color: var(--brand-white);

    font-size: 24px;
    font-weight: 900;

    box-shadow:
        0 12px 28px rgba(255, 121, 0, 0.25);
}


/* اطلاعات کارت */

.category-info {
    position: relative;

    z-index: 2;

    margin-top: auto;
}

.category-info h3 {
    margin: 0;

    color: var(--brand-white);

    font-size: 20px;
    font-weight: 800;
}

.category-info p {
    margin: 7px 0 16px;

    color: #aaaaaa;

    font-size: 13px;
    line-height: 1.8;
}

.category-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   SPECIALIZED PARTS
========================= */

.category-parts {
    background:
        linear-gradient(
            145deg,
            #151515,
            #25180e
        );

    border-color:
        rgba(255, 121, 0, 0.4);
}


/* زیر دسته‌های قطعات */

.parts-subcategories {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

    margin-top: 14px;
}

.parts-subcategories a {
    min-height: 38px;

    padding: 7px 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 6px;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    color: #dddddd;

    font-size: 11px;
    font-weight: 600;

    transition: 0.2s ease;
}

.parts-subcategories a span {
    color: var(--orange);
}

.parts-subcategories a:hover {
    color: var(--brand-white);

    background:
        rgba(255, 121, 0, 0.12);

    border-color:
        rgba(255, 121, 0, 0.45);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .category-item,
    .category-item:nth-child(4),
    .category-item:nth-child(5) {
        grid-column: auto;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .category-section {
        padding: 55px 0;
    }

    .category-heading {
        flex-direction: column;
        align-items: flex-start;

        margin-bottom: 26px;
    }

    .category-heading h2 {
        font-size: 23px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-item,
    .category-item:nth-child(4),
    .category-item:nth-child(5) {
        grid-column: auto;
    }

    .parts-subcategories {
        grid-template-columns: 1fr;
    }

}

/* ---- Products ---- */

.products-section {
    background: var(--gray-50);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.tab {
    padding: 7px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--gray-200);
    font-size: 14px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tab:hover {
    border-color: var(--orange);
}

.tab[aria-pressed="true"] {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.product-card[hidden] {
    display: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #ffd1a8;
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 0.85;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f7f7f7, #ececec);
    color: var(--orange);
}

/* وقتی عکس واقعی گذاشتی، داخل .product-image یه <img> بذار */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image > .icon {
    width: 72px;
    height: 72px;
    stroke-width: 1.4;
    transition: transform 0.35s var(--ease);
}

.product-card:hover .product-image > .icon {
    transform: scale(1.1) rotate(-4deg);
}

.product-badge,
.product-discount {
    position: absolute;
    top: 12px;
    padding: 2px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.product-badge {
    inset-inline-start: 12px;
    background: var(--orange);
}

.product-discount {
    inset-inline-end: 12px;
    background: var(--black);
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}

.product-category {
    color: var(--gray-500);
    font-size: 12px;
}

.product-title {
    min-height: 52px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
}

.product-title a:hover {
    color: var(--orange-dark);
}

.stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 12px;
}

.stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.price {
    min-height: 50px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price del {
    color: var(--gray-500);
    font-size: 12px;
}

.price strong {
    font-size: 16px;
}

.price small {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 400;
}

.product-card .btn {
    margin-top: 6px;
    padding: 10px 14px;
}

/* ---- CTA (مشاوره) ---- */

.cta {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 36px;
    padding: 44px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(135deg, #ff8a1f, var(--orange) 55%, var(--orange-dark));
}

.cta-box::after {
    content: "";
    position: absolute;
    top: -120px;
    inset-inline-start: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-box h2 {
    font-size: 26px;
    line-height: 1.6;
}

.cta-box p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.92;
}

.cta-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 4px;
}

.field label {
    font-size: 12px;
}

.field input {
    height: 48px;
    padding: 0 16px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.field input:focus {
    border-color: var(--black);
}

.field input[aria-invalid="true"] {
    border-color: #7f1d1d;
}

.field input[type="tel"] {
    direction: ltr;
    text-align: right;
}

.form-msg {
    min-height: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ---- About ---- */

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.about-text h2 {
    font-size: 32px;
    line-height: 1.5;
    margin: 6px 0 18px;
}

.about-text p {
    margin-bottom: 12px;
    color: var(--gray-700);
    font-size: 15px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 28px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.check-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    color: var(--orange);
}

.about-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.1;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    color: var(--orange);
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 121, 0, 0.3), transparent 55%),
        linear-gradient(145deg, #161616, #2a2a2a);
}

.about-visual > .icon {
    width: 38%;
    height: 38%;
    stroke-width: 1.2;
}

.about-tag {
    position: absolute;
    inset-inline: 20px;
    bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
}
/* ========================================
   WELDING MACHINES PAGE
======================================== */


/* Breadcrumb */
.welding-catalog {
    padding: 18px 0 70px;
    background: #f7f7f7;
    min-height: 100vh;
}


/* Breadcrumb */

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: var(--gray-500);
    font-size: 13px;
}

.catalog-breadcrumb a:hover {
    color: var(--orange);
}


/* Heading */

.catalog-heading {
    max-width: 720px;
    margin-bottom: 14px;
}

.catalog-eyebrow {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;
}

.catalog-heading h1 {
    margin: 0 0 8px;

    color: var(--black);

    font-size: 34px;
    font-weight: 900;
    line-height: 1.5;
}

.catalog-heading p {
    color: var(--gray-500);

    font-size: 14px;
    line-height: 2;
}
.catalog-empty-state {
    grid-column: 1 / -1;

    width: 100%;
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;

    background: var(--brand-white);

    border: 1px solid #e7e7e7;
    border-radius: 20px;

    text-align: center;
}

.catalog-empty-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: var(--orange);
    border-radius: 16px;

    color: var(--brand-white);

    font-size: 24px;
    font-weight: 900;
}

.catalog-empty-state h2 {
    margin: 0 0 10px;

    color: #1a1a1a;

    font-size: 20px;
    font-weight: 900;
}

.catalog-empty-state p {
    margin: 0;

    color: #888888;

    font-size: 13px;
    line-height: 2;
}


/* Filters */

.welding-filters {
    display: inline-flex;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 16px;
}

.welding-filter {
    padding: 9px 18px;

    background: var(--brand-white);

    border: 1px solid #e2e2e2;
    border-radius: 999px;

    color: #444;

    font-size: 13px;
    font-weight: 700;

    transition: 0.2s ease;
}

.welding-filter:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.welding-filter.is-active {
    background: var(--orange);
    border-color: var(--orange);

    color: var(--brand-white);
}


/* Grid */

.welding-products {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(300px, 380px)
        );

    gap: 24px;

    justify-content: start;
}

/* Product card */

/* =========================================
   WELDING PRODUCT CARD
========================================= */

.welding-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--brand-white);

    border: 1px solid #e6e6e6;
    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.welding-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(255, 121, 0, 0.45);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.11);
}


/* =========================
   IMAGE
========================= */

.welding-card-image {
    position: relative;

    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #fafafa,
            #f2f2f2
        );

    border-bottom: 1px solid #eeeeee;
}


.welding-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.35s ease;
}


.welding-card:hover
.welding-card-image img {
    transform: scale(1.045);
}


/* نوع جوش */

.welding-type-badges {
    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 5;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    max-width: calc(100% - 32px);
}

.welding-type-badge {
    padding: 5px 10px;

    background: #fff3e8;

    border: 1px solid rgba(255, 121, 0, 0.28);
    border-radius: 999px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}

/* =========================
   BODY
========================= */

.welding-card-body {
    padding: 22px;

    display: flex;
    flex-direction: column;
    flex: 1;

    direction: rtl;
    text-align: right;
}


.welding-card-title {
    position: static;
    min-height: 64px;
    margin: 0 0 8px;

    color: #151515;

    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
}


.welding-model {
    margin-bottom: 12px;

    color: #888888;

    font-size: 12px;
}


.welding-model strong {
    color: #555555;

    font-weight: 700;
}


.welding-description {
    min-height: 82px;

    margin: 0 0 20px;

    color: #777777;

    font-size: 13px;
    line-height: 2;
}


/* =========================
   FOOTER
========================= */
.welding-card-footer {
    display: grid;

    grid-template-columns: 174px 156px;

    gap: 10px;

    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    justify-content: start;
    align-items: center;
}
/* =========================
   PRICE BOX
========================= */

.welding-price-box {
    position: relative;
    box-sizing: border-box;

    width: 174px;
    height: 74px;
    padding: 8px 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 2px;

    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    overflow: hidden;
}

.price-label {
    margin-bottom: 2px;

    color: #999999;

    font-size: 10px;
    font-weight: 600;
}


.price-value {
    width: 100%;

    color: #181818;

    font-size: 18px;
    font-weight: 900;

    line-height: 1.4;

    white-space: nowrap;
}


.price-value small {
    margin-right: 3px;

    color: #888888;

    font-size: 10px;
    font-weight: 500;
}

.contact-price {
    color: var(--orange);

    font-size: 13px;
}


/* =========================
   PRODUCT BUTTON
========================= */
.product-view-button {
    width: 156px;
    height: 74px;

    padding: 8px 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--orange);

    border: 1px solid var(--orange);
    border-radius: 12px;

    color: var(--brand-white);

    font-size: 13px;
    font-weight: 800;

    text-align: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-view-button:hover {
    background: var(--orange-dark);

    transform: translateY(-2px);
}

/* Mobile */

@media (max-width: 600px) {

    .welding-catalog {
        padding: 35px 0 60px;
    }

    .catalog-heading h1 {
        font-size: 27px;
    }

    .welding-products {
        grid-template-columns: 1fr;
    }

}

/* ================= ۷) FOOTER & FLOATING ================= */

.footer {
    background: var(--black);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr 1fr;
    gap: 40px;
    padding: 64px 0 48px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 15px;
}

.footer-column p,
.footer-column a,
.footer-column li {
    color: #a3a3a3;
    font-size: 13px;
}

.footer-column a {
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--orange);
}

.footer-brand .logo {
    margin-bottom: 6px;
}

.footer-brand .logo-text strong {
    color: #fff;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list .icon {
    width: 18px;
    height: 18px;
    color: var(--orange);
}

/* جای نماد اعتماد الکترونیکی (اینماد) و ساماندهی */
.enamad {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.enamad-box {
    width: 76px;
    height: 88px;
    padding: 6px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px dashed #444;
    border-radius: 10px;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #262626;
    padding: 20px 0;
    color: #777;
    font-size: 12px;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    z-index: 90;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 121, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.toast {
    position: fixed;
    bottom: 28px;
    inset-inline: 0;
    margin-inline: auto;
    width: max-content;
    max-width: 90vw;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--black);
    color: #fff;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.toast .icon {
    color: var(--orange);
}

/* منوی کشویی موبایل */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    width: min(86vw, 340px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s 0.3s;
}

.drawer.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.3s var(--ease);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gray-200);
}

.drawer-head .logo {
    min-width: auto;
}

.drawer nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
}

.drawer nav a .icon {
    color: var(--orange);
}

.drawer-title {
    padding: 14px 20px 6px;
    color: var(--gray-500);
    font-size: 12px;
}

.drawer-foot {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding: 18px;
}


/* ================= ۸) ANIMATIONS ================= */

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.cart-badge.bump {
    animation: bump 0.3s;
}

/* ظاهر شدن نرم بخش‌ها هنگام اسکرول (فقط وقتی جاوااسکریپت فعاله) */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}


/* ================= ۹) RESPONSIVE ================= */

@media (max-width: 1100px) {

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-inline-start: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .trust-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .header-link span {
        display: none;
    }
}


@media (max-width: 900px) {

    :root {
        --header-h: 124px;
    }

    .top-info .top-phone {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .navigation {
        display: none; /* در موبایل منوی کشویی جاش رو میگیره */
    }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
        min-height: auto;
    }

    .logo {
        min-width: auto;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        height: 46px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 48px 30px;
    }

    .hero-visual {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box,
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        order: -1;
        aspect-ratio: 1.6;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .top-bar-content {
        justify-content: center;
    }

    .top-info {
        display: none;
    }

    .logo-text span,
    .cart-info {
        display: none;
    }

    .section,
    .cta {
        padding: 56px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .hero-buttons .btn {
        flex: 1;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--gray-200);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .products-grid {
        gap: 12px;
    }

    .product-body {
        padding: 12px;
    }

    .product-title {
        min-height: 48px;
        font-size: 13px;
    }

    .product-image > .icon {
        width: 56px;
        height: 56px;
    }

    .cta-box {
        padding: 28px 20px;
    }

    .cta-box h2 {
        font-size: 21px;
    }

    .about-text h2 {
        font-size: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0 32px;
    }
}

/* =========================================================
   HERO BANNER — نسخه تمیز نهایی
   فقط همین بخش Hero را کنترل می‌کند.
   ========================================================= */

.hero.hero-banner {
    position: relative;
    min-height: 540px;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: var(--hero-bg) center center / cover no-repeat;
}

/* شبکه و گرادینت Hero قدیمی روی تصویر جدید نمایش داده نشود. */
.hero.hero-banner::before {
    display: none;
}

.hero-banner-content {
    position: relative;
    width: min(94%, 1500px);
    min-height: 540px;
    margin-inline: auto;
}

/* ناحیه امن محتوای فارسی در سمت راست تصویر */
.hero.hero-banner .hero-copy {
    position: absolute;
    top: 34px;
    right: 34px;
    width: min(560px, 42vw);
    max-width: 560px;
    direction: rtl;
    text-align: right;
}

/* عنوان دقیقاً دو خط است؛ شکست خط در HTML کنترل می‌شود. */
.hero.hero-banner .hero-main-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(28px, 2.25vw, 36px);
    font-weight: 800;
    line-height: 1.45;
}

.hero.hero-banner .hero-main-title > span {
    display: block;
    white-space: nowrap;
}

.hero.hero-banner .hero-brand-title {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: clamp(46px, 3.8vw, 62px);
    font-weight: 900;
    line-height: 1.15;
}

.hero.hero-banner .hero-subtitle {
    width: 100%;
    max-width: 540px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    line-height: 1.95;
}

.hero.hero-banner .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 13px;
}

.hero.hero-banner .hero-product-btn,
.hero.hero-banner .hero-consult-btn {
    width: 158px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.hero.hero-banner .hero-product-btn {
    background: var(--orange);
    border: 1px solid var(--orange);
    color: #fff;
}

.hero.hero-banner .hero-product-btn:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
}

.hero.hero-banner .hero-consult-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
}

.hero.hero-banner .hero-consult-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.hero.hero-banner .hero-features {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero.hero-banner .hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    white-space: nowrap;
}

.hero.hero-banner .hero-features li span {
    color: var(--orange);
    font-size: 14px;
    font-weight: 900;
}

/* تبلت */
@media (max-width: 1000px) {
    .hero.hero-banner {
        min-height: 500px;
        background-position: 45% center;
    }

    .hero-banner-content {
        min-height: 500px;
    }

    .hero.hero-banner .hero-copy {
        top: 28px;
        right: 24px;
        width: min(500px, 52vw);
    }

    .hero.hero-banner .hero-brand-title {
        font-size: 46px;
    }

    .hero.hero-banner .hero-subtitle {
        font-size: 13px;
    }
}

/* موبایل: محتوا بالای تصویر می‌ماند و اندازه‌ها جمع‌وجور می‌شوند. */
@media (max-width: 700px) {
    .hero.hero-banner {
        min-height: 610px;
        background-position: 35% center;
    }

    .hero-banner-content {
        min-height: 610px;
        width: 92%;
    }

    .hero.hero-banner .hero-copy {
        top: 26px;
        right: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero.hero-banner .hero-main-title {
        font-size: 27px;
    }

    .hero.hero-banner .hero-brand-title {
        font-size: 42px;
    }

    .hero.hero-banner .hero-subtitle {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.85;
    }

    .hero.hero-banner .hero-actions {
        flex-wrap: wrap;
    }

    .hero.hero-banner .hero-product-btn,
    .hero.hero-banner .hero-consult-btn {
        width: 150px;
    }

    .hero.hero-banner .hero-features {
        flex-wrap: wrap;
        gap: 8px 14px;
    }
}
/* ========================================
   MASTER LASER SHOWCASE
======================================== */

.master-laser-showcase {
    padding: 10px 0 35px;
    background: var(--brand-white);
}

.master-laser-banner {
    display: block;
    width: 100%;
    text-decoration: none;
}

.master-laser-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.master-laser-banner:hover {
    transform: none;
    box-shadow: none;
}
/* ========================================
   PRODUCT DETAIL PAGE
======================================== */

.product-detail-page {
    background: var(--brand-white);
    padding: 24px 0 70px;
}


/* ---------- Breadcrumb ---------- */

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: #777;
    font-size: 13px;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: var(--orange);
}

.product-breadcrumb > span:last-child {
    color: #222;
    font-weight: 700;
}


/* ========================================
   PRODUCT TOP AREA
======================================== */

.product-main {
    display: grid;
    grid-template-columns: 1.08fr 1fr 0.82fr;
    gap: 28px;
    align-items: start;
    direction: rtl;
}


/* ========================================
   PRODUCT GALLERY - RIGHT
======================================== */

.product-gallery {
    min-width: 0;
}

.product-main-image {
    width: 100%;
    min-height: 430px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-white);
    border: 1px solid #eeeeee;
    border-radius: 18px;
}

.product-main-image img {
    display: block;
    width: 100%;
    max-width: 430px;
    height: 390px;
    object-fit: contain;
}

.product-no-image {
    color: #999;
    font-size: 14px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumbnail {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    padding: 6px;
    background: var(--brand-white);
    border: 1px solid #dddddd;
    border-radius: 12px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(255, 121, 0, 0.08);
}


/* ========================================
   PRODUCT INFORMATION - CENTER
======================================== */

.product-information {
    padding: 8px 0;
}

.product-series-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 14px;
    background: #fff3e8;
    border: 1px solid rgba(255, 121, 0, 0.22);
    border-radius: 999px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
}

.product-detail-title {
    margin: 0 0 14px;
    color: #171717;
    font-size: 26px;
    line-height: 1.65;
    font-weight: 900;
}

.product-model {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
    color: #777;
    font-size: 13px;
}

.product-model strong {
    color: #222;
}


/* ---------- Feature Badges ---------- */

.product-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 20px 0;
}

.product-feature-badge {
    min-width: 105px;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.product-feature-badge strong {
    display: block;
    margin-bottom: 3px;
    color: #222;
    font-size: 12px;
}

.product-feature-badge small {
    display: block;
    color: #777;
    font-size: 10px;
    line-height: 1.8;
}


/* ---------- Short Description ---------- */

.product-short-description {
    margin-top: 22px;
}

.product-short-description h2 {
    margin: 0 0 10px;
    color: #222;
    font-size: 15px;
    font-weight: 900;
}

.product-short-description p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 2;
}


/* ========================================
   BUY BOX - LEFT
======================================== */

.product-buy-box {
    padding: 22px;
    background: #fafafa;
    border: 1px solid #e4e4e4;
    border-radius: 18px;
}

.product-stock {
    padding-bottom: 16px;
    border-bottom: 1px solid #e7e7e7;
}

.stock-available {
    color: #168648;
    font-size: 13px;
    font-weight: 800;
}

.stock-unavailable {
    color: #c62828;
    font-size: 13px;
    font-weight: 800;
}


/* ---------- Warranty ---------- */

.product-warranty {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e7e7e7;
    font-size: 12px;
}

.product-warranty span {
    color: #777;
}

.product-warranty strong {
    color: #222;
}


/* ---------- Price ---------- */

.product-price-area {
    padding: 22px 0;
}

.product-price-label {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
}

.product-detail-price {
    color: #111;
    font-size: 25px;
    font-weight: 900;
    text-align: left;
}

.product-detail-price span {
    margin-right: 4px;
    font-size: 12px;
    font-weight: 700;
}

.product-contact-price {
    color: var(--orange);
    font-size: 14px;
    font-weight: 900;
}


/* ---------- Quantity ---------- */

.product-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #555;
}

.quantity-control {
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--brand-white);
    border: 1px solid #dddddd;
    border-radius: 10px;
}

.quantity-control button {
    width: 38px;
    height: 100%;
    border: 0;
    background: var(--brand-white);
    color: var(--orange);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.quantity-control input {
    width: 45px;
    height: 100%;
    border: 0;
    outline: 0;
    text-align: center;
    background: var(--brand-white);
    color: #222;
    font-weight: 800;
}


/* ---------- Buttons ---------- */

.add-to-cart-button,
.product-consult-button {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.add-to-cart-button {
    border: 1px solid var(--orange);
    background: var(--orange);
    color: var(--brand-white);
}

.add-to-cart-button:hover {
    opacity: 0.92;
}

.product-consult-button {
    margin-top: 10px;
    border: 1px solid #222;
    background: var(--brand-white);
    color: #222;
}

.product-consult-button:hover {
    border-color: var(--orange);
    color: var(--orange);
}


/* ---------- Benefits ---------- */

.product-buy-benefits {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e7e7e7;
}

.product-buy-benefits > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #555;
    font-size: 11px;
}

.product-buy-benefits strong {
    color: var(--orange);
}
/* ========================================
   PRODUCT DETAIL - LOWER CONTENT
======================================== */

.product-content-section {
    margin-top: 32px;
    padding: 28px 30px;
    background: var(--brand-white);
    border: 1px solid #ececec;
    border-radius: 18px;
}

.product-section-heading {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
}

.product-section-heading h2 {
    margin: 0;
    color: #1c1c1c;
    font-size: 21px;
    font-weight: 900;
}

.product-section-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: var(--orange);
    border-radius: 10px;
}


/* ========================================
   FULL DESCRIPTION
======================================== */

.product-full-description {
    color: #555555;
    font-size: 14px;
    line-height: 2.25;
}

.product-full-description p {
    margin: 0 0 14px;
}

.product-full-description p:last-child {
    margin-bottom: 0;
}


/* ========================================
   SPECIFICATIONS
======================================== */

.product-specifications {
    display: grid;
    gap: 8px;
}

.product-spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 54px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.product-spec-row span,
.product-spec-row strong {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.product-spec-row span {
    background: #f4f4f4;
    color: #777777;
    font-size: 13px;
}

.product-spec-row strong {
    color: #222222;
    font-size: 13px;
    font-weight: 800;
}


/* ========================================
   PACKAGE ITEMS
======================================== */

.product-package-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-package-item {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    color: #333333;
    font-size: 13px;
}

.package-check {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    background: #fff3e8;
    border-radius: 50%;
    color: var(--orange);
    font-weight: 900;
}

.product-package-item strong {
    margin-right: auto;
    color: var(--orange);
}


/* ========================================
   PRODUCT CATALOG
======================================== */

.product-catalog-box {
    margin-top: 32px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #171717;
    border-radius: 18px;
}

.product-catalog-box > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-catalog-box strong {
    color: var(--brand-white);
    font-size: 16px;
}

.product-catalog-box span {
    color: #bdbdbd;
    font-size: 12px;
}

.product-catalog-box a {
    min-width: 145px;
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    border-radius: 10px;
    color: var(--brand-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}


/* ========================================
   REVIEWS
======================================== */

.product-reviews-empty {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fafafa;
    border: 1px dashed #dcdcdc;
    border-radius: 12px;
    color: #888888;
    font-size: 13px;
}
/* ========================================
   PRODUCT REVIEWS
======================================== */

.product-reviews-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}


/* ---------- Review Form ---------- */

.review-form-box,
.reviews-list-box {
    padding: 24px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.review-form-box h3,
.reviews-list-box h3 {
    margin: 0 0 8px;
    color: #222;
    font-size: 17px;
    font-weight: 900;
}

.review-form-box > p {
    margin: 0 0 22px;
    color: #777;
    font-size: 12px;
    line-height: 1.9;
}

.product-review-form {
    display: grid;
    gap: 17px;
}

.review-form-group {
    display: grid;
    gap: 7px;
}

.review-form-group > label {
    color: #333;
    font-size: 12px;
    font-weight: 800;
}

.review-form-group input[type="text"],
.review-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    outline: none;
    background: var(--brand-white);
    color: #222222;
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.review-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.review-form-group input[type="text"]:focus,
.review-form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.08);
}


/* ---------- Rating ---------- */

.review-rating-options ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-rating-options li {
    margin: 0;
}

.review-rating-options label {
    min-height: 38px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--brand-white);
    border: 1px solid #dddddd;
    border-radius: 9px;
    color: #555;
    font-size: 11px;
    cursor: pointer;
}

.review-rating-options label:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.review-rating-options input {
    accent-color: var(--orange);
}


/* ---------- Submit ---------- */

.review-submit-button {
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid var(--orange);
    border-radius: 11px;
    background: var(--orange);
    color: var(--brand-white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.review-submit-button:hover {
    opacity: 0.92;
}


/* ---------- Errors ---------- */

.review-field-error {
    color: #c62828;
    font-size: 11px;
}

.review-field-error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ---------- Success Message ---------- */

.review-success-message {
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #edf9f1;
    border: 1px solid #c9ecd5;
    border-radius: 11px;
    color: #168648;
    font-size: 12px;
    font-weight: 800;
}


/* ========================================
   REVIEW LIST
======================================== */

.reviews-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.review-card {
    padding: 17px;
    background: var(--brand-white);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.review-card-header > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-card-header strong {
    color: #222;
    font-size: 13px;
}

.review-card-header span {
    color: #777;
    font-size: 11px;
}

.review-stars {
    direction: ltr;
    color: var(--brand-orange);
    font-size: 16px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.review-card p {
    margin: 14px 0;
    color: #555;
    font-size: 12px;
    line-height: 2;
}

.review-card time {
    color: #999;
    font-size: 10px;
}


/* ---------- Empty Reviews ---------- */

.reviews-list-box .product-reviews-empty {
    margin-top: 18px;
    min-height: 150px;
    flex-direction: column;
    gap: 8px;
}

.reviews-list-box .product-reviews-empty span {
    color: #aaaaaa;
    font-size: 11px;
}


/* ========================================
   REVIEWS RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .product-reviews-layout {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   CLICKABLE STAR RATING
======================================== */

.review-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.review-star-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-star-rating label {
    color: #d7d7d7;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.review-star-rating label:hover,
.review-star-rating label:hover ~ label {
    color: var(--orange);
}

.review-star-rating input:checked ~ label {
    color: var(--orange);
}

.review-star-rating label:hover {
    transform: scale(1.12);
}

/* ========================================
   RELATED PRODUCTS
======================================== */

.related-products-section {
    margin-top: 32px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* ---------- Card ---------- */

.related-product-card {
    overflow: hidden;
    background: var(--brand-white);
    border: 1px solid #ececec;
    border-radius: 16px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.related-product-card:hover {
    transform: translateY(-4px);
    border-color: #e4e4e4;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}


/* ---------- Image ---------- */

.related-product-image {
    height: 220px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.04);
}

.related-product-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #aaaaaa;
    font-size: 12px;
}


/* ---------- Content ---------- */

.related-product-content {
    padding: 17px;
}

.related-product-series {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 9px;
    background: rgba(255, 121, 0, 0.08);
    border-radius: 7px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
}

.related-product-content h3 {
    margin: 0 0 10px;
    min-height: 48px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 900;
}

.related-product-content h3 a {
    color: #222222;
    text-decoration: none;
}

.related-product-content h3 a:hover {
    color: var(--orange);
}


/* ---------- Model ---------- */

.related-product-model {
    margin-bottom: 16px;
    color: #888888;
    font-size: 11px;
}

.related-product-model strong {
    color: #555555;
}


/* ---------- Bottom ---------- */

.related-product-bottom {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    border-top: 1px solid #eeeeee;
}

.related-product-price {
    min-height: 27px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.related-product-price strong {
    color: #202020;
    font-size: 16px;
    font-weight: 900;
}

.related-product-price span {
    color: #777777;
    font-size: 10px;
}

.related-contact-price {
    color: var(--orange) !important;
    font-size: 12px !important;
    font-weight: 800;
}


/* ---------- Button ---------- */

.related-product-button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    background: var(--brand-white);
    border: 1px solid var(--orange);
    border-radius: 10px;
    color: var(--orange);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.related-product-button:hover {
    background: var(--orange);
    color: var(--brand-white);
}


/* ========================================
   RELATED PRODUCTS RESPONSIVE
======================================== */

@media (max-width: 1100px) {

    .related-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-product-image {
        height: 190px;
    }
}

@media (max-width: 520px) {

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-product-image {
        height: 230px;
    }
}
/* ========================================
   HOME CATEGORY BACKGROUND IMAGES
======================================== */

.category-item {
    position: relative;
    overflow: hidden;

    background-color: #111;

    background-image:
    linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.08) 0%,
        rgba(5, 5, 5, 0.20) 40%,
        rgba(5, 5, 5, 0.58) 72%,
        rgba(5, 5, 5, 0.86) 100%
    ),
    var(--category-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        background-size 0.4s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* محتوا روی تصویر */
.category-item .category-number,
.category-item .category-info {
    position: relative;
    z-index: 2;
}


/* فضای لازم برای دیده شدن تصویر */
.category-item:not(.category-parts) .category-info {
    margin-top: 170px;
}


/* کارت قطعات تخصصی کمی متفاوت */
.category-parts .category-info {
    margin-top: 170px;
}


/* خوانایی عنوان */
.category-item .category-info h3 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}


/* خوانایی توضیح */
.category-item .category-info p {
    color: rgba(255, 255, 255, 0.70);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}


/* شماره کارت */
.category-item .category-number {
    color: rgba(255, 255, 255, 0.32);
}


/* هاور */
.category-item:hover {
    background-size: 106%;
    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.15);
}


/* کارت قطعات */
.category-parts {
    border-color: rgba(255, 122, 0, 0.55);
}


/* دکمه‌های زیرمجموعه قطعات */
.category-parts .parts-subcategories a {
    background: rgba(20, 20, 20, 0.72);
    backdrop-filter: blur(5px);
}
/* ========================================
   HERO SLIDER — MANUAL NAVIGATION
======================================== */

/* محفظه اصلی اسلایدر */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* مخفی‌سازی اسلایدهای غیرفعال */
.hero-slider .hero-slide {
    display: none;
    width: 100%;
}

/* فقط اسلاید فعال نمایش داده شود */
.hero-slider .hero-slide.is-active {
    display: block;
}

/* جلوگیری از فاصله اضافی اسلایدها */
.hero-slider .hero-slide > .hero {
    width: 100%;
    margin: 0;
}

/* فلش‌های اسلایدر */
.hero-slider .hero-slider-prev,
.hero-slider .hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: var(--brand-white);

    font-size: 23px;
    line-height: 1;

    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

/* فلش سمت چپ */
.hero-slider .hero-slider-prev {
    left: 16px;
}

/* فلش سمت راست */
.hero-slider .hero-slider-next {
    right: 16px;
}

/* حالت هاور */
.hero-slider .hero-slider-prev:hover,
.hero-slider .hero-slider-next:hover {
    background: #f97316;
    transform: translateY(-50%) scale(1.08);
}

/* دسترسی‌پذیری با کیبورد */
.hero-slider .hero-slider-prev:focus-visible,
.hero-slider .hero-slider-next:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 3px;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .hero-slider .hero-slider-prev,
    .hero-slider .hero-slider-next {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .hero-slider .hero-slider-prev {
        left: 8px;
    }

    .hero-slider .hero-slider-next {
        right: 8px;
    }
}
/* =========================================
   SABA MARKAZI — SECOND HERO SLIDE
========================================= */

/* ظاهر اختصاصی اسلاید دوم */
.hero-slider .hero-slide-secondary {
    position: relative;
    background-color: #141414;
}

/* محتوای هیروی دوم بالاتر از پس‌زمینه */
.hero-slider .hero-slide-secondary .hero-banner-content {
    position: relative;
    z-index: 2;
}

/* عنوان هیروی دوم */
.hero-slider .hero-slide-secondary .hero-main-title {
    color: var(--brand-white);
}

/* عنوان نارنجی صبا مرکزی */
.hero-slider .hero-slide-secondary .hero-brand-title {
    color: #f97316;
}

/* متن توضیحات */
.hero-slider .hero-slide-secondary .hero-subtitle {
    line-height: 2;
}

/* دکمه اصلی */
.hero-slider .hero-slide-secondary .hero-product-btn {
    background-color: #f97316;
    color: var(--brand-white);
}

/* دکمه دوم */
.hero-slider .hero-slide-secondary .hero-consult-btn {
    border-color: #f97316;
}

/* نسخه موبایل */
@media (max-width: 768px) {

    .hero-slider .hero-slide-secondary .hero-main-title {
        font-size: clamp(22px, 5vw, 32px);
    }

    .hero-slider .hero-slide-secondary .hero-subtitle {
        line-height: 1.8;
    }
}

/* =========================================
   SECOND HERO — FULL IMAGE DISPLAY
========================================= */

.hero-slider .hero-slide-secondary {
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #101014;
}
/* =========================================
   SECOND HERO — CONTENT LAYOUT
========================================= */

/* محدود کردن محتوای اسلاید دوم به سمت راست */
.hero-slider .hero-slide-secondary .hero-banner-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    direction: rtl;
}

/* موقعیت محتوای هیروی دوم */
.hero-slider .hero-slide-secondary .hero-copy {
    width: 46%;
    max-width: 650px;

    margin-left: auto;
    margin-right: 1%;

    text-align: right;
    direction: rtl;
}

/* عنوان */
.hero-slider .hero-slide-secondary .hero-main-title {
    color: var(--brand-white);
    font-size: clamp(24px, 2.5vw, 38px);
    line-height: 1.5;
}

/* عنوان نارنجی */
.hero-slider .hero-slide-secondary .hero-brand-title {
    color: #f97316;
    font-size: clamp(34px, 3.4vw, 54px);
}

/* توضیحات */
.hero-slider .hero-slide-secondary .hero-subtitle {
    max-width: 590px;
    font-size: 14px;
    line-height: 2;
    text-align: right;
}

/* دکمه‌ها */
.hero-slider .hero-slide-secondary .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

/* جلوگیری از دوخطی شدن متن دکمه‌ها */
.hero-slider .hero-slide-secondary .hero-actions a {
    width: auto;
    min-width: 0;
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
}

/* ویژگی‌های هیروی دوم */
.hero-slider .hero-slide-secondary .hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    direction: rtl;

    width: 100%;
    max-width: 100%;

    gap: 8px 14px;
    margin-top: 18px;
    padding: 0;
}

/* متن ویژگی‌ها */
.hero-slider .hero-slide-secondary .hero-features li {
    font-size: 11px;
    white-space: nowrap;
}

/* ظاهر ویژگی‌ها */
.hero-slider .hero-slide-secondary .hero-features li {
    font-size: 12px;
    white-space: nowrap;
}

/* تنظیمات موبایل */
@media (max-width: 768px) {

    .hero-slider .hero-slide-secondary .hero-copy {
        width: 90%;
        max-width: none;
        margin: 0 auto;
    }

    .hero-slider .hero-slide-secondary .hero-main-title {
        font-size: 23px;
    }

    .hero-slider .hero-slide-secondary .hero-brand-title {
        font-size: 34px;
    }

    .hero-slider .hero-slide-secondary .hero-actions {
        flex-wrap: wrap;
    }

    .hero-slider .hero-slide-secondary .hero-actions a {
        font-size: 12px;
        padding: 10px 12px;
    }

    .hero-slider .hero-slide-secondary .hero-features li {
        white-space: normal;
    }
}
/* =========================================
   SECOND HERO — ACTIONS POSITION
========================================= */

/* پایین آوردن دو دکمه */
.hero-slider .hero-slide-secondary .hero-actions {
    margin-top: 25px;
}

/* تنظیم فاصله سه ویژگی از دکمه‌ها */
.hero-slider .hero-slide-secondary .hero-features {
    margin-top: 20px;
}
/* =========================================
   FIRST HERO — VERTICAL FEATURES
========================================= */

.hero-slider .hero-slide.is-active:first-child .hero-features,
.hero-slider .hero-slide:first-child .hero-features {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;

    width: max-content;
    max-width: 100%;

    gap: 8px;
    margin-top: 18px;
    padding: 0;

    direction: rtl;
    text-align: right;
}

.hero-slider .hero-slide:first-child .hero-features li {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   SABA MARKAZI — FEATURED PRODUCTS SLIDER
========================================= */

.featured-slider {
    width: 100%;
    overflow: hidden;
    direction: rtl;
}

/* ردیف افقی محصولات */
.featured-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* چهار محصول در دسکتاپ */
.featured-track .featured-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
}

/* تصویر محصول */
.featured-card .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.featured-card .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* نام و لینک محصول */
.featured-card .product-details h3 a {
    color: inherit;
    text-decoration: none;
}

.featured-card .product-details h3 a:hover {
    color: #f97316;
}

/* دکمه مشاهده محصول */
.featured-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 8px;
    background: #f97316;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.featured-view-btn:hover {
    background: #dd5d08;
}

/* فلش‌ها */
.featured-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.featured-prev,
.featured-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #171717;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s ease;
}

.featured-prev:hover,
.featured-next:hover {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}

/* تبلت: دو محصول */
@media (max-width: 992px) {
    .featured-track .featured-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

/* موبایل: یک محصول */
@media (max-width: 600px) {
    .featured-track .featured-card {
        flex-basis: 100%;
    }

    .featured-track {
        gap: 12px;
    }

    .featured-prev,
    .featured-next {
        width: 35px;
        height: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-track {
        transition: none;
    }
}
/* غیرفعال شدن فلش‌ها در ابتدا و انتهای محصولات */
.featured-prev:disabled,
.featured-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* =========================================
   FEATURED PRODUCTS — CARD DESIGN
========================================= */

/* ساختار کارت */
.featured-track .featured-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    background: var(--brand-white);
    height: auto;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* افکت کارت */
.featured-track .featured-card:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* کادر تصویر */
.featured-card .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    padding: 16px;
    background: var(--brand-white);
    box-sizing: border-box;
}

/* تصویر واقعی محصول */


.featured-card:hover .product-image img {
    transform: scale(1.05);
}
.featured-card .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.08);
    transition: transform 0.3s ease;
}

.featured-card:hover .product-image img {
    transform: scale(1.13);
}
/* بخش توضیحات */
.featured-card .product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    text-align: right;
}

/* دسته محصول */
.featured-card .product-category {
    color: #777;
    font-size: 12px;
    margin-bottom: 8px;
}

/* نام محصول */
.featured-card .product-details h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    margin: 0 0 16px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* قیمت و دکمه پایین کارت */
.featured-card .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* قیمت */
.featured-card .product-bottom strong {
    color: #171717;
    font-size: 14px;
    font-weight: 800;
    direction: rtl;
}

/* دکمه مشاهده */
.featured-card .featured-view-btn {
    background: #f97316;
    color: var(--brand-white);
    border-radius: 8px;
    padding: 10px 13px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

/* برچسب پیشنهادی */
.featured-card .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #f97316;
    color: var(--brand-white);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
}

/* موبایل */
@media (max-width: 600px) {
    .featured-card .product-image {
        height: 230px;
    }

    .featured-card .product-details {
        padding: 14px;
    }
}


/* =========================================
   FEATURED PRODUCTS — DISCOUNT PRICES
========================================= */

.featured-card .featured-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    text-align: right;
}

.featured-card .featured-old-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    text-decoration-color: #e53935;
}

.featured-card .featured-new-price {
    color: #e65c00;
    font-size: 15px;
    font-weight: 800;
}

.featured-card .featured-normal-price {
    color: #171717;
    font-size: 14px;
    font-weight: 800;
}

.featured-card .featured-contact-price {
    color: #555;
    font-size: 13px;
}

.featured-card .featured-discount-badge {
    background: #e53935;
    color: white;
}

/* فضای مناسب برای قیمت و دکمه */
.featured-card .product-bottom {
    gap: 12px;
}

@media (max-width: 600px) {
    .featured-card .featured-new-price {
        font-size: 14px;
    }
}

/* =========================================
   PRODUCT DETAIL — DISCOUNT PRICE
========================================= */

/* برچسب درصد تخفیف */
.product-buy-box .product-detail-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;

    margin-top: 12px;
    padding: 6px 12px;

    background: #e53935;
    color: var(--brand-white);
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;
}

/* قیمت اصلی خط‌خورده */
.product-buy-box .product-detail-old-price {
    margin-top: 12px;
    color: #999999;
    font-size: 15px;
    text-decoration: line-through;
    text-decoration-color: #e53935;
}

/* قیمت نهایی تخفیف‌دار */
.product-buy-box .product-detail-new-price {
    margin-top: 6px;
    color: #e65c00;
    font-weight: 800;
}

/* =========================================
   WELDING CARDS — DISCOUNT PRICES
========================================= */

.welding-card .welding-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}


/* درصد تخفیف در گوشه کادر */
.welding-card .welding-discount-badge {
    position: absolute;
    top: 7px;
    left: 7px;

    background: #e53935;
    color: #fff;
    border-radius: 5px;
    padding: 3px 6px;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

/* قیمت اصلی خط خورده */
.welding-card .welding-old-price {
    color: #999;
    font-size: 10px;
    line-height: 1.4;
    text-decoration: line-through;
    text-decoration-color: #e53935;
    white-space: nowrap;
}

/* قیمت پس از تخفیف */
.welding-card .price-value.welding-new-price {
    color: #e65c00;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.4;
    white-space: nowrap;
}

/* =========================================
   SABA MARKAZI - SHOPPING CART
========================================= */

.cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    margin-top: 30px;
    direction: rtl;
}

.cart-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cart-product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 20px;
}

.cart-product-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-product-info {
    flex: 1;
    min-width: 0;
}

.cart-product-info h2 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
}

.cart-product-info h2 a {
    color: #181818;
    text-decoration: none;
}

.cart-product-info h2 a:hover {
    color: #e65c00;
}

.cart-product-info p {
    margin: 0 0 12px;
    color: #777;
    font-size: 13px;
}

.cart-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.cart-product-price del {
    color: #999;
    font-size: 12px;
}

.cart-product-price strong {
    color: #e65c00;
    font-size: 17px;
    font-weight: 900;
}

.cart-product-quantity {
    margin-bottom: 10px;
    color: #555;
    font-size: 13px;
}

.cart-product-total {
    color: #555;
    font-size: 13px;
}

.cart-product-total strong {
    margin-right: 6px;
    color: #181818;
    font-size: 15px;
}

.cart-summary {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    margin: 0 0 22px;
    font-size: 19px;
    font-weight: 900;
    color: #181818;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.cart-summary-row strong {
    color: #181818;
    font-weight: 800;
}

.cart-summary-total {
    border-bottom: none;
    margin-top: 8px;
}

.cart-summary-total strong {
    color: #e65c00;
    font-size: 18px;
    font-weight: 900;
}

.cart-summary > p {
    color: #888;
    font-size: 12px;
    line-height: 1.9;
    margin: 12px 0 20px;
}

.cart-summary .product-view-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    text-decoration: none;
}

/* Tablet */

@media (max-width: 992px) {
    .cart-page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary {
        position: static;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .cart-page-layout {
        gap: 16px;
    }

    .cart-product-card {
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .cart-product-image {
        width: 90px;
        height: 90px;
    }

    .cart-product-info h2 {
        font-size: 14px;
    }

    .cart-product-price strong {
        font-size: 15px;
    }

    .cart-summary {
        padding: 18px;
    }
}

/* =========================================
   CART QUANTITY & REMOVE BUTTONS
========================================= */

.cart-quantity-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.cart-quantity-form label {
    font-size: 13px;
    color: #555;
}

.cart-quantity-form input {
    width: 75px;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.cart-update-button {
    min-height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #e65c00;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cart-update-button:hover {
    background: #c94e00;
}

.cart-remove-form {
    margin-top: 12px;
}

.cart-remove-button {
    border: none;
    background: transparent;
    color: #d32f2f;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
}

.cart-remove-button:hover {
    text-decoration: underline;
}

.cart-notice {
    padding: 12px 16px;
    margin: 16px 0;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 10px;
    font-size: 13px;
}

/* =========================================
   CART PLUS / MINUS CONTROLS
========================================= */

.cart-quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    height: 40px;
}

.cart-quantity-control button {
    width: 36px;
    height: 40px;
    border: none;
    background: #f8f8f8;
    color: #e65c00;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.cart-quantity-control button:hover:not(:disabled) {
    background: #fff0e6;
}

.cart-quantity-control button:disabled {
    color: #bbb;
    cursor: not-allowed;
}

.cart-quantity-control input {
    width: 52px;
    height: 40px;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-radius: 0;
    background: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-quantity-control input::-webkit-inner-spin-button,
.cart-quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* =========================================
   PRODUCT SEARCH PANEL - SABA MARKAZI
========================================= */

.product-search-page .product-search-panel {
    background: var(--brand-white);
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 24px 28px;
    margin: 22px 0 30px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.035);
    direction: rtl;
}

/* عنوان پنل */

.product-search-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.product-search-panel-heading h2 {
    margin: 0;
    color: #171717;
    font-size: 18px;
    font-weight: 900;
}

.product-search-panel-heading p {
    margin: 5px 0 0;
    color: #8a8a8a;
    font-size: 12px;
}

.product-search-panel-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e65c00;
    background: #fff3eb;
    border-radius: 10px;
    font-size: 20px;
}

/* فرم جست‌وجو */

.product-search-inline-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.product-search-input-wrap {
    flex: 1;
    min-width: 0;
}

.product-search-input-wrap input {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fafafa;
    color: #222;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.product-search-input-wrap input:focus {
    border-color: var(--brand-orange);
    background: #fff;
}

.product-search-input-wrap input::placeholder {
    color: #999;
}

.product-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 126px;
    height: 46px;
    padding: 0 14px;
    flex-shrink: 0;
    border: none;
    border-radius: 10px;
    background: var(--brand-orange);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.product-search-submit:hover {
    background: #e65c00;
}

/* خط جداکننده */

.product-search-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
    background: #efefef;
}

/* نوار فیلتر */

.product-search-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
}

.product-search-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-search-sort label {
    white-space: nowrap;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.product-search-sort select {
    height: 40px;
    min-width: 174px;
    padding: 0 12px;
    border: 1px solid #e2e2e2;
    border-radius: 9px;
    background: #fafafa;
    color: #222;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

/* چک‌باکس‌ها */

.product-search-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.product-search-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand-orange);
    cursor: pointer;
}

/* دکمه‌های فیلتر */

.product-search-filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-right: auto;
}

.product-search-apply {
    min-height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 9px;
    background: var(--brand-orange);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.product-search-apply:hover {
    background: #e65c00;
}

.product-search-reset {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.product-search-reset:hover {
    color: #e65c00;
}

/* تبلت */

@media (max-width: 992px) {

    .product-search-page .product-search-panel {
        padding: 20px;
    }

    .product-search-filters {
        gap: 14px;
    }

    .product-search-filter-actions {
        margin-right: 0;
    }
}

/* موبایل */

@media (max-width: 600px) {

    .product-search-page .product-search-panel {
        padding: 16px;
        border-radius: 14px;
    }

    .product-search-panel-heading h2 {
        font-size: 16px;
    }

    .product-search-inline-form {
        gap: 8px;
    }

    .product-search-submit {
        width: 94px;
        padding: 0 8px;
        font-size: 12px;
    }

    .product-search-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .product-search-sort {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .product-search-sort select {
        width: 100%;
    }

    .product-search-filter-actions {
        width: 100%;
        margin-right: 0;
    }

    .product-search-apply {
        flex: 1;
    }
}


/* =========================================
   SEARCH PAGINATION - SABA MARKAZI
========================================= */

.product-search-page .search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 34px 0 12px;
    direction: rtl;
}

.product-search-page .search-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: var(--brand-white);
    color: #333333;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-search-page a.search-page-link:hover {
    border-color: var(--brand-orange);
    background: #fff3e8;
    color: #e65c00;
}

.product-search-page .search-page-link.is-active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: var(--brand-white);
    box-shadow: 0 4px 12px rgba(255, 121, 0, 0.2);
}

.product-search-page .search-page-arrow {
    min-width: 70px;
    padding: 0 16px;
}

.product-search-page .search-pagination-info {
    margin: 0 0 30px;
    color: #888888;
    font-size: 12px;
    text-align: center;
}

/* Mobile */

@media (max-width: 600px) {

    .product-search-page .search-pagination {
        gap: 6px;
        margin-top: 25px;
    }

    .product-search-page .search-page-link {
        min-width: 36px;
        height: 38px;
        padding: 0 9px;
        font-size: 12px;
    }

    .product-search-page .search-page-arrow {
        min-width: 58px;
    }
}


/* =========================================================
   SABA MARKAZI - HOME LOWER SECTIONS REDESIGN
   Scoped to new home sections; does not change header/catalog.
   ========================================================= */
.sm-benefits, .sm-about, .sm-home-footer { direction: rtl; }
.sm-benefits { padding: 80px 0 88px; background: #f7f8fa; }
.sm-section-head {display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:30px;}
.sm-eyebrow {display:inline-block;color:var(--brand-orange);font-size:13px;font-weight:800;letter-spacing:.02em;margin-bottom:9px;}
.sm-section-head h2 {font-size:clamp(24px,2.4vw,34px);line-height:1.5;color:#17191d;font-weight:900;}
.sm-section-head>p {max-width:330px;color:#777e87;font-size:13px;}
.sm-benefits-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.sm-benefit-card {position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-height:220px;padding:25px 23px;background:#fff;border:1px solid #e8ebef;border-radius:18px;box-shadow:0 10px 30px rgba(23,25,29,.035);transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;overflow:hidden;}
.sm-benefit-card:hover {transform:translateY(-6px);border-color:#ffb775;box-shadow:0 16px 40px rgba(23,25,29,.09);}
.sm-benefit-icon {display:grid;place-items:center;width:55px;height:55px;border-radius:14px;background:linear-gradient(145deg,#fff3e8,#ffe7d1);border:1px solid #ffdec0;color:#f47704;font-size:28px;font-weight:900;line-height:1;}
.sm-benefit-card h3 {font-size:17px;font-weight:900;color:#202225;margin:0 0 7px;}
.sm-benefit-card p {font-size:12px;line-height:1.9;color:#747a83;margin:0;}
.sm-benefit-index {position:absolute;top:15px;left:19px;font-size:12px;font-weight:900;color:#d4d9df;direction:ltr;}
.sm-about {background:#17191d;color:#fff;overflow:hidden;padding:84px 0;}
.sm-about-layout {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:68px;}
.sm-about-copy {max-width:610px;}
.sm-about-copy h2 {font-size:clamp(28px,3vw,43px);font-weight:900;line-height:1.6;margin:0 0 18px;color:#fff;}
.sm-about-copy h2 em {font-style:normal;color:#ff8a1e;}
.sm-about-copy p {font-size:14px;line-height:2.2;color:#c0c5ce;margin:0 0 13px;}
.sm-about-tags {display:flex;flex-wrap:wrap;gap:9px;margin:25px 0 29px;}
.sm-about-tags span {border:1px solid #444951;border-radius:999px;padding:6px 12px;color:#d8dade;font-size:11px;background:#22252a;}
.sm-about-cta {display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:12px 21px;background:var(--brand-orange);border-radius:11px;color:#fff;font-size:13px;font-weight:800;transition:background .2s,transform .2s;}
.sm-about-cta:hover {background:#e56800;transform:translateY(-2px);color:#fff;}
.sm-about-art {position:relative;min-height:365px;border-radius:24px;border:1px solid #45464b;background:linear-gradient(125deg,#22262d,#13161c);overflow:hidden;isolation:isolate;display:grid;place-items:center;}
.sm-art-grid {position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:33px 33px;mask-image:linear-gradient(90deg,transparent,#000);}
.sm-art-glow {position:absolute;width:330px;height:330px;left:-90px;bottom:-140px;background:#f57400;filter:blur(95px);opacity:.36;}
.sm-art-frame {position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;width:min(76%,320px);padding:29px 30px;border:1px solid rgba(255,147,53,.55);border-radius:14px;background:rgba(13,15,18,.77);box-shadow:0 30px 75px rgba(0,0,0,.35);direction:ltr;text-align:left;transform:rotate(-3deg);}
.sm-art-kicker {color:#ff9940;font:700 10px Arial,sans-serif;letter-spacing:3px;}
.sm-art-frame strong {display:block;font:900 clamp(43px,5vw,67px)/.98 Arial,sans-serif;letter-spacing:-2px;margin:19px 0 21px;color:#fff;}
.sm-art-rule {height:4px;width:67px;background:var(--brand-orange);border-radius:3px;}
.sm-art-sub {font:700 10px Arial,sans-serif;letter-spacing:1.5px;color:#999eaa;margin-top:18px;}
.sm-art-corner {position:absolute;width:90px;height:90px;border:2px solid #fb7700;opacity:.65;}
.sm-art-corner-one {right:22px;top:22px;border-left:0;border-bottom:0;}
.sm-art-corner-two {left:22px;bottom:22px;border-right:0;border-top:0;}
.sm-home-footer {background:#101215;color:#fff;}
.sm-footer-top {display:flex;justify-content:space-between;align-items:center;gap:28px;padding:42px 0;border-bottom:1px solid #2d3036;}
.sm-footer-intro h2 {font-size:clamp(19px,2vw,27px);line-height:1.6;margin:0 0 7px;color:#fff;}
.sm-footer-intro p {font-size:12px;color:#a3a8b2;}
.sm-footer-call {display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 17px;border-radius:11px;background:var(--brand-orange);color:white;font-size:13px;font-weight:800;white-space:nowrap;transition:background .2s;}
.sm-footer-call:hover {background:#df6600;color:white;}
.sm-footer-call bdi {direction:ltr;font-size:12px;}
.sm-footer-grid {display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:48px;padding:52px 0 58px;}
.sm-footer-col {display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;}
.sm-footer-col h3 {margin:0 0 10px;color:#fff;font-size:15px;font-weight:900;}
.sm-footer-col h3::after {content:'';display:block;width:24px;height:3px;background:var(--brand-orange);border-radius:3px;margin-top:10px;}
.sm-footer-brand h3 {font-size:22px;}
.sm-footer-brand h3 small {display:block;font:700 10px Arial,sans-serif;letter-spacing:2px;margin-top:3px;color:#ff8a22;}
.sm-footer-col p,.sm-footer-col a {font-size:12px;line-height:2;color:#a6abb3;margin:0;transition:color .2s;}
.sm-footer-col a:hover {color:#ff902d;}
.sm-footer-contact>a {color:#fff;font-size:19px;font-weight:900;letter-spacing:.5px;}
.sm-footer-bottom {border-top:1px solid #2d3036;}
.sm-footer-bottom .container {min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#888d96;font-size:11px;}
.sm-footer-bottom a {color:#e2e2e2;font-size:12px;}
.sm-footer-bottom a:hover {color:var(--brand-orange);}
@media(max-width:1050px){.sm-benefits-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.sm-about-layout {gap:30px;}.sm-footer-grid {gap:25px;}}
@media(max-width:700px){.sm-benefits {padding:55px 0;}.sm-section-head {display:block;}.sm-section-head>p {margin-top:10px;}.sm-benefit-card {min-height:190px;padding:20px;}.sm-about {padding:58px 0;}.sm-about-layout {grid-template-columns:1fr;gap:33px;}.sm-about-art {min-height:285px;}.sm-footer-top {display:block;}.sm-footer-call {margin-top:18px;white-space:normal;}.sm-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 25px;}.sm-footer-bottom .container {padding-block:17px;}}
@media(max-width:440px){.sm-benefits-grid {grid-template-columns:1fr;gap:12px;}.sm-benefit-card {min-height:0;flex-direction:row;align-items:center;gap:14px;}.sm-benefit-icon {width:48px;height:48px;flex-shrink:0;}.sm-benefit-index {display:none;}.sm-footer-grid {grid-template-columns:1fr;gap:28px;}.sm-art-frame strong {font-size:47px;}}

/* =========================================
   ABOUT PAGE
========================================= */

.about-page {
    background: #f7f7f7;
}

.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-image: url("/static/images/banners/hero-slide-2-bg.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.78) 0%,
            rgba(10, 10, 10, 0.65) 40%,
            rgba(10, 10, 10, 0.45) 100%
        );
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-text {
    max-width: 680px;
    color: var(--brand-white);
    padding: 70px 0;
}

.about-page-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #ff7a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-hero-text h1 {
    margin: 0 0 18px;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.25;
}

.about-hero-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 2;
}

.about-intro-section,
.about-features-section,
.about-cta-section,
.contact-page {
    padding: 70px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-intro-card,
.about-feature-card,
.contact-info-card,
.contact-form-card {
    background: var(--brand-white);
    border: 1px solid #ececec;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.about-intro-card {
    padding: 30px;
}

.about-intro-card h2,
.contact-info-card h2,
.contact-form-card h2 {
    margin: 0 0 16px;
    color: var(--brand-black);
    font-size: 28px;
    font-weight: 900;
}

.about-intro-card p,
.contact-form-card p {
    margin: 0 0 14px;
    color: #555555;
    font-size: 16px;
    line-height: 2;
}

.about-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    position: relative;
    margin-bottom: 12px;
    padding-right: 22px;
    color: #444444;
    line-height: 1.9;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    right: 0;
    color: #ff7a00;
    font-weight: 900;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: var(--brand-black);
    font-size: 38px;
    font-weight: 900;
}

.section-heading p {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.9;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.about-feature-card {
    padding: 28px 22px;
    text-align: center;
}

.about-feature-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, 0.12);
    color: #ff7a00;
    border-radius: 18px;
    font-size: 30px;
    font-weight: 900;
}

.about-feature-card h3 {
    margin: 0 0 10px;
    color: var(--brand-black);
    font-size: 22px;
    font-weight: 800;
}

.about-feature-card p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.9;
}

.about-cta-box {
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: linear-gradient(135deg, var(--brand-black) 0%, #1b1b1b 100%);
    border-radius: 24px;
    color: var(--brand-white);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.about-cta-text h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 900;
}

.about-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s ease;
}

.primary-btn {
    background: #ff7a00;
    color: var(--brand-white);
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--brand-white);
    background: transparent;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   CONTACT PAGE
========================================= */

.page-top-heading {
    text-align: center;
    margin-bottom: 34px;
}

.page-top-heading h1 {
    margin: 0 0 12px;
    color: var(--brand-black);
    font-size: 46px;
    font-weight: 900;
}

.page-top-heading p {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.9;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
}

.contact-info-column,
.contact-form-column {
    display: grid;
    gap: 22px;
}

.contact-info-card,
.contact-form-card {
    padding: 28px;
}

.contact-info-item {
    padding: 14px 0;
    border-bottom: 1px solid #efefef;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-black);
    font-size: 17px;
    font-weight: 800;
}

.contact-info-item p {
    margin: 0;
    color: #5b5b5b;
    line-height: 1.9;
}

.trust-card {
    background: linear-gradient(180deg, var(--brand-white) 0%, #fff7f0 100%);
}

.contact-success-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #edf9f0;
    border: 1px solid #b9e6c3;
    border-radius: 14px;
    color: #1d6b34;
    font-weight: 700;
    line-height: 1.8;
}

.contact-form-box {
    margin-top: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form-group {
    margin-bottom: 16px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #151515;
    font-size: 14px;
    font-weight: 800;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    background: #fcfcfc;
    color: #222222;
    font-size: 15px;
    font-family: inherit;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #ff7a00;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
    background: var(--brand-white);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form-group ul.errorlist {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #d93025;
    font-size: 13px;
    font-weight: 700;
}

.contact-submit-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff8f28 100%);
    color: var(--brand-white);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(255, 122, 0, 0.22);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .about-intro-grid,
    .about-feature-grid,
    .contact-layout,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .about-hero-text h1 {
        font-size: 42px;
    }

    .about-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 360px;
    }

    .about-hero-text {
        padding: 50px 0;
    }

    .about-hero-text h1 {
        font-size: 34px;
    }

    .section-heading h2,
    .page-top-heading h1 {
        font-size: 30px;
    }

    .about-intro-card,
    .about-feature-card,
    .contact-info-card,
    .contact-form-card {
        padding: 22px;
    }

    .about-cta-text h2 {
        font-size: 24px;
    }
}
/* =========================================
   CONTACT PAGE
========================================= */
.contact-page {
    padding: 48px 0 80px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #8a8a8a;
    font-size: 14px;
}

.contact-breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: var(--orange);
}

.contact-page-hero {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-page-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-page-hero h1 {
    margin: 0 0 16px;
    color: #101010;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
}

.contact-page-hero p {
    margin: 0;
    color: #666666;
    font-size: 18px;
    line-height: 2;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.contact-info-box,
.contact-form-box {
    background: var(--brand-white);
    border: 1px solid #ececec;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
}

.contact-box-title {
    margin: 0 0 12px;
    color: #121212;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
}

.contact-box-text {
    margin: 0 0 24px;
    color: #666666;
    font-size: 16px;
    line-height: 2;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 18px;
    text-decoration: none;
    transition: 0.25s ease;
}

.contact-method-item:hover {
    border-color: rgba(255, 122, 0, 0.28);
    background: #fff8f2;
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, 0.12);
    border-radius: 16px;
    font-size: 22px;
}

.contact-method-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-method-content strong {
    color: #151515;
    font-size: 17px;
    font-weight: 800;
}

.contact-method-content span {
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
}

.contact-trust-points {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-trust-item span {
    color: var(--orange);
    font-size: 18px;
    font-weight: 900;
}

.contact-trust-item p {
    margin: 0;
    color: #444444;
    font-size: 15px;
    line-height: 1.8;
}

.contact-address-box {
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.contact-address-box strong {
    display: block;
    margin-bottom: 10px;
    color: #151515;
    font-size: 18px;
    font-weight: 900;
}

.contact-address-box p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    color: #222222;
    font-size: 14px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    color: #181818;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
    font-family: inherit;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(255, 122, 0, 0.45);
    background: var(--brand-white);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.08);
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    height: 54px;
    border: none;
    border-radius: 16px;
    background: var(--orange);
    color: var(--brand-white);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 122, 0, 0.22);
}

.contact-success-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f1fff4;
    border: 1px solid #b9efc3;
    border-radius: 14px;
    color: #1e7a34;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 36px 0 60px;
    }

    .contact-page-hero {
        margin-bottom: 30px;
    }

    .contact-page-hero h1 {
        font-size: 34px;
    }

    .contact-page-hero p {
        font-size: 15px;
        line-height: 1.9;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .contact-box-title {
        font-size: 28px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SABA MARKAZI | CONTACT PAGE V3 — isolated design
   This block affects /contact/ only; don't alter shared header.
   ========================================================= */
.saba-contact-v3 {
  --sc-accent: var(--brand-orange);
  --sc-ink: #17191c;
  --sc-muted: #6b737d;
  --sc-soft: #fff5ea;
  direction: rtl;
  background: linear-gradient(180deg, #f9f9f9 0%, #fff 56%);
  padding: 23px 0 88px;
  color: var(--sc-ink);
}
.saba-contact-v3 .sc-container { max-width: 1230px; }
.saba-contact-v3 .sc-breadcrumb { display:flex; gap:9px; align-items:center; color:#94979c; font-size:12px; margin-bottom:17px; }
.saba-contact-v3 .sc-breadcrumb a:hover {color:var(--sc-accent)}
.saba-contact-v3 .sc-hero {
  isolation:isolate; position:relative; overflow:hidden; border-radius:23px;
  min-height:320px; background:#11151b; color:#fff;
  display:flex; align-items:center; padding:36px 47px;
  box-shadow:0 22px 54px rgba(15,18,23,.16);
}
.saba-contact-v3 .sc-hero::before {
  content:""; pointer-events:none; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(270deg,#11141a 5%,rgba(17,20,26,.98) 24%,rgba(17,20,26,.91) 47%,rgba(17,20,26,.35) 75%,rgba(17,20,26,.2) 100%);
}
.saba-contact-v3 .sc-hero::after {
  content:""; pointer-events:none; position:absolute; right:10px; bottom:0; width:190px; height:3px;
  background:linear-gradient(90deg, transparent,var(--brand-orange)); border-radius:12px;
}
.saba-contact-v3 .sc-hero-photo {
  position:absolute; inset:0; z-index:-2; background-image: url("../images/banners/contact-welding.png");
  background-position:center 57%; background-size:cover; opacity:.85;
}
.saba-contact-v3 .sc-hero-content {position:relative; z-index:1; max-width:590px;}
.saba-contact-v3 .sc-overline {display:inline-flex;align-items:center;flex-wrap:wrap;gap:9px;color:#ffb372;font-size:12px;font-weight:700;margin-bottom:12px;}
.saba-contact-v3 .sc-overline-dot {height:8px;width:8px;border-radius:50%;background:var(--sc-accent);box-shadow:0 0 0 5px rgba(255,121,0,.16)}
.saba-contact-v3 .sc-latin {direction:ltr;font-size:10px;letter-spacing:1.3px;color:rgba(255,255,255,.46)}
.saba-contact-v3 .sc-hero h1 {margin:0 0 11px; font-size:clamp(29px,3.2vw,45px);letter-spacing:-.7px;line-height:1.44;color:#fff;font-weight:900;}
.saba-contact-v3 .sc-hero h1 em {font-style:normal;color:#ff8a25}
.saba-contact-v3 .sc-hero p {max-width:530px;margin:0;color:rgba(255,255,255,.85);font-size:14px;line-height:2.1}
.saba-contact-v3 .sc-hero-chips {display:flex;flex-wrap:wrap;gap:8px;margin-top:21px}
.saba-contact-v3 .sc-hero-chips span {font-size:11px;color:#fff;padding:6px 11px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(255,255,255,.08);backdrop-filter:blur(6px)}
.saba-contact-v3 .sc-hero-mark {position:absolute;left:27px;bottom:17px;direction:ltr;letter-spacing:2px;font-family:Arial,sans-serif;font-size:10px;color:rgba(255,255,255,.45)}
.saba-contact-v3 .sc-hero-mark b {color:var(--sc-accent)}
.saba-contact-v3 .sc-section-heading {display:flex;align-items:end;justify-content:space-between;gap:20px;margin:33px 0 17px}
.saba-contact-v3 .sc-kicker {display:block;font-size:11px;color:#e66e00;font-weight:800;margin-bottom:4px}
.saba-contact-v3 .sc-section-heading h2 {font-size:23px;font-weight:900;line-height:1.45;margin:0}
.saba-contact-v3 .sc-section-heading>p {font-size:12px;color:#8b8e94;margin:0 0 2px}
.saba-contact-v3 .sc-layout {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:18px;align-items:start;}
.saba-contact-v3 .sc-contact-card,.saba-contact-v3 .sc-form-card {min-width:0;background:#fff;border:1px solid #eceef0;border-radius:19px;padding:25px;box-shadow:0 12px 32px rgba(20,26,36,.04);}
.saba-contact-v3 .sc-card-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.saba-contact-v3 .sc-mini-label {display:block;font-size:10px;font-weight:800;color:#e97617;margin-bottom:2px}
.saba-contact-v3 .sc-card-heading h3 {font-size:20px;font-weight:900;margin:0;line-height:1.5;color:#1a1b1e}
.saba-contact-v3 .sc-card-deco,.saba-contact-v3 .sc-form-icon {flex:none;width:42px;height:42px;display:grid;place-items:center;color:var(--sc-accent);background:var(--sc-soft);border-radius:13px}
.saba-contact-v3 .sc-card-deco svg,.saba-contact-v3 .sc-form-icon svg {width:21px;height:21px}
.saba-contact-v3 .sc-platform-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:15px}
.saba-contact-v3 .sc-platform {display:flex;align-items:center;gap:10px;position:relative;min-width:0;min-height:75px;padding:12px;border:1px solid #eef0f1;border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.02);}
.saba-contact-v3 a.sc-platform {transition:border-color .18s,background .18s,transform .18s,box-shadow .18s}
.saba-contact-v3 a.sc-platform:hover {border-color:#ffc891;background:#fffaf5;transform:translateY(-2px);box-shadow:0 9px 20px rgba(37,27,17,.07)}
.saba-contact-v3 .sc-platform.is-pending {background:#fafafa;border-color:#f0f0f0}
.saba-contact-v3 .sc-platform-logo {display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:12px;overflow:hidden}
.saba-contact-v3 .sc-platform-logo svg {width:26px;height:26px;display:block}
.saba-contact-v3 .sc-logo-phone {background:#fff1e4;color:#f47c0a}
.saba-contact-v3 .sc-logo-whatsapp {background:#25d366;color:#fff}
.saba-contact-v3 .sc-logo-telegram {background:#229ed9;color:#fff}
.saba-contact-v3 .sc-logo-instagram {background:linear-gradient(30deg,#feda75,#fa7e1e 32%,#d62976 67%,#8134af 94%);color:#fff}
.saba-contact-v3 .sc-logo-eitaa {background:#f38104;color:#fff}
.saba-contact-v3 .sc-logo-bale {background:linear-gradient(145deg,#5fe2ac,#2270a3 72%,#2c418a);color:#fff}
.saba-contact-v3 .sc-platform-txt {min-width:0;display:flex;flex-direction:column;gap:1px;flex:1}
.saba-contact-v3 .sc-platform-txt strong {font-size:13px;font-weight:800;color:#282a2d}
.saba-contact-v3 .sc-platform-txt small {font-size:10px;color:#91979e;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:right}
.saba-contact-v3 .sc-platform-txt small[dir="ltr"] {text-align:right;direction:ltr}
.saba-contact-v3 .sc-platform-go {color:#f68b34;display:grid;place-items:center;flex:none}
.saba-contact-v3 .sc-platform-go svg {width:18px;height:18px}
.saba-contact-v3 .sc-email-soon {display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px dashed #e7d3c4;background:#fffaf6;border-radius:13px;margin-bottom:15px}
.saba-contact-v3 .sc-secondary-icon {display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:11px;background:#fff0e3;color:#e77717}
.saba-contact-v3 .sc-secondary-icon svg {width:21px;height:21px}
.saba-contact-v3 .sc-email-text {display:flex;flex-direction:column;flex:1;min-width:0;gap:2px}
.saba-contact-v3 .sc-email-text strong {font-size:12px;font-weight:800}
.saba-contact-v3 .sc-email-text small {font-size:10px;color:#8d8d8d}
.saba-contact-v3 .sc-pill-soon {font-size:9px;white-space:nowrap;border-radius:50px;padding:4px 7px;background:#f8e9da;color:#a65d23}
.saba-contact-v3 .sc-address {display:flex;align-items:start;gap:12px;border-radius:14px;background:#181b20;color:#fff;padding:17px 17px 18px}
.saba-contact-v3 .sc-address-icon {flex:none;width:40px;height:40px;border-radius:11px;background:rgba(255,121,0,.16);color:#ff963b;display:grid;place-items:center}
.saba-contact-v3 .sc-address-icon svg {width:22px;height:22px}
.saba-contact-v3 .sc-address strong {display:block;font-size:13px;margin-bottom:3px}
.saba-contact-v3 .sc-address p {font-size:12px;line-height:2;color:#d5d8dc;margin:0}
.saba-contact-v3 .sc-form-card {padding:25px 24px}
.saba-contact-v3 .sc-form-card .sc-card-heading {margin-bottom:6px}
.saba-contact-v3 .sc-form-desc {font-size:12px;color:#85898e;line-height:1.85;margin:0 0 19px}
.saba-contact-v3 .sc-form {display:grid;gap:11px}
.saba-contact-v3 .sc-form-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.saba-contact-v3 .sc-field {min-width:0;display:flex;flex-direction:column;gap:5px}
.saba-contact-v3 .sc-field label {font-size:11px;font-weight:750;color:#3b3d42}
.saba-contact-v3 .sc-field label b {color:#e66e00}
.saba-contact-v3 .sc-field label small {font-size:10px;font-weight:400;color:#9c9da0}
.saba-contact-v3 .sc-field input,.saba-contact-v3 .sc-field textarea,.saba-contact-v3 .sc-field .contact-form-input,.saba-contact-v3 .sc-field .contact-form-textarea {
  appearance:none;display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:10px 13px;
  border:1px solid #f1d2b9;background:#fff4e9;border-radius:10px;color:#292b30;font-family:inherit;font-size:12px;line-height:1.7;
  outline:none;transition:background .2s,border-color .2s,box-shadow .2s;
}
.saba-contact-v3 .sc-field input {min-height:42px}
.saba-contact-v3 .sc-field textarea,.saba-contact-v3 .sc-field .contact-form-textarea {min-height:105px;height:105px;resize:vertical}
.saba-contact-v3 .sc-field input::placeholder,.saba-contact-v3 .sc-field textarea::placeholder {color:#ac9480;opacity:1}
.saba-contact-v3 .sc-field input:focus,.saba-contact-v3 .sc-field textarea:focus {background:#fffaf6;border-color:var(--brand-orange);box-shadow:0 0 0 3px rgba(255,121,0,.1)}
.saba-contact-v3 .sc-field .errorlist {list-style:none;margin:0;padding:0;color:#be2d21;font-size:11px;line-height:1.8}
.saba-contact-v3 .sc-success {background:#edfbf0;border:1px solid #b5e3c2;color:#226b38;padding:12px 13px;border-radius:10px;font-size:12px;margin-bottom:12px}
.saba-contact-v3 .sc-errors {color:#be2d21;font-size:12px;margin-bottom:8px}
.saba-contact-v3 .sc-submit {display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:10px;background:linear-gradient(95deg,#ff8e20,#f17300);font-size:13px;color:#fff;font-weight:850;transition:filter .2s,transform .2s}
.saba-contact-v3 .sc-submit svg {width:18px;height:18px}
.saba-contact-v3 .sc-submit:hover {filter:brightness(.96);transform:translateY(-1px)}
.saba-contact-v3 .sc-form-footnote {font-size:10px;color:#96999d;text-align:center;margin:0}
@media(max-width:980px) {
  .saba-contact-v3 .sc-layout {grid-template-columns:1fr}
  .saba-contact-v3 .sc-section-heading {align-items:start;flex-direction:column;gap:5px}
  .saba-contact-v3 .sc-platform-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px) {
  .saba-contact-v3 {padding:16px 0 50px}
  .saba-contact-v3 .sc-hero {min-height:330px;padding:28px 20px;border-radius:17px}
  .saba-contact-v3 .sc-hero-photo {background-position:44% center}
  .saba-contact-v3 .sc-hero::before {background:linear-gradient(270deg,rgba(17,20,26,.96) 4%,rgba(17,20,26,.83) 67%,rgba(17,20,26,.5) 100%)}
  .saba-contact-v3 .sc-hero h1 {font-size:29px}
  .saba-contact-v3 .sc-hero p {font-size:12px}
  .saba-contact-v3 .sc-hero-mark {display:none}
  .saba-contact-v3 .sc-section-heading {margin:25px 0 13px}
  .saba-contact-v3 .sc-section-heading h2 {font-size:20px}
  .saba-contact-v3 .sc-contact-card,.saba-contact-v3 .sc-form-card {padding:18px;border-radius:14px}
  .saba-contact-v3 .sc-platform-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .saba-contact-v3 .sc-platform {min-height:68px;padding:9px;gap:8px}
  .saba-contact-v3 .sc-platform-logo {width:36px;height:36px;flex-basis:36px;border-radius:10px}
  .saba-contact-v3 .sc-platform-logo svg {width:23px;height:23px}
  .saba-contact-v3 .sc-platform-txt strong {font-size:12px}
  .saba-contact-v3 .sc-platform-txt small {font-size:9px}
  .saba-contact-v3 .sc-pill-soon {display:none}
  .saba-contact-v3 .sc-form-row {grid-template-columns:1fr}
}
@media(max-width:360px) { .saba-contact-v3 .sc-platform-grid {grid-template-columns:1fr} }


/* =====================================
   SABA MARKAZI - UNIFIED SOCIAL ICONS
===================================== */

.saba-contact-v3 .sc-platform-logo {
    background: #fff1e4;
    color: #f47c0a;
    border: 1px solid #ffe0c2;
    box-shadow: none;
    transition: all 0.25s ease;
}

.saba-contact-v3 .sc-platform:hover .sc-platform-logo {
    background: #ffe6cf;
    color: #e86800;
}

/* یکسان‌سازی رنگ علامت داخلی لوگوی بله */
.saba-contact-v3 .sc-logo-bale svg path[stroke] {
    stroke: #f47c0a;
}

/* ============================================================
   SABA MARKAZI | ABOUT PAGE V2
   Styles scoped exclusively to .saba-about-v2.
   The hero reuses the already-installed contact-welding.png.
   ============================================================ */
.saba-about-v2 {--sa-orange:var(--brand-orange);--sa-ink:#17191e;--sa-muted:#6d737e;direction:rtl;padding:22px 0 82px;background:linear-gradient(180deg,#fafafa 0%,#fff 36%,#f8f9fa 100%);color:var(--sa-ink)}
.saba-about-v2 .sa-container{max-width:1230px}
.saba-about-v2 .sa-breadcrumb{display:flex;gap:9px;align-items:center;font-size:12px;color:#90949b;margin:0 0 17px}
.saba-about-v2 .sa-breadcrumb a:hover{color:var(--sa-orange)}
.saba-about-v2 .sa-hero{isolation:isolate;position:relative;display:flex;align-items:center;min-height:365px;overflow:hidden;border-radius:24px;padding:42px 50px;background:#15191f;color:#fff;box-shadow:0 24px 55px rgba(18,23,31,.17)}
.saba-about-v2 .sa-hero-photo{position:absolute;inset:0;z-index:-2;background-image:url('../images/banners/about-banner.jpg');background-position:center 53%;background-size:cover;background-repeat:no-repeat;opacity:.94}
.saba-about-v2 .sa-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(270deg,rgba(17,20,27,.98) 0%,rgba(17,20,27,.94) 29%,rgba(17,20,27,.71) 49%,rgba(17,20,27,.12) 79%,rgba(17,20,27,.08) 100%)}
.saba-about-v2 .sa-hero::after{content:"";position:absolute;right:50px;bottom:0;width:140px;height:3px;background:linear-gradient(90deg,transparent,var(--brand-orange));pointer-events:none}
.saba-about-v2 .sa-hero-copy{position:relative;z-index:1;max-width:570px}
.saba-about-v2 .sa-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#ffb578;font-size:12px;font-weight:800;margin:0 0 14px}
.saba-about-v2 .sa-eyebrow b{direction:ltr;letter-spacing:1.2px;color:rgba(255,255,255,.55);font-family:Arial,sans-serif;font-size:10px;font-weight:600}
.saba-about-v2 .sa-spark{width:8px;height:8px;border-radius:50%;background:var(--sa-orange);box-shadow:0 0 0 5px rgba(255,121,0,.14)}
.saba-about-v2 .sa-hero h1{margin:0 0 14px;font-size:clamp(32px,3.1vw,46px);font-weight:900;letter-spacing:-.7px;line-height:1.5;color:#fff}
.saba-about-v2 .sa-hero h1 em,.saba-about-v2 .sa-final-cta h2 em{font-style:normal;color:#ff8e29}
.saba-about-v2 .sa-hero p{max-width:555px;margin:0;color:rgba(255,255,255,.84);font-size:14px;line-height:2.05}
.saba-about-v2 .sa-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.saba-about-v2 .sa-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;padding:10px 19px;border-radius:10px;font-size:12px;font-weight:850;line-height:1.7;text-align:center;transition:transform .2s,background .2s,border-color .2s}
.saba-about-v2 .sa-button:hover{transform:translateY(-2px)}
.saba-about-v2 .sa-button-primary{background:linear-gradient(115deg,#ff8a1f,#f47700);color:#fff;box-shadow:0 7px 20px rgba(255,121,0,.2)}
.saba-about-v2 .sa-button-primary:hover{background:linear-gradient(115deg,#ff982d,#ec6900);color:#fff}
.saba-about-v2 .sa-button-glass{color:#fff;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08)}
.saba-about-v2 .sa-button-glass:hover{background:rgba(255,255,255,.17);color:#fff}
.saba-about-v2 .sa-hero-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:23px}
.saba-about-v2 .sa-hero-tags span{display:inline-flex;padding:5px 11px;font-size:11px;border:1px solid rgba(255,255,255,.2);border-radius:100px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.91)}
.saba-about-v2 .sa-hero-sign{position:absolute;left:28px;bottom:17px;letter-spacing:1.5px;font-family:Arial,sans-serif;font-size:10px;color:rgba(255,255,255,.57);direction:ltr;pointer-events:none}
.saba-about-v2 .sa-hero-sign strong{color:var(--brand-orange)}
.saba-about-v2 .sa-section-label{display:flex;align-items:center;gap:9px;color:#e16f11;font-size:12px;font-weight:900;margin-bottom:11px}
.saba-about-v2 .sa-section-label span{color:#b9bdc3;font-size:10px;font-weight:600;direction:ltr}
.saba-about-v2 h2{color:var(--sa-ink);font-size:clamp(24px,2.35vw,34px);font-weight:900;line-height:1.52;margin:0}
.saba-about-v2 .sa-intro{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;margin:76px 0 80px}
.saba-about-v2 .sa-intro-copy{min-width:0}
.saba-about-v2 .sa-intro-copy h2{max-width:530px;margin:0 0 20px}
.saba-about-v2 .sa-intro-copy h2 span{color:#eb710c}
.saba-about-v2 .sa-intro-copy p{max-width:580px;margin:0 0 15px;color:#626a74;font-size:14px;line-height:2.25}
.saba-about-v2 .sa-text-link{display:inline-flex;align-items:center;gap:9px;margin-top:7px;font-size:13px;color:#d55f00;font-weight:850;border-bottom:1px solid rgba(235,113,12,.25);padding-bottom:4px}
.saba-about-v2 .sa-text-link:hover{color:#b94d00;gap:15px}
.saba-about-v2 .sa-intro-visual{min-height:324px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;border-radius:22px;background:radial-gradient(circle at 23% 67%,rgba(255,121,0,.17),transparent 44%),linear-gradient(137deg,#212329,#101217 80%);box-shadow:0 18px 44px rgba(20,24,31,.15);color:#fff;padding:26px 29px}
.saba-about-v2 .sa-intro-visual:before{content:"";position:absolute;inset:0;opacity:.25;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px);background-size:38px 38px}
.saba-about-v2 .sa-visual-top{position:relative;display:flex;align-items:center;gap:9px;font-size:12px;color:#ff9d49;font-weight:800}
.saba-about-v2 .sa-visual-top small{margin-right:auto;direction:ltr;color:#8c919c;font-family:Arial,sans-serif;font-size:9px;letter-spacing:1px}
.saba-about-v2 .sa-visual-dot{width:7px;height:7px;background:var(--brand-orange);border-radius:50%}
.saba-about-v2 .sa-visual-main{position:relative;padding:18px 0}
.saba-about-v2 .sa-visual-index{display:block;direction:ltr;text-align:right;font-family:Arial,sans-serif;color:#8f96a0;font-size:11px;letter-spacing:1.5px;margin:0 0 10px}
.saba-about-v2 .sa-visual-main strong{position:relative;display:block;max-width:400px;font-size:clamp(29px,3.4vw,45px);line-height:1.45;font-weight:900;letter-spacing:-.7px;z-index:1}
.saba-about-v2 .sa-visual-main strong span{color:var(--brand-orange)}
.saba-about-v2 .sa-visual-main p{position:relative;z-index:1;color:#b1b5bc;font-size:12px;margin:6px 0 0}
.saba-about-v2 .sa-visual-lines{position:absolute;left:0;top:25%;display:flex;align-items:flex-end;gap:7px;height:90px;transform:skew(-17deg);opacity:.25}
.saba-about-v2 .sa-visual-lines i{display:block;height:100%;width:3px;background:linear-gradient(180deg,transparent,var(--brand-orange),transparent)}
.saba-about-v2 .sa-visual-lines i:nth-child(even){height:55%}
.saba-about-v2 .sa-visual-foot{position:relative;border-top:1px solid rgba(255,255,255,.12);padding-top:17px;display:flex;flex-wrap:wrap;gap:9px}
.saba-about-v2 .sa-visual-foot span{font-size:10px;color:#c2c6ce;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);padding:5px 9px;border-radius:6px}
.saba-about-v2 .sa-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:23px}
.saba-about-v2 .sa-heading h2{margin:0}
.saba-about-v2 .sa-heading>p{max-width:460px;color:#818790;font-size:13px;line-height:2.1;margin:0 0 2px}
.saba-about-v2 .sa-values{margin:0 0 80px}
.saba-about-v2 .sa-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.saba-about-v2 .sa-value-card{position:relative;min-width:0;min-height:255px;border-radius:18px;background:#fff;padding:23px 21px 25px;border:1px solid #e9eaec;box-shadow:0 10px 26px rgba(18,24,32,.04);transition:transform .25s,border-color .25s,box-shadow .25s}
.saba-about-v2 .sa-value-card:hover{transform:translateY(-5px);border-color:#ffd9b8;box-shadow:0 17px 33px rgba(18,24,32,.07)}
.saba-about-v2 .sa-icon-wrap{width:49px;height:49px;display:grid;place-items:center;border-radius:13px;background:#fff2e5;color:#f37508;margin:0 0 20px}
.saba-about-v2 .sa-icon-wrap svg{width:24px;height:24px}
.saba-about-v2 .sa-card-num{position:absolute;left:22px;top:24px;color:#b7bbc3;font-size:12px}
.saba-about-v2 .sa-value-card h3{font-size:17px;font-weight:900;line-height:1.5;color:#20232a;margin:0 0 10px}
.saba-about-v2 .sa-value-card p{font-size:12px;line-height:2.15;color:#7a8089;margin:0}
.saba-about-v2 .sa-journey{margin:0 0 77px;padding:37px 34px 42px;background:#f1f3f5;border:1px solid #eceff2;border-radius:23px}
.saba-about-v2 .sa-heading-centered{margin-bottom:27px}
.saba-about-v2 .sa-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.saba-about-v2 .sa-journey-step{display:flex;align-items:start;gap:17px;background:#fff;border:1px solid #e8eaed;border-radius:15px;padding:21px;min-width:0}
.saba-about-v2 .sa-step-number{flex:none;width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:#fff1e4;color:#e97611;font:800 14px Arial,sans-serif;direction:ltr}
.saba-about-v2 .sa-journey-step h3{font-size:15px;color:#20232a;font-weight:900;margin:0 0 7px}
.saba-about-v2 .sa-journey-step p{font-size:12px;line-height:2;color:#7a818a;margin:0}
.saba-about-v2 .sa-categories{margin:0 0 77px}
.saba-about-v2 .sa-categories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.saba-about-v2 .sa-category-tile{display:flex;flex-direction:column;justify-content:space-between;min-height:166px;border-radius:17px;color:#fff;background:linear-gradient(130deg,#282a2f,#181a1f);padding:23px 25px;border:1px solid #34353a;transition:transform .2s,border-color .2s;position:relative;overflow:hidden}
.saba-about-v2 .sa-category-tile:before{content:"";position:absolute;left:-65px;top:-75px;width:200px;height:200px;background:radial-gradient(circle,rgba(255,121,0,.25),transparent 65%);pointer-events:none}
.saba-about-v2 .sa-category-tile:hover{transform:translateY(-4px);border-color:var(--brand-orange);color:#fff}
.saba-about-v2 .sa-category-tile>span{font:600 10px Arial,sans-serif;letter-spacing:1px;color:#9ea2ad;direction:ltr;align-self:start}
.saba-about-v2 .sa-category-tile strong{font-size:23px;line-height:1.6;font-weight:900;color:#fff}
.saba-about-v2 .sa-category-tile small{color:#ff9939;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:700}
.saba-about-v2 .sa-category-tile small b{font-size:18px;font-weight:500}
.saba-about-v2 .sa-final-cta{display:flex;justify-content:space-between;align-items:center;gap:25px;border-radius:22px;padding:34px 40px;color:#fff;background:radial-gradient(circle at 5% 80%,rgba(255,121,0,.15),transparent 30%),#181a1f;box-shadow:0 17px 40px rgba(20,24,30,.12)}
.saba-about-v2 .sa-cta-kicker{color:#fbaa6d;font-size:11px;font-weight:900;display:block;margin-bottom:8px}
.saba-about-v2 .sa-final-cta h2{color:#fff;font-size:clamp(22px,2.2vw,30px);line-height:1.55}
.saba-about-v2 .sa-final-cta p{max-width:660px;color:#abb0b8;font-size:12px;line-height:2;margin-top:8px}
.saba-about-v2 .sa-cta-actions{display:flex;flex:none;gap:9px;flex-wrap:wrap}
.saba-about-v2 .sa-button-dark-outline{border:1px solid rgba(255,255,255,.22);color:#fff}
.saba-about-v2 .sa-button-dark-outline:hover{color:#fff;background:rgba(255,255,255,.07)}
@media(max-width:1100px){
 .saba-about-v2 .sa-intro{gap:26px}
 .saba-about-v2 .sa-hero{padding:38px}
 .saba-about-v2 .sa-value-card{padding:22px 16px}
 .saba-about-v2 .sa-final-cta{flex-direction:column;align-items:flex-start}
}
@media(max-width:850px){
 .saba-about-v2 .sa-intro{grid-template-columns:1fr;margin:53px 0}
 .saba-about-v2 .sa-heading{align-items:start;flex-direction:column;gap:7px}
 .saba-about-v2 .sa-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .saba-about-v2 .sa-journey-grid{grid-template-columns:1fr}
 .saba-about-v2 .sa-journey{padding:28px 24px}
 .saba-about-v2 .sa-categories-grid{grid-template-columns:1fr}
 .saba-about-v2 .sa-category-tile{min-height:145px}
}
@media(max-width:600px){
 .saba-about-v2{padding:17px 0 50px}
 .saba-about-v2 .sa-hero{min-height:375px;border-radius:17px;padding:27px 21px}
 .saba-about-v2 .sa-hero-photo{background-position:46% center}
 .saba-about-v2 .sa-hero::before{background:linear-gradient(270deg,rgba(17,20,27,.98),rgba(17,20,27,.89) 66%,rgba(17,20,27,.56))}
 .saba-about-v2 .sa-hero h1{font-size:29px}
 .saba-about-v2 .sa-hero p{font-size:12px}
 .saba-about-v2 .sa-hero-sign{display:none}
 .saba-about-v2 .sa-hero-actions{gap:7px}
 .saba-about-v2 .sa-button{padding:10px 14px;font-size:11px}
 .saba-about-v2 .sa-hero-tags{gap:6px;margin-top:18px}
 .saba-about-v2 .sa-hero-tags span{font-size:10px;padding:4px 8px}
 .saba-about-v2 .sa-intro-visual{min-height:292px;padding:21px}
 .saba-about-v2 .sa-visual-main strong{font-size:32px}
 .saba-about-v2 .sa-intro{margin:40px 0 52px}
 .saba-about-v2 .sa-heading{margin-bottom:18px}
 .saba-about-v2 .sa-value-grid{gap:10px}
 .saba-about-v2 .sa-value-card{padding:18px 14px;min-height:240px}
 .saba-about-v2 .sa-value-card h3{font-size:14px}
 .saba-about-v2 .sa-value-card p{font-size:11px}
 .saba-about-v2 .sa-icon-wrap{width:42px;height:42px;margin-bottom:17px}
 .saba-about-v2 .sa-icon-wrap svg{width:21px;height:21px}
 .saba-about-v2 .sa-values,.saba-about-v2 .sa-journey,.saba-about-v2 .sa-categories{margin-bottom:52px}
 .saba-about-v2 .sa-journey{padding:22px 15px;border-radius:17px}
 .saba-about-v2 .sa-journey-step{padding:17px}
 .saba-about-v2 .sa-final-cta{padding:24px 20px;border-radius:17px}
 .saba-about-v2 .sa-final-cta h2{font-size:24px}
 .saba-about-v2 .sa-cta-actions{width:100%}
 .saba-about-v2 .sa-cta-actions a{flex:1}
}
@media(max-width:385px){
 .saba-about-v2 .sa-value-grid{grid-template-columns:1fr}
 .saba-about-v2 .sa-value-card{min-height:0}
 .saba-about-v2 .sa-hero h1{font-size:27px}
 .saba-about-v2 .sa-hero-tags{display:none}
}


/* ===============================================================
   SABA MARKAZI | ABOUT - HISTORY AND TRUST (2026)
   Compatible with the existing .saba-about-v2 structure.
   All selectors are restricted to the About page.
   =============================================================== */
.saba-about-v2 .sa-hero-photo{
  /* Separate image: welder left; open space right for RTL headings */
  background-position:center 53%;
}
.saba-about-v2 .sa-hero-copy strong{color:#fff;font-weight:850}
.saba-about-v2 .sa-intro-copy strong{font-weight:850;color:#2c3037}

/* Years panel in the introduction */
.saba-about-v2 .sa-history-visual{min-height:354px;padding:28px 30px}
.saba-about-v2 .sa-history-visual-main{position:relative;z-index:1;padding:22px 0 18px}
.saba-about-v2 .sa-history-visual-main>span{display:block;color:#c4c7cd;font-size:12px;margin-bottom:0}
.saba-about-v2 .sa-history-visual-main>strong{display:block;color:#ff8a24;font-size:clamp(60px,6.4vw,88px);font-weight:950;letter-spacing:-2px;line-height:1.4}
.saba-about-v2 .sa-history-visual-main>p{color:#b5bac2;font-size:12px;line-height:2;margin:0}
.saba-about-v2 .sa-history-visual-foot{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.17);padding-top:18px;display:flex;gap:13px;align-items:center}
.saba-about-v2 .sa-history-visual-foot .sa-mini-year{flex:none;background:rgba(255,121,0,.14);color:#ff9c42;border:1px solid rgba(255,121,0,.27);border-radius:9px;padding:6px 12px;font-size:17px;font-weight:950}
.saba-about-v2 .sa-history-visual-foot>span:last-child{color:#e4e4e7;font-size:12px;line-height:1.95}

/* Chronological milestones */
.saba-about-v2 .sa-history{margin:0 0 82px}
.saba-about-v2 .sa-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.saba-about-v2 .sa-history-card{position:relative;min-height:250px;overflow:hidden;background:#fff;border:1px solid #e9ebee;border-radius:19px;padding:28px 25px 27px;box-shadow:0 13px 30px rgba(25,29,36,.05);transition:transform .2s,border-color .2s,box-shadow .2s}
.saba-about-v2 .sa-history-card::before{content:"";position:absolute;top:0;right:0;width:80px;height:4px;border-radius:0 0 0 8px;background:var(--brand-orange)}
.saba-about-v2 .sa-history-card:hover{transform:translateY(-4px);border-color:#ffceaa;box-shadow:0 17px 32px rgba(25,29,36,.09)}
.saba-about-v2 .sa-history-card-top{display:flex;align-items:start;justify-content:space-between;gap:15px;margin:0 0 18px}
.saba-about-v2 .sa-history-year{font-size:clamp(27px,3vw,39px);line-height:1.3;font-weight:950;color:#e66d00;letter-spacing:-1px}
.saba-about-v2 .sa-history-index{font:600 12px Arial,sans-serif;direction:ltr;color:#bdc1c7}
.saba-about-v2 .sa-history-card h3{font-size:17px;font-weight:900;line-height:1.65;color:#22262d;margin:0 0 8px}
.saba-about-v2 .sa-history-card p{font-size:12px;line-height:2.2;color:#747a83;margin:0}
.saba-about-v2 .sa-history-card p strong{color:inherit;font-weight:850}
.saba-about-v2 .sa-history-card-featured{background:#191b20;border-color:#282c32;box-shadow:0 17px 40px rgba(18,22,28,.15)}
.saba-about-v2 .sa-history-card-featured:hover{border-color:#e47913}
.saba-about-v2 .sa-history-card-featured .sa-history-year{color:#ff8e2c}
.saba-about-v2 .sa-history-card-featured h3{color:#fff}
.saba-about-v2 .sa-history-card-featured p{color:#bdc1c7}
.saba-about-v2 .sa-history-card-featured .sa-history-index{color:#636b75}

/* Trust & customer commitment */
.saba-about-v2 .sa-commitment{display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;gap:26px;margin:0 0 82px}
.saba-about-v2 .sa-commitment-copy{padding:22px 5px 12px 0}
.saba-about-v2 .sa-commitment-copy h2{max-width:620px;margin:0 0 19px}
.saba-about-v2 .sa-commitment-copy h2 span{color:#e97007}
.saba-about-v2 .sa-commitment-copy p{max-width:670px;font-size:13px;line-height:2.3;color:#646b75;margin:0 0 13px}
.saba-about-v2 .sa-commitment-side{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:340px;border-radius:22px;background:radial-gradient(circle at 10% 15%,rgba(255,121,0,.22),transparent 42%),linear-gradient(132deg,#292b31,#14161a);border:1px solid #393c43;padding:30px 33px;color:#fff}
.saba-about-v2 .sa-commitment-side::before{content:"";position:absolute;top:0;left:0;width:180px;height:180px;border-top:1px solid rgba(255,121,0,.25);border-left:1px solid rgba(255,121,0,.25);transform:rotate(-20deg) translate(-60px,-120px);pointer-events:none}
.saba-about-v2 .sa-commitment-mark{color:#ff8d25;font:900 85px Georgia,serif;line-height:1;height:65px;opacity:.92}
.saba-about-v2 .sa-commitment-side>p{font-size:18px;font-weight:800;line-height:2;color:#f0f0f1;margin:15px 0 24px;position:relative;z-index:1}
.saba-about-v2 .sa-commitment-sign{position:relative;display:flex;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.14);padding-top:17px;color:#fff;font-size:14px;font-weight:850}
.saba-about-v2 .sa-commitment-sign i{width:4px;align-self:stretch;border-radius:5px;background:var(--brand-orange)}
.saba-about-v2 .sa-commitment-sign small{display:block;color:#aeb3bd;font-size:11px;margin-top:3px}

@media(max-width:980px){
  .saba-about-v2 .sa-history-card{padding:23px 18px;min-height:265px}
  .saba-about-v2 .sa-history-card h3{font-size:15px}
  .saba-about-v2 .sa-commitment{grid-template-columns:1fr 1fr;gap:22px}
  .saba-about-v2 .sa-commitment-side{padding:25px 24px}
  .saba-about-v2 .sa-commitment-side>p{font-size:16px}
}
@media(max-width:760px){
  .saba-about-v2 .sa-history-grid{grid-template-columns:1fr;gap:13px}
  .saba-about-v2 .sa-history-card{min-height:auto;padding:23px 22px 25px}
  .saba-about-v2 .sa-history-card-top{margin-bottom:9px}
  .saba-about-v2 .sa-commitment{grid-template-columns:1fr;margin-bottom:57px}
  .saba-about-v2 .sa-commitment-copy{padding:0}
  .saba-about-v2 .sa-commitment-side{min-height:280px}
  .saba-about-v2 .sa-history{margin-bottom:56px}
  .saba-about-v2 .sa-history-visual{min-height:310px}
}
@media(max-width:520px){
  .saba-about-v2 .sa-hero{min-height:400px}
  .saba-about-v2 .sa-hero-photo{background-position:30% center}
  .saba-about-v2 .sa-history-visual{padding:22px 23px;min-height:310px}
  .saba-about-v2 .sa-history-visual-main>strong{font-size:67px}
  .saba-about-v2 .sa-commitment-side{padding:22px 23px}
  .saba-about-v2 .sa-commitment-side>p{font-size:15px}
  .saba-about-v2 .sa-history-card .sa-history-year{font-size:32px}
}


/* =========================================================
   SABA MARKAZI - NAVIGATION FIX (HOME + SHARED HEADER)
   Keeps About / Contact links consistently spaced and
   makes them accessible on mobile without changing JS.
   ========================================================= */
@media (max-width: 900px) {
    .navigation {
        display: block;
    }

    .navigation-content {
        min-height: 0;
        padding-block: 7px;
        display: block;
    }

    /* On mobile, categories are accessible via the categories link. */
    .navigation .cat-menu {
        display: none;
    }

    .navigation-links {
        width: 100%;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .navigation-links::-webkit-scrollbar {
        display: none;
    }

    .navigation-links .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}
/* عمودی کردن ویژگی‌های هیرو دوم */
.hero-slide-secondary .hero-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-slide-secondary .hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}
/* =====================================
   HERO 2 - RIGHT ALIGNED FEATURES
===================================== */

.hero-slider .hero-slide-secondary .hero-features {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    align-items: flex-start;
    justify-content: flex-start;

    width: 100%;
    gap: 8px;

    margin: 18px 0 0;
    padding: 0;

    direction: rtl;
    text-align: right;
}

.hero-slider .hero-slide-secondary .hero-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}
/* کوچک‌تر کردن عدد ۱۳۸۵ در صفحه درباره ما */

.saba-about-v2 .sa-history-visual-main > strong {
    font-size: 48px;
    line-height: 1.5;
}

/* اندازه مناسب برای موبایل */
@media (max-width: 600px) {
    .saba-about-v2 .sa-history-visual-main > strong {
        font-size: 38px;
    }
}


/* ==========================================
   SABA MARKAZI - RULES PAGE
========================================== */

.sm-rules {
    background: #f6f7f9;
    color: #202124;
    padding: 32px 0 85px;
    min-height: 75vh;
}

.sm-rules,
.sm-rules * {
    box-sizing: border-box;
}

.sm-rules-wrap {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.sm-rules-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #929292;
    font-size: 13px;
    margin-bottom: 26px;
}

.sm-rules-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.sm-rules-breadcrumb a:hover {
    color: var(--brand-orange);
}

.sm-rules-heading {
    text-align: right;
    background: #17181b;
    color: white;
    padding: 40px 36px;
    border-radius: 20px;
    margin-bottom: 28px;
    border-right: 5px solid var(--brand-orange);
}

.sm-rules-label {
    color: #ff8b25;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sm-rules-heading h1 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    color: #fff;
    margin: 15px 0;
    line-height: 1.5;
}

.sm-rules-heading p {
    max-width: 850px;
    color: #c7c9cc;
    font-size: 14px;
    line-height: 2.2;
    margin: 0;
}

.sm-rules-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 24px;
    align-items: start;
}

.sm-rules-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.sm-rules-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 27px 30px;
    scroll-margin-top: 110px;
    box-shadow: 0 5px 20px rgba(0,0,0,.035);
}

.sm-rules-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-orange);
    margin-bottom: 9px;
}

.sm-rules-card h2 {
    color: #222;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.6;
    margin: 0 0 16px;
}

.sm-rules-card p {
    color: #62666b;
    font-size: 14px;
    line-height: 2.3;
    margin: 0 0 12px;
}

.sm-rules-card p:last-child {
    margin-bottom: 0;
}

.sm-rules-card strong {
    color: #222;
}

.sm-rules-shipping-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.sm-rules-shipping-item {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 18px 14px;
}

.sm-rules-shipping-item strong {
    display: block;
    color: var(--brand-orange);
    font-size: 16px;
    margin-bottom: 8px;
}

.sm-rules-shipping-item span {
    display: block;
    color: #707070;
    font-size: 12px;
    line-height: 2;
}

.sm-rules-highlight {
    background: #fff5ea;
    border: 1px solid #ffdfba;
    border-right: 4px solid var(--brand-orange);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.sm-rules-highlight strong {
    display: block;
    margin-bottom: 8px;
    color: #d65f00;
    font-size: 15px;
}

.sm-rules-highlight p {
    margin-bottom: 0;
}

.sm-rules-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.sm-rules-side-box {
    background: #fff;
    border: 1px solid #e9e9e9;
    padding: 22px;
    border-radius: 16px;
}

.sm-rules-side-box h3 {
    color: #222;
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 16px;
}

.sm-rules-side-box a {
    display: block;
    padding: 10px 0;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.sm-rules-side-box a:last-child {
    border-bottom: none;
}

.sm-rules-side-box a:hover {
    color: var(--brand-orange);
}

.sm-rules-side-orange {
    background: #fff7ef;
    border-color: #ffdfc0;
}

.sm-rules-side-orange p {
    color: #666;
    font-size: 13px;
    line-height: 2.1;
    margin: 0;
}

.sm-rules-contact {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: var(--brand-orange);
    color: #fff;
    padding: 12px 24px;
    margin-top: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.sm-rules-contact:hover {
    background: #df6900;
    color: #fff;
}

@media (max-width: 900px) {
    .sm-rules-layout {
        grid-template-columns: 1fr;
    }

    .sm-rules-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .sm-rules {
        padding-top: 20px;
    }

    .sm-rules-heading {
        padding: 26px 20px;
    }

    .sm-rules-card {
        padding: 22px 18px;
    }

    .sm-rules-card h2 {
        font-size: 19px;
    }

    .sm-rules-shipping-options {
        grid-template-columns: 1fr;
    }
}
/* لینک قوانین خرید و ارسال در فوتر */

.footer-rules-link {
    margin: 15px 0;
    text-align: center;
}

.footer-rules-link a {
    color: var(--brand-orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-rules-link a:hover {
    color: #fff;
}

/* Footer quick links - Saba Markazi */
.sm-unified-quick-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 24px; padding:18px 20px; border-top:1px solid rgba(255,255,255,.12); background:#101215; direction:rtl; }
.sm-unified-quick-links a { color:#f1f1f1; font-size:13px; font-weight:700; text-decoration:none; transition:color .2s ease; }
.sm-unified-quick-links a:hover { color:var(--brand-orange); }
@media(max-width:600px){.sm-unified-quick-links{gap:10px 16px; padding:16px 12px}.sm-unified-quick-links a{font-size:12px}}
