
@import url(./font.css);

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


/* ===== CSS VARIABLES ===== */
:root {
    --primary: #FF1744;
    --primary-dark: #F01540;
    --dark: #2C2C2C;
    --light: #FFE5E5;
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'YekanBakh', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    direction: rtl;
}

/* ===== UTILITY ===== */
.gradient-primary {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
}

.gradient-dark {
    background: linear-gradient(135deg, #2C2C2C, #454545);
}

/* ===== PROMO BAR ===== */
.promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    height: 44px;
    background: linear-gradient(90deg, #b0001e 0%, var(--primary) 35%, #ff2d5e 65%, #b0001e 100%);
    color: white;
    overflow: hidden;
    direction: ltr;
}

/* shimmer sweep */
.promo-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
    animation: promoShimmer 4s infinite linear;
    pointer-events: none;
}

@keyframes promoShimmer {
    from { left: -100%; }
    to   { left: 250%; }
}

.promo-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.promo-pct {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.45;
    flex-shrink: 0;
    letter-spacing: -2px;
    user-select: none;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: center;
    direction: rtl;
}

.promo-text {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

.promo-text-sub {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
}

/* Circular stamp badge */
.promo-badge {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: #16050a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.08);
    line-height: 1.25;
    gap: 1px;
}

.promo-badge-top {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.promo-badge-bot {
    font-size: 0.78rem;
    font-weight: 900;
    color: #ff8aaa;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    .promo-text-sub { display: none; }
    .promo-text     { font-size: 0.72rem; }
    .promo-badge    { width: 44px; height: 44px; }
    .promo-badge-bot { font-size: 0.65rem; }
}

@media (max-width: 380px) {
    .promo-pct { display: none; }
    .promo-text { font-size: 0.68rem; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    /* max-width: 1280px; */
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    direction: rtl;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.25s ease;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.nav-active {
    color: var(--primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.nav-active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop Search Box */
.search-box {
    position: relative;
    display: none;
    width: 280px;
}

@media (min-width: 769px) {
    .search-box { display: block; }
}

.search-input {
    width: 100%;
    padding: 0.65rem 2.8rem 0.65rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #374151;
    background: #f9fafb;
    transition: all 0.2s ease;
    direction: rtl;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    color: #9ca3af;
    pointer-events: none;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-y: auto;
    z-index: 50;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.search-results-list {
    padding: 0.5rem 0;
}

.search-result-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9fafb;
}

.search-result-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.25rem;
}

.search-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Mobile Search Button */
.search-btn-mobile {
    display: flex;
}

@media (min-width: 769px) {
    .search-btn-mobile { display: none !important; }
}

/* Mobile Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    direction: rtl;
}

.search-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.search-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.search-modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.search-modal-body {
    padding: 1.5rem;
}

.search-modal-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    color: #374151;
    background: #f9fafb;
    margin-bottom: 1rem;
    direction: rtl;
}

.search-modal-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1);
}

.search-modal-input::placeholder {
    color: #9ca3af;
}

.search-modal-results {
    max-height: 60vh;
    overflow-y: auto;
}

.search-modal-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
    direction: rtl;
}

.search-modal-item:last-child {
    border-bottom: none;
}

.search-modal-item:active {
    background: #f9fafb;
}

.search-modal-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.search-modal-info {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.search-modal-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.search-modal-price {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.search-modal-empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

.navbar-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.navbar-icon-btn:hover {
    background: #fef2f2;
    color: var(--primary);
}

.navbar-cart-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    line-height: 1;
}

.navbar-cta-desktop {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 0.25rem;
}

.navbar-cta-desktop:hover {
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
    transform: translateY(-1px);
}

/* Seller CTA Button */
.navbar-cta-seller {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: none;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .navbar-cta-seller { display: inline-flex; }
}

.navbar-cta-seller:hover {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

.navbar-cta-seller:active {
    transform: translateY(0);
}

.navbar-cta-seller i {
    font-size: 0.95rem;
}

.navbar-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.2s ease;
}

.navbar-hamburger:hover {
    background: #fef2f2;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        width 0.3s ease;
    transform-origin: center;
}

.navbar-hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ===== MOBILE PANEL ===== */
.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    background: white;
    z-index: 120;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
}

.mobile-panel.is-open {
    transform: translateX(0);
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
    direction: rtl;
}

.mobile-panel-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.mobile-panel-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-panel-close:hover {
    background: #fef2f2;
    color: var(--primary);
}

.mobile-panel-nav {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    direction: rtl;
}

.mobile-panel-nav a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.22s ease;
}

.mobile-panel-nav a:hover,
.mobile-panel-nav a.nav-active {
    background: #fef2f2;
    color: var(--primary);
}

.mobile-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.mobile-panel-nav a:hover .mobile-nav-icon,
.mobile-panel-nav a.nav-active .mobile-nav-icon {
    background: var(--primary);
    color: white;
}

.mobile-panel-footer {
    padding: 1.25rem;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-login-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-login-btn:hover {
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
    transform: translateY(-1px);
}

.mobile-seller-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-seller-btn:hover {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

/* ===== NAVIGATION ===== */
.nav-active {
    color: var(--primary);
    font-weight: 600;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 23, 68, 0.15);
}

/* ===== SLIDER ===== */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    direction: ltr;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFE5E5, #FFD4DB);
    position: relative;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInSlow 8s ease-in-out forwards;
}

@keyframes zoomInSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.slider-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1), rgba(255, 90, 126, 0.1));
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: var(--primary);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 16px rgba(255, 23, 68, 0.3);
}

