/* style.css - Complete CSS for E-Commerce */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-bottom: 70px;
    /* Space for bottom nav */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Header */
.top-header {
    background: #232f3e;
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    color: #ff9900;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-info i {
    font-size: 20px;
    color: #ff9900;
}

.delivery-info span {
    font-size: 12px;
    display: block;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    display: flex;
}

.search-bar input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-bar button {
    background: #ff9900;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

.alexa-promo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #37475a;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.alexa-promo i {
    color: #00bfff;
    font-size: 20px;
}

.user-actions a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    background: #37475a;
    border-radius: 4px;
}

/* Navigation */
.main-nav {
    background: #131921;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s;
    font-size: 14px;
}

.main-nav a:hover {
    background: #37475a;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 24px;
    margin-bottom: 5px;
}

.banner-content small {
    font-size: 14px;
    opacity: 0.9;
}

.btn-primary {
    background: #ff9900;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
}

/* Sections */
.section {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #232f3e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9900;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: white;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    z-index: 1;
}

.product-image {
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #232f3e;
    height: 40px;
    overflow: hidden;
}

.product-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.price-container {
    margin: 15px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.discounted-price {
    color: #ff4444;
    font-size: 20px;
    font-weight: bold;
}

.discount-percent {
    background: #ffe6e6;
    color: #ff4444;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #232f3e;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-add-to-cart,
.btn-buy-now {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
    flex-grow: 1;
}

.btn-add-to-cart {
    background: #ff9900;
    color: white;
}

.btn-buy-now {
    background: #232f3e;
    color: white;
}

.btn-secondary {
    background: #37475a;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    margin-top: 20px;
}

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

/* Special Offer */
.special-offer {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

/* Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #232f3e;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    z-index: 1000;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    padding: 5px;
}

.footer-nav i {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .top-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .search-bar {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .main-nav a span {
        display: none;
    }

    .main-nav a i,
    .main-nav a {
        font-size: 18px;
    }

    .hero-banner {
        padding: 20px;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 18px;
    }
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: bold;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-slide {
    background: #ff9900;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-slide:hover {
    background: #e68900;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 15px;
    border-radius: 0 5px 5px 0;
}

.carousel-control.next {
    right: 15px;
    border-radius: 5px 0 0 5px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ff9900;
    transform: scale(1.2);
}

.indicator:hover {
    background: white;
}

/* Alexa Promo Banner */
.alexa-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alexa-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    justify-content: space-between;
}

.alexa-icon {
    font-size: 40px;
    color: #00bfff;
}

.alexa-text {
    flex-grow: 1;
}

.alexa-text p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 5px;
}

.alexa-text small {
    font-size: 14px;
    opacity: 0.8;
}

.echo-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #37475a;
    padding: 10px 20px;
    border-radius: 20px;
}

.echo-dot i {
    color: #00bfff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Categories Section Update */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #ff9900;
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.category-card span {
    font-weight: 500;
    font-size: 14px;
}

/* Deal Timer */
.deal-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff4444;
    font-size: 12px;
    margin: 10px 0;
    font-weight: bold;
}

.limited-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9900;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

/* Footer Banner */
.footer-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-item i {
    font-size: 30px;
    color: #ff9900;
}

.banner-item h4 {
    margin-bottom: 5px;
    color: #232f3e;
}

.banner-item p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design for Carousel */
@media (max-width: 1024px) {
    .carousel-container {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 250px;
    }

    .slide-content {
        left: 20px;
        bottom: 20px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .alexa-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

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

    .footer-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px;
    }

    .slide-content h2 {
        font-size: 18px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .btn-slide {
        padding: 8px 15px;
        font-size: 14px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-banner {
        grid-template-columns: 1fr;
    }
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 500px;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: bold;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-slide {
    background: #ff9900;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-slide:hover {
    background: #e68900;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-control.prev {
    left: 15px;
    border-radius: 0 5px 5px 0;
}

.carousel-control.next {
    right: 15px;
    border-radius: 5px 0 0 5px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ff9900;
    transform: scale(1.2);
}

.indicator:hover {
    background: white;
}

/* Alexa Promo Banner */
.alexa-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alexa-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    justify-content: space-between;
}

.alexa-icon {
    font-size: 40px;
    color: #00bfff;
}

.alexa-text {
    flex-grow: 1;
}

.alexa-text p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 5px;
}

.alexa-text small {
    font-size: 14px;
    opacity: 0.8;
}

.echo-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #37475a;
    padding: 10px 20px;
    border-radius: 20px;
}

