/* Customer Frontend Styles */

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.15s ease;
}

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

/* Search Form */
.search-form {
    width: 400px;
    max-width: 100%;
}

.search-form .input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-form .form-control {
    border-right: none;
    border-radius: 0;
}

.search-form .btn {
    border-left: none;
    border-radius: 0;
}

/* User Avatar */
.user-avatar {
    border: 2px solid var(--border-color);
}

/* Badge Positioning */
.nav-link .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin: 0;
    background: none;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stage-benefits {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stage-item {
    text-align: center;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-card {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.15s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.category-icon img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.category-name {
    font-weight: 600;
    margin: 0;
}

/* Offers Section */
.offers-section {
    padding: 4rem 0;
}

.offer-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.offer-content {
    padding: 2rem;
    padding-top: 3rem;
}

.coupon-code {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    text-align: center;
    border: 2px dashed var(--border-color);
}

/* Product Cards */
.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.15s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.sale {
    background: var(--error-color);
}

.product-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-name {
    margin-bottom: 0.5rem;
}

.product-name a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-vendor {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.cashback-info {
    font-size: 0.875rem;
    color: var(--warning-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.feature-item {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
}

.feature-item h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.social-link:hover {
    background: #1d4ed8;
    color: white;
}

.contact-info {
    color: #cbd5e1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.cashback-info-footer {
    background: rgba(37, 99, 235, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.stage-info {
    margin-top: 1rem;
}

.stage-info .stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stage-desc {
    font-size: 0.875rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    color: #cbd5e1;
    margin: 0;
}

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

.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.show {
    right: 0;
}

.cart-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

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

.cart-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cart-total {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.125rem;
}

.cart-actions {
    display: flex;
    gap: 0.5rem;
}

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.cart-sidebar-overlay.show {
    display: block;
}

/* Install Banner */
.install-banner {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Customer Frontend Responsive Design */

/* Extra Large Screens (TVs, Large Monitors) - 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding: 0 2rem;
    }
    
    .hero-section {
        padding: 6rem 0;
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
    
    .category-card {
        padding: 3rem 2rem;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .product-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-info {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .navbar {
        padding: 1.5rem 0;
    }
    
    .navbar-brand {
        font-size: 2rem;
    }
    
    .search-form {
        width: 600px;
    }
    
    .cart-sidebar {
        width: 500px;
        right: -500px;
    }
}

/* Large Screens (Desktops) - 1200px to 1919px */
@media (min-width: 1200px) and (max-width: 1919px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .search-form {
        width: 500px;
    }
    
    .cart-sidebar {
        width: 450px;
        right: -450px;
    }
}

/* Medium Screens (Tablets, Small Laptops) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section {
        padding: 3rem 0;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .search-form {
        width: 350px;
    }
    
    .cart-sidebar {
        width: 380px;
        right: -380px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Small Screens (Tablets) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2.5rem 0;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .navbar-nav {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-top: none;
        display: none;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .search-form {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .category-card {
        padding: 1.75rem 1rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .stage-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Screens (Large Phones) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 0.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 300px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .search-form {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .offer-card .offer-content {
        padding: 1.5rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .feature-item {
        padding: 1.25rem 0.75rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Extra Small Screens (Small Phones) - up to 575px */
@media (max-width: 575px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-section {
        padding: 1.5rem 0;
        min-height: 250px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .top-bar {
        display: none;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        background: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-top: none;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .search-form {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .search-form .form-control {
        font-size: 0.875rem;
    }
    
    .category-card {
        padding: 1.25rem 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .category-name {
        font-size: 0.875rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-name {
        font-size: 0.875rem;
    }
    
    .product-price .current-price {
        font-size: 1rem;
    }
    
    .product-actions {
        opacity: 1;
        position: static;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.75rem;
    }
    
    .offer-card {
        margin-bottom: 1rem;
    }
    
    .offer-card .offer-content {
        padding: 1rem;
    }
    
    .offer-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        padding: 0.75rem;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-name {
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-text {
        font-size: 0.875rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .breadcrumb-nav {
        padding: 0.5rem 0;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .stage-benefits {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .stage-item {
        margin-bottom: 1rem;
    }
    
    .stage-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
        min-height: 200px;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .categories-section,
    .offers-section,
    .features-section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .cart-sidebar {
        width: 350px;
        right: -350px;
    }
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
    }
    
    .form-control {
        min-height: 44px;
        padding: 0.75rem;
    }
    
    .product-card {
        cursor: pointer;
    }
    
    .category-card {
        cursor: pointer;
        min-height: 120px;
    }
    
    .back-to-top {
        min-width: 48px;
        min-height: 48px;
    }
    
    .cart-item-controls .btn {
        min-width: 40px;
        min-height: 40px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-card,
    .category-card,
    .offer-card {
        border-width: 0.5px;
    }
    
    .navbar {
        border-bottom-width: 0.5px;
    }
    
    .breadcrumb-nav {
        border-bottom-width: 0.5px;
    }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
}

/* PWA Install Banner Responsive */
@media (max-width: 575px) {
    .install-banner {
        padding: 0.75rem 0;
        font-size: 0.875rem;
    }
    
    .install-banner .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Newsletter Section Responsive */
@media (max-width: 575px) {
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: var(--border-radius) !important;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form .btn {
        margin-bottom: 0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1e293b;
        --bg-secondary: #334155;
        --bg-dark: #0f172a;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-light: #94a3b8;
        --border-color: #475569;
    }
    
    .hero-section {
        background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    }
    
    .cart-sidebar-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .navbar-nav {
        background: var(--bg-primary);
        border-color: var(--border-color);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .cart-sidebar,
    .install-banner {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
    
    .product-card,
    .category-card,
    .offer-card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}