.slider-nav-btn.prev {
    left: 20px;
}

.slider-nav-btn.next {
    right: 20px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
}

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

/* ===== STORIES CAROUSEL ===== */
.stories-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.stories-container {
    flex: 1;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.stories-scroll {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    padding: 0.5rem 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.story-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-align: center;
}

.story-thumb {
    width: 110px;
    height: 110px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 2.5px white, 0 0 0 5px var(--primary), 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.story-item:hover .story-thumb {
    transform: scale(1.08);
    box-shadow: 0 0 0 2.5px white, 0 0 0 5px var(--primary), 0 10px 24px rgba(255, 23, 68, 0.2);
}

.story-item.viewed .story-thumb {
    opacity: 0.6;
    box-shadow: 0 0 0 2.5px white, 0 0 0 5px #c7c7c7, 0 4px 12px rgba(0, 0, 0, 0.08);
}

.story-item.viewed .story-thumb:hover {
    box-shadow: 0 0 0 2.5px white, 0 0 0 5px #9ca3af, 0 8px 20px rgba(0, 0, 0, 0.12);
}

.story-item.viewed .story-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-label {
    color: #374151;
    font-size: 0.81rem;
    font-weight: 600;
    max-width: 120px;
    line-height: 1.4;
    word-break: break-word;
}

/* Navigation Buttons */
.stories-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    color: #4b5563;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stories-nav-btn:hover {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255, 23, 68, 0.25);
    transform: scale(1.1);
}

.stories-nav-btn:active {
    transform: scale(0.95);
}

.stories-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

.stories-nav-btn:disabled:hover {
    background: #f3f4f6;
    color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none;
}

/* Pagination Dots */
.stories-pagination {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    max-height: 60px;
    overflow-y: auto;
    padding: 0.5rem 1rem;
}

.stories-pagination::-webkit-scrollbar {
    height: 4px;
}

.stories-pagination::-webkit-scrollbar-track {
    background: transparent;
}

.stories-pagination::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.stories-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.stories-dot.active {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    transform: scale(1.25);
    box-shadow: 0 0 8px rgba(255, 23, 68, 0.3);
}

.stories-dot:hover:not(.active) {
    background: #9ca3af;
}

.stories-dot.active:hover {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
}

/* ===== STORIES · Swiper overrides ===== */
.stories-container.swiper { overflow: hidden; padding: 0.5rem 0.25rem; width: 100%; }
#storiesScroll.swiper-wrapper { gap: 0; overflow: visible; box-sizing: content-box; }
.stories-container .swiper-slide { width: auto; height: auto; flex-shrink: 0; }
.stories-nav-btn.swiper-button-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
#storiesPagination .swiper-pagination-bullet {
    width: 8px; height: 8px; background: #d1d5db; opacity: 1; transition: all 0.3s ease;
}
#storiesPagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    transform: scale(1.25); box-shadow: 0 0 8px rgba(255, 23, 68, 0.3);
}

