/* RShoppers Brand Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --rs-primary: #ff0a78;
    --rs-primary-hover: #e00063;
    --rs-secondary: #6c63ff;
    --rs-secondary-hover: #554ee5;
    --rs-text: #222222;
    --rs-bg: #ffffff;
    --rs-border: #f1f1f1;
    --rs-gray-light: #f8f9fa;
    --rs-gray-medium: #6c757d;
    --rs-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    --rs-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
    --rs-radius: 12px;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--rs-text);
    background-color: var(--rs-bg);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--rs-text);
}

/* Custom Buttons */
.btn-rs-primary {
    background-color: var(--rs-primary);
    color: #fff;
    border: none;
    border-radius: var(--rs-radius);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 10, 120, 0.15);
}
.btn-rs-primary:hover, .btn-rs-primary:focus {
    background-color: var(--rs-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 10, 120, 0.25);
}

.btn-rs-secondary {
    background-color: var(--rs-secondary);
    color: #fff;
    border: none;
    border-radius: var(--rs-radius);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.15);
}
.btn-rs-secondary:hover, .btn-rs-secondary:focus {
    background-color: var(--rs-secondary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
}

.btn-rs-outline {
    background-color: transparent;
    color: var(--rs-primary);
    border: 2px solid var(--rs-primary);
    border-radius: var(--rs-radius);
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.btn-rs-outline:hover {
    background-color: var(--rs-primary);
    color: #fff;
}

/* Card Styling */
.rs-card {
    background-color: #fff;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    box-shadow: var(--rs-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.rs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rs-shadow-hover);
    border-color: rgba(255, 10, 120, 0.15);
}

/* Image Containers */
.rs-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--rs-gray-light);
}
.rs-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.rs-card:hover .rs-img-wrapper img {
    transform: scale(1.05);
}

/* Badges */
.rs-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--rs-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 750;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.rs-badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--rs-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 750;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Sticky Header styling */
.rs-navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rs-border);
    transition: all 0.3s ease;
    z-index: 1030;
}
.rs-navbar .nav-link {
    color: var(--rs-text);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}
.rs-navbar .nav-link:hover, .rs-navbar .nav-link.active {
    color: var(--rs-primary);
}

/* Search bar styling */
.rs-search-input {
    border: 1px solid var(--rs-border);
    background-color: var(--rs-gray-light);
    border-radius: 50px 0 0 50px;
    padding-left: 20px;
    font-size: 0.875rem;
    height: 45px;
}
.rs-search-input:focus {
    box-shadow: none;
    border-color: var(--rs-primary);
    background-color: #fff;
}
.rs-search-btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--rs-primary);
    border: none;
    color: #fff;
    width: 50px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.rs-search-btn:hover {
    background-color: var(--rs-primary-hover);
}

/* Category dropdown in search */
.rs-search-category {
    border: 1px solid var(--rs-border);
    border-right: none;
    background-color: #fff;
    color: var(--rs-text);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0 15px;
    height: 45px;
    outline: none;
}

/* Badge Icon */
.rs-icon-badge-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    color: var(--rs-text);
    transition: color 0.2s ease;
}
.rs-icon-badge-btn:hover {
    color: var(--rs-primary);
}
.rs-icon-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--rs-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top Announcement bar */
.rs-announcement-bar {
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
}

/* Hero Carousel styling */
.rs-hero-carousel .carousel-item {
    height: 70vh;
    min-height: 500px;
    background-color: var(--rs-gray-light);
}
.rs-hero-content {
    max-width: 600px;
}
.rs-hero-tag {
    color: var(--rs-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
}
.rs-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .rs-hero-title {
        font-size: 2.2rem;
    }
    .rs-hero-carousel .carousel-item {
        height: 50vh;
        min-height: 380px;
    }
}

/* Feature grid items */
.rs-feature-box {
    padding: 24px;
    border-radius: var(--rs-radius);
    background-color: var(--rs-bg);
    border: 1px solid var(--rs-border);
    transition: all 0.3s ease;
}
.rs-feature-box:hover {
    box-shadow: var(--rs-shadow-hover);
    border-color: rgba(255, 10, 120, 0.1);
}
.rs-feature-icon {
    font-size: 2rem;
    color: var(--rs-primary);
    margin-bottom: 15px;
}

