@font-face {
    font-family: 'Vazirmatn';
    src: url('/static/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/static/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideFadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-150px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFadeRight {
    0% {
        opacity: 0;
        transform: translateX(150px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-left {
    opacity: 0;
}

.reveal-left.active {
    animation: slideFadeLeft 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.reveal-right {
    opacity: 0;
}

.reveal-right.active {
    animation: slideFadeRight 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: rotate(-20deg) translateY(40px);
    transition: all 1.1s ease;
}

.reveal-rotate.active {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

body {
    background-color: #FFF6E5;
    font-family: 'Vazirmatn', sans-serif;
}

:root {
    --dark-blue: #00676A;
    --light-blue: #00afbe;
    --base: #FFF6E5;
    --gold: #CEA034;
    --btn-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(0, 185, 157, 0.2), rgba(255, 255, 255, 0.34));
}

a {
    color: var(--gold);
}

img, button, a, .product-card {
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

.wrap-1200 {
    width: 100%;
    min-height: 800px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.cards {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(0, 69, 72, 0.52), rgba(164, 164, 164, 0.42));
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 207, 255, 0.58);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
}

.cards:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}


.cards img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cards-body {
    width: 100%;
    height: auto;
    min-height: 530px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1 1 auto;
}

.cards-title {
    font-size: 25px;
    margin-top: 10px;
    color: var(--gold);
    line-height: 1.2;
}

.cards p {
    font-size: 19px;
    color: #ffffff;
    margin-top: 10px;
    white-space: pre-line;
    line-height: 1.9;
}

.flex-line {
    background: url(/static/image/svgs/silver.svg) repeat;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: -10px;
    padding: 20px 0;
    justify-content: center;
}

.cards.seo, .cards.seo img {
    width: 100%;
    max-width: 520px;
}

.swiper-pagination-bullet {
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 0;
}

.night {
    background: url(/static/image/svgs/silver.svg) repeat;
    background-size: auto;
    height: auto;
    width: 100%;
    aspect-ratio: 1900/190;
}

.btn {
    display: inline-block;
    font-size: 22px;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00564b, #009881, #004b42);
    color: white;
    cursor: pointer;
}

.bottom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    height: 70px;
    background: var(--dark-blue);
    justify-content: space-between;
    z-index: 1000;
}

.right-buttons {
    margin-right: 70px;
}

.left-buttons {
    margin-left: 70px;
}

.header-buttons {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 10000;
}

.header-btn {
    text-decoration: none;
    background: var(--btn-bg);
    color: #FFF6E5;
    box-shadow: 0 1px 10px rgba(0, 190, 155, 0.65);
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.3s;
    font-size: 18px;
    z-index: 10001;
    align-items: center;
    display: flex;
    gap: 10px;
}

.header-btn img {
    width: 20px;
}

html, body {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(47, 47, 47, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: all; /* جلوگیری از کلیک */
}

.hidden {
    display: none !important;
}

.spinner {
    width: 100px;
    height: 100px;
    border: 20px solid rgba(0, 0, 0, 0.2);
    border-top: 20px solid #00936a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

.custom-dropdown-wrapper {
    box-shadow: 0 1px 10px rgba(0, 190, 155, 0.65);
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--btn-bg);
    position: relative;
    display: inline-block;
}
.messages-c p{
    white-space: pre-line;
}
/* خود دکمه */
.custom-dropdown-btn {
    background-color: var(--btn-bg);
    color: var(--base);
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.custom-dropdown-btn:hover {
    background-color: var(--light-blue);
}

.custom-dropdown-btn::after {
    content: "";
    border: solid var(--base);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.custom-dropdown-wrapper:hover .custom-dropdown-btn::after {
    transform: rotate(-135deg);
}

.custom-dropdown-content {
    display: none;
    position: absolute;
    right: -40%;
    top: 40px;
    background-color: var(--base);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 99999;
}

.custom-dropdown-wrapper:hover .custom-dropdown-content {
    display: block;
}

.dropdown-link {
    padding: 12px 18px !important;
    transition: background-color 0.2s ease !important;
}

.dropdown-link:hover {
    background-color: var(--light-blue) !important;
    color: #000 !important;
}

.main-header {
    width: 100%;
    z-index: 1000;
}


.header-g-img {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 99;
}

.header-left img {
    margin-left: 10px;
    padding: 2px;
}

.header-left {
    border-radius: 10px;
    margin-right: 20px;
    width: 100%;
    display: flex;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.navbar img {
    max-width: 22px;
}

.navbar a {
    padding: 5px 10px;
    font-size: 1rem;
    border-radius: 14px;
    color: #000000;
    display: flex;
    gap: 9px;
}

.navbar a:hover {
    background: white;
    color: #000;
}


#cart-pro {
    display: flex;
    align-items: center;
    gap: 40px;
}


#custom-message-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    min-width: 300px;
    max-width: 500px;
}

.message-content {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#message-img img {
    width: 50px;
    height: auto;
}

#custom-message {
    background: #e0ffe0;
    border: 1px solid #00cc66;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

#custom-message.message-error {
    background: #ffe0e0;
    border-color: #cc0000;
}

#custom-message.message-warning {
    background: #fff4e5;
    border-color: #ffcc00;
}

#custom-message.message-info {
    background: #e5f6ff;
    border-color: #0099cc;
}

.message-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(
            270deg,
            #52ff00,
            #003d1b,
            #00ff58,
            #00724a
    );
    background-size: 400% 400%;
    animation: waveGradient 5s linear infinite, progressBar 5000ms linear forwards;
}

#custom-message.message-error .message-bar {
    background: linear-gradient(
            270deg,
            #ff0000,
            #7e0000,
            #cc0000,
            #ff9999
    );
}

