/* public_html/css/style.css */

@font-face {
    font-family: "BNazanin";
    src: url("/font/BNazanin.woff") format("woff");
    font-display: swap;
}

:root {
    --navy: #29235c;
    --navy-light: #3a327d;
    --navy-dark: #17143d;
    --navy-deep: #0c0b25;
    --orange: #f39200;
    --orange-light: #ffb33d;
    --white: #ffffff;
    --text: #24223a;
    --muted: #757284;
    --surface: #ffffff;
    --surface-soft: #f6f6f9;
    --border: #e7e6ed;
    --success: #16864b;
    --danger: #bd2635;
    --header-height: 92px;
    --ticker-height: 54px;
    --container: min(1360px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "BNazanin", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: #f5f5f8;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(
        90deg,
        rgba(23, 20, 61, 0.99),
        rgba(41, 35, 92, 0.99)
    );
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 10px 30px rgba(9, 7, 30, 0.18);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: var(--container);
    min-height: var(--header-height);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

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

.header-logo {
    width: 72px;
    height: 58px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    padding: 5px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 9px 23px rgba(0, 0, 0, 0.18);
}

.header-logo img {
    width: 61px;
    height: 46px;
    object-fit: contain;
}

.header-brand-text {
    display: grid;
    line-height: 1.35;
}

.header-brand-text strong {
    color: #ffffff;
    font-size: 1.04rem;
    font-weight: 900;
}

.header-brand-text span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.header-nav a {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.92rem;
    font-weight: 900;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-nav a.active {
    color: var(--orange-light);
}

.header-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--orange);
    transform: translateX(50%);
    transition: width 0.2s ease;
}

.header-nav a.active::after {
    width: 100%;
}

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

.header-contact {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    font-weight: 900;
}

.phone-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    box-shadow: 0 8px 18px rgba(243, 146, 0, 0.24);
}

.phone-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-contact-label {
    color: rgba(255, 255, 255, 0.80);
    white-space: nowrap;
}

