/* ============== Variables ============== */
:root {
    --primary-color: #d4af37;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}
/* heading */
.about-heading{
    color:  --primary-color: #d4af37;
}
/* ============== FAQ Styles ============== */
.faq-container {
    width: 100%;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
    transition: var(--transition);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
}

.faq-question h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Active state */
.faq-item.active .faq-question {
    background-color: #fff9e6;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust based on your content */
    transition: max-height 0.5s ease-in;
}

/* Hover effect */
.faq-question:hover {
    background-color: #fff9e6;
}

/* ============== Global Styles ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* ============== Marquee Styles ============== */
.marquee-container {
    background: whitesmoke;
    color: var(--dark-color);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============== Buttons ============== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #c49a27;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: #e8e8e8;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/* ============== Navigation ============== */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.navbar {
    background-color:#c49a27;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
}

.logo {
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: whitesmoke;
    flex-shrink: 0;
}

.logo img {
    height:80px;
    width: auto;
}

.logo span {
    max-width: 300px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.8rem 0;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    flex: 1;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: #1a1a1a;
}

.menu-close-btn {
    display: none;
}

.menu-close {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    order: 10;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Right-aligned items container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: whitesmoke;
    transition: var(--transition);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.search-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color:var(--primary-color);
    transition: var(--transition);
}

.search-icon:hover {
    transform: scale(1.1);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color:whitesmoke;
    border-radius: 25px;
    padding: 0.5rem 0.8rem;
    max-width: 250px;
    transition: var(--transition);
    cursor: pointer;
}

.search-bar.active {
    max-width: 250px;
}

.search-input {
    background: none;
    border: none;
    color:var(--primary-color);
    outline: none;
    width: 160px;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.85rem;
}

.search-bar.active .search-input {
    width: 160px;
}

.search-input::placeholder {
    color:var(--primary-color);
}

.search-bar i {
    color:var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.profile-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color: whitesmoke;
    transition: var(--transition);
}

.profile-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6b6b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ============== Search Popup ============== */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-popup.active {
    display: flex;
}

.search-popup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-popup-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem;
    font-family: inherit;
    color: var(--text-color);
}

.search-popup-input::placeholder {
    color: #999;
}

.search-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-popup-close:hover {
    color: var(--text-color);
}

/* ============== Hero Section ============== */
.hero {
    background-image:url(img/bg-4.jpg);
    background-position: center;
    background-size: cover;
    /* background-attachment:fixed; */
    background-repeat: no-repeat;
     color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M10 10L90 90M90 10L10 90" stroke="%23d4af3720" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
   
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* ============== Section Titles ============== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ============== Products Section ============== */
.products {
    padding: 80px 20px;
    background-color: #fafafa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.product-image {
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--text-color);
}

.price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 1.5rem;
}

.description {
    color: #666;
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* ============== View More Button ============== */
.view-more-container {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

#viewMoreBtn {
    padding: 14px 40px;
}

.product-card .btn {
    margin: 1rem 1.5rem 1.5rem;
    width: calc(100% - 3rem);
}

/* ============== Product Actions ============== */
.product-actions {
    display: flex;
    gap: 0.8rem;
    padding: 0 1.5rem 1.5rem;
}

.product-actions .btn {
    flex: 1;
    margin: 0;
    width: 100%;
    padding: 10px 5px;
    font-size: 15px;
}

.product-actions .btn-secondary {
    flex: 0.9;
}

.product-actions .btn-primary {
    flex: 0.8;
}

/* ============== Product Gallery Modal ============== */
.product-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2100;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-gallery-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
}

.product-gallery-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    animation: slideInUp 0.3s ease;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e8e8e8;
}

.gallery-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close:hover {
    color: var(--text-color);
    transform: scale(1.1);
}

.gallery-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-product-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.gallery-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-product-info {
    padding: 1rem;
}

.gallery-product-info h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.gallery-product-info .price {
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.3rem 0 0.8rem 0;
    font-size: 1.1rem;
}

