* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Rubik', sans-serif;
    background: #ffffff;
    color: #333;
    position: relative;
    overflow-x: hidden;
    touch-action: manipulation;
    font-size: 18px;
}

body.no-scroll {
    overflow-y: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Header */
header {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-top {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    gap: 0.5rem;
    border-bottom: 1px solid #e6e6e6;
}

.nav-top .logo {
    flex: 0 0 auto;
    order: 1;
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-top .logo i {
    color: #333;
    transition: all 0.3s ease;
}

.nav-top .logo:hover i {
    transform: rotate(20deg) scale(1.2);
}

.nav-top .search-container {
    flex: 1;
    max-width: calc(100% - 150px);
    position: relative;
    order: 2;
}

.nav-top .search-container input {
    width: 100%;
    padding: 0.4rem 1rem 0.4rem 1.8rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.nav-top .search-container input:focus {
    outline: none;
    border-color: #4d4d4d;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.nav-top .search-container i {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4d4d4d;
    font-size: 0.85rem;
}

.nav-top .cart-icon {
    flex: 0 0 auto;
    order: 3;
    font-size: 1.4rem;
    background: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-top .cart-icon:hover {
    transform: scale(1.15);
    color: #4d4d4d;
}

.nav-top .cart-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    border: 1px solid #fff;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-top .cart-icon.has-items::after {
    opacity: 1;
    transform: scale(1.1);
}

.nav-top .hamburger {
    flex: 0 0 auto;
    order: 4;
    font-size: 1.5rem;
    background: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.nav-top .hamburger.active .fa-bars {
    display: none;
}

.nav-top .hamburger.active .fa-times {
    display: block;
}

.nav-top .hamburger .fa-times {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
}

.nav-top .hamburger.active .fa-times {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sign-in-button, .profile-button, .track-order-button {
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sign-in-button:hover, .profile-button:hover, .track-order-button:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    transform: translateY(-2px);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #e6e6e6;
}

.sign-in-button i, .profile-button i, .track-order-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sign-in-button:hover i, .profile-button:hover i, .track-order-button:hover i {
    transform: scale(1.2) rotate(5deg);
}

.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #4d4d4d;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.main-nav a i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.main-nav a:hover i {
    transform: scale(1.1) rotate(5deg);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #333, #4d4d4d);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: linear-gradient(170deg, #fff, #333);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: all 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mobile-nav-icons i {
    position: absolute;
    font-size: 2rem;
    color: #333;
    opacity: 0.2;
    animation: floatScent 8s ease-in-out infinite;
}

.mobile-nav a {
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    color: #333;
    padding: 1rem 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 5px;
}

.mobile-nav a:hover {
    color: #4d4d4d;
    transform: translateX(5px);
    background: #f5f5f5;
}

.mobile-nav a i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.mobile-nav a:hover i {
    transform: scale(1.2) rotate(10deg);
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #333;
    bottom: 0.5rem;
    left: 0.5rem;
    transition: width 0.3s ease;
}

.mobile-nav a:hover::after {
    width: calc(100% - 1rem);
}

.mobile-bottom-nav {
    display: none; /* Hidden by default, will be shown in mobile view */
    padding: 0.5rem 1rem;
    background: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.mobile-bottom-nav .search-container {
    width: 100%;
    margin-bottom: 0.5rem;
}

.mobile-bottom-nav .search-container input {
    width: 100%;
    padding: 0.4rem 1rem 0.4rem 1.8rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .search-container input:focus {
    outline: none;
    border-color: #4d4d4d;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.mobile-bottom-nav .search-container i {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4d4d4d;
    font-size: 0.85rem;
}

.mobile-bottom-nav .profile-button,
.mobile-bottom-nav .sign-in-button {
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: 0.5rem;
}

.mobile-bottom-nav .profile-button:hover,
.mobile-bottom-nav .sign-in-button:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    transform: translateY(-2px);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #e6e6e6;
}

.mobile-bottom-nav .profile-button i,
.mobile-bottom-nav .sign-in-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.mobile-bottom-nav .profile-button:hover i,
.mobile-bottom-nav .sign-in-button:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Tablet and Wider Views */
@media (min-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-top {
        flex-wrap: nowrap;
        gap: 1rem;
        border-bottom: 1px solid #e6e6e6;
    }

    .nav-top .logo {
        font-size: 2rem;
    }

    .nav-top .search-container {
        max-width: calc(100% - 200px);
    }

    .nav-top .search-container input {
        padding: 0.6rem 1.8rem 0.6rem 2.5rem;
        border-radius: 16px;
        background: linear-gradient(145deg, #f9f9f9, #ffffff);
        border: 1px solid #ddd;
        font-size: 0.9rem;
    }

    .nav-top .search-container input:hover,
    .nav-top .search-container input:focus {
        border-color: #666;
        background: #ffffff;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .nav-top .search-container i {
        color: #666;
        font-size: 1rem;
        left: 1rem;
    }

    .nav-top .cart-icon {
        font-size: 1.6rem;
    }

    .nav-top .hamburger {
        display: none;
    }

    .main-nav {
        margin-top: 0.1rem;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .main-nav .sign-in-button, .main-nav .track-order-button, .main-nav .profile-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-bottom-nav {
        display: none; /* Hidden on desktop */
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .main-nav {
        display: none; /* Ensure main-nav is hidden */
    }

    .mobile-nav {
        display: none; /* Hide the existing hamburger menu */
    }

    .nav-top .search-container {
        display: none; /* Remove search bar from top nav */
    }

    .nav-top {
        justify-content: space-between; /* Align logo, cart, and hamburger evenly */
        padding: 0.3rem 0.5rem; /* Reduce padding for compactness */
        border-bottom: 1px solid #e6e6e6; /* Retain border */
    }

    .nav-top .logo {
        font-size: 1.2rem; /* Slightly smaller for mobile */
    }

    .nav-top .cart-icon {
        font-size: 1.2rem; /* Slightly smaller for mobile */
    }

    .nav-top .hamburger {
        font-size: 1.3rem; /* Slightly smaller for mobile */
    }

    .mobile-bottom-nav {
        display: flex; /* Show bottom nav */
        flex-direction: column;
        align-items: center;
    }

    .mobile-bottom-nav .search-container {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .mobile-bottom-nav .profile-button,
    .mobile-bottom-nav .sign-in-button {
        flex: 1;
        margin: 0 0.25rem; /* Add small margin between buttons */
    }

    .mobile-bottom-nav .profile-button,
    .mobile-bottom-nav .sign-in-button {
        width: 48%; /* Ensure they fit side by side with margin */
        display: inline-flex;
        justify-content: center;
    }
}





/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 1rem 3rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.card {
    background: #ffffff;
    padding: 1rem;
    min-width: clamp(200px, 25vw, 300px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card p {
    font-size: 1rem;
    margin-top: 0.7rem;
    flex-grow: 1;
}

.card .btn-shop-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card .btn-shop-now:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card .btn-shop-now i {
    font-size: 1rem;
}

.card:first-child {
    transform: rotate(-4deg);
    z-index: 1;
}

.card:last-child {
    transform: rotate(4deg);
    z-index: 1;
}

.card.highlight {
    transform: rotate(0deg) scale(1.05);
    z-index: 2;
}

.badge {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero h1 span {
    font-family: 'Pacifico', cursive;
    color: #333;
}

.card-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.subtext {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    color: #333;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary {
    background: #333;
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    transition: all 0.3s ease;
}

.primary:hover {
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.4);
    background: linear-gradient(145deg, #333, #4d4d4d);
}

.primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.primary:hover::before {
    width: 200%;
    height: 200%;
}

.secondary {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    align-self: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary:hover {
    color: #4d4d4d;
    transform: translateX(5px);
}

.scent-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.scent-icons i {
    position: absolute;
    font-size: 1.7rem;
    color: #333;
    opacity: 0.3;
    animation: floatScent 10s infinite ease-in-out;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.trust-badge {
    font-size: 2.2rem;
    color: #333;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.2);
    color: #4d4d4d;
}

/* Achievements Section */
.achievements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    background: #ffffff;
    text-align: center;
    position: relative;
}

.achievement {
    flex: 1 1 180px;
    margin: 1rem;
    transition: all 0.4s ease;
}

.achievement:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.achievement i {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.achievement i:hover {
    transform: scale(1.2);
    color: #4d4d4d;
}

.achievement h3 {
    font-size: 1.7rem;
    color: #333;
    font-weight: 700;
}

.achievement p {
    color: #333;
    font-size: 2.5rem;
}

/* Best-Selling Section */
.best-selling {
    padding: 3rem 1rem;
    background: #ffffff;
    text-align: center;
    position: relative;
}

.best-selling h2 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.best-selling .subtext {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.perfume-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollBackForth 20s ease-in-out infinite;
    will-change: transform;
}

.perfume-carousel:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: clamp(200px, 25vw, 300px);
}

.product-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.stock-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.stock-indicator.in-stock {
    background: #28a745;
    color: #ffffff;
}

.stock-indicator.low-stock {
    background: #ffc107;
    color: #333;
}

.like-icon {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-icon.liked {
    color: #ff4444;
    font-weight: 900;
}

.like-icon:hover {
    transform: scale(1.2);
}

.product-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.product-details h4 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.product-notes {
    font-size: 0.9rem;
    color: #666;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.btn-shop-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-shop-now:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-shop-now i {
    font-size: 1rem;
}

/* Perfume Categories */
.perfume-categories {
    background: #ffffff;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.perfume-categories::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #333, transparent);
    top: 0;
    left: 0;
    animation: scentWave 6s infinite ease-in-out;
}

.perfume-categories h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.perfume-categories .subtext {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.category-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 300px;
    max-width: 300px;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.category-box.men {
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('perfumesimages/perfume1.jpg');
}

.category-box.women {
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('perfumesimages/perfume1.jpg');
}

.category-box.unisex {
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('perfumesimages/perfume1.jpg');
}

.category-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(51, 51, 51, 0.2);
}

.category-box i {
    font-size: 2.7rem;
    color: #333;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-box:hover i {
    transform: scale(1.3);
    color: #4d4d4d;
}

.category-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.category-box p {
    font-size: 1rem;
    color: #666;
    flex-grow: 1;
}

.category-box .btn-shop-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.category-box .btn-shop-now:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-box .btn-shop-now i {
    font-size: 1rem;
}

/* Shipping & Fulfillment */
.shipping-section {
    background: #ffffff;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.shipping-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.shipping-section h2 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.shipping-section .intro {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2.5rem;
}

.shipping-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.shipping-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #333, #e6e6e6);
    transform: translateX(-50%);
    z-index: 0;
}

.ship-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: clamp(200px, 25vw, 300px);
    margin: 1.5rem 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ship-feature.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

.ship-feature:nth-child(odd) {
    margin-right: auto;
    margin-left: 10%;
}

.ship-feature:nth-child(even) {
    margin-left: auto;
    margin-right: 10%;
}

.ship-feature:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.ship-feature i {
    font-size: 2rem;
    color: #333;
    flex-shrink: 0;
    background: #ffffff;
    padding: 0.8rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ship-feature:hover i {
    transform: scale(1.2);
    background: #e6e6e6;
}

.ship-feature h3 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.ship-feature p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 4rem 1rem;
    background: linear-gradient(145deg, #ffffff, #f4f4f4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #2b2b2b, transparent);
    top: 0;
    left: 0;
    animation: scentWave 6s infinite ease-in-out;
}

.how-container {
    max-width: 1400px;
    margin: auto;
    position: relative;
}

.how-it-works h2 {
    font-size: 3.5rem;
    color: #222;
    margin-bottom: 0.75rem;
    font-weight: 800;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff3b3b, #2b2b2b);
    border-radius: 3px;
}

.how-subtext {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.how-step {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #fafafa);
    border: 2px solid transparent;
}

.how-step.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.how-step:hover {
    transform: translateY(-12px) rotate(2deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 2px solid #333;
}

.how-step .step-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
    background: #e8e8e8;
}

.how-step .step-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.how-step:hover .step-image::after {
    background: rgba(0, 0, 0, 0.1);
}

.how-step .step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-step:hover .step-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.how-step .step-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #2b2b2b;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.how-step.no-image .step-icon {
    background: rgba(255, 255, 255, 1);
}

.how-step:hover .step-icon {
    color: #ff3b3b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    animation: rotateIcon 0.6s ease-in-out forwards;
}

@keyframes rotateIcon {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.how-step .step-number {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff3b3b;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
}

.how-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #222;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.how-step p {
    font-size: 1.1rem;
    color: #555;
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.how-step .btn-shop-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(145deg, #2b2b2b, #4a4a4a);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 220px;
    margin-top: auto;
}

.how-step:hover .btn-shop-now {
    background: linear-gradient(145deg, #ff3b3b, #2b2b2b);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: scale(1.08);
}

.how-step .btn-shop-now i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.how-step:hover .btn-shop-now i {
    transform: translateX(6px);
}

.how-step .scent-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.15;
}

.how-step .scent-icons i {
    position: absolute;
    font-size: 1.75rem;
    color: #2b2b2b;
    animation: floatScent 10s ease-in-out infinite;
}

/* Featured Products */
.featured-products {
    padding: 4rem 1rem;
    background: #ffffff;
    text-align: center;
    position: relative;
}

.featured-products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-products h2 {
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.featured-subtext {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.featured-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.featured-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollBackForth 20s ease-in-out infinite;
    padding: 0 1rem;
    will-change: transform;
}

.featured-carousel:hover .featured-track {
    animation-play-state: paused;
}

.featured-carousel .product-card {
    min-width: clamp(200px, 25vw, 300px);
    transition: transform 0.3s ease;
}

.featured-carousel .product-card:hover {
    transform: translateY(-5px);
}

.featured-carousel .product-image {
    height: 200px;
}

.featured-carousel .product-details h4 {
    font-size: 1.3rem;
}

.featured-carousel .product-price {
    font-size: 1.2rem;
}

.featured-carousel .btn-shop-now {
    font-size: 1.1rem;
    padding: 0.8rem;
}

/* Today's Deal */
.todays-deal {
    padding: 4rem 1rem;
    background: #ffffff;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.todays-deal-intro {
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.todays-deal h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #333, #4d4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.todays-deal h2:hover {
    transform: scale(1.02);
}

.todays-deal h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff4444, #333);
    border-radius: 2px;
}

.todays-deal .subtext {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.todays-deal .subtext .highlight {
    color: #ff4444;
    font-weight: 700;
}

.todays-deal .deal-timer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff4444;
    margin: 0.5rem 0;
    animation: pulse 2s ease-in-out infinite;
}

.deal-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    max-width: 400px;
    margin: 1.5rem auto;
    font-size: 1.3rem;
    color: #333;
    background: #f5f5f5;
}

.deal-timer i {
    font-size: 1.5rem;
    color: #ff4444;
}

.deal-timer span {
    font-weight: bold;
}

.deal-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.deal-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollBackForth 20s ease-in-out infinite;
    will-change: transform;
}

.deal-carousel:hover .deal-track {
    animation-play-state: paused;
}

.deal-card {
    min-width: clamp(200px, 25vw, 300px);
}

.deal-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-price .discounted {
    color: #333;
}

.product-price .original-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Trusted Partners */
.trusted-partners {
    padding: 4rem 1rem;
    text-align: center;
    background: #ffffff;
    position: relative;
}

.trusted-container {
    max-width: 1000px;
    margin: auto;
}

.trusted-partners h2 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.trusted-subtext {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.platform-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    transition: all 0.4s ease;
}

.platform:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
}

.platform img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.platform span {
    font-size: 1rem;
    color: #333;
}

/* Testimonials */
.testimonials {
    padding: 4rem 1rem;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonials-subtext {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollBackForth 20s ease-in-out infinite;
    will-change: transform;
}

.testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: clamp(200px, 25vw, 300px);
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
}

.testimonial-card .avatar-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 1rem auto;
    object-fit: cover;
    border: 2px solid #333;
}

.testimonial-card .quote {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.testimonial-card .author {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.testimonial-card .btn-shop-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.testimonial-card .btn-shop-now:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-card .btn-shop-now i {
    font-size: 1rem;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
}

.testimonials-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.testimonials-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* CTA Section */
.cta-section {
    padding: 4rem 1rem;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sticky-cta {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(230, 230, 230, 0.85));
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.sticky-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(230, 230, 230, 0.2));
    z-index: -1;
    filter: blur(10px);
    border-radius: 18px;
}

.sticky-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.3;
    z-index: -1;
}

.sticky-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #333, #4d4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
}

.sticky-cta h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff4444, #333);
    border-radius: 2px;
}

.cta-subtext {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin: 0;
    animation: pulse 3s ease-in-out infinite;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button.primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, #333, #4d4d4d);
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

.cta-button.primary:hover {
    background: linear-gradient(145deg, #4d4d4d, #333);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.cta-button.primary:hover::before {
    width: 200%;
    height: 200%;
}

.cta-button.primary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button.primary:hover i {
    transform: scale(1.2) rotate(5deg);
}

.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.2;
    z-index: 0;
}

.background-elements i {
    position: absolute;
    font-size: 2rem;
    color: #333;
    animation: floatScent 10s ease-in-out infinite;
}

/* Footer */
.footer {
    background: linear-gradient(145deg, #333, #4d4d4d);
    padding: 4rem 1rem 2rem;
    color: #ffffff;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: auto;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover i {
    transform: rotate(20deg);
}

.footer-brand p {
    font-size: 0.95rem;
    color: #e6e6e6;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #e6e6e6;
    transform: scale(1.2);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #e6e6e6;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-column h4:hover::after {
    width: 60px;
}

.footer-column a {
    font-size: 0.95rem;
    color: #e6e6e6;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    font-size: 0.95rem;
    color: #e6e6e6;
    margin-bottom: 1rem;
}

.footer-newsletter form {
    display: flex;
    gap: 0.5rem;
    max-width: none;
    flex-wrap: wrap;
}

.footer-newsletter input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.footer-newsletter input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.footer-newsletter button {
    background: #333;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.footer-newsletter button:hover {
    background: #4d4d4d;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid #4d4d4d;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.95rem;
    color: #e6e6e6;
}

.footer-payment-icons {
    display: flex;
    gap: 1rem;
}

.footer-payment-icons i, .footer-payment-icons img {
    font-size: 1.8rem;
    width: 1.8rem;
    height: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-payment-icons i:hover, .footer-payment-icons img:hover {
    color: #e6e6e6;
    transform: scale(1.2);
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 1rem;
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(230, 230, 230, 0.85));
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefits-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(230, 230, 230, 0.2));
    z-index: -1;
    filter: blur(10px);
    border-radius: 18px;
}

.benefits-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.3;
    z-index: -1;
}

.benefits-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #333, #4d4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    top: 0;
}

.benefits-subtext {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-top {
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex: 0 0 auto;
        order: 1;
    }

    .search-container {
        flex: 1;
        max-width: calc(100% - 200px); /* Adjusts to fit between logo and cart/profile */
        order: 2;
    }

    .search-container input {
        padding: 0.6rem 1.8rem 0.6rem 2.5rem;
        border-radius: 16px;
        background: linear-gradient(145deg, #f9f9f9, #ffffff);
        border: 1px solid #ddd;
        transition: all 0.3s ease;
    }

    .search-container input:hover,
    .search-container input:focus {
        border-color: #666;
        background: #ffffff;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .search-container i {
        color: #666;
        font-size: 1rem;
        left: 1rem;
    }

    .cart-icon {
        flex: 0 0 auto;
        order: 3;
    }

    .profile-button {
        flex: 0 0 auto;
        order: 4;
    }

    .hamburger {
        display: none;
    }

    .main-nav {
        margin-top: 0.5rem;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a, .main-nav button {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .sign-in-button.desktop-sign-in {
        display: flex;
    }

    .profile-button.desktop-sign-in {
        display: flex;
    }
}

@media (max-width: 767px) {
    .logo {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
    }

    .search-container {
        flex: 1;
        max-width: 200px;
    }

    .search-container input {
        padding: 0.4rem 1rem 0.4rem 1.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .search-container i {
        left: 0.6rem;
        font-size: 0.85rem;
    }

    .cart-icon {
        font-size: 1.4rem;
    }

    .profile-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 1100;
    }

    .main-nav a, .main-nav button {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card-grid {
        flex-direction: column;
        align-items: center;
    }

    .card {
        min-width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .shipping-timeline::before {
        left: 20px;
    }

    .ship-feature {
        margin-left: 10% !important;
        margin-right: 10% !important;
    }
}