/*
Theme Name: پوسته ناتاشاپ
Theme URI: https://nata-shop.ir/wp-admin/themes.php/nata
Author: نگین مزینانی
Author URI: https://nata-shop.ir
Description:این پوسته برای فارسی زبانان کشور است و می توانند از این پوسته برای ساخت یک فروشگاه اینترنتی حرفه ای و معتبر استفاده کنید و کسب و کار اینترنتی خود را شروع کنید
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 5.6
Version: 1.6
Text Domain: nata-shop

*/

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

body {
    font-family: "Vazirmatn";
    background: #f5f7fa;
    color: #222;
}

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    max-width: 1400px;
    margin: auto;
    min-height: 75px;
    padding: 12px 25px;

    display: flex;
    align-items: center;
    gap: 25px;
}

/* لوگو */

.logo {
    min-width: 145px;
    font-size: 27px;
    font-weight: bold;
    color: #0d47a1;
}

.logo span::after {
    content: "";
    display: block;
    width: 35px;
    height: 4px;
    margin-top: 5px;
    border-radius: 10px;
    background: #ff6d00;
}

/* جستجو */

.search-box {
    flex: 1;
    max-width: 700px;
    height: 48px;

    display: flex;
    align-items: center;

    background: #f1f4f8;
    border-radius: 12px;
    padding: 0 17px;

    transition: 0.3s;
}

.search-box:focus-within {
    background: #ffffff;
    box-shadow: 0 0 0 2px #42a5f5;
}

.search-box i {
    color: #1565c0;
    font-size: 18px;
}

.search-box input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;
    background: transparent;

    padding: 0 12px;

    font-size: 14px;
    font-family: inherit;
}

/* اکشن‌های هدر */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.login-btn {
    background: #ffffff;
    border: 1px solid #d9dfe7;

    padding: 11px 17px;
    border-radius: 9px;

    cursor: pointer;
    font-family: inherit;
    font-size: 13px;

    transition: 0.25s;
}

.login-btn i {
    color: #1565c0;
    margin-left: 7px;
}

.login-btn:hover {
    border-color: #1565c0;
    color: #1565c0;
}

.cart-btn {
    position: relative;

    width: 46px;
    height: 46px;

    border: none;
    background: #1565c0;
    color: white;

    border-radius: 10px;

    cursor: pointer;
    font-size: 18px;
}

.cart-count {
    position: absolute;

    top: -6px;
    right: -6px;

    width: 20px;
    height: 20px;

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

    background: #ff6d00;
    color: white;

    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
}

/* ================= NAV ================= */
.main-nav {
    max-width: 1400px;
    margin: auto;

    height: 48px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    gap: 28px;

    border-top: 1px solid #f0f0f0;
}

.main-nav a {
    text-decoration: none;
    color: #444;

    font-size: 13px;

    transition: 0.25s;
}

.main-nav a:hover {
    color: #1565c0;
}

.categories {
    color: #0d47a1;
    font-weight: bold;
    font-size: 13px;

    cursor: pointer;
}

.categories i {
    margin-left: 7px;
    color: #ff6d00;
}

/* ================= STORIES ================= */

.stories-section {
    max-width: 1400px;
    margin: 25px auto;

    padding: 0 25px;
}

.stories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.stories-header h2 {
    font-size: 20px;
    color: #09254e;
}

.stories-arrow {
    border: none;
    background: transparent;

    color: #1565c0;

    font-family: inherit;
    cursor: pointer;
}

.stories-container {
    display: flex;
    gap: 20px;

    overflow-x: auto;
    padding: 8px 4px 15px;

    scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

/* هر استوری */

.story-item {
    flex: 0 0 auto;

    width: 88px;

    text-align: center;

    cursor: pointer;
}

.story-ring {
    width: 82px;
    height: 82px;

    padding: 3px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #0d47a1,
            #1565c0,
            #ff9800,
            #ff6d00);

    margin: auto;

    transition: 0.3s;
}

.story-item:hover .story-ring {
    transform: scale(1.08);
}

.story-ring img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid white;

    display: block;
}