.gallery-product-card .btn {
    width: 100%;
    padding: 8px 12px;
    margin: 0;
    font-size: 0.9rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ============== About Section ============== */
.about {
    padding: 80px 20px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    margin: 0;
}

.about-features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.about-features-container .features-list {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    
    overflow: hidden;
    
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* ============== Testimonials Section ============== */
.testimonials {
    background-color: var(--light-color);
    padding: 80px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-card h4 {
    color: var(--text-color);
    font-weight: 600;
}

/* ============== Contact Section ============== */
.contact {
    padding: 80px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.info-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* ============== Footer ============== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============== Responsive Design ============== */
@media (max-width: 768px) {
    .about-features-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-features-container .features-list,
    .about-image {
        width: 100%;
        min-width: 100%;
    }
    
    .about-image {
        order: -1;
        height: 250px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        width: 100%;
    }

    .hamburger {
        display: flex;
     
        z-index: 3;
    }

    .logo {
        position: absolute;
        left:20px;
        transform: translate(-50%, -50%);
        height: 50px;
        flex: 0 1 auto;
        margin: 0;
    }

    .logo img {
        height: 45px;
        width: auto;
        position: relative;
        top:55%;
        left:10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #c49a27;
        flex-direction: column;
        gap: 0;
        display: none;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        padding-top: 60px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
        font-weight: 500;
        transition: var(--transition);
    }

    .nav-menu a:active,
    .nav-menu a:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .search-bar {
        display: none;
    }

    .mobile-search-icon {
        display: flex !important;
        cursor: pointer;
        font-size: 1.3rem;
        color: whitesmoke;
        order: 3;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem;
        order: 2;
        margin-left: auto;
    }

    .profile-icon {
        font-size: 1.3rem;
    }

    .cart-icon {
        font-size: 1.3rem;
    }

    .menu-close-btn {
        display: list-item;
        list-style: none;
        position: absolute;
        top: 15px;
        left: 20px;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

    .cart-modal-content {
        max-width: 100%;
    }

    .product-gallery-content {
        width: 95%;
        padding: 1.5rem;
    }

    .gallery-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .about-content {
        padding: 0 15px;
    }

    .about-page .about-content {
        padding: 0 15px;
    }

    .about-page .about-text {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .artisans-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-list li {
        padding: 0.8rem;
        background-color: #f9f9f9;
        border-radius: 6px;
        border-left: 4px solid var(--primary-color);
    }
    .nav-container {
        padding:10px 15px;
    }
  
}

@media (max-width: 480px) {
    .container {
        padding: 0.15px;
    }
.nav-container {
        padding:10px 15px;
    }
  
    .logo {
        position: absolute;
        left:20px;
        transform: translate(-50%, -50%);
        height: 50px;
        flex: 0 1 auto;
        margin: 0;
    }

    .logo img {
        height: 45px;
        width: auto;
        position: relative;
        top:55%;
        left:10px;
    }

    .nav-wrapper {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .nav-menu {
        top: 0;
        height: auto;
        padding-top: 55px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 1.5rem;
        text-align: center;
        font-weight: 500;
    }

    .search-bar {
        max-width: 180px;
        padding: 0.3rem 0.5rem;
    }

    .search-input {
        width: 110px;
        font-size: 0.75rem;
    }

    .search-bar.active .search-input {
        width: 110px;
    }

    .search-bar i {
        font-size: 0.85rem;
    }

    .profile-icon {
        font-size: 1.1rem;
    }

    .cart-icon {
        font-size: 1.1rem;
    }

    .hamburger {
        gap: 4px;
    }

    .hamburger span {
        width: 20px;
        height: 2.5px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .products {
        padding: 40px 15px;
    }

    .about {
        padding: 40px 15px;
    }

    .testimonials {
        padding: 40px 15px;
    }

    .contact {
        padding: 40px 15px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============== Animations ============== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ============== Cart Modal ============== */
.cart-modal {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-modal-content {
    background-color: white;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #e8e8e8;
}

.cart-header h2 {
    color: var(--text-color);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--text-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 2rem 1rem;
    font-style: italic;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fafafa;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.25rem 0 0 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.cart-item-quantity button {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.cart-item-quantity button:hover {
    background-color: #c49a27;
}

.cart-item-remove {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.cart-item-remove:hover {
    background-color: #ff5252;
}

.cart-footer {
    border-top: 2px solid #e8e8e8;
    padding: 1.5rem;
    background-color: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.cart-footer .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ============== About Page Styles ============== */
.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
    color: var(--text-color);
}

.about-page {
    padding: 60px 20px;
}

/* .about-page .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
} */

.about-page .about-text h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-page .about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 1.05rem;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stats-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
}

.artisans-section {
    padding: 60px 20px;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.artisans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.artisan-card {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.artisan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.artisan-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
}

/* ============== All Products Page ============== */
.all-products-section {
    padding: 60px 20px;
    min-height: 100vh;
    background-color: #f9f9f9;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.products-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .all-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .products-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .all-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

.artisan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.artisan-card p {
    color: #666;
    margin: 0.3rem 0;
}

.artisan-card .bio {
    font-style: italic;
    font-size: 0.95rem;
    color: #999;
}

.about-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.about-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ddd;
}

/* ============== Profile Modal ============== */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    overflow-y: auto;
}

.profile-modal.active {
    display: block;
    right: 0;
}

/* ============== Login Modal ============== */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
}

.login-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.login-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close:hover {
    opacity: 0.8;
}

.login-body {
    padding: 2rem 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #999;
    font-size: 0.9rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.login-divider span {
    margin: 0 1rem;
}

.user-profile-view {
    padding: 2rem 1.5rem;
}

.profile-header-logged {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

.profile-header-logged i {
    font-size: 3rem;
    color: var(--primary-color);
}

.profile-header-logged h3 {
    margin: 0;
    font-size: 1.1rem;
}

.profile-header-logged p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-modal-content {
    height: 100%;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
}

.profile-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.profile-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-close:hover {
    opacity: 0.8;
}

.profile-body {
    padding: 2rem 1.5rem;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.user-info {
    text-align: center;
}

.user-info p {
    color: #999;
    margin-bottom: 1rem;
}

.logged-in-content {
    display: none;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.profile-menu a:hover {
    background-color: #f4f4f4;
    color: var(--primary-color);
}

/* ============== Animations ============== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}