/* =========================================================
   ASH — UNIFIED STYLESHEET
   Main Site + Shop + User Panel + Signup
   ========================================================= */

:root {
    /* BRAND */
    --brand-primary: #111111;
    --brand-white: #FFFFFF;
    --brand-gray: #A6A6A6;
    --brand-gray-dark: #555555;
    --brand-gray-light: #E7E7E7;

    /* BACKGROUNDS */
    --bg-main: #FFFFFF;
    --bg-soft: #F6F6F6;
    --bg-section: #F1F1F1;
    --surface: #FFFFFF;
    --surface-hover: #F8F8F8;

    /* TEXT */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-white: #FFFFFF;

    /* BORDER */
    --border-color: #E2E2E2;
    --border-dark: #2A2A2A;

    /* BUTTONS */
    --btn-primary-bg: #111111;
    --btn-primary-text: #FFFFFF;
    --btn-secondary-bg: #FFFFFF;
    --btn-secondary-text: #111111;
    --btn-secondary-border: #111111;

    /* STATUS */
    --success: #4F8A63;
    --danger: #C94C4C;
    --warning: #B88A32;
    --info: #666666;

    /* SHADOW */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);

    /* RADIUS */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    /* TRANSITIONS */
    --transition-fast: .2s ease;
    --transition-normal: .35s ease;
    --transition-slow: .6s ease;
}

[data-theme="dark"] {
    --brand-primary: #FFFFFF;
    --brand-white: #FFFFFF;
    --brand-gray: #A6A6A6;
    --brand-gray-dark: #C7C7C7;
    --brand-gray-light: #3A3A3A;

    --bg-main: #0B0B0B;
    --bg-soft: #111111;
    --bg-section: #171717;
    --surface: #121212;
    --surface-hover: #1B1B1B;

    --text-primary: #FFFFFF;
    --text-secondary: #686868;
    --text-muted: #8D8D8D;
    --text-white: #FFFFFF;

    --border-color: #292929;
    --border-dark: #444444;

    --btn-primary-bg: #FFFFFF;
    --btn-primary-text: #111111;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #FFFFFF;
    --btn-secondary-border: #FFFFFF;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .45);
}

/* =========================================================
   GLOBAL / SHARED
   ========================================================= */

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.8;
    transition: background var(--transition-normal), color var(--transition-normal)
}

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

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

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

button, a {
    -webkit-tap-highlight-color: transparent
}

/* Buttons */
.btn-ash {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 1px solid var(--btn-primary-bg);
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast)
}

.btn-ash:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px)
}

.btn-ash:hover {
    background: #ddd;
    color: #111
}

.btn-outline-ash {
    background: var(--btn-secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--btn-secondary-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast)
}

.btn-outline-ash:hover {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text)
}

.btn-dark-ash {
    color: var(--btn-primary-text) !important;
    background: var(--btn-primary-bg);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-md);
    padding: .75rem 1.2rem;
    font-weight: 600
}

.btn-dark-ash:hover {
    background: var(--brand-gray-dark);
    color: #fff
}

/* Common brand */
.navbar-ash {
    background: color-mix(in srgb, var(--bg-main) 90%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent)
}

.navbar-brand {
    min-width: 160px
}

.navbar-ash .brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-white)
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-copy strong {
    font-size: 1.2rem;
    letter-spacing: .12em;
    color: var(--text-primary)
}

.brand-copy small {
    color: var(--text-muted);
    font-size: .66rem;
    margin-top: 4px
}

.navbar-ash .nav-link {
    color: var(--text-muted);
    font-size: .93rem;
    padding-inline: .8rem !important
}

.navbar-ash .nav-link:hover, .navbar-ash .nav-link.active {
    color: var(--text-primary)
}

.navbar-toggler {
    border-color: var(--border-color)
}

.navbar-toggler-icon {
    color: var(--text-primary)
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 0, 0, .1)
}

.theme-toggle {
    border: 1px solid var(--border-color);
    background: var(--surface);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: var(--transition-fast)
}

.theme-toggle:hover {
    border-color: var(--brand-primary)
}

.section-padding {
    padding: 100px 0
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2rem);
    font-weight: 800;
    margin: 14px 0
}

.section-head h2 span, .display-title span {
    color: var(--text-secondary)
}

.section-head p, .section-text {
    color: var(--text-muted);
    max-width: 720px
}

.section-head.text-center p {
    margin-inline: auto
}

.section-kicker, .eyebrow {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .08em
}

/* =========================================================
   MAIN WEBSITE
   ========================================================= */

.hero-section {
    position: relative;
    padding: 34px 0 70px;
    overflow: hidden
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    opacity: .45;
    pointer-events: none
}

.hero-glow-1 {
    width: 380px;
    height: 380px;
    background: rgba(0, 0, 0, .05);
    top: -110px;
    right: -100px
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, .04);
    bottom: -120px;
    left: -80px
}

.hero-card {
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--brand-gray-light) 8%), var(--surface));
    border: 1px solid var(--border-color);
    border-radius: 34px;
    padding: clamp(24px, 5vw, 60px);
    box-shadow: var(--shadow-lg);
    overflow: hidden
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    background: var(--bg-soft);
    border-radius: 999px
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-gray-dark)
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 22px 0;
    letter-spacing: -.03em
}

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

.hero-content .lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px
}

.hero-visual-wrap {
    position: relative
}

.hero-visual {
    border-radius: 28px;
    width: 100%;
}

.hero-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    color: #111;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .77rem;
    font-weight: 700;
    border: 1px solid #fff
}

.floating-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow-md)
}

.floating-card-right {
    bottom: 20px;
    left: -18px
}

.floating-card span {
    display: block;
    font-size: .7rem;
    color: var(--text-muted)
}

.floating-card strong {
    display: block;
    font-size: .82rem
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--text-primary)
}

.hero-stats .stat-box {
    border-top: 1px solid var(--border-color);
    padding-top: 14px
}

.stat-box strong {
    display: block;
    font-size: 1.4rem
}

.stat-box span {
    font-size: .75rem;
    color: var(--text-muted)
}

.service-card {
    height: 100%;
    padding: 28px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal)
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-gray);
    box-shadow: var(--shadow-md)
}

.service-card.featured {
    background: linear-gradient(145deg, var(--bg-soft), var(--surface))
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 22px
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px
}

.service-card p {
    color: var(--text-muted);
    font-size: .9rem;
    min-height: 75px
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: .88rem
}

.ecosystem-section {
    background: var(--bg-soft)
}

.display-title {
    font-size: clamp(1.8rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-top: 12px
}

.check-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .94rem
}

.check-list i {
    font-size: 1.2rem
}

.ecosystem-visual {
    min-height: 500px;
    position: relative;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: radial-gradient(circle at center, rgba(0, 0, 0, .06), transparent 45%), var(--surface);
    overflow: hidden
}

.infinity-ring {
    position: absolute;
    width: 68%;
    height: 48%;
    border: 24px solid var(--brand-gray-dark);
    border-radius: 50%;
    transform: rotate(12deg);
    top: 28%;
    left: 16%
}

.infinity-ring::after {
    content: '';
    position: absolute;
    inset: -24px 30% -24px 30%;
    border: 24px solid var(--brand-gray);
    border-radius: 50%;
    transform: translateX(70%) rotate(62deg)
}

.eco-center {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: var(--shadow-lg)
}

.eco-center strong {
    font-size: 2rem;
    letter-spacing: .16em
}

.eco-center span {
    color: var(--brand-gray);
    font-size: 2.4rem;
    line-height: 1
}

.eco-center small {
    font-size: .65rem;
    opacity: .8
}

.eco-node {
    position: absolute;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 3;
    box-shadow: var(--shadow-sm);
    font-size: .78rem
}

.eco-node i {
    color: var(--text-primary);
    font-size: 1.2rem
}

.n1 {
    top: 8%;
    right: 12%
}

.n2 {
    top: 22%;
    left: 4%
}

.n3 {
    top: 51%;
    right: 4%
}

.n4 {
    bottom: 8%;
    right: 22%
}

.n5 {
    bottom: 14%;
    left: 14%
}

.n6 {
    top: 46%;
    left: 5%
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-normal)
}

.product-card:hover {
    transform: translateY(-5px)
}

.product-image {
    height: 260px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--bg-soft)
}

.product-image.lime, .product-image.dark {
    background: var(--bg-section)
}

.product-image i {
    font-size: 4rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2
}

.product-blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
    right: 50;
    top: 0;
    filter: blur(1px)
}

.product-body {
    padding: 22px
}

.product-body > span {
    color: var(--text-muted);
    font-size: .75rem
}

.product-body h3 {
    font-size: 1.05rem;
    margin: 7px 0
}

.product-body p {
    color: var(--text-muted);
    font-size: .86rem;
    min-height: 74px
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: .8rem
}

.product-footer i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: grid;
    place-items: center
}

.text-link {
    color: var(--text-primary);
    font-weight: 700
}

.dark-section {
    background: var(--brand-primary);
    color: #fff;
    position: relative;
    overflow: hidden
}

.light-head .section-kicker, .light-head p {
    color: #aaa
}

.light-head h2 {
    color: var(--bg-section)
}

.light-head h2 span {
    color: var(--brand-gray)
}

.journey-line {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 24px;
    position: relative
}

.journey-line::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: var(--btn-primary-text)
}

.journey-step {
    position: relative;
    z-index: 2;
    text-align: center
}

.journey-num {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #111;
    font-size: 1.2rem;
    font-weight: 800;
    border: 8px solid #111;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18)
}

.journey-step h3 {
    font-size: 1rem
}

.journey-step p {
    color: #aaa;
    font-size: .82rem;
    max-width: 220px;
    margin: 0 auto
}

.partner-card {
    height: 100%;
    border: 1px solid var(--border-color);
    background: var(--surface);
    border-radius: 28px;
    padding: 32px
}

.partner-card.lime-card {
    background: linear-gradient(135deg, var(--bg-soft), var(--surface))
}

.partner-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    margin-bottom: 22px;
    font-size: 1.4rem
}

.partner-card h2 {
    margin: 13px 0;
    font-size: 1.55rem
}

.partner-card p {
    color: var(--text-muted);
    margin-bottom: 24px
}

.cta-section {
    padding: 50px 0 100px
}

.cta-card {
    position: relative;
    overflow: hidden;
    background: var(--brand-primary);
    border-radius: 32px;
    color: #fff;
    padding: 52px
}

.cta-card .section-kicker {
    color: #aaa
}

.cta-card div div h2 {
    font-size: clamp(1.8rem, 4vw, 2rem);
    color: var(--surface) !important;
    line-height: 1.2;
    margin: 15px 0;
    font-weight: 800
}

.cta-card p {
    max-width: 680px;
    color: #aaa
}

.cta-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid var(--bg-section);
    border-radius: 50%
}

.ring-1 {
    top: -120px;
    left: -70px
}

.ring-2 {
    bottom: -150px;
    right: -50px
}

.footer-ash {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color)
}

.footer-text {
    color: var(--brand-primary);
    font-size: .88rem;
    max-width: 440px
}

.footer-ash h5 {
    font-size: .94rem;
    margin-bottom: 16px
}

.footer-ash > .container a:not(.navbar-brand):not(.socials a) {
    display: block;
    color: var(--text-muted);
    font-size: .84rem;
    margin-bottom: 9px
}

.footer-ash > .container a:not(.navbar-brand):not(.socials a):hover {
    color: var(--text-primary)
}

.socials {
    display: flex;
    gap: 10px
}

.socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-primary)
}

.socials a:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: .75rem
}

.scroll-top {
    position: fixed;
    left: 1%;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--brand-primary);
    color: var(--bg-section);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
    z-index: 1040
}

.scroll-top.show {
    opacity: 1;
    transform: translateY(0)
}

.chat-sopurt {
    position: fixed;
    right: 1%;
    bottom: 1%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--brand-primary);
    color: var(--bg-section);
    opacity: 1;
    z-index: 1040
}

/* =========================================================
   SHOP
   ========================================================= */
.cart-mini {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    transition: var(--transition-fast)
}
.product-image-loader{
    height:100%;
}
/* خود تصویر */
.product-image-loader img {
    filter: blur(18px);
    transform: scale(1.04);
    opacity: .7;
    transition: filter .6s ease,
    transform .7s ease,
    opacity .5s ease;
}

/* بعد از لود */
.product-image-loader.is-loaded img {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}

/* لودر */
.image-spinner {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 38px;
    height: 38px;

    border: 3px solid rgba(0, 0, 0, .12);
    border-top-color: var(--text-primary);
    border-radius: 50%;

    transform: translate(-50%, -50%);
    animation: imageSpin .8s linear infinite;

    z-index: 2;

    transition: opacity .3s ease,
    transform .3s ease;
}

/* وقتی عکس لود شد */
.product-image-loader.is-loaded .image-spinner {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    pointer-events: none;
}

@keyframes imageSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cart-mini:hover {
    border-color: var(--brand-primary);
    transform: translateY(-1px)
}

.cart-mini span {
    position: absolute;
    top: -3px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    border: 2px solid var(--bg-main)
}

.store-hero {
    padding: 28px 0 24px
}

.store-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(28px, 5vw, 62px);
    background: linear-gradient(140deg, #111 0%, #333 52%, #777 100%);
    color: #fff;
    box-shadow: var(--shadow-lg)
}

.store-hero-card .section-kicker {
    color: #bbb
}

.store-hero-card h1 {
    font-size: clamp(2.4rem, 5.2vw, 5.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 14px 0 18px;
    letter-spacing: -.04em
}

.store-hero-card h1 span {
    color: #aaa
}

.store-hero-card p {
    color: #ccc;
    max-width: 670px;
    font-size: 1rem
}

.store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px
}

.store-hero-card .btn-ash {
    background: #fff;
    color: #111;
    box-shadow: none
}

.store-hero-card .btn-outline-ash {
    border-color: #777;
    color: var(--btn-secondary-text)
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px
}

.hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    color: #ddd
}

.hero-benefits i {
    color: #aaa
}

.store-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    opacity: .28
}

.orb-one {
    width: 420px;
    height: 420px;
    background: #666;
    right: -180px;
    top: -220px
}

.orb-two {
    width: 250px;
    height: 250px;
    background: #999;
    left: -120px;
    bottom: -160px
}

.shop-hero-visual {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center
}

.visual-tag {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 4;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .72rem;
    backdrop-filter: blur(8px)
}

.espresso-machine {
    width: min(390px, 90%);
    height: 230px;
    border-radius: 18px 18px 24px 24px;
    background: linear-gradient(180deg, #eee, #aaa);
    border: 7px solid #d3d3d3;
    box-shadow: 0 25px 45px rgba(0, 0, 0, .25);
    position: relative;
    margin-top: 45px
}

.machine-top {
    position: absolute;
    left: 13px;
    right: 13px;
    top: 12px;
    height: 43px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7f7f7, #c5c5c5)
}

.machine-screen {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: 25px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 9px;
    font-size: .55rem
}

.machine-group {
    position: absolute;
    top: 89px;
    width: 84px;
    height: 58px;
    border-radius: 10px;
    background: linear-gradient(180deg, #d5d5d5, #7f7f7f);
    box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .18)
}

.machine-group::after {
    content: "";
    position: absolute;
    left: 32px;
    top: 51px;
    width: 20px;
    height: 38px;
    background: #686868;
    border-radius: 0 0 10px 10px
}

.machine-group.g1 {
    left: 42px
}

.machine-group.g2 {
    right: 42px
}

.machine-portafilter {
    position: absolute;
    top: 125px;
    width: 76px;
    height: 15px;
    background: #333;
    border-radius: 999px
}

.machine-portafilter::after {
    content: "";
    position: absolute;
    left: 7px;
    bottom: -20px;
    width: 10px;
    height: 23px;
    background: #202020;
    border-radius: 0 0 7px 7px
}

.machine-portafilter.p1 {
    left: 46px
}

.machine-portafilter.p2 {
    right: 46px
}

.machine-tray {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 23px;
    height: 35px;
    border-radius: 0 0 13px 13px;
    background: #747474;
    box-shadow: inset 0 9px 0 rgba(255, 255, 255, .18)
}

.machine-cup {
    position: absolute;
    bottom: 37px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 37px;
    background: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 13px rgba(0, 0, 0, .18)
}

.machine-cup div {
    position: absolute;
    top: 5px;
    left: 7px;
    right: 7px;
    height: 8px;
    background: #4e4e4e;
    border-radius: 50%
}

.bean-pack {
    position: absolute;
    right: 6%;
    bottom: 10px;
    width: 108px;
    height: 150px;
    border-radius: 12px 12px 8px 8px;
    background: linear-gradient(180deg, #eee, #cfcfcf);
    color: #111;
    box-shadow: 0 18px 28px rgba(0, 0, 0, .18);
    padding: 14px;
    transform: rotate(7deg)
}

.bean-pack small {
    display: block;
    font-size: .55rem;
    letter-spacing: .2em
}

.bean-pack strong {
    display: block;
    font-size: .9rem;
    line-height: 1.1;
    margin: 8px 0
}

.bean-pack span {
    font-size: .48rem;
    color: #666
}

.hero-float-badge {
    position: absolute;
    left: 0;
    bottom: 16px;
    display: flex;
    gap: 9px;
    align-items: center;
    background: #fff;
    color: #111;
    padding: 10px 13px;
    border-radius: 15px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .15)
}

.hero-float-badge i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #eee;
    color: #111
}

.hero-float-badge strong, .hero-float-badge small {
    display: block
}

.hero-float-badge strong {
    font-size: .68rem
}

.hero-float-badge small {
    font-size: .55rem;
    color: #666
}

.category-strip {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--surface)
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none
}

.category-scroll::-webkit-scrollbar {
    display: none
}

.category-pill {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: .79rem;
    background: var(--bg-soft);
    transition: var(--transition-fast)
}

.category-pill:hover, .category-pill.active {
    color: var(--text-primary);
    border-color: var(--brand-primary);
    background: var(--bg-section)
}

.cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-section);
    color: var(--text-primary)
}

.catalog-section {
    padding-top: 82px
}

.catalog-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px
}

.catalog-toolbar h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 800;
    margin: 10px 0 3px
}

.catalog-toolbar p {
    color: var(--text-muted);
    margin: 0;
    font-size: .82rem
}

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

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(290px, 32vw);
    height: 46px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface);
    padding: 0 13px
}