.story-name {
    margin-top: 8px;

    font-size: 12px;

    color: #090425;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================= HERO ================= */

.hero-banner {
    max-width: 1400px;
    min-height: 280px;

    margin: 25px auto;

    border-radius: 22px;

    background:
        linear-gradient(120deg,
            #0d47a1,
            #1565c0 60%,
            #ff6d00);

    color: white;

    overflow: hidden;

    position: relative;
}

.banner-content {
    padding: 45px 55px;
}

.banner-small {
    font-size: 14px;
    opacity: 0.9;
}

.banner-content h1 {
    margin: 12px 0;

    font-size: 38px;
    line-height: 1.5;
}

.banner-content p {
    font-size: 15px;
    opacity: 0.9;
}

.banner-btn {
    margin-top: 25px;

    padding: 12px 22px;

    border: none;
    border-radius: 10px;

    background: white;
    color: #0d47a1;

    font-family: inherit;
    font-weight: bold;

    cursor: pointer;
}

.banner-btn i {
    margin-right: 8px;
}

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

.products-section {
    max-width: 1400px;
    margin: 35px auto;
    padding: 0 25px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.section-title h2 {
    color: #0d47a1;
}

.section-title a {
    color: #ff6d00;
    text-decoration: none;
    font-size: 13px;
}

.products {
    display: grid;

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

    gap: 18px;
}

.product-card {
    background: white;

    border-radius: 15px;

    padding: 15px;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

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

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 400px;

    position: relative;

    overflow: hidden;

    border-radius: 12px;

    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.discount {
    position: absolute;

    top: 2px;
    right: 220px;

    z-index: 2;

    background: #ff6d00;
    color: white;

    padding: 5px 9px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: bold;
}

.product-card h3 {
    margin-top: 13px;

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

.product-rating {
    margin-top: 8px;

    color: #ff9800;

    font-size: 13px;
}

.product-price {
    margin-top: 12px;

    color: #0d47a1;

    font-weight: bold;
}

/* ================= STORY VIEWER ================= */

.story-viewer {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

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

.story-viewer.active {
    display: flex;
}

.story-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.88);
}

.story-modal {
    position: relative;

    width: min(430px, 94vw);
    height: min(760px, 92vh);

    background: #111;

    border-radius: 15px;

    overflow: hidden;

    z-index: 2;
}

/* نوار پیشرفت */

.story-progress {
    position: absolute;

    top: 10px;
    right: 10px;
    left: 10px;

    height: 4px;

    display: flex;
    gap: 4px;

    z-index: 10;
}

.progress-bar {
    flex: 1;

    height: 100%;

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

    border-radius: 10px;

    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;

    background: white;
}

/* بالای استوری */

.story-top {
    position: absolute;

    top: 25px;
    right: 15px;
    left: 15px;

    z-index: 10;

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

.story-user {
    display: flex;
    align-items: center;
    gap: 9px;

    color: white;

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

.story-user img {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #ff9800;
}

.close-story {
    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.4);

    color: white;

    font-size: 20px;

    cursor: pointer;
}

/* محتوای استوری */

.story-content {
    width: 100%;
    height: 100%;

    display: flex;

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

    background: #111;
}

.story-content img,
.story-content video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* دکمه‌های قبلی و بعدی */

.story-nav {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

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

    color: #0d47a1;

    cursor: pointer;

    z-index: 20;

    font-size: 16px;
}

.story-prev {
    right: 12px;
}

.story-next {
    left: 12px;
}

.story-nav:hover {
    background: #ff9800;
    color: white;
}

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

@media (max-width: 800px) {

    .header-top {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo {
        min-width: auto;
        font-size: 22px;
    }

    .search-box {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .main-nav {
        overflow-x: auto;
        gap: 20px;
        white-space: nowrap;
    }

    .hero-banner {
        margin: 20px 15px;
    }

    .banner-content {
        padding: 35px 25px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .products-section {
        padding: 0 15px;
    }

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

    .product-image {
        height: 180px;
    }

}

@media (max-width: 500px) {

    .header-top {
        padding: 10px 15px;
    }

    .header-actions {
        margin-right: auto;
    }

    .login-btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .stories-section {
        padding: 0 15px;
    }

    .stories-container {
        gap: 15px;
    }

    .story-item {
        width: 78px;
    }

    .story-ring {
        width: 72px;
        height: 72px;
    }

    .products {
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .product-image {
        height: 150px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 12px;
    }

    .story-modal {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

}

/* ================= ژانر کتاب‌ها ================= */

.categories-wrapper {
    position: relative;
}

.categories {
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 7px;

    color: #0d47a1;
    font-weight: bold;
}

.categories .arrow {
    font-size: 10px;
    color: #ff6d00;

    transition: 0.3s;
}

.categories-wrapper.open .arrow {
    transform: rotate(180deg);
}


/* منوی ژانرها */

.genre-menu {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 210px;

    background: white;

    border-radius: 12px;

    padding: 8px;

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

    border-top: 3px solid #ff6d00;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;

    z-index: 2000;
}


/* وقتی باز است */

.categories-wrapper.open .genre-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* گزینه ژانر */

.genre-item {
    padding: 11px 12px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-radius: 8px;

    font-size: 13px;

    color: #333;

    cursor: pointer;

    transition: 0.2s;
}

.genre-item i {
    width: 20px;

    color: #1565c0;
}

.genre-item:hover {
    background: #eef6ff;

    color: #0d47a1;

    padding-right: 16px;
}

.genre-item:hover i {
    color: #ff6d00;
}

/* ================= AUTH MODAL ================= */

.auth-overlay {
    position: fixed;

    inset: 0;

    background: rgba(5, 25, 55, 0.65);

    backdrop-filter: blur(5px);

    display: none;

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

    z-index: 10000;

    padding: 20px;
}

.auth-overlay.active {
    display: flex;
}


/* کادر */

.auth-modal {
    position: relative;

    width: min(430px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 20px;

    padding: 35px 32px 28px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation: authOpen 0.3s ease;
}

@keyframes authOpen {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* بستن */

.auth-close {
    position: absolute;

    top: 15px;
    left: 15px;

    width: 36px;
    height: 36px;

    border: none;

    border-radius: 50%;

    background: #f1f4f8;

    color: #555;

    cursor: pointer;

    font-size: 17px;

    transition: 0.2s;
}

.auth-close:hover {
    background: #ff6d00;
    color: white;
}


/* لوگو */

.auth-logo {
    text-align: center;

    color: #0d47a1;

    font-size: 23px;

    font-weight: bold;

    margin-bottom: 22px;
}

.auth-logo i {
    color: #ff6d00;

    margin-left: 7px;
}


/* عنوان */

.auth-page h2 {
    text-align: center;

    color: #0d47a1;

    font-size: 22px;

    margin-bottom: 9px;
}

.auth-description {
    text-align: center;

    color: #777;

    font-size: 13px;

    margin-bottom: 25px;

    line-height: 1.8;
}


/* لیبل */

.auth-page label {
    display: block;

    color: #333;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 7px;

    margin-top: 14px;
}


/* ورودی */

.auth-input {
    height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    border: 1px solid #dce2e9;

    border-radius: 10px;

    padding: 0 13px;

    transition: 0.2s;
}

.auth-input:focus-within {
    border-color: #1565c0;

    box-shadow:
        0 0 0 3px rgba(21, 101, 192, 0.1);
}

.auth-input>i:first-child {
    color: #1565c0;
}

.auth-input input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    font-family: inherit;

    font-size: 12px;
}

.password-eye {
    cursor: pointer;

    color: #888 !important;
}


/* فراموشی رمز */

.forgot-password {
    text-align: left;

    color: #1565c0;

    font-size: 11px;

    margin-top: 10px;

    cursor: pointer;
}


/* دکمه */

.auth-submit {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 10px;

    margin-top: 22px;

    background:
        linear-gradient(90deg,
            #0d47a1,
            #1565c0);

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.25s;
}

.auth-submit:hover {
    background:
        linear-gradient(90deg,
            #ff6d00,
            #ff9800);

    transform: translateY(-2px);
}


/* تغییر ورود / ثبت نام */

.auth-switch {
    text-align: center;

    margin-top: 20px;

    color: #777;

    font-size: 12px;
}

.auth-switch button {
    border: none;

    background: transparent;

    color: #ff6d00;

    font-family: inherit;

    font-weight: bold;

    cursor: pointer;

    font-size: 12px;
}

.auth-switch button:hover {
    color: #0d47a1;
}


/* موبایل */

@media (max-width: 500px) {

    .auth-overlay {
        padding: 12px;
    }

    .auth-modal {
        padding: 32px 20px 24px;

        border-radius: 17px;
    }

}

/* =========================================
   SPECIAL BOOKS - FLOATING ISLANDS
========================================= */

.special-books {
    position: relative;

    max-width: 1400px;

    margin: 55px auto;

    padding: 38px;

    border-radius: 30px;

    overflow: hidden;

    background:
        radial-gradient(circle at 10% 20%,
            rgba(66, 165, 245, 0.35),
            transparent 28%),
        radial-gradient(circle at 90% 80%,
            rgba(255, 109, 0, 0.25),
            transparent 25%),
        linear-gradient(135deg,
            #061b3a,
            #0d47a1);

    box-shadow:
        0 20px 50px rgba(13, 71, 161, 0.2);
}


/* نورهای تزئینی */

.special-books::before,
.special-books::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;
}

.special-books::before {
    width: 180px;
    height: 180px;

    top: -80px;
    right: 25%;

    background: rgba(255, 152, 0, 0.16);
}

.special-books::after {
    width: 220px;
    height: 220px;

    bottom: -130px;
    left: 10%;

    background: rgba(66, 165, 245, 0.15);
}


/* HEADER */

.special-header {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;

    color: white;
}

.special-mini-title {
    display: inline-block;

    margin-bottom: 7px;

    color: #ffab40;

    font-size: 12px;

    font-weight: bold;
}

.special-header h2 {
    font-size: 28px;

    margin-bottom: 8px;
}

.special-header p {
    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
}

.special-badge {
    padding: 11px 16px;

    border-radius: 30px;

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

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

    backdrop-filter: blur(10px);

    color: #fff;

    font-size: 12px;

    white-space: nowrap;
}

.special-badge i {
    color: #ff9800;

    margin-left: 6px;
}


/* =========================================
   ISLANDS
========================================= */

.special-islands {
    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 17px;

    align-items: start;
}


/* کارت اصلی */

.special-book {
    position: relative;

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

    border-radius: 22px;

    padding: 13px;

    overflow: hidden;

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    animation: islandFloat 5s ease-in-out infinite;
}

.special-book:hover {
    transform:
        translateY(-10px) rotate(0deg) scale(1.02);

    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.28);
}


/* چیدمان جزیره‌ای */

.island-one {
    grid-column: span 3;

    transform: rotate(-1.5deg);
}

.island-two {
    grid-column: span 3;

    transform: translateY(18px) rotate(1.5deg);
}

.island-three {
    grid-column: span 2;

    transform: translateY(-5px) rotate(-1deg);
}

.island-four {
    grid-column: span 2;

    transform: translateY(25px) rotate(1.5deg);
}

.island-five {
    grid-column: span 2;

    transform: translateY(4px) rotate(-1.5deg);
}

.island-six {
    grid-column: span 2;

    transform: translateY(30px) rotate(1deg);
}


/* انیمیشن */

@keyframes islandFloat {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -4px;
    }

}


/* عکس */

.special-book-image {
    position: relative;

    width: 100%;

    height: 210px;

    overflow: hidden;

    border-radius: 15px;

    background: #edf2f7;
}

.special-book-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.special-book:hover .special-book-image img {
    transform: scale(1.07);
}


/* تخفیف */

.special-discount {
    position: absolute;

    top: 20px;
    right: 20px;

    z-index: 5;

    padding: 6px 9px;

    border-radius: 8px;

    background: linear-gradient(135deg,
            #ff6d00,
            #ff9800);

    color: white;

    font-size: 10px;

    font-weight: bold;

    box-shadow:
        0 5px 12px rgba(255, 109, 0, 0.3);
}


/* اطلاعات */

.special-book-info {
    padding: 12px 3px 3px;
}

.special-genre {
    display: inline-block;

    color: #1565c0;

    font-size: 9px;

    background: #eaf3ff;

    padding: 4px 7px;

    border-radius: 6px;

    margin-bottom: 7px;
}

.special-book-info h3 {
    color: #102a43;

    font-size: 14px;

    margin-bottom: 5px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.special-book-info p {
    color: #8a96a3;

    font-size: 10px;

    margin-bottom: 10px;
}


/* قیمت */

.special-price {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 11px;
}

.special-price del {
    color: #9aa5b1;

    font-size: 10px;
}

.special-price strong {
    color: #0d47a1;

    font-size: 16px;
}


/* دکمه */

.special-book-info button {
    width: 100%;

    border: none;

    border-radius: 9px;

    padding: 9px;

    background: #edf5ff;

    color: #1565c0;

    font-family: inherit;

    font-size: 10px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.25s;
}

.special-book-info button i {
    margin-right: 5px;
}

.special-book-info button:hover {
    background:
        linear-gradient(90deg,
            #0d47a1,
            #1565c0);

    color: white;
}


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

@media (max-width: 900px) {

    .special-books {
        margin: 35px 15px;

        padding: 25px 18px;

        border-radius: 23px;
    }

    .special-islands {
        display: flex;

        overflow-x: auto;

        gap: 15px;

        padding: 8px 4px 18px;

        scrollbar-width: none;
    }

    .special-islands::-webkit-scrollbar {
        display: none;
    }

    .special-book {
        flex: 0 0 180px;

        transform: none !important;
    }

    .special-book-image {
        height: 210px;
    }

    .special-header {
        align-items: flex-start;

        flex-direction: column;
    }

}

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

.site-footer {
    margin-top: 70px;

    background:
        radial-gradient(circle at 80% 20%,
            rgba(21, 101, 192, 0.35),
            transparent 30%),
        linear-gradient(135deg,
            #06152d,
            #0a2852);

    color: white;

    position: relative;

    overflow: hidden;
}


/* نور تزئینی */

.site-footer::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -100px;
    bottom: -130px;

    border-radius: 50%;

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

    filter: blur(10px);

    pointer-events: none;
}


/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
    position: relative;

    max-width: 1400px;

    margin: auto;

    padding: 55px 35px 45px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.3fr;

    gap: 50px;
}


/* برند */

.footer-logo {
    color: white;

    font-size: 25px;

    font-weight: bold;

    margin-bottom: 14px;
}

.footer-logo i {
    color: #ff9800;

    margin-left: 7px;
}

.footer-brand p {
    color: #aebdd0;

    font-size: 12px;

    line-height: 2;

    max-width: 260px;
}


/* شبکه اجتماعی */

.footer-socials {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.footer-socials a {
    width: 37px;
    height: 37px;

    display: flex;

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

    border-radius: 50%;

    color: white;

    text-decoration: none;

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

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

    transition: 0.25s;
}

.footer-socials a:hover {
    background: #ff6d00;

    transform:
        translateY(-4px) rotate(5deg);
}


/* ستون‌ها */

.footer-column h3,
.footer-contact h3 {
    font-size: 15px;

    margin-bottom: 20px;

    color: white;
}

.footer-column h3::after,
.footer-contact h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 3px;

    margin-top: 8px;

    border-radius: 10px;

    background: #ff6d00;
}

.footer-column a {
    display: block;

    text-decoration: none;

    color: #aebdd0;

    font-size: 12px;

    margin-bottom: 14px;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #ff9800;

    padding-right: 5px;
}


/* تماس */

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #aebdd0;

    font-size: 11px;

    margin-bottom: 15px;

    line-height: 1.7;
}

.contact-item i {
    color: #42a5f5;

    font-size: 14px;

    margin-top: 2px;
}


/* =========================================
   APP
========================================= */

.footer-app {
    max-width: 1330px;

    margin: auto;

    padding: 22px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-radius: 18px;

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

    border:
        1px solid rgba(255, 255, 255, 0.1);
}

.app-text {
    display: flex;

    align-items: center;

    gap: 15px;
}

.app-icon {
    width: 52px;
    height: 52px;

    display: flex;

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

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            #1565c0,
            #42a5f5);

    font-size: 22px;
}

.app-text h3 {
    font-size: 14px;

    margin-bottom: 5px;
}

.app-text p {
    color: #aebdd0;

    font-size: 10px;
}


/* دکمه‌های اپ */

.app-buttons {
    display: flex;

    gap: 10px;
}

.app-button {
    min-width: 145px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 9px 13px;

    border-radius: 10px;

    background: #050f20;

    color: white;

    text-decoration: none;

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

    transition: 0.25s;
}

.app-button:hover {
    background: #ff6d00;

    transform: translateY(-3px);
}

.app-button>i {
    font-size: 25px;
}

.app-button small,
.app-button strong {
    display: block;
}

.app-button small {
    font-size: 8px;

    color: #aebdd0;

    margin-bottom: 3px;
}

.app-button strong {
    font-size: 11px;
}


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

.footer-bottom {
    max-width: 1400px;

    margin: 35px auto 0;

    padding: 20px 35px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #7f91a8;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a {
    color: #7f91a8;

    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ff9800;
}


/* =========================================
   GO TOP
========================================= */

.go-top {
    display: flex;

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

    gap: 7px;

    margin: 0 auto;

    width: 120px;

    height: 38px;

    border: none;

    border-radius:
        10px 10px 0 0;

    background:
        linear-gradient(135deg,
            #ff6d00,
            #ff9800);

    color: white;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;

    transition: 0.25s;
}

.go-top:hover {
    height: 45px;

    background:
        linear-gradient(135deg,
            #1565c0,
            #42a5f5);
}

.go-top i {
    font-size: 10px;
}


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

@media (max-width: 850px) {

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

        padding: 40px 25px;

        gap: 35px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-app {
        margin: 0 20px;

        flex-direction: column;

        align-items: stretch;
    }

    .app-buttons {
        width: 100%;
    }

    .app-button {
        flex: 1;
    }

}


@media (max-width: 550px) {

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

        padding: 35px 20px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-app {
        padding: 20px;
    }

    .app-text {
        align-items: flex-start;
    }

    .app-buttons {
        flex-direction: column;
    }

    .app-button {
        width: 100%;
    }

    .footer-bottom {
        margin-top: 25px;

        padding: 18px 20px;

        flex-direction: column;

        gap: 12px;

        text-align: center;
    }

}

/* =========================================
   TOP OFFER BAR
========================================= */

.top-offer-bar {
    width: 100%;

    min-height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(90deg,
            #063b82,
            #0d47a1,
            #0755a5);

    color: white;

    overflow: hidden;

    border-bottom:
        2px solid #ff6d00;
}

.offer-content {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    width: max-content;

    white-space: nowrap;

    font-size: 11px;

    animation:
        offerMove 18s linear infinite;
}

.offer-divider {
    color: #ff9800;

    font-weight: bold;
}

.offer-content span:not(.offer-divider) {
    transition: 0.2s;
}

.offer-content span:not(.offer-divider):hover {
    color: #ffb74d;
}

@keyframes offerMove {

    0% {
        transform: translateX(30%);
    }

    100% {
        transform: translateX(-30%);
    }

}


/* موبایل */

@media (max-width: 600px) {

    .top-offer-bar {
        min-height: 32px;
    }

    .offer-content {
        font-size: 9px;

        gap: 10px;

        animation-duration: 14s;
    }

}

/* =========================================
   POPULAR BOOKS
========================================= */

.popular-books {

    max-width: 1400px;

    margin: 60px auto;

    padding: 0 25px;
}


/* HEADER */

.popular-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 25px;
}

.popular-small-title {

    color: #ff6d00;

    font-size: 11px;

    font-weight: bold;
}

.popular-header h2 {

    margin-top: 7px;

    margin-bottom: 7px;

    color: #0d47a1;

    font-size: 27px;
}

.popular-header p {

    color: #7c8794;

    font-size: 11px;
}


.popular-see-all {

    border: none;

    background: #edf5ff;

    color: #1565c0;

    padding: 10px 15px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;

    transition: 0.2s;
}

.popular-see-all:hover {

    background: #1565c0;

    color: white;
}


/* =========================================
   LAYOUT
========================================= */

.popular-layout {

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 20px;
}


/* =========================================
   FIRST BOOK
========================================= */

.popular-first {

    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 25px;

    min-height: 390px;

    overflow: hidden;

    border-radius: 25px;

    background:
        linear-gradient(135deg,
            #e9f3ff,
            #ffffff);

    border:
        1px solid #dbeaff;

    box-shadow:
        0 12px 35px rgba(13, 71, 161, 0.08);

    transition: 0.3s;
}

.popular-first:hover {

    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(13, 71, 161, 0.14);
}


/* رتبه */

.rank-big {

    position: absolute;

    top: 18px;

    right: 20px;

    color: #ff6d00;

    font-size: 31px;

    font-weight: 900;

    opacity: 0.8;
}


/* تصویر */

.popular-first-image {

    width: 190px;

    height: 280px;

    flex-shrink: 0;

    border-radius: 13px;

    overflow: hidden;

    box-shadow:
        8px 12px 25px rgba(0, 0, 0, 0.18);
}

.popular-first-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.4s;
}

.popular-first:hover .popular-first-image img {

    transform: scale(1.05);
}


/* اطلاعات */

.popular-first-info {

    flex: 1;
}

.popular-tag {

    display: inline-block;

    padding: 6px 9px;

    border-radius: 7px;

    background: #fff1e6;

    color: #e65100;

    font-size: 9px;

    font-weight: bold;

    margin-bottom: 12px;
}

.popular-first-info h3 {

    color: #102a43;

    font-size: 24px;

    margin-bottom: 5px;
}

.popular-author {

    color: #8291a5;

    font-size: 11px;

    margin-bottom: 13px;
}


/* امتیاز */

.popular-rating {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 15px;
}

.popular-rating span {

    color: #ff9800;

    letter-spacing: 2px;

    font-size: 13px;
}

.popular-rating strong {

    color: #263238;

    font-size: 12px;
}

.popular-rating small {

    color: #9aa5b1;

    font-size: 9px;
}


/* توضیحات */

.popular-description {

    color: #68778a;

    font-size: 11px;

    line-height: 2;

    margin-bottom: 20px;
}


/* پایین */

.popular-first-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.popular-first-bottom>strong {

    color: #0d47a1;

    font-size: 20px;
}

.popular-first-bottom button {

    border: none;

    padding: 10px 13px;

    border-radius: 9px;

    background:
        linear-gradient(90deg,
            #ff6d00,
            #ff9800);

    color: white;

    font-family: inherit;

    font-size: 10px;

    cursor: pointer;

    transition: 0.2s;
}

.popular-first-bottom button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(255, 109, 0, 0.25);
}


/* =========================================
   OTHER BOOKS
========================================= */

.popular-list {

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.popular-item {

    position: relative;

    min-height: 85px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 9px 13px;

    border-radius: 15px;

    background: white;

    border: 1px solid #edf1f5;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.05);

    transition: 0.25s;
}

.popular-item:hover {

    transform: translateX(-5px);

    border-color: #c9ddf7;

    box-shadow:
        0 10px 25px rgba(13, 71, 161, 0.1);
}


/* رتبه */

.popular-rank {

    min-width: 30px;

    color: #ff6d00;

    font-size: 13px;

    font-weight: 900;

    text-align: center;
}


/* عکس */

.popular-item>img {

    width: 52px;

    height: 68px;

    border-radius: 7px;

    object-fit: cover;

    box-shadow:
        3px 5px 10px rgba(0, 0, 0, 0.12);
}


/* متن */

.popular-item-info {

    flex: 1;

    min-width: 0;
}

.popular-item-info h3 {

    color: #263238;

    font-size: 12px;

    margin-bottom: 3px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.popular-item-info p {

    color: #9aa5b1;

    font-size: 9px;

    margin-bottom: 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.mini-rating {

    color: #ff9800;

    font-size: 9px;

    margin-bottom: 4px;
}

.mini-rating span {

    color: #65758b;

    margin-right: 4px;
}

.popular-item-info>strong {

    color: #0d47a1;

    font-size: 11px;
}


/* فلش */

.popular-arrow {

    width: 29px;

    height: 29px;

    flex-shrink: 0;

    border: none;

    border-radius: 50%;

    background: #edf5ff;

    color: #1565c0;

    cursor: pointer;

    transition: 0.2s;
}

.popular-arrow:hover {

    background: #ff6d00;

    color: white;
}


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

@media (max-width: 900px) {

    .popular-layout {

        grid-template-columns: 1fr;
    }

    .popular-first {

        min-height: auto;

        padding: 20px;
    }

}

@media (max-width: 550px) {

    .popular-books {

        padding: 0 15px;
    }

    .popular-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .popular-first {

        flex-direction: column;

        text-align: center;
    }

    .popular-first-image {

        width: 150px;

        height: 225px;
    }

    .popular-rating {

        justify-content: center;
    }

    .popular-first-bottom {

        flex-direction: column;
    }

    .popular-first-bottom button {

        width: 100%;
    }

}

/* =========================================
   FLOATING MENU - FINAL
========================================= */

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 99999;
}


/* دکمه اصلی */

.floating-main {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 60px;
    height: 60px;

    border: 0;
    border-radius: 50%;

    background: linear-gradient(135deg,
            #ff6d00,
            #ff9800);

    color: white;

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

    font-size: 21px;

    cursor: pointer;

    box-shadow:
        0 7px 25px rgba(255, 109, 0, .4);

    z-index: 100;
}


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

.floating-options {
    position: absolute;

    left: -115px;
    bottom: 0;

    width: 170px;
    height: 230px;

    pointer-events: none;
}


/* هر دایره */

.floating-item {
    position: absolute;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

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

    color: white;

    text-decoration: none;

    font-size: 16px;

    opacity: 0;

    pointer-events: none;

    transform: scale(.2);

    transition:
        opacity .25s ease,
        transform .35s cubic-bezier(.2, .8, .2, 1);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .2);
}


/* =========================================
   جای دقیق ۸ دایره
========================================= */

.floating-item:nth-child(1) {
    left: 115px;
    bottom: 175px;
}

.floating-item:nth-child(2) {
    left: 65px;
    bottom: 180px;
}

.floating-item:nth-child(3) {
    left: 20px;
    bottom: 150px;
}

.floating-item:nth-child(4) {
    left: 0;
    bottom: 105px;
}

.floating-item:nth-child(5) {
    left: 0;
    bottom: 55px;
}

.floating-item:nth-child(6) {
    left: 20px;
    bottom: 15px;
}

.floating-item:nth-child(7) {
    left: 70px;
    bottom: 0;
}

.floating-item:nth-child(8) {
    left: 120px;
    bottom: 15px;
}


/* =========================================
   باز شدن
========================================= */

.floating-contact.active .floating-item {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}


/* =========================================
   تأخیر انیمیشن
========================================= */

.floating-contact.active .floating-item:nth-child(1) {
    transition-delay: .03s;
}

.floating-contact.active .floating-item:nth-child(2) {
    transition-delay: .07s;
}

.floating-contact.active .floating-item:nth-child(3) {
    transition-delay: .11s;
}

.floating-contact.active .floating-item:nth-child(4) {
    transition-delay: .15s;
}

.floating-contact.active .floating-item:nth-child(5) {
    transition-delay: .19s;
}

.floating-contact.active .floating-item:nth-child(6) {
    transition-delay: .23s;
}

.floating-contact.active .floating-item:nth-child(7) {
    transition-delay: .27s;
}

.floating-contact.active .floating-item:nth-child(8) {
    transition-delay: .31s;
}


/* =========================================
   رنگ‌ها
========================================= */

.instagram {
    background: linear-gradient(135deg,
            #833ab4,
            #fd1d1d,
            #fcb045);
            
}

.tiktok {
    background: #111;
}

.telegram {
    background: #229ed9;
}

.support {
    background: #1565c0;
}

.phone {
    background: #08a722;
}

.email {
    background: #ff6d00;
}

.share {
    background: #7b1fa2;
}

.faq {
    background: #00897b;
}


/* =========================================
   نوشته کنار آیکون
========================================= */

.floating-item span {
    position: absolute;

    right: 52px;

    white-space: nowrap;

    background: #06152d;

    color: white;

    padding: 6px 9px;

    border-radius: 7px;

    font-size: 9px;

    opacity: 0;

    pointer-events: none;

    transition: .2s;
}

.floating-item:hover span {
    opacity: 1;
}


/* =========================================
   آیکونباز و بسته
========================================= */

.main-open,
.main-close {
    position: absolute;

    transition: .25s;
}

.main-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.floating-contact.active .main-open {
    opacity: 0;
    transform: rotate(90deg);
}

.floating-contact.active .main-close {
    opacity: 1;
    transform: rotate(0);
}


/* =========================================
   موبایل
========================================= */

@media (max-width: 600px) {

    .floating-contact {
        left: 15px;
        bottom: 15px;
    }

    .floating-options {
        left: -90px;
        width: 150px;
        height: 210px;
    }

    .floating-item:nth-child(1) {
        left: 100px;
        bottom: 160px;
    }

    .floating-item:nth-child(2) {
        left: 55px;
        bottom: 165px;
    }

    .floating-item:nth-child(3) {
        left: 15px;
        bottom: 140px;
    }

    .floating-item:nth-child(4) {
        left: 0;
        bottom: 95px;
    }

    .floating-item:nth-child(5) {
        left: 0;
        bottom: 50px;
    }

    .floating-item:nth-child(6) {
        left: 20px;
        bottom: 15px;
    }

    .floating-item:nth-child(7) {
        left: 60px;
        bottom: 0;
    }

    .floating-item:nth-child(8) {
        left: 105px;
        bottom: 15px;
    }

    .floating-item span {
        display: none;
    }
}
/* =========================================
   RESET
========================================= */



/* =========================================
   BACKGROUND
========================================= */

.background {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


/* ستاره‌ها */

.star {

    position: absolute;

    color: #ff9800;

    font-size: 22px;

    animation:
        floatStar 4s ease-in-out infinite;

    opacity: .8;
}


.star1 {
    top: 15%;
    left: 15%;
}

.star2 {
    top: 25%;
    right: 17%;

    animation-delay: 1s;
}

.star3 {
    bottom: 22%;
    left: 23%;

    animation-delay: 2s;
}

.star4 {
    bottom: 15%;
    right: 25%;

    animation-delay: .5s;
}


@keyframes floatStar {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);

        opacity: .45;
    }

    50% {
        transform:
            translateY(-15px)
            rotate(25deg);

        opacity: 1;
    }
}


/* نقاط */

.dot {

    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #42a5f5;

    box-shadow:
        0 0 15px #42a5f5;

    animation:
        dotFloat 5s ease-in-out infinite;
}


.dot1 {
    top: 35%;
    left: 8%;
}

.dot2 {
    top: 65%;
    right: 10%;

    animation-delay: 1.5s;
}

.dot3 {
    bottom: 10%;
    left: 45%;

    animation-delay: 2.5s;
}


@keyframes dotFloat {

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

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


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

.error-page {

    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    animation:
        pageEnter .8s ease both;
}


@keyframes pageEnter {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   FLYING BOOK
========================================= */

.flying-book {

    position: relative;

    width: 130px;
    height: 100px;

    margin-bottom: -15px;

    z-index: 5;

    animation:
        bookFloat 3s ease-in-out infinite;
}


@keyframes bookFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-3deg);
    }

    50% {
        transform:
            translateY(-15px)
            rotate(3deg);
    }
}


/* سایه */

.book-shadow {

    position: absolute;

    width: 90px;
    height: 15px;

    bottom: -5px;
    left: 20px;

    border-radius: 50%;

    background:
        rgba(0,0,0,.35);

    filter: blur(8px);

    animation:
        shadowMove 3s ease-in-out infinite;
}


@keyframes shadowMove {

    0%,
    100% {
        transform: scale(1);
        opacity: .5;
    }

    50% {
        transform: scale(.7);
        opacity: .2;
    }
}


/* خود کتاب */

.book {

    position: absolute;

    left: 20px;
    top: 15px;

    width: 90px;
    height: 65px;

    transform:
        rotate(-8deg);

    filter:
        drop-shadow(
            0 12px 15px
            rgba(0,0,0,.35)
        );
}


.book-cover {

    position: absolute;

    width: 72px;
    height: 60px;

    left: 8px;

    border-radius:
        5px 10px 10px 5px;

    background:
        linear-gradient(
            135deg,
            #ff6d00,
            #ff9800
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    transform:
        skewY(-3deg);

    box-shadow:
        inset -5px 0 rgba(0,0,0,.12);
}


.book-cover i {

    font-size: 25px;

    margin-bottom: 6px;
}


.book-cover span {

    font-size: 7px;

    font-weight: bold;
}


.book-pages {

    position: absolute;

    width: 70px;
    height: 55px;

    left: 15px;
    top: 3px;

    background: #fffdf7;

    border-radius:
        3px 8px 8px 3px;

    transform:
        translateX(13px)
        skewY(-3deg);

    z-index: -1;

    box-shadow:
        3px 2px 0 #d6d6d6;
}


/* =========================================
   404
========================================= */

.error-number {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: white;

    font-size: clamp(
        120px,
        20vw,
        210px
    );

    font-weight: 900;

    line-height: .8;

    letter-spacing: -10px;

    text-shadow:
        0 10px 0 #0a2d59,
        0 20px 35px rgba(0,0,0,.3);

    animation:
        numberAppear 1s ease both;
}


@keyframes numberAppear {

    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* صفر */

.zero {

    width:
        clamp(105px, 16vw, 175px);

    height:
        clamp(105px, 16vw, 175px);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #1565c0,
            #42a5f5
        );

    box-shadow:
        inset 0 -12px 0 rgba(0,0,0,.12),
        0 10px 30px rgba(21,101,192,.3);

    letter-spacing: 0;

    animation:
        zeroPulse 2.5s ease-in-out infinite;
}


@keyframes zeroPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}


.zero-inner {

    width: 48%;

    height: 48%;

    border-radius: 50%;

    background:
        #061b36;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        inset 0 5px 12px rgba(0,0,0,.3);
}


.zero-inner i {

    color: #ff9800;

    font-size: 35px;

    animation:
        questionSpin 3s ease-in-out infinite;
}


@keyframes questionSpin {

    0%,
    70%,
    100% {
        transform: rotate(0);
    }

    80% {
        transform: rotate(15deg);
    }

    90% {
        transform: rotate(-15deg);
    }
}


/* =========================================
   CONTENT
========================================= */

.error-content {

    max-width: 650px;

    margin-top: 25px;
}


.little-badge {

    display: inline-block;

    padding: 8px 13px;

    border-radius: 30px;

    background:
        rgba(255,152,0,.12);

    border:
        1px solid rgba(255,152,0,.3);

    color: #ffb74d;

    font-size: 10px;

    margin-bottom: 15px;

    animation:
        badgeFloat 3s ease-in-out infinite;
}


@keyframes badgeFloat {

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

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


.error-content h1 {

    font-size:
        clamp(20px, 4vw, 32px);

    margin-bottom: 12px;

    color: rgb(0, 6, 94);
}


.error-content p {

    color: #03336e;

    font-size: 12px;

    line-height: 2;

    max-width: 500px;

    margin: auto;
}


/* =========================================
   BUTTONS
========================================= */

.buttons {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 25px;

    flex-wrap: wrap;
}


.buttons button {

    border: none;

    padding: 12px 18px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;
    color: #06152d;

    transition:
        transform .25s,
        box-shadow .25s;
}


.home-button {

    background:
        linear-gradient(
            135deg,
            #ff6d00,
            #ff9800
        );

    color: white;

    box-shadow:
        0 8px 20px rgba(255,109,0,.25);
}


.back-button {

    background:
        rgba(38, 95, 148, 0.651);

    color: #dce8f5;

    border:
        1px solid rgba(5, 13, 117, 0.329) !important;
}


.buttons button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 12px 25px rgba(0,0,0,.2);
}


/* =========================================
   FUNNY MESSAGE
========================================= */

.funny-message {

    margin-top: 35px;

    padding: 12px 20px;

    border-right:
        3px solid #ff6d00;

    color: #91a8c2;

    font-size: 10px;

    line-height: 2;

    animation:
        messageFade 1.5s ease both;
}


.funny-message b {

    display: block;

    color: #ff9800;

    margin-top: 3px;
}


@keyframes messageFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


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

@media (max-width: 600px) {

    .error-page {
        padding: 40px 18px;
    }

    .flying-book {
        transform: scale(.85);
    }

    .error-number {
        gap: 4px;
        letter-spacing: -5px;
    }

    .error-content h1 {
        line-height: 1.7;
    }

    .error-content p {
        font-size: 11px;
    }

    .funny-message {
        max-width: 90%;
    }

}

/* ==========================================
   SINGLE PRODUCT
========================================== */

.single-product {
    width: min(1150px, 94%);
    margin: 40px auto;
    padding: 28px;
    background: #fff;
    border-radius: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    box-shadow: 0 12px 40px rgba(0, 50, 100, .08);
}


/* GALLERY */

.product-main-image {
    height: 470px;
    background: linear-gradient(145deg, #eef7ff, #f8fbff);
    border-radius: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 35px;
    transition: .3s;
}

.product-discount {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #ff7900;
    color: white;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 2;
}


/* thumbnails */

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    width: 65px;
    height: 65px;
    border: 2px solid transparent;
    background: #f2f6fa;
    border-radius: 11px;
    padding: 3px;
    cursor: pointer;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-thumb.active {
    border-color: #0754a6;
}


/* image actions */

.product-image-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.product-image-actions button {
    width: 48px;
    height: 48px;
    border: 1px solid #dce7f1;
    background: white;
    color: #0754a6;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    transition: .35s;
}

.product-image-actions button span {
    max-width: 0;
    opacity: 0;
    font-size: 9px;
    transition: .3s;
}

.product-image-actions button:hover {
    width: 180px;
    color: #ff7900;
    border-color: #ff7900;
    box-shadow: 0 7px 20px rgba(255,121,0,.15);
}

.product-image-actions button:hover span {
    max-width: 130px;
    opacity: 1;
}


/* INFO */

.single-product-info {
    padding: 5px;
}

.product-tag {
    display: inline-block;
    padding: 7px 12px;
    background: #fff1e5;
    color: #ff7900;
    border-radius: 20px;
    font-size: 9px;
    margin-bottom: 15px;
}

.single-product-info h1 {
    font-size: 32px;
    color: #09284d;
    margin-bottom: 7px;
}

.product-author {
    color: #8b9bad;
    font-size: 11px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    font-size: 10px;
}

.product-rating span {
    color: #ff9d00;
    letter-spacing: 2px;
}

.product-rating a {
    color: #0754a6;
}

.product-line {
    height: 1px;
    background: #edf1f5;
    margin: 15px 0;
}

.product-description {
    color: #63778d;
    line-height: 2.2;
    font-size: 11px;
}

.product-mini-info {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin: 20px 0;
}

.product-mini-info div {
    background: #f7fafd;
    border-radius: 10px;
    padding: 12px;
}

.product-mini-info span,
.product-mini-info strong {
    display: block;
}

.product-mini-info span {
    color: #91a0af;
    font-size: 8px;
    margin-bottom: 6px;
}

.product-mini-info strong {
    font-size: 9px;
    color: #09284d;
}

.product-old-price {
    text-decoration: line-through;
    color: #a0aab5;
    font-size: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.product-price strong {
    color: #0754a6;
    font-size: 29px;
}

.product-price span {
    font-size: 10px;
}

.product-price b {
    background: #ff7900;
    color: white;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 8px;
}

.product-stock {
    color: #159447;
    font-size: 10px;
    margin: 17px 0;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size:10px;
    margin-bottom: 15px;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-box button {
    width: 35px;
    height: 35px;
    border: 0;
    background: #f1f6fa;
    color: #0754a6;
    font-size: 18px;
}

.quantity-box strong {
    width: 35px;
    text-align: center;
}

.product-add-cart {
    width: 100%;
    height: 55px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg,#ff7300,#ff9c35);
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 10px 25px rgba(255,121,0,.22);
}

.product-add-cart:hover {
    transform: translateY(-3px);
}

.product-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 13px;
}

.product-services div {
    background: #f7fafd;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 9px;
    align-items: center;
}

.product-services i {
    color: #0754a6;
}

.product-services span {
    font-size: 9px;
    font-weight: bold;
}

.product-services small {
    display: block;
    color: #9aa7b4;
    font-weight: normal;
    margin-top: 4px;
}


/* TABS */

.product-extra {
    width: min(1150px,94%);
    margin: 25px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid #edf1f5;
}

.product-tabs button {
    flex: 1;
    border: 0;
    background: white;
    padding: 18px;
    color: #71849a;
    font-size: 10px;
    cursor: pointer;
}

.product-tabs button.active {
    color: #0754a6;
    font-weight: bold;
    border-bottom: 3px solid #ff7900;
}

.product-tab-content {
    display: none;
    padding: 28px;
    line-height: 2.3;
    color: #62768b;
    font-size: 11px;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h2 {
    color: #09284d;
    font-size: 18px;
    margin-bottom: 12px;
}


/* SPECS */

.product-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.product-spec-grid div {
    display: flex;
    justify-content: space-between;
    padding: 13px;
    background: #f7fafd;
    border-radius: 8px;
}

.product-spec-grid span {
    color: #91a0af;
}


/* REVIEWS */

.user-review {
    background: #f7fafd;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.user-review div {
    display: flex;
    justify-content: space-between;
}

.user-review div span {
    color: #ff9d00;
}


/* SIMILAR */

.product-similar {
    width: min(1150px,94%);
    margin: 45px auto;
}

.similar-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
}

.similar-title small {
    color: #9baab9;
    font-size: 9px;
}

.similar-title h2 {
    color: #09284d;
    font-size: 21px;
    margin-top: 5px;
}

.similar-title a {
    color: #0754a6;
    font-size: 10px;
}

.similar-books {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.mini-book {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0,40,90,.07);
    transition: .3s;
}

.mini-book:hover {
    transform: translateY(-6px);
}

.mini-book img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 10px;
}

.mini-book h3 {
    font-size: 11px;
    margin-top: 10px;
}

.mini-book p {
    color: #9aa9b8;
    font-size: 9px;
    margin: 5px 0;
}

.mini-book strong {
    color: #0754a6;
    font-size: 10px;
}


/* VIDEO */

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(2,18,38,.85);
    backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-video-box {
    width: min(800px,90%);
    background: #071d3a;
    border-radius: 18px;
    padding: 20px;
    position: relative;
}

.product-video-box h2 {
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
}

.product-video-box video {
    width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    background: black;
}

.product-video-box > button {
    position: absolute;
    left: -13px;
    top: -13px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #ff7900;
    color: white;
    font-size: 22px;
}


/* MOBILE */

@media(max-width:800px) {

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

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

}

@media(max-width:500px) {

    .single-product {
        padding: 15px;
    }

    .product-main-image {
        height: 350px;
    }

    .single-product-info h1 {
        font-size: 25px;
    }

    .product-mini-info {
        grid-template-columns: 1fr;
    }

    .product-services {
        grid-template-columns: 1fr;
    }

    .product-image-actions button:hover {
        width: 48px;
    }

    .product-image-actions button span {
        display: none;
    }

}

.quantity-box {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.quantity-box button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f2f7fb;
    color: #0754a6;
    font-size: 20px;
    cursor: pointer;
}

.quantity-box button:hover {
    background: #ff7900;
    color: white;
}

.quantity-box span {
    width: 40px;
    text-align: center;
    color: #09284d;
    font-weight: bold;
}

/* ==========================================
   NEW BOOKS
========================================== */

.new-books-section {
    width: min(1250px, 94%);
    margin: 55px auto;
}


/* HEADER */

.new-books-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.new-books-title span {
    color: #ff7900;
    font-size: 11px;
    font-weight: bold;
}

.new-books-title h2 {
    color: #073d78;
    font-size: 27px;
    margin: 5px 0;
}

.new-books-title p {
    color: #8b9aaa;
    font-size: 10px;
}


/* SEARCH */

.book-search-box {
    width: 230px;
    height: 42px;
    border: 1px solid #dce8f3;
    border-radius: 13px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    background: white;
    transition: .3s;
}

.book-search-box:focus-within {
    border-color: #0754a6;
    box-shadow: 0 5px 20px rgba(7,84,166,.08);
}

.book-search-box i {
    color: #0754a6;
    font-size: 13px;
}

.book-search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    margin-right: 9px;
    font-family: inherit;
    font-size: 10px;
    background: transparent;
}


/* LAYOUT */

.new-books-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 20px;
    align-items: stretch;
}


/* FEATURED */

.featured-new-book {
    background:
        linear-gradient(
            145deg,
            #063c78,
            #0754a6 60%,
            #0b69c8
        );

    border-radius: 23px;
    padding: 18px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 570px;
    box-shadow:
        0 18px 40px rgba(7,84,166,.22);
}

.featured-new-book::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,121,0,.2);
    border-radius: 50%;
    top: -70px;
    left: -70px;
}

.featured-new-book::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    bottom: -110px;
    right: -100px;
}


/* LABEL */

.featured-label {
    display: inline-block;
    background: #ff7900;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 9px;
    position: relative;
    z-index: 2;
}


/* TIMER */

.discount-timer {
    margin: 17px 0;
    position: relative;
    z-index: 2;
}

.discount-timer > span {
    display: block;
    font-size: 9px;
    opacity: .8;
    margin-bottom: 8px;
}

.timer-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timer-numbers div {
    min-width: 45px;
    padding: 6px 4px;
    border-radius: 8px;
    background: rgba(0,0,0,.18);
    text-align: center;
}

.timer-numbers strong {
    display: block;
    font-size: 15px;
}

.timer-numbers small {
    font-size: 7px;
    opacity: .75;
}

.timer-numbers b {
    font-size: 13px;
    color: #ff9a38;
}


/* FEATURED CONTENT */

.featured-book-content {
    position: relative;
    z-index: 2;
}

.featured-book-image {
    height: 220px;
    display: flex;
    justify-content: center;
    position: relative;
}

.featured-book-image img {
    width: 145px;
    height: 210px;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 15px 30px rgba(0,0,0,.3);
    transition: .4s;
}

.featured-new-book:hover
.featured-book-image img {
    transform: rotate(-2deg) scale(1.04);
}

.featured-discount {
    position: absolute;
    right: 38px;
    top: 5px;
    background: #ff7900;
    color: white;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: bold;
    z-index: 3;
}

.featured-book-info {
    text-align: center;
}

.featured-small-title {
    font-size: 8px;
    opacity: .7;
}

.featured-book-info h3 {
    font-size: 20px;
    margin: 5px 0;
}

.featured-book-info > p {
    font-size: 9px;
    opacity: .7;
}

.featured-stars {
    color: #ffad28;
    font-size: 12px;
    margin: 8px 0;
}

.featured-stars span {
    color: white;
    font-size: 9px;
}

.featured-description {
    line-height: 1.8;
}

.featured-price {
    margin-top: 12px;
}

.featured-price del {
    display: block;
    opacity: .55;
    font-size: 8px;
}

.featured-price strong {
    display: block;
    color: #fff;
    font-size: 17px;
    margin-top: 4px;
}

.featured-buy-btn {
    margin-top: 13px;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 11px;
    background: #ff7900;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: .25s;
}

.featured-buy-btn:hover {
    background: #ff922e;
    transform: translateY(-2px);
}


/* BOOK GRID */

.new-books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}


/* CARD */

.new-book-card {
    background: white;
    border-radius: 17px;
    padding: 9px;
    min-width: 0;
    box-shadow: 0 7px 25px rgba(0,45,90,.07);
    transition: .3s;
    border: 1px solid transparent;
}

.new-book-card:hover {
    transform: translateY(-6px);
    border-color: #d9e8f5;
    box-shadow: 0 15px 30px rgba(0,60,110,.12);
}


/* IMAGE */

.new-book-image {
    height: 185px;
    border-radius: 12px;
    overflow: hidden;
    background: #edf5fb;
    position: relative;
}

.new-book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.new-book-card:hover
.new-book-image img {
    transform: scale(1.05);
}

.new-book-image span {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #ff7900;
    color: white;
    padding: 5px 7px;
    border-radius: 7px;
    font-size: 7px;
    z-index: 2;
}


/* INFO */

.new-book-card h3 {
    color: #09284d;
    font-size: 10px;
    margin: 9px 3px 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-book-card > p {
    color: #94a2b0;
    font-size: 8px;
    margin: 0 3px 9px;
}

.new-book-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
}

.new-book-bottom strong {
    color: #0754a6;
    font-size: 9px;
}

.new-book-bottom button {
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 8px;
    background: #fff0e4;
    color: #ff7900;
    cursor: pointer;
    transition: .25s;
}

.new-book-bottom button:hover {
    background: #ff7900;
    color: white;
    transform: scale(1.1);
}


/* NO RESULT */

.no-book-result {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #8b9aaa;
    background: white;
    border-radius: 17px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .new-books-layout {
        grid-template-columns: 280px 1fr;
    }

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

}


@media (max-width: 750px) {

    .new-books-header {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .book-search-box {
        width: 100%;
    }

    .new-books-layout {
        grid-template-columns: 1fr;
    }

    .featured-new-book {
        min-height: auto;
    }

    .new-books-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


@media (max-width: 550px) {

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

    .new-book-image {
        height: 210px;
    }

    .featured-book-image {
        height: 230px;
    }

}

/* =========================
   BANNER
========================= */

.banner {
    width: min(1200px, 100%);
    height: 330px;

    position: relative;
    overflow: hidden;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 20%,
            #4ebcff 0%,
            #168dd3 45%,
            #0066a9 100%
        );

    box-shadow:
        0 20px 45px rgba(0, 60, 100, 0.25);

    border: 2px solid rgba(255, 255, 255, 0.8);
}


/* =========================
   BLUE LIGHT
========================= */

.banner::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -100px;
    top: -250px;

    border-radius: 50%;

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

    filter: blur(10px);
}


/* =========================
   DECORATIVE SHAPES
========================= */

.shape {
    position: absolute;
    background: white;

    opacity: 0.8;

    transform: rotate(-20deg);
}

.shape-one {
    width: 170px;
    height: 35px;

    left: 70px;
    top: 60px;

    border-radius: 50%;
}

.shape-two {
    width: 120px;
    height: 22px;

    left: 120px;
    top: 105px;

    border-radius: 50%;
}

.circle {
    position: absolute;

    width: 120px;
    height: 120px;

    left: 300px;
    top: -35px;

    border-radius: 50%;

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

    box-shadow:
        0 0 50px rgba(255,255,255,0.4);
}


/* =========================
   PHONE
========================= */

.phone {
    position: absolute;

    width: 170px;
    height: 290px;

    left: 43%;
    top: 20px;

    background:
        linear-gradient(
            135deg,
            #f9f9f9,
            #d9d9d9
        );

    border-radius: 28px;

    transform:
        rotate(-13deg)
        skewY(2deg);

    box-shadow:
        -20px 25px 35px rgba(0, 0, 0, 0.28),
        inset 0 0 0 4px #eeeeee;

    z-index: 5;
}


/* صفحه گوشی */

.phone::before {
    content: "";

    position: absolute;

    width: 145px;
    height: 250px;

    left: 12px;
    top: 20px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #0c2234,
            #0a73b5 45%,
            #7dd7ff
        );
}


/* دوربین */

.camera {
    position: absolute;

    width: 70px;
    height: 70px;

    left: 10px;
    top: 10px;

    border-radius: 22px;

    background: #bdbdbd;

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

    flex-wrap: wrap;

    padding: 8px;

    gap: 5px;

    z-index: 10;
}

.camera span {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #7f8fa0,
            #101820 60%
        );

    border: 2px solid #777;
}


/* لوگوی روی گوشی */

.phone-logo {
    position: absolute;

    z-index: 20;

    bottom: 30px;
    right: 50px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

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

    color: #188bd0;

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

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


/* =========================
   ADVERTISEMENT
========================= */

.advertisement {
    position: absolute;

    right: 90px;
    top: 35px;

    width: 370px;

    z-index: 8;
}

.brush {
    position: relative;

    padding: 35px 40px;

    background: white;

    clip-path: polygon(
        3% 15%,
        97% 5%,
        100% 85%,
        92% 95%,
        4% 88%,
        0% 30%
    );

    text-align: center;

    transform: rotate(2deg);
}

.brush h1 {
    color: #087fc1;

    font-size: 31px;

    line-height: 1.4;

    font-weight: 900;
}

.brush p {
    color: #555;
    margin-top: 5px;

    font-size: 17px;
}


/* تخفیف */

.discount {
    margin: 12px auto 0;

    width: 230px;

    padding: 8px 20px;

    background: #f4bd42;

    color: #fff;

    border-radius: 25px;

    font-size: 18px;

    font-weight: 700;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.12);
}

.discount strong {
    font-size: 28px;

    color: white;
}


/* =========================
   BUTTON
========================= */

.buy-btn {
    position: absolute;

    right: 100px;
    bottom: 30px;

    border: none;

    padding: 11px 35px;

    border-radius: 25px;

    background: white;

    color: #0784c8;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;

    z-index: 15;
}

.buy-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18);
}


/* =========================
   BRAND
========================= */

.brand {
    position: absolute;

    left: 40px;
    bottom: 20px;

    display: flex;

    align-items: center;

    gap: 10px;

    color: white;

    font-size: 13px;

    z-index: 20;
}

.brand-icon {
    width: 40px;
    height: 40px;

    border-radius: 50%;

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

    background: white;

    color: #1186c8;

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


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

@media (max-width: 800px) {

    .banner {
        height: 270px;
    }

    .phone {
        width: 120px;
        height: 210px;

        left: 30%;

        top: 35px;
    }

    .phone::before {
        width: 100px;
        height: 175px;

        left: 10px;
        top: 17px;
    }

    .camera {
        width: 55px;
        height: 55px;
    }

    .camera span {
        width: 17px;
        height: 17px;
    }

    .advertisement {
        right: 20px;
        width: 280px;
    }

    .brush h1 {
        font-size: 23px;
    }

    .discount {
        width: 180px;
        font-size: 13px;
    }

    .discount strong {
        font-size: 20px;
    }

    .buy-btn {
        right: 40px;
        bottom: 18px;
        font-size: 12px;
    }

    .brand {
        left: 20px;
    }
}