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

@font-face {
    font-family: vazir;
    src: url("fonts/vazir.woff2") format("woff2"),
         url("fonts/vazir.woff") format("woff"),
         url("fonts/vazir.ttf") format("truetype"),
         url("fonts/vazir.eot") format("embedded-opentype");
    font-display: swap;
}

:root {
    --primary-blue: #3293e3;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 10px 40px rgba(4, 14, 255, 0.15);
    --shadow-medium: 0 20px 60px rgba(4, 14, 255, 0.2);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ab-dark: #000d26;
    --ab-navy: #001e5e;
    --ab-mid: #07006A;
    --ab-blue: #3293e3;
    --ab-electric: #145dff;
    --ab-light: #d1e2ff;
    --ab-bg-soft: #f0f6ff;
    --ab-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ab-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'vazir', sans-serif;
}

a {
    text-decoration: none;
}

ul li {
    list-style-type: none;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(50, 147, 227, 0.6) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 14, 255, 0.5) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: 7s;
}

.glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(20, 93, 255, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 14vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    direction: rtl;
    transition: background 0.3s var(--transition-smooth), backdrop-filter 0.3s var(--transition-smooth);
    background: rgba(0, 90, 255, 0.4);
}

header {
    background: linear-gradient(135deg, #3293e3 0%, #145dff 45%, #040eff 100%);
    min-height: 100vh;
    position: relative;
}

.navbar.mobile-bottom {
    top: auto !important;
    bottom: -1px !important;
    left: 0;
    justify-content: space-between !important;
    align-items: center;
    display: flex;
    backdrop-filter: none !important;
    background: none !important;
}

.navbar.mobile-bottom .nav-right {
    display: none;
}

.navbar.mobile-bottom .logo {
    display: none;
}

.logo1 {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    position: relative;
    bottom: 8px;
    right: 3px;
    background: #f2f7ff;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    top: auto;
    right: 14px;
    left: 14px;
    z-index: 9998;
    background: rgba(0, 90, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px 28px 0 0;
    padding: 0 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    height: auto;
    min-height: 65px;
    align-items: stretch;
    justify-content: space-between;
    direction: rtl;
    list-style: none;
    margin: 0;
    gap: 0;
    box-shadow: 0 2px 20px rgba(0, 50, 150, 0.25);
}

.mobile-nav-overlay {
    display: none;
}

.logo {
    width: 90px;
    height: 90px;
}

.logo img {
    width: 100%;
    height: 100%;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 75px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.harts svg:hover {
    color: red;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
    color: yellow;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu a:hover {
    color: gold;
}

.dropdown-menu {
    background: #040eff;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    z-index: 10001;
    border-radius: 16px;
    padding: 12px;
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--transition-smooth);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s var(--transition-smooth);
}

.dropdown-item:hover {
    background: rgba(50, 147, 227, 0.1);
    color: var(--primary-blue);
    transform: translateX(-4px);
}

.nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    box-sizing: border-box;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.hamburger-btn {
    display: none;
}

.search-btn {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    flex: 0 0 44px;
}

.search-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 0;
    opacity: 0;
    transition: width 0.35s var(--transition-smooth), opacity 0.2s ease;
}

.search-wrap.is-open {
    width: 220px;
    opacity: 1;
}

.search-input {
    width: 100%;
    min-width: 0;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0 16px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--transition-smooth), visibility 1s var(--transition-smooth);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.slide-content {
    flex: 1;
    max-width: 30%;
    animation: slideInRight 1s var(--transition-smooth);
}

.slide.active .slide-content {
    animation: slideInRight 1s var(--transition-smooth);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    /* margin-bottom: 30px; */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sparkle {
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

main {
    height: auto;
}

.main-title {
    width: 100%;
    padding-top: 45px;
    font-size: 50px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0;
}

.matn2:hover {
    color: skyblue;
    transition: color;
    transition-property: color;
    transition-timing-function: ease-in-out;
    transition-duration: 1.5s;
}

.subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 55px;
}

.cta-button {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--transition-smooth);
    touch-action: manipulation;
    position: relative;
    bottom: 0;
    right: 38px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
}

.cta-button svg {
    transition: transform 0.3s var(--transition-smooth);
}

.cta-button:hover svg {
    transform: translateX(-4px);
}

/* Slide Image */
.slide-image {
    margin-top: 30px;
    flex: 1;
    width: 70%;
    height: 510px;
    position: relative;
    animation: slideInLeft 1s var(--transition-smooth);
}

.slide.active .slide-image {
    animation: slideInLeft 1s var(--transition-smooth), float-image 6s ease-in-out infinite 1s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.slide-image img {
    margin-top: 30px;
    width: 100%;
    height: 78vh;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 60px;
    left: 85%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
}

.control-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.indicator.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: var(--text-dark);
    width: 0;
    transition: width 0.1s linear;
}

/* Fashion Categories */
.fashion-categories {
    padding: 20px 5%;
    background: #f8fbff;
    height: 98vh;
    box-sizing: border-box;
}

.fashion-grid {
    display: grid;
    grid-template-columns: 200px 1.6fr 200px;
    grid-template-rows: 1fr;
    gap: 22px;
    align-items: stretch;
    height: calc(98vh - 40px);
}

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

.cat-card {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    transition: .4s;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cat-card > a {
    flex: 1;
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.cat-card > a > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.2s ease;
    display: block;
}

.cat-card:hover > a > img {
    transform: scale(1.12);
}

.cat-text {
    text-align: center;
    flex-shrink: 0;
}

.cat-text h3 a {
    color: #07006A;
}

.buttonCategori {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 10px 15px;
    background: #fff;
    color:#07006A;
}

.center-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 100%;
    min-height: 0;
}

.vertical-slider {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    min-height: 0;
}

.v-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s ease;
}

.v-slide.active {
    opacity: 1;
}

.v-slide img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    transform: scale(1.08);
    transition: 8s ease;
}

.v-slide.active img {
    transform: scale(1.18);
}

.v-content {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 1000;
    padding-bottom: 20px;
    background: linear-gradient(rgba(240,250,255,.025), rgba(240,250,255,.6), rgba(240,250,255,1));
    padding-top: 190px;
}

.v-content h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #07006A;
}

