/* ========================================================================
   Landing Page Styles - Extracted from inline CSS
   ======================================================================== */

/* ========================================================================
   1. macOS Dock Styling (from index.blade.php)
   ======================================================================== */

.dock-container {
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Sticky only on desktop */
@media (min-width: 768px) {
    .dock-container {
        position: sticky;
        top: 0;
    }

    .dock-container.scrolled {
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    }

    .dock-container.scrolled .dock-wrapper {
        gap: 15px;
    }

    .dock-container.scrolled .dock-item {
        min-width: 70px;
        padding: 8px 6px;
    }

    .dock-container.scrolled .dock-item:not([disabled]):hover {
        transform: translateY(-8px) scale(1.08);
    }

    .dock-container.scrolled .dock-item-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
        filter: grayscale(100%) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
    }

    .dock-container.scrolled .dock-item:not([disabled]):hover .dock-item-icon {
        filter: grayscale(0%) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.25));
    }

    .dock-container.scrolled .dock-item-label {
        font-size: 10px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dock-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    min-width: 80px;
    padding: 10px 8px;
}

.dock-item:hover,
.dock-item:focus,
.dock-item:active,
.dock-item:visited {
    text-decoration: none !important;
}

.dock-item:not([disabled]):hover {
    transform: translateY(-10px) scale(1.1);
}

.dock-item-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: grayscale(100%) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    margin-bottom: 8px;
}

.dock-item:not([disabled]):hover .dock-item-icon {
    filter: grayscale(0%) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

.dock-item-label {
    font-size: 11px;
    color: #333;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 1;
    line-height: 1.3;
    text-decoration: none !important;
}

.dock-item:hover .dock-item-label {
    color: #000;
    font-weight: 600;
    text-decoration: none !important;
}

.dock-item-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Coming Soon Card Styling */
.dock-item.coming-soon-card {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.dock-item.coming-soon-card .dock-item-icon {
    filter: grayscale(100%) brightness(0.9) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.coming-soon-badge {
    position: absolute;
    top: 5px;
    right: -5px;
    background: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Tablet Responsive - iPad and similar devices */
@media (min-width: 768px) and (max-width: 1024px) {
    .dock-container {
        padding: 12px 0;
    }

    .dock-wrapper {
        gap: 10px;
        padding: 0 15px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .dock-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .dock-item {
        min-width: 65px;
        max-width: 65px;
        padding: 6px 4px;
        flex-shrink: 0;
    }

    .dock-item-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 4px;
        filter: grayscale(100%) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
    }

    .dock-item:not([disabled]):hover {
        transform: translateY(-6px) scale(1.05);
    }

    .dock-item:not([disabled]):hover .dock-item-icon {
        filter: grayscale(0%) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    }

    .dock-item-label {
        font-size: 9px;
        line-height: 1.2;
    }

    .dock-item-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .coming-soon-badge {
        top: 5px;
        font-size: 8px;
        padding: 2px 6px;
    }

    /* Scrolled state for tablets */
    .dock-container.scrolled {
        padding: 10px 0;
    }

    .dock-container.scrolled .dock-wrapper {
        gap: 8px;
    }

    .dock-container.scrolled .dock-item {
        min-width: 60px;
        max-width: 60px;
        padding: 5px 3px;
    }

    .dock-container.scrolled .dock-item-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 3px;
    }

    .dock-container.scrolled .dock-item-label {
        font-size: 8px;
    }
}

/* Mobile Responsive - No sticky behavior */
@media (max-width: 767px) {
    .dock-container {
        position: relative; /* Not sticky on mobile */
        z-index: 998;
        padding: 15px 0;
    }

    .dock-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0 10px;
    }

    .dock-item {
        min-width: 70px;
        padding: 8px 5px;
    }

    .dock-item-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
        filter: grayscale(100%) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
    }

    .dock-item:not([disabled]):hover {
        transform: translateY(-8px) scale(1.08);
    }

    .dock-item:not([disabled]):hover .dock-item-icon {
        filter: grayscale(0%) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.25));
    }

    .dock-item-label {
        font-size: 10px;
    }
}

/* ========================================================================
   2. Top Landing Slider Styles (from top-landing-slider.blade.php)
   ======================================================================== */

/* Desktop and iPad styles for slider images */
@media (min-width: 768px) {
    #my-keen-slider .keen-slider__slide img {
        max-height: 56vh;
        object-fit: cover;
    }
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    border: none;
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 2px;
}

.dot:focus {
    outline: none;
}

