/* =========================================================
   Pishtazan / Paband Shop — modern RTL theme
   Loaded after the legacy stylesheets and intentionally
   overrides their visual layer only (no business logic).
   ========================================================= */

/* Font Awesome web fonts live in /static/fonts, but the vendor
   stylesheet looks for them under /static/Css/webfonts. Point
   the same families at the real files so the icons render. */
@font-face {
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fonts/fa-solid-900.woff2") format("woff2"),
         url("../fonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fa-regular-400.woff2") format("woff2"),
         url("../fonts/fa-regular-400.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 7 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fa-brands-400.woff2") format("woff2"),
         url("../fonts/fa-brands-400.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fonts/fa-solid-900.woff2") format("woff2"),
         url("../fonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fa-regular-400.woff2") format("woff2"),
         url("../fonts/fa-regular-400.woff") format("woff");
}

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fonts/fa-solid-900.woff2") format("woff2"),
         url("../fonts/fa-solid-900.woff") format("woff");
}

:root {
    --brand: #f6b100;
    --brand-strong: #e5a200;
    --brand-soft: #fff7e0;
    --ink: #111827;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #eaecf0;
    --line-strong: #d7dbe2;
    --surface: #ffffff;
    --surface-soft: #f7f7f4;
    --surface-strong: #0f172a;
    --success: #12b76a;
    --danger: #f04438;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 12px 30px -12px rgba(16, 24, 40, .18);
    --shadow-lg: 0 30px 70px -30px rgba(16, 24, 40, .32);
    --container: 1200px;
    --header-height: 82px;
}

html {
    scroll-behavior: smooth;
}

body.rtl,
body {
    background: var(--surface-soft);
    color: var(--ink-soft);
    font-family: YekanBakhFaNum-Regular, Tahoma, sans-serif;
    font-size: 15.5px;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
}

body.lock-scroll {
    overflow: hidden;
}

::selection {
    background: var(--brand);
    color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    letter-spacing: -.35px;
    line-height: 1.55;
}

p {
    margin-bottom: 0;
}

a,
body a {
    color: var(--ink-soft);
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

body a:hover,
body a:focus {
    color: var(--brand-strong);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container);
}

@media (max-width: 1200px) {
    .container {
        max-width: 95% !important;
    }
}

.color-orange {
    color: var(--brand-strong) !important;
}

.color-white {
    color: #fff !important;
}

.text-muted {
    color: var(--muted) !important;
}

.bg-gray {
    background: transparent !important;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(16, 24, 40, .07);
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 30px -22px rgba(16, 24, 40, .45);
}

.topbar {
    background: var(--surface-strong);
    color: #d0d5dd;
    font-size: 12.5px;
    line-height: 38px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e4e7ec;
}

.topbar-note .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(246, 177, 0, .16);
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-links a {
    color: #d0d5dd;
    font-size: 12.5px;
}

.topbar-links a:hover {
    color: var(--brand);
}

.header-main {
    background: transparent;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ffd15c, var(--brand));
    color: var(--ink);
    box-shadow: 0 10px 22px -10px rgba(246, 177, 0, .8);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.brand-text strong {
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    color: var(--ink);
    font-size: 20px;
    letter-spacing: -.4px;
}

.brand-text small {
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: .1px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 10px;
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    color: var(--ink-soft);
    font-size: 14px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    white-space: nowrap;
}

.desktop-nav a:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

.desktop-nav a.is-active {
    color: var(--brand-strong);
    background: var(--brand-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-inline-start: auto;
}

.icon-button,
.header-actions .account-button,
.header-actions .cart-button {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 13.5px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    line-height: 1;
    white-space: nowrap;
}

.header-actions .account-button:hover,
.header-actions .cart-button:hover {
    border-color: var(--brand);
    color: var(--ink);
    transform: translateY(-1px);
}

.header-actions .cart-button svg,
.header-actions .account-button svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.header-actions .account-button.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
    box-shadow: 0 10px 20px -12px rgba(246, 177, 0, .9);
}

.header-actions .account-button.primary:hover {
    background: #ffc12e;
}

.header-actions .account-button.user-pill {
    background: var(--surface-strong);
    border-color: var(--surface-strong);
    color: #fff;
    max-width: 190px;
}

.header-actions .account-button.user-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions .account-button.user-pill svg {
    stroke: #fff;
}

.header-actions .account-button.user-pill:hover {
    background: #1d2939;
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

/* old header wrapper is not used anymore, but keep it harmless */
.main_header,
.header_container,
.menu_wrapper {
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* ---------------------------------------------------------
   Mobile drawer
   --------------------------------------------------------- */
.of-site-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 980;
    cursor: pointer;
}

body.mobile-js-menu .of-site-mask,
.of-site-mask.active {
    opacity: 1;
    visibility: visible;
}

.off-canvas-wrap {
    width: 310px;
    background: #fff;
    z-index: 990;
    box-shadow: -30px 0 60px rgba(15, 23, 42, .18);
}

.off-canvas-inner {
    display: block;
    width: 100%;
    padding: 17px;
}

.close-off-canvas-wrap {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 4;
    overflow: visible;
    text-align: left;
}

.close-off-canvas-wrap a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.close-off-canvas-wrap svg {
    width: 12px;
    height: 12px;
    margin: 0 !important;
}

.drawer-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
}

#of-mobile-nav .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
}

#of-mobile-nav .mobile-menu li,
#of-mobile-nav .mobile-menu li a {
    width: 100%;
}

#of-mobile-nav .mobile-menu li a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 12px;
    color: var(--ink-soft);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 14px;
}

#of-mobile-nav .mobile-menu li a:hover,
#of-mobile-nav .mobile-menu li.current-menu-item > a {
    background: var(--brand-soft);
    color: var(--ink);
}

#of-mobile-nav .drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

#of-mobile-nav .drawer-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-soft);
    font-size: 13px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