.v-content a {
    margin-top: 50px;
    color: #07006A;
}

/* .v-slide h2 {
    color: #07006A;
} */

.AX-Catefori-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
}

.categories-head {
    text-align: center;
    border-top: 3px solid black;
    padding: 20px 15px 5px 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background: #f8fbff;
}

.categories-head h2 {
    color: #07006A;
    font-size: 50px;
    border-bottom: 1px solid #07006A;
    width: 60%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Footer */
footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #001e5e;
}

.contact-for-us {
    height: auto;
    min-height: 20vh;
    padding: 20px 0;
    width: 100%;
    background: #001e5e;
    border-bottom: 1px solid #d1e2ff;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.contact-for-us p {
    padding: 15px;
    font-size: 20px;
    color: #d1e2ff;
}

.link-social-media {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 90%;
}

.link-social-media a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-for-us a span {
    color: #d1e2ff;
    font-size: 20px;
    padding-top: 5px;
}

.insta-icon {
    color: rgba(0, 90, 255, 0.4);
}

.insta-icon svg {
    color: #d1e2ff;
    border-radius: 30%;
}

.telegram-icon {
    color: white;
}

.telegram-icon svg {
    color: #ffff;
    border: 4px solid #fff;
    border-radius: 60%;
    background: #279ad0;
    padding: 4px;
}

.rubika-icon {
    color: #ffff;
}

.rubika-icon svg {
    color: #d1e2ff;
    border-radius: 30%;
}

.footer-bottom {
    height: auto;
    padding: 20px 0;
    width: 100%;
    background: #001e5e;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.poshtibani-aratan h3, .poshtibani-aratan p {
    padding: 15px 15px 0 0;
    color: #d1e2ff;
}