.header-phone-list {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.phone-number {
    direction: ltr;
    unicode-bidi: embed;
    color: var(--orange-light);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.phone-separator {
    color: rgba(255, 255, 255, 0.25);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    padding: 25px;
    color: #ffffff;
    background: rgba(12, 11, 37, 0.99);
}

.mobile-panel.open {
    display: block;
}

.mobile-links {
    display: grid;
}

.mobile-links a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.mobile-links a.active {
    color: var(--orange-light);
}

.mobile-phones {
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

.mobile-phones a {
    direction: ltr;
    width: fit-content;
    color: var(--orange-light);
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 900;
}

/* =========================================================
   SHARED FOOTER
========================================================= */

.footer {
    padding: 55px 0 20px;
    color: rgba(255, 255, 255, 0.66);
    background: linear-gradient(90deg, var(--navy-deep), var(--navy-dark));
    border-top: 4px solid var(--orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.85fr 0.85fr 1fr 1fr;
    gap: 30px;
}

.footer h3 {
    margin: 0 0 13px;
    color: #ffffff;
}

.footer p {
    margin: 0 0 8px;
    line-height: 1.9;
}

.footer-phone-list {
    display: grid;
    gap: 6px;
}

.footer-phone,
.footer-email {
    direction: ltr;
    display: inline-flex;
    width: fit-content;
}

.footer-phone {
    color: var(--orange-light);
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 900;
}

.footer-email {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

/* =========================================================
   HOME - MARKET TICKER
========================================================= */

body.page-home {
    color: var(--white);
    background: var(--navy-deep);
}

.page-home .market-ticker {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 990;
    height: var(--ticker-height);
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(90deg, #17143d, #29235c);
    border-bottom: 1px solid rgba(243, 146, 0, 0.38);
    box-shadow: 0 8px 20px rgba(12, 10, 42, 0.16);
}

.page-home .market-ticker-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    direction: rtl;
}

.page-home .market-ticker-label {
    min-width: 190px;
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    font-weight: 900;
}

.page-home .market-ticker-label::after {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    width: 24px;
    height: 100%;
    background: var(--orange-light);
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.page-home .market-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
    animation: marketPulse 1.5s ease-in-out infinite;
}

@keyframes marketPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.42;
    }
}

.page-home .market-ticker-label small {
    margin-right: 3px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.62rem;
    font-weight: 700;
    white-space: nowrap;
}

.page-home .market-ticker-track-wrapper {
    min-width: 0;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.page-home .market-ticker-track {
    min-width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 34px;
    direction: rtl;
    white-space: nowrap;
    animation: marketTickerMove 42s linear infinite;
}

@keyframes marketTickerMove {
    from {
        transform: translateX(-4%);
    }

    to {
        transform: translateX(20%);
    }
}

.page-home .market-item {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.page-home .market-item-title {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    font-weight: 700;
}

.page-home .market-item strong {
    color: #ffffff;
    font-size: 0.91rem;
    font-weight: 900;
}

.page-home .market-item small {
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.62rem;
}

.page-home .market-divider {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: var(--orange);
}

.page-home .market-dollar-item #usdPrice,
.page-home .market-symbol-item strong {
    color: var(--orange-light);
}

.page-home .market-dollar-change {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.68rem !important;
}

.market-value-positive {
    color: #6ee7b7 !important;
}

.market-value-negative {
    color: #fb7185 !important;
}

.market-state-open {
    color: #6ee7b7 !important;
}

.market-state-closed {
    color: #fda4af !important;
}

/* =========================================================
   HOME - HERO
========================================================= */

.page-home .hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding-top: calc(var(--header-height) + var(--ticker-height));
    background-color: var(--navy-deep);
    background-image: url("/images/bkgrd.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.page-home .hero-grid {
    min-height: calc(100vh - var(--header-height) - var(--ticker-height));
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 55px 0 70px;
}

.page-home .hero-copy {
    width: min(980px, 100%);
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

.page-home .hero-inline-logo {
    width: min(270px, 62vw);
    display: block;
    margin: 0 0 20px auto;
    position: relative;
    cursor: pointer;
    filter: drop-shadow(0 18px 18px rgba(9, 7, 31, 0.26));
    animation: floatLogo 5s ease-in-out infinite;
}

.page-home .animated-logo-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.page-home .logo-piece {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
}

.page-home .logo-orange {
    --start: translate3d(0, -165px, 110px) scale(0.63) rotateX(22deg);
}

.page-home .logo-center-top {
    --start: translate3d(0, -115px, 100px) scale(0.65) rotateX(18deg);
}

.page-home .logo-small-left {
    --start: translate3d(-120px, -100px, 95px) scale(0.61) rotateY(-15deg);
}

.page-home .logo-small-right {
    --start: translate3d(120px, -100px, 95px) scale(0.61) rotateY(15deg);
}

.page-home .logo-upper-left {
    --start: translate3d(-155px, -50px, 95px) scale(0.66) rotateY(-16deg);
}

.page-home .logo-upper-right {
    --start: translate3d(155px, -50px, 95px) scale(0.66) rotateY(16deg);
}

.page-home .logo-bottom-left {
    --start: translate3d(-190px, 110px, 100px) scale(0.65) rotateY(-14deg);
}

.page-home .logo-bottom-center {
    --start: translate3d(0, 175px, 110px) scale(0.65) rotateX(-12deg);
}

.page-home .logo-bottom-right {
    --start: translate3d(190px, 110px, 100px) scale(0.65) rotateY(14deg);
}

.page-home .hero-inline-logo.play .logo-piece {
    animation: pieceBuild 780ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-home .hero-inline-logo.play .logo-orange {
    animation-delay: 60ms;
}

.page-home .hero-inline-logo.play .logo-center-top {
    animation-delay: 185ms;
}

.page-home .hero-inline-logo.play .logo-small-left {
    animation-delay: 310ms;
}

.page-home .hero-inline-logo.play .logo-small-right {
    animation-delay: 435ms;
}

.page-home .hero-inline-logo.play .logo-upper-left {
    animation-delay: 570ms;
}

.page-home .hero-inline-logo.play .logo-upper-right {
    animation-delay: 705ms;
}

.page-home .hero-inline-logo.play .logo-bottom-left {
    animation-delay: 845ms;
}

.page-home .hero-inline-logo.play .logo-bottom-center {
    animation-delay: 985ms;
}

.page-home .hero-inline-logo.play .logo-bottom-right {
    animation-delay: 1125ms;
}

@keyframes pieceBuild {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: var(--start);
    }

    60% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, -5px, 0) scale(1.04);
    }

    82% {
        transform: translate3d(0, 2px, 0) scale(0.99);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.page-home .logo-depth {
    opacity: 0;
}

.page-home .hero-inline-logo.play .logo-depth {
    animation: depthIn 450ms ease forwards;
    animation-delay: 1320ms;
}

@keyframes depthIn {
    to {
        opacity: 0.72;
    }
}

.page-home .hero-title {
    max-width: 920px;
    margin: 0 0 22px;
    color: #ffffff;
    text-align: right;
    font-size: clamp(3.8rem, 6vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-shadow:
        0 4px 10px rgba(0, 0, 0, 0.48),
        0 1px 2px rgba(0, 0, 0, 0.70);
}

.page-home .hero-description {
    max-width: 860px;
    margin: 0 0 32px auto;
    color: rgba(255, 255, 255, 0.96);
    text-align: right;
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    font-weight: 800;
    line-height: 2;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.58);
}

.page-home .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.page-home .logo-shape-btn {
    --btn-bg: #29235c;
    --btn-shadow: #17133b;
    min-width: 270px;
    min-height: 92px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    isolation: isolate;
    transition: transform 0.22s ease, filter 0.22s ease;
}

.page-home .logo-shape-btn span {
    position: relative;
    z-index: 3;
}

.page-home .logo-shape-btn::before,
.page-home .logo-shape-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(
        12% 0%,
        88% 0%,
        100% 18%,
        100% 82%,
        88% 100%,
        12% 100%,
        0% 82%,
        0% 18%
    );
}

.page-home .logo-shape-btn::before {
    z-index: 1;
    background: var(--btn-shadow);
    transform: translateY(8px) translateX(8px);
}

.page-home .logo-shape-btn::after {
    z-index: 2;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.02)
        ),
        var(--btn-bg);
}

.page-home .logo-shape-btn--orange {
    --btn-bg: #f39200;
    --btn-shadow: #b96900;
}

.page-home .logo-shape-btn--navy {
    --btn-bg: #29235c;
    --btn-shadow: #17133b;
}

/* =========================================================
   EXCHANGE
========================================================= */

.page-exchange .exchange-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 90px) 0 90px;
    color: #ffffff;
    background: linear-gradient(
        120deg,
        #0c0b25 0%,
        #17143d 42%,
        #29235c 100%
    );
    border-bottom: 4px solid var(--orange);
}

.page-exchange .exchange-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -220px;
    left: -120px;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.13);
    filter: blur(8px);
}