/* Category cards */
.rs-cat-card {
    position: relative;
    border-radius: var(--rs-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--rs-shadow);
}
.rs-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
}
.rs-cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}
.rs-cat-card:hover img {
    transform: scale(1.05);
}
.rs-cat-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
}

/* Star rating custom */
.rs-stars {
    color: #ffc107;
    font-size: 0.825rem;
}

/* Newsletter section */
.rs-newsletter {
    background-color: var(--rs-gray-light);
    border-radius: var(--rs-radius);
    padding: 60px 40px;
    border: 1px solid var(--rs-border);
}

/* Footer Section */
.rs-footer {
    background-color: #fff;
    border-top: 1px solid var(--rs-border);
    padding-top: 80px;
    padding-bottom: 30px;
    font-size: 0.875rem;
}
.rs-footer h5 {
    font-size: 1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.rs-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--rs-primary);
}
.rs-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rs-footer-links li {
    margin-bottom: 12px;
}
.rs-footer-links a {
    color: var(--rs-gray-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}
.rs-footer-links a:hover {
    color: var(--rs-primary);
}
.rs-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--rs-gray-light);
    color: var(--rs-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.rs-social-links a:hover {
    background-color: var(--rs-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Left sidebar filters */
.filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--rs-border);
    padding-bottom: 8px;
}
.filter-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.filter-list li {
    margin-bottom: 10px;
}
.filter-link {
    color: var(--rs-text);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}
.filter-link:hover, .filter-link.active {
    color: var(--rs-primary);
    font-weight: 600;
}

/* Product details styling */
.rs-product-gallery {
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    overflow: hidden;
    background-color: var(--rs-gray-light);
    aspect-ratio: 1 / 1;
}
.rs-product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rs-thumb-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.rs-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--rs-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rs-thumb:hover, .rs-thumb.active {
    border-color: var(--rs-primary);
    box-shadow: 0 4px 10px rgba(255, 10, 120, 0.1);
}
.rs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Color Circle selectors */
.color-options {
    display: flex;
    gap: 12px;
}
.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.color-circle:hover, .color-circle.active {
    border-color: var(--rs-primary);
    transform: scale(1.1);
}

/* Tabs styling */
.nav-tabs-rs {
    border-bottom: 2px solid var(--rs-border);
    gap: 30px;
}
.nav-tabs-rs .nav-link {
    border: none;
    color: var(--rs-gray-medium);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    position: relative;
    background: none;
}
.nav-tabs-rs .nav-link.active {
    color: var(--rs-primary);
    border: none;
}
.nav-tabs-rs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--rs-primary);
}

/* Quantity selector */
.rs-qty-selector {
    display: inline-flex;
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    overflow: hidden;
}
.rs-qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: none;
    font-size: 1.1rem;
    color: var(--rs-text);
    transition: background-color 0.2s ease;
}
.rs-qty-btn:hover {
    background-color: var(--rs-gray-light);
}
.rs-qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--rs-border);
    border-right: 1px solid var(--rs-border);
    text-align: center;
    font-weight: 600;
    outline: none;
}

/* Progress Timeline (Order Tracking) */
.rs-timeline {
    position: relative;
    padding-left: 30px;
    list-style: none;
}
.rs-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: var(--rs-border);
}
.rs-timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.rs-timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--rs-border);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--rs-border);
    transition: all 0.3s ease;
}
.rs-timeline-item.active::before {
    background-color: var(--rs-primary);
    box-shadow: 0 0 0 3px rgba(255, 10, 120, 0.2);
}
.rs-timeline-item.completed::before {
    background-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}
.rs-timeline-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.rs-timeline-date {
    font-size: 0.75rem;
    color: var(--rs-gray-medium);
}

/* Toast container override */
.rs-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1060;
    min-width: 300px;
}