.search-box i {
    color: var(--text-muted)
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    font-size: .78rem
}

.sort-select {
    height: 46px;
    min-width: 160px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-primary);
    padding: 0 13px;
    font-size: .78rem;
    outline: none
}

.filter-mobile-btn {
    display: none;
    height: 46px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-primary);
    padding: 0 14px;
    font-size: .76rem
}

.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 20px;
    position: sticky;
    top: 95px
}

.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color)
}

.filter-head h3 {
    margin: 0;
    font-size: 1rem
}

.filter-head button {
    border: 0;
    background: none;
    color: var(--text-primary);
    font-size: .7rem
}

.filter-group {
    padding: 19px 0;
    border-bottom: 1px solid var(--border-color)
}

.filter-group > label:first-child {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 11px
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .76rem;
    color: var(--text-muted);
    margin-bottom: 11px;
    cursor: pointer
}

.filter-check input {
    accent-color: var(--brand-primary)
}

.filter-check:last-child {
    margin-bottom: 0
}

.price-fields {
    display: grid;
    grid-template-columns:1fr 24px 1fr;
    align-items: center;
    gap: 6px
}

.price-fields input {
    width: 100%;
    height: 39px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 9px;
    outline: none;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: .72rem
}

.price-fields span {
    text-align: center;
    color: var(--text-muted);
    font-size: .67rem
}

.filter-note {
    margin-top: 18px;
    padding: 13px;
    border-radius: 15px;
    background: var(--bg-soft);
    display: flex;
    gap: 10px
}

.filter-note i {
    color: var(--text-primary)
}

.filter-note strong, .filter-note span {
    display: block
}

.filter-note strong {
    font-size: .72rem
}

.filter-note span {
    font-size: .64rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 2px
}

.product-col.is-hidden {
    display: none !important
}

.shop-product-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column
}

.shop-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-gray);
    box-shadow: var(--shadow-lg)
}

.product-media {
    height: 260px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--bg-soft)
}

.media-coffee, .media-coffee.dark, .media-syrup, .media-syrup.caramel, .media-machine, .media-bar, .media-fridge, .media-tools {
    background: var(--bg-section)
}

.product-media::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .05);
    top: -60px;
    left: -50px
}

.product-media::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .04);
    bottom: -65px;
    right: -30px
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    background: #eee;
    color: #333
}

.product-badge.sale {
    background: #eee;
    color: #333
}

.product-badge.pro {
    background: #111;
    color: #fff
}

.wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .78);
    color: #666;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: var(--transition-fast)
}

.wishlist:hover, .wishlist.active {
    color: #111;
    border-color: #aaa
}

.coffee-bag {
    width: 50%;
    height: auto;
    position: relative;
    z-index: 2
}

.coffee-bag.alt {
    background: linear-gradient(180deg, #555, #222);
    transform: rotate(5deg)
}

.coffee-bag span {
    font-size: .52rem;
    letter-spacing: .2em;
    color: #ccc
}

.coffee-bag b {
    display: block;
    font-size: 1rem;
    line-height: 1.05;
    margin-top: 18px
}

.coffee-bag small {
    display: block;
    font-size: .49rem;
    opacity: .7;
    margin-top: 15px
}

.syrup-bottle {
    width: 72px;
    height: 157px;
    border-radius: 12px 12px 15px 15px;
    background: linear-gradient(90deg, #f2f2f2, #aaa);
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    padding-top: 41px;
    text-align: center;
    color: #333
}

.media-syrup.caramel .syrup-bottle {
    background: linear-gradient(90deg, #555, #999);
    color: #fff
}

.syrup-bottle::before {
    content: "";
    position: absolute;
    top: -23px;
    left: 17px;
    width: 30px;
    height: 25px;
    border-radius: 5px 5px 2px 2px;
    background: #333
}

.syrup-bottle span {
    display: block;
    font-size: .45rem;
    letter-spacing: .18em
}

.syrup-bottle b {
    display: block;
    font-size: .65rem;
    margin-top: 7px
}

.syrup-bottle small {
    display: block;
    font-size: .38rem;
    margin-top: 5px;
    opacity: .72
}

.machine-product {
    width: 235px;
    height: 130px;
    border-radius: 10px 10px 15px 15px;
    background: linear-gradient(180deg, #e7e7e7, #a9a9a9);
    border: 5px solid #d4d4d4;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg)
}

.mp-top {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    height: 27px;
    border-radius: 7px;
    background: #f1f1f1
}

.mp-screen {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: .4rem;
    padding: 2px 6px;
    display: flex;
    justify-content: space-between
}

.mp-group {
    position: absolute;
    top: 48px;
    left: 31px;
    width: 55px;
    height: 42px;
    border-radius: 8px;
    background: #878787
}

.mp-group.second {
    left: auto;
    right: 31px
}

.mp-group::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 34px;
    width: 13px;
    height: 28px;
    background: #525252;
    border-radius: 0 0 6px 6px
}

.mp-tray {
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 10px;
    height: 15px;
    background: #727272;
    border-radius: 0 0 6px 6px
}

.bar-station {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 145px;
    border-radius: 13px;
    background: linear-gradient(180deg, #888, #555);
    box-shadow: var(--shadow-lg)
}

.bs-top {
    position: absolute;
    left: -14px;
    right: -14px;
    top: 0;
    height: 24px;
    border-radius: 10px;
    background: #999
}

.bs-leg {
    position: absolute;
    width: 12px;
    height: 70px;
    bottom: -58px;
    left: 20px;
    background: #444;
    box-shadow: 172px 0 0 #444
}

.bs-drawer {
    position: absolute;
    left: 45px;
    right: 45px;
    top: 47px;
    height: 40px;
    border-radius: 7px;
    background: #666;
    border: 1px solid rgba(255, 255, 255, .13)
}

.bs-drawer::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 4px;
    border-radius: 999px;
    background: #aaa;
    left: 50%;
    top: 10px;
    transform: translateX(-50%)
}

.bs-cup {
    position: absolute;
    right: 22px;
    bottom: 23px;
    width: 27px;
    height: 22px;
    border-radius: 0 0 8px 8px;
    background: #eee
}

.bs-cup::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 3px;
    right: 3px;
    height: 7px;
    border-radius: 50%;
    background: #555
}

.fridge {
    position: relative;
    z-index: 2;
    width: 185px;
    height: 180px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f6f6f6, #bcbcbc);
    border: 5px solid #ddd;
    box-shadow: var(--shadow-lg)
}

.fridge-glass {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 17px;
    bottom: 17px;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .62), rgba(160, 160, 160, .3));
    border: 1px solid rgba(255, 255, 255, .8)
}

.fridge-glass::before {
    content: "ASH";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    color: rgba(0, 0, 0, .38);
    letter-spacing: .2em
}

.fridge-handle {
    position: absolute;
    right: 8px;
    top: 58px;
    width: 5px;
    height: 65px;
    background: #777;
    border-radius: 999px
}

.fridge-light {
    position: absolute;
    left: 26px;
    top: 22px;
    width: 6px;
    height: 6px;
    background: #777;
    border-radius: 50%;
    box-shadow: 0 0 12px #777
}

.tools-set {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 155px;
    background: rgba(255, 255, 255, .52);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-7deg)
}

.tool {
    position: absolute;
    display: block;
    background: linear-gradient(180deg, #333, #999);
    border-radius: 999px;
    box-shadow: var(--shadow-sm)
}

.t1 {
    width: 18px;
    height: 120px;
    left: 42px;
    top: 16px;
    transform: rotate(17deg)
}

.t2 {
    width: 92px;
    height: 16px;
    left: 71px;
    top: 34px;
    transform: rotate(-17deg)
}

.t3 {
    width: 67px;
    height: 13px;
    left: 75px;
    top: 90px;
    transform: rotate(11deg)
}

.t4 {
    width: 15px;
    height: 91px;
    left: 114px;
    top: 48px;
    transform: rotate(-29deg)
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-category {
    font-size: .65rem;
    color: var(--text-secondary);
    font-weight: 800
}

.product-info h3 {
    font-size: 1.06rem;
    margin: 6px 0;
    font-weight: 800
}

.product-info p {
    font-size: .72rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    min-height: 52px
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 12px 0;
    font-size: .68rem
}

.rating i {
    font-size: .67rem;
    color: #777
}

.rating small {
    color: var(--text-muted);
    font-size: .61rem;
    margin-right: 3px
}

.product-bottom {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.product-bottom del {
    display: block;
    color: #999;
    font-size: .57rem
}

.product-bottom strong {
    display: block;
    font-size: .88rem
}

.product-bottom strong small {
    font-size: .56rem;
    color: var(--text-muted);
    font-weight: 500
}

.add-cart i {
    color: var(--bg-main)
}

.add-cart {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: var(--brand-primary);
    color: #fff;
    display: grid;
    place-items: center;
    transition: var(--transition-fast)
}

.add-cart:hover {
    background: #333
}

.add-cart.added {
    background: var(--success)
}

.empty-state {
    padding: 70px 0;
    text-align: center
}

.empty-state > div {
    max-width: 450px;
    margin: auto
}

.empty-state i {
    font-size: 2rem
}

.empty-state h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px
}

.empty-state p {
    color: var(--text-muted);
    font-size: .8rem
}

/* =========================================================
ASH MOBILE BOTTOM NAVIGATION
========================================================= */

.ash-mobile-bottom-nav {
    display: none;
}


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

@media (max-width: 991.98px) {
    .chat-sopurt {
        position: fixed;
        right: 1%;
        bottom: 12%;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 0;
        background: var(--brand-primary);
        color: var(--bg-section);
        opacity: 1;
        z-index: 1040
    }

    /* Navbar بالا */
    #mainNav {
        position: fixed;
        width: 100%;
        height:10vh;
        top: 0;
        z-index: 1030;

        background: var(--bg-main);

        border-bottom: 1px solid var(--border-color);
    }


    #mainNav .container {
        min-height: 68px;

        padding-top: 8px !important;
        padding-bottom: 8px !important;

        display: flex;
        align-items: center;
    }


    /* لوگو */
    #mainNav .navbar-brand {
        margin-left: auto;
        margin-right: 0;

        min-width: 0;
    }

    #mainNav .brand-mark {
        width: 42px;
        height: 42px;
    }

    #mainNav .brand-mark img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    #mainNav .brand-copy {
        display: flex;
    }


    /* مخفی کردن منوی دسکتاپ */
    #mainNav .navbar-nav {
        display: none !important;
    }


    /* دکمه Toggle بوت‌استرپ */
    #mainNav .navbar-toggler {
        display: none;
    }


    /* Theme + Cart */
    #mainNav > .container > .navbar-actions,
    #mainNav .theme-toggle {
        display: flex;
    }


    /* بخش دکمه‌های سمت چپ */
    #mainNav > .container::after {
        display: none;
    }


    /* کنترلرهای سمت چپ */
    #mainNav .container > .d-flex {
        display: flex !important;

        align-items: center;
        gap: 8px;

        margin-right: 0;
        margin-left: 0;
    }


    #mainNav .theme-toggle {
        width: 40px;
        height: 40px;

        display: grid;
        place-items: center;

        border-radius: 12px;

        background: var(--surface);
        border: 1px solid var(--border-color);

        color: var(--text-primary);
    }


    /* شروع همکاری روی موبایل حذف شود */
    #mainNav .btn-ash {
        display: none !important;
    }


    /* =====================================================
       BOTTOM NAV
    ===================================================== */
    .ash-mobile-bottom-nav {
        position: fixed;

        right: 10px;
        left: 10px;
        bottom: 10px;

        z-index: 1050;

        height: 68px;

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

        align-items: center;

        padding: 7px;

        border: 1px solid var(--border-color);

        border-radius: 20px;

        background: color-mix(
                in srgb,
                var(--surface) 92%,
                transparent
        );

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    }


    .ash-mobile-bottom-item {
        min-width: 0;
        height: 54px;

        display: flex;
        flex-direction: column;

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

        gap: 3px;

        border-radius: 15px;

        color: var(--text-muted);

        text-decoration: none;

        transition: color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
    }


    .ash-mobile-bottom-item i {
        font-size: 17px;
        line-height: 1;
    }


    .ash-mobile-bottom-item span {
        font-size: 9px;
        font-weight: 600;
        line-height: 1;
    }


    .ash-mobile-bottom-item:hover {
        color: var(--text-primary);
    }


    .ash-mobile-bottom-item.active {
        color: var(--text-primary);
        background: var(--bg-soft);
    }


    .ash-mobile-bottom-item.active i {
        transform: translateY(-1px);
    }

    main {
        margin-top: 10vh;
    }

    /* فضای پایین صفحه برای Bottom Nav */
    body {
        padding-bottom: 88px;
    }

}

/* =========================
   Mobile Services Dropup
========================= */

.ash-mobile-services {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ash-mobile-bottom-service-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.ash-mobile-bottom-service-btn i {
    font-size: 20px;
    line-height: 1;
}

.ash-mobile-bottom-service-btn span {
    font-size: 11px;
    font-weight: 500;
}

.ash-mobile-bottom-service-btn:hover,
.ash-mobile-bottom-service-btn.active {
    color: var(--brand-primary);
}

/* Dropup */

.ash-mobile-services-dropup {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%) translateY(10px);
    width: 190px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);

    z-index: 1000;
}

.ash-mobile-services-dropup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

.ash-mobile-service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.ash-mobile-service-link i {
    width: 20px;
    font-size: 17px;
    color: var(--text-secondary);
}

.ash-mobile-service-link span {
    font-size: 13px;
    font-weight: 600;
}

.ash-mobile-service-link:hover {
    background: var(--surface-hover);
}

.ash-mobile-service-link:hover i {
    color: var(--brand-primary);
}

/* Arrow */

.ash-mobile-services-dropup::after {
    content: "";
    position: absolute;
    bottom: -7px;
    right: 50%;
    width: 13px;
    height: 13px;
    background: var(--surface);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transform: translateX(50%) rotate(45deg);
}

/* =========================================================
   STORE PAGINATION
========================================================= */

.store-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

.store-pagination .pagination {
    margin: 0;
    gap: 7px;
    align-items: center;
}

.store-pagination .page-item {
    margin: 0;
}

.store-pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    padding: 0;

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

    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);

    background: var(--surface);
    color: var(--text-primary);

    box-shadow: none;

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

    transition: background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.store-pagination .page-item .page-link:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
    border-color: var(--border-dark);
    transform: translateY(-1px);
}

.store-pagination .page-item.active .page-link {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--btn-primary-bg);
}

.store-pagination .page-item.disabled .page-link {
    opacity: .4;
    background: var(--surface);
    color: var(--text-muted);
    pointer-events: none;
}

.store-pagination .page-item .page-link i {
    font-size: 12px;
}

.store-pagination .pagination > li:not(.page-item) {
    color: var(--text-muted);
    font-size: 11px;
}


/* Dark */

[data-theme="dark"] .store-pagination .page-item .page-link {
    background: var(--surface);
    color: var(--text-primary);
}

[data-theme="dark"] .store-pagination .page-item.active .page-link {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.shop-support-section {
    padding: 0 0 30px
}

.support-card {
    height: 100%;
    display: flex;
    gap: 14px;
    padding: 21px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--surface)
}

.support-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 1.2rem
}

.support-icon.lime, .support-icon.forest {
    background: var(--bg-section)
}

.support-card h3 {
    font-size: .95rem;
    font-weight: 800;
    margin: 0 0 5px
}

.support-card p {
    font-size: .7rem;
    color: var(--text-muted);
    margin: 0 0 9px;
    line-height: 1.8
}

.support-card a {
    font-size: .69rem;
    font-weight: 800;
    color: var(--text-primary)
}

.shop-cta {
    padding-top: 50px
}

.shop-cta-box {
    position: relative;
    overflow: hidden;
    padding: 44px clamp(24px, 4vw, 55px);
    border-radius: 30px;
    background: var(--brand-gray-dark);
    color: #fff
}

.shop-cta-box::after {
    content: "∞";
    position: absolute;
    font-size: 240px;
    line-height: 1;
    left: -25px;
    bottom: -95px;
    color: var(--text-muted);
    font-weight: 800
}

.shop-cta-box .section-kicker {
    color: #aaa
}

.shop-cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    color: var(--bg-section);
    line-height: 1.2;
    font-weight: 800;
    margin: 10px 0
}

.shop-cta-box p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0
}

.shop-cta-box .btn-light {
    position: relative;
    z-index: 2;
    color: #111;
    font-weight: 800;
    border-radius: 14px
}

.cart-canvas, .filter-canvas {
    background: var(--bg-main);
    color: var(--text-primary)
}

.cart-canvas {
    width: min(460px, 92vw)
}

.cart-canvas .offcanvas-header, .filter-canvas .offcanvas-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color)
}

.cart-canvas h2, .filter-canvas h2 {
    font-size: 1.3rem;
    margin: 4px 0;
    font-weight: 800
}

.cart-empty {
    text-align: center;
    padding: 80px 20px
}

.cart-empty i {
    font-size: 2.5rem
}

.cart-empty h3 {
    font-size: 1rem;
    margin: 10px 0 5px
}

.cart-empty p {
    font-size: .75rem;
    color: var(--text-muted)
}

.cart-row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color)
}

.cart-thumb {
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    font-size: 1.4rem
}

.cart-row h4 {
    font-size: .8rem;
    margin: 2px 0 4px
}

.cart-row small {
    font-size: .62rem;
    color: var(--text-muted)
}

.cart-price {
    margin-top: 5px;
    font-size: .73rem;
    font-weight: 800
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px
}

.qty-control button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-primary)
}

.qty-control span {
    font-size: .68rem;
    min-width: 20px;
    text-align: center
}

.remove-cart {
    margin-right: auto;
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--danger)
}

.cart-footer {
    padding: 18px;
    border-top: 1px solid var(--border-color);
    background: var(--surface)
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px
}

.cart-total span {
    font-size: .72rem;
    color: var(--text-muted)
}

.cart-total strong {
    font-size: .9rem
}

.filter-canvas {
    width: min(370px, 92vw)
}

.filter-panel.mobile {
    position: static;
    background: transparent;
    border: 0;
    padding: 0
}

/* =========================================================
   USER PANEL
   ========================================================= */