.dot.dot--active {
    background: rgba(255, 255, 255, 1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========================================================================
   3. Offer Slider Styles (from offer-slider.blade.php)
   ======================================================================== */

/* Simple horizontal scroll container with touch support */
.offer-slider-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.offer-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 15px;
    margin: 0;
    
    /* Hide scrollbar for all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    
    /* Allow vertical page scrolling while enabling horizontal slider scroll */
    touch-action: pan-x pan-y;
    scroll-snap-type: x proximity;
    
    /* Smooth scrolling on iOS */
    -webkit-scroll-snap-type: x proximity;
    
    /* Smooth momentum scrolling */
    scroll-padding: 0 15px;
}

/* Desktop cursor - only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .offer-scroll-container {
        cursor: grab;
        user-select: none;
    }
    
    .offer-scroll-container:active {
        cursor: grabbing;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.offer-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.offer-slide {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    
    /* Smooth transitions */
    transition: transform 0.3s ease;
}

.offer-slide > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    
    /* Improve touch interaction */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Responsive */
/* Mobile - 1 item per view */
@media (max-width: 767px) {
    .offer-slider-wrapper {
        padding: 15px 0;
        margin: 0;
        overflow: hidden;
    }
    
    .offer-scroll-container {
        gap: 15px;
        scroll-snap-type: x proximity;
        padding: 20px 15px;
    }
    
    .offer-slide {
        width: calc(100% - 30px);
        max-width: 400px;
        scroll-snap-align: center;
    }
}

