/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

body {
    background: linear-gradient(180deg, #fefcf9, #f7f2ea);
    color: #111;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1200px, 100% - 40px);
    margin: 0 auto;
}

/* ================= HEADER ================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
.main-nav a {
    margin: 0 15px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}
.main-nav a:hover::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c59d5f;
    border-radius: 2px;
}
.auth-links a.btn-outline {
    margin-left: 10px;
}

/* ================= BUTTONS ================= */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background: #c59d5f;
    color: #fff;
    border: none;
}
.btn-primary:hover { background: #a67c3c; }
.btn-outline {
    border: 1px solid #c59d5f;
    color: #c59d5f;
    background: none;
}
.btn-outline:hover {
    background: #c59d5f;
    color: #fff;
}

/* ================= HERO ================= */
.hero {
    padding: 100px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ================= FEATURES ================= */
.features {
    padding: 60px 20px;
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.feature-item {
    flex: 1 1 250px;
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.feature-item:hover { transform: translateY(-5px); }
.feature-item i {
    font-size: 32px;
    color: #111;
    margin-bottom: 15px;
}
.feature-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 14px;
    color: #666;
}

/* ================= CATEGORIES ================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.category-card {
    background: linear-gradient(180deg, #fff8e1, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.category-card h3 {
    margin: 12px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

/* ================= PRODUCTS ================= */
.collection {
    padding: 60px 20px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.product-card:hover { transform: translateY(-5px); }
.product-image-wrapper {
    width: 100%;
    padding-top: 100%; /* Square image */
    position: relative;
}
.product-image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.add-to-cart-overlay {
    position: absolute;
    bottom: -50px;
    width: 100%;
    text-align: center;
    transition: bottom 0.3s ease;
}
.product-card:hover .add-to-cart-overlay { bottom: 10px; }
.quick-add-btn {
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    cursor: pointer;
}
.quick-add-btn:hover {
    background-color: #fff;
    color: #000;
}
.product-info {
    padding: 16px;
    text-align: center;
}
.product-title {
    font-size: 1.1rem;
}
.product-category {
    font-size: 10px;
    color: #999;
}
.product-price {
    font-size: 14px;
    font-weight: 600;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #111;
    color: #fff;
    padding: 60px 20px;
}
.footer-inner {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.footer-col h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 15px;
}
.footer-col a {
    color: #fff;
    text-decoration: none;
}
.footer-col a:hover { color: #c59d5f; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #aaa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .main-nav, .auth-links { display: none; }
    .hamburger { display: block; cursor: pointer; }
    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        background: #fff;
    }
    .mobile-nav.active { display: flex; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .container {
        width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    table th,
    table td {
        white-space: nowrap;
    }
}