.poshtibani {
    padding: 0 30px;
    border-bottom: 1px solid #d1e2ff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.tag-main-task span {
    color: #d1e2ff;
    padding: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.poshtibani h3 {
    text-align: center;
    padding: 15px 15px 0 0;
    color: #d1e2ff;
}

.poshtibani h3 svg {
    color: red;
}

.site-footer {
    background: #001e5e;
    color: #d1e2ff;
    padding: 16px 14px;
    font-family: sans-serif;
    width: 100%;
}

.footer-acc {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.acc-item {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding: 10px 0;
    width: 100%;
    flex-direction: column;
}

.acc-title {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 0;
}

.acc-title::-webkit-details-marker {
    display: none;
}

.chev {
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(135deg);
    transition: .2s ease;
    opacity: .9;
}

.acc-item[open] .chev {
    transform: rotate(-45deg);
}

.acc-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: block;
}

.acc-list li {
    width: 100%;
}

.acc-list li a {
    display: block;
    padding: 10px 0;
    color: #d1e2ff;
    text-decoration: none;
    font-size: 16px;
    opacity: .95;
}

.acc-list li a:active,
.acc-list li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hoghooghi {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #d1e2ff;
}

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

/* تبلت و صفحات با عرض کمتر از 1024px */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }
    .nav-links {
        gap: 25px;
    }
    .main-title {
        font-size: 48px;
    }
    .subtitle {
        font-size: 18px;
    }
    .slide-container {
        gap: 30px;
        padding: 0 20px;
    }
    .slide-image {
        max-width: 100%;
        height: auto;
    }
    .slide-image img {
        height: auto;
        max-height: 70vh;
    }
    .categories-head h2 {
        font-size: 50px;
        width: 80%;
    }
    .fashion-grid {
        grid-template-columns: 160px 1.6fr 160px;
        gap: 16px;
    }
    .poshtibani {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* موبایل‌های بزرگ (عرض کمتر از 768px) */
@media (max-width: 768px) {

    /* نوبار بالای صفحه در موبایل */
    .navbar {
        top: 0 !important;
        bottom: auto !important;
        height: auto;
        min-height: 44px;
        padding: 0 6px;
        padding-top: env(safe-area-inset-top, 0px);
        background: rgba(0, 90, 255, 0.4);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex;
        align-items: center;
    }
    .nav-container {
        padding: 0;
        justify-content: center;
        width: 100%;
        gap: 0;
        position: relative;
    }
    .nav-links {
        display: none !important;
    }
    .nav-right {
        display: flex !important;
        gap: 6px;
    }
    .nav-btn {
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }
    .search-btn {
        width: 32px;
        flex: 0 0 32px;
        padding: 0;
        border-radius: 50%;
    }
    .login-btn {
        display: none !important;
    }
    .hamburger-btn {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        flex: 0 0 32px;
        padding: 0;
        border-radius: 50%;
        background: none !important;
        border: none !important;
        align-items: center;
        justify-content: center;
    }
    .hamburger-btn svg {
        width: 18px;
        height: 18px;
    }
    .logo {
        display: none !important;
    }
    .search-wrap {
        width: 0;
        overflow: hidden;
        opacity: 0;
        transition: width 0.35s var(--transition-smooth), opacity 0.2s ease;
    }
    .search-wrap.is-open {
        width: 160px;
        opacity: 1;
    }
    .search-input {
        height: 32px;
        font-size: 12px;
        padding: 0 10px;
    }
    /* منوی پایین موبایل */
    .menu-bottom {
        display: flex;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 90, 255, 0.75);
          bottom: 12px;
        right: 8px;
        left: 8px;
        min-height: 68px;
        border-radius: 35px;
        padding: 0 10px;
    }
    .menu-bottom li {
        margin: 0;
        padding: 0;
        background: none;
        border: none;
        width: auto;
        height: auto;
        display: flex;
        align-items: stretch;
    }
    .menu-right-item {
        display: flex;
        gap: 2px;
        align-items: stretch;
    }
    .menu-left-item {
        display: flex;
        gap: 2px;
        align-items: stretch;
    }
    .menu-center-item {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -12px;
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    }
    .menu-center-item .logo1 {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        /* border: 3px solid rgba(255, 255, 255, 0.5); */
    }
    .menu-right-item a,
    .menu-left-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        padding: 0 8px;
        border-radius: 16px;
        flex: 1;
        min-width: 0;
    }
    .menu-right-item svg {
        width: 30px;
        height: 30px;
        display: block;
    }
    .menu-left-item svg {
        width: 30px;
        height: 30px;
        display: block;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 10px;
        line-height: 1.2;
    }
    .menu-right-item:nth-child(2) {
        margin-left: 22px;
    }
    .menu-left-item:nth-child(4) {
        margin-right: 22px;
    }
    /* منوی موبایل (کشویی از هَمبِرگر) */
    /* منوی موبایل (کشویی از هَمبِرگر) */
    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .mobile-nav-overlay.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100%;
        background: #001e5e;
        padding: 80px 20px 20px;
        z-index: 10000;
        transform: translateX(100%);
        transition: transform 0.35s var(--transition-smooth);
        overflow-y: auto;
    }
    .mobile-nav-panel.open {
        transform: translateX(0);
    }

    .mobile-nav-panel a:hover{
      color: gold;
    }

    .mobile-nav-panel a {
        display: block;
        padding: 14px 0;
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,1);
    }
    .mobile-nav-panel .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        box-shadow: none;
        padding: 0 10px;
        min-width: auto;
    }
    .mobile-nav-panel .dropdown-menu a {
        font-size: 14px;
        padding: 10px 0;
    }
    .mobile-nav-close {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* اسلایدر */
    .hero-slider {
        height: auto;
        min-height: 100svh;
        min-height: 100vh;
        margin-top: 0;
    }
    .slide-container {
        flex-direction: column-reverse;
        justify-content: space-between;
        gap: 15px;
        padding: 80px 15px 15px;
        min-height: 100vh;
    }
    .slide-content {
        max-width: 100%;
        text-align: center;
                margin-bottom: 15px;
    }
    .main-title {
        font-size: 28px;
        padding-top: 10px;
        line-height: 1.4;
    }
    .subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 15px;
        display: inline-flex;
    }
    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
        margin: 0 auto;
        right: 0 !important;
        bottom: 0 !important;
    }
    .slide-image {
        width: 100%;
        height: auto;
        margin-top: 0;
    }
    .slide-image img {
        height: 45vh;
        margin-top: 0;
        border-radius: 16px;
        width: 100%;
        object-fit: cover;
    }
    .slider-controls {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;
    }
    .control-btn {
        width: 36px;
        height: 36px;
        touch-action: manipulation;
    }

    /* دسته‌بندی‌ها */
    .categories-head {
        padding: 30px 0 15px;
    }
    .categories-head h2 {
        font-size: 28px;
        width: 90%;
    }

    .fashion-categories {
        height: 137vh;
        padding: 20px 4%;
    }
    .fashion-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 0 8px;
        height: auto;
    }

    .center-area {
        display: contents;
        height: 100%;
    }

    /* اسلایدر اول → ستون اول / ردیف اول */
    .vertical-slider:first-of-type {
        grid-column: 1;
        grid-row: 1;
        height: 65vh;
        min-height: 180px;
        border-radius: 16px;
    }

    /* کارت‌های سمت راست → ستون دوم / ردیف اول */
    .small-column:first-of-type {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        height: 65vh;
    }

    /* اسلایدر دوم → ستون دوم / ردیف دوم */
    .vertical-slider:last-of-type {
        grid-column: 2;
        grid-row: 2;
        height: 65vh;
        min-height: 180px;
        border-radius: 16px;
    }

    /* کارت‌های سمت چپ → ستون اول / ردیف دوم */
    .small-column:last-of-type {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 65vh;
    }

    .cat-card {
        border-radius: 12px;
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .cat-card img {
        width: 100%;
        flex: 1;
        min-height: 0;
        height: auto;
        object-fit: cover;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    .cat-text {
        flex-shrink: 0;
        padding: 6px 4px;
        background: #fff;
        border-radius: 15px;
    }
    .cat-text h3 a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
        font-size: 12px;
    }

    .v-content {
        padding-top: 60px;
        padding-bottom: 10px;
    }
    .v-content h3 {
        font-size: 13px;
        margin-top: 0 !important;
        margin-bottom: 8px;
        padding: 0 6px;
    }
    .buttonCategori {
        padding: 6px 10px;
        font-size: 12px;
        margin-bottom: 6px;
        display: inline-block;
    }


    /* About */
    .about {
        height: auto;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    
    /* Footer */
    footer {
        height: auto;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }
    .contact-for-us {
        height: auto;
        padding: 20px 10px;
    }
    .contact-for-us p {
        font-size: 14px;
        text-align: center;
        padding: 8px 15px;
        line-height: 1.7;
    }
    .link-social-media {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        padding: 10px;
    }
    .link-social-media a span {
        font-size: 14px;
    }
    .footer-bottom {
        height: auto;
        padding: 15px 0;
    }
    .poshtibani {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }
    .poshtibani-aratan {
        width: 100%;
    }
    .poshtibani-aratan h3,
    .poshtibani-aratan p {
        padding: 8px 10px 0;
        font-size: 14px;
    }
    .poshtibani h3 {
        font-size: 14px;
    }
    .tag-main-task {
        margin-top: 10px;
    }
    .site-footer {
        padding: 10px;
    }
    .footer-acc {
        flex-direction: column;
    }
    .acc-title {
        font-size: 15px;
    }
    .acc-list li a {
        font-size: 13px;
        padding: 8px 0;
    }
    .hoghooghi {
        font-size: 13px;
        padding: 8px;
        text-align: center;
    }
}

/* موبایل‌های کوچک (عرض کمتر از 480px) */
@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
    }
    .subtitle {
        font-size: 14px;
    }
    .slide-image img {
        height: 40vh;
    }
    .categories-head h2 {
        font-size: 22px;
    }
    .vertical-slider:first-of-type,
    .vertical-slider:last-of-type {
        height: 65vh;
        min-height: 180px;
    }
    .cat-card {
        border-radius: 10px;
    }
    .cat-text h3 a {
        font-size: 11px;
    }
    .v-content h3 {
        font-size: 12px;
    }
    .v-content {
        padding-top: 40px;
    }
    .menu-bottom {
        bottom: 12px;
        right: 8px;
        left: 8px;
        min-height: 68px;
        border-radius: 35px;
        padding: 0 10px;
    }
    .menu-center-item {
        top: -10px;
    }
    .menu-center-item .logo1 {
        width: 65px;
        height: 65px;
        border-width: 2.5px;
    }
    .menu-right-item a,
    .menu-left-item a {
        font-size: 12px;
        padding: 0 8px;
    }
    .menu-right-item svg,
    .menu-left-item svg {
        width: 32px;
        height: 32px;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 11px;
    }
    .menu-right-item:nth-child(2) {
        margin-left: 22px;
    }
    .menu-left-item:nth-child(4) {
        margin-right: 22px;
    }
    .menu-center-item {
        top: -10px;
    }
    .menu-center-item .logo1 {
        width: 65px;
        height: 65px;
        border-width: 2.5px;
    }
    .menu-right-item a,
    .menu-left-item a {
        font-size: 12px;
        padding: 0 8px;
    }
    .menu-right-item svg,
    .menu-left-item svg {
        width: 32px;
        height: 32px;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 11px;
    }
    .menu-right-item:nth-child(2) {
        margin-left: 22px;
    }
    .menu-left-item:nth-child(4) {
        margin-right: 22px;
    }
    .menu-center-item {
        top: -10px;
    }
    .menu-center-item .logo1 {
        width: 65px;
        height: 65px;
        border-width: 2.5px;
    }
    .menu-right-item a,
    .menu-left-item a {
        font-size: 12px;
        padding: 0 8px;
    }
    .menu-right-item svg,
    .menu-left-item svg {
        width: 32px;
        height: 32px;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 11px;
    }
    .cta-button {
        padding: 11px 22px;
        font-size: 13px;
        right: 0 !important;
        bottom: 0 !important;
    }
   
    .slider-controls {
        bottom: 10px;
        gap: 12px;
    }

    /* About section */
    .ab-story { padding: 60px 5% 60px; gap: 38px; }
    .ab-story-heading { font-size: 28px; }
    .ab-story-p { font-size: 15px; }
    .ab-values-grid { grid-template-columns: 1fr; gap: 14px; }
    .ab-val-card { padding: 30px 20px; }
    .ab-stats-grid { grid-template-columns: 1fr 1fr; }
    .ab-branches-title { font-size: 28px; }
    .ab-branch-name { font-size: 20px; }
    .ab-branch-info { padding: 22px 20px; }
    .ab-hero-title { font-size: clamp(36px, 12vw, 52px); }
    .ab-hero-badge { font-size: 13px; padding: 10px 20px; gap: 10px; }
}