.page-exchange .exchange-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -200px;
    bottom: -250px;
    border-radius: 50%;
    background: rgba(255, 179, 61, 0.08);
    filter: blur(15px);
}

.page-exchange .exchange-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.page-exchange .hero-eyebrow {
    margin-bottom: 8px;
    color: var(--orange-light);
    font-size: 1.05rem;
    font-weight: 900;
}

.page-exchange .hero-title {
    margin: 0 0 20px;
    font-size: clamp(3.2rem, 5vw, 5.4rem);
    font-weight: 900;
    line-height: 1.18;
}

.page-exchange .hero-description {
    max-width: 800px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 2;
}

.page-exchange .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-exchange .hero-primary,
.page-exchange .hero-secondary {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border-radius: 13px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.page-exchange .hero-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    box-shadow: 0 12px 28px rgba(243, 146, 0, 0.23);
}

.page-exchange .hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.page-exchange .hero-info-box {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.page-exchange .hero-info-box h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1.5rem;
}

.page-exchange .hero-info-list {
    display: grid;
    gap: 14px;
}

.page-exchange .hero-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.page-exchange .hero-info-check {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    margin-top: 3px;
    border-radius: 7px;
    color: #ffffff;
    background: var(--orange);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
}

.page-exchange .steps-section {
    padding: 65px 0;
}

.page-exchange .section-head {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

.page-exchange .section-eyebrow {
    color: var(--orange);
    font-size: 0.88rem;
    font-weight: 900;
}

.page-exchange .section-title {
    margin: 5px 0 10px;
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
}

.page-exchange .section-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.page-exchange .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.page-exchange .step-card {
    position: relative;
    padding: 25px 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(32, 29, 65, 0.05);
}

.page-exchange .step-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 13px;
    color: #ffffff;
    background: var(--navy);
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 900;
}

.page-exchange .step-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.08rem;
}

.page-exchange .step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.9;
}

.page-exchange .application-section {
    padding: 30px 0 85px;
}

.page-exchange .application-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 28px;
    align-items: start;
}

.page-exchange .application-side {
    position: sticky;
    top: calc(var(--header-height) + 25px);
    padding: 27px;
    border-radius: 23px;
    color: #ffffff;
    background: linear-gradient(145deg, var(--navy-dark), var(--navy));
    box-shadow: 0 18px 42px rgba(30, 26, 72, 0.15);
}

.page-exchange .application-side-label {
    color: var(--orange-light);
    font-size: 0.85rem;
    font-weight: 900;
}

.page-exchange .application-side h2 {
    margin: 5px 0 12px;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
}

.page-exchange .application-side p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.9;
}

.page-exchange .side-details {
    display: grid;
    gap: 12px;
}

.page-exchange .side-detail {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
}

.page-exchange .side-detail span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.7rem;
}

.page-exchange .side-detail strong,
.page-exchange .side-detail a {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
}

.page-exchange .side-phone {
    direction: ltr;
    display: inline-flex;
}

.page-exchange .application-form-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(32, 29, 65, 0.065);
}

.page-exchange .form-title {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 900;
}

.page-exchange .form-intro {
    margin: 0 0 27px;
    color: var(--muted);
    line-height: 1.8;
}

.page-exchange .form-section-title {
    margin: 27px 0 15px;
    padding-bottom: 8px;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    font-weight: 900;
}

.page-exchange .form-section-title:first-of-type {
    margin-top: 0;
}

/* =========================================================
   CONTACT
========================================================= */

.page-contact .contact-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 80px) 0 75px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    border-bottom: 4px solid var(--orange);
}

.page-contact .contact-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(243, 146, 0, 0.12);
    filter: blur(10px);
}

.page-contact .contact-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.page-contact .contact-eyebrow {
    margin-bottom: 8px;
    color: var(--orange-light);
    font-size: 1rem;
    font-weight: 900;
}

.page-contact .contact-title {
    margin: 0 0 15px;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.15;
}

.page-contact .contact-description {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 2;
}

.page-contact .contact-section {
    padding: 55px 0 80px;
}

.page-contact .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.page-contact .contact-side {
    display: grid;
    gap: 16px;
}

.page-contact .contact-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(32, 29, 65, 0.055);
}

.page-contact .contact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.page-contact .contact-card-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    font-size: 1.1rem;
}

.page-contact .contact-card h2,
.page-contact .contact-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 900;
}

.page-contact .contact-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.page-contact .contact-number-list {
    display: grid;
    gap: 8px;
}

.page-contact .contact-number {
    width: fit-content;
    direction: ltr;
    color: var(--navy);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.page-contact .quick-contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px;
}

.page-contact .quick-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.page-contact .whatsapp-button {
    color: #ffffff;
    background: #168c51;
}

.page-contact .telegram-button {
    color: #ffffff;
    background: #2588c9;
}

.page-contact .email-link {
    direction: ltr;
    display: inline-flex;
    width: fit-content;
    color: var(--navy);
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 900;
}