#of-mobile-nav .drawer-actions a.primary {
    background: var(--brand);
    color: var(--ink);
}

/* ---------------------------------------------------------
   Buttons, forms, cards
   --------------------------------------------------------- */
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    border: 1px solid transparent;
    min-height: 44px;
    padding: 0 20px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13.5px;
    line-height: 1.2;
    transition: all .18s ease;
    box-shadow: none;
}

.btn-lightorng,
.btn.bg-warning,
.btn.bg-success {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: var(--ink) !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    box-shadow: 0 14px 26px -16px rgba(246, 177, 0, .95);
}

.btn-lightorng:hover,
.btn.bg-warning:hover,
.btn.bg-success:hover {
    background: #ffc12e !important;
    border-color: #ffc12e !important;
    color: var(--ink) !important;
    transform: translateY(-1px);
}

.btn-outline,
.btn-default {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--ink);
}

.btn-primary,
a.a-button,
a.a-button:visited {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: var(--ink) !important;
    padding: 10px 22px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    box-shadow: 0 12px 24px -16px rgba(246, 177, 0, .9);
}

.btn-primary:hover,
a.a-button:hover {
    background: #ffc12e;
    border-color: #ffc12e;
    color: var(--ink) !important;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: #fff !important;
}

.form-control,
select.form-control,
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input[type=number],
textarea {
    min-height: 48px;
    border: 1px solid var(--line-strong) !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: var(--ink) !important;
    font-family: YekanBakhFaNum-Regular, Tahoma, sans-serif;
    font-size: 14px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

textarea.form-control,
textarea {
    min-height: 120px;
    line-height: 1.8;
}

.form-control:focus,
select.form-control:focus,
input:focus,
textarea:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 4px rgba(246, 177, 0, .14) !important;
    outline: 0 !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #98a2b3 !important;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 14px center !important;
    padding-left: 38px !important;
}

label {
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 7px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-body {
    background: transparent;
    border-radius: inherit;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.panel-pad {
    padding: clamp(20px, 4vw, 34px);
}

/* ---------------------------------------------------------
   Home hero
   --------------------------------------------------------- */
.home-hero {
    position: relative;
    padding: clamp(22px, 5vw, 48px) 0 clamp(18px, 3vw, 30px);
}

.hero-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 20px;
    min-height: 440px;
    padding: clamp(28px, 5vw, 62px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(900px 500px at 8% 0%, rgba(246, 177, 0, .18), transparent 60%),
        radial-gradient(700px 420px at 96% 100%, rgba(18, 183, 106, .10), transparent 55%),
        linear-gradient(135deg, #fffdf7 0%, #ffffff 52%, #f7f8fb 100%);
    border: 1px solid #f0eee7;
    box-shadow: var(--shadow);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(246, 177, 0, .2);
    top: -170px;
    left: -90px;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: repeating-linear-gradient(135deg, rgba(246, 177, 0, .14) 0 8px, transparent 8px 16px);
    bottom: -90px;
    left: 42%;
    opacity: .55;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(246, 177, 0, .13);
    color: #8f6100;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 12px;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.hero-copy h1 {
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.32;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
}

.hero-copy h1 span {
    position: relative;
    display: inline-block;
    color: #9b6a00;
    z-index: 1;
}

.hero-copy h1 span::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 6px;
    height: 12px;
    border-radius: 6px;
    background: rgba(246, 177, 0, .28);
    z-index: -1;
}

.hero-copy .lead {
    color: var(--muted);
    font-size: clamp(14px, 1.5vw, 16.5px);
    line-height: 2;
    max-width: 500px;
    margin-bottom: 26px;
}

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

.hero-actions .btn {
    min-height: 50px;
    padding-inline: 26px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 24, 40, .08);
}

.hero-stat strong {
    display: block;
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.2;
}

.hero-stat span {
    color: var(--muted);
    font-size: 12.5px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    min-height: 330px;
    display: grid;
    place-items: center;
}

.hero-orbit {
    position: relative;
    width: min(370px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px dashed rgba(16, 24, 40, .14);
    animation: spinSlow 34s linear infinite;
}

.hero-orbit::after {
    inset: 24%;
    border-style: solid;
    border-color: rgba(246, 177, 0, .35);
    animation-direction: reverse;
    animation-duration: 22s;
}

.hero-product-bubble {
    position: relative;
    z-index: 2;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
    background: linear-gradient(145deg, #fff4cc, #ffd15c 55%, #f6b100);
    display: grid;
    place-items: center;
    box-shadow: 0 40px 70px -40px rgba(180, 120, 0, .65), inset 0 0 0 10px rgba(255, 255, 255, .35);
    animation: floaty 6s ease-in-out infinite;
}

.hero-product-bubble img {
    width: 46%;
    filter: drop-shadow(0 18px 16px rgba(80, 55, 0, .18));
}

.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(16, 24, 40, .07);
    border-radius: 14px;
    box-shadow: 0 18px 35px -22px rgba(16, 24, 40, .4);
    color: var(--ink);
    font-size: 12px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    white-space: nowrap;
}

.hero-chip .chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: #9b6a00;
}

.hero-chip .chip-icon svg {
    width: 17px;
    height: 17px;
}

.hero-chip.chip-one {
    top: 7%;
    right: -2%;
}

.hero-chip.chip-two {
    bottom: 14%;
    left: -5%;
}

.hero-chip.chip-three {
    bottom: -1%;
    right: 11%;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

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

/* trust strip */
.trust-strip {
    padding: 11px 0 44px;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 78px;
}

.trust-item .trust-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: #9b6a00;
}

.trust-item .trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-item strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    line-height: 1.5;
}

.trust-item span {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
.section {
    padding: clamp(32px, 5vw, 62px) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 20%, #fff 80%, rgba(255, 255, 255, 0) 100%);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-head .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9b6a00;
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 11.5px;
    margin-bottom: 9px;
}

.section-head h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    margin: 0;
}