/* iPad Air and iPad Mini - 1 item per view (like mobile) */
@media (min-width: 768px) and (max-width: 1194px) {
    .offer-slider-wrapper {
        padding: 15px 0;
        margin: 0;
        overflow: hidden;
    }
    
    .offer-scroll-container {
        gap: 15px;
        scroll-snap-type: x proximity;
        padding: 20px 15px;
        justify-content: flex-start;
    }
    
    .offer-slide {
        width: calc(100% - 30px);
        max-width: 420px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* Larger Tablets/Small Desktop - 2 items per view */
@media (min-width: 1195px) and (max-width: 1365px) {
    .offer-scroll-container {
        gap: 15px;
        justify-content: flex-start;
        scroll-snap-type: x proximity;
        padding: 20px 15px;
    }
    
    .offer-slide {
        width: calc(50% - 8px);
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* Large Desktop - 3 items per view (only for large screens > iPad Pro 12.9") */
@media (min-width: 1366px) {
    .offer-scroll-container {
        gap: 20px;
        justify-content: flex-start;
        scroll-snap-type: x proximity;
        padding: 20px 15px;
    }
    
    .offer-slide {
        width: calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* کارت‌های فعال - تم فوتر */
.offer-card-active {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(254, 109, 65, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

.offer-card-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fe6d41 0%, #f5671b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card-active:hover::before {
    opacity: 1;
}

.offer-card-active:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(254, 109, 65, 0.3);
}

/* کارت‌های غیرفعال - بی‌رنگ */
.offer-card-inactive {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(108, 117, 125, 0.15);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0.85;
    filter: grayscale(0.1);
}

.offer-card-inactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    opacity: 0.9;
}

/* تایمر - استایل بهبود یافته */
.countdown-style {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 6px;
    min-height: 50px;
    direction: ltr;
}

.countdown-style li {
    background: linear-gradient(135deg, rgba(254, 109, 65, 0.08) 0%, rgba(245, 103, 27, 0.05) 100%);
    border-radius: 12px;
    padding: 10px 8px;
    min-width: 55px;
    max-width: 65px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-weight: 800;
    font-size: 20px;
    color: #fe6d41;
    border: 1.5px solid rgba(254, 109, 65, 0.15);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-style li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #fe6d41 0%, #f5671b 100%);
    opacity: 0.5;
}

.countdown-style li:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 0 1px rgba(254, 109, 65, 0.15),
        0 4px 12px rgba(254, 109, 65, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(254, 109, 65, 0.3);
}

.countdown-style li span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #fe6d41;
    margin-top: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* انیمیشن برای countdown */
@keyframes countdownPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.countdown-style li {
    animation: countdownPulse 2s ease-in-out infinite;
}

/* کانتینر badge ها */
.badges-container {
    gap: 6px !important;
    min-height: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

/* بج تخفیف inline */
.badge-discount-inline {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 
        0 0 0 1px rgba(254, 109, 65, 0.2),
        0 2px 8px rgba(254, 109, 65, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* بج وضعیت inline */
.badge-status-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 85px;
    text-align: center;
}

.badge-status-inline.badge-pending {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    box-shadow: 0 1px 4px rgba(255, 152, 0, 0.3);
}

.badge-status-inline.badge-started {
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%);
    color: white;
    box-shadow: 0 1px 4px rgba(254, 109, 65, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-status-inline.badge-expired {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 1px 4px rgba(220, 53, 69, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 1px 4px rgba(254, 109, 65, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 2px 8px rgba(254, 109, 65, 0.5);
        transform: scale(1.03);
    }
}

/* تغییرات کلی کارت بر اساس وضعیت */
.offer-card.expired {
    opacity: 0.65;
    filter: grayscale(0.4);
}

.offer-card.nostock {
    opacity: 0.55;
    filter: grayscale(0.7);
}

/* جلوگیری از کلیک روی کارت‌های غیرفعال */
.offer-card.disableClass {
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
}

/* استایل دکمه بر اساس وضعیت */
.offer-card.pending .btn-offer-action {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2) !important;
}

.offer-card.pending .btn-offer-action:hover {
    transform: none;
}

.offer-card.started .btn-offer-action {
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%) !important;
    box-shadow: 0 4px 15px rgba(254, 109, 65, 0.3) !important;
}

.offer-card.started .btn-offer-action:hover {
    background: linear-gradient(135deg, #f5671b 0%, #e55a0f 100%) !important;
    box-shadow: 0 6px 20px rgba(254, 109, 65, 0.5) !important;
}

.offer-card.expired .btn-offer-action,
.offer-card.nostock .btn-offer-action {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2) !important;
}

.offer-card.disableClass .btn-offer-action {
    background: linear-gradient(135deg, #adb5bd 0%, #868e96 100%) !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

/* عکس محصول - بهبود یافته */
.product-image-wrapper-improved {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
}

.product-image-improved {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.offer-card:hover .product-image-wrapper-improved {
    box-shadow: 
        0 0 0 1px rgba(254, 109, 65, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(254, 109, 65, 0.08);
}

.offer-card:hover .product-image-improved {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

/* بخش header کارت */
.card-header-custom {
    position: relative;
    min-height: 140px;
    width: 100%;
}

.card-header-custom .d-flex {
    width: 100%;
}

/* بخش اطلاعات محصول */
.product-info-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    width: 100%;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    max-height: 44px;
}

/* اطلاعات موجودی */
.stock-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6c757d;
    min-height: 20px;
}

.stock-text {
    font-weight: 600;
}

/* بخش تایمر */
.timer-section {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 90px;
}

.timer-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    min-height: 20px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    min-height: 50px;
    align-items: center;
}

/* بخش قیمت */
.price-section {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    min-height: 95px;
}

.price-row {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
}

.old-price {
    font-size: 14px;
    color: #dc3545;
    font-weight: 600;
}

.price-row-special {
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(254, 109, 65, 0.1) 0%, rgba(245, 103, 27, 0.08) 100%);
    border-radius: 10px;
    border: 1.5px solid rgba(254, 109, 65, 0.25);
    box-shadow: 0 1px 4px rgba(254, 109, 65, 0.15);
}

.price-label-special {
    font-size: 14px;
    color: #fe6d41;
    font-weight: 700;
}

.special-price {
    font-size: 19px;
    color: #fe6d41;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(254, 109, 65, 0.1);
}

/* دکمه اکشن */
.btn-offer-action {
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(254, 109, 65, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-offer-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-offer-action:hover {
    background: linear-gradient(135deg, #f5671b 0%, #e55a0f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 109, 65, 0.35);
    color: white;
    text-decoration: none;
}

.btn-offer-action:hover::before {
    left: 100%;
}

/* ریسپانسیو - موبایل */
@media (max-width: 767px) {
    .product-image-wrapper-improved {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .product-title {
        font-size: 15px;
        line-height: 1.3;
        min-height: 40px;
        max-height: 40px;
    }
    
    .stock-info {
        font-size: 12px;
    }
    
    .badge-discount-inline,
    .badge-status-inline {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .badge-status-inline {
        min-width: 80px;
    }
    
    .badges-container {
        min-height: 26px;
    }
    
    .special-price {
        font-size: 17px;
    }
    
    .price-label,
    .price-label-special {
        font-size: 12px;
    }
    
    .old-price {
        font-size: 13px;
    }
    
    .countdown-style {
        gap: 4px;
    }
    
    .countdown-style li {
        min-width: 48px;
        max-width: 58px;
        padding: 8px 6px;
        font-size: 18px;
    }
    
    .countdown-style li span {
        font-size: 8px;
        margin-top: 3px;
    }
    
    .timer-label {
        font-size: 11px;
        min-height: 18px;
    }
    
    .timer-section {
        min-height: 80px;
    }
    
    .countdown-container {
        min-height: 45px;
    }
    
    .price-section {
        min-height: 85px;
    }
    
    .btn-offer-action {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    /* فضای بهتر در موبایل */
    .card-header-custom {
        padding: 15px !important;
        min-height: 130px;
    }
    
    .timer-section,
    .price-section {
        padding: 12px 15px !important;
    }
    
    .card-action {
        padding: 12px 15px !important;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 991px) {
    .product-image-wrapper-improved {
        width: 100px;
        height: 100px;
    }
    
    .product-title {
        font-size: 15px;
        min-height: 42px;
        max-height: 42px;
    }
    
    .card-header-custom {
        min-height: 135px;
    }
    
    .countdown-style {
        gap: 5px;
    }
    
    .countdown-style li {
        min-width: 50px;
        max-width: 60px;
        padding: 9px 7px;
        font-size: 18px;
    }
    
    .countdown-style li span {
        font-size: 8px;
    }
    
    .timer-section {
        min-height: 85px;
    }
    
    .price-section {
        min-height: 90px;
    }
}

/* کارت پایان لیست */
.end-of-list-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px dashed rgba(204, 204, 204, 0.5) !important;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.end-of-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(254, 109, 65, 0.3) !important;
}

.end-of-list-card i {
    transition: transform 0.3s ease;
}

.end-of-list-card:hover i {
    transform: scale(1.1);
}

/* ========================================================================
   4. Landing Services Section Styles (from landing-services-section.blade.php)
   ======================================================================== */

/* Service Card Header - Gradient Orange Background */
.service-card-header {
    background: linear-gradient(145deg, #fff5f2 0%, #ffebe5 100%);
    border: 1px solid rgba(254, 109, 65, 0.15) !important;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fe6d41 0%, #f5671b 100%);
}

.service-card-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 109, 65, 0.2) !important;
    border-color: rgba(254, 109, 65, 0.3) !important;
}

/* Service Cards - White Background with Orange Accents */
.service-card {
    background: #ffffff;
    border: 1px solid rgba(254, 109, 65, 0.1) !important;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 109, 65, 0.15) !important;
    border-color: rgba(254, 109, 65, 0.25) !important;
}

/* Other Service Cards - Light Orange Background */
.service-card-other {
    background: linear-gradient(145deg, #ffffff 0%, #fffaf8 100%);
    border: 1px solid rgba(254, 109, 65, 0.1) !important;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-other:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 109, 65, 0.15) !important;
    border-color: rgba(254, 109, 65, 0.25) !important;
}

/* Gradient Orange Button */
.btn-gradient-orange {
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(254, 109, 65, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gradient-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient-orange:hover {
    background: linear-gradient(135deg, #f5671b 0%, #e55a0f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 109, 65, 0.4);
    color: white;
}

.btn-gradient-orange:hover::before {
    left: 100%;
}

/* Gradient Red Button (for close state) */
.btn-gradient-red {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-gradient-red:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

/* Outline Orange Button */
.btn-outline-orange {
    background: transparent;
    border: 2px solid #fe6d41;
    color: #fe6d41;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline-orange:hover {
    background: linear-gradient(135deg, #fe6d41 0%, #f5671b 100%);
    border-color: #fe6d41;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 109, 65, 0.3);
}

/* Image Hover Effect */
.service-card:hover img,
.service-card-header:hover img,
.service-card-other:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Gift Services Expandable Section */
#giftServices {
    transition: all 0.4s ease;
}

#giftServices .col-12.col-md-6 {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

#giftServices .col-12.col-md-6:nth-child(1) { animation-delay: 0.1s; }
#giftServices .col-12.col-md-6:nth-child(2) { animation-delay: 0.2s; }
#giftServices .col-12.col-md-6:nth-child(3) { animation-delay: 0.3s; }
#giftServices .col-12.col-md-6:nth-child(4) { animation-delay: 0.4s; }
#giftServices .col-12.col-md-6:nth-child(5) { animation-delay: 0.5s; }
#giftServices .col-12.col-md-6:nth-child(6) { animation-delay: 0.6s; }

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

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 109, 65, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(254, 109, 65, 0);
    }
    100% {
        box-shadow: 0 8px 25px rgba(254, 109, 65, 0.2);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-gradient-orange,
    .btn-gradient-red,
    .btn-outline-orange {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .service-card-header,
    .service-card,
    .service-card-other {
        border-radius: 12px;
    }
    
    #giftServices .col-12.col-md-6 {
        animation-duration: 0.3s;
    }
}

