/* Handmade Treasures - Artisan Marketplace */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Dancing+Script:wght@400;700&display=swap');

:root {
    --cream: #faf7f2;
    --warm-brown: #5d4e37;
    --soft-pink: #e8b4b8;
    --terracotta: #c67c5a;
    --sage: #8b9a7d;
    --dusty-rose: #c9a2a7;
    --charcoal: #2d2d2d;
    --gold: #c9a227;
    --shadow-soft: 0 4px 20px rgba(93, 78, 55, 0.1);
    --shadow-hover: 0 8px 40px rgba(93, 78, 55, 0.15);
}

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

body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
}

/* Decorative Elements */
.decoration-top {
    height: 8px;
    background: linear-gradient(90deg, 
        var(--soft-pink), 
        var(--terracotta), 
        var(--sage), 
        var(--dusty-rose), 
        var(--soft-pink)
    );
}

/* Header */
.store-header {
    background: white;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(93, 78, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-brown);
}

.logo-text span {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: var(--terracotta);
    display: block;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--warm-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--terracotta);
}

.cart-icon {
    position: relative;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.cart-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--warm-brown);
    fill: none;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--terracotta);
    color: white;
    font-size: 0.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.2), rgba(198, 124, 90, 0.1));
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c67c5a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--warm-brown);
    margin-bottom: 20px;
}

.hero p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--terracotta);
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--warm-brown);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(198, 124, 90, 0.3);
}

/* Categories */
.categories {
    padding: 60px 50px;
    background: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--warm-brown);
    text-align: center;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--terracotta);
    margin: 15px auto 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--cream);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--soft-pink), var(--dusty-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--warm-brown);
    fill: none;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--warm-brown);
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.7;
}

/* Featured Products */
.featured {
    padding: 80px 50px;
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background: var(--terracotta);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
}

.product-badge.new {
    background: var(--sage);
}

.product-badge.sale {
    background: var(--dusty-rose);
}

.product-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-wishlist:hover {
    background: var(--soft-pink);
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
    stroke: var(--terracotta);
    fill: none;
}

.product-info {
    padding: 25px;
}

.product-creator {
    font-size: 0.8rem;
    color: var(--terracotta);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--warm-brown);
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(93, 78, 55, 0.1);
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--warm-brown);
}

.product-price .original {
    font-size: 1rem;
    color: var(--dusty-rose);
    text-decoration: line-through;
    margin-right: 10px;
}

.add-to-cart {
    padding: 10px 25px;
    background: var(--warm-brown);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--terracotta);
}

/* Artisan Spotlight */
.artisan-spotlight {
    padding: 80px 50px;
    background: white;
}

.artisan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.artisan-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--cream);
    border-radius: 15px;
}

.artisan-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--soft-pink);
}

.artisan-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artisan-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--warm-brown);
    margin-bottom: 5px;
}

.artisan-card .specialty {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: var(--terracotta);
    margin-bottom: 15px;
}

.artisan-card p {
    font-size: 0.9rem;
    color: var(--charcoal);
    opacity: 0.8;
    line-height: 1.7;
}

/* About Section */
.about-store {
    padding: 80px 50px;
    background: linear-gradient(135deg, var(--warm-brown), rgba(93, 78, 55, 0.9));
    color: white;
    text-align: center;
}

.about-store h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-store p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.9;
}

/* Newsletter */
.newsletter {
    padding: 60px 50px;
    background: var(--soft-pink);
    text-align: center;
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--warm-brown);
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--charcoal);
    margin-bottom: 25px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: white;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--warm-brown);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--terracotta);
}

/* Footer */
.store-footer {
    background: var(--charcoal);
    padding: 60px 50px 30px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-column h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--terracotta);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--terracotta);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .store-header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .categories,
    .featured,
    .artisan-spotlight,
    .about-store,
    .newsletter {
        padding: 50px 20px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}