﻿/* @import pentru fonturi elegante */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #1a1a1a; /* Charcoal */
    --accent: #a68b6c; /* Muted Gold/Clay */
    --bg-light: #fdfdfd; /* Off-white */
    --bg-alt: #f8f8f8; /* Soft Gray */
    --text-muted: #666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- NAVIGATIE PREMIUM --- */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -0.5px;
}

    .brand-logo span {
        color: var(--accent);
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

    .nav-menu a {
        text-decoration: none;
        color: var(--primary);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: var(--transition);
        position: relative;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent);
            transition: var(--transition);
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .nav-menu a:hover {
            color: var(--accent);
        }

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-search {
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 0.8rem;
    background: var(--bg-alt);
    outline: none;
    transition: var(--transition);
    width: 180px;
}

    .nav-search:focus {
        width: 250px;
        border-color: var(--accent);
        background: #fff;
    }

.account-btn {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    transition: var(--transition);
}

    .account-btn:hover {
        background: var(--primary);
        color: #fff;
    }

/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 0;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(166, 139, 108, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 30px;
    border-radius: 50px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    color: var(--primary);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease forwards;
}

.italic-text {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 50px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 20px 45px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        background: var(--accent);
    }

.btn-link {
    margin-left: 30px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

    .btn-link:hover {
        color: var(--accent);
        padding-left: 10px;
    }

/* --- MANIFEST SECTION --- */
.manifest-info {
    padding: 140px 0;
    background: #fff;
}

.narrow-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 80px;
}

.manifest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.manifest-item {
    text-align: center;
    transition: var(--transition);
}

    .manifest-item:hover {
        transform: translateY(-10px);
    }

    .manifest-item h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 15px;
    }

        .manifest-item h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: var(--accent);
        }

    .manifest-item p {
        font-size: 0.95rem;
        color: var(--text-muted);
        line-height: 1.8;
    }

/* Animații */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.homepage-fade-in {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsivitate */
@media (max-width: 992px) {
    .manifest-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .nav-menu {
        display: none;
    }
    /* Aici am putea face un meniu de mobil ulterior */
}
/* --- PAGINA PRODUSE --- */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: #fff;
}

    .page-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        margin: 20px 0;
    }

        .page-header h1 span {
            font-weight: 400;
            font-style: italic;
            color: var(--accent);
        }

.product-filters {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.filter-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

    .filter-link:hover, .filter-link.active {
        color: var(--primary);
        border-bottom: 1px solid var(--primary);
    }

/* --- GRID SI CARDURI --- */
.products-grid-section {
    padding: 60px 5%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    transition: var(--transition);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: var(--bg-alt);
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    background: #fff;
    color: var(--primary);
    padding: 12px 25px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 20px 0;
    text-align: left;
}

.product-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.product-artist {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

    .product-artist a {
        color: var(--primary);
        text-decoration: underline;
    }

.product-price {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}
/* --- PAGINA ARTISTI --- */
.header-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.artists-list {
    padding: 100px 0;
}

.artist-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

    .artist-row.reverse {
        flex-direction: row-reverse;
    }

.artist-image {
    flex: 1;
    height: 500px;
    overflow: hidden;
    position: relative;
}

    .artist-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(20%);
        transition: var(--transition);
    }

    .artist-image:hover img {
        filter: grayscale(0%);
        transform: scale(1.02);
    }

.artist-details {
    flex: 1;
}

.artist-specialty {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
}

.artist-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 15px 0 25px;
}

.artist-details p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.8;
}

.artist-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

.btn-wip {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary);
    background: #f0f0f0;
    padding: 10px 20px;
    text-decoration: none;
    transition: var(--transition);
}

    .btn-wip:hover {
        background: var(--primary);
        color: #fff;
    }
/* --- PAGINA DETALII PRODUS --- */
.product-details-page {
    padding: 60px 5%;
    background: #fff;
}

.details-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Stânga mai lată pentru poze */
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Galerie */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .secondary-images img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

/* Sidebar */
.product-sidebar {
    position: sticky;
    top: 120px; /* Rămâne fixă la scroll */
    height: fit-content;
}

.breadcrumb {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

    .breadcrumb a {
        color: var(--text-muted);
        text-decoration: none;
    }

.details-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.details-artist {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

    .details-artist a {
        color: var(--primary);
        font-weight: 600;
    }

.details-price {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--accent);
}

.details-description h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.details-description p {
    color: #555;
    margin-bottom: 30px;
}

.specs-list {
    list-style: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 40px;
}

    .specs-list li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
    }

/* Zone de Cumpărare */
.purchase-zone {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.full-width {
    width: 100%;
    text-align: center;
}

.btn-wip-outline {
    background: transparent;
    border: 1px solid var(--primary);
    padding: 18px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-wip-outline:hover {
        background: var(--bg-alt);
    }

.stock-status {
    font-size: 0.8rem;
    color: green;
    margin-bottom: 5px;
}

.shipping-info {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* --- FOOTER STYLING --- */
.main-footer {
    background-color: var(--bg-alt);
    padding: 80px 0 0 0;
    margin-top: 100px;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 60px 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-about {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 250px;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        text-decoration: none;
        color: var(--text-muted);
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

/* Stil pentru imaginile ANPC / SOL */
.legal-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    filter: grayscale(100%); /* Le facem alb-negru ca să nu strice designul */
    opacity: 0.7;
    transition: var(--transition);
}

    .legal-img:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 30px 0;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}

/* Responsivitate pentru ecrane mici */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
/* --- PAGINA AUTH --- */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-alt);
    padding: 40px 20px;
}

.auth-container {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border-radius: 2px;
}

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

    .tab-btn.active {
        color: var(--primary);
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
        }

.auth-form-content {
    display: none;
}

    .auth-form-content.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    .auth-form-content h2 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Stiluri Formular */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 8px;
        color: #333;
    }

    .form-group input, .auth-select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #eee;
        background: var(--bg-alt);
        font-family: inherit;
        font-size: 0.9rem;
        outline: none;
        transition: var(--transition);
    }

        .form-group input:focus {
            border-color: var(--accent);
            background: #fff;
        }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.8rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-pass {
    color: var(--text-muted);
    text-decoration: none;
}

    .forgot-pass:hover {
        color: var(--accent);
    }