.section-head p {
    color: var(--muted);
    margin-top: 5px;
    font-size: 13.5px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
    padding: 10px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    white-space: nowrap;
}

.section-link:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--ink);
}

.section-link svg {
    width: 15px;
    height: 15px;
}

/* ---------------------------------------------------------
   Product cards
   --------------------------------------------------------- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

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

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 1.12;
    background:
        radial-gradient(220px 150px at 50% 38%, #fff9e9 0%, #f5f6f8 72%);
    overflow: hidden;
    padding: 17px;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

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

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 10.5px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    box-shadow: var(--shadow-sm);
}

.product-badge.out {
    background: #fef3f2;
    color: #b42318;
    border-color: #fee4e2;
}

.product-badge.in {
    background: #ecfdf3;
    color: #027a48;
    border-color: #d1fadf;
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 18px 18px;
    border-top: 1px solid #f4f5f7;
}

.product-title {
    min-height: 46px;
    margin: 0 0 7px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
}

.product-title a {
    color: var(--ink);
}

.product-title a:hover {
    color: var(--brand-strong);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 13px;
}

.product-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--ink);
    line-height: 1.25;
}

.product-price strong {
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    font-size: 20px;
    letter-spacing: -.5px;
}

.product-price span {
    color: var(--muted);
    font-size: 11px;
}

.product-add {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--ink);
    cursor: pointer;
    transition: all .18s ease;
    padding: 0;
}

.product-add svg {
    width: 21px;
    height: 21px;
    stroke: var(--ink);
}

.product-add:hover {
    background: #ffc12e;
    transform: translateY(-2px);
}

.product-add.is-disabled,
.product-add:disabled {
    background: #f2f4f7;
    color: #98a2b3;
    cursor: not-allowed;
    transform: none;
}

.product-add.is-disabled svg {
    stroke: #98a2b3;
}

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

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

/* owl carousel tweaks */
.owl-product,
.owl-product-page {
    margin-inline: -8px;
}

.owl-product .owl-item,
.owl-product-page .owl-item {
    padding: 0 8px !important;
}

.owl-product .item,
.owl-product-page .item {
    height: 100%;
}

.owl-theme .owl-dots {
    margin-top: 22px !important;
}

.owl-theme .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 4px 5px !important;
    background: #d0d5dd !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    width: 22px !important;
    border-radius: 99px !important;
    background: var(--brand) !important;
}

/* ---------------------------------------------------------
   Home about / feature panels
   --------------------------------------------------------- */
.about-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 22px;
    align-items: stretch;
}

.about-visual {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(300px 220px at 70% 20%, rgba(246, 177, 0, .28), transparent 70%),
        linear-gradient(160deg, #101828, #1d2939);
    color: #fff;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    bottom: -100px;
    left: -60px;
}

.about-visual .visual-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(246, 177, 0, .16);
    color: var(--brand);
}

.about-visual .visual-icon svg {
    width: 30px;
    height: 30px;
}

.about-visual h3 {
    color: #fff;
    font-size: 24px;
    margin: 18px 0 8px;
}

.about-visual p {
    color: #cbd5e1;
    font-size: 13.5px;
    max-width: 310px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.about-stat {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 15px;
    padding: 13px 15px;
}

.about-stat strong {
    display: block;
    color: var(--brand);
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    font-size: 21px;
    line-height: 1.2;
}

.about-stat span {
    color: #cbd5e1;
    font-size: 11px;
}

.about-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 12px;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 2.05;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin: 20px 0 24px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 12.5px;
}

.about-point svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: var(--success);
}

/* ---------------------------------------------------------
   Blog cards
   --------------------------------------------------------- */
.blog-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.blog-media {
    display: block;
    aspect-ratio: 1.55;
    overflow: hidden;
    background: #f2f4f7;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

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

.blog-body {
    padding: 18px;
}

.blog-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: #8f6100;
    font-size: 10.5px;
    margin-bottom: 10px;
}

.blog-body h3 {
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.blog-body h3 a {
    color: var(--ink);
}

.blog-body h3 a:hover {
    color: var(--brand-strong);
}

.blog-body p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 47px;
}

.blog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #f2f4f7;
    color: var(--muted);
    font-size: 11px;
}

.blog-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

.blog-more svg {
    width: 14px;
    height: 14px;
}

/* ---------------------------------------------------------
   Page hero / breadcrumb
   --------------------------------------------------------- */
.page-hero {
    padding: 26px 0 22px;
}

.page-hero-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: clamp(26px, 4vw, 42px);
    background:
        radial-gradient(700px 260px at 90% 0%, rgba(246, 177, 0, .22), transparent 65%),
        linear-gradient(135deg, #101828, #1b2435);
    color: #fff;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-box::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .16);
    left: -55px;
    bottom: -85px;
}

.page-hero-box h1 {
    color: #fff;
    font-size: clamp(24px, 3.4vw, 38px);
    margin: 0 0 6px;
}

.page-hero-box p {
    color: #cbd5e1;
    font-size: 13.5px;
    max-width: 650px;
}

.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 12px !important;
    display: block;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb ul li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 400 !important;
}

.breadcrumb ul li + li::before {
    content: "/";
    color: #667085;
    font-size: 11px;
}

.breadcrumb ul li a {
    color: #d0d5dd !important;
    font-weight: 400;
}

.breadcrumb ul li a:hover {
    color: var(--brand) !important;
}

.breadcrumb ul li.current,
.breadcrumb ul li .current {
    color: var(--brand) !important;
    font-weight: 400;
}

.breadcrumb svg {
    display: none;
}

/* older bg-package breadcrumb used by inner pages */
.bg-package {
    background: transparent !important;
    min-height: auto !important;
}