.page-contact .address-list {
    display: grid;
    gap: 15px;
}

.page-contact .address-item {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.page-contact .address-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.page-contact .address-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
}

.page-contact .contact-form-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(32, 29, 65, 0.07);
}

.page-contact .contact-form-card h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 900;
}

.page-contact .form-description {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
}

.page-contact .form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.8;
}

/* =========================================================
   SHARED FORMS - EXCHANGE + CONTACT
========================================================= */

.page-exchange .form-message,
.page-contact .form-message {
    display: none;
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 900;
    line-height: 1.8;
}

.page-exchange .form-message.success,
.page-contact .form-message.success {
    display: block;
    color: var(--success);
    background: rgba(22, 134, 75, 0.09);
    border: 1px solid rgba(22, 134, 75, 0.20);
}

.page-exchange .form-message.error,
.page-contact .form-message.error {
    display: block;
    color: var(--danger);
    background: rgba(189, 38, 53, 0.08);
    border: 1px solid rgba(189, 38, 53, 0.18);
}

.page-exchange .application-form,
.page-contact .contact-form {
    display: grid;
    gap: 14px;
}

.page-contact .contact-form {
    gap: 16px;
}

.page-exchange .form-row,
.page-contact .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.page-exchange .form-group,
.page-contact .form-group {
    display: grid;
    gap: 7px;
}

.page-exchange .form-group.full {
    grid-column: 1 / -1;
}

.page-exchange .form-group label,
.page-contact .form-group label {
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 900;
}

.page-exchange .required {
    color: var(--orange);
}

.page-exchange .form-group input,
.page-exchange .form-group select,
.page-exchange .form-group textarea,
.page-contact .form-group input,
.page-contact .form-group select,
.page-contact .form-group textarea {
    width: 100%;
    outline: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: #fbfbfd;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.page-exchange .form-group input,
.page-exchange .form-group select,
.page-contact .form-group input,
.page-contact .form-group select {
    min-height: 51px;
    padding: 0 14px;
}

.page-contact .form-group input,
.page-contact .form-group select {
    min-height: 50px;
}

.page-exchange .form-group textarea,
.page-contact .form-group textarea {
    min-height: 145px;
    padding: 13px 14px;
    resize: vertical;
}

.page-contact .form-group textarea {
    min-height: 150px;
}

.page-exchange .form-group input:focus,
.page-exchange .form-group select:focus,
.page-exchange .form-group textarea:focus,
.page-contact .form-group input:focus,
.page-contact .form-group select:focus,
.page-contact .form-group textarea:focus {
    border-color: var(--orange);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.09);
}

.page-exchange .ltr-input,
.page-contact .ltr-input {
    direction: ltr;
    text-align: right;
}

.page-exchange .field-note {
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.6;
}

.page-exchange .consent {
    margin-top: 7px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

.page-exchange .consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 4px;
    accent-color: var(--orange);
}

.page-exchange .submit-button,
.page-contact .submit-button {
    min-height: 58px;
    margin-top: 6px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(243, 146, 0, 0.22);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-contact .submit-button {
    min-height: 55px;
    margin-top: 0;
}

.page-exchange .submit-button:disabled,
.page-contact .submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.page-exchange .honeypot,
.page-contact .honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   SHOP
========================================================= */

.page-shop .shop-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 85px) 0 85px;
    color: #ffffff;
    background: url("/images/shop.png") center center / cover no-repeat;
    border-bottom: 4px solid var(--orange);
}

.page-shop .shop-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 35px;
}

.page-shop .shop-eyebrow {
    margin-bottom: 8px;
    color: var(--orange-light);
    font-size: 1.05rem;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);
}

.page-shop .shop-title {
    max-width: 850px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 4px 13px rgba(0, 0, 0, 0.45);
}

.page-shop .shop-description {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.page-shop .price-status {
    min-width: 225px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(12, 11, 37, 0.36);
    backdrop-filter: blur(7px);
}

.page-shop .price-status-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #72e0a5;
    box-shadow: 0 0 0 5px rgba(114, 224, 165, 0.14);
}

.page-shop .price-status-text {
    display: grid;
    gap: 2px;
}

.page-shop .price-status-text strong {
    font-size: 0.92rem;
}

.page-shop .price-status-text span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
}

.page-shop .shop-section {
    padding: 55px 0 80px;
}