.app-shell {
    min-height: 100vh;
    display: flex
}

.app-shell .sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 310px;
    background: #111;
    color: #fff;
    padding: 28px 18px 18px;
    display: flex;
    flex-direction: column;
    z-index: 30;
    overflow-y: auto
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px 20px
}

.app-shell .brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.app-shell .brand-mark {
    width: 50px;
    height: 50px;
    border: 2px solid #888;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 28px
}

.app-shell .brand b {
    font-size: 31px;
    letter-spacing: 1px;
    display: block;
    line-height: 1
}

.app-shell .brand small {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-top: 6px
}

.sidebar-close {
    display: none;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 20px
}

.user-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 2px 22px
}

.avatar, .mini-avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700
}

.avatar {
    width: 58px;
    height: 58px;
    background: #fff;
    color: #111;
    font-size: 20px;
    border: 3px solid #888
}

.user-info strong {
    display: block;
    font-size: 16px
}

.user-info span {
    display: block;
    font-size: 12px;
    color: #bbb;
    margin-top: 5px
}

.user-info i {
    color: #aaa;
    margin-left: 4px
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 15px;
    color: #ddd;
    font-size: 14px;
    position: relative;
    transition: var(--transition-fast)
}

.nav-item i {
    font-size: 19px;
    width: 22px
}

.nav-item:hover {
    background: rgba(255, 255, 255, .06)
}

.nav-item.active {
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 4px 0 0 #fff;
    color: #fff
}

.nav-item em {
    font-style: normal;
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    margin-right: auto
}

.app-shell .support-card {
    margin: 24px 2px 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08)
}

.app-shell .support-card .support-icon {
    background: #222;
    color: #fff
}

.app-shell .support-card h4 {
    margin: 13px 0 7px;
    font-size: 15px
}

.app-shell .support-card p {
    margin: 0;
    color: #bbb;
    font-size: 12px;
    line-height: 1.9
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    background: #fff;
    color: #111;
    padding: 11px 13px;
    border-radius: 13px;
    font-weight: 700;
    font-size: 12px
}

.logout {
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .05);
    color: #eee;
    padding: 14px 15px;
    border-radius: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer
}

.main-area {
    width: calc(100% - 310px);
    margin-right: 310px;
    min-height: 100vh
}

.topbar {
    height: 92px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    position: sticky;
    top: 0;
    z-index: 20
}

.topbar-right, .page-title-wrap, .top-actions {
    display: flex;
    align-items: center
}

.page-title-wrap {
    gap: 12px
}

.page-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--bg-soft);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    font-size: 24px
}

.page-title-wrap h1 {
    margin: 0;
    font-size: 23px
}

.page-title-wrap p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 11px
}

.top-actions {
    gap: 9px
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    background: var(--surface);
    color: var(--text-primary);
    border-radius: 13px;
    cursor: pointer;
    display: grid;
    place-items: center
}

.icon-btn span {
    position: absolute;
    right: -4px;
    top: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 10px;
    display: grid;
    place-items: center
}

.mini-avatar {
    width: 42px;
    height: 42px;
    background: #111;
    color: #fff;
    margin-right: 3px
}

.mobile-menu {
    display: none;
    margin-left: 10px
}

.content {
    padding: 36px 36px 20px;
    max-width: 1500px;
    margin: auto
}

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

.content-head h2 {
    margin: 7px 0 4px;
    font-size: 28px
}

.content-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px
}

.date-chip {
    border: 1px solid var(--border-color);
    background: var(--surface);
    padding: 12px 15px;
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

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

.news-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 21px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal)
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md)
}

.news-card.wide {
    display: grid;
    grid-template-columns:42% 58%;
    grid-column: span 2
}

.news-visual {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: var(--bg-soft)
}

.wide .news-visual {
    height: 100%
}

.news-visual::before, .news-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, .03)
}

.news-visual::before {
    width: 180px;
    height: 180px;
    left: -50px;
    top: -70px
}

.news-visual::after {
    width: 140px;
    height: 140px;
    right: -40px;
    bottom: -65px
}

.news-visual.sale, .news-visual.machine, .news-visual.app, .news-visual.support, .news-visual.delivery {
    background: var(--bg-section)
}

.tag {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    z-index: 2
}

.tag.new, .tag.info {
    background: #555
}

.visual-icon {
    position: absolute;
    right: 13px;
    top: 13px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .75);
    display: grid;
    place-items: center;
    color: #111;
    font-size: 17px;
    z-index: 2
}

.cart-illustration, .machine-art, .phone-art, .headset-art, .box-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.cart-illustration {
    font-size: 70px;
    color: #333;
    transform: rotate(-4deg)
}

.cart-illustration b {
    font-size: 23px;
    background: #ddd;
    padding: 7px 11px;
    border-radius: 12px;
    margin-right: 8px
}

.machine-art {
    flex-direction: column;
    font-size: 58px;
    color: #333;
    gap: 4px
}

.machine-art span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px
}

.phone-art {
    flex-direction: column;
    font-size: 76px;
    color: #333
}

.phone-art b {
    font-size: 12px;
    letter-spacing: 3px;
    margin-top: -16px
}

.headset-art {
    font-size: 82px;
    color: #555
}

.box-art {
    flex-direction: column;
    font-size: 76px;
    color: #444
}

.box-art span {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
    margin-top: -15px
}

.news-body {
    padding: 17px 18px 18px
}

.meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 10px;
    margin-bottom: 8px
}

.status-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #777
}

.news-body h3 {
    font-size: 16px;
    margin: 0 0 8px;
    line-height: 1.6
}

.news-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 2
}

.details {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 11px
}

.details i {
    transition: var(--transition-fast)
}

.details:hover i {
    transform: translateX(-4px)
}

.app-shell .footer {
    padding: 18px 36px 25px;
    color: var(--text-muted);
    font-size: 11px;
    text-align: center
}

.app-shell .footer b {
    color: var(--text-primary)
}

/* =========================================================
   SIGNUP
   ========================================================= */

.signup-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 10% 10%, rgba(0, 0, 0, .04), transparent 25%), radial-gradient(circle at 100% 90%, rgba(0, 0, 0, .05), transparent 27%), linear-gradient(135deg, #fff -304%, var(--bg-section) 46%)
}

.background-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    opacity: .75
}

.signup-page .orb-one {
    width: 380px;
    height: 380px;
    top: -160px;
    right: -120px;
    background: rgba(0, 0, 0, .06)
}

.signup-page .orb-two {
    width: 290px;
    height: 290px;
    bottom: -140px;
    left: -100px;
    background: rgba(0, 0, 0, .04)
}

.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .04
}

.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    transition: opacity .85s ease, visibility .85s ease
}

.intro-screen.hide {
    opacity: 0;
    visibility: hidden
}

.intro-content {
    display: grid;
    justify-items: center;
    gap: 10px;
    transform: translateY(-3vh)
}

.logo-mark {
    position: relative;
    width: 170px;
    height: 90px;
    opacity: 0;
    transform: scale(.7);
    animation: logoEnter 1.15s cubic-bezier(.2, .8, .2, 1) forwards
}

.loop {
    position: absolute;
    top: 17px;
    width: 95px;
    height: 56px;
    border: 10px solid #fff;
    border-radius: 55px
}

.loop-left {
    right: 78px;
    transform: rotate(26deg);
    border-right-color: transparent
}

.loop-right {
    left: 78px;
    transform: rotate(-26deg);
    border-left-color: transparent;
    border-color: #aaa
}

.logo-name {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: .2em;
    margin-left: .2em;
    opacity: 0;
    animation: textEnter .8s ease .42s forwards
}

.logo-tagline {
    color: #aaa;
    font-size: 14px;
    opacity: 0;
    animation: textEnter .8s ease .72s forwards
}

.intro-progress {
    position: absolute;
    bottom: 42px;
    width: min(230px, 65vw);
    height: 3px;
    background: rgba(255, 255, 255, .16);
    border-radius: 99px;
    overflow: hidden
}

.intro-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    animation: introProgress 2.4s linear forwards
}

.signup-shell {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns:minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 68px;
    align-items: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease .1s, transform .8s ease .1s
}

.signup-shell.ready {
    opacity: 1;
    transform: translateY(0)
}

.signup-shell .brand-column {
    padding: 12px 8px
}

.brand-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 25px
}

.mini-logo {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    font-size: 28px
}

.signup-shell .brand-copy {
    margin-top: 66px;
    max-width: 570px
}

.signup-shell .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--bg-soft);
    color: var(--text-primary);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.13;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--text-primary)
}

.brand-copy h1 span {
    color: var(--text-secondary)
}

.brand-lead {
    margin: 24px 0 0;
    max-width: 520px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 2
}

.motion-message {
    margin-top: 35px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-height: 91px
}

.motion-line {
    width: 4px;
    min-height: 62px;
    border-radius: 99px;
    background: linear-gradient(#111, #999);
    box-shadow: 0 0 18px rgba(0, 0, 0, .12)
}

.motion-text-wrap {
    overflow: hidden
}

.motion-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--text-primary)
}

.motion-text-wrap p {
    margin: 7px 0 0;
    font-size: 21px;
    line-height: 1.8;
    font-weight: 700;
    color: var(--text-primary);
    transition: opacity .3s ease, transform .3s ease
}

.motion-text-wrap p.swap-out {
    opacity: 0;
    transform: translateY(12px)
}

.motion-text-wrap p.swap-in {
    opacity: 0;
    transform: translateY(-12px)
}

.benefits {
    display: grid;
    gap: 12px;
    margin-top: 24px
}

.benefit-item {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 9px
}

.benefit-item span {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--bg-main);
    font-size: 13px;
    font-weight: 800
}

.form-card {
    background: var(--brand-gray-light);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: var(--shadow-lg);
    border-radius: 34px;
    padding: 34px;
    position: relative
}

.form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 34px;
    padding: 1px;
    background: linear-gradient(120deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .25));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude
}

.form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px
}

.small-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 4px
}

.form-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 36px
}

.form-header p {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8
}

.form-header strong {
    color: var(--text-primary)
}

.time-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700
}

.time-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, .08)
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0
}

.step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition-fast)
}

.step-dot.active {
    background: var(--brand-primary);
    color: var(--bg-main);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm)
}

.step-line {
    height: 2px;
    flex: 0 0 48px;
    background: var(--border-color)
}

.form-step {
    display: none;
    animation: stepIn .45s ease
}

.form-step.active {
    display: block
}

.section-title {
    color: var(--text-primary);
    font-size: 21px;
    font-weight: 800
}

.section-note {
    margin: 8px 0 20px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8
}

.role-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 14px
}

.role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.role-card {
    position: relative;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    min-height: 122px;
    padding: 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 22px;
    cursor: pointer;
    background: rgba(255, 255, 255, .66);
    transition: var(--transition-fast)
}

.role-option input:checked + .role-card {
    border-color: var(--brand-primary);
    background: var(--bg-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05), var(--shadow-sm);
    transform: translateY(-2px)
}

.role-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--bg-section);
    font-size: 20px
}

.role-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 5px
}

.role-card small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.9
}

.role-check {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: transparent;
    font-size: 11px;
    border: 1px solid var(--border-color)
}

.role-option input:checked + .role-card .role-check {
    background: var(--bg-section);
    border-color: var(--brand-primary);
    color: var(--text-primary)
}

.primary-btn, .secondary-btn {
    border: 0;
    border-radius: 16px;
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast)
}

.primary-btn {
    background: var(--brand-primary);
    color: var(--bg-main);
    box-shadow: var(--shadow-md)
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

.secondary-btn {
    color: var(--text-primary);
    background: var(--bg-soft)
}

.next-btn {
    width: 100%;
    margin-top: 18px;
    justify-content: space-between
}

.field-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 15px
}

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

.field.full {
    grid-column: 1/-1
}

.field label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700
}

.field input, .field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast)
}

.field input {
    height: 50px
}

.field textarea {
    resize: vertical;
    min-height: 88px
}

.field input:focus, .field textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .07);
    background: #fff
}

.input-wrap {
    position: relative
}

.input-wrap input {
    padding-right: 48px
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 13px;
    z-index: 1
}

.phone-input input {
    padding-right: 58px;
    direction: ltr;
    text-align: left
}

.hidden {
    display: none !important
}

.form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.form-actions .primary-btn {
    flex: 1
}

.form-footnote {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.9;
    text-align: center
}

.success-state {
    text-align: center;
    padding: 26px 10px 12px;
    animation: stepIn .5s ease
}

.success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    box-shadow: var(--shadow-md)
}

.success-state h3 {
    color: var(--text-primary);
    font-size: 28px;
    margin: 7px 0 10px
}

.success-state p {
    color: var(--text-muted);
    line-height: 2;
    font-size: 14px;
    margin: 0 auto 20px;
    max-width: 430px
}

.success-btn {
    width: 100%
}

.field.error input, .field.error textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(201, 76, 76, .08)
}

.error-text {
    color: var(--danger);
    font-size: 11px
}

.field-password {
    display: flex;
}

.field input::placeholder, .field textarea::placeholder {
    color: var(--text-secondary);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes logoEnter {
    0% {
        opacity: 0;
        transform: scale(.72) rotate(-8deg)
    }
    55% {
        opacity: 1;
        transform: scale(1.07) rotate(2deg)
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0)
    }
}

@keyframes textEnter {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes introProgress {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .toolbar-actions {
        justify-content: flex-end
    }

    .filter-mobile-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px
    }

    .search-box {
        width: min(340px, 48vw)
    }

    .app-shell .sidebar {
        width: 280px
    }

    .main-area {
        width: calc(100% - 280px);
        margin-right: 280px
    }

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

    .news-card.wide {
        grid-column: span 2
    }
}

@media (max-width: 991px) {
    .product-image {
        height: 300px
    }

    .navbar-ash .navbar-collapse {
        padding: 18px 0 4px
    }

    .hero-section {
        padding-top: 18px
    }

    .hero-card {
        padding: 24px
    }

    .floating-card-right {
        left: 10px
    }

    .journey-line {
        grid-template-columns:repeat(2, 1fr);
        row-gap: 36px
    }

    .journey-line::before {
        display: none
    }

    .eco-node {
        width: 82px;
        height: 82px;
        font-size: .72rem
    }

    .ecosystem-visual {
        min-height: 430px
    }

    .signup-shell {
        width: min(760px, calc(100% - 28px));
        grid-template-columns:1fr;
        gap: 30px;
        padding: 34px 0 48px
    }

    .signup-shell .brand-column {
        text-align: center
    }

    .brand-topline {
        justify-content: center
    }

    .signup-shell .brand-copy {
        margin-top: 36px;
        max-width: none
    }

    .brand-lead {
        margin-left: auto;
        margin-right: auto
    }

    .motion-message {
        justify-content: center;
        text-align: right;
        width: fit-content;
        margin-right: auto;
        margin-left: auto
    }

    .signup-shell .benefits {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        text-align: right
    }
}

@media (max-width: 900px) {
    .app-shell .sidebar {
        transform: translateX(102%);
        transition: .3s;
        width: 290px
    }

    .app-shell .sidebar.open {
        transform: translateX(0)
    }

    .sidebar-close {
        display: block
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        display: block
    }

    .overlay.show {
        opacity: 1;
        visibility: visible
    }

    .main-area {
        width: 100%;
        margin-right: 0
    }

    .mobile-menu {
        display: grid
    }

    .topbar {
        padding: 0 18px
    }

    .content {
        padding: 28px 18px 10px
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 76px 0
    }

    .hero-content h1 {
        font-size: 2.35rem
    }

    .hero-content .lead {
        font-size: .94rem
    }

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

    .hero-stats {
        margin-top: 1rem !important
    }

    .hero-badge {
        top: 10px;
        right: 10px;
        font-size: .68rem
    }

    .floating-card-right {
        bottom: 10px;
        left: 10px
    }

    .floating-card strong {
        font-size: .73rem
    }

    .service-card p {
        min-height: auto
    }

    .ecosystem-visual {
        min-height: 380px
    }

    .eco-center {
        width: 130px;
        height: 130px
    }

    .eco-center strong {
        font-size: 1.5rem
    }

    .eco-center span {
        font-size: 1.8rem
    }

    .infinity-ring {
        border-width: 14px
    }

    .infinity-ring::after {
        border-width: 14px
    }

    .eco-node {
        width: 68px;
        height: 68px;
        font-size: .62rem
    }

    .eco-node i {
        font-size: .9rem
    }

    .n1 {
        top: 7%;
        right: 4%
    }

    .n2 {
        top: 20%;
        left: 2%
    }

    .n3 {
        top: 52%;
        right: 2%
    }

    .n4 {
        bottom: 4%;
        right: 18%
    }

    .n5 {
        bottom: 8%;
        left: 10%
    }

    .n6 {
        top: 50%;
        left: 10%
    }

    .journey-line {
        grid-template-columns:1fr
    }

    .journey-step p {
        max-width: 300px
    }

    .cta-card {
        padding: 34px 24px
    }

    .footer-bottom {
        flex-direction: column
    }

    .store-hero {
        padding-top: 16px
    }

    .store-hero-card {
        border-radius: 26px;
        padding: 24px 20px
    }

    .store-hero-card h1 {
        font-size: 2.45rem
    }

    .store-hero-card p {
        font-size: .88rem
    }

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

    .hero-benefits {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 10px
    }

    .hero-benefits span:last-child {
        grid-column: 1/-1
    }

    .shop-hero-visual {
        min-height: 300px
    }

    .espresso-machine {
        width: 295px;
        height: 185px
    }

    .machine-group {
        top: 73px;
        width: 64px;
        height: 49px
    }

    .machine-group.g1 {
        left: 28px
    }

    .machine-group.g2 {
        right: 28px
    }

    .machine-portafilter {
        top: 102px;
        width: 59px
    }

    .machine-portafilter.p1 {
        left: 32px
    }

    .machine-portafilter.p2 {
        right: 32px
    }

    .machine-tray {
        bottom: 16px
    }

    .machine-cup {
        bottom: 27px;
        transform: translateX(-50%) scale(.84)
    }

    .bean-pack {
        width: 82px;
        height: 118px;
        padding: 10px
    }

    .bean-pack strong {
        font-size: .7rem
    }

    .hero-float-badge {
        left: 0;
        bottom: -4px
    }

    .visual-tag {
        font-size: .63rem
    }

    .toolbar-actions {
        display: grid;
        grid-template-columns:auto 1fr;
        gap: 8px
    }

    .filter-mobile-btn {
        justify-content: center
    }

    .search-box {
        width: 100%;
        grid-column: 1/-1
    }

    .sort-select {
        width: 100%
    }

    .catalog-toolbar p {
        font-size: .75rem
    }

    .product-media {
        height: 320px
    }

    .shop-product-card {
        border-radius: 20px
    }

    .product-info {
        padding: 17px
    }

    .product-info h3 {
        font-size: .98rem
    }

    .product-info p {
        font-size: .68rem
    }

    .add-cart {
        width: 38px;
        height: 38px;
        border-radius: 11px
    }

    .support-card {
        padding: 17px
    }

    .shop-cta-box {
        border-radius: 24px
    }

    .shop-cta-box .btn {
        width: 100%
    }

    .topbar {
        height: auto;
        padding: 14px;
        gap: 10px
    }

    .page-icon {
        width: 44px;
        height: 44px
    }

    .page-title-wrap h1 {
        font-size: 18px
    }

    .page-title-wrap p {
        font-size: 10px
    }

    .top-actions .cart-btn, .top-actions .mini-avatar {
        display: none
    }

    .top-actions {
        gap: 6px
    }

    .content-head {
        align-items: flex-start;
        flex-direction: column
    }

    .date-chip {
        font-size: 10px
    }

    .news-grid {
        grid-template-columns:1fr
    }

    .news-card.wide {
        grid-column: auto;
        display: block
    }

    .wide .news-visual {
        height: 180px
    }

    .news-visual {
        height: 180px
    }

    .content-head h2 {
        font-size: 24px
    }

    .app-shell .footer {
        padding: 18px
    }

    .signup-shell {
        width: min(100% - 20px, 520px);
        padding-top: 24px
    }

    .signup-shell .brand-copy {
        margin-top: 26px
    }

    .brand-copy h1 {
        font-size: 36px
    }

    .brand-lead {
        font-size: 14px
    }

    .motion-text-wrap p {
        font-size: 17px
    }

    .form-card {
        padding: 22px;
        border-radius: 26px
    }

    .form-card::before {
        border-radius: 26px
    }

    .form-header {
        align-items: flex-start
    }

    .form-header h2 {
        font-size: 30px
    }

    .time-badge {
        padding: 8px 10px;
        font-size: 10px
    }

    .role-grid, .field-grid {
        grid-template-columns:1fr
    }

    .field.full {
        grid-column: auto
    }

    .form-actions {
        flex-direction: column-reverse
    }

    .secondary-btn, .form-actions .primary-btn {
        width: 100%
    }

    .step-line {
        flex: 1
    }

    .intro-progress {
        bottom: 28px
    }

    .logo-name {
        font-size: 60px
    }
}