#custom-message.message-warning .message-bar {
    background: linear-gradient(
            270deg,
            #ccb100,
            #fffc33,
            #ccaa00,
            #fffc33
    );
}

#custom-message.message-info .message-bar {
    background: linear-gradient(
            270deg,
            #00c5cc,
            #33b1ff,
            #00ccad,
            #337aff
    );
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

#message-buttons {
    display: flex;
    justify-content: space-between;
}

#message-buttons button {
    padding: 4px 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

#message-buttons button:hover {
    opacity: 0.8;
}

.logo-img {
    width: 240px;
    height: auto;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.header-bg-img {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    max-height: 160px;
    height: auto;
    display: block;
}

.cart-head {
    height: 47px;
    padding: 5px;
    border-radius: 40px;
    display: contents;
    font-size: 1.2rem;
    color: black;
    transition: .4s ease;
}

#cart-head:hover {
    transition: .4s ease;
    scale: 1.2;
}

#gifts_count {
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d20e0e;
    color: white;
    font-weight: bold;
    text-align: center;
}

@keyframes popCart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}


#footer-bg {
    position: relative;
    bottom: -10px;
    margin-top: 60px;
}

#footer-wrapper {
    background: linear-gradient(to bottom, black, #003642, black);
    color: white;
    padding: 10px;
    position: relative;
    text-align: center;
    margin-top: 120px;
    min-height: 500px;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 1.3rem;
}

.footer .box-container .box h3 {
    font-size: 2rem;
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 0;
    color: black;
}

.footer .box-container .box a i {
    padding-right: .5rem;
}

.footer .box-container .box a:hover i {
    padding-right: 2rem;
}