/* --- PAGINA CONTACT --- */
.contact-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.info-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

    .social-links a {
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--primary);
        text-decoration: none;
        border-bottom: 1px solid var(--accent);
    }

/* Form Row (pentru Nume și Email pe același rând) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.artizan-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: var(--bg-alt);
    font-family: inherit;
    resize: none;
    outline: none;
    transition: var(--transition);
}

    .artizan-form textarea:focus {
        border-color: var(--accent);
        background: #fff;
    }

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}
/* --- CHECKOUT --- */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.checkout-section {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.shipping-card, .payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

    .shipping-card:hover, .payment-card:hover {
        border-color: var(--accent);
    }

.card-fields {
    padding: 20px;
    background: var(--bg-alt);
    margin-bottom: 15px;
}

    .card-fields input {
        margin-bottom: 10px;
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
    }

/* Sumar */
.summary-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    position: sticky;
    top: 120px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.grand-total {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 1.2rem;
}

.secure-checkout {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin-top: 20px;
}
/* --- ADMIN DASHBOARD --- */
.admin-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #1a1a1a;
    color: #fff;
    padding: 30px 20px;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-nav .nav-item {
    display: block;
    padding: 12px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    border-radius: 4px;
}

    .admin-nav .nav-item:hover, .admin-nav .nav-item.active {
        background: #333;
        color: #fff;
    }

.admin-content {
    background: #f4f6f8;
    padding: 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

/* Tabel Admin */
.admin-table-wrapper {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

    .admin-table th, .admin-table td {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .admin-table th {
        background: #fafafa;
        font-weight: 600;
    }

.tag-pending {
    color: orange;
    font-weight: 600;
}

.tag-success {
    color: green;
    font-weight: 600;
}

.btn-small {
    padding: 5px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
}
/* --- PAGINA DESPRE --- */
.about-hero {
    padding: 120px 0 60px;
    text-align: center;
}

    .about-hero h1 {
        font-size: 3.5rem;
        font-family: 'Playfair Display', serif;
    }

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.text-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 25px;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--accent);
}
/* --- PAGINA MATERII PRIME --- */
.supply-page .product-card {
    border: 1px solid #f0f0f0;
    background: #fafafa; /* Fundal ușor gri pentru un aspect industrial */
}

.supply-page .category {
    color: #a68b6c; /* O culoare pământie pentru unelte/resurse */
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-add-cart:hover {
        background: var(--accent);
    }
/* --- CART BUTTON & BADGE --- */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    margin-right: 25px; /* Spațiu între coș și butonul de cont */
    transition: var(--transition);
}

    .cart-btn:hover {
        color: var(--accent);
        transform: translateY(-2px);
    }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent); /* Acea culoare maronie/aurie */
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Ajustări pentru nav-right ca să fie totul pe o linie */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
/* --- PAGINA COȘ --- */
.cart-page-wrapper {
    padding: 80px 0;
    min-height: 70vh;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

    .cart-table th {
        text-align: left;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: #999;
    }

    .cart-table td {
        padding: 25px 0;
        border-bottom: 1px solid #f9f9f9;
    }

.product-cell {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .product-cell img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 2px;
    }

.p-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.p-artist {
    font-size: 0.8rem;
    color: #888;
}

.quantity-picker {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #eee;
    width: fit-content;
    padding: 5px 15px;
}

    .quantity-picker button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.2rem;
    }

.btn-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

    .btn-remove:hover {
        color: #ff0000;
    }

.summary-box {
    background: var(--bg-alt);
    padding: 30px;
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .summary-row.total {
        font-weight: 700;
        font-size: 1.2rem;
        margin-top: 20px;
    }

.btn-continue {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.9rem;
}
/* Containerul pentru preț și buton */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Butonul Add to Cart din card */
.btn-add-cart {
    background: var(--primary);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-add-cart:hover {
        background: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
/* Layout Admin */
.admin-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar fix, restul flexibil */
    min-height: 100vh;
}

.admin-sidebar {
    background: #2c3e50;
    color: white;
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-content {
    background: #f4f7f6;
    padding: 2rem;
}

/* Navigație Sidebar */
.admin-nav {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: 0.3s;
}

    .nav-item:hover, .nav-item.active {
        background: #34495e;
        color: white;
    }

/* Carduri Statisti */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}
.tag-pending {
    background: #ffeaa7;
    color: #d35400;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tag-finalizată {
    background: #55efc4;
    color: #00b894;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tag-stoc-scăzut {
    background: #fab1a0;
    color: #d63031;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-count {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    margin-left: 5px;
}
.stock-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

    .stock-badge.ok {
        background: #dff9fb;
        color: #130f40;
    }

    .stock-badge.low {
        background: #ff7675;
        color: white;
        animation: pulse 2s infinite;
    }

.row-warning {
    background-color: #fff5f5 !important;
}

@@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}