/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fff;
    font-weight: border;
    color: #333;
    font-weight: bolder;
}

a {
    text-decoration: none;
    color: #EEEEEE;
}

.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header-top {
    background-color: transparent;
    padding: 10px 0;
    font-size: 14px;
}

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

.header-social a {
    margin-left: 15px;
}

.header-main {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.logo span {
    color: #e65540;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin-left: 30px;
    position: relative;
}

.main-menu li a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu li a:hover {
    color: #e65540;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons a {
    margin-left: 20px;
    font-size: 18px;
    position: relative;
}

.icon-cart {
    position: relative;
    cursor: pointer;
    color: #fff;
}

.icon-cart span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e65540;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cartTab {
    width: 24%;
    background-color: #353432;
    color: #eee;
    position: fixed;
    top: 0;
    right: -400px;
    z-index: 1000;
    bottom: 0;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
}

body.showCart .cartTab {
    right: 0;
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;
}

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

.cartTab button {
    background-color: #E8BC0E;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .close {
    background-color: #eee;
}

.listCart .item img {
    width: 100%;
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
    padding: 10px;
    color: white;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
}

.listCart .quantity span:nth-child(2) {
    background-color: transparent;
    color: #eee;
    cursor: auto;
}

.listCart .item:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

.listCart {
    overflow: auto;
}

.listCart::-webkit-scrollbar {
    width: 0;
}
/*=================== Slider Section===================== */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 1s ease;
    padding: 20px;
    text-align: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide h2 {
    font-size: 3rem;
    animation: slideInUp 1s forwards;
}

.slide p {
    font-size: 1.2rem;
    margin: 20px 0;
    animation: fadeIn 1.5s forwards;
}

.slide a {
    display: inline-block;
    background: #e65540;
    padding: 12px 30px;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
 .slide a:hover {
    background-color: white;
    color: #e65540;
}

@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.dot.active {
    opacity: 1;
    background: #e65540;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 2;
}

.arrow {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .slide h2 {
        font-size: 2rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .slide a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

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

.category-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

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

.category-item:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px;
    color: white;
}

.category-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.category-overlay p {
    font-size: 16px;
    opacity: 0.8;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
    
}

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

.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    position: relative;
}

.tab-btn.active {
    color: #e65540;
}

.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #e65540;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e65540;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.action-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e65540;
    margin: 0 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}

.action-btn:hover {
    background-color: #e65540;
    color: white;
}
.product-info {
    padding: 20px;
}

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

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add this to your existing CSS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-description,
.product-notes {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

/* For the tab filtering functionality */
.hidden {
    display: none;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e65540;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 5px;
}

/* Banner Section */
/* ===== Banner Section ===== */
.banner {
    padding: 40px 0;
}

.banner-content {
    background-color: #e65540;
    border-radius: 10px;
    padding: 30px;
    min-height: 300px;
    color: rgb(244, 165, 96);
    background: url(/img/24Carat_30ml_banner_cafb49b7-fe04-4854-a51b-8f9573d4d3cf.webp) no-repeat center/cover;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 15px;
}

/* Text Elements */
.banner-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.banner-content p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 25px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

/* Background Pattern */
.banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0id2hpdGUiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}

/* Button - Right Aligned */
.shop-now-btn {
    background-color: #e65540;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: absolute;
    left: 65%; /* Changed from left to right using percentage */
    bottom: 30px;
    z-index: 10;
    border: 2px solid transparent;
    width: max-content;
}



.shop-now-btn:hover {
    background-color: white;
    color: #e65540;
    border-color: #e65540;
}

/* ===== Responsive Adjustments ===== */
@media (min-width: 768px) {
    .banner {
        padding: 60px 0;
    }
    
    .banner-content {
        padding: 60px;
        margin: 0;
        min-height: 400px;
    }
    
    .shop-now-btn {
        padding: 15px 30px;
        right: 40px;
        bottom: 40px;
    }
}


@media (min-width: 1200px) {
    .banner-content {
        min-height: 50vh;
    }
    
    .shop-now-btn {
        right: 50px;
        bottom: 50px;
    }
}

@media (max-width: 480px) {
    .shop-now-btn {
        right: 15px;
        bottom: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: #e65540;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: #e65540;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* membership Section */
.membership {
    padding: 80px 0;
    background-color: #333;
    color: white;
    text-align: center;
}

.membership h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.membership p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.membership-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.membership-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.membership-btn {
    background-color: #e65540;
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.membership-btn:hover {
    background-color: #d04a36;
}

/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 0;
}

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

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

.footer-column h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e65540;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: #e65540;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {

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

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .header-main-content {
        flex-direction: column;
    }

    .main-menu {
        margin: 20px 0;
    }

    .header-icons {
        margin-top: 20px;
    }

    .membership-form {
        flex-direction: column;
    }

    .membership-input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .membership-btn {
        border-radius: 30px;
        padding: 15px;
    }
}

@media (max-width: 576px) {

    .categories-grid,
    .products-grid,
    .blog-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 32px;
    }

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