@media (max-width: 480px) {
    .hero-benefits {
        grid-template-columns:1fr
    }

    .hero-benefits span:last-child {
        grid-column: auto
    }

    .shop-hero-visual {
        min-height: 270px
    }

    .espresso-machine {
        width: 255px;
        height: 165px
    }

    .bean-pack {
        right: 0
    }

    .hero-float-badge {
        left: -8px
    }

    .category-pill {
        font-size: .71rem
    }

    .catalog-toolbar h2 {
        font-size: 1.55rem
    }

    .product-media {
        height: 312px
    }

    .topbar {
        align-items: flex-start
    }

    .page-title-wrap {
        align-items: flex-start
    }

    .page-title-wrap p {
        display: none
    }

    .content {
        padding: 22px 13px 8px
    }

    .news-grid {
        gap: 14px
    }

    .news-body {
        padding: 15px
    }

    .news-body h3 {
        font-size: 15px
    }

    .news-body p {
        font-size: 11px;
        line-height: 1.9
    }

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

    .page-icon {
        width: 40px;
        height: 40px;
        font-size: 19px
    }

    .content-head h2 {
        font-size: 22px
    }

    .date-chip {
        padding: 9px 11px
    }

    .signup-shell {
        width: calc(100% - 20px)
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

/* =========================================================
   CAFE START / راه‌اندازی کافه
========================================================= */

.cafe-start-section {
    padding: 90px 0;
    background: var(--bg-main);
}

.cafe-start-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
    gap: 70px;
    align-items: center;
}

/* ========================================
   COMING SOON SERVICE CARD
======================================== */

.service-card-coming-soon {
    position: relative;
    overflow: hidden;
}

.coming-soon-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.service-card-coming-soon .service-icon {
    opacity: 0.65;
}

.service-card-coming-soon h3,
.service-card-coming-soon p {
    opacity: 0.7;
}

.service-disabled-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: default;
}

.service-disabled-link i {
    font-size: 0.75rem;
}

.service-card-coming-soon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
            135deg,
            transparent 50%,
            rgba(0, 0, 0, 0.025)
    );
}


/* =========================================================
   INTRO
========================================================= */

.cafe-start-intro {
    max-width: 650px;
}

.cafe-start-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cafe-start-intro h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.cafe-start-intro h1 span {
    display: block;
    color: var(--text-secondary);
}

.cafe-start-intro > p {
    margin: 24px 0 0;
    max-width: 610px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2.2;
}


/* =========================================================
   GUIDE
========================================================= */

.cafe-start-guide {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.cafe-start-guide-title {
    margin-bottom: 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 800;
}

.cafe-start-guide-list {
    display: grid;
    gap: 15px;
}

.cafe-start-guide-list > div {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.cafe-start-guide-list span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    background: var(--surface);
    font-size: 10px;
    font-weight: 800;
}

.cafe-start-guide-list p {
    margin: 2px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.95;
}


/* =========================================================
   NOTE
========================================================= */

.cafe-start-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}

.cafe-start-note-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    font-size: 19px;
}

.cafe-start-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}

.cafe-start-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.95;
}


/* =========================================================
   FORM CARD
========================================================= */

.cafe-start-form-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.cafe-start-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.cafe-start-form-header > div:first-child > span {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 11px;
}

.cafe-start-form-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.cafe-start-form-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    font-size: 22px;
}


/* =========================================================
   FIELD
========================================================= */

.cafe-start-field {
    display: grid;
    gap: 9px;
}

.cafe-start-field label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}

.cafe-start-field textarea {
    width: 100%;
    min-height: 270px;
    resize: vertical;
    padding: 17px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 2.1;
    transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.cafe-start-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.cafe-start-field textarea:focus {
    border-color: var(--brand-primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06);
    color: var(--text-primary);
}

.cafe-start-field small {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   FORM BOTTOM
========================================================= */

.cafe-start-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cafe-start-security {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 270px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cafe-start-security i {
    color: var(--success);
    font-size: 15px;
    margin-top: 2px;
}

.cafe-start-submit {
    min-width: 170px;
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.cafe-start-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cafe-start-submit i {
    transition: transform var(--transition-fast);
}

.cafe-start-submit:hover i {
    transform: translateX(-4px);
}


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

@media (max-width: 991.98px) {

    .cafe-start-section {
        padding: 70px 0;
    }

    .cafe-start-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cafe-start-intro {
        max-width: 800px;
    }

    .cafe-start-form-card {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }
}


@media (max-width: 767.98px) {

    .cafe-start-section {
        padding: 55px 0;
    }

    .cafe-start-intro h1 {
        font-size: 2.5rem;
    }

    .cafe-start-intro > p {
        font-size: 14px;
        line-height: 2;
    }

    .cafe-start-guide {
        margin-top: 28px;
        padding-top: 22px;
    }

    .cafe-start-note {
        padding: 15px;
    }

    .cafe-start-form-card {
        padding: 22px;
        border-radius: var(--radius-lg);
    }

    .cafe-start-form-header h2 {
        font-size: 23px;
    }

    .cafe-start-form-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .cafe-start-field textarea {
        min-height: 230px;
    }

    .cafe-start-form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .cafe-start-security {
        max-width: none;
    }

    .cafe-start-submit {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .cafe-start-intro h1 {
        font-size: 2.1rem;
    }

    .cafe-start-guide-list > div {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 9px;
    }

    .cafe-start-guide-list p {
        font-size: 12px;
    }

    .cafe-start-note {
        flex-direction: column;
    }

    .cafe-start-form-card {
        padding: 18px;
    }

    .cafe-start-form-header {
        align-items: flex-start;
    }
}

/* =========================================================
   AUTH / LOGIN PAGE
========================================================= */

.auth-page {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-main);
    padding: 70px 0;
}

.auth-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-bg-shape-1 {
    width: 480px;
    height: 480px;
    top: -260px;
    right: -180px;
    background: var(--bg-soft);
}

.auth-bg-shape-2 {
    width: 350px;
    height: 350px;
    bottom: -220px;
    left: -150px;
    background: var(--bg-soft);
}

.auth-wrapper {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(420px, 510px) minmax(0, 1fr);
    align-items: center;
    gap: 90px;
}


/* =========================================================
   AUTH CARD
========================================================= */

.auth-card {
    width: 100%;
    padding: 38px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 34px;
}

.auth-brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.auth-brand-name {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .14em;
}

.auth-brand > span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
}


/* =========================================================
   HEADER
========================================================= */

.auth-header {
    margin-bottom: 27px;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
}

.auth-title {
    margin: 13px 0 7px;
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
}

.auth-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 2;
}


/* =========================================================
   FORM
========================================================= */

.auth-field {
    margin-bottom: 17px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.auth-field .form-control {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}

.auth-field .form-control::placeholder {
    color: var(--text-primary);
}

.auth-field .form-control:focus {
    border-color: var(--brand-primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, .05);
}


/* =========================================================
   PASSWORD
========================================================= */

.auth-password-field {
    position: relative;
}

.auth-password-field .auth-field {
    margin-bottom: 17px;
}

.password-toggle {
    position: absolute;
    left: 12px;
    bottom: 11px;
    width: 34px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
}

.password-toggle:hover {
    color: var(--text-primary);
}


/* =========================================================
   OPTIONS
========================================================= */

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 3px;
    margin-bottom: 22px;
}

.auth-remember {
    margin: 0;
}

.auth-remember .form-check {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 0;
    margin: 0;
}

.auth-remember .form-check-input {
    float: none;
    margin: 0;
    width: 15px;
    height: 15px;
    border-color: var(--border-color);
}

.auth-remember .form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.auth-remember .form-check-label {
    color: var(--text-muted);
    font-size: 10px;
    cursor: pointer;
}

.forgot-password {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
}

.forgot-password:hover {
    color: var(--text-primary);
}


/* =========================================================
   BUTTON
========================================================= */

.auth-submit-wrapper {
    position: relative;
    width: 100%;
}

.auth-btn {
    width: 100%;
    height: 54px;
    padding: 0 58px 0 20px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-btn-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .12);
    color: var(--btn-primary-text);
    pointer-events: none;
}


/* =========================================================
   FOOTER
========================================================= */

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
}