.bg-package .breadcrumb {
    background: #fff !important;
    padding: 10px 18px !important;
    border: 1px solid var(--line);
    border-radius: 14px !important;
    display: inline-block;
    box-shadow: var(--shadow-sm);
    margin-top: 18px !important;
}

.bg-package .breadcrumb ul li,
.bg-package .breadcrumb ul li a,
.bg-package .breadcrumb ul li.current {
    color: var(--muted) !important;
}

.bg-package .breadcrumb ul li.current {
    color: var(--brand-strong) !important;
}

/* ---------------------------------------------------------
   Sidebar / category list
   --------------------------------------------------------- */
.bg-title-sidebar {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 16px !important;
}

.side-category {
    background: #fff;
}

.side-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-category > ul > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px;
    border-bottom: 1px solid #f2f4f7;
    color: var(--ink-soft);
    font-size: 13px;
}

.side-category > ul > li:last-child {
    border-bottom: 0;
}

.side-category > ul > li > a:first-child {
    color: var(--ink-soft);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    flex: 1;
}

.side-category > ul > li > a:first-child:hover {
    color: var(--brand-strong);
}

.arrow-cat {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--surface-soft);
    color: var(--muted);
}

.arrow-cat:hover {
    background: var(--brand);
    color: var(--ink);
}

.arrow-cat svg {
    width: 11px;
    height: 11px;
}

.arrow-cat svg path {
    fill: currentColor;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f2f4f7;
}

.sidebar-card h3 svg {
    width: 19px;
    height: 19px;
    color: var(--brand-strong);
}

.sidebar-help {
    background: linear-gradient(145deg, #101828, #1d2939);
    border: 0;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.sidebar-help::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(246, 177, 0, .14);
    left: -40px;
    bottom: -40px;
}

.sidebar-help h3 {
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
}

.sidebar-help p {
    color: #cbd5e1;
    font-size: 12.5px;
    position: relative;
    z-index: 2;
}

.sidebar-help a {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    display: inline-flex;
    color: var(--ink) !important;
    background: var(--brand);
    border-radius: 11px;
    padding: 7px 15px;
    font-size: 12px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

/* thumbnails in sidebar */
.thumb-post ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thumb-post li {
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
}

.thumb-post li:last-child {
    border-bottom: 0;
}

.thumb-post img {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: none;
    padding: 0;
}

.thumb-post p {
    font-size: 11.5px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.thumb-post p a {
    color: var(--ink-soft);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

/* ---------------------------------------------------------
   Product detail
   --------------------------------------------------------- */
.product-detail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: clamp(18px, 3vw, 30px);
    box-shadow: var(--shadow-sm);
}

.product-detail-media {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(300px 220px at 50% 40%, #fff9e9, #f4f5f7 75%);
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 26px;
    overflow: hidden;
}

.product-detail-media img {
    max-height: 330px;
    width: auto;
    object-fit: contain;
}

.product-detail-info {
    padding: clamp(4px, 1vw, 12px) 4px;
}

.product-detail-info .pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 9px;
    background: #ecfdf3;
    border: 1px solid #d1fadf;
    color: #027a48;
    font-size: 11px;
    margin-bottom: 12px;
}

.product-detail-info h1 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.55;
    margin-bottom: 12px;
}

.pd-desc {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 2.05;
    margin-bottom: 18px;
}

.pd-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 18px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    margin-bottom: 18px;
}

.pd-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pd-price strong {
    color: var(--ink);
    font-family: YekanBakhFaNum-ExtraBold, Tahoma, sans-serif;
    font-size: 27px;
    letter-spacing: -.8px;
    line-height: 1.1;
}

.pd-price span {
    color: var(--muted);
    font-size: 12px;
}

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

.pd-actions .btn {
    min-height: 48px;
    padding-inline: 24px;
}

.pd-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #f2f4f7;
    color: var(--muted);
    font-size: 11.5px;
}

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

.pd-note svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.feature-box {
    min-height: 110px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
}

.feature-box svg {
    width: 32px;
    height: 32px;
    color: var(--brand-strong);
    margin-bottom: 9px;
}

.feature-box p {
    color: var(--ink-soft);
    font-size: 12.5px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

/* ---------------------------------------------------------
   Auth pages
   --------------------------------------------------------- */
.auth-section {
    padding: clamp(28px, 5vw, 60px) 0 clamp(40px, 6vw, 80px);
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 560px;
}

.auth-form-side {
    padding: clamp(26px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-side .auth-head {
    margin-bottom: 24px;
}

.auth-form-side .auth-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9b6a00;
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    margin-bottom: 10px;
}

.auth-form-side h1 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 6px;
}

.auth-form-side .auth-head p {
    color: var(--muted);
    font-size: 13px;
}

.auth-form-side .contact-form .form-group {
    margin-bottom: 14px;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.auth-links a {
    font-size: 12.5px;
    color: var(--muted);
}

.auth-links a:hover {
    color: var(--brand-strong);
}

.auth-visual {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 300px at 70% 15%, rgba(246, 177, 0, .32), transparent 65%),
        linear-gradient(155deg, #101828, #1d2939);
    color: #fff;
    padding: clamp(26px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-visual::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .18);
    left: -100px;
    top: 30%;
}

.auth-visual .auth-visual-copy {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.auth-visual h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.45;
    margin-bottom: 12px;
}

.auth-visual p {
    color: #cbd5e1;
    font-size: 13px;
    max-width: 360px;
}

.auth-visual .auth-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.auth-visual .auth-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e4e7ec;
    font-size: 12.5px;
}

.auth-visual .auth-points svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
    flex-shrink: 0;
}