.page-shop .shop-toolbar {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-shop .shop-toolbar h2 {
    margin: 0;
    color: var(--navy);
    font-size: 2rem;
    font-weight: 900;
}

.page-shop .category-buttons {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.page-shop .category-button {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--muted);
    background: #ffffff;
    font-weight: 900;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.page-shop .category-button.active {
    color: #ffffff;
    border-color: var(--navy);
    background: var(--navy);
}

.page-shop .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.page-shop .product-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 13px 35px rgba(32, 29, 65, 0.055);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-shop .product-image {
    position: relative;
    width: 100%;
    height: 380px;
    min-height: 380px;
    flex: 0 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 55px 28px 25px;
    background: linear-gradient(145deg, #f7f7fb, #ececf4);
}

.page-shop .product-image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 88% !important;
    max-height: 100% !important;
    margin: auto;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

.page-shop .product-placeholder {
    width: 135px;
    height: 135px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: rgba(41, 35, 92, 0.58);
    background: rgba(41, 35, 92, 0.07);
    font-size: 3.3rem;
    font-weight: 900;
}

.page-shop .product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    padding: 7px 13px;
    border-radius: 9px;
    color: #ffffff;
    background: var(--orange);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.2;
}

.page-shop .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 23px 22px;
}

.page-shop .product-category {
    margin-bottom: 5px;
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 900;
}

.page-shop .product-title {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.55;
}

.page-shop .product-spec {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.8;
}

.page-shop .product-bottom {
    margin-top: auto;
    padding-top: 22px;
}

.page-shop .product-price-label {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.page-shop .product-price-row {
    min-height: 44px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 17px;
}

.page-shop .product-price {
    color: var(--navy);
    font-size: 1.75rem;
    font-weight: 900;
}

.page-shop .product-currency {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.page-shop .price-loading {
    opacity: 0.48;
}

.page-shop .product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.page-shop .product-buy-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    font-weight: 900;
    transition: transform 0.2s ease;
}

.page-shop .product-detail-button {
    min-width: 50px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--navy);
    background: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
}

.page-shop .shop-info {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.page-shop .info-item {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

.page-shop .info-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 1rem;
}

.page-shop .info-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

/* =========================================================
   RESPONSIVE - SHARED
========================================================= */

@media (max-width: 1250px) {
    .header-contact {
        display: none;
    }

    .header-nav {
        gap: 15px;
    }

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

@media (max-width: 1100px) {
    .page-exchange .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-exchange .exchange-hero-grid {
        gap: 30px;
    }
}

@media (max-width: 980px) {
    .header-nav {
        display: none;
    }

    .menu-button {
        display: grid;
    }

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

    .page-home .market-ticker-label {
        min-width: 145px;
    }

    .page-home .market-ticker-label small {
        display: none;
    }

    .page-home .hero {
        min-height: 100vh;
        align-items: start;
        background-size: 100% auto;
        background-position:
            center
            calc(var(--header-height) + var(--ticker-height));
    }

    .page-home .hero-grid {
        min-height: auto;
        align-items: center;
        justify-content: center;
        padding: calc(56.25vw + 34px) 0 65px;
    }

    .page-home .hero-copy {
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }

    .page-home .hero-inline-logo {
        width: min(185px, 42vw);
        margin: 0 auto 18px;
    }

    .page-home .hero-title {
        max-width: 680px;
        margin: 0 auto 18px;
        text-align: center;
        font-size: clamp(2.4rem, 7vw, 4rem);
        line-height: 1.28;
        letter-spacing: 0;
    }

    .page-home .hero-description {
        max-width: 650px;
        margin: 0 auto 28px;
        text-align: center;
        font-size: 1rem;
        line-height: 1.9;
    }

    .page-home .hero-buttons {
        width: 100%;
        justify-content: center;
    }

    .page-exchange .exchange-hero-grid,
    .page-exchange .application-layout {
        grid-template-columns: 1fr;
    }

    .page-exchange .application-side {
        position: static;
    }

    .page-contact .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-shop .shop-hero-inner {
        grid-template-columns: 1fr;
    }

    .page-shop .price-status {
        width: fit-content;
    }

    .page-shop .product-image {
        height: 350px;
        min-height: 350px;
        flex-basis: 350px;
        padding: 50px 25px 22px;
    }

    .page-shop .product-image img {
        max-width: 86% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 78px;
        --ticker-height: 48px;
    }

    .header-inner {
        min-height: 78px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 7px;
    }

    .header-brand-text {
        display: none;
    }

    .header-logo {
        width: 54px;
        height: 44px;
        flex-basis: 54px;
        padding: 4px;
    }

    .header-logo img {
        width: 46px;
        height: 35px;
    }

    .header-actions {
        min-width: 0;
        gap: 7px;
    }

    .header-contact {
        min-height: 50px;
        display: inline-flex;
        gap: 6px;
        padding: 4px 7px;
    }

    .header-contact-label {
        display: none;
    }

    .phone-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .header-phone-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .header-phone-list .phone-number {
        display: block;
        font-size: 0.64rem;
        line-height: 1.3;
    }

    .phone-separator {
        display: none;
    }

    .menu-button {
        width: 39px;
        height: 39px;
        flex: 0 0 39px;
    }

    .mobile-panel {
        top: 78px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    /* HOME MOBILE */

    .page-home .market-ticker-label {
        min-width: 102px;
        padding: 0 9px;
        font-size: 0.78rem;
    }

    .page-home .market-live-dot {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .page-home .market-ticker-track-wrapper {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .page-home .market-ticker-track-wrapper::-webkit-scrollbar {
        display: none;
    }

    .page-home .market-ticker-track {
        gap: 14px;
        padding: 0 20px;
        animation: none;
    }

    .page-home .market-item-title {
        font-size: 0.64rem;
    }

    .page-home .market-item strong {
        font-size: 0.78rem;
    }

    .page-home .hero {
        min-height: 100vh;
        position: relative;
        align-items: start;
        overflow: hidden;
        padding-top: calc(var(--header-height) + var(--ticker-height));
        background-color: var(--navy-deep);
        background-image: url("/images/bkgrd.png");
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position:
            center
            calc(var(--header-height) + var(--ticker-height));
    }

    .page-home .hero-grid {
        min-height: auto;
        position: relative;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: calc(56.25vw + 18px) 0 52px;
    }

    .page-home .hero-copy {
        width: 100%;
        margin-inline: auto;
        padding: 0 2px;
        text-align: center;
    }

    .page-home .hero-inline-logo {
        width: min(150px, 39vw);
        margin: 0 auto 15px;
    }

    .page-home .hero-title {
        max-width: 100%;
        margin: 0 auto 16px;
        text-align: center;
        font-size: clamp(2.15rem, 9vw, 3.1rem);
        line-height: 1.35;
        letter-spacing: 0;
    }

    .page-home .hero-description {
        max-width: 100%;
        margin: 0 auto 26px;
        padding: 0 5px;
        text-align: center;
        font-size: 0.94rem;
        line-height: 1.9;
    }

    .page-home .hero-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-home .logo-shape-btn {
        width: 100%;
        min-width: 100%;
        min-height: 76px;
        font-size: 1.1rem;
    }

    /* EXCHANGE MOBILE */

    .page-exchange .exchange-hero {
        padding: calc(var(--header-height) + 55px) 0 55px;
    }

    .page-exchange .hero-title {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .page-exchange .hero-description {
        font-size: 0.98rem;
    }

    .page-exchange .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-exchange .hero-primary,
    .page-exchange .hero-secondary {
        width: 100%;
    }

    .page-exchange .steps-section {
        padding: 45px 0;
    }

    .page-exchange .steps-grid {
        grid-template-columns: 1fr;
    }

    .page-exchange .application-section {
        padding: 15px 0 55px;
    }

    .page-exchange .application-form-card,
    .page-exchange .application-side {
        padding: 22px 18px;
    }

    .page-exchange .form-row {
        grid-template-columns: 1fr;
    }

    /* CONTACT MOBILE */

    .page-contact .contact-hero {
        padding: calc(var(--header-height) + 50px) 0 55px;
    }

    .page-contact .contact-section {
        padding: 38px 0 55px;
    }

    .page-contact .contact-form-card {
        padding: 22px 18px;
    }

    .page-contact .form-row,
    .page-contact .quick-contact-buttons {
        grid-template-columns: 1fr;
    }

    /* SHOP MOBILE */

    .page-shop .shop-hero {
        padding: calc(var(--header-height) + 50px) 0 55px;
        background-position: center center;
    }

    .page-shop .shop-title {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .page-shop .shop-description {
        font-size: 0.98rem;
    }

    .page-shop .shop-section {
        padding: 38px 0 55px;
    }

    .page-shop .shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-shop .category-buttons {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .page-shop .category-buttons::-webkit-scrollbar {
        display: none;
    }

    .page-shop .category-button {
        flex: 0 0 auto;
    }

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

    .page-shop .product-image {
        height: 330px;
        min-height: 330px;
        flex-basis: 330px;
        padding: 48px 22px 20px;
    }

    .page-shop .product-image img {
        max-width: 88% !important;
        max-height: 100% !important;
    }

    .page-shop .shop-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .header-inner {
        gap: 5px;
    }

    .header-logo {
        width: 48px;
        height: 40px;
        flex-basis: 48px;
    }

    .header-logo img {
        width: 41px;
        height: 32px;
    }

    .header-contact {
        padding: 3px 5px;
    }

    .phone-icon {
        display: none;
    }

    .header-phone-list .phone-number {
        font-size: 0.58rem;
    }

    .menu-button {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .page-home .hero-grid {
        padding: calc(56.25vw + 14px) 0 45px;
    }

    .page-home .hero-inline-logo {
        width: 130px;
    }

    .page-home .hero-title {
        font-size: 2.05rem;
    }

    .page-home .hero-description {
        font-size: 0.88rem;
    }

    .page-home .logo-shape-btn {
        min-height: 70px;
        font-size: 1.03rem;
    }

    .page-shop .product-image {
        height: 300px;
        min-height: 300px;
        flex-basis: 300px;
        padding: 45px 18px 18px;
    }

    .page-shop .product-image img {
        max-width: 90% !important;
        max-height: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-inline-logo,
    .page-home .market-live-dot,
    .page-home .market-ticker-track {
        animation: none;
    }

    .page-home .logo-piece {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .page-home .logo-depth {
        opacity: 0.72 !important;
    }
}
/* =========================================================
   FILE: public_html/style.css
   LOGIN + REGISTER + AUTH SYSTEM
   این بخش را به انتهای style.css اضافه کن
========================================================= */


/* =========================================================
   AUTH HEADER BUTTONS
========================================================= */

.header-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
}

.auth-login-button,
.auth-register-button,
.user-account-button,
.auth-logout-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.auth-login-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.auth-login-button:hover,
.auth-login-button.active {
    color: var(--orange-light, #ffb33d);
    border-color: var(--orange-light, #ffb33d);
    background: rgba(255, 179, 61, 0.08);
}

.auth-register-button {
    color: #ffffff;
    border: 1px solid var(--orange, #f39200);
    background:
        linear-gradient(
            135deg,
            var(--orange, #f39200),
            var(--orange-light, #ffb33d)
        );
    box-shadow:
        0 8px 20px
        rgba(243, 146, 0, 0.16);
}

.auth-register-button:hover,
.auth-register-button.active {
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px
        rgba(243, 146, 0, 0.3);
}

.auth-login-button:hover,
.auth-register-button:hover,
.user-account-button:hover,
.auth-logout-button:hover {
    transform: translateY(-2px);
}

.user-account-button {
    color: #ffffff;
    border: 1px solid rgba(255, 179, 61, 0.5);
    background: rgba(243, 146, 0, 0.12);
}

.user-account-button:hover {
    color: var(--orange-light, #ffb33d);
    border-color: var(--orange-light, #ffb33d);
}

.auth-logout-button {
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.auth-logout-button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}


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

.page-auth {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(243, 146, 0, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(41, 35, 92, 0.08),
            transparent 35%
        ),
        #f5f5f8;
}

.auth-page {
    position: relative;
    min-height: calc(100vh - var(--header-height, 80px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    overflow: hidden;
}

.auth-page::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    top: -220px;
    right: -150px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(243, 146, 0, 0.12),
            transparent 68%
        );
    pointer-events: none;
}

.auth-page::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    bottom: -290px;
    left: -210px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(41, 35, 92, 0.12),
            transparent 68%
        );
    pointer-events: none;
}


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

.auth-card {
    position: relative;
    z-index: 2;
    width: min(100%, 550px);
    padding: 40px;
    border: 1px solid rgba(41, 35, 92, 0.08);
    border-radius: 26px;
    background:
        rgba(255, 255, 255, 0.98);
    box-shadow:
        0 25px 70px
        rgba(41, 35, 92, 0.12);
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 32px;
    left: 32px;
    height: 3px;
    border-radius: 0 0 20px 20px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--orange, #f39200),
            var(--orange-light, #ffb33d),
            transparent
        );
}


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

.auth-header {
    margin-bottom: 30px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    padding: 6px 13px;
    border-radius: 999px;
    color: #bd6d00;
    background: rgba(243, 146, 0, 0.1);
    font-size: 0.78rem;
    font-weight: 900;
}

.auth-header h1 {
    margin: 0 0 10px;
    color: var(--navy, #29235c);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    line-height: 1.45;
}

.auth-header p {
    max-width: 450px;
    margin: 0 auto;
    color: #777486;
    font-size: 0.94rem;
    line-height: 2;
}


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

.auth-form {
    display: grid;
    gap: 19px;
}

.auth-form .form-group {
    display: grid;
    gap: 8px;
}

.auth-form label {
    color: var(--navy, #29235c);
    font-size: 0.9rem;
    font-weight: 900;
}

.auth-form .required {
    color: #e05252;
}

.auth-optional {
    margin-right: 5px;
    color: #9a97a7;
    font-size: 0.7rem;
    font-weight: 500;
}

.auth-form input:not([type="checkbox"]) {
    width: 100%;
    min-height: 53px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #dedde6;
    border-radius: 13px;
    outline: none;
    background: #ffffff;
    color: #27243d;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.auth-form input:not([type="checkbox"])::placeholder {
    color: #aaa8b5;
}

.auth-form input:not([type="checkbox"]):hover {
    border-color: #cac8d5;
}

.auth-form input:not([type="checkbox"]):focus {
    border-color: var(--orange, #f39200);
    background: #ffffff;
    box-shadow:
        0 0 0 4px
        rgba(243, 146, 0, 0.09);
}

.auth-form input:invalid:not(:placeholder-shown) {
    border-color: rgba(203, 63, 63, 0.35);
}

.auth-form input:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background: #f2f2f5;
}

.auth-form .ltr-input {
    direction: ltr;
    text-align: left;
}

.auth-form .field-note {
    display: block;
    margin-top: 2px;
    color: #9693a0;
    font-size: 0.72rem;
    line-height: 1.7;
}


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

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-left: 78px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    left: 7px;
    min-width: 62px;
    min-height: 39px;
    padding: 0 10px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    outline: none;
    background: #f1f0f5;
    color: var(--navy, #29235c);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.password-toggle:hover {
    color: #ffffff;
    background: var(--navy, #29235c);
}

.password-toggle:focus-visible {
    box-shadow:
        0 0 0 3px
        rgba(243, 146, 0, 0.18);
}


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

.password-strength {
    margin-top: 3px;
    display: grid;
    gap: 7px;
}

.password-strength-bar {
    width: 100%;
    height: 5px;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: #ecebf0;
}

.password-strength-bar > span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #d35b5b;
    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.password-strength-bar > span[data-level="1"] {
    background: #d35b5b;
}

.password-strength-bar > span[data-level="2"] {
    background: #e99736;
}

.password-strength-bar > span[data-level="3"] {
    background: #d4aa23;
}

.password-strength-bar > span[data-level="4"] {
    background: #39a869;
}

#passwordStrengthText {
    color: #9895a3;
    font-size: 0.71rem;
}


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

.page-auth .form-message {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.9;
}

.page-auth .form-message[hidden] {
    display: none !important;
}

.page-auth .form-message.error {
    color: #9d3030;
    border-color: rgba(199, 69, 69, 0.2);
    background: #fff2f2;
}

.page-auth .form-message.success {
    color: #247044;
    border-color: rgba(48, 151, 90, 0.2);
    background: #effaf4;
}


/* =========================================================
   AUTH SUBMIT BUTTON
========================================================= */

.auth-submit-button {
    width: 100%;
    min-height: 54px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    outline: none;
    background:
        linear-gradient(
            135deg,
            var(--navy, #29235c),
            #3c357a
        );
    color: #ffffff;
    box-shadow:
        0 11px 26px
        rgba(41, 35, 92, 0.18);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.auth-submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 15px 32px
        rgba(41, 35, 92, 0.25);
}

.auth-submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.auth-submit-button:disabled {
    cursor: wait;
    opacity: 0.68;
}


/* اگر کلاس عمومی submit-button روی صفحه وجود دارد */
.page-auth .submit-button {
    width: 100%;
}


/* =========================================================
   CONSENT / REMEMBER
========================================================= */

.auth-consent,
.remember-login {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
}

.auth-consent {
    padding: 13px 14px;
    border: 1px solid #ebeaf0;
    border-radius: 12px;
    background: #fafafd;
}

.auth-consent input,
.remember-login input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 3px;
    accent-color: var(--orange, #f39200);
    cursor: pointer;
}

.auth-consent span {
    color: #757281;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.8;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.remember-login {
    color: #777483 !important;
    font-size: 0.79rem !important;
    font-weight: 700 !important;
}


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    position: relative;
    margin: 28px 0 20px;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #e9e8ee;
}

.auth-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 14px;
    background: #ffffff;
    color: #9996a4;
    font-size: 0.75rem;
}


/* =========================================================
   SECONDARY AUTH BUTTON
========================================================= */

.auth-secondary-button {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid rgba(41, 35, 92, 0.14);
    border-radius: 13px;
    background: #ffffff;
    color: var(--navy, #29235c);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.auth-secondary-button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: var(--navy, #29235c);
    background: var(--navy, #29235c);
}


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

.auth-security-note {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #92909d;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.7;
}

.auth-security-note > span {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: #3c9b63;
    font-size: 0.68rem;
    font-weight: 900;
}


/* =========================================================
   MOBILE AUTH MENU
========================================================= */

.mobile-auth {
    margin-top: 22px;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-login-button,
.mobile-register-button,
.mobile-account-button,
.mobile-logout-button {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 900;
}

.mobile-login-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-login-button:hover,
.mobile-login-button[aria-current="page"] {
    color: var(--orange-light, #ffb33d);
    border-color: var(--orange-light, #ffb33d);
}

.mobile-register-button {
    color: #ffffff;
    border: 1px solid var(--orange, #f39200);
    background:
        linear-gradient(
            135deg,
            var(--orange, #f39200),
            var(--orange-light, #ffb33d)
        );
}

.mobile-account-button {
    color: #ffffff;
    background: var(--navy, #29235c);
}

.mobile-logout-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}


/* =========================================================
   LOGIN SPECIFIC
========================================================= */

.page-login .auth-card {
    width: min(100%, 500px);
}

.page-login .auth-header {
    margin-bottom: 34px;
}


/* =========================================================
   REGISTER SPECIFIC
========================================================= */

.page-register .auth-card {
    width: min(100%, 560px);
}

.page-register .auth-form {
    gap: 18px;
}


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

@media (max-width: 1100px) {

    .header-auth {
        gap: 6px;
    }

    .auth-login-button,
    .auth-register-button,
    .user-account-button,
    .auth-logout-button {
        padding: 0 11px;
        font-size: 0.75rem;
    }

}


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

@media (max-width: 850px) {

    .header-auth {
        display: none;
    }

}


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

@media (max-width: 680px) {

    .auth-page {
        min-height: auto;
        padding: 40px 14px;
    }

    .auth-card {
        width: 100%;
        padding: 28px 20px;
        border-radius: 20px;
        box-shadow:
            0 15px 45px
            rgba(41, 35, 92, 0.1);
    }

    .auth-card::before {
        right: 22px;
        left: 22px;
    }

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

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .auth-header p {
        font-size: 0.84rem;
        line-height: 1.9;
    }

    .auth-form {
        gap: 16px;
    }

    .auth-form input:not([type="checkbox"]) {
        min-height: 51px;
        font-size: 16px;
    }

    .auth-submit-button {
        min-height: 52px;
    }

    .auth-secondary-button {
        min-height: 49px;
    }

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

}


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

@media (max-width: 420px) {

    .auth-page {
        padding: 30px 10px;
    }

    .auth-card {
        padding: 25px 16px;
        border-radius: 17px;
    }

    .auth-header h1 {
        font-size: 1.55rem;
    }

    .section-kicker {
        font-size: 0.72rem;
    }

    .auth-form input:not([type="checkbox"]) {
        min-height: 50px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .password-field input {
        padding-left: 72px !important;
    }

    .password-toggle {
        left: 6px;
        min-width: 57px;
        min-height: 38px;
        padding: 0 8px;
    }

    .auth-divider {
        margin-top: 24px;
    }

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

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 350px) {

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

    .auth-card {
        padding-right: 13px;
        padding-left: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .auth-login-button,
    .auth-register-button,
    .user-account-button,
    .auth-logout-button,
    .auth-submit-button,
    .auth-secondary-button,
    .password-toggle,
    .password-strength-bar > span {
        transition: none;
    }

    .auth-login-button:hover,
    .auth-register-button:hover,
    .user-account-button:hover,
    .auth-logout-button:hover,
    .auth-submit-button:hover,
    .auth-secondary-button:hover {
        transform: none;
    }

}