.auth-footer a {
    color: var(--text-primary);
    font-weight: 800;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   SIDE CONTENT
========================================================= */

.auth-side-content {
    position: relative;
    min-height: 480px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-side-eyebrow {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.auth-side-content h2 {
    max-width: 540px;
    margin: 14px 0 20px;
    color: var(--text-primary);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.auth-side-content h2 span {
    display: block;
    color: var(--text-secondary);
}

.auth-side-content > p {
    max-width: 520px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.1;
}

.auth-side-items {
    margin-top: 32px;
    display: grid;
    gap: 13px;
    max-width: 500px;
}

.auth-side-items > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-side-items span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 9px;
    font-weight: 800;
}

.auth-side-items p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.auth-infinity {
    position: absolute;
    left: -20px;
    bottom: -40px;
    color: var(--bg-soft);
    font-size: 250px;
    line-height: 1;
    font-weight: 800;
    z-index: -1;
}


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

@media (max-width: 991.98px) {

    .auth-page {
        padding: 55px 0;
    }

    .auth-wrapper {
        max-width: 560px;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .auth-side-content {
        min-height: auto;
        padding: 0 10px;
        text-align: center;
        align-items: center;
        order: -1;
    }

    .auth-side-content h2 {
        font-size: 2.8rem;
    }

    .auth-side-content > p {
        max-width: 600px;
    }

    .auth-side-items {
        width: 100%;
        text-align: right;
    }

    .auth-infinity {
        display: none;
    }
}


@media (max-width: 767.98px) {

    .auth-page {
        padding: 35px 0;
    }

    .auth-wrapper {
        width: 100%;
    }

    .auth-card {
        padding: 25px 20px;
        border-radius: var(--radius-lg);
    }

    .auth-side-content {
        padding: 0;
    }

    .auth-side-content h2 {
        font-size: 2.2rem;
    }

    .auth-side-content > p {
        font-size: 13px;
    }

    .auth-side-items {
        margin-top: 24px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .forgot-password {
        align-self: flex-start;
    }
}


@media (max-width: 480px) {

    .auth-title {
        font-size: 26px;
    }

    .auth-subtitle {
        font-size: 11px;
    }

    .auth-brand {
        margin-bottom: 26px;
    }

    .auth-brand-mark {
        width: 52px;
        height: 52px;
    }

    .auth-side-content h2 {
        font-size: 1.9rem;
    }

    .auth-side-content > p {
        font-size: 12px;
    }
}

/* =========================================================
   SINGLE PRODUCT / EDITORIAL COMMERCE
========================================================= */

.single-product {
    padding: 45px 0 100px;
    background: var(--bg-main);
}


/* =========================================================
   TOP BAR
========================================================= */

.single-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
}

.single-product-index,
.single-product-category {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.single-product-category {
    color: var(--text-primary);
}


/* =========================================================
   HERO
========================================================= */

.single-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    min-height: 700px;
}


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

.single-product-image-side {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    overflow: hidden;
}

.single-product-image-side::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: var(--bg-soft);
}

.single-product-number {
    position: absolute;
    top: 35px;
    right: 0;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.single-product-image {
    position: relative;
    z-index: 2;
    width: min(78%, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product-image img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.single-product-caption {
    position: absolute;
    bottom: 28px;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: .15em;
}


/* =========================================================
   INFO
========================================================= */

.single-product-info {
    padding: 95px 55px 50px;
}

.single-product-heading h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.05em;
}

.single-product-heading p {
    max-width: 500px;
    margin: 24px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2.1;
}

.single-product-price {
    margin-top: 45px;
}

.single-product-price small {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-bottom: 5px;
}

.single-product-price strong {
    color: var(--text-primary);
    font-size: 34px;
    font-weight: 800;
}

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

.single-product-divider {
    width: 100%;
    height: 1px;
    margin: 35px 0;
    background: var(--border-color);
}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.single-product-login {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.single-product-login-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-primary);
    color: var(--brand-white);
}

.single-product-login strong {
    display: block;
    color: var(--text-primary);
    font-size: 12px;
    margin-bottom: 3px;
}

.single-product-login p {
    margin: 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   FORM
========================================================= */

.single-product-form {
    width: 100%;
}

.single-product-order {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.single-product-quantity {
    flex: 1;
}

.single-product-quantity > span {
    display: block;
    margin-bottom: 7px;
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 700;
}

.single-product-quantity-box {
    width: max-content;
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.single-product-quantity-box button {
    width: 44px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
}

.single-product-quantity-box button:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.single-product-quantity-box input {
    width: 65px;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

.single-product-quantity-box input::-webkit-inner-spin-button,
.single-product-quantity-box input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product-cart-status {
    min-width: 125px;
    padding: 11px 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.single-product-cart-status span,
.single-product-cart-status strong {
    display: block;
}

.single-product-cart-status span {
    color: var(--text-muted);
    font-size: 10px;
}

.single-product-cart-status strong {
    margin-top: 3px;
    color: var(--text-primary);
    font-size: 13px;
}


/* =========================================================
   MAIN ACTION
========================================================= */

.single-product-action {
    width: 100%;
    min-height: 55px;
    margin-top: 15px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.single-product-action:hover {
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   FEATURES
========================================================= */

.single-product-features {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.single-product-features > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 10px;
}

.single-product-features i {
    color: var(--text-primary);
    font-size: 14px;
}


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

.single-product-description {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    margin-top: 65px;
    padding-top: 35px;
    border-top: 1px solid var(--border-color);
}

.single-product-description-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-left: 30px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
}

.single-product-description-content {
    max-width: 850px;
}

.single-product-description-content h2 {
    margin: 0 0 18px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 800;
}

.single-product-description-content > div {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2.3;
}


/* =========================================================
   INFO TILES
========================================================= */

.single-product-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.info-tile {
    padding: 28px 20px;
    border-left: 1px solid var(--border-color);
}

.info-tile:last-child {
    border-left: 0;
}

.info-tile span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    margin-bottom: 17px;
}

.info-tile strong {
    display: block;
    color: var(--text-primary);
    font-size: 12px;
    margin-bottom: 5px;
}

.info-tile p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 11px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.single-product-bottom {
    margin-top: 70px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--brand-gray-dark);
    color: var(--bg-section);
    border-radius: var(--radius-xl);
}

.single-product-bottom > div > span {
    font-size: 9px;
    opacity: .55;
    letter-spacing: .15em;
}

.single-product-bottom h2 {
    max-width: 600px;
    margin: 10px 0 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
}

.single-product-bottom-btn {
    flex: 0 0 auto;
    min-width: 170px;
    min-height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    background: var(--brand-gray-dark);
    color: var(--bg-section);
    font-size: 11px;
    font-weight: 800;
}

.single-product-bottom-btn:hover {
    color: var(--brand-primary);
}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .single-product-image-side::before {
    background: var(--bg-soft);
}

[data-theme="dark"] .single-product-login,
[data-theme="dark"] .single-product-quantity-box,
[data-theme="dark"] .single-product-cart-status {
    background: var(--bg-soft);
}


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

@media (max-width: 991.98px) {
    .single-product-caption {
        bottom: 2px;
    }

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

    .single-product-image-side {
        min-height: 560px;
        border-left: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .single-product-info {
        padding: 60px 0 0;
    }

    .single-product-description {
        grid-template-columns: 150px minmax(0, 1fr);
    }

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

    .info-tile:nth-child(2) {
        border-left: 0;
    }

    .info-tile:nth-child(3),
    .info-tile:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .single-product-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 767.98px) {

    .single-product {
        padding: 25px 0 70px;
    }

    .single-product-top {
        padding-bottom: 16px;
    }

    .single-product-image-side {
        min-height: 420px;
    }

    .single-product-image {
        width: 88%;
    }

    .single-product-image-side::before {
        width: 300px;
        height: 300px;
    }

    .single-product-info {
        padding-top: 40px;
    }

    .single-product-heading h1 {
        font-size: 2.5rem;
    }

    .single-product-heading p {
        font-size: 12px;
    }

    .single-product-price strong {
        font-size: 28px;
    }

    .single-product-order {
        flex-direction: column;
        align-items: stretch;
    }

    .single-product-cart-status {
        width: 100%;
    }

    .single-product-description {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .single-product-description-label {
        padding-left: 0;
    }

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

    .info-tile {
        border-left: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .info-tile:last-child {
        border-bottom: 0;
    }

    .single-product-bottom {
        padding: 30px 22px;
        border-radius: var(--radius-lg);
    }

    .single-product-bottom-btn {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .single-product-image-side {
        min-height: 330px;
    }

    .single-product-heading h1 {
        font-size: 2rem;
    }

    .single-product-caption {
        font-size: 7px;
    }

    .single-product-features {
        margin-top: 18px;
    }
}


/*blogs*/
/* =========================================================
   ASH BLOG
========================================================= */

.ash-blog-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 85px;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.ash-blog-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ash-blog-hero-orb-1 {
    width: 420px;
    height: 420px;
    top: -260px;
    right: -130px;
    background: var(--bg-soft);
}

.ash-blog-hero-orb-2 {
    width: 280px;
    height: 280px;
    bottom: -220px;
    left: -100px;
    background: var(--bg-section);
}

.ash-blog-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 72px;
    color: var(--text-muted);
    font-size: 11px;
}

.ash-blog-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 800;
}

.ash-blog-breadcrumb i {
    font-size: 9px;
    color: var(--brand-gray);
}

.ash-blog-breadcrumb-logo {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-size: 17px;
}

.ash-blog-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 50px;
    align-items: end;
}

.ash-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--bg-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ash-blog-hero h1 {
    max-width: 800px;
    margin: 18px 0 20px;
    color: var(--text-primary);
    font-size: clamp(1rem, 6vw, 2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.055em;
}

.ash-blog-hero h1 span {
    display: block;
    color: var(--text-secondary);
}

.ash-blog-hero-content > div:first-child p {
    max-width: 720px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.15;
}

.ash-blog-hero-side {
    min-height: 150px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
    color: var(--text-muted);
}

.ash-blog-hero-side span {
    font-size: 11px;
}

.ash-blog-hero-side strong {
    color: var(--text-primary);
    font-size: 22px;
}

.ash-blog-hero-side i {
    color: var(--text-primary);
    font-size: 20px;
}


/* =========================================================
   PAGE
========================================================= */

.ash-blog-page {
    padding: 70px 0 110px;
    background: var(--bg-main);
}


/* =========================================================
   SIDEBAR
========================================================= */

.ash-blog-sidebar {
    position: sticky;
    top: 100px;
}

.ash-blog-widget {
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.ash-blog-widget + .ash-blog-widget,
.ash-blog-brand-note + .ash-blog-widget {
    margin-top: 16px;
}

.ash-blog-widget-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.ash-blog-widget-head span {
    color: var(--text-muted);
    font-size: 9px;
}

.ash-blog-widget-head h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.ash-blog-categories {
    display: grid;
}

.ash-blog-categories a {
    min-height: 45px;
    padding: 8px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 11px;
    transition: color var(--transition-fast),
    padding var(--transition-fast);
}

.ash-blog-categories a:last-child {
    border-bottom: 0;
}

.ash-blog-categories a:hover,
.ash-blog-categories a.active {
    padding-right: 7px;
    color: var(--text-primary);
}

.ash-blog-categories a.active {
    font-weight: 800;
}

.ash-blog-categories small {
    color: var(--text-muted);
    font-size: 9px;
}

.ash-blog-categories i {
    font-size: 11px;
    opacity: 0;
    transform: translateX(5px);
    transition: var(--transition-fast);
}

.ash-blog-categories a:hover i,
.ash-blog-categories a.active i {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   BRAND NOTE
========================================================= */

.ash-blog-brand-note {
    margin-top: 16px;
    padding: 25px 22px;
    border-radius: var(--radius-lg);
    background: var(--brand-primary);
    color: var(--brand-white);
}

.ash-blog-brand-note > span {
    font-size: 9px;
    letter-spacing: .18em;
    opacity: .55;
}

.ash-blog-brand-note h3 {
    margin: 16px 0 12px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 800;
}

.ash-blog-brand-note p {
    margin: 0;
    color: rgba(255, 255, 255, .63);
    font-size: 10px;
    line-height: 1.9;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.ash-blog-newsletter-label {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.ash-blog-newsletter h3 {
    margin: 12px 0 8px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.6;
}

.ash-blog-newsletter > p {
    margin: 0 0 15px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.9;
}

.ash-blog-newsletter form {
    display: grid;
    gap: 8px;
}

.ash-blog-newsletter input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: 0;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 11px;
}

.ash-blog-newsletter button {
    min-height: 43px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   CONTENT HEADER
========================================================= */

.ash-blog-content-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
}

.ash-blog-content-head > div:first-child > span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ash-blog-content-head h2 {
    margin: 8px 0 0;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 800;
}

.ash-blog-count {
    color: var(--text-muted);
    font-size: 10px;
}


/* =========================================================
   ARTICLE CARD
========================================================= */


.ash-article-card {
    height: 70%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.ash-article-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-gray);
    box-shadow: var(--shadow-md);
}

.ash-article-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--bg-soft);
}

.ash-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.ash-article-card:hover .ash-article-image img {
    transform: scale(1.035);
}

.ash-article-image-arrow {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    opacity: .92;
}

.ash-article-content {
    min-width: 0;
    padding: 24px 27px;
    display: flex;
    flex-direction: column;
}

.ash-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-muted);
    font-size: 9px;
}

.ash-article-category {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 10px;
}

.ash-article-content h3 {
    margin: 13px 0 10px;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 800;
}

.ash-article-content h3 a {
    color: var(--text-primary);
}

.ash-article-content h3 a:hover {
    color: var(--text-secondary);
}

.ash-article-intro {
    display: -webkit-box;
    max-width: 720px;
    margin: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ash-article-footer {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--border-color);
}

.ash-article-comments {
    color: var(--text-muted);
    font-size: 9px;
}

.ash-article-comments i {
    margin-left: 4px;
}

.ash-article-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
}

.ash-article-read i {
    transition: transform var(--transition-fast);
}

.ash-article-read:hover i {
    transform: translateX(-4px);
}


/* =========================================================
   EMPTY
========================================================= */

.ash-blog-empty {
    padding: 70px 25px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.ash-blog-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 22px;
}

.ash-blog-empty h3 {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: 17px;
}

.ash-blog-empty p {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 11px;
}

.ash-blog-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   DARK
========================================================= */

[data-theme="dark"] .ash-blog-hero {
    background: var(--bg-main);
}

[data-theme="dark"] .ash-blog-brand-note {
    background: var(--brand-primary);
    color: var(--brand-white);
}

[data-theme="dark"] .ash-blog-newsletter input {
    background: var(--bg-soft);
}


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

@media (max-width: 991.98px) {

    .ash-blog-hero {
        padding-bottom: 60px;
    }

    .ash-blog-breadcrumb {
        margin-bottom: 50px;
    }

    .ash-blog-hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ash-blog-hero-side {
        min-height: auto;
        padding: 16px 0 0;
        border-right: 0;
        border-top: 1px solid var(--border-color);
        flex-direction: row;
        align-items: center;
    }

    .ash-blog-sidebar {
        position: static;
    }

    .ash-blog-widget {
        margin-bottom: 0;
    }

    .ash-blog-brand-note {
        display: none;
    }

    .ash-blog-newsletter {
        display: none;
    }

    .ash-blog-hero h1 {
        max-width: 700px;
    }
}


@media (max-width: 767.98px) {

    .ash-blog-hero {
        padding: 25px 0 45px;
    }

    .ash-blog-breadcrumb {
        margin-bottom: 38px;
    }

    .ash-blog-hero h1 {
        font-size: 1rem;
    }

    .ash-blog-hero-content > div:first-child p {
        font-size: 13px;
    }

    .ash-blog-page {
        padding: 45px 0 70px;
    }

    .ash-blog-content-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-blog-content-head h2 {
        font-size: 23px;
    }

    .ash-article-card {
        grid-template-columns: 1fr;
    }

    .ash-article-image {
        min-height: 220px;
    }

    .ash-article-content {
        padding: 19px;
    }

    .ash-article-content h3 {
        font-size: 18px;
    }

    .ash-blog-categories {
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
    }
}


@media (max-width: 480px) {

    .ash-blog-hero h1 {
        font-size: 1rem;
    }

    .ash-blog-hero-side {
        display: none;
    }

    .ash-blog-categories {
        grid-template-columns: 1fr;
    }

    .ash-article-image {
        min-height: 190px;
    }

    .ash-article-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   ASH ARTICLE DETAIL
========================================================= */

.ash-article-hero {
    position: relative;
    overflow: hidden;
    padding: 35px 0 70px;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.ash-article-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ash-article-hero-orb-1 {
    width: 450px;
    height: 450px;
    top: -300px;
    right: -140px;
    background: var(--bg-soft);
}

.ash-article-hero-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -230px;
    left: -110px;
    background: var(--bg-section);
}

.ash-article-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 65px;
    color: var(--text-muted);
    font-size: 10px;
}

.ash-article-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 800;
}

.ash-article-breadcrumb i {
    color: var(--brand-gray);
    font-size: 8px;
}

.ash-article-breadcrumb-mark {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-size: 16px;
}

.ash-article-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 55px;
    align-items: end;
}


.ash-article-head h1 {
    max-width: 930px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1rem, 5vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.055em;
}

.ash-article-lead {
    max-width: 800px;
    margin: 24px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2.15;
}

.ash-article-meta {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 35px;
    margin-bottom: 30px;
}

.ash-article-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ash-article-meta span {
    color: var(--text-muted);
    font-size: 8px;
}

.ash-article-meta strong {
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
}

.ash-article-hero-side {
    min-height: 170px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
}

.ash-article-index-number {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 800;
}

.ash-article-hero-side span {
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: .14em;
}

.ash-article-hero-side strong {
    color: var(--text-primary);
    font-size: 19px;
    line-height: 1.4;
}

.ash-article-hero-side i {
    color: var(--text-primary);
    font-size: 17px;
}


/* =========================================================
   PAGE
========================================================= */

.ash-article-page {
    padding: 65px 0 110px;
    background: var(--bg-main);
}

.ash-article-main {
    min-width: 0;
}


/* =========================================================
   MEDIA
========================================================= */

.ash-article-featured-media {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
}

.ash-article-featured-media img,
.ash-article-featured-media video {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.ash-article-featured-media video {
    background: #000;
}


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

.ash-article-body {
    margin-top: 28px;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.ash-article-introduction {
    padding-bottom: 28px;
    margin-bottom: 28px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 2.35;
    border-bottom: 1px solid var(--border-color);
}

.ash-article-toc {
    margin-bottom: 35px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
}

.ash-article-toc-toggle {
    width: 100%;
    min-height: 55px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.ash-article-toc-toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ash-article-toc-toggle > span i {
    font-size: 15px;
}

.ash-article-toc-toggle > i {
    transition: transform var(--transition-fast);
}

.ash-article-toc-toggle:not(.collapsed) > i {
    transform: rotate(180deg);
}

.ash-article-toc-content {
    padding: 0 18px 18px;
    display: grid;
    gap: 7px;
}

.ash-article-toc-content a {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
    line-height: 1.8;
}

.ash-article-toc-content a:last-child {
    border-bottom: 0;
}

.ash-article-toc-content a:hover {
    color: var(--text-primary);
}


/* =========================================================
   ARTICLE SECTIONS
========================================================= */

.ash-article-posts {
    display: grid;
    gap: 48px;
}

.ash-article-section {
    scroll-margin-top: 100px;
}

.ash-article-section h2 {
    margin: 0 0 18px;
    color: var(--text-primary);
    font-size: 27px;
    line-height: 1.5;
    font-weight: 800;
}

.ash-article-post-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2.25;
}

.ash-article-post-text p {
    margin-bottom: 1.3rem;
}

.ash-article-post-text ul,
.ash-article-post-text ol {
    padding-right: 22px;
}

.ash-article-post-text li {
    margin-bottom: 8px;
}

.ash-article-post-image {
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}

.ash-article-post-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.ash-article-tip {
    margin-top: 22px;
    padding: 17px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}

.ash-article-tip-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-primary);
    color: var(--brand-white);
}

.ash-article-tip span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
}

.ash-article-tip p {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.9;
}


/* =========================================================
   TAGS
========================================================= */

.ash-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 9px;
}

.ash-article-tags a {
    color: var(--text-primary);
    font-weight: 800;
}


/* =========================================================
   SIDEBAR
========================================================= */

.ash-article-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.ash-article-side-card {
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.ash-article-summary {
    background: var(--bg-soft);
}

.ash-article-summary > span,
.ash-side-title > span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.ash-article-summary h3 {
    margin: 13px 0 9px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 800;
}

.ash-article-summary p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.9;
}

.ash-side-title {
    margin-bottom: 18px;
}

.ash-side-title h3 {
    margin: 7px 0 0;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 800;
}

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

.ash-related-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 11px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.ash-related-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ash-related-image {
    height: 72px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.ash-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ash-related-item span,
.ash-related-item strong {
    display: block;
}

.ash-related-item span {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 8px;
}

.ash-related-item strong {
    color: var(--text-primary);
    font-size: 10px;
    line-height: 1.8;
}

.ash-related-item:hover strong {
    text-decoration: underline;
}


/* =========================================================
   SIDEBAR CTA
========================================================= */

.ash-article-side-cta {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    color: var(--text-primary);
}

.ash-article-side-cta > span {
    font-size: 9px;
    letter-spacing: .15em;
    opacity: .55;
}

.ash-article-side-cta h3 {
    margin: 14px 0 9px;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
}

.ash-article-side-cta p {
    margin: 0;
    color: var(--text-primary);
    font-size: 10px;
    line-height: 1.9;
}

.ash-article-side-cta a {
    min-height: 44px;
    margin-top: 18px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-sm);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 10px;
    font-weight: 800;
}

.ash-article-side-cta a:hover {
    color: var(--brand-primary);
}


/* =========================================================
   FAQ
========================================================= */

.ash-article-faq {
    margin-top: 28px;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.ash-article-section-heading {
    margin-bottom: 22px;
}

.ash-article-section-heading > span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ash-article-section-heading h2 {
    margin: 8px 0 0;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
}

.ash-article-faq .accordion-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.ash-article-faq .accordion-item + .accordion-item {
    margin-top: 10px;
}

.ash-article-faq .accordion-button {
    min-height: 55px;
    padding: 0 16px;
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
}

.ash-article-faq .accordion-button:not(.collapsed) {
    background: var(--bg-soft);
}

.ash-article-faq .accordion-button::after {
    filter: grayscale(1);
}

.ash-article-faq .accordion-body {
    padding: 17px;
    color: var(--text-secondary);
    background: var(--bg-soft);
    font-size: 11px;
    line-height: 2;
}


/* =========================================================
   COMMENTS
========================================================= */

.ash-comments-section {
    margin-top: 28px;
}

.ash-comments-list {
    display: grid;
    gap: 12px;
}

.ash-comment-card {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.ash-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.ash-comment-user {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ash-comment-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-size: 12px;
    font-weight: 800;
}

.ash-comment-user strong {
    color: var(--text-primary);
    font-size: 10px;
}

.ash-comment-head > span {
    color: var(--text-muted);
    font-size: 8px;
}

.ash-comment-card > p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.95;
}

.ash-comment-reply {
    margin-top: 14px;
    padding: 13px;
    border-right: 2px solid var(--brand-primary);
    background: var(--bg-soft);
}

.ash-comment-reply span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-size: 9px;
    font-weight: 800;
}

.ash-comment-reply p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.8;
}

.ash-no-comments {
    padding: 35px 20px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-muted);
}

.ash-no-comments i {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 24px;
}

.ash-no-comments p {
    margin: 0;
    font-size: 10px;
}


/* =========================================================
   COMMENT FORM
========================================================= */

.ash-comment-form {
    margin-top: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.ash-comment-form .form-label {
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 700;
}

.ash-comment-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text-primary);
    box-shadow: none;
    font-size: 11px;
}

.ash-comment-form .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .05);
    background: var(--surface);
}

.ash-captcha {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 7px;
    align-items: center;
}