.auth-visual .auth-orb {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%;
    background: linear-gradient(145deg, #ffe6a1, #f6b100);
    display: grid;
    place-items: center;
    margin-top: 20px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
    animation: floaty 6s ease-in-out infinite;
}

.auth-visual .auth-orb svg {
    width: 58px;
    height: 58px;
    color: #3b2a00;
}

/* ---------------------------------------------------------
   Cart
   --------------------------------------------------------- */
.cart-layout {
    display: grid;
    grid-template-columns: 1.55fr .85fr;
    gap: 18px;
    align-items: start;
}

.cart-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 140px 138px;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 1px solid #f2f4f7;
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-thumb {
    width: 82px;
    height: 82px;
    border-radius: 14px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    padding: 7px;
    overflow: hidden;
}

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

.cart-name {
    font-size: 13.5px;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    color: var(--ink);
    line-height: 1.7;
}

.cart-item-price {
    color: var(--muted);
    font-size: 11.5px;
    margin-top: 3px;
}

.cart-total {
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 13.5px;
}

.qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    height: 40px;
    overflow: hidden;
}

.qty button {
    width: 36px;
    height: 38px;
    min-height: 38px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.qty-sign {
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 18px;
    line-height: 1;
}

.qty button:hover {
    background: var(--brand-soft);
}

.qty input {
    width: 40px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: center;
    background: transparent !important;
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 13px !important;
}

.cart-summary {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #eaecf0;
    font-size: 12.5px;
    color: var(--muted);
}

.summary-row.total {
    border-bottom: 0;
    padding-top: 15px;
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 15px;
}

.cart-summary .btn {
    width: 100%;
    margin-top: 14px;
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.coupon-form input {
    flex: 1;
    min-width: 0;
}

.coupon-form button {
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Checkout
   --------------------------------------------------------- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 18px;
    align-items: start;
}

.checkout-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 30px);
    box-shadow: var(--shadow-sm);
}

.checkout-card h2,
.checkout-card h3 {
    font-size: 17px;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid #f2f4f7;
}

.checkout-summary {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.checkout-summary .order-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #eaecf0;
    font-size: 12.5px;
}

.checkout-summary .order-line strong {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

.checkout-summary .order-line.total {
    border-bottom: 0;
    padding-top: 14px;
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 14.5px;
}

.checkout-summary .btn {
    width: 100%;
    margin-top: 16px;
}

.form-checkout {
    display: block !important;
}

/* ---------------------------------------------------------
   Profile dashboard
   --------------------------------------------------------- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 26px 0 60px;
}

.profile-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.profile-nav .profile-mini {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 6px 16px;
    border-bottom: 1px solid #f2f4f7;
    margin-bottom: 10px;
}

.profile-nav .profile-mini img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.profile-nav .profile-mini strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13.5px;
}

.profile-nav .profile-mini span {
    color: var(--muted);
    font-size: 11px;
}

.profile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-nav ul li,
.profile-nav .list-group-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0 !important;
    border-radius: 11px !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

.profile-nav ul li a,
.profile-nav .list-group-item a {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    border-radius: 11px;
    color: var(--ink-soft) !important;
    font-size: 12.5px;
}

.profile-nav ul li a:hover,
.profile-nav .list-group-item a:hover {
    background: var(--surface-soft);
}

.profile-nav ul li.bg-warning,
.profile-nav .list-group-item.bg-warning {
    background: var(--brand-soft) !important;
}

.profile-nav ul li.bg-warning a,
.profile-nav .list-group-item.bg-warning a {
    color: var(--ink) !important;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

.profile-nav ul li i,
.profile-nav .list-group-item i {
    width: 17px;
    text-align: center;
    color: var(--muted) !important;
    font-size: 13px;
}

.profile-logout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f2f4f7;
}

.profile-logout a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 11px;
    background: #fef3f2 !important;
    color: #b42318 !important;
    font-size: 12.5px;
}

.profile-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 30px);
    box-shadow: var(--shadow-sm);
}

.profile-panel h1,
.profile-panel h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.profile-panel .panel-sub {
    color: var(--muted);
    font-size: 12.5px;
    margin-bottom: 22px;
}

.profile-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 17px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf0, #ffffff);
    border: 1px solid #f3ead0;
    margin-bottom: 22px;
}

.profile-hero img {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}

.profile-hero .name {
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    color: var(--ink);
    font-size: 16px;
}

.profile-hero .role {
    color: var(--muted);
    font-size: 11.5px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 8px;
}

.profile-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 9px 12px;
    text-align: center;
}

.profile-stat strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 14px;
}

.profile-stat span {
    color: var(--muted);
    font-size: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.info-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 3px;
}

.info-item strong {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.avatar-edit {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    background: var(--surface-soft);
}

/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */
.table-responsive {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: auto;
    background: #fff;
}

.table {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 12.5px;
}

.table thead th {
    background: var(--surface-soft);
    border: 0;
    border-bottom: 1px solid var(--line) !important;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 11.5px;
    white-space: nowrap;
    padding: 13px 14px;
}

.table td,
.table th {
    border-color: #f2f4f7 !important;
    vertical-align: middle;
    padding: 12px 14px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #fcfcfd;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 10.5px;
    background: var(--surface-soft);
    color: var(--ink-soft);
}

.badge-soft.success {
    background: #ecfdf3;
    color: #027a48;
}

.badge-soft.danger {
    background: #fef3f2;
    color: #b42318;
}

/* ---------------------------------------------------------
   Contact / static content
   --------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    align-items: start;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3.5vw, 34px);
    box-shadow: var(--shadow-sm);
}

.contact-card h1,
.contact-card h2 {
    font-size: clamp(21px, 2.6vw, 28px);
    margin-bottom: 7px;
}

.contact-card .sub {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-soft);
}

.contact-info .icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand-strong);
}

.contact-info .icon svg {
    width: 21px;
    height: 21px;
}

.contact-info span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.contact-info strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    word-break: break-word;
}

.contact-map-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
}

/* ---------------------------------------------------------
   Blog list / detail
   --------------------------------------------------------- */
.blog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 26px 0 54px;
}

