@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- CULORI BRAND --- */
    --primary: #FF4500;
    --primary-gradient: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%); /* Sunset Orange */
    --dark: #1e1e24;
    --grey: #636e72;
    --light-grey: #f0f2f5;
    --bg: #fafbfc;
    --white: #ffffff;
    --success: #00b894;
    --border-radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 30px rgba(255, 69, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 40px;
    box-sizing: border-box;
    flex: 1;
    position: relative;
}

a { text-decoration: none; color: inherit; transition: 0.2s ease; }

/* --- HEADER --- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; box-sizing: border-box;
}

.brand-logo img { height: 45px; width: auto; display: block; transition: transform 0.2s; }
.brand-logo:hover img { transform: scale(1.05); }

.desktop-nav { display: flex; gap: 30px; align-items: center; font-weight: 600; font-size: 0.95rem; }
.desktop-nav a { position: relative; color: var(--dark); }
.desktop-nav a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background: var(--primary); transition: width 0.3s;
}
.desktop-nav a:hover::after { width: 100%; }

.desktop-cart {
    background: var(--dark); color: white !important;
    padding: 10px 20px; border-radius: 50px;
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; transition: 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.desktop-cart:hover { transform: translateY(-2px); background: var(--primary); }

/* --- HERO & SLIDERS --- */
.hero-container { margin-bottom: 40px; border-radius: 0 0 20px 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-title { font-weight: 900; letter-spacing: -1px; }

/* --- CATEGORII (STICKY) --- */
.cat-sticky {
    position: sticky; top: 70px; background: rgba(255,255,255,0.95);
    z-index: 800; padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
    margin-bottom: 30px;
}
.cat-item { opacity: 0.7; transform: scale(0.95); transition: 0.2s; }
.cat-item:hover, .cat-item.active { opacity: 1; transform: scale(1); }
.cat-item.active .cat-icon { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(255,69,0,0.3); }

/* --- CARDURI PRODUSE --- */
.p-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.p-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,69,0,0.1);
}

.p-img {
    width: 100%; height: 200px;
    object-fit: cover;
    background: #f0f0f0;
    transition: transform 0.5s;
}
.p-card:hover .p-img { transform: scale(1.05); }

.p-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.p-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.p-desc { font-size: 0.9rem; color: #777; line-height: 1.5; margin-bottom: 15px; flex: 1; }

.p-footer {
    margin-top: auto; display: flex; justify-content: space-between; align-items: center;
    border-top: 1px dashed #eee; padding-top: 15px;
}

.p-price { font-size: 1.25rem; font-weight: 800; color: var(--dark); }

.p-btn {
    width: 40px; height: 40px;
    background: var(--light-grey); color: var(--dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: bold;
    transition: 0.2s;
}
.p-card:hover .p-btn { background: var(--primary); color: white; transform: rotate(90deg); }

/* --- MODAL --- */
.modal-overlay {
    background: rgba(30, 30, 36, 0.6);
    backdrop-filter: blur(8px);
}
.product-modal {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-content h2 { font-size: 1.8rem; font-weight: 800; }
.btn-add-cart {
    background: var(--dark);
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-add-cart:hover { background: var(--primary); transform: translateY(-2px); }

/* --- CHECKOUT --- */
.section-card {
    border: none; box-shadow: var(--shadow-sm);
    padding: 30px; border-radius: 20px;
}
.section-title { font-size: 1.3rem; border-bottom: 2px solid var(--light-grey); }

.form-input, .form-select {
    background: var(--light-grey); border: 1px solid transparent;
    transition: 0.2s; font-weight: 500;
}
.form-input:focus { background: white; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,69,0,0.1); }

.del-opt {
    border-radius: 12px; border: 2px solid var(--light-grey); font-weight: 700;
}
.del-opt.active {
    background: #fff5f0; border-color: var(--primary); color: var(--primary);
}

.btn-submit {
    background: var(--primary-gradient);
    border-radius: 50px; padding: 18px;
    font-size: 1.2rem; letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-submit:hover { filter: brightness(1.1); box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3); }

/* --- FOOTER --- */
.site-footer {
    background: #111; color: #aaa;
    border-top: 5px solid var(--primary);
}
.footer-col h3 { color: white; border-left: none; margin-bottom: 25px; font-weight: 800; letter-spacing: -0.5px; }
.footer-col ul li a { transition: 0.2s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

/* --- MOBILE --- */
.hamburger-btn { font-size: 24px; color: var(--dark); }
.mobile-sidebar { box-shadow: 5px 0 30px rgba(0,0,0,0.1); }
.sidebar-header { background: var(--dark); }

@media (max-width: 768px) {
    .container { padding: 0 15px 30px; }
    .site-header { height: 60px; padding: 0 15px; }
    .cat-grid, .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-title { font-size: 2.2rem; }
    .p-img { height: 180px; }
}

/* --- UTILS --- */
.closed-banner { background: #e74c3c; font-weight: 700; letter-spacing: 1px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.toast-notification {
    background: var(--dark) !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}