.ash-captcha img {
    max-width: 100px;
    height: 42px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.ash-captcha button {
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 9px;
}

.ash-comment-submit {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ash-comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   DARK
========================================================= */

[data-theme="dark"] .ash-article-summary,
[data-theme="dark"] .ash-article-toc,
[data-theme="dark"] .ash-article-tip,
[data-theme="dark"] .ash-article-faq .accordion-button:not(.collapsed),
[data-theme="dark"] .ash-article-faq .accordion-body,
[data-theme="dark"] .ash-comment-reply {
    background: var(--bg-soft);
}

[data-theme="dark"] .ash-article-featured-media,
[data-theme="dark"] .ash-article-post-image {
    background: var(--bg-soft);
}


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

@media (max-width: 1199.98px) {

    .ash-article-hero-grid {
        grid-template-columns: 1fr 150px;
    }

    .ash-article-meta {
        gap: 22px;
    }

    .ash-article-sidebar {
        position: static;
    }

}


@media (max-width: 991.98px) {

    .ash-article-hero {
        padding-bottom: 55px;
    }

    .ash-article-breadcrumb {
        margin-bottom: 45px;
    }

    .ash-article-hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ash-article-hero-side {
        min-height: auto;
        padding: 16px 0 0;
        border-right: 0;
        border-top: 1px solid var(--border-color);
        flex-direction: row;
        align-items: center;
    }

    .ash-article-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .ash-article-body {
        padding: 28px;
    }
}


@media (max-width: 767.98px) {

    .ash-article-hero {
        padding: 25px 0 45px;
    }

    .ash-article-head h1 {
        font-size: 2.45rem;
    }

    .ash-article-lead {
        font-size: 12px;
    }

    .ash-article-meta {
        gap: 15px;
    }

    .ash-article-page {
        padding: 45px 0 80px;
    }

    .ash-article-featured-media {
        border-radius: var(--radius-lg);
    }

    .ash-article-body {
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .ash-article-introduction {
        font-size: 13px;
        line-height: 2.1;
    }

    .ash-article-section h2 {
        font-size: 21px;
    }

    .ash-article-post-text {
        font-size: 12px;
        line-height: 2.1;
    }

    .ash-article-faq,
    .ash-comment-form {
        padding: 20px;
        border-radius: var(--radius-lg);
    }

    .ash-captcha {
        grid-template-columns: 1fr;
    }

    .ash-captcha img,
    .ash-captcha input,
    .ash-captcha button {
        width: 100%;
    }

    .ash-comment-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 480px) {

    .ash-article-head h1 {
        font-size: 2rem;
    }

    .ash-article-hero-side {
        display: none;
    }

    .ash-article-meta {
        grid-template-columns: 1fr 1fr;
    }

    .ash-article-body {
        padding: 16px;
    }

    .ash-article-section h2 {
        font-size: 19px;
    }

    .ash-article-content {
        padding: 18px;
    }

}

/*سبد خرید*/
/* =========================================================
   ASH CART PAGE
========================================================= */

.ash-cart-page {
    padding: 55px 0 100px;
    background: var(--bg-main);
}


/* =========================================================
   HEADER
========================================================= */

.ash-cart-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.ash-cart-kicker {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ash-cart-header h1 {
    margin: 10px 0 6px;
    color: var(--text-primary);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.ash-cart-header p {
    max-width: 620px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}

.ash-cart-back-shop {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 700;
    transition: border-color var(--transition-fast),
    transform var(--transition-fast);
}

.ash-cart-back-shop:hover {
    border-color: var(--border-dark);
    transform: translateY(-2px);
    color: var(--text-primary);
}


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

.ash-cart-items-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.ash-cart-items-head {
    display: grid;
    grid-template-columns: 1fr 160px 130px 35px;
    gap: 15px;
    align-items: center;
    padding: 17px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
}

.ash-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 160px 130px 35px;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

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


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

.ash-cart-product {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ash-cart-product-image {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}


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

.ash-cart-product-info > span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 8px;
}

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

.ash-cart-product-info h2 a {
    color: var(--text-primary);
}

.ash-cart-product-info h2 a:hover {
    text-decoration: underline;
}

.ash-cart-product-info small {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 9px;
}


/* =========================================================
   QUANTITY
========================================================= */

.ash-cart-quantity {
    width: 100%;
    max-width: 135px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.ash-cart-qty-btn {
    width: 40px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 17px;
}

.ash-cart-qty-btn:hover {
    background: var(--surface-hover);
}

.ash-cart-quantity > span {
    min-width: 25px;
    color: var(--text-primary);
    text-align: center;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   PRICE
========================================================= */

.ash-cart-item-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ash-cart-item-price strong {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}

.ash-cart-item-price span {
    color: var(--text-muted);
    font-size: 8px;
}


/* =========================================================
   REMOVE
========================================================= */

.ash-cart-remove {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast),
    border-color var(--transition-fast);
}

.ash-cart-remove:hover {
    color: var(--danger);
    border-color: var(--danger);
}


/* =========================================================
   CONTINUE
========================================================= */

.ash-cart-continue {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 10px;
}

.ash-cart-continue a {
    color: var(--text-primary);
    font-weight: 700;
}

.ash-cart-continue i {
    font-size: 10px;
}


/* =========================================================
   SUMMARY
========================================================= */

.ash-cart-summary {
    position: sticky;
    top: 100px;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.ash-cart-summary-top {
    padding-bottom: 18px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.ash-cart-summary-top > span {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.ash-cart-summary-top h2 {
    margin: 8px 0 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 800;
}

.ash-cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
}

.ash-cart-summary-row span {
    color: var(--text-secondary);
    font-size: 10px;
}

.ash-cart-summary-row strong {
    color: var(--text-primary);
    font-size: 10px;
}

.ash-cart-summary-divider {
    height: 1px;
    background: var(--border-color);
}

.ash-cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 0;
}

.ash-cart-summary-total span {
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 700;
}

.ash-cart-summary-total strong {
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 800;
}

.ash-cart-summary-total small {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 500;
}

.ash-cart-checkout {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 11px;
    font-weight: 700;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ash-cart-checkout:hover {
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ash-cart-trust {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.ash-cart-trust > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 9px;
}

.ash-cart-trust i {
    color: var(--text-primary);
}


/* =========================================
   ASH - Empty Cart
========================================= */

.ash-cart-empty {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 30px auto 60px;
    padding: 70px 40px 45px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* subtle background shape */

.ash-cart-empty::before {
    content: "";
    position: absolute;
    top: -130px;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--bg-soft);
    pointer-events: none;
}


/* =========================================
   Visual
========================================= */

.ash-cart-empty-visual {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 28px;
}

.ash-cart-empty-circle {
    position: absolute;
    inset: 12px;
    border: 1px dashed var(--border-color);
    border-radius: 50%;
}

.ash-cart-empty-bag {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.ash-cart-empty-bag i {
    font-size: 34px;
    color: var(--brand-primary);
    line-height: 1;
}


/* Decorative lines */

.ash-cart-empty-line {
    position: absolute;
    display: block;
    height: 1px;
    background: var(--brand-gray-light);
}

.ash-line-one {
    width: 30px;
    top: 30px;
    right: 5px;
    transform: rotate(35deg);
}

.ash-line-two {
    width: 22px;
    bottom: 25px;
    left: 3px;
    transform: rotate(-25deg);
}

.ash-line-three {
    width: 16px;
    top: 62px;
    left: 0;
    transform: rotate(90deg);
}


/* =========================================
   Content
========================================= */

.ash-cart-empty-content {
    position: relative;
    z-index: 2;
}

.ash-cart-empty-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.ash-cart-empty-content h2 {
    margin: 0 0 14px;
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.6;
}

.ash-cart-empty-content p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2.1;
}


/* =========================================
   Actions
========================================= */

.ash-cart-empty-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ash-cart-empty-btn {
    min-width: 190px;
    min-height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ash-cart-empty-btn i {
    font-size: 17px;
    transition: transform var(--transition-fast);
}


/* Primary */

.ash-cart-empty-btn-primary {
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-bg);
}

.ash-cart-empty-btn-primary:hover {
    color: var(--btn-primary-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ash-cart-empty-btn-primary:hover i {
    transform: translateX(-4px);
}


/* Secondary */

.ash-cart-empty-btn-secondary {
    color: var(--btn-secondary-text);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
}

.ash-cart-empty-btn-secondary:hover {
    color: var(--btn-secondary-text);
    background: var(--surface-hover);
    transform: translateY(-2px);
}


/* =========================================
   Features
========================================= */

.ash-cart-empty-features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.ash-cart-empty-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.ash-cart-empty-feature i {
    color: var(--text-primary);
    font-size: 16px;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 767.98px) {

    .ash-cart-empty {
        margin: 15px auto 30px;
        padding: 50px 20px 30px;
        border-radius: var(--radius-lg);
    }

    .ash-cart-empty-visual {
        width: 130px;
        height: 130px;
        margin-bottom: 22px;
    }

    .ash-cart-empty-bag {
        width: 74px;
        height: 74px;
    }

    .ash-cart-empty-bag i {
        font-size: 30px;
    }

    .ash-cart-empty-content h2 {
        font-size: 24px;
        line-height: 1.7;
    }

    .ash-cart-empty-content p {
        font-size: 13px;
        line-height: 2;
    }

    .ash-cart-empty-actions {
        flex-direction: column;
        gap: 10px;
    }

    .ash-cart-empty-btn {
        width: 100%;
        min-width: 0;
    }

    .ash-cart-empty-features {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
        padding-top: 22px;
    }

}


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

@media (max-width: 991.98px) {

    .ash-cart-summary {
        position: static;
    }

}


@media (max-width: 767.98px) {

    .ash-cart-page {
        padding: 35px 0 70px;
    }

    .ash-cart-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-cart-header h1 {
        font-size: 2.3rem;
    }

    .ash-cart-items-head {
        display: none;
    }

    .ash-cart-item {
        grid-template-columns: 1fr auto;
        gap: 15px;
        padding: 18px;
    }

    .ash-cart-product {
        grid-column: 1 / -1;
    }

    .ash-cart-quantity {
        width: 130px;
    }

    .ash-cart-item-price {
        justify-content: flex-end;
    }

    .ash-cart-remove {
        position: absolute;
        top: 18px;
        left: 18px;
    }

}


@media (max-width: 480px) {

    .ash-cart-product-image {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

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

    .ash-cart-item {
        padding: 16px;
    }

    .ash-cart-summary {
        padding: 20px;
    }

}

/*فاکتور*/
/* =========================================================
   ASH INVOICE
========================================================= */

.ash-invoice-page {
    padding: 55px 0 90px;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: calc(100vh - 100px);
}

.ash-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}

.ash-invoice-eyebrow,
.ash-invoice-section-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ash-invoice-header h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

.ash-invoice-header p {
    margin: 12px 0 0;
    color: var(--text-secondary);
    line-height: 1.9;
}

.ash-invoice-number {
    min-width: 150px;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
    text-align: center;
}

.ash-invoice-number span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 7px;
}

.ash-invoice-number strong {
    display: block;
    font-size: 20px;
    color: var(--text-primary);
}


/* CARD */

.ash-invoice-card,
.ash-invoice-summary {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.ash-invoice-card {
    overflow: hidden;
}

.ash-invoice-card-head,
.ash-invoice-summary-head {
    padding: 25px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.ash-invoice-card-head h3,
.ash-invoice-summary-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.ash-invoice-count {
    padding: 8px 13px;
    background: var(--bg-soft);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-secondary);
}


/* PRODUCTS */

.ash-invoice-products {
    padding: 8px 28px;
}

.ash-invoice-product {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
}

.ash-invoice-product:last-child {
    border-bottom: none;
}

.ash-invoice-product-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ash-invoice-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.ash-invoice-product-category {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ash-invoice-product-info h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.ash-invoice-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.ash-invoice-product-meta strong {
    color: var(--text-secondary);
}

.ash-invoice-product-price {
    text-align: left;
    min-width: 125px;
}

.ash-invoice-product-price span,
.ash-invoice-product-price small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
}

.ash-invoice-product-price strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 4px 0;
}


/* ADDRESS */

.ash-invoice-address-card {
    margin-top: 20px;
}

.ash-invoice-address-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ash-invoice-address {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px 28px;
}

.ash-invoice-address > i {
    font-size: 21px;
    margin-top: 3px;
    color: var(--text-primary);
}

.ash-invoice-address p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 2;
    font-size: 14px;
}


/* SUMMARY */

.ash-invoice-summary {
    padding: 0;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.ash-invoice-summary-head {
    display: block;
}

.ash-invoice-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 28px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.ash-invoice-summary-row strong {
    color: var(--text-primary);
    font-weight: 700;
}

.ash-invoice-summary-row small,
.ash-invoice-summary-total small {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.ash-invoice-divider {
    height: 1px;
    background: var(--border-color);
    margin: 25px 28px 0;
}

.ash-invoice-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 24px 28px 28px;
}

.ash-invoice-summary-total span {
    font-size: 15px;
    font-weight: 700;
}

.ash-invoice-summary-total strong {
    font-size: 24px;
    font-weight: 900;
}


/* PAYMENT */

.ash-payment-section {
    padding: 24px 28px 28px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-soft);
}

.ash-payment-title h4 {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 800;
}

.ash-payment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ash-payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ash-payment-option:hover {
    border-color: var(--brand-primary);
}

.ash-payment-option.active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary);
}

.ash-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ash-payment-radio {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
}

.ash-payment-option.active .ash-payment-radio {
    border-color: var(--brand-primary);
}

.ash-payment-option.active .ash-payment-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ash-payment-content {
    min-width: 0;
    flex: 1;
}

.ash-payment-content strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ash-payment-content small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
}

.ash-payment-option > i {
    font-size: 18px;
    color: var(--text-secondary);
}

.ash-invoice-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 8px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-normal);
}

.ash-invoice-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ash-invoice-submit i {
    font-size: 18px;
    transition: var(--transition-fast);
}

.ash-invoice-submit:hover i {
    transform: translateX(-4px);
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .ash-invoice-summary {
        position: static;
    }

    .ash-invoice-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-invoice-number {
        width: 100%;
    }
}

@media (max-width: 767px) {

    .ash-invoice-page {
        padding: 35px 0 60px;
    }

    .ash-invoice-card-head,
    .ash-invoice-summary-head {
        padding: 20px;
    }

    .ash-invoice-products {
        padding: 5px 20px;
    }

    .ash-invoice-product {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
    }

    .ash-invoice-product-image {
        width: 70px;
        height: 70px;
    }

    .ash-invoice-product-price {
        grid-column: 2;
        min-width: 0;
        text-align: right;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ash-invoice-product-price strong {
        font-size: 16px;
        margin: 0;
    }

    .ash-invoice-product-price span,
    .ash-invoice-product-price small {
        display: inline;
    }

    .ash-invoice-product-meta {
        gap: 8px 15px;
        font-size: 11px;
    }

    .ash-invoice-address {
        padding: 20px;
    }

    .ash-invoice-summary-row {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ash-invoice-divider {
        margin-right: 20px;
        margin-left: 20px;
    }

    .ash-invoice-summary-total {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ash-payment-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ash-invoice-header h1 {
        font-size: 30px;
    }
}

/*آفلاین*/
/* =========================================================
   ASH OFFLINE PAYMENT
========================================================= */

.ash-offline-payment {
    padding: 55px 0 100px;
    background: var(--bg-main);
    min-height: calc(100vh - 100px);
}


/* =========================================================
   HEADER
========================================================= */

.ash-offline-header {
    max-width: 760px;
    margin-bottom: 38px;
}

.ash-offline-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ash-offline-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.045em;
}

.ash-offline-header p {
    max-width: 680px;
    margin: 16px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   BANK CARD
========================================================= */

.ash-bank-card {
    position: relative;
    min-height: 360px;
    padding: 30px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--brand-gray-light);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
}

.ash-bank-card::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -180px;
    top: -180px;
    border: 1px solid var(--warning);
    border-radius: 50%;
}

.ash-bank-card::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -120px;
    bottom: -160px;
    border: 1px solid var(--warning);
    border-radius: 50%;
}

.ash-bank-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.ash-bank-card-top span,
.ash-bank-card-bottom span {
    display: block;
    color: var(--text-primary);
    font-size: 9px;
}

.ash-bank-card-top strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

.ash-bank-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--bg-section);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
}

.ash-bank-chip {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 42px;
    margin-top: 55px;
    border-radius: 9px;
    background: linear-gradient(
            135deg,
            #eeeeee,
            #8d8d8d
    );
}

.ash-bank-card-number {
    position: relative;
    z-index: 2;
    margin-top: 34px;
}

.ash-bank-card-number > span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 9px;
}

.ash-bank-card-number strong {
    display: block;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: .08em;
    font-weight: 700;
}

.ash-copy-card {
    margin-top: 12px;
    min-height: 34px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 9px;
    cursor: pointer;
}

.ash-copy-card:hover {
    background: rgba(255, 255, 255, .14);
}

.ash-bank-card-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
}

.ash-bank-card-bottom strong {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}


/* =========================================================
   STEPS
========================================================= */

.ash-payment-steps {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.ash-payment-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.ash-payment-step > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
}

.ash-payment-step strong {
    display: block;
    color: var(--text-primary);
    font-size: 11px;
}

.ash-payment-step p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.9;
}


/* =========================================================
   PAYMENT PANEL
========================================================= */

.ash-payment-panel {
    position: sticky;
    top: 100px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.ash-payment-panel-head {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.ash-payment-panel-head > span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.ash-payment-panel-head h2 {
    margin: 8px 0 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}


/* =========================================================
   AMOUNT
========================================================= */

.ash-payment-amount {
    margin: 22px 25px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.ash-payment-amount-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    font-size: 18px;
}

.ash-payment-amount span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
}

.ash-payment-amount strong {
    display: block;
    margin-top: 3px;
    color: var(--text-primary);
    font-size: 23px;
    font-weight: 800;
}

.ash-payment-amount small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 500;
}

.ash-payment-divider {
    height: 1px;
    margin: 0 25px 22px;
    background: var(--border-color);
}


/* =========================================================
   UPLOAD
========================================================= */

.ash-offline-form {
    padding: 0 25px 25px;
}

.ash-receipt-upload {
    width: 100%;
}

.ash-receipt-box {
    min-height: 220px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    cursor: pointer;
    text-align: center;
    transition: border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.ash-receipt-box:hover {
    border-color: var(--brand-primary);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.ash-receipt-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--brand-primary);
    color: var(--btn-primary-text);
    font-size: 25px;
}

.ash-receipt-box strong {
    margin-top: 16px;
    color: var(--text-primary);
    font-size: 13px;
}

.ash-receipt-box span {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 10px;
}

.ash-receipt-box small {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 9px;
}


/* =========================================================
   PREVIEW
========================================================= */

.ash-receipt-preview {
    display: none;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}

.ash-receipt-preview.show {
    display: block;
}

.ash-receipt-preview img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    background: var(--bg-soft);
}

.ash-receipt-preview-actions {
    min-height: 52px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border-color);
}

.ash-receipt-preview-actions span {
    min-width: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ash-receipt-preview-actions button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-size: 9px;
    cursor: pointer;
}


/* =========================================================
   SUBMIT
========================================================= */

.ash-payment-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 16px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ash-payment-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   NOTE
========================================================= */