.footer .credit {
    text-align: center;
    font-size: 2rem;
    padding: 2rem 1rem;
    margin-top: 1rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer .footer-links {
    background: linear-gradient(to left, #002b33, #007286, #00252d);
    border: 2px inset white;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    max-width: 30vw;
    height: fit-content;
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.footer .footer-about,
.footer .footer-address {
    background: linear-gradient(to left, #002b33, #007286, #00252d);
    border: 2px inset white;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    max-width: 30vw;
    padding: 1.5rem;
    height: fit-content;
    white-space: pre-line;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.29);
    transition: all 0.3s ease;
}

.footer-about {
    margin-top: -50px;
}

.footer .footer-address p {
    font-size: 1.5rem;
}


.footer .footer-about:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.footer .footer-links h3,
.footer .footer-about h2,
.footer .footer-address h2 {
    font-size: 1.6rem;
    color: #fff;

}

#most-mar {
    margin-top: -50px;
}

.certificates-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* فاصله بین سطرها */
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cert-row {
    display: flex;
    justify-content: center;
    gap: 20px; /* فاصله بین تصاویر */
}
.boxes h2{
    font-size: 2.2rem;
}
.boxe{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-row img {
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

.footer .boxes h4 {
    font-size: 1.7rem;
    color: #ffffff;
}

.footer .boxes a {
    display: block;
    color: #ddd;
    margin: 18px 0;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer .boxes a:hover {
    color: #fff;
}

.footer .footer-about p {
    font-size: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

.footer .footer-text p a:hover {
    text-decoration: underline;
}

#copy-right {
    font-size: 1rem;
    color: #aaa;
    margin-top: 2rem;
}

.footer-licenses {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-licenses img {
    width: 120px;
    transition: transform 0.3s ease;
}

.footer-licenses img:hover {
    transform: scale(1.1);
}

.footer-about .logo {
    text-align: center;
    margin-top: -90px;
}

#copy-right {
    display: flex;
    justify-content: center;
    background-color: black;
    color: #00a177;
    font-size: 1.4rem;
    padding: 5px;
}

#footer-des {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1.5rem;
}

.support-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background-color: #6bd0cc;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0 0 0 / 34%);
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    border: 2px solid black;
}

.support-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 1.2;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.support-menu {
    position: fixed;
    bottom: 125px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    animation: fadeInUp 0.3s ease-out forwards;
}

.support-menu a {
    color: #333;
    background-color: white;
    padding: 10px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
#t-i{
    width: 40px;
    height: 40px;
}
#tel-w img {
    width: 60px;
    height: 60px;
}

.support-menu a:hover {
    background-color: #fff5da;
}

.support-menu img {
    width: 50px;
    height: 50px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 680px) {
    #cover_img {
        display: none;
    }
}

.card-details {
    padding: 5px;
}

.error-msg {
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
    background-color: #a80000;
    padding: 6px 10px;
    border-radius: 15px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.container-ep {
    display: flex;
    justify-content: center;
    background-image: url("/static/image/svgs/pay-bg.svg");
}

.page-404 {
    color: goldenrod;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.page-404 img {
    max-width: 1000px;
}

.page-404 p {
    color: darkgoldenrod;
}

@media (min-width: 1020px) {
    .mobile-menu {
        display: none;
    }

    .mobile {
        display: none !important;
    }
}


/*==========================================================*/
@media (max-width: 1020px) {
    #t-i{
        width: 55px;
        height: 55px;
    }
    #container-img {
        margin-top: 50px !important;
        aspect-ratio: 1020/450;
    }

    #footer-des {
        border-top: 1px #0000003b solid;
    }

    .slider-banner-svg {
        width: 200%;
    }

    #logo-bar {
        width: unset;
        display: block;
    }

    .cards {
        box-shadow: unset;
        border: 2px solid rgba(34, 180, 146, 0.36);
    }

    .bot-header {
        display: none;
    }

    .desktop {
        display: none !important;
    }

    #cart-pro-mobile {
        display: flex;
        gap: 15px;
        position: fixed;
        z-index: 999;
        left: 15px;
        top: 20px;
    }

    #logo-bar a {
        height: 58px;
    }

    #cart-pro {
        display: none;
    }

    .logo-img {
        width: 125px;
        top: 5%;
    }

    #header {
        height: 65px;
    }

    .footer-about .logo {
        margin-top: -60px;
        padding: 20px;
    }

    .flex-line {
        padding: 30px 10px;
    }

    .hamburger-btn {
        position: fixed;
        top: 20px;
        right: 12px;
        width: 30px;
        height: 25px;
        z-index: 99999;
        background: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-btn .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        transition: all 0.4s ease;
    }

    .hamburger-btn.active .bar:nth-child(1) {
        transform: rotate(47deg) translate(5px, 8px);
        background: black;
    }

    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .bar:nth-child(3) {
        transform: rotate(-50deg) translate(9px, -10px);
        background: black;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fffbed;
        z-index: 9999;
        padding: 15px;
        transition: right 0.4s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        direction: rtl;
        overflow-y: auto;
    }

    .header-bg-img.mobile, .header-g-img.mobile {
        height: 100px;
    }

    .mobile-menu.active {
        right: 0;
    }

    #login-btn a {
        color: black;
        font-size: 1.2rem;
        display: flex;
        gap: 15px;
        align-items: center;
    }

    #login-btn img {
        width: 35px;
    }

    .footer {
        flex-direction: column;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .footer-licenses img {
        width: 70px;
    }

    .footer .footer-links,
    .footer .footer-about,
    .footer .footer-address {
        max-width: 500px;
    }

    .footer .footer-about p {
        font-size: 1.4rem;
    }

    .footer-about.mobile {
        margin-top: -100px;
    }

    .footer .footer-address p {
        font-size: 1.4rem;
    }

    .footer .footer-links h3,
    .footer .footer-about h2,
    .footer .footer-address h2 {
        text-align: center;
    }

    .icon {
        position: absolute;
        cursor: pointer;
        width: 20px;
        height: 20px;
    }

    #login-btn {
        float: left;
        border-radius: 10px;
        padding: 5px;
        border: 1px solid rgba(0, 0, 0, 0.45);
    }

    .overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.65);
        z-index: 999;
        display: none;
    }

    .overlay.active {
        display: block;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin-top: 100px;
    }

    .menu-item {
        padding: 12px 8px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        transition: background 0.3s;
        border-bottom: 1px solid #eee;
    }

    .menu-item:hover {
        background-color: #f3f3f3;
    }


    .header-left img {
        margin: 0;
        padding: 0;
        z-index: 9999;
        width: 34px;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 22px;
        color: #000000;
        cursor: pointer;
    }

    .support-btn {
        right: 10px;
        width: 60px;
        height: 60px;
    }

    .support-menu {
        right: 10px;
    }

    .support-menu a {
        padding: 0 10px 0 0;
    }

    #custom-message-container {
        width: 350px;
        height: fit-content;
    }

    #custom-message {
        padding: 0;
    }

    #custom-message.message-error {
        height: 75px;
    }

    #message-buttons button {
        font-size: 16px;
    }

    #message-text {
        font-size: 16px;
    }

    #message-buttons {
        padding: 5px;
    }

    #messages_count {
        position: absolute;
        left: 40px;
    }

    .menu-links p {
        padding-right: 5px;
    }

    .menu-links {
        height: 58px;
        border: 1px solid rgba(0, 0, 0, 0.24);
    }

    .menu-links {
        display: flex;
        justify-content: space-between;
        color: black;
        align-items: center;
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .menu-links img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

    .boxe img {
        width: 60px;
        height: 60px;
    }

    .boxe {
        min-height: 50px;
        padding: 10px !important;
        justify-content: space-between !important;
    }

    .boxe h3 {
        font-size: 1.2rem;
    }
}