/* گوشی‌های خیلی کوچک (عرض کمتر از 360px) */
@media (max-width: 360px) {
    .main-title {
        font-size: 20px;
    }
    .subtitle {
        font-size: 13px;
    }
    .slide-container {
        padding: 60px 10px 80px;
    }
    .categories-head h2 {
        font-size: 18px;
    }
    .menu-bottom {
        bottom: 12px;
        right: 8px;
        left: 8px;
        min-height: 68px;
        border-radius: 36px;
        padding: 0 10px;
    }
    .menu-center-item {
        top: -8px;
    }
    .menu-center-item .logo1 {
        width: 61px;
        height: 61px;
        border-width: 2px;
    }
    .menu-right-item a,
    .menu-left-item a {
        font-size: 11px;
        padding: 0 6px;
    }
    .menu-right-item svg,
    .menu-left-item svg {
        width: 28px;
        height: 28px;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 10px;
    }
    .menu-right-item:nth-child(2) {
        margin-left: 18px;
    }
    .menu-left-item:nth-child(4) {
        margin-right: 18px;
    }
    .vertical-slider:first-of-type,
    .vertical-slider:last-of-type {
        height: 65vh;
        min-height: 160px;
    }
    .v-content h3 {
        font-size: 11px;
    }
    .cat-text h3 a {
        font-size: 10px;
    }
    .cta-button {
        padding: 10px 18px;
        font-size: 12px;
    }
    .badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}
/* ── override کلاس‌های قدیمی about ── */
.about {
  width: 100% !important;
  height: auto !important;
  padding-top: 0;
  display: block !important;
  flex-direction: unset !important;
  justify-content: unset !important;
  overflow: hidden;
  position: relative;
  background: var(--ab-bg-soft);
}

/* مخفی کردن المان‌های قدیمی که ممکنه باقی مانده باشن */
.about > .about-header,
.about > .sweet.parallax {
  display: none !important;
}

/* ================================================================
   ۱. هیرو — پارالاکس تمام‌صفحه
   ================================================================ */
.ab-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background: var(--ab-dark); */
}

/* لایه‌های پارالاکس پس‌زمینه */
.ab-hero-bg,
.ab-hero-grid,
.ab-stats-bg {
  position: absolute;
  inset: -25%;
  will-change: transform;
}

.ab-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(50,147,227,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(4,14,255,0.28) 0%, transparent 55%),
    linear-gradient(150deg, #000d26 0%, #001240 55%, #040eff 130%);
}

.ab-hero-grid {
  background-image:
    linear-gradient(rgba(50,147,227,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50,147,227,0.07) 1px, transparent 1px);
  background-size: 70px 70px;
}

.ab-hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(50,147,227,0.18) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.ab-hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  bottom: -10%; left: 5%;
  background: radial-gradient(circle, rgba(4,14,255,0.22) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

/* شکل‌های شناور */
.ab-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.ab-shape-1 {
  width: 160px; height: 160px;
  top: 15%; left: 8%;
  border: 1.5px solid rgba(50,147,227,0.2);
  border-radius: 40px;
  animation: ab-rotate-slow 25s linear infinite;
}

.ab-shape-2 {
  width: 80px; height: 80px;
  top: 65%; left: 12%;
  border: 1px solid rgba(50,147,227,0.15);
  border-radius: 20px;
  animation: ab-float 7s ease-in-out infinite;
}

.ab-shape-3 {
  width: 50px; height: 50px;
  top: 40%; right: 8%;
  background: rgba(50,147,227,0.08);
  border: 1px solid rgba(50,147,227,0.2);
  border-radius: 12px;
  animation: ab-float 9s ease-in-out 2s infinite reverse;
}

.ab-shape-4 {
  width: 200px; height: 200px;
  bottom: 10%; right: 5%;
  border: 1px dashed rgba(50,147,227,0.12);
  border-radius: 50%;
  animation: ab-rotate-slow 40s linear infinite reverse;
}

@keyframes ab-rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ab-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(8deg); }
}

