:root {
    --primary-color: #2c2c2c;
    /* Deep Charcoal */
    --accent-color: #ff8c00;
    /* Orange/Gold from reference */
    --accent-light: #fff5e6;
    /* Light peach/cream */
    --bg-color: #ffffff;
    --text-color: #333333;
    --gray-light: #f7f7f7;
    --border-radius: 16px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    /* Gold */
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background-color: var(--gray-light);
    color: var(--text-color);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    margin: 2rem 0;
}

.hero-banner {
    background-color: var(--accent-light);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
    background-image: linear-gradient(135deg, #fff0e0 0%, #ffffff 100%);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
}

/* Benefits Grid */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.benefit-card {
    background: #fff0f5;
    /* Light Pink tone similar to image */
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-card:nth-child(2) {
    background: #f0fdf4;
}

/* Green tint */
.benefit-card:nth-child(3) {
    background: #f5f3ff;
}

/* Purple tint */

.benefit-icon {
    font-size: 2rem;
}

/* Categories */
.categories {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 2rem;
    scrollbar-width: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    cursor: pointer;
}

.cat-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gray-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f9f9f9;
}

.product-info {
    padding: 15px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.product-price {
    font-weight: 700;
    color: var(--text-color);
}

.product-actions {
    margin-top: 15px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.delete-btn {
    background-color: #ff4d4f;
    color: white;
    margin-top: 10px;
}

.delete-btn:hover {
    background-color: #d9363e;
}

/* Admin Specific */
.admin-header {
    background-color: var(--primary-color);
    color: white;
}

.admin-header .logo {
    color: white;
}

.admin-controls {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin: 30px 0;
    max-width: 600px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Contacts Section */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-img {
        height: 160px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 0.95rem;
        margin-bottom: 5px;
        min-height: 2.4em;
        /* Ensure 2 lines of text align well */
        line-height: 1.2;
    }

    .product-card .btn {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

.contact-info {
    background: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.map-container iframe {
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Cart Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    gap: 5px;
}

.cart-footer {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: right;
}

.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
    cursor: pointer;
    border: none;
    z-index: 999;
}

.floating-cart span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 10px;
}