
:root {
    --primary-color: #1cb1f9;
    --primary-color-rgb: 28, 177, 249;
    --primary-light: #6cffff;
    --primary-dark: #003981;
    --primary-vibrant: #44d9ff;
    --secondary-color: #eaff0f;
    --secondary-color-rgb: 234, 255, 15;
    --accent-color: #0eb898;
    --accent-color-rgb: 14, 184, 152;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #1a202c;
    --text-light: #718096;
    --background: #ffffff;
    --background-light: #f7fafc;
    --border-color: #e2e8f0;
    --footer-bg: #1a202c;
    --footer-text: #ffffff;
}

.feature-icon,
.product-button,
.add-to-cart-main,
.newsletter-button,
.back-to-top {
    background: linear-gradient(135deg,
        rgba(28, 177, 249, 0.9) 0%,
        rgba(68, 217, 255, 0.8) 25%,
        rgba(14, 184, 152, 0.9) 50%,
        rgba(234, 255, 15, 0.8) 75%,
        rgba(28, 177, 249, 0.9) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(28, 177, 249, 0.2) !important;
    border-radius: 20px !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.feature-icon:hover,
.product-button:hover,
.add-to-cart-main:hover,
.newsletter-button:hover,
.back-to-top:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow:
        0 20px 60px rgba(28, 177, 249, 0.4),
        0 0 80px rgba(68, 217, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.product-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(28, 177, 249, 0.2) !important;
    border-radius: 24px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-15px) rotateX(5deg) !important;
    box-shadow:
        0 30px 80px rgba(28, 177, 249, 0.3),
        0 0 100px rgba(68, 217, 255, 0.2) !important;
    border-color: rgba(68, 217, 255, 0.5) !important;
}


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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.header-centered {
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.centered-top {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.centered-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #666;
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.centered-main {
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-centered {
    flex: 1;
}

.centered-nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.centered-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.centered-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.centered-menu a:hover {
    color: var(--primary-color);
}

.cart-button-centered {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-button-centered:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}


.hero-modern-gradient {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(ellipse at top left, var(--primary-color) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, var(--accent-color) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent);
    background-size: 150px 150px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-20px) translateX(0px); }
    75% { transform: translateY(-10px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-modern-gradient .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-modern-gradient .hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.hero-modern-gradient .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-modern-gradient .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-modern-gradient .hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.85;
    color: #e2e8f0;
}

.hero-modern-gradient .hero-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-modern-gradient .metric {
    text-align: center;
}

.hero-modern-gradient .metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1;
}

.hero-modern-gradient .metric-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.hero-modern-gradient .hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-modern-gradient .hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-modern-gradient .hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-modern-gradient .hero-btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-modern-gradient .hero-btn-glass:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hero-modern-gradient .floating-cards {
    position: relative;
    height: 400px;
}

.hero-modern-gradient .floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-modern-gradient .floating-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

.hero-modern-gradient .floating-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-modern-gradient .card-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.hero-modern-gradient .card-2 {
    top: 150px;
    right: 30px;
    animation-delay: 2s;
}

.hero-modern-gradient .card-3 {
    bottom: 50px;
    left: 20px;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-modern-gradient .floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero-modern-gradient .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-modern-gradient .hero-title {
        font-size: 2.5rem;
    }

    .hero-modern-gradient .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-modern-gradient .floating-cards {
        height: 200px;
    }
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

/* When displayed via JS (display: block or flex) */
.cart-modal[style*="display: block"],
.cart-modal[style*="display:block"],
.cart-modal.show {
    display: flex !important;
}

.cart-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 750px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
}

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

.close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-cart:hover {
    color: #333;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-total {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: right;
}

.cart-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.cart-footer {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.cart-footer button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.clear-cart {
    background: #ef4444;
    color: white;
}

.order-btn {
    background: var(--primary-color);
    color: white;
}

.close-btn {
    background: #6b7280;
    color: white;
}

.show-cart { width: 100%; border-collapse: collapse; }
.show-cart th { padding: 10px 0; border-bottom: 2px solid #eee; font-size: 13px; font-weight: 600; text-align: left; color: #666; }
.show-cart td { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: middle; }
.show-cart td img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; }
.quantity-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 6px; cursor: pointer; font-size: 16px; user-select: none; }
.quantity-btn:hover { background: #e5e7eb; }
.item-count { width: 40px; text-align: center; border: 1px solid #ddd; border-radius: 6px; padding: 4px; font-size: 14px; }
.delete-item { background: none; border: none; color: #999; cursor: pointer; font-size: 16px; padding: 4px 8px; }
.delete-item:hover { color: #ef4444; }


.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.cart-button {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-input {
        width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.products {
    padding: 80px 0;
    background: #f8fafc;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 28px;
}

.product-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.product-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: contrast(1.1) saturate(1.1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: contrast(1.2) saturate(1.2);
}

.product-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.product-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.product-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.product-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.product-button {
    width: 100%;
    margin-top: 10px;
}

.product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.product-card-stars { display: flex; gap: 1px; color: var(--accent-color, #fbbf24); }
.product-card-stars svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.product-card-stars .empty { color: var(--border-color, #d1d5db); }
.product-card-stars .half-filled { margin-left: -14px; clip-path: inset(0 50% 0 0); }
.product-card-rating span { font-size: 12px; color: var(--text-light, #6b7280); }

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.newsletter-button {
    background: white !important;
    color: #333 !important;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}


.footer-wide {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.wide-footer-top {
    background: var(--primary-color);
    padding: 40px 0;
}

.wide-newsletter {
    text-align: center;
}

.wide-newsletter h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.wide-newsletter p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.wide-subscribe {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.wide-subscribe input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 16px;
}

.wide-subscribe button {
    background: white !important;
    color: #333 !important;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wide-subscribe button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.wide-footer-main {
    padding: 60px 0 40px;
}

.wide-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.wide-footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}

.wide-footer-col ul {
    list-style: none;
}

.wide-footer-col ul li {
    margin-bottom: 12px;
}

.wide-footer-col ul a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wide-footer-col ul a:hover {
    color: white;
    transform: translateX(5px);
}

.wide-logo img {
    filter: brightness(1.5);
    margin-bottom: 20px;
}

.wide-desc {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.wide-social {
    display: flex;
    gap: 15px;
}

.wide-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wide-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.wide-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0aec0;
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

.wide-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.wide-footer-bottom p {
    color: #a0aec0;
}

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

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}


.product-button, .add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.newsletter-button {
    background: white !important;
    color: #333 !important;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.product-button:before, .add-to-cart:before, .newsletter-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.product-button:hover:before, .add-to-cart:hover:before, .newsletter-button:hover:before {
    left: 100%;
}

.product-button:hover, .add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.newsletter-button:hover {
    background: #f8f9fa !important;
    color: #333 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.add-to-cart-main {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.add-to-cart-main:hover:before {
    left: 100%;
}

.add-to-cart-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

td>img{max-height:70px}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-button {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .newsletter {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}