:root {
    /* Shoppi Core Palette */
    --primary-color: #2d324c;
    --primary-light: #3d4466;
    --primary-dark: #1b1e2e;
    --shoppi-purple: #6c5ce7;
    --shoppi-blue-gradient: linear-gradient(135deg, #2d324c 0%, #6c5ce7 100%);

    /* Accents */
    --accent-red: #ff4757;
    --accent-yellow: #ffa502;
    --accent-color: var(--shoppi-purple);

    /* Functional */
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --border-light: #dfe6e9;
    --bg-light: #f8f9fa;
    --bg-secondary: #f1f2f6;
    --white: #ffffff;

    /* Modern Effects */
    --card-shadow: 0 10px 30px rgba(45, 50, 76, 0.08);
    --hover-shadow: 0 20px 40px rgba(45, 50, 76, 0.15);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}



/* Fixed Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-contact a:hover {
    color: white;
}

.top-bar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-dropdown {
    position: relative;
}

.top-bar-dropdown>a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.top-bar-dropdown>a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-dropdown img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.dropdown-menu {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 180px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-light) !important;
    color: var(--primary-color);
}

.dropdown-item img {
    width: 20px;
    height: 15px;
}

.top-bar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-user a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.top-bar-user a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Header Main Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-main {
    padding: 1rem 0;
}

.logo img {
    max-height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}




/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    line-height: 1;
    cursor: pointer;
    margin: 0;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        /* Match logo max-height */
        width: 45px;
    }
}

/* Search Bar Styles */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 14px 22px 14px 50px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--bg-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 32, 51, 0.08);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 8px 25px rgba(32, 32, 51, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 10;
}

.search-button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-red) !important;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    color: white !important;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.search-button:hover {
    background: #ff3344;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 71, 87, 0.4);
}

/* Cart and User Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-container {
    position: relative;
}

.cart-icon {
    background: var(--bg-light);
    border-radius: 50px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cart-icon:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(32, 32, 51, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.cart-icon i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 24px;
}

.checkout-btn {
    background: var(--accent-yellow);
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 165, 2, 0.2);
}

.checkout-btn:hover {
    background: #e69500;
    transform: translateY(-2px);
    color: var(--primary-color);
    text-decoration: none;
}

/* Navigation Styles */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 12px 0;
    transition: all 0.3s ease;
}

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

.nav-item>a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item>a:hover {
    background: rgba(32, 32, 51, 0.08);
    color: var(--primary-color);
    text-decoration: none;
}