/* محتوای هیرو */
.ab-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  will-change: transform;
}

.ab-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: ab-fade-up 0.9s var(--ab-ease) 0.2s forwards;
}

.ab-eyebrow-line {
  width: 48px; height: 1px;
  background: rgba(209,226,255,0.35);
}

.ab-eyebrow span {
  color: var(--ab-light);
  font-size: 13px;
  letter-spacing: 3px;
}

/* عنوان بزرگ */
.ab-hero-title {
  font-size: clamp(50px, 9vw, 115px);
  font-weight: 800;
  line-height: 1.18;
  color: white;
  margin: 0 0 44px;
  direction: rtl;
}

.ab-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(44px);
  animation: ab-fade-up 0.75s var(--ab-ease) calc(0.45s + var(--i) * 0.12s) forwards;
}

/* کلمه accent با shimmer */
.ab-accent {
  background: linear-gradient(100deg, #86c8ff 0%, #3293e3 40%, #86c8ff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    ab-fade-up 0.75s var(--ab-ease) calc(0.45s + 2 * 0.12s) forwards,
    ab-shimmer 4s linear 1.5s infinite;
}

@keyframes ab-shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* بج */
.ab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 14px 32px;
  color: var(--ab-light);
  font-size: 16px;
  opacity: 0;
  animation: ab-fade-up 0.9s var(--ab-ease) 1.2s forwards;
}

.ab-badge-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ab-blue);
  box-shadow: 0 0 0 0 rgba(50,147,227,0.5);
  animation: ab-ping 1.8s ease-in-out infinite;
}

@keyframes ab-ping {
  0%   { box-shadow: 0 0 0 0 rgba(50,147,227,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(50,147,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(50,147,227,0); }
}

/* فلش اسکرول */
.ab-scroll-cue {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ab-scroll-ring {
  width: 28px; height: 44px;
  border: 2px solid rgba(209,226,255,0.4);
  border-radius: 14px;
  position: relative;
}

.ab-scroll-ring::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--ab-light);
  border-radius: 50%;
  animation: ab-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes ab-scroll-dot {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(18px); opacity: 0; }
}

.ab-scroll-arrow {
  width: 10px; height: 10px;
  border-left: 1.5px solid rgba(209,226,255,0.4);
  border-bottom: 1.5px solid rgba(209,226,255,0.4);
  transform: rotate(-45deg);
  animation: ab-arrow-bounce 1.6s ease-in-out infinite;
}

@keyframes ab-arrow-bounce {
  0%, 100% { opacity: 0.4; transform: rotate(-45deg) translateY(0); }
  50%       { opacity: 0.9; transform: rotate(-45deg) translateY(4px); }
}

@keyframes ab-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   ۲. مارکی (نوار متحرک)
   ================================================================ */
.ab-marquee-wrap {
  overflow: hidden;
  background: var(--ab-navy);
  border-top: 1px solid rgba(50,147,227,0.15);
  border-bottom: 1px solid rgba(50,147,227,0.15);
  padding: 18px 0;
}

.ab-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  color: var(--ab-light);
  letter-spacing: 1px;
  will-change: transform;
}

.ab-m-dot {
  color: var(--ab-blue);
  font-size: 12px;
  vertical-align: middle;
}

/* Gap between each copy (after last item of each row) */
.ab-marquee-track > :nth-child(26n-13) {
  margin-right: 150px;
}

/* ================================================================
    ۳. داستان — Split Layout
   ================================================================ */
.ab-story {
  display: flex;
  align-items: center;
  gap: 90px;
  padding: 110px 8% 100px;
  background: white;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

/* دکوراسیون پس‌زمینه داستان */
.ab-story::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 45%;
  background: linear-gradient(180deg, var(--ab-bg-soft) 0%, white 60%);
  z-index: 0;
  pointer-events: none;
}

/* سمت تصویر */
.ab-story-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.ab-story-deco-1 {
  position: absolute;
  width: 280px; height: 280px;
  top: -40px; right: -40px;
  background: radial-gradient(circle, rgba(50,147,227,0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.ab-story-deco-2 {
  position: absolute;
  width: 120px; height: 120px;
  bottom: -30px; left: -20px;
  border: 1.5px solid rgba(50,147,227,0.12);
  border-radius: 30px;
  animation: ab-rotate-slow 30s linear infinite;
  pointer-events: none;
}

/* اورب / لوگو */
.ab-orb-wrap {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  animation: ab-spin linear infinite;
}

.ab-orb-ring-1 {
  inset: 0;
  border-color: rgba(50,147,227,0.25);
  border-style: dashed;
  animation-duration: 14s;
}

.ab-orb-ring-2 {
  inset: -22px;
  border-color: rgba(4,14,255,0.15);
  animation-duration: 22s;
  animation-direction: reverse;
}

.ab-orb-ring-3 {
  inset: -44px;
  border-color: rgba(50,147,227,0.08);
  animation-duration: 35s;
}

@keyframes ab-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ab-orb-core {
  width: 190px; height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f3ff, #d1e2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(50,147,227,0.18),
    0 20px 60px rgba(50,147,227,0.22),
    0 4px 16px rgba(50,147,227,0.1);
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.ab-orb-core img {
  width: 135px; height: 135px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.ab-orb-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(255,255,255,0.12) 70%, transparent 80%);
  animation: ab-spin 5s linear infinite;
}

/* سمت متن */
.ab-story-text {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.ab-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ab-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--ab-blue), var(--ab-electric));
  border-radius: 2px;
}

.ab-story-heading {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--ab-mid);
  line-height: 1.25;
  margin-bottom: 32px;
}

.ab-story-p {
  font-size: 17px;
  line-height: 2.1;
  color: #445;
  margin-bottom: 22px;
}

.ab-quote {
  position: relative;
  border-right: 3px solid var(--ab-blue);
  padding: 20px 28px;
  background: var(--ab-bg-soft);
  border-radius: 0 16px 16px 0;
  font-size: 16px;
  color: var(--ab-mid);
  margin-top: 32px;
  margin-bottom: 36px;
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ab-quote-icon {
  flex-shrink: 0;
  color: var(--ab-blue);
  opacity: 0.3;
  width: 28px;
}

.ab-quote-heart {
  flex-shrink: 0;
  color: #e05;
  width: 20px; height: 20px;
}

/* دکمه */
.ab-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--ab-electric), var(--ab-blue));
  color: white;
  font-family: 'vazir', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(50,147,227,0.3);
  transition: transform 0.35s var(--ab-ease-spring), box-shadow 0.35s var(--ab-ease);
  position: relative;
  overflow: hidden;
}

