﻿/* ==================================================
   محصولات شگفت انگیز - طراحی مدرن بدون عکس کناری
   ================================================== */

.amazing-offers-wrapper {
    margin: 40px 0;
}

.amazing-offers-box {
    background: linear-gradient(135deg, #0a2b3d 0%, #0a1a2e 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    padding: 30px 30px 40px 30px;
    width:102.5% !important;
    right:-13px;
}
@media (max-width: 991px) {
    .amazing-offers-box {
        width: 103.5% !important;
    }
}
@media (max-width: 767px) {
    .amazing-offers-box {
        width: 106% !important;
    }
}
/* ========== المان‌های گرافیکی جایگزین عکس ========== */
.graphic-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
    animation: float 12s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(0,146,230,0.2) 0%, rgba(0,146,230,0) 70%);
    animation-delay: 3s;
    animation-duration: 15s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 20%;
    background: radial-gradient(circle, rgba(255,107,107,0.15) 0%, rgba(255,107,107,0) 70%);
    animation-delay: 6s;
    animation-duration: 18s;
}

.glow-ring {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255,215,0,0.2);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
}

    .glow-ring::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border: 1px solid rgba(255,215,0,0.1);
        border-radius: 50%;
        animation: pulseRing 3s ease infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(15px);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ===== هدر (پررنگ با افکت شیشه‌ای) ===== */
.amazing-offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 15px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 8px 25px 8px 30px;
    border-radius: 60px;
    border: 1px solid rgba(255,215,0,0.3);
}

    .header-title i {
        font-size: 32px;
        color: #ffd700;
        animation: flash 1.2s ease infinite;
    }

    .header-title h3 {
        font-size: 24px;
        font-weight: bold;
        color: #fff;
        margin: 0;
        letter-spacing: 1px;
    }

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 5px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 0 15px rgba(238,90,36,0.5);
}

.header-link {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 28px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
    font-weight: 500;
}

    .header-link:hover {
        background: #ffd700;
        color: #0a1a2e;
        transform: translateX(-5px);
        border-color: #ffd700;
    }

/* ===== اسلایدر ===== */
.amazing-slider-fullwidth {
    position: relative;
    z-index: 10;
}

.amazing-swiper {
    overflow: visible;
    padding: 10px 5px 20px 5px;
}

    /* دکمه‌های ناوبری (طلایی، براق) */
    .amazing-swiper .swiper-button-next,
    .amazing-swiper .swiper-button-prev {
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(8px);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        transition: all 0.3s;
        opacity: 0.9;
        border: 1px solid rgba(255,215,0,0.5);
    }

        .amazing-swiper .swiper-button-next:hover,
        .amazing-swiper .swiper-button-prev:hover {
            background: #ffd700;
            opacity: 1;
            transform: scale(1.1);
        }

            .amazing-swiper .swiper-button-next:hover:after,
            .amazing-swiper .swiper-button-prev:hover:after {
                color: #0a1a2e;
            }

        .amazing-swiper .swiper-button-next:after,
        .amazing-swiper .swiper-button-prev:after {
            font-size: 18px;
            color: #ffd700;
            font-weight: bold;
        }

    /* حذف pagination */
    .amazing-swiper .swiper-pagination {
        display: none !important;
    }

/* ===== کارت محصول ===== */
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 40px rgba(0,0,0,0.25);
    }

.discount-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 6px 14px;
    border-radius: 40px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(238,90,36,0.5);
    animation: fsBounces 1.2s infinite;
}