.app-downloads {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.app-downloads img {
    height: 35px;
    transition: transform 0.3s ease;
}

.app-downloads a:hover img {
    transform: scale(1.05);
}

/* Mobile Navigation Styles */
.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item>a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item>a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-submenu {
    background: var(--bg-light);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.show {
    max-height: 300px;
}

.mobile-submenu a {
    padding: 10px 40px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    text-decoration: none;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    float: right;
    font-size: 1rem;
    margin-top: 2px;
}

.mobile-app-downloads {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.mobile-app-downloads h6 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mobile-app-downloads .app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-app-downloads img {
    height: 30px;
}

/* Hero Banner - REDUCED SIZE */
/* Modern Discovery Hero */
.hero-banner {
    background: var(--shoppi-blue-gradient);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 60px 60px;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent-red);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 850;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-banner .btn-hero-primary {
    background: var(--accent-yellow);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 165, 2, 0.3);
}

.hero-banner .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-banner .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    max-height: 300px;
    object-fit: cover;
}

main {
    background: white;
    margin-top: -10px;
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 1;
    padding-top: 30px;
}

/* Increase top padding for small screens */
@media (max-width: 700px) {
    main {
        padding-top: 50px;
        /* or whatever value you want */
    }
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-alt {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(32, 32, 51, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.view-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-btn:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* App Download Section */
.app-download-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
}

.app-download-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.app-download-section .lead {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-buttons img {
    height: 30px;
    transition: transform 0.3s ease;
}

.app-buttons a:hover img {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 25px;
}

.footer-section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Payment Section */
.payment-section {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 0;
    border-radius: 16px;
}

.payment-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.security-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.security-badge {
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.security-badge img {
    height: 20px;
    width: auto;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-method {
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-2px);
}

.payment-method img {
    height: 18px;
    width: auto;
}

/* Bottom Footer */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.country-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.country-selector option {
    background: var(--primary-color);
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header {
        position: relative;
    }

    .mobile-nav {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .top-bar-menu {
        gap: 0.5rem;
    }

    .top-bar-contact {
        font-size: 0.8rem;
    }

    .top-bar-user {
        gap: 0.25rem;
    }

    .top-bar-user a {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner .lead {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .search-input {
        padding: 12px 18px 12px 45px;
        font-size: 0.9rem;
    }

    .search-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .checkout-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .cart-icon {
        padding: 10px 12px;
    }

    .cart-icon i {
        font-size: 1.2rem;
    }

    .footer-links,
    .footer-bottom,
    .payment-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .security-badges,
    .payment-methods {
        justify-content: center;
    }

    .hero-banner {
        padding: 30px 0 50px;
    }

    .section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 6px 0;
        font-size: 0.8rem;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar-contact {
        order: 2;
    }

    .top-bar-menu {
        order: 1;
    }

    .search-container {
        margin: 10px 0;
    }

    .header-main .row {
        gap: 0;
    }

    .logo img {
        max-height: 35px;
    }

    .mobile-menu-toggle {
        height: 35px;
        width: 35px;
        font-size: 1.25rem;
    }

    .checkout-btn span {
        display: none;
    }
}

/* Loading Animation */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
    height: 200px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Pulse animation for cart */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Accessibility improvements */
a:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Modal styles for "View All" functionality */
.modal-fullscreen {
    --modal-padding: 1rem;
    --modal-header-height: 60px;
}

/* Desktop styles - 90% screen coverage */
.modal-fullscreen .modal-dialog {
    max-width: 90vw;
    width: 90vw;
    height: 90vh;
    margin: 5vh auto;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.modal-fullscreen .modal-header {
    min-height: var(--modal-header-height);
    flex-shrink: 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.modal-fullscreen .modal-body {
    height: calc(100% - var(--modal-header-height));
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: var(--modal-padding);
    /* Custom scrollbar for webkit browsers */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-fullscreen .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Tablet styles */
@media (max-width: 991px) and (min-width: 768px) {
    .modal-fullscreen .modal-dialog {
        max-width: 95vw;
        width: 95vw;
        height: 95vh;
        margin: 2.5vh auto;
    }

    .modal-fullscreen {
        --modal-padding: 0.75rem;
    }
}

/* Mobile styles - true fullscreen */
@media (max-width: 767px) {
    .modal-fullscreen .modal-dialog {
        width: 100vw;
        height: 100vh;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .modal-fullscreen .modal-content {
        height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen {
        --modal-padding: 0.5rem;
        --modal-header-height: 56px;
    }

    /* Hide modal backdrop blur on mobile for better performance */
    .modal-fullscreen~.modal-backdrop {
        background-color: #000;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .modal-fullscreen {
        --modal-padding: 0.25rem;
        --modal-header-height: 52px;
    }

    .modal-fullscreen .modal-header {
        padding: 0.5rem;
    }

    .modal-fullscreen .modal-title {
        font-size: 1.1rem;
    }
}

/* Animation improvements */
.modal-fullscreen.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9);
}

.modal-fullscreen.show .modal-dialog {
    transform: scale(1);
}

/* Focus management */
.modal-fullscreen .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Loading state for modal content */
.modal-fullscreen .modal-body.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.modal-fullscreen .modal-body.loading::before {
    content: '';
    width: 2rem;
    height: 2rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modal-fullscreen .modal-content {
        border: 2px solid;
    }

    .modal-fullscreen .modal-header {
        border-bottom-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .modal-fullscreen .modal-body {
        scroll-behavior: auto;
    }

    .modal-fullscreen.fade .modal-dialog {
        transition: none;
    }
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.mobile-nav.show {
    animation: slideDown 0.3s ease-out;
}

/* News Slider Section - Shoppi Homepage */
.news-section {
    padding: 60px 0;
    background: #f9fafb;
    /* var(--bg-light) */
}

.news-slider {
    position: relative;
    padding: 0 50px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.875rem;
    color: #6b7280;
    /* var(--text-muted) */
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    /* var(--text-dark) */
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #6b7280;
    /* var(--text-muted) */
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more-link {
    color: #4f46e5;
    /* var(--accent-color) */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #6366f1;
    /* var(--accent-light) */
    text-decoration: underline;
}

/* Responsive adjustments for news section */
@media (max-width: 992px) {
    .news-slider {
        padding: 0 30px;
    }

    .news-card {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }

    .news-slider {
        padding: 0 20px;
    }

    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .news-slider {
        padding: 0 10px;
    }

    .news-card {
        margin: 0 5px;
    }

    .news-image {
        height: 140px;
    }

    .news-content {
        padding: 12px;
    }

    .news-date {
        font-size: 0.8rem;
    }

    .news-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .news-excerpt {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .read-more-link {
        font-size: 0.85rem;
    }
}

/* Slick carousel overrides for news slider */
#news-slider.slick-slider {
    margin-bottom: 0;
}

#news-slider .slick-prev,
#news-slider .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(32, 32, 51, 0.8);
    /* var(--primary-color) with opacity */
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

#news-slider .slick-prev:hover,
#news-slider .slick-next:hover {
    background: #202033;
    /* var(--primary-color) */
    transform: translate(0, -50%) scale(1.1);
}

#news-slider .slick-prev {
    left: 0;
}

#news-slider .slick-next {
    right: 0;
}

#news-slider .slick-prev:before,
#news-slider .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    color: white;
}

#news-slider .slick-prev:before {
    content: '\f104';
    /* fa-chevron-left */
}

#news-slider .slick-next:before {
    content: '\f105';
    /* fa-chevron-right */
}

#news-slider .slick-dots {
    bottom: -35px;
}

#news-slider .slick-dots li button:before {
    color: #202033;
    /* var(--primary-color) */
    font-size: 10px;
}

#news-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #4f46e5;
    /* var(--accent-color) */
}

/* Loading state for news */
.news-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.news-loading i {
    font-size: 2rem;
    color: #6b7280;
    /* var(--text-muted) */
}

/* Empty state for news */
.news-empty {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    /* var(--text-muted) */
}

/* News placeholder image */
.news-image[src*="news-placeholder"] {
    background: #f3f4f6;
    /* var(--bg-secondary) */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-image[src*="news-placeholder"]:before {
    content: '\f1ea';
    /* fa-newspaper */
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    font-size: 3rem;
    color: #e5e7eb;
    /* var(--border-light) */
    position: absolute;
}


/* Modal Overlay */
.shoppi-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shoppi-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.shoppi-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

.shoppi-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.shoppi-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.shoppi-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.shoppi-video-container::-webkit-scrollbar {
    display: none;
}

.shoppi-video-item {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.shoppi-video-item:nth-child(even) {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.shoppi-video-item:nth-child(3n) {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.shoppi-video-item:nth-child(4n) {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.shoppi-video-item:nth-child(5n) {
    background: linear-gradient(45deg, #fa709a, #fee140);
}

.shoppi-video-background {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoppi-video-item:hover .shoppi-video-background {
    transform: scale(1.05);
}

.shoppi-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    z-index: 5;
}

.shoppi-video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.shoppi-video-info p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.shoppi-video-controls {
    position: absolute;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 5;
}

.shoppi-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 20px;
}

.shoppi-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.shoppi-profile-btn {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.shoppi-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 1;
}

.shoppi-play-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.shoppi-play-button {
    font-size: 28px;
    animation: pulse 2s infinite;
    color: white;
    line-height: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.shoppi-loading-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: white;
    font-size: 18px;
    flex-direction: column;
    scroll-snap-align: start;
    background: linear-gradient(45deg, #2c3e50, #34495e);
}

.shoppi-loading-more .shoppi-spinner {
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.shoppi-video-content {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.shoppi-video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shoppi-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.shoppi-mock-video {
    transition: all 0.3s ease;
}

/* Playing state styles */
.shoppi-video-item.playing .shoppi-play-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.shoppi-video-item.playing .shoppi-video-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shoppi-video-item.playing .shoppi-video-background {
    transform: scale(1.02);
}

.shoppi-video-item.playing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}

.shoppi-play-overlay {
    transition: opacity 0.3s ease;
}

.shoppi-video-content {
    transition: opacity 0.3s ease;
}

@media (max-width: 480px) {
    .shoppi-modal-container {
        max-width: 100%;
    }

    .shoppi-video-overlay {
        padding: 15px;
    }

    .shoppi-video-controls {
        right: 15px;
        bottom: 80px;
    }
}

/* Better Slick Carousel Spacing */
.slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
    margin: 0;
    /* Reset margin */
}

.slick-list {
    margin: 0 -10px;
}

/* Ensure cards inside carousel take full height and look premium */
.slick-slide .card,
.slick-slide .service-card,
.slick-slide .product-card,
.slick-slide .box-offer,
.slick-slide .news-card,
.slick-slide .box-item {
    height: 100%;
    margin-bottom: 20px;
    /* Space for shadow */
    margin-left: 0;
    /* Reset horizontal margins as padding handles it */
    margin-right: 0;
}

/* Premium Shadow on Hover for interactive elements */
.product-card:hover,
.service-card:hover,
.feature-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Skeleton Loader */
.skeleton-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    height: 100%;
}

.skeleton-img {
    height: 200px;
    background: #f0f0f0;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f0f0f0 4%, #f7f7f7 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

.skeleton-text {
    height: 15px;
    background: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f0f0f0 4%, #f7f7f7 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

.skeleton-text.w-50 {
    width: 50%;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Force responsive description images */
.product-description img,
.content-body img,
.content-body-premium img,
#desc img {
    max-width: 100% !important;
    height: auto !important;
}


/* Redesigned Header Styles */
.header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0;
}

.header-main {
    padding: 15px 0;
}

/* Rounded Pill Buttons for Login/Signup */
.btn-rounded-pill {
    border-radius: 50px;
}

/* Adjustments for new header flex layout */
.logo img {
    max-height: 40px;
    /* Reduced slightly for sleek look */
}

/* Mobile Search Input adjustments */
@media (max-width: 991px) {
    .search-container {
        margin-top: 10px;
    }

    .col-lg-3.col-6 .d-flex {
        /* Ensure right side items align properly on mobile */
        justify-content: flex-end;
    }
}

/* Fix mobile menu button alignment */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
}

/* Ensure row doesn't wrap on mobile */
@media (max-width: 991px) {
    .header-main .row {
        flex-wrap: wrap;
        /* Search needs to wrap */
    }

    .header-main .col-6 {
        /* Prevent columns from wrapping if content is wide */
        white-space: nowrap;
    }
}


/* Mobile Actions - Ensure Cart Visible */
@media (max-width: 991px) {
    .header-main .d-flex.align-items-center.gap-3.d-lg-none {
        display: flex !important;
        /* Force display on mobile */
    }

    /* Ensure only logo and burger are left aligned */
    .col-lg-3.col-6 {
        justify-content: flex-start;
    }
}

/* Cart Drawer Styles */
.shoppi-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.shoppi-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.shoppi-cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shoppi-cart-drawer.open {
    right: 0;
}

.shoppi-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shoppi-cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.shoppi-cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.shoppi-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.shoppi-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.shoppi-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.shoppi-cart-checkout-btn {
    width: 100%;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
}

.shoppi-cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-qty {
    background: none;
    border: none;
    padding: 2px 8px;
    cursor: pointer;
}

.qty-control input {
    width: 30px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
}

.btn-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-remove:hover {
    color: var(--danger-color);
}

/* Hide mobile cart icon - it's already in the hamburger menu */
@media (max-width: 991px) {
    .header-main .col-lg-3.col-6.order-2 a.d-lg-none {
        display: none !important;
    }
}

/* Cart Drawer Item Actions */
.shoppi-cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.shoppi-cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border-radius: 25px;
    padding: 4px 8px;
}

.shoppi-cart-qty-controls .qty-btn {
    background: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.shoppi-cart-qty-controls .qty-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.shoppi-cart-qty-controls .qty-val {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.shoppi-cart-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.shoppi-cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.shoppi-cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.shoppi-cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.shoppi-cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.shoppi-cart-loader {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.shoppi-cart-loader i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Discovery Categories (Stories Style) */
.discovery-categories {
    padding: 30px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-light);
}

.discovery-categories::-webkit-scrollbar {
    display: none;
}

.category-story {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.category-story:hover {
    transform: scale(1.08);
}

.story-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-red), var(--shoppi-purple));
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-inner i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Special Promo Story (Gift Cards) */
.gift-story-special .promo-story {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
    border: 2px solid #ff758c;
    animation: pulse-promo 2s infinite;
}

.gift-story-special .promo-story .story-inner i {
    color: #ff4757;
}

@keyframes pulse-promo {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 117, 140, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 117, 140, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 117, 140, 0);
    }
}

.category-story span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Discovery Grid (Masonryesque) */
.discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 25px;
    margin-top: 50px;
}

.discovery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.discovery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.discovery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.discovery-item.tall {
    grid-row: span 2;
}

.discovery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discovery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 25px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: white;
}

.discovery-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.discovery-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.discovery-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent-red);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* Magazine v2 Styling */
.news-magazine-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card-premium {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
}

.news-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--hover-shadow);
}

.news-media {
    height: 240px;
    position: relative;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-content-v2 {
    padding: 30px;
}

.news-content-v2 h3 {
    font-size: 1.5rem;
    font-weight: 850;
    margin-bottom: 15px;
    line-height: 1.25;
    color: var(--primary-color);
}

.news-content-v2 p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .discovery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-banner {
        padding: 60px 0 80px;
        text-align: center;
        border-radius: 0 0 40px 40px;
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .news-magazine-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .discovery-categories {
        padding: 20px 0;
        margin-top: -40px;
    }

    .story-circle {
        width: 70px;
        height: 70px;
    }

    .story-inner i {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-banner h1 {
        font-size: 1.8rem;
    }

    .discovery-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto;
    }

    .discovery-item.large,
    .discovery-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .discovery-item {
        height: 250px;
    }

    /* Marketplace Filters */
    .marketplace-filters .filter-btn {
        background: var(--bg-secondary);
        border: 1px solid var(--border-light);
        color: var(--text-dark);
        padding: 10px 24px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .marketplace-filters .filter-btn:hover {
        background: var(--bg-hover);
        transform: translateY(-2px);
    }

    .marketplace-filters .filter-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    #home-multigrid-container {
        min-height: 400px;
    }

    #home-multigrid-container .product-card {
        height: 100%;
        margin-bottom: 0;
    }

    #load-more-home:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .transition-all {
        transition: all 0.3s ease !important;
    }

    @media (max-width: 768px) {
        .marketplace-filters {
            justify-content: flex-start !important;
        }
    }
}