.echo-dot i {
    color: #00bfff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Limited badge */
.limited-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9900;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

/* Deal Timer */
.deal-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff4444;
    font-size: 12px;
    margin: 10px 0;
    font-weight: bold;
}

/* Footer Banner */
.footer-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-item i {
    font-size: 30px;
    color: #ff9900;
}

.banner-item h4 {
    margin-bottom: 5px;
    color: #232f3e;
}

.banner-item p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design for Carousel */
@media (max-width: 1024px) {
    .carousel-container {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 250px;
    }
    
    .slide-content {
        left: 20px;
        bottom: 20px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .alexa-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px;
    }
    
    .slide-content h2 {
        font-size: 18px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .btn-slide {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .footer-banner {
        grid-template-columns: 1fr;
    }
}

/* ===== VERTICAL CAROUSEL STYLES ===== */
.vertical-carousel-container {
    position: relative;
    width: 100%;
    height: 400px; /* Taller for portrait */
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vertical-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.vertical-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vertical-slide.active {
    opacity: 1;
}

.vertical-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.vertical-slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.vertical-slide-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: bold;
}

.vertical-slide-content p {
    font-size: 16px;
    margin: 0;
    color: #ff9900;
    font-weight: 500;
}

.vertical-control {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-control:hover {
    background: rgba(0,0,0,0.9);
}

.vertical-control.prev {
    top: 10px;
}

.vertical-control.next {
    bottom: 10px;
}

.vertical-indicators {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.v-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.v-indicator.active {
    background: #ff9900;
    transform: scale(1.3);
    border-color: white;
}

.v-indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Alternative: Square/Rectangle carousel like the image */
.portrait-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.portrait-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.portrait-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.portrait-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

.portrait-slide-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.portrait-slide-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design for Vertical Carousel */
@media (max-width: 1024px) {
    .vertical-carousel-container {
        height: 350px;
    }
    
    .portrait-slide {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .vertical-carousel-container {
        height: 300px;
    }
    
    .vertical-slide-content h3 {
        font-size: 18px;
    }
    
    .vertical-slide-content p {
        font-size: 14px;
    }
    
    .portrait-slide {
        width: 200px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .vertical-carousel-container {
        height: 250px;
    }
    
    .vertical-slide-content {
        padding: 10px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .vertical-slide-content h3 {
        font-size: 16px;
    }
    
    .portrait-slide {
        width: 180px;
        height: 250px;
    }
}
/* ===== FULL WIDTH PORTRAIT CAROUSEL ===== */
.full-width-portrait-section {
    width: 100%;
    margin: 20px 0 30px;
    padding: 0;
    overflow: hidden;
}

.full-width-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.full-width-title h2 {
    font-size: 24px;
    color: #232f3e;
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f2;
    border: 1px solid #d5d9d9;
    color: #0f1111;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #e3e6e6;
    border-color: #a2a6ac;
}

.full-width-portrait-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 15px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.full-width-portrait-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.portrait-banner-card {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.portrait-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.banner-content {
    padding: 20px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.banner-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.banner-content h3 {
    font-size: 18px;
    color: #232f3e;
    margin-bottom: 8px;
    font-weight: 600;
}

.banner-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-btn {
    background: #ff9900;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.banner-btn:hover {
    background: #e68900;
}

/* Different badge colors for variety */
.portrait-banner-card:nth-child(2) .banner-badge {
    background: #00a8ff;
}

.portrait-banner-card:nth-child(3) .banner-badge {
    background: #9c27b0;
}

.portrait-banner-card:nth-child(4) .banner-badge {
    background: #4caf50;
}

.portrait-banner-card:nth-child(5) .banner-badge {
    background: #ff9800;
}

.portrait-banner-card:nth-child(6) .banner-badge {
    background: #e91e63;
}

/* Alexa Promo Banner */
.alexa-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    margin: 20px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alexa-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    justify-content: space-between;
}

.alexa-icon {
    font-size: 40px;
    color: #00bfff;
}

.alexa-text {
    flex-grow: 1;
}

.alexa-text p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 5px;
}

.alexa-text small {
    font-size: 14px;
    opacity: 0.8;
}

.echo-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #37475a;
    padding: 10px 20px;
    border-radius: 20px;
}

.echo-dot i {
    color: #00bfff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Section adjustments for full width */
.section {
    margin: 30px 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Update container for full width */
.container {
    max-width: 100%;
    padding: 0;
}

/* Make top header full width */
.top-header {
    padding: 10px 15px;
}

/* Make main nav full width */
.main-nav {
    padding: 10px 15px;
}

/* Responsive Design for Full Width Carousel */
@media (min-width: 1200px) {
    .portrait-banner-card {
        width: 320px;
        height: 420px;
    }

    .full-width-portrait-carousel {
        gap: 25px;
        padding: 10px 30px 20px;
    }
}

@media (max-width: 1024px) {
    .portrait-banner-card {
        width: 280px;
        height: 380px;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-content h3 {
        font-size: 16px;
    }

    .banner-content p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .portrait-banner-card {
        width: 250px;
        height: 350px;
    }

    .full-width-title {
        padding: 0 10px;
    }

    .full-width-portrait-carousel {
        gap: 15px;
        padding: 10px 10px 20px;
    }

    .carousel-nav {
        display: none;
        /* Hide arrows on mobile */
    }

    .alexa-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section {
        margin: 20px 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .portrait-banner-card {
        width: 220px;
        height: 320px;
    }

    .banner-image {
        height: 55%;
    }

    .banner-content {
        height: 45%;
        padding: 12px;
    }

    .banner-content h3 {
        font-size: 15px;
    }

    .banner-content p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .banner-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* ===== SAFARI OPTIMIZED PORTRAIT CAROUSEL ===== */
.full-width-portrait-section {
    width: 100%;
    margin: 20px 0 30px;
    padding: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

.full-width-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.full-width-title h2 {
    font-size: 24px;
    color: #232f3e;
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f2;
    border: 1px solid #d5d9d9;
    color: #0f1111;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.nav-btn:hover {
    background: #e3e6e6;
    border-color: #a2a6ac;
}

.full-width-portrait-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 15px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch; /* Critical for iOS smooth scrolling */
    transform: translateZ(0); /* Force GPU acceleration */
    -webkit-transform: translateZ(0);
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-backface-visibility: hidden;
}

.full-width-portrait-carousel::-webkit-scrollbar {
    display: none;
}

.portrait-banner-card {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    transform: translateZ(0); /* Safari rendering fix */
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased; /* Better text rendering */
    -webkit-backface-visibility: hidden; /* Prevent flicker */
}

.portrait-banner-card:hover {
    transform: translateY(-5px) translateZ(0);
    -webkit-transform: translateY(-5px) translateZ(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    height: 60%;
    overflow: hidden;
    background: #f8f9fa; /* Fallback background */
    position: relative;
    transform: translateZ(0); /* Safari fix */
    -webkit-transform: translateZ(0);
}

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

.banner-image.loaded {
    background: #f8f9fa;
    animation: none;
}

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

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block; /* Remove inline-block spacing */
    -webkit-transform: translateZ(0); /* Safari GPU acceleration */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden; /* Prevent image flicker */
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast; /* Better image quality */
    image-rendering: crisp-edges;
}

/* Hide image while loading */
.banner-image:not(.loaded) img {
    opacity: 0;
}

.banner-image.loaded img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.portrait-banner-card:hover .banner-image img {
    transform: scale(1.05) translateZ(0);
    -webkit-transform: scale(1.05) translateZ(0);
}

.banner-content {
    padding: 20px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform: translateZ(0); /* Safari fix */
    -webkit-transform: translateZ(0);
}

.banner-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    transform: translateZ(0); /* Prevent badge flicker */
    -webkit-transform: translateZ(0);
}

.banner-content h3 {
    font-size: 18px;
    color: #232f3e;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.banner-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-btn {
    background: #ff9900;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
    -webkit-tap-highlight-color: transparent;
}

.banner-btn:hover {
    background: #e68900;
}

/* Different badge colors */
.portrait-banner-card:nth-child(2) .banner-badge {
    background: #00a8ff;
}

.portrait-banner-card:nth-child(3) .banner-badge {
    background: #9c27b0;
}

.portrait-banner-card:nth-child(4) .banner-badge {
    background: #4caf50;
}

.portrait-banner-card:nth-child(5) .banner-badge {
    background: #ff9800;
}

.portrait-banner-card:nth-child(6) .banner-badge {
    background: #e91e63;
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .full-width-portrait-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 15px;
    }
    
    .portrait-banner-card {
        scroll-snap-align: start;
    }
    
    /* Prevent text size adjustment on orientation change */
    .banner-content h3,
    .banner-content p {
        -webkit-text-size-adjust: 100%;
    }
}

/* iOS-specific optimizations */
@media screen and (max-width: 768px) {
    .full-width-portrait-carousel {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .portrait-banner-card {
        flex: 0 0 85%; /* Take 85% of viewport on mobile */
        width: 85vw;
        height: 380px;
        margin-right: 10px;
    }
    
    /* Fix for iOS Safari scrolling momentum */
    .full-width-portrait-section {
        -webkit-overflow-scrolling: touch;
        overflow-x: scroll;
        -webkit-transform: translate3d(0,0,0);
    }
}

/* Remove tap highlight on iOS */
.portrait-banner-card,
.banner-btn,
.nav-btn {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

/* Responsive Design */
@media (min-width: 1200px) {
    .portrait-banner-card {
        width: 320px;
        height: 420px;
    }
    
    .full-width-portrait-carousel {
        gap: 25px;
        padding: 10px 30px 20px;
    }
}

@media (max-width: 1024px) {
    .portrait-banner-card {
        width: 280px;
        height: 380px;
    }
    
    .banner-content {
        padding: 15px;
    }
    
    .banner-content h3 {
        font-size: 16px;
    }
    
    .banner-content p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .portrait-banner-card {
        width: 250px;
        height: 350px;
    }
    
    .full-width-title {
        padding: 0 10px;
    }
    
    .full-width-portrait-carousel {
        gap: 15px;
        padding: 10px 10px 20px;
    }
    
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .portrait-banner-card {
        width: 220px;
        height: 320px;
    }
    
    .banner-image {
        height: 55%;
    }
    
    .banner-content {
        height: 45%;
        padding: 12px;
    }
    
    .banner-content h3 {
        font-size: 15px;
    }
    
    .banner-content p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .banner-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}
/* CRITICAL FIXES FOR iOS CHROME & SAFARI */

/* Reset for iOS devices */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }
}

/* iOS-specific fixes */
.ios-device .full-width-portrait-carousel {
    -webkit-overflow-scrolling: touch !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 10px 15px !important;
    margin: 0 !important;
}

.ios-device .portrait-banner-card {
    scroll-snap-align: start !important;
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-height: 400px !important;
    margin-right: 15px !important;
    transform: none !important;
    transition: none !important;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .portrait-banner-card:hover,
    .category-card:hover,
    .product-card:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    .banner-btn:hover {
        background: #ff9900 !important;
    }
}

/* Universal mobile fixes */
@media (max-width: 768px) {
    /* Simplify carousel for mobile */
    .full-width-portrait-carousel {
        gap: 15px !important;
        padding: 10px 15px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .portrait-banner-card {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        height: auto !important;
        min-height: 380px !important;
        margin: 0 5px !important;
    }
    
    .banner-image {
        height: 50% !important;
        min-height: 190px !important;
    }
    
    .banner-content {
        height: 50% !important;
        min-height: 190px !important;
        padding: 15px !important;
    }
    
    /* Hide navigation buttons on mobile */
    .carousel-nav {
        display: none !important;
    }
    
    /* Ensure images don't break layout */
    .banner-image img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
    
    /* Prevent layout shift */
    .portrait-banner-card {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* WebKit-specific fixes (Safari & iOS Chrome) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .full-width-portrait-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .portrait-banner-card {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .banner-image img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Fix for Chrome on iOS */
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
    .full-width-portrait-carousel {
        overflow-x: scroll !important;
    }
}

/* Loading state improvements */
.banner-image {
    position: relative;
    background: #f8f9fa !important;
}

.banner-image:not(.loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: loading 1.5s infinite !important;
}

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

.banner-image.loaded {
    background: #f8f9fa !important;
    animation: none !important;
}

.banner-image.loaded img {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Emergency fallback if JavaScript fails */
.no-js .full-width-portrait-carousel {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 20px !important;
    overflow: visible !important;
    padding: 20px !important;
}

.no-js .portrait-banner-card {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure no blank spaces */
.full-width-portrait-section {
    min-height: 450px;
    overflow: hidden;
}

.full-width-portrait-carousel {
    min-height: 420px;
}

/* Fix for iOS address bar resizing */
html, body {
    height: 100%;
    overflow-x: hidden;
}

/* ========== iOS CHROME CRITICAL FIXES ========== */

/* Fix for Chrome on iOS */
@supports (-webkit-touch-callout: none) {
    html, body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        height: 100%;
        overflow-x: hidden;
    }
    
    /* Fix for address bar hiding/showing */
    .full-width-portrait-carousel {
        -webkit-overflow-scrolling: touch !important;
        overflow-x: auto !important;
    }
    
    /* Prevent elastic scrolling in carousel */
    .full-width-portrait-section {
        overflow: hidden;
    }
}

/* Fix for all iOS devices */
.ios-device .full-width-portrait-carousel {
    scroll-snap-type: x mandatory;
    scroll-padding: 15px;
}

.ios-device .portrait-banner-card {
    scroll-snap-align: start;
    flex: 0 0 85vw !important;
    min-width: 85vw !important;
}

/* Hide scrollbar but keep functionality */
.full-width-portrait-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.full-width-portrait-carousel::-webkit-scrollbar {
    display: none;
}

/* Loading state */
.banner-image:not(.loaded) {
    background: linear-gradient(90deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

.banner-image.loaded {
    animation: none;
}

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

/* Mobile optimization */
@media (max-width: 768px) {
    .full-width-portrait-carousel {
        padding: 10px !important;
        gap: 15px !important;
    }
    
    .portrait-banner-card {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        margin: 0 5px !important;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .portrait-banner-card:hover {
            transform: none !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        }
    }
}

/* Ensure images don't break layout */
.banner-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for portrait carousel section */
.full-width-portrait-section {
    min-height: 450px;
    position: relative;
}

/* Fix for iOS Chrome address bar */
html {
    height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}


/* Add to your existing style.css */
.cart-link {
    position: relative;
}

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

.admin-link {
    background: #ff9900;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.admin-link:hover {
    background: #e68900;
}



/* ================= CART COUNT STYLES ================= */
.cart-count {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    text-align: center;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

/* ================= QUANTITY SELECTOR ================= */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-selector button {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 16px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

/* ================= BUTTON HOVER EFFECTS ================= */
.btn-add-to-cart:hover,
.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ================= IMPROVED NOTIFICATION STYLES ================= */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 320px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-success {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    border-left: 6px solid #00a085;
}

.notification-error {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border-left: 6px solid #e03e3e;
}

.notification-info {
    background: linear-gradient(135deg, #2196F3, #21CBF3);
    border-left: 6px solid #1976D2;
}

.notification-text {
    flex-grow: 1;
    margin-right: 15px;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%) translateY(-20px);
        opacity: 0;
    }

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* For mobile */
@media (max-width: 480px) {
    .notification {
        left: 15px;
        right: 15px;
        min-width: auto;
        max-width: none;
        top: 70px;
    }
}

/* ================= BUTTON IMPROVEMENTS ================= */
.btn-add-to-cart,
.btn-buy-now {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart:active,
.btn-buy-now:active {
    transform: translateY(1px);
}

.btn-add-to-cart::after,
.btn-buy-now::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-add-to-cart:focus:not(:active)::after,
.btn-buy-now:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

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