.ab-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ab-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(50,147,227,0.4);
}

.ab-cta-btn:hover::before { opacity: 1; }

/* ================================================================
   ۴. آمار — باند تیره پارالاکس
   ================================================================ */
.ab-stats-band {
  position: relative;
  overflow: hidden;
  padding: 90px 5%;
  background: var(--ab-dark);
}

.ab-stats-bg {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(50,147,227,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #000d26, #001e5e);
}

/* تکسچر نویز ظریف */
.ab-stats-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.ab-stats-top-line {
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,147,227,0.3), transparent);
}

/* گرید آمار */
.ab-stats-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  direction: rtl;
}

.ab-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 30px 20px;
}

.ab-stat-inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.ab-stat-num {
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(130deg, #86c8ff, #3293e3, #86c8ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ab-shimmer 5s linear infinite;
}

.ab-stat-unit {
  font-size: 22px;
  font-weight: 700;
  color: var(--ab-light);
  opacity: 0.8;
  -webkit-text-fill-color: initial;
}

.ab-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(209,226,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ab-stat-sep {
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(209,226,255,0.15), transparent);
  flex: 0 0 1px;
}

/* ================================================================
   ۵. ارزش‌ها — کارت‌ها
   ================================================================ */
.ab-values {
  padding: 0 5% 100px 5%;
  background: var(--ab-bg-soft);
  position: relative;
  direction: rtl;
  overflow: hidden;
}

/* خط تزئینی بالا */
.ab-values::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ab-blue), var(--ab-electric), var(--ab-blue), transparent);
}

/* دایره تزئینی پشت */
.ab-values::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(50,147,227,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.ab-values-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.ab-values-title {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  color: var(--ab-mid);
  margin: 14px 0 16px;
  line-height: 1.2;
}

.ab-values-sub {
  font-size: 17px;
  color: #667;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.8;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ab-val-card {
  background: white;
  border-radius: 28px;
  padding: 42px 28px 36px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(50,147,227,0.07);
  border: 1px solid rgba(50,147,227,0.1);
  transition:
    transform 0.4s var(--ab-ease-spring),
    box-shadow 0.4s var(--ab-ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.ab-val-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(50,147,227,0.15);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.ab-val-hover-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-blue), var(--ab-electric));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ab-ease);
}

.ab-val-card:hover .ab-val-hover-line {
  transform: scaleX(1);
  transform-origin: left;
}

.ab-val-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(50,147,227,0.15);
}

.ab-val-icon {
  width: 72px; height: 72px;
  border-radius: 22px;
  background: var(--ab-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  color: var(--ab-electric);
  transition: transform 0.4s var(--ab-ease-spring), background 0.3s;
}

.ab-val-card:hover .ab-val-icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, var(--ab-blue), var(--ab-electric));
  color: white;
}

.ab-val-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-mid);
  margin-bottom: 12px;
}

.ab-val-text {
  font-size: 15px;
  color: #567;
  line-height: 1.85;
}

/* ================================================================
   ۶. شعبه‌ها
   ================================================================ */
.ab-branches {
  padding:0 5% 110px 5%;
  background: white;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* دکوراسیون پس‌زمینه */
.ab-branches-bg-deco {
  position: absolute;
  width: 700px; height: 700px;
  bottom: -300px; left: -200px;
  background: radial-gradient(circle, rgba(50,147,227,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ab-branches-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.ab-branches-title {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  color: var(--ab-mid);
  margin: 14px 0 16px;
}

.ab-branches-sub {
  font-size: 17px;
  color: #667;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.85;
}

.ab-branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ab-branch-card {
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: 0 16px 50px rgba(0,30,94,0.1);
  border: 1px solid rgba(50,147,227,0.1);
  transition:
    transform 0.4s var(--ab-ease-spring),
    box-shadow 0.4s var(--ab-ease);
}

.ab-branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,30,94,0.16);
}

.ab-branch-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.ab-branch-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ab-ease);
}

.ab-branch-card:hover .ab-branch-img-wrap img {
  transform: scale(1.06);
}

.ab-branch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,13,38,0.1) 0%, rgba(0,13,38,0.65) 100%);
}

.ab-branch-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(20,93,255,0.85);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 1.5px;
}

.ab-branch-img-num {
  position: absolute;
  bottom: 18px; left: 18px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  letter-spacing: -2px;
}

.ab-branch-info {
  padding: 30px 28px;
}

.ab-branch-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--ab-mid);
  margin-bottom: 14px;
}

.ab-branch-addr,
.ab-branch-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #567;
  line-height: 1.75;
  margin-bottom: 10px;
}

.ab-branch-addr svg,
.ab-branch-hours svg {
  flex-shrink: 0;
  color: var(--ab-blue);
  margin-top: 3px;
}

/* ================================================================
   اسکرول ریول
   ================================================================ */
[data-reveal] {
  transition:
    opacity 0.85s var(--ab-ease),
    transform 0.85s var(--ab-ease);
  transition-delay: calc(var(--delay, 0) * 0.14s);
}

[data-reveal="up"]    { opacity: 0; transform: translateY(44px); }
[data-reveal="left"]  { opacity: 0; transform: translateX(-44px); }
[data-reveal="right"] { opacity: 0; transform: translateX(44px); }
[data-reveal="fade"]  { opacity: 0; transform: scale(0.96); }

[data-reveal].ab-revealed {
  opacity: 1;
  transform: none;
}

/* ================================================================
   ریسپانسیو
   ================================================================ */
