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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    background-color: #fff;
}

/* Header */
.top-banner {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 0;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 40px;
}

.promo-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.promo-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.top-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

header {
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 40px;
    box-shadow: none;
}

header.scrolled .logo {
    opacity: 0;
    pointer-events: none;
}

header.scrolled .secondary-nav {
    opacity: 1;
    pointer-events: auto;
}

header.scrolled .menu-toggle,
header.scrolled .header-icons {
    opacity: 0;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

.logo a {
    display: block;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

.secondary-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.secondary-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.secondary-nav a {
    text-decoration: none;
    color: #000;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.secondary-nav a:hover {
    color: #666;
}

/* Category tabs below header */
.category-tabs {
    background: #fff;
    padding: 20px 40px;
    text-align: center;
    border-bottom: 1px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 99;
    transition: top 0.3s ease;
}

header.scrolled + .category-tabs {
    top: 50px;
}

.category-tabs ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.category-tabs a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.category-tabs a:hover,
.category-tabs a.active {
    border-bottom-color: #d4af37;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.header-icons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
/* Hamburger Menu Button */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    transition: 0.3s;
}

/* Sidebar Menu with Frosted Glass Effect */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -420px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 2px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 999;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    padding: 20px 0;
}

.sidebar-promo {
    padding: 20px 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-promo a {
    color: #e89bb5;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    display: block;
}

.sidebar-promo a:hover {
    color: #d4798d;
}

.sidebar-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-item {
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: #000;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
}

.sidebar-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sidebar-item span {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.sidebar-item .arrow {
    color: #999;
    font-size: 16px;
    font-weight: 300;
}

.sidebar-account {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-account h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 500;
}

.loyalty-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.loyalty-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loyalty-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.sidebar-footer {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
}

.sidebar-footer button {
    flex: 1;
    padding: 15px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar-footer button:first-child {
    background: transparent;
    color: #000;
}

.sidebar-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-color: #f5f5f5;
    overflow: hidden;
}

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

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #fff;
}

.hero-content h1 {
    font-size: 64px;              /* A bit bigger for more impact */
    font-weight: 200;             /* Even slimmer/lighter (ultra-thin elegance) */
    margin-bottom: 10px;
    letter-spacing: -0.5px;       /* Optional: subtle tight tracking for a more refined look */
}

.hero-content p {
    font-size: 16px;              /* Smaller than before */
    font-family: Arial, Helvetica, sans-serif;  /* Clean Arial */
    font-weight: 400;             /* Slimmer feel (normal instead of bold) */
    line-height: 1.4;             /* Less space between lines – tighter and more modern */
    margin-bottom: 30px;          /* Kept a comfortable bottom margin for the button/link below */
    opacity: 0.9;                 /* Optional: subtle softness to support the light h1 */
}


.btn-primary {
    display: inline-block;
    color: #fff;
    opacity: 0.6; /* Semi-transparent text */
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    position: relative;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: -4px; /* Adjust for spacing below text */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scaleX(1); /* Ensures it matches text width exactly */
    transform-origin: left;
}

.btn-primary:hover {
    opacity: 1; /* Text becomes fully opaque */
    transform: translateY(-3px); /* Subtle upward movement */
}

.btn-primary:hover::after {
    opacity: 1; /* Underline fades in */
}

/* Category Section */
.category-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 2px;
    padding: 0 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 40px;
}

.category-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    position: relative;
}

.category-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.category-description {
    font-size: 12px;
    color: #666;
}

.category-card .product-bag-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
}

.category-card .product-bag-icon:hover {
    animation: pulse 0.6s ease-in-out infinite;
}

.category-card .product-bag-icon::before {
    content: '';
    font-size: 18px;
}

.category-card:hover .product-bag-icon {
    opacity: 1;
}

/* Product Grid */
.product-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.product-card {
    background-color: #fff;
    text-align: center;
    transition: box-shadow 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 100%;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-bag-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
}

.product-bag-icon:hover {
    animation: pulse 0.6s ease-in-out infinite;
}

.product-bag-icon::before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background-image: url("assets/bag.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-card:hover .product-bag-icon {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.product-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
    position: relative;
}

.product-info {
    padding: 20px;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.product-price {
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}


/* Search Bar - Slides on Hover */
.header-icons {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.search-overlay {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

#searchIcon:hover ~ .search-overlay,
.search-overlay:hover {
    width: 250px;
}

.search-overlay input {
    border: none;
    border-bottom: 1px solid #000;
    font-size: 14px;
    font-weight: 300;
    padding: 8px 15px;
    background: transparent;
    outline: none;
    color: #000;
    width: 250px;
}

.search-overlay input::placeholder {
    color: #999;
}

/* Make header-icons container relative for positioning */
.header-icons {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* Loading indicator animation */
#loading-indicator {
    animation: fadeInOut 1.5s ease-in-out infinite;
}



@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Smooth product appearance */
.product-card {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#load-more-trigger {
    visibility: hidden;
}

@keyframes drawLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-tabs {
        display: none;
    }

    .secondary-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 15px 20px;
    }

    header.scrolled {
        padding: 10px 20px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .header-icons a {
        font-size: 18px;
    }

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

    .sidebar-menu {
        width: 90%;
        left: -90%;
    }

    .hero-content {
        left: 30px;
        bottom: 30px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .category-tabs {
        padding: 15px 20px;
    }

    .category-tabs ul {
        gap: 20px;
        flex-wrap: wrap;
    }
}