@media (max-width: 768px) {
    .stories-pagination { margin-top: 1.25rem; gap: 0.35rem; }
    .stories-dot { width: 7px; height: 7px; }
}

@media (max-width: 640px) {
    .stories-nav-btn { width: 36px; height: 36px; font-size: 0.9rem; }
}


/* ===== STORY VIEWER ===== */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-viewer.is-open {
    opacity: 1;
    visibility: visible;
}

.story-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.story-viewer-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 85vh;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    z-index: 1;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

/* Progress Bars */
.story-progress-bars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    gap: 4px;
    padding: 10px 10px 0;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0;
    background: white;
    border-radius: 3px;
}

@keyframes storyProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Header */
.story-viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 14px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    direction: rtl;
}

.story-viewer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-viewer-name {
    color: white;
    font-weight: 600;
    font-size: 0.88rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.story-viewer-counter {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.story-viewer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.story-viewer-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Swiper */
.story-swiper {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.story-swiper .swiper-wrapper {
    height: 100%;
}

.story-slide {
    height: 100%;
    overflow: hidden;
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Bottom gradient */
.story-viewer-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* Navigation Zones */
.story-nav-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: transparent;
    border: none;
    cursor: default;
    z-index: 10;
    pointer-events: none;
    /* transparent on touch — Swiper handles swipe */
    -webkit-tap-highlight-color: transparent;
}

/* Desktop mouse: enable click zones */
@media (hover: hover) and (pointer: fine) {
    .story-nav-zone {
        pointer-events: auto;
        cursor: pointer;
    }
}

.story-nav-prev {
    right: 0;
}

.story-nav-next {
    left: 0;
}

/* Mobile: full screen */
@media (max-width: 640px) {
    .story-viewer {
        padding: 0;
    }

    .story-viewer-card {
        max-width: 100%;
        height: 100svh;
        height: 100vh;
        border-radius: 0;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
    .story-viewer-card {
        max-width: 360px;
        height: 82vh;
    }
}

/* ===== BASKET ICON ===== */
.basket-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.basket-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.basket-icon-sm .basket-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile nav basket icon hover */
.mobile-nav-icon.basket-icon-wrapper:hover {
    transform: scale(1.15);
}

.mobile-nav-icon.basket-icon-wrapper:hover .basket-icon {
    filter: drop-shadow(0 4px 8px rgba(255, 23, 68, 0.3));
}

/* Button basket icon hover */
button:hover .basket-icon-wrapper .basket-icon {
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.4));
    transform: translateY(-2px);
}

/* Navbar cart button with image */
.navbar-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-basket-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
}

.navbar-cart-btn:hover .navbar-basket-icon {
    filter: drop-shadow(0 4px 8px rgba(255, 23, 68, 0.3));
    transform: scale(1.1);
}

/* Dashboard basket icon */
.dashboard-basket-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.basket-icon-dashboard {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dashboard-card:hover .basket-icon-dashboard {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

/* Seller dashboard basket icon */
.seller-basket-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-basket-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.seller-stat-card:hover .seller-basket-img {
    filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
    transform: scale(1.1);
}

/* Responsive basket icon */
@media (max-width: 768px) {
    .navbar-basket-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .basket-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .basket-icon-sm .basket-icon {
        width: 1.1rem;
        height: 1.1rem;
    }

    .navbar-basket-icon {
        width: 18px;
        height: 18px;
    }

    .basket-icon-dashboard {
        width: 40px;
        height: 40px;
    }

    .seller-basket-img {
        width: 28px;
        height: 28px;
    }
}

/* ===== BOOKING SECTION ===== */
.booking-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f7ff 50%, #fff0f5 100%);
    overflow: hidden;
}

.booking-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 23, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 30%);
    animation: bgFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-15px, 15px); }
}

.booking-section > .max-w-7xl {
    position: relative;
    z-index: 2;
}