@media (max-width: 1100px) {
  .ab-values-grid { grid-template-columns: repeat(2, 1fr); }

  .ab-story { gap: 55px; padding: 80px 6% 80px; }
  .ab-orb-wrap { width: 230px; height: 230px; }
  .ab-orb-core  { width: 155px; height: 155px; }
  .ab-orb-core img { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
  /* هیرو */
  .ab-hero {
    min-height: 100vh;
    min-height: 68svh;
    height: 68vh;
    height: 67svh;
    max-height: 100vh;
    max-height: 100svh;
    overflow: hidden;
    will-change: transform;
    background:
      radial-gradient(ellipse 80% 60% at 75% 40%, rgba(50,147,227,0.22) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 20% 80%, rgba(4,14,255,0.28) 0%, transparent 55%),
      linear-gradient(150deg, #000d26 0%, #001240 55%, #040eff 130%);
  }

  .ab-hero-title { font-size: clamp(42px, 11vw, 64px); }
  .ab-hero-badge { font-size: 14px; padding: 12px 24px; }

  .ab-hero-bg,
  .ab-hero-grid,
  .ab-shape,
  .ab-hero-content,
  .ab-stats-bg {
    will-change: auto;
  }

  /* مارکی */
  .ab-marquee-track { font-size: 15px; }

  /* داستان عمودی */
  .ab-story {
    flex-direction: column;
    padding: 70px 6% 70px;
    gap: 50px;
    text-align: center;
  }
  .ab-story::after { display: none; }
  .ab-story-text { max-width: 100%; }
  .ab-orb-wrap { width: 210px; height: 210px; }
  .ab-orb-core  { width: 145px; height: 145px; }
  .ab-orb-core img { width: 105px; height: 105px; }
  .ab-label { justify-content: center; }
  .ab-quote { text-align: right; }

  /* آمار ۲ ستونه */
  .ab-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .ab-stat-sep { display: none; }
  .ab-stat {
    padding: 28px 16px;
    border-bottom: 1px solid rgba(209,226,255,0.08);
  }
  .ab-stat:nth-child(odd) {
    border-left: 1px solid rgba(209,226,255,0.08);
  }
  .ab-stat-num { font-size: clamp(52px, 13vw, 80px); }

  /* ارزش‌ها ۲ ستونه */
  .ab-values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ab-val-card { padding: 30px 18px 28px; }

  /* شعبه‌ها تک‌ستونه */
  .ab-branches-grid { grid-template-columns: 1fr; gap: 24px; }
  .ab-branches, .ab-values { padding: 0 5% 60px 5%; }
  .ab-branch-img-wrap { height: 220px; }
}

/* ═══ Product Rows ═══ */
.product {
  padding: 60px 5%;
  background: var(--ab-bg-soft, #f0f6ff);
}
.product-section {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.product-row {
  background: #c6ddff;
  border-radius: 30px;
  padding: 28px 32px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.product-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.product-row-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
}
.product-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #001d6d;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.product-row-btn:hover {
  background: blue;
  transform: scale(1.03);
}
.product-row-btn svg {
  width: 16px;
  height: 16px;
}
.product-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.product-scroll::-webkit-scrollbar {
  display: none;
}
.product-scroll > * {
  scroll-snap-align: start;
}
.product-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.product-pagination .dot {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: #d9d9d9;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.product-pagination .dot.active {
  background: #001d6d;
  width: 36px;
}
.product-card {
  flex: 0 0 auto;
  width: calc((100% - 80px) / 6);
  min-width: 0;
  background: #fff;
  border: 1px solid 1px solid rgba(0, 90, 255, 0.4);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 2px 2px 8px 2px skyblue;
}
.product-card:hover {
  transform: translateY(-4px);
  color: #fff;
  /* box-shadow: 0 12px 32px rgba(0,0,0,0.1); */
}
.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #fff;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 0;
}
.product-card-fav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .product-card-fav:hover {
    color: #e74c3c;
    transform: scale(1.15);
  }
  .product-card-fav:hover svg {
    fill: currentColor;
  }
}
.product-card-fav.active {
  color: #e74c3c;
}
.product-card-cart {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.product-card-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
@media (hover: hover) {
  .product-card-cart:hover {
    color: #0066ff;
    transform: scale(1.15);
  }
}
.product-card-stock {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid var(--ab-dark, #000d26);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
}
.product-card-stock.out-of-stock {
  border-color: #e74c3c;
  color: #e74c3c;
}
.product-card-info {
  padding: 10px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.product-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 2.5;
  min-height: calc(15px * 1.5 * 2);
}
.product-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
  white-space: nowrap;
  text-align: center;
}
.product-card-old-price {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}
.product-card-discount-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.product-loading,
.product-error {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
  width: 100%;
}
.product-error {
  color: #e74c3c;
}

/* حالت افقی (Landscape) موبایل */
@media (orientation: landscape) and (max-height: 550px) {
    .navbar {
        min-height: 36px;
        padding-top: 2px;
    }
    .nav-btn {
        height: 26px;
        padding: 2px 6px;
        font-size: 10px;
    }
    .hero-slider {
        height: 70vh;
        max-height: 350px;
    }
    .slide-image img {
        max-height: 55vh;
    }
    .slide-container {
        gap: 12px;
        padding: 40px 20px;
    }
    .cta-button {
        position: absolute;
        bottom: 120px;
        left: 85%;
        transform: translateX(-50%);
        z-index: 11;
        padding: 10px 22px;
        font-size: 13px;
    }
    .slider-controls {
        bottom: 40px;
    }
    .categories-head h2 {
        font-size: 28px;
    }
    .fashion-grid {
        grid-template-columns: 120px 1.6fr 120px;
        gap: 10px;
    }
    .vertical-slider:first-of-type,
    .vertical-slider:last-of-type {
        height: 50vh;
        min-height: 140px;
    }
    .small-column:last-of-type {
        height: 50vh;
    }
    .about {
        padding-top: 16px;
        padding-bottom: 12px;
    }
    .v-content {
        padding-top: 30px;
    }
    .v-content h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    footer {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
    .menu-bottom {
        bottom: 6px;
        right: 6px;
        left: 6px;
        min-height: 54px;
        border-radius: 28px;
        padding: 0 8px;
    }
    .menu-center-item {
        top: -6px;
    }
    .menu-center-item .logo1 {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }
    .menu-right-item a,
    .menu-left-item a {
        font-size: 11px;
        padding: 0 6px;
    }
    .menu-right-item svg,
    .menu-left-item svg {
        width: 26px;
        height: 26px;
    }
    .menu-right-item span,
    .menu-left-item span {
        font-size: 9px;
    }
    .product-row {
        padding: 16px 12px 20px;
    }
    .product {
        padding: 24px 4%;
    }
    .product-section {
        gap: 20px;
    }
    .product-card {
        width: calc((100% - 12px) / 3);
    }
    .product-row-header h3 {
        font-size: 15px;
    }
    .contact-for-us p {
        font-size: 12px;
    }
    .link-social-media {
        gap: 14px;
    }
    .link-social-media a span {
        font-size: 12px;
    }
    .poshtibani {
        padding: 10px;
        gap: 10px;
    }
    .poshtibani-aratan h3,
    .poshtibani-aratan p {
        font-size: 12px;
        padding: 4px 8px 0;
    }
    .hoghooghi {
        font-size: 11px;
        padding: 6px;
    }
}

/* Responsive cards */
@media (max-width: 1399px) {
  .product-card { width: calc((100% - 64px) / 5); }
}
@media (max-width: 1199px) {
  .product-card { width: calc((100% - 48px) / 4); }
  .product-row { padding: 24px 20px 28px; }
}
@media (max-width: 991px) {
  .product-card { width: calc((100% - 32px) / 3); }
}
@media (max-width: 767px) {
  .product-card { width: calc((100% - 16px) / 2); }
  .product-row { padding: 20px 16px 24px; border-radius: 24px; }
  .product-row-header h3 { font-size: 17px; }
  .product-row-btn { font-size: 13px; padding: 6px 16px; }
  .product { padding: 40px 4%; }
  .product-section { gap: 32px; }
}

/* ═══ Product Detail Modal ═══ */
.product-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.product-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.product-modal-panel {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  max-width: 720px;
  height: 100vh;
  background: #fff;
  z-index: 10001;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  direction: rtl;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.product-modal-overlay.open .product-modal-panel {
  transform: translateX(0);
}
.product-modal-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.product-modal-close:hover {
  background: #e8e8e8;
}
.pm-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.pm-fav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .pm-fav-btn:hover {
    color: #e74c3c;
    transform: scale(1.15);
  }
  .pm-fav-btn:hover svg {
    fill: currentColor;
  }
}
.pm-fav-btn.active {
  color: #e74c3c;
}
.product-modal-body {
  padding: 24px;
  min-height: 200px;
}
.product-modal-loading,
.product-modal-error {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 15px;
}
.product-modal-error {
  color: #e74c3c;
}

/* Layout */
.pm-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pm-image-col {
  width: 100%;
}
.pm-main-image-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 80vh;
  background: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Slideshow */
.pm-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pm-slide.active {
  opacity: 1;
  position: relative;
}
.pm-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.pm-slide-prev,
.pm-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.pm-slide-prev:hover,
.pm-slide-next:hover {
  background: rgba(0,0,0,0.5);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.pm-slide-prev { right: 12px; }
.pm-slide-next { left: 12px; }
.pm-slide-dots {
  display: flex;
  gap: 6px;
  padding: 8px 0 14px;
  justify-content: center;
}
.pm-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.pm-slide-dot.active {
  background: var(--ab-dark, #000d26);
  transform: scale(1.25);
}
.pm-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
  margin: 0;
}
.pm-category {
  font-size: 13px;
  color: #999;
}
.pm-price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pm-price-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-discount-badge {
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.pm-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
}
.pm-old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  display: block;
}
.pm-code {
  font-size: 12px;
  color: #bbb;
}
.pm-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Variants */
.pm-variants-section {
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.pm-variants-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
  margin: 0 0 12px;
}
.pm-variant-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pm-variant-tab {
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 999px;
background: rgba(0, 90, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pm-variant-tab:hover {
  border-color: blue
}
.pm-variant-tab.active {
  background: blue;
  color: #fff;
  border-color: blue;
}

.pm-size-btn {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: rgba(0, 90, 255, 0.9);;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}
.pm-size-btn:hover:not(.out-of-stock) {
  border-color: #07006A;
  background:#07006A;
}
.pm-size-btn.selected {
  border-color:blue;
  background:blue;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pm-size-btn.out-of-stock {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.pm-size-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
}
.pm-size-btn-wrap.selected {
  border-color: var(--ab-dark, #000d26);
}
.pm-inline-qty {
  display: flex;
  align-items: center;
  gap: 2px;
  direction: ltr;
}
.pm-inline-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ab-dark, #000d26);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.pm-inline-qty-btn:hover {
  background: #f0f0f0;
}
.pm-inline-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
  direction: ltr;
}
.pm-sizes-container {
  margin-top: 16px;
}
.pm-size-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Summary section */
.pm-summary {
  border-top: 1px solid #eee;
  padding-top: 14px;
}
.pm-summary h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
  margin: 0 0 10px;
}
.pm-summary-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 6px;
  gap: 8px;
}
.pm-summary-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ab-dark, #000d26);
  white-space: nowrap;
  flex: 1;
}
.pm-summary-item-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
  white-space: nowrap;
  margin-left: auto;
}
.pm-summary-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}
.pm-summary-total {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ab-dark, #000d26);
  padding: 10px 0 4px;
}
.pm-summary-remove {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #e74c3c;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.pm-summary-remove:hover {
  background: #fee;
}

/* Cart section */
.pm-cart-section {
  border-top: 1px solid #eee;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-total-count {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-dark, #000d26);
}
.pm-add-cart-btn {
  width: 100%;
  padding: 14px;
  background: rgba(0, 90, 255, 0.9);;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pm-add-cart-btn:hover:not(:disabled) {
  background:#07006A;
  transform: scale(1.01);
}
.pm-add-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.pm-cart-msg {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
}
.pm-cart-msg.error {
  color: #e74c3c;
}
.pm-cart-msg.success {
  color: #27ae60;
}

/* ── Toast Notification ── */
.ft-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: vazir, sans-serif;
  font-size: 15px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .35s;
  direction: rtl;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ft-toast--show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ft-toast--success {
  background: linear-gradient(135deg, rgba(50,147,227,.6) 0%, rgba(20,93,255,.55) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(20,93,255,.35), inset 0 1px 0 rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.25);
}
.ft-toast--remove {
  background: linear-gradient(135deg, rgba(100,116,139,.55) 0%, rgba(71,85,105,.5) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(100,116,139,.3), inset 0 1px 0 rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.2);
}