.ash-payment-note {
    margin: 0 25px 25px;
    padding: 13px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.ash-payment-note i {
    color: var(--text-primary);
    font-size: 13px;
}

.ash-payment-note p {
    margin: 0;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.9;
}


/* =========================================================
   DARK
========================================================= */

[data-theme="dark"] .ash-payment-amount,
[data-theme="dark"] .ash-receipt-box,
[data-theme="dark"] .ash-receipt-preview,
[data-theme="dark"] .ash-payment-step > span,
[data-theme="dark"] .ash-payment-note {
    background: var(--bg-soft);
}


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

@media (max-width: 991.98px) {

    .ash-payment-panel {
        position: static;
    }

    .ash-bank-card {
        min-height: 340px;
    }

}


@media (max-width: 767.98px) {

    .ash-offline-payment {
        padding: 35px 0 70px;
    }

    .ash-offline-header h1 {
        font-size: 2.35rem;
    }

    .ash-offline-header p {
        font-size: 12px;
    }

    .ash-bank-card {
        min-height: 310px;
        padding: 23px;
        border-radius: var(--radius-lg);
    }

    .ash-bank-chip {
        margin-top: 40px;
    }

    .ash-bank-card-number {
        margin-top: 25px;
    }

    .ash-bank-card-number strong {
        font-size: 1.15rem;
        letter-spacing: .04em;
    }

    .ash-bank-card-bottom {
        margin-top: 25px;
    }

    .ash-payment-panel {
        border-radius: var(--radius-lg);
    }

    .ash-payment-panel-head {
        padding: 20px;
    }

    .ash-payment-amount {
        margin-right: 20px;
        margin-left: 20px;
    }

    .ash-payment-divider {
        margin-right: 20px;
        margin-left: 20px;
    }

    .ash-offline-form {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ash-payment-note {
        margin-right: 20px;
        margin-left: 20px;
    }
}


@media (max-width: 480px) {

    .ash-bank-card-number strong {
        font-size: .95rem;
    }

    .ash-bank-card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ash-payment-step {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .ash-payment-step > span {
        width: 36px;
        height: 36px;
    }
}

/*فاکتور*/
/* =========================================================
   ASH INVOICES
========================================================= */

.ash-invoices-page {
    height: 90vh;
    overflow-y: auto;
    padding: 50px;
    background: var(--bg-main);
}

/* Scrollbar */
.ash-invoices-page::-webkit-scrollbar {
    width: 5px;
}

.ash-invoices-page::-webkit-scrollbar-track {
    background: transparent;
}

.ash-invoices-page::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

.ash-invoices-page::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}


/* =========================================================
   HEADER
========================================================= */

.ash-invoices-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.ash-invoices-header-content {
    max-width: 700px;
}

.ash-invoices-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.ash-invoices-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.ash-invoices-header p {
    max-width: 650px;
    margin: 15px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}

.ash-invoices-overview {
    min-width: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
}

.ash-invoices-stat {
    min-height: 105px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ash-invoices-stat + .ash-invoices-stat {
    border-right: 1px solid var(--border-color);
}

.ash-invoices-stat span {
    color: var(--text-muted);
    font-size: 9px;
}

.ash-invoices-stat strong {
    margin-top: 5px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 800;
}

.ash-invoices-stat strong small {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 500;
}


/* =========================================================
   FLASH
========================================================= */

.ash-invoice-flash {
    min-height: 52px;
    margin-bottom: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 11px;
}

.ash-invoice-flash > i {
    font-size: 17px;
}

.ash-flash-close {
    width: 28px;
    height: 28px;
    margin-right: auto;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}


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

.ash-invoices-list {
    display: grid;
    gap: 16px;
}


/* =========================================================
   INVOICE CARD
========================================================= */

.ash-invoice-item {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.ash-invoice-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 0;
    background: var(--brand-primary);
    transition: height var(--transition-normal);
}

.ash-invoice-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-dark);
    box-shadow: var(--shadow-md);
}

.ash-invoice-item:hover::before {
    height: 100%;
}


/* =========================================================
   TOP
========================================================= */

.ash-invoice-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ash-invoice-main-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

.ash-invoice-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 21px;
}

.ash-invoice-main-info > div:last-child > span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
}

.ash-invoice-main-info h2 {
    margin: 4px 0 0;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 800;
}


/* =========================================================
   STATUS
========================================================= */

.ash-invoice-status {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.ash-invoice-status.waiting {
    background: var(--bg-soft);
    color: var(--text-primary);
}

.ash-invoice-status.success {
    background: #e9f3eb;
    color: var(--success);
}

.ash-invoice-status.warning {
    background: #f8f0df;
    color: var(--warning);
}

.ash-invoice-status.danger {
    background: #f7e7e7;
    color: var(--danger);
}

[data-theme="dark"] .ash-invoice-status.success {
    background: rgba(79, 138, 99, .15);
}

[data-theme="dark"] .ash-invoice-status.warning {
    background: rgba(184, 138, 50, .15);
}

[data-theme="dark"] .ash-invoice-status.danger {
    background: rgba(201, 76, 76, .15);
}


/* =========================================================
   DIVIDER
========================================================= */

.ash-invoice-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--border-color);
}


/* =========================================================
   DETAILS
========================================================= */

.ash-invoice-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ash-invoice-detail {
    min-height: 75px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ash-invoice-detail-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 15px;
}

.ash-invoice-detail small,
.ash-invoice-detail strong {
    display: block;
}

.ash-invoice-detail small {
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 8px;
}

.ash-invoice-detail strong {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.ash-invoice-detail strong small {
    display: inline;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 500;
}

.ash-invoice-detail .invoice-price {
    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

.ash-invoice-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ash-invoice-customer {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 9px;
}

.ash-invoice-customer i {
    color: var(--text-primary);
}

.ash-invoice-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ash-invoice-btn {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--transition-fast),
    background var(--transition-fast);
}

.ash-invoice-btn:hover {
    transform: translateY(-1px);
    color: var(--text-primary);
}

.ash-invoice-btn.primary {
    background: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.ash-invoice-btn.primary:hover {
    color: var(--btn-primary-text);
}

.ash-invoice-btn.warning-btn {
    background: #f5ead0;
    border-color: #f5ead0;
    color: #8a681f;
}

.ash-invoice-btn.danger-btn {
    background: #f4e4e4;
    border-color: #f4e4e4;
    color: var(--danger);
}

.ash-invoice-btn.disabled {
    cursor: default;
    pointer-events: none;
}


/* =========================================================
   EMPTY
========================================================= */

.ash-invoices-empty {
    min-height: 470px;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--surface);
    text-align: center;
}

.ash-invoices-empty-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--bg-soft);
    color: var(--text-primary);
    font-size: 27px;
}

.ash-invoices-empty > span {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ash-invoices-empty h2 {
    margin: 10px 0 7px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
}

.ash-invoices-empty p {
    max-width: 480px;
    margin: 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.9;
}

.ash-invoices-empty-btn {
    min-width: 175px;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 10px;
    font-weight: 800;
}

.ash-invoices-empty-btn:hover {
    color: var(--btn-primary-text);
}


/* =========================================================
   DARK
========================================================= */

[data-theme="dark"] .ash-invoice-icon,
[data-theme="dark"] .ash-invoice-detail-icon {
    background: var(--bg-soft);
}

[data-theme="dark"] .ash-invoice-btn.warning-btn {
    background: rgba(184, 138, 50, .15);
    color: #d4ad5e;
}

[data-theme="dark"] .ash-invoice-btn.danger-btn {
    background: rgba(201, 76, 76, .15);
}


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

@media (max-width: 1100px) {

    .ash-invoices-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-invoices-overview {
        width: 100%;
        min-width: 0;
    }

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

}


@media (max-width: 767.98px) {

    .ash-invoices-page {
        padding: 35px 0 70px;
    }

    .ash-invoices-header h1 {
        font-size: 2.35rem;
    }

    .ash-invoices-header p {
        font-size: 11px;
    }

    .ash-invoices-overview {
        grid-template-columns: 1fr 1fr;
    }

    .ash-invoice-item {
        padding: 18px;
        border-radius: var(--radius-md);
    }

    .ash-invoice-item-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-invoice-status {
        width: 100%;
        justify-content: center;
    }

    .ash-invoice-details {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .ash-invoice-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .ash-invoice-actions {
        width: 100%;
    }

    .ash-invoice-btn {
        flex: 1;
    }

}


@media (max-width: 480px) {

    .ash-invoices-overview {
        grid-template-columns: 1fr;
    }

    .ash-invoices-stat + .ash-invoices-stat {
        border-right: 0;
        border-top: 1px solid var(--border-color);
    }

    .ash-invoice-details {
        grid-template-columns: 1fr;
    }

    .ash-invoice-main-info h2 {
        font-size: 15px;
    }

    .ash-invoice-customer {
        width: 100%;
    }

    .ash-invoice-actions {
        flex-direction: column;
    }

    .ash-invoice-btn {
        width: 100%;
    }

}

/* =========================================================
   ASH — Bootstrap 5 Alerts
   ========================================================= */

.alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;

    width: 100%;
    margin-bottom: 1rem;
    padding: 16px 18px;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;

    box-shadow: var(--shadow-sm);

    transition: background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

/* محتویات Alert */
.alert > :first-child {
    margin-top: 0;
}

.alert > :last-child {
    margin-bottom: 0;
}

/* لینک داخل Alert */
.alert a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--transition-fast);
}

.alert a:hover {
    opacity: 0.7;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.alert-success {
    color: #245c38;
    background-color: #eef8f1;
    border-color: #cfe8d7;
}

.alert-success a {
    color: #245c38;
}

.alert-success:hover {
    box-shadow: 0 8px 24px rgba(79, 138, 99, 0.12);
}


/* =========================================================
   DANGER
   ========================================================= */

.alert-danger {
    color: #8b2f2f;
    background-color: #fff1f1;
    border-color: #efcccc;
}

.alert-danger a {
    color: #8b2f2f;
}

.alert-danger:hover {
    box-shadow: 0 8px 24px rgba(201, 76, 76, 0.12);
}


/* =========================================================
   WARNING
   ========================================================= */

.alert-warning {
    color: #735618;
    background-color: #fff8e8;
    border-color: #eedfb9;
}

.alert-warning a {
    color: #735618;
}

.alert-warning:hover {
    box-shadow: 0 8px 24px rgba(184, 138, 50, 0.12);
}


/* =========================================================
   INFO
   ========================================================= */

.alert-info {
    color: #4f5552;
    background-color: #f3f4f4;
    border-color: #dcdede;
}

.alert-info a {
    color: #111111;
}

.alert-info:hover {
    box-shadow: var(--shadow-md);
}


/* =========================================================
   PRIMARY
   ========================================================= */

.alert-primary {
    color: #111111;
    background-color: #f4f4f4;
    border-color: #dddddd;
}

.alert-primary a {
    color: #111111;
}

.alert-primary:hover {
    box-shadow: var(--shadow-md);
}


/* =========================================================
   SECONDARY
   ========================================================= */

.alert-secondary {
    color: #444444;
    background-color: #f5f5f5;
    border-color: #dddddd;
}

.alert-secondary a {
    color: #222222;
}

.alert-secondary:hover {
    box-shadow: var(--shadow-md);
}


/* =========================================================
   LIGHT
   ========================================================= */

.alert-light {
    color: var(--text-primary);
    background-color: #ffffff;
    border-color: var(--border-color);
}

.alert-light a {
    color: var(--text-primary);
}

.alert-light:hover {
    background-color: var(--surface-hover);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   DARK
   ========================================================= */

.alert-dark {
    color: #ffffff;
    background-color: #111111;
    border-color: #111111;
}

.alert-dark a {
    color: #ffffff;
}

.alert-dark:hover {
    background-color: #1c1c1c;
    box-shadow: var(--shadow-md);
}


/* =========================================================
   ALERT WITH DISMISS BUTTON
   ========================================================= */

.alert-dismissible {
    padding-right: 52px;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 50%;
    right: 16px;

    width: 12px;
    height: 12px;

    padding: 8px;

    transform: translateY(-50%);

    opacity: 0.55;

    transition: opacity var(--transition-fast),
    transform var(--transition-fast);
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}


/* =========================================================
   ALERT HEADING
   ========================================================= */

.alert-heading {
    margin-bottom: 6px;

    color: inherit;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}


/* =========================================================
   ALERT ICON
   ========================================================= */

.alert .alert-icon {
    flex: 0 0 auto;

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

    width: 36px;
    height: 36px;

    border-radius: 50%;

    font-size: 18px;

    background: rgba(255, 255, 255, 0.65);
}

.alert-success .alert-icon {
    background: rgba(79, 138, 99, 0.12);
}

.alert-danger .alert-icon {
    background: rgba(201, 76, 76, 0.12);
}

.alert-warning .alert-icon {
    background: rgba(184, 138, 50, 0.12);
}

.alert-info .alert-icon,
.alert-secondary .alert-icon {
    background: rgba(17, 17, 17, 0.06);
}

.alert-primary .alert-icon {
    background: rgba(17, 17, 17, 0.08);
}

.alert-dark .alert-icon {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   ALERT CONTENT
   ========================================================= */

.alert-content {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   DARK THEME
   ========================================================= */

[data-theme="dark"] .alert-primary {
    color: #ffffff;
    background-color: #181818;
    border-color: #303030;
}

[data-theme="dark"] .alert-secondary {
    color: #dddddd;
    background-color: #191919;
    border-color: #303030;
}

[data-theme="dark"] .alert-success {
    color: #b8dfc3;
    background-color: #142018;
    border-color: #294534;
}

[data-theme="dark"] .alert-danger {
    color: #efb1b1;
    background-color: #241414;
    border-color: #4b2929;
}

[data-theme="dark"] .alert-warning {
    color: #e9d19a;
    background-color: #241f14;
    border-color: #4c4128;
}

[data-theme="dark"] .alert-info {
    color: #d2d5d3;
    background-color: #181a19;
    border-color: #303332;
}

[data-theme="dark"] .alert-light {
    color: #ffffff;
    background-color: #171717;
    border-color: #303030;
}

[data-theme="dark"] .alert-dark {
    color: #111111;
    background-color: #ffffff;
    border-color: #ffffff;
}

[data-theme="dark"] .alert-light:hover,
[data-theme="dark"] .alert-primary:hover,
[data-theme="dark"] .alert-secondary:hover,
[data-theme="dark"] .alert-info:hover {
    background-color: #202020;
}

[data-theme="dark"] .alert-success .alert-icon {
    background: rgba(125, 190, 148, 0.12);
}

[data-theme="dark"] .alert-danger .alert-icon {
    background: rgba(239, 130, 130, 0.12);
}

[data-theme="dark"] .alert-warning .alert-icon {
    background: rgba(233, 209, 154, 0.12);
}

[data-theme="dark"] .alert-info .alert-icon,
[data-theme="dark"] .alert-secondary .alert-icon,
[data-theme="dark"] .alert-primary .alert-icon {
    background: rgba(255, 255, 255, 0.08);
}


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

@media (max-width: 576px) {

    .alert {
        padding: 14px 15px;
        gap: 10px;

        font-size: 13px;
        border-radius: var(--radius-sm);
    }

    .alert-heading {
        font-size: 15px;
    }

    .alert .alert-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .alert-dismissible {
        padding-right: 46px;
    }

    .alert-dismissible .btn-close {
        right: 12px;
    }
}

.accordion-button::after {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* =========================================================
   ASH USER PANEL
========================================================= */

.ash-panel-body {
    margin: 0;
    padding: 0;

    background: var(--bg-soft);

    color: var(--text-primary);

    font-family: "Vazirmatn", sans-serif;
}


/* =========================================================
   LAYOUT
========================================================= */

.ash-panel-layout {
    min-height: 100vh;

    display: grid;

    /*
     * مهم:
     * سایدبار سمت چپ
     * محتوا سمت راست
     */
    grid-template-columns: 290px minmax(0, 1fr);

    direction: ltr;
}


/* =========================================================
   SIDEBAR
========================================================= */

.ash-panel-sidebar {
    direction: rtl;

    width: 290px;

    min-height: 100vh;

    position: sticky;

    top: 0;
    left: 0;

    z-index: 100;

    background: var(--surface);

    border-right: 1px solid var(--border-color);
}


.ash-panel-sidebar-inner {
    min-height: 100vh;

    padding: 22px 18px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   BRAND
========================================================= */

.ash-panel-brand-link {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;
}


.ash-panel-brand-logo {
    width: 46px;
    height: 46px;

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


.ash-panel-brand-text {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.ash-panel-brand-text strong {
    color: var(--text-primary);

    font-size: 18px;

    font-weight: 800;

    letter-spacing: .04em;
}


.ash-panel-brand-text span {
    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: .16em;
}


/* =========================================================
   USER CARD
========================================================= */

.ash-panel-user-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    background: var(--bg-soft);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md);

    margin-bottom: 27px;
}


.ash-panel-user-avatar {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 12px;

    background: var(--btn-primary-bg);

    color: var(--btn-primary-text);

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

    font-size: 17px;

    font-weight: 700;
}


.ash-panel-user-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.ash-panel-user-info strong {
    color: var(--text-primary);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.ash-panel-user-info span {
    color: var(--text-muted);

    font-size: 10px;
}


.ash-panel-user-status {
    position: absolute;

    top: 11px;
    left: 11px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--success);

    box-shadow: 0 0 0 3px var(--bg-soft);
}


/* =========================================================
   MENU
========================================================= */

.ash-panel-menu-label {
    padding: 0 8px;

    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: 9px;

    font-weight: 700;
}


.ash-panel-navigation {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.ash-panel-nav-item {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;

    min-height: 62px;

    padding: 8px 10px;

    border-radius: var(--radius-md);

    color: var(--text-secondary);

    text-decoration: none;

    transition: background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}


.ash-panel-nav-item:hover {
    color: var(--text-primary);

    background: var(--surface-hover);

    transform: translateX(-2px);
}


.ash-panel-nav-item.active {
    color: var(--btn-primary-text);

    background: var(--btn-primary-bg);

    box-shadow: var(--shadow-sm);

    transform: none;
}


.ash-panel-nav-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

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

    border-radius: 11px;

    background: var(--bg-soft);

    color: var(--text-primary);

    font-size: 17px;

    transition: var(--transition-fast);
}


.ash-panel-nav-item.active .ash-panel-nav-icon {
    background: var(--btn-primary-bg);

    color: var(--btn-primary-text);
}


.ash-panel-nav-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.ash-panel-nav-content strong {
    font-size: 12px;

    font-weight: 700;
}


.ash-panel-nav-content small {
    font-size: 9px;

    color: var(--text-muted);
}


.ash-panel-nav-item.active .ash-panel-nav-content small {
    color: var(--btn-primary-text);
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.ash-panel-sidebar-bottom {
    margin-top: auto;

    padding-top: 18px;

    border-top: 1px solid var(--border-color);
}


.ash-panel-cart-link {
    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border-radius: var(--radius-sm);

    color: var(--text-primary);

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    background: var(--bg-soft);

    margin-bottom: 8px;

    transition: var(--transition-fast);
}


.ash-panel-cart-link:hover {
    background: var(--surface-hover);
}


.ash-panel-cart-icon {
    width: 30px;
    height: 30px;

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

    border-radius: 8px;

    background: var(--surface);

    border: 1px solid var(--border-color);
}


.ash-panel-cart-link strong {
    margin-right: auto;

    min-width: 23px;
    height: 23px;

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

    padding: 0 5px;

    border-radius: 7px;

    background: var(--btn-primary-bg);

    color: var(--btn-primary-text);

    font-size: 9px;
}


.ash-panel-site-link,
.ash-panel-logout-btn {
    width: 100%;

    min-height: 45px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border: 0;

    border-radius: var(--radius-sm);

    background: transparent;

    font-family: inherit;

    font-size: 11px;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition-fast);
}


.ash-panel-site-link {
    color: var(--text-secondary);
}


.ash-panel-site-link:hover {
    color: var(--text-primary);

    background: var(--surface-hover);
}


.ash-panel-logout-form {
    margin: 0;
}


.ash-panel-logout-btn {
    color: var(--danger);

    text-align: right;
}


.ash-panel-logout-btn:hover {
    background: rgba(201, 76, 76, .08);
}


/* =========================================================
   MAIN
========================================================= */

.ash-panel-main {
    min-width: 0;
    height: 100vh;
    direction: rtl;

    background: var(--bg-soft);
}


/* =========================================================
   TOPBAR
========================================================= */

.ash-panel-topbar {
    height: 10vh;

    padding: 0 34px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: var(--surface);

    border-bottom: 1px solid var(--border-color);

    position: sticky;

    top: 0;

    z-index: 50;
}


.ash-panel-topbar-left {
    display: flex;

    align-items: center;

    gap: 15px;
}


.ash-panel-page-heading {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.ash-panel-page-heading span {
    color: var(--text-muted);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .12em;
}


.ash-panel-page-heading strong {
    color: var(--text-primary);

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   TOP ACTIONS
========================================================= */

.ash-panel-topbar-actions {
    display: flex;

    align-items: center;

    gap: 8px;
}


.ash-panel-theme-toggle,
.ash-panel-top-cart,
.ash-panel-mobile-menu {
    width: 40px;
    height: 40px;

    border: 1px solid var(--border-color);

    border-radius: 11px;

    background: var(--surface);

    color: var(--text-primary);

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

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition-fast);
}


.ash-panel-theme-toggle:hover,
.ash-panel-top-cart:hover,
.ash-panel-mobile-menu:hover {
    background: var(--bg-soft);

    border-color: var(--border-dark);
}


.ash-panel-top-cart {
    position: relative;
}


.ash-panel-top-cart span {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

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

    border-radius: 6px;

    background: var(--btn-primary-bg);

    color: var(--btn-primary-text);

    font-size: 8px;
}


.ash-panel-top-user {
    display: flex;

    align-items: center;

    gap: 10px;

    padding-right: 12px;

    margin-right: 4px;

    border-right: 1px solid var(--border-color);
}


.ash-panel-top-user-avatar {
    width: 37px;
    height: 37px;

    border-radius: 10px;

    background: var(--brand-primary);

    color: var(--text-white);

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

    font-size: 13px;

    font-weight: 700;
}


.ash-panel-top-user > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.ash-panel-top-user strong {
    color: var(--text-primary);

    font-size: 10px;

    font-weight: 700;
}


.ash-panel-top-user small {
    color: var(--text-muted);

    font-size: 8px;
}


/* =========================================================
   CONTENT
========================================================= */

.ash-panel-content {
    margin: 0 auto;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.ash-panel-mobile-menu {
    display: none;
}


/* =========================================================
   OVERLAY
========================================================= */

.ash-panel-overlay {
    display: none;
}


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

@media (max-width: 1199px) {

    .ash-panel-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .ash-panel-sidebar {
        width: 250px;
    }

    .ash-panel-topbar {
        padding: 0 20px;
    }

}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 991px) {

    .ash-panel-layout {
        display: block;

        min-height: 100vh;
    }


    .ash-panel-sidebar {
        position: fixed;

        top: 0;
        right: auto;
        left: 0;

        width: 300px;

        height: 100vh;

        min-height: 100vh;

        z-index: 200;

        transform: translateX(-105%);

        transition: transform var(--transition-normal);

        box-shadow: var(--shadow-lg);
    }


    .ash-panel-sidebar.is-open {
        transform: translateX(0);
    }


    .ash-panel-overlay {
        position: fixed;

        inset: 0;

        z-index: 190;

        display: block;

        background: rgba(0, 0, 0, .45);

        backdrop-filter: blur(3px);

        opacity: 0;

        visibility: hidden;

        transition: opacity var(--transition-normal),
        visibility var(--transition-normal);
    }


    .ash-panel-overlay.is-visible {
        opacity: 1;

        visibility: visible;
    }


    .ash-panel-mobile-menu {
        display: flex;
    }


    .ash-panel-topbar {
        min-height: 68px;

        padding: 0 14px;
    }


    .ash-panel-top-user > div:last-child {
        display: none;
    }


    .ash-panel-top-user {
        border-right: 0;

        padding-right: 0;

        margin-right: 0;
    }

}


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

@media (max-width: 575px) {

    .ash-panel-sidebar {
        width: min(300px, 86vw);
    }


    .ash-panel-topbar {
        padding: 0 10px;
    }


    .ash-panel-page-heading strong {
        font-size: 13px;
    }


    .ash-panel-theme-toggle,
    .ash-panel-top-cart,
    .ash-panel-mobile-menu {
        width: 37px;
        height: 37px;
    }


}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .ash-panel-sidebar {
    border-right-color: var(--border-color);
}

/* =========================================================
   ASH PROFILE
========================================================= */

.ash-profile-page {
    height: 90vh;
    overflow-y: auto;
    width: 100%;
}

.ash-profile-page::-webkit-scrollbar {
    width: 5px;
}

.ash-profile-page::-webkit-scrollbar-track {
    background: transparent;
}

.ash-profile-page::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

.ash-profile-page::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}


/* =========================================================
   HEADER
========================================================= */

.ash-profile-header-actions {
    display: flex;
    align-items: center;
}


.ash-profile-back-btn {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0 15px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);

    background: var(--surface);

    color: var(--text-secondary);

    text-decoration: none;

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

    transition: var(--transition-fast);
}


.ash-profile-back-btn:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
    border-color: var(--border-dark);
}


/* =========================================================
   HERO
========================================================= */

.ash-profile-hero {
    position: relative;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 25px 28px;

    margin-bottom: 20px;

    background: var(--brand-primary);

    color: var(--text-white);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}


.ash-profile-hero::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 50%;

    left: -90px;
    top: -120px;
}


.ash-profile-hero::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(255, 255, 255, .06);

    border-radius: 50%;

    right: -50px;
    bottom: -85px;
}


.ash-profile-avatar {
    position: relative;
    z-index: 1;

    width: 68px;
    height: 68px;

    flex: 0 0 68px;

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

    border-radius: 19px;

    background: rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .14);
}


.ash-profile-avatar span {
    font-size: 23px;
    font-weight: 800;
}


.ash-profile-hero-content {
    position: relative;
    z-index: 1;

    min-width: 0;
}


.ash-profile-hero-label {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, .52);

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

    letter-spacing: .08em;
}