/* breadcrumb override */
.breadcrumb-item a {
    color: var(--rs-gray-medium);
    text-decoration: none;
    font-size: 0.85rem;
}
.breadcrumb-item a:hover {
    color: var(--rs-primary);
}
.breadcrumb-item.active {
    color: var(--rs-text);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Mobile App-like Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--rs-border);
    z-index: 1040;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--rs-gray-medium);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--rs-primary);
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: 4px;
    right: 22%;
    background-color: var(--rs-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust body padding for mobile bottom nav */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 65px;
    }
}

/* ==========================================================================
   PREMIUM CUSTOM STYLING, ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Custom Premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

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

/* Pulsing accent badge */
@keyframes pulseAccent {
    0% { box-shadow: 0 0 0 0 rgba(255, 10, 120, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 10, 120, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 10, 120, 0); }
}

.pulse-badge {
    animation: pulseAccent 2s infinite;
}

/* Infinite marquee scroll */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
    padding: 15px 0;
}
.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
    gap: 40px;
}
.marquee-item {
    font-size: 1.1rem;
    font-weight: 750;
    text-transform: uppercase;
    color: #0f172a;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Glassmorphism custom card */
.rs-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    border-radius: var(--rs-radius);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rs-glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px 0 rgba(255, 10, 120, 0.08);
    transform: translateY(-4px);
}

/* Enhanced Product card hover effect */
.rs-card {
    border: 1px solid rgba(241, 245, 249, 0.8);
    background: #fff;
    border-radius: 20px;
}
.rs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(255, 10, 120, 0.2);
}
.rs-img-wrapper {
    border-radius: 20px 20px 0 0;
}

/* Instagram Grid Box */
.insta-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
}
.insta-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 10, 120, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}
.insta-grid-item:hover img {
    transform: scale(1.1);
}
.insta-grid-item:hover .insta-overlay {
    opacity: 1;
}

/* Custom premium badge gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, #ff0a78 0%, #ff5e62 100%);
}

.text-gradient-premium {
    background: linear-gradient(135deg, #ff0a78 0%, #ff5e62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Styled Breadcrumbs */
.breadcrumb {
    padding: 10px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.breadcrumb-item a {
    color: var(--rs-primary) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
}
.breadcrumb-item a:hover {
    color: var(--rs-secondary) !important;
}
.breadcrumb-item.active {
    color: #64748b !important;
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    color: #94a3b8 !important;
}

/* Instagram Hover Gallery */
.gallery-hover-box {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.gallery-hover-box img {
    transition: transform 0.5s ease;
}
.gallery-hover-box:hover img {
    transform: scale(1.1);
}
.gallery-hover-box:hover .gallery-overlay {
    opacity: 1 !important;
}
.gallery-overlay {
    transition: opacity 0.3s ease;
}

/* Shop Sidebar Filter Enhancement */
.filter-list li label:hover {
    color: var(--rs-primary);
    transform: translateX(4px);
    transition: all 0.2s ease;
}
.filter-list li label {
    transition: all 0.2s ease;
}
.form-check-input:checked {
    background-color: var(--rs-primary) !important;
    border-color: var(--rs-primary) !important;
}

/* Offset footer padding on mobile view to clear mobile-bottom-nav */
@media (max-width: 767.98px) {
    .rs-footer {
        padding-bottom: 90px !important;
    }
}

/* Brand Logo Display Styles */
.brand-logo-item {
    transition: all 0.3s ease;
    cursor: pointer;
}
.brand-logo-item:hover {
    transform: translateY(-5px);
    opacity: 1 !important;
}
.brand-logo-item i {
    transition: color 0.3s ease;
}
.brand-logo-item:hover .fa-apple { color: #000000 !important; }
.brand-logo-item:hover .fa-android { color: #3ddc84 !important; }
.brand-logo-item:hover .fa-playstation { color: #003797 !important; }
.brand-logo-item:hover .fa-xbox { color: #107c10 !important; }
.brand-logo-item:hover .fa-amazon { color: #ff9900 !important; }
.brand-logo-item:hover .fa-google { color: #4285f4 !important; }