@keyframes fsBounces {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.product-image {
    background: linear-gradient(145deg, #f0f2f5, #e6e9ef);
    padding: 25px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .product-image a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .product-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.free-ship-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 146, 230, 0.95);
    backdrop-filter: blur(5px);
    padding: 5px 14px;
    border-radius: 40px;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.product-info {
    padding: 18px;
    text-align: center;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    height: 46px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-height: 3em;
    word-break: break-word;
    text-overflow: ellipsis;
}

    .product-title a {
        color: #1e2a3a;
        text-decoration: none;
        transition: color 0.2s;
    }

        .product-title a:hover {
            color: #0092e6;
        }

.product-price {
    padding-top: 12px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 70px;
    justify-content: center;
}

.price-old {
    color: #aaa;
    font-size: 13px;
    text-decoration: line-through;
    order: 1;
}

.price-current {
    color: #ee5a24;
    font-size: 20px;
    font-weight: bold;
    order: 2;
}

.product-status {
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* ===== انیمیشن‌ها ===== */
@keyframes flash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 0 #ffd700;
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
        text-shadow: 0 0 15px #ffd700;
    }
}

/* ===== ریسپانسیو ===== */
@media (max-width: 991px) {
    .amazing-offers-box {
        padding: 20px 20px 30px 20px;
    }

    .header-title {
        padding: 5px 20px;
    }

        .header-title h3 {
            font-size: 17px;
        }
    .discount-badge{
        font-size:12px;
    }
    .header-title i{
        font-size:29px;
    }
}

@media (max-width: 767px) {
    .amazing-offers-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-title {
        justify-content: center;
    }

    .header-link {
        text-align: center;
        white-space: normal;
    }

    .product-image {
        height: 170px;
    }

    .product-title {
        font-size: 12px;
        height: 40px;
    }

    .price-current {
        font-size: 16px;
    }

    .amazing-swiper .swiper-button-next,
    .amazing-swiper .swiper-button-prev {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 150px;
        padding: 15px;
    }

    .product-title {
        font-size: 11px;
        height: 36px;
    }

    .discount-ribbon {
        padding: 4px 10px;
        font-size: 10px;
    }

    .free-ship-tag {
        padding: 3px 10px;
        font-size: 9px;
    }
}


/* ==================================================
   ارسال رایگان - تم ملایم نارنجی-طلایی
   کاملاً ایزوله با پیشوند fs-
   ================================================== */

.fs-wrapper {
    margin: 40px 0;
}

.fs-box {
    background: linear-gradient(135deg, #f7b733 0%, #fc8c3f 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    position: relative;
    padding: 20px 25px 35px 25px;
    width: 102.5% !important;
    right: -13px;
}

@media (max-width: 991px) {
    .fs-box {
        width: 103.5% !important;
    }
}

@media (max-width: 767px) {
    .fs-box {
        width: 106% !important;
    }
}

    /* افکت دکوراتیو (بدون تداخل با amazing-offers) */
    .fs-box::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 280px;
        height: 280px;
        background: radial-gradient(circle, rgba(255,245,180,0.2) 0%, rgba(255,245,180,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .fs-box::after {
        content: '📦';
        position: absolute;
        bottom: 15px;
        left: 15px;
        font-size: 65px;
        color: rgba(255,255,255,0.07);
        pointer-events: none;
        animation: fsFloat 10s ease infinite;
    }

@keyframes fsFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

/* ===== هدر (بدون تداخل با amazing-offers) ===== */
.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5px;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    gap: 10px;
}

.fs-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .fs-title i {
        font-size: 32px;
        color: #fff;
        animation: fsTruck 2.2s ease infinite;
        text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }

@keyframes fsTruck {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.fs-title h3 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.fs-badge {
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.fs-link {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 8px 22px;
    border-radius: 40px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.25);
    white-space: nowrap;
}

    .fs-link:hover {
        background: #fff;
        color: #f39c12;
        transform: translateX(-5px);
    }

/* ===== اسلایدر ===== */
.fs-slider {
    position: relative;
    z-index: 2;
}

.fs-swiper {
    overflow: visible;
    padding: 10px 5px 20px 5px;
}

    /* دکمه‌های ناوبری */
    .fs-swiper .swiper-button-next,
    .fs-swiper .swiper-button-prev {
        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(4px);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        transition: 0.3s;
        opacity: 0.75;
    }

        .fs-swiper .swiper-button-next:hover,
        .fs-swiper .swiper-button-prev:hover {
            background: #fff;
            opacity: 1;
            transform: scale(1.08);
        }

            .fs-swiper .swiper-button-next:hover:after,
            .fs-swiper .swiper-button-prev:hover:after {
                color: #f39c12;
            }

        .fs-swiper .swiper-button-next:after,
        .fs-swiper .swiper-button-prev:after {
            font-size: 16px;
            color: #fff;
            font-weight: bold;
        }

    .fs-swiper .swiper-pagination {
        display: none !important;
    }

/* ===== کارت محصول ===== */
.fs-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

    .fs-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 35px rgba(0,0,0,0.15);
    }

/* ربان ارسال رایگان */
.fs-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f7b733, #fc8c3f);
    padding: 5px 14px;
    border-radius: 40px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(247,183,51,0.4);
    animation: fsBounce 1.2s infinite;
}

@keyframes fsBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.fs-discount-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(230, 70, 40, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.fs-image {
    background: #fafafc;
    padding: 20px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .fs-image a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .fs-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.45s ease;
    }

.fs-card:hover .fs-image img {
    transform: scale(1.05);
}

.fs-info {
    padding: 16px;
    text-align: center;
}

.fs-name {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 12px;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-height: 3em;
    word-break: break-word;
    text-overflow: ellipsis;
}

    .fs-name a {
        color: #2c3e50;
        text-decoration: none;
        transition: color 0.2s;
    }

        .fs-name a:hover {
            color: #f39c12;
        }

.fs-price {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 70px;
    justify-content: center;
}

.fs-old {
    color: #aaa;
    font-size: 12px;
    text-decoration: line-through;
    order: 1;
}

.fs-current {
    color: #f39c12; /* طلایی-نارنجی، نه آبی */
    font-size: 18px;
    font-weight: bold;
    order: 2;
}

.fs-status {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.fs-soon {
    color: #f39c12;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fs-out {
    color: #999;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== ریسپانسیو (با اصلاح دکمه مشاهده همه) ===== */
@media (max-width: 767px) {
    .fs-box {
        padding: 15px 15px 25px 15px;
    }

    .fs-header {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .fs-link {
        white-space: nowrap;
        font-size: 12px;
         width: 100%; text-align: center; 
    }

    .fs-title h3 {
        font-size: 18px;
    }

    .fs-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .fs-image {
        height: 170px;
    }

    .fs-name {
        font-size: 12px;
        height: 40px;
    }

    .fs-current {
        font-size: 12px;
    }

    .fs-swiper .swiper-button-next,
    .fs-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

        .fs-swiper .swiper-button-next:after,
        .fs-swiper .swiper-button-prev:after {
            font-size: 14px;
        }
}

@media (max-width: 576px) {
    .fs-image {
        height: 150px;
        padding: 15px;
    }

    .fs-name {
        font-size: 11px;
        height: 36px;
    }

    .fs-ribbon {
        padding: 3px 10px;
        font-size: 9px;
    }

    .fs-discount-tag {
        padding: 3px 10px;
        font-size: 9px!important;
        gap: 2px !important;
    }
    .fs-discount-tag i{
        font-size: 13.5px !important;
    }
}
.offIndex a img{
    border-radius:10px!important;
}