.ash-profile-hero-content h2 {
    margin: 0;

    color: var(--text-white);

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


.ash-profile-hero-content p {
    margin: 6px 0 0;

    color: rgba(255, 255, 255, .64);

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


.ash-profile-account-status {
    position: relative;
    z-index: 1;

    margin-right: auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    background: rgba(255, 255, 255, .08);

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

    border-radius: 50px;

    color: rgba(255, 255, 255, .78);

    font-size: 10px;
    white-space: nowrap;
}


.ash-profile-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);
}


/* =========================================================
   CARD
========================================================= */

.ash-profile-card {
    margin-bottom: 20px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-sm);
}


.ash-profile-card-header {
    display: flex;

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

    gap: 15px;

    padding: 20px 23px;

    border-bottom: 1px solid var(--border-color);
}


.ash-profile-card-header > div:first-child {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.ash-profile-card-label {
    color: var(--text-muted);

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

    letter-spacing: .12em;
}


.ash-profile-card-header h2 {
    margin: 0;

    color: var(--text-primary);

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


.ash-profile-card-icon {
    width: 38px;
    height: 38px;

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

    border-radius: 10px;

    background: var(--bg-soft);

    color: var(--text-primary);

    font-size: 16px;
}


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

.ash-profile-info-grid {
    display: grid;

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


.ash-profile-info-item {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 20px 23px;

    border-bottom: 1px solid var(--border-color);
}


.ash-profile-info-item:nth-child(odd) {
    border-left: 1px solid var(--border-color);
}


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


.ash-profile-info-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

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

    background: var(--bg-soft);

    border: 1px solid var(--border-color);

    border-radius: 11px;

    color: var(--text-primary);

    font-size: 15px;
}


.ash-profile-info-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.ash-profile-info-content span {
    color: var(--text-muted);

    font-size: 9px;
}


.ash-profile-info-content strong {
    color: var(--text-primary);

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

    overflow-wrap: anywhere;
}


/* =========================================================
   ADDRESS
========================================================= */

.ash-profile-address-box {
    padding: 23px;
}


.ash-profile-address-main {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border-color);
}


.ash-profile-address-main .ash-profile-info-content strong {
    line-height: 2;
}


.ash-profile-address-details {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    padding-top: 18px;
}


.ash-profile-mini-info {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 13px 15px;

    background: var(--bg-soft);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-sm);
}


.ash-profile-mini-info span {
    color: var(--text-muted);

    font-size: 9px;
}


.ash-profile-mini-info strong {
    color: var(--text-primary);

    font-size: 12px;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.ash-profile-links {
    display: grid;

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

    gap: 15px;
}


.ash-profile-link-card {
    min-height: 78px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 14px 17px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md);

    color: var(--text-primary);

    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition: border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}


.ash-profile-link-card:hover {
    color: var(--text-primary);

    background: var(--surface-hover);

    border-color: var(--border-dark);

    transform: translateY(-2px);
}


.ash-profile-link-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

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

    border-radius: 10px;

    background: var(--bg-soft);

    border: 1px solid var(--border-color);

    font-size: 16px;
}


.ash-profile-link-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.ash-profile-link-content strong {
    font-size: 12px;
    font-weight: 750;
}


.ash-profile-link-content small {
    color: var(--text-muted);

    font-size: 9px;

    line-height: 1.7;
}


.ash-profile-link-arrow {
    margin-right: auto;

    color: var(--text-muted);

    font-size: 12px;
}

/* =========================================================
   PROFILE HEADER ACTIONS
========================================================= */

.ash-profile-card-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* EDIT / COMPLETE BUTTON */

.ash-profile-edit-btn {
    min-height: 38px;

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

    gap: 7px;

    padding: 0 13px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);

    background: var(--surface);

    color: var(--text-primary);

    text-decoration: none;

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

    transition: background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}


.ash-profile-edit-btn:hover {
    background: var(--brand-primary);

    border-color: var(--brand-primary);

    color: var(--text-white);

    transform: translateY(-1px);
}


.ash-profile-edit-btn i {
    font-size: 13px;
}


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

@media (max-width: 767px) {

    .ash-profile-hero {
        align-items: flex-start;

        padding: 21px;

        flex-wrap: wrap;
    }


    .ash-profile-avatar {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }


    .ash-profile-hero-content h2 {
        font-size: 17px;
    }


    .ash-profile-hero-content p {
        font-size: 10px;
    }


    .ash-profile-account-status {
        width: 100%;

        margin-right: 0;

        justify-content: center;
    }


    .ash-profile-info-grid {
        grid-template-columns: 1fr;
    }


    .ash-profile-info-item {
        border-left: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
    }


    .ash-profile-info-item:last-child {
        border-bottom: 0 !important;
    }


    .ash-profile-address-details {
        grid-template-columns: 1fr;
    }


    .ash-profile-links {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575px) {

    .ash-profile-card-header,
    .ash-profile-address-box {
        padding: 17px;
    }


    .ash-profile-info-item {
        padding: 17px;
    }


    .ash-profile-back-btn {
        width: 100%;
        justify-content: center;
    }


    .ash-profile-header-actions {
        width: 100%;
    }

    .ash-profile-card-header-actions {
        gap: 6px;
    }

    .ash-profile-edit-btn {
        width: 38px;
        padding: 0;

    }

    .ash-profile-edit-btn span {
        display: none;
    }

}

/* =========================================================
   ASH PROFILE EDIT
========================================================= */

.ash-profile-edit-page {
    height: 90vh;
    overflow-y: auto;
    width: 100%;
}

.ash-profile-edit-page::-webkit-scrollbar {
    width: 5px;
}

.ash-profile-edit-page::-webkit-scrollbar-track {
    background: transparent;
}

.ash-profile-edit-page::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

.ash-profile-edit-page::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}


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

.ash-profile-edit-grid {
    display: grid;

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

    gap: 0;

    padding: 22px 23px;
}


.ash-profile-edit-grid .ash-profile-form-field:nth-child(odd) {
    padding-left: 16px;
}


.ash-profile-edit-grid .ash-profile-form-field:nth-child(even) {
    padding-right: 16px;
}


.ash-profile-edit-grid .ash-profile-form-field:nth-child(-n+2) {
    padding-bottom: 20px;

    border-bottom: 1px solid var(--border-color);
}


.ash-profile-edit-grid .ash-profile-form-field:nth-child(n+3) {
    padding-top: 20px;
}


/* =========================================================
   FORM FIELD
========================================================= */

.ash-profile-form-field {
    min-width: 0;
}


.ash-profile-form-group {
    margin: 0;
}


.ash-profile-form-label {
    display: flex !important;

    align-items: center;

    gap: 6px;

    margin-bottom: 8px;

    color: var(--text-secondary);

    font-size: 10px;

    font-weight: 700;
}


.ash-profile-form-label i {
    color: var(--text-primary);

    font-size: 13px;
}


/* =========================================================
   INPUT
========================================================= */

.ash-profile-input,
.ash-profile-textarea {
    border: 1px solid var(--border-color) !important;

    background: var(--bg-soft) !important;

    color: var(--text-primary) !important;

    border-radius: var(--radius-sm) !important;

    font-family: inherit !important;

    font-size: 12px !important;

    box-shadow: none !important;

    transition: border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}


.ash-profile-input {
    height: 48px;
}


.ash-profile-textarea {
    min-height: 110px;

    resize: vertical;

    line-height: 2;
}


.ash-profile-input::placeholder,
.ash-profile-textarea::placeholder {
    color: var(--text-muted);

    opacity: .7;
}


.ash-profile-input:focus,
.ash-profile-textarea:focus {
    border-color: var(--border-dark) !important;

    background: var(--surface) !important;

    box-shadow: 0 0 0 3px rgba(17, 17, 17, .05) !important;
}


[data-theme="dark"] .ash-profile-input:focus,
[data-theme="dark"] .ash-profile-textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .06) !important;
}


/* =========================================================
   READONLY
========================================================= */

.ash-profile-input-readonly {
    opacity: .7;

    cursor: not-allowed;

    background: var(--bg-section) !important;
}


.ash-profile-field-help {
    display: block;

    margin-top: 6px;

    color: var(--text-muted);

    font-size: 8px;
}


/* =========================================================
   ADDRESS
========================================================= */

.ash-profile-edit-address {
    padding: 22px 23px;
}


.ash-profile-form-full {
    width: 100%;
}


.ash-profile-address-form-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 18px;

    padding-top: 20px;

    border-top: 1px solid var(--border-color);
}


/* =========================================================
   ACTIONS
========================================================= */

.ash-profile-form-actions {
    display: flex;

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

    gap: 10px;

    margin-top: 20px;

    padding: 18px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}


.ash-profile-cancel-btn,
.ash-profile-save-btn {
    min-height: 45px;

    display: inline-flex;

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

    gap: 8px;

    padding: 0 19px;

    border-radius: var(--radius-sm);

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}


/* CANCEL */

.ash-profile-cancel-btn {
    background: var(--surface);

    border: 1px solid var(--border-color);

    color: var(--text-secondary);
}


.ash-profile-cancel-btn:hover {
    background: var(--surface-hover);

    border-color: var(--border-dark);

    color: var(--text-primary);
}


/* SAVE */

.ash-profile-save-btn {
    border: 1px solid var(--brand-primary);

    background: var(--brand-primary);

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


.ash-profile-save-btn:hover {
    transform: translateY(-1px);

    box-shadow: var(--shadow-sm);
}


.ash-profile-save-btn i {
    font-size: 14px;
}


/* =========================================================
   VALIDATION
========================================================= */

.ash-profile-form .has-error .ash-profile-input,
.ash-profile-form .has-error .ash-profile-textarea {
    border-color: var(--danger) !important;
}


.ash-profile-form .help-block {
    margin-top: 6px;

    color: var(--danger);

    font-size: 9px;

    line-height: 1.8;
}


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

@media (max-width: 767px) {

    .ash-profile-edit-grid {
        grid-template-columns: 1fr;

        padding: 18px;
    }


    .ash-profile-edit-grid .ash-profile-form-field {
        padding: 0 !important;

        border-bottom: 1px solid var(--border-color) !important;
    }


    .ash-profile-edit-grid .ash-profile-form-field:not(:first-child) {
        padding-top: 18px !important;
    }


    .ash-profile-edit-grid .ash-profile-form-field:last-child {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }


    .ash-profile-address-form-grid {
        grid-template-columns: 1fr;
    }


    .ash-profile-edit-address {
        padding: 18px;
    }


    .ash-profile-form-actions {
        position: sticky;

        bottom: 10px;

        z-index: 20;

        padding: 10px;

        border-radius: var(--radius-md);

        box-shadow: var(--shadow-md);
    }


    .ash-profile-cancel-btn,
    .ash-profile-save-btn {
        flex: 1;
    }

}


@media (max-width: 575px) {

    .ash-profile-form-actions {
        margin-top: 15px;
    }

}