/* Header */
.booking-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.booking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1), rgba(168, 85, 247, 0.1));
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 23, 68, 0.2);
    color: #FF1744;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.booking-title {
    font-size: 2.5rem;
   
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.booking-title-accent {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.booking-subtitle {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Grid */
.booking-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Services */
.booking-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF1744, #FF5A7E);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: #FF1744;
    box-shadow: 0 12px 32px rgba(255, 23, 68, 0.15);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #FF1744;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555555;
    font-size: 0.9rem;
}

.service-features i {
    color: #FF1744;
    font-size: 0.8rem;
}

.service-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    box-shadow: 0 8px 24px rgba(255, 23, 68, 0.3);
    transform: translateY(-2px);
}

/* Booking Demo */
.booking-demo {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: slideInRight 0.6s ease-out backwards;
    animation-delay: 0.2s;
}

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

/* Booking Steps */
.booking-steps {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 250, 0.8));
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-item.active {
    opacity: 1;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    box-shadow: 0 8px 24px rgba(255, 23, 68, 0.3);
    transform: scale(1.1);
}

.step-content h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.step-content p {
    font-size: 0.9rem;
    color: #888888;
    transition: color 0.3s ease;
}

.step-item.active .step-content h4 {
    color: #FF1744;
}

.step-item.active .step-content p {
    color: #555555;
}

.step-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #FF1744, transparent);
    margin-left: 23px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.step-item.active ~ .step-line {
    opacity: 1;
}

/* Booking Stats */
.booking-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.05), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(255, 23, 68, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #FF1744;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1), rgba(168, 85, 247, 0.1));
    box-shadow: 0 8px 20px rgba(255, 23, 68, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.85rem;
    color: #888888;
}

/* Features Grid */
.booking-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: scaleInUp 0.6s ease-out backwards;
}

.feature-box:nth-child(1) { animation-delay: 0.2s; }
.feature-box:nth-child(2) { animation-delay: 0.3s; }
.feature-box:nth-child(3) { animation-delay: 0.4s; }
.feature-box:nth-child(4) { animation-delay: 0.5s; }

@keyframes scaleInUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.feature-box:hover {
    border-color: #FF1744;
    box-shadow: 0 12px 32px rgba(255, 23, 68, 0.1);
    transform: translateY(-4px);
}

.feature-box i {
    font-size: 2rem;
    color: #FF1744;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.2) rotate(10deg);
}

.feature-box h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: #888888;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .booking-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-title {
        font-size: 2rem;
    }

    .booking-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .booking-section {
        padding: 2.5rem 0;
    }

    .booking-header {
        margin-bottom: 2.5rem;
    }

    .booking-title {
        font-size: 1.75rem;
    }

    .booking-main {
        gap: 1.5rem;
    }

    .booking-services {
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .booking-steps {
        padding: 1.5rem;
    }

    .step-item {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-line {
        height: 50px;
        margin-left: 19px;
    }

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

    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .booking-section {
        padding: 2rem 0;
    }

    .booking-header {
        margin-bottom: 2rem;
    }

    .booking-title {
        font-size: 1.5rem;
    }

    .booking-subtitle {
        font-size: 1rem;
    }

    .booking-main {
        grid-template-columns: 1fr;
    }

    .booking-features {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 1.25rem;
    }

    .booking-stats {
        grid-template-columns: 1fr;
    }

    .service-features {
        gap: 0.5rem;
    }

    .step-item {
        gap: 0.75rem;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slide-in {
    animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

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

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

.pulse-shadow {
    animation: pulseShadow 2s infinite;
}

@keyframes pulseShadow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 23, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 23, 68, 0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .navbar-cta-desktop {
        display: none;
    }

    .navbar-cta-seller {
        display: none !important;
    }

    .navbar-hamburger {
        display: flex;
    }

    /* Center logo, hamburger stays right (first child in RTL), actions stay left */
    .navbar-container {
        position: relative;
    }

    .navbar-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
}

@media (max-width: 1024px) {
    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.25rem !important;
    }

    .text-4xl {
        font-size: 1.875rem !important;
    }
}

@media (max-width: 640px) {
    .text-5xl {
        font-size: 2rem !important;
    }

    .text-4xl {
        font-size: 1.75rem !important;
    }

    .slider-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slider-nav-btn.prev {
        left: 12px;
    }

    .slider-nav-btn.next {
        right: 12px;
    }
}

@media (max-width: 640px) {
    .stories-wrapper {
        gap: 0.75rem;
    }

    .stories-scroll {
        gap: 1rem;
    }

    .story-thumb {
        width: 90px;
        height: 90px;
    }

    .story-label {
        font-size: 0.75rem;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .stories-wrapper {
        gap: 0.5rem;
    }

    .story-thumb {
        width: 80px;
        height: 80px;
    }

    .story-label {
        font-size: 0.7rem;
        max-width: 90px;
    }

    .stories-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.footer-newsletter-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 23, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-newsletter-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.footer-newsletter-subtitle {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 30px;
    background: white;
    color: #1a1a1a;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.2);
    transform: translateY(-2px);
}

.footer-newsletter-input::placeholder {
    color: #999999;
}

.footer-newsletter-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.2);
}

.footer-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.3);
}