.blog-layout .blog-main {
    min-width: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.blog-article-cover {
    aspect-ratio: 2.2;
    overflow: hidden;
    background: #f2f4f7;
}

.blog-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-body {
    padding: clamp(20px, 4vw, 38px);
}

.blog-article-body h1 {
    font-size: clamp(23px, 3.2vw, 35px);
    line-height: 1.55;
    margin-bottom: 14px;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 11.5px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f4f7;
    margin-bottom: 18px;
}

.blog-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-article-meta svg {
    width: 16px;
    height: 16px;
    color: var(--brand-strong);
}

.blog-content {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 2.25;
    text-align: justify;
    word-break: break-word;
}

.blog-content p {
    margin-bottom: 1em;
}

.comments-block {
    margin-top: 22px;
}

.comments-block .comment-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 16px 18px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--ink-soft);
}

.comments-block .comment-card.reply {
    margin-right: 28px;
    background: var(--surface-soft);
}

.comments-block .comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
}

/* ---------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------- */
#cstm_collapsible .collapsible {
    width: 100%;
    border: 1px solid var(--line) !important;
    background: #fff !important;
    color: var(--ink) !important;
    border-radius: 15px !important;
    padding: 16px 18px !important;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13.5px;
    text-align: right;
    margin-bottom: 8px;
    cursor: pointer;
}

#cstm_collapsible .collapsible:after {
    color: var(--brand-strong) !important;
}

#cstm_collapsible .content {
    background: #fff !important;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 15px 15px !important;
    padding: 0 18px;
    margin-top: -9px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------------------------------------------------------
   Empty states / alerts / misc
   --------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
}

.empty-state .empty-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.empty-state .empty-icon svg {
    width: 30px;
    height: 30px;
}

.empty-state h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--muted);
    font-size: 12.5px;
}

.alert {
    border: 0;
    border-radius: 14px;
    font-size: 12.5px;
    padding: 13px 16px;
}

.alert-info {
    background: #eff8ff !important;
    color: #175cd3 !important;
}

.alert-danger {
    background: #fef3f2 !important;
    color: #b42318 !important;
}

.list-group-item {
    border-color: var(--line);
}

input[type=file] {
    border: 1px dashed var(--line-strong);
    border-radius: 13px;
    padding: 10px;
    width: 100%;
}

/* trust badges in footer */
.trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 56px;
    padding: 7px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}

.trust-badge img {
    max-height: 56px;
    width: auto;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
    margin-top: 40px;
    background: #0f172a;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 177, 0, .12), transparent 65%);
    top: -250px;
    right: -100px;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr .8fr;
    gap: 28px;
    padding: 52px 0 34px;
}

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

.footer-brand .brand-text small {
    color: #98a2b3;
}

.footer-brand p {
    color: #98a2b3;
    font-size: 12.5px;
    line-height: 2;
    margin-top: 15px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    color: #cbd5e1;
}

.footer-socials a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-col h3 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: -.2px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    color: #98a2b3;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-col ul li a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #475467;
    transition: background .18s ease;
}

.footer-col ul li a:hover {
    color: var(--brand);
}

.footer-col ul li a:hover::before {
    background: var(--brand);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.85;
}

.footer-contact-item .icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(246, 177, 0, .11);
    color: var(--brand);
}

.footer-contact-item svg {
    width: 17px;
    height: 17px;
}

.footer-contact-item strong {
    display: block;
    color: #e4e7ec;
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 1px;
}

.footer-contact-item a {
    color: #98a2b3;
}

.footer-contact-item a:hover {
    color: var(--brand);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #98a2b3;
    font-size: 11.5px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .footer-bottom-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
}

.footer-bottom .footer-bottom-note svg {
    width: 15px;
    height: 15px;
    color: var(--brand);
}

/* legacy footer wrapper shouldn't be used, but neutralize it */
.footer-parent {
    background: transparent !important;
    border: 0 !important;
}

/* ---------------------------------------------------------
   Payment result pages
   --------------------------------------------------------- */
.result-shell {
    max-width: 560px;
    margin: clamp(30px, 6vw, 70px) auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 50px);
    text-align: center;
    box-shadow: var(--shadow);
}

.result-icon {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
}

.result-icon.success {
    background: #ecfdf3;
    color: #12b76a;
}

.result-icon.danger {
    background: #fef3f2;
    color: #f04438;
}

.result-icon svg {
    width: 40px;
    height: 40px;
}

.result-shell h1 {
    font-size: clamp(21px, 3vw, 29px);
    margin-bottom: 8px;
}

.result-shell p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1180px) {
    .desktop-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-inner {
        gap: 14px;
    }

    .hero-card {
        min-height: 400px;
    }

    .footer-main {
        grid-template-columns: 1.2fr .8fr .9fr;
    }

    .footer-main .footer-trust-col {
        display: none;
    }

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

@media (max-width: 991px) {
    .header-actions .account-button span,
    .header-actions .cart-button span {
        display: none;
    }

    .header-actions .account-button,
    .header-actions .cart-button {
        padding: 0;
        width: 42px;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 32px 26px 26px;
        min-height: auto;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-visual {
        min-height: 280px;
        order: 2;
    }

    .hero-orbit {
        width: min(300px, 80%);
    }

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

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

    .about-panel {
        grid-template-columns: 1fr;
    }

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

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 280px;
        order: -1;
    }

    .cart-layout,
    .checkout-layout,
    .contact-grid,
    .blog-layout,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .checkout-summary,
    .profile-nav {
        position: static;
    }

    .profile-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-nav .profile-logout {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 68px;
    }

    .topbar {
        display: none;
    }

    .site-header {
        position: sticky;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .hero-copy h1 {
        letter-spacing: -.8px;
    }

    .hero-stats {
        gap: 10px 18px;
    }

    .hero-chip.chip-one {
        right: 0;
        top: 2%;
    }

    .hero-chip.chip-two {
        left: 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .products-grid,
    .products-grid-4,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .cart-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .cart-thumb {
        width: 62px;
        height: 62px;
    }

    .cart-row .cart-total {
        grid-column: 2;
    }

    .cart-row .qty-wrap,
    .cart-row .qty {
        grid-column: 2;
    }

    .cart-row .cart-total,
    .cart-row .qty-wrap,
    .cart-row .qty {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cart-row .cart-total::before {
        content: "جمع:";
        color: var(--muted);
        font-size: 10px;
    }

    .info-grid,
    .about-points {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        grid-template-columns: auto 1fr;
    }

    .profile-stats {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 36px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .auth-form-side,
    .auth-visual {
        padding: 24px 19px;
    }

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

    .page-hero-box {
        min-height: 135px;
    }
}

@media (max-width: 480px) {
    .trust-grid,
    .blog-grid,
    .products-grid,
    .products-grid-4 {
        grid-template-columns: 1fr;
    }

    .profile-nav ul {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 230px;
    }

    .hero-orbit {
        width: 230px;
    }

    .hero-chip {
        font-size: 10px;
        padding: 7px 9px;
    }

    .hero-chip .chip-icon {
        width: 26px;
        height: 26px;
    }
}

/* reduce legacy decorative background clutter */
.bkg,
.bg-dark,
.question-bg,
.bg-question {
    background-image: none !important;
    background: transparent !important;
}

.op {
    height: auto;
    border-radius: var(--radius-lg);
}

.op-description {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .82));
}

/* comment partials */
.card.shadow-lg {
    box-shadow: var(--shadow-sm) !important;
}

/* footer old dynamic links should not float weirdly */
.footer-parent .footer-category,
.footer-parent .copyright {
    background: transparent !important;
}

/* ---------------------------------------------------------
   Forms (dashboard / contact / checkout)
   --------------------------------------------------------- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.form-grid-single {
    grid-template-columns: 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.form-field label {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 12.5px;
    margin: 0;
}

.form-field .form-control,
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.field-error,
.errorlist {
    color: #b42318;
    font-size: 11.5px;
    line-height: 1.7;
}

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

.avatar-editor {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px;
    margin-bottom: 22px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    background: var(--surface-soft);
}

.avatar-editor-body {
    flex: 1;
    min-width: 180px;
}

.avatar-editor-body strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
    margin-bottom: 2px;
}

.avatar-editor-body span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 9px;
}

.avatar-editor input[type=file] {
    font-size: 11.5px;
    color: var(--muted);
    max-width: 100%;
}

/* ---------------------------------------------------------
   Cart extra
   --------------------------------------------------------- */
.cart-main,
.cart-meta {
    min-width: 0;
}

.cart-note {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.9;
    padding: 12px 14px;
    margin: 14px 0 0;
    border-radius: 12px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.cart-message {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 11px;
    background: #fffaeb;
    color: #b54708;
    font-size: 11.5px;
    text-align: center;
}

.cart-summary .coupon-form input {
    min-height: 44px;
}

.cart-summary .coupon-form .btn {
    width: auto;
    margin-top: 0;
    padding: 0 18px;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Checkout notes + result pages
   --------------------------------------------------------- */
.checkout-notes {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.checkout-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #eff8ff;
    border: 1px solid #d1e9ff;
    color: #175cd3;
    font-size: 12.5px;
    line-height: 1.8;
}

.checkout-note.warning {
    background: #fff6ed;
    border-color: #fedf89;
    color: #b54708;
}

.checkout-note i {
    font-size: 16px;
}

.checkout-summary h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.result-actions .btn {
    min-width: 170px;
}

/* ---------------------------------------------------------
   Order history
   --------------------------------------------------------- */
.order-table .order-address {
    min-width: 220px;
    font-size: 11.5px;
    line-height: 1.8;
}

.order-detail-row > td {
    padding: 0 14px 14px !important;
    background: #fcfcfd;
}

.order-detail-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.order-detail-box .table {
    font-size: 11.5px;
}

.order-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}

.order-card-head span {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.order-card-head strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 14px;
}

.order-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.order-card-item span {
    display: block;
    color: var(--muted);
    font-size: 10.5px;
    margin-bottom: 2px;
}

.order-card-item strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
}

.order-card-wide {
    grid-column: 1 / -1;
}

.order-card-products {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 16px;
    border-top: 1px dashed var(--line);
    background: #fcfcfd;
}

.order-card-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 11.5px;
}

/* ---------------------------------------------------------
   Blog sidebar / pagination / comments
   --------------------------------------------------------- */
.blog-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.mini-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-post {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 13px;
    transition: background .18s ease;
}

.mini-post:hover {
    background: var(--surface-soft);
}

.mini-post-media {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.mini-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-post-body {
    min-width: 0;
}

.mini-post-body strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.mini-post-body span {
    display: block;
    color: var(--muted);
    font-size: 10.5px;
    margin-top: 2px;
}

.mini-post-empty {
    color: var(--muted) !important;
    font-size: 12px;
    padding: 6px 8px;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-link {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink-soft);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 12.5px;
    transition: all .18s ease;
}

.page-link:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--ink);
}

.page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
    box-shadow: 0 10px 20px -14px rgba(246, 177, 0, .95);
}

.comment-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
}

.comment-login {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--brand-soft);
    border: 1px solid #f3ead0;
    color: #7a5200;
    font-size: 12.5px;
    text-align: center;
}

.comment-login a {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    text-decoration: underline;
}

.comment-count {
    color: var(--muted);
    font-size: 12.5px;
    margin: 0 0 12px;
}

.comment-card .comment-message {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.9;
    word-break: break-word;
}

.comment-card strong {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-weight: 400;
}

.comment-admin {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #027a48;
    font-size: 12.5px;
}