.footer-newsletter-btn:active {
    transform: translateY(0);
}

/* ===== MODERN FOOTER ===== */
.footer-wrapper {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 23, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-wrapper > .max-w-7xl {
    position: relative;
    z-index: 2;
}

/* Main Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-section:nth-child(1) { animation-delay: 0.05s; }
.footer-section:nth-child(2) { animation-delay: 0.1s; }
.footer-section:nth-child(3) { animation-delay: 0.15s; }
.footer-section:nth-child(4) { animation-delay: 0.2s; }
.footer-section:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FF1744;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #999999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-read-more {
    color: #FF1744;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-read-more:hover {
    gap: 0.75rem;
    color: #FF5A7E;
}

.footer-read-more i {
    font-size: 0.75rem;
}

/* Section Titles */
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
}

/* Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.footer-link:hover {
    color: #FF1744;
    padding-right: 0.3rem;
}

/* Social Section */
.footer-social-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 23, 68, 0.1);
    color: #FF1744;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 23, 68, 0.2);
}

.footer-social-icon:hover {
    background: linear-gradient(135deg, #FF1744, #FF5A7E);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 23, 68, 0.25);
}

/* ===== PARTNERS SECTION ===== */
.footer-partners-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.footer-partners-label {
    color: #999999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-partners-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-partner-item {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(194, 194, 194, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-partner-item:hover {
    border-color: rgba(255, 23, 68, 0.5);
    background: rgba(255, 23, 68, 0.1);
    transform: translateY(-2px);
}

.footer-partner-img {
   width: 100%;
     
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer-partner-item:hover .footer-partner-img {
    filter: brightness(1);
}

.footer-partners-more {
    flex: 0 0 auto;
}

.footer-see-all {
    color: #FF1744;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-see-all:hover {
    gap: 0.75rem;
    color: #FF5A7E;
}

/* ===== BOTTOM FOOTER ===== */
.footer-bottom-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    animation: fadeInUp 0.6s ease-out 0.35s backwards;
}

.footer-bottom-content {
    display: flex;
    gap: 1.5rem;
}

.footer-copyright {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-copyright a {
    color: #FF1744;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #FF5A7E;
}

.footer-credit-wrapper {
    display: flex;
    align-items: center;
}

.footer-credit {
    color: #666666;
    font-size: 0.85rem;
}

.footer-credit-link {
    color: #FF1744;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-credit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF1744, #FF5A7E);
    transition: width 0.3s ease;
}

.footer-credit-link:hover {
    color: #FF5A7E;
}

.footer-credit-link:hover::after {
    width: 100%;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-newsletter-section {
        padding: 2rem 0;
    }

    .footer-newsletter-title {
        font-size: 1.5rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-input,
    .footer-newsletter-btn {
        width: 100%;
    }

    .footer-wrapper {
        padding: 2rem 0 1rem;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-partners-grid {
        gap: 1rem;
    }

    .footer-partner-item {
        width: 70px;
        height: 45px;
    }

    .footer-bottom-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-newsletter-section {
        padding: 1.5rem 0;
    }

    .footer-newsletter-title {
        font-size: 1.25rem;
    }

    .footer-newsletter-subtitle {
        font-size: 0.85rem;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-partners-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-partners-grid {
        gap: 0.75rem;
    }

    .footer-partner-item {
        width: 60px;
        height: 40px;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 0.75rem;
    }
}