.comment-admin svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.comments-block .admin-reply {
    background: #f6fef9;
    border-color: #d1fadf;
}

/* ---------------------------------------------------------
   FAQ / about extras
   --------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    max-width: 860px;
}

.about-content p + p {
    margin-top: 10px;
}

/* ---------------------------------------------------------
   Added components responsive
   --------------------------------------------------------- */
@media (max-width: 991px) {
    .blog-side {
        position: static;
    }
}

@media (max-width: 767px) {
    .form-grid,
    .order-card-body {
        grid-template-columns: 1fr;
    }

    .order-card-wide {
        grid-column: auto;
    }

    .cart-summary .coupon-form {
        flex-wrap: nowrap;
    }

    .result-actions .btn {
        width: 100%;
    }
}

/* ---------------------------------------------------------
   Staff panel (orders / messages)
   --------------------------------------------------------- */
.badge-soft.warning {
    background: #fffaeb;
    color: #b54708;
}

.admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-head h1 {
    font-size: 20px;
    margin-bottom: 4px;
}

.admin-head-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.admin-stat {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 13px 15px;
}

.admin-stat span {
    display: block;
    color: var(--muted);
    font-size: 10.5px;
    margin-bottom: 2px;
}

.admin-stat strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-Bold, Tahoma, sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

.admin-stat.paid strong {
    color: #027a48;
}

.admin-stat.sent strong {
    color: #175cd3;
}

.admin-stat.pending strong {
    color: #b54708;
}

.admin-orders .table th,
.admin-orders .table td {
    font-size: 11.5px;
}

.admin-orders .table td {
    vertical-align: middle;
}

.admin-orders .table th,
.admin-orders .table td {
    padding: 12px 10px;
}

.admin-order-id {
    color: var(--ink) !important;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    white-space: nowrap;
}

.admin-customer-name,
.admin-customer-phone {
    display: block;
    white-space: nowrap;
}

.admin-customer-name {
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
}

.admin-customer-phone {
    color: var(--muted);
    font-size: 10.5px;
    margin-top: 2px;
    direction: ltr;
    text-align: right;
}

.admin-amount {
    white-space: nowrap;
}

.admin-status-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 130px;
}

.admin-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.admin-status-meta {
    color: var(--muted);
    font-size: 10.5px;
    white-space: nowrap;
}

.admin-date {
    color: var(--muted);
    font-size: 10.5px !important;
    white-space: nowrap;
}

.admin-detail-btn {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 11px;
}

.order-card-actions {
    padding: 0 16px 16px;
}

.order-card-actions .btn {
    width: 100%;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.admin-address {
    grid-column: 1 / -1;
}

.admin-section-title {
    font-size: 16px;
    margin: 22px 0 12px;
}

.admin-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.admin-action-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.admin-action-card h3 {
    font-size: 13.5px;
    margin-bottom: 5px;
}

.admin-action-card .form-field {
    margin: 10px 0 12px;
}

.admin-action-card .btn {
    width: 100%;
}

.admin-tracking-code {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #027a48;
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
    margin: 6px 0;
}

.admin-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.admin-action-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.message-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 11px;
}

.message-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: #9b6a00;
}

.message-avatar svg {
    width: 21px;
    height: 21px;
}

.message-sender strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
}

.message-sender span {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
    margin-top: 2px;
}

.message-date {
    color: var(--muted);
    font-size: 10.5px;
    white-space: nowrap;
}

.message-body {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 13px;
    background: var(--surface-soft);
    color: var(--ink-soft);
    font-size: 12.5px;
    line-height: 2;
    word-break: break-word;
}

.message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.message-actions .btn {
    min-height: 36px;
    padding: 0 13px;
    border-radius: 10px;
    font-size: 11px;
}

@media (max-width: 991px) {
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .admin-head {
        flex-direction: column;
    }

    .admin-detail-grid,
    .admin-order-actions {
        grid-template-columns: 1fr;
    }

    .admin-address {
        grid-column: auto;
    }

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

    .admin-stat strong {
        font-size: 17px;
    }

    .message-actions .btn {
        width: 100%;
    }
}

/* ---------------------------------------------------------
   Staff shortcuts on the profile dashboard
   --------------------------------------------------------- */
.staff-shortcuts {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.staff-shortcuts-head h2 {
    font-size: 16px;
    margin: 2px 0 14px;
}

.staff-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.staff-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: inherit;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.staff-shortcut:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: inherit;
}

.staff-shortcut-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: #9b6a00;
}

.staff-shortcut-icon svg {
    width: 21px;
    height: 21px;
}

.staff-shortcut-text strong {
    display: block;
    color: var(--ink);
    font-family: YekanBakhFaNum-SemiBold, Tahoma, sans-serif;
    font-size: 13px;
}

.staff-shortcut-text small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

@media (max-width: 575px) {
    .staff-shortcut-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   Compact profile menu on small screens
   --------------------------------------------------------- */
@media (max-width: 767px) {
    .profile-nav {
        padding: 12px;
    }

    .profile-nav .profile-mini {
        padding: 2px 2px 10px;
        margin-bottom: 8px;
    }

    .profile-nav .profile-mini img {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .profile-nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .profile-nav ul li {
        flex: 0 0 auto;
    }

    .profile-nav ul li a {
        min-height: 38px;
        padding: 0 11px;
        white-space: nowrap;
        font-size: 11.5px;
        background: var(--surface-soft);
    }

    .profile-nav ul li a i {
        display: none;
    }

    .profile-nav .profile-logout {
        margin-top: 10px;
        padding-top: 10px;
    }

    .profile-nav .profile-logout a {
        justify-content: flex-start;
    }
}

/* Prevent wide inner content (tables, chip rows) from stretching grid items */
.dashboard-layout > * {
    min-width: 0;
}

.profile-nav {
    min-width: 0;
    overflow: hidden;
}
