:root {
    --fig-purple: #5c2d6e;
    --fig-deep: #3d1a4a;
    --fig-gold: #c9a227;
    --fig-cream: #f8f4ec;
    --fig-green: #4a6b4a;
    --fig-leaf: #6b8f6b;
    --text-dark: #2c2c2c;
    --text-muted: #5a5a5a;
    --border-soft: #e8e0d5;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--fig-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(135deg, var(--fig-deep), var(--fig-purple)) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid var(--fig-gold);
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--fig-gold) !important;
}

.hero {
    background: linear-gradient(rgba(61, 26, 74, 0.75), rgba(92, 45, 110, 0.7)),
                url('../img/logo.jpg') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-radius: 0 0 1.5rem 1.5rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

.section-title {
    color: var(--fig-purple);
    font-weight: 700;
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--fig-gold);
    margin-top: 0.4rem;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(92, 45, 110, 0.12);
}

.fig-card .card-title {
    color: var(--fig-purple);
    font-size: 1.15rem;
    font-weight: 600;
}

.badge-hardiness {
    background: var(--fig-green);
    font-weight: 500;
}

.price-tag {
    background: var(--fig-gold);
    color: #1a1a1a;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 2rem;
    display: inline-block;
}

.btn-fig {
    background: var(--fig-purple);
    border-color: var(--fig-purple);
    color: white;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.55rem 1.5rem;
}

.btn-fig:hover {
    background: var(--fig-deep);
    border-color: var(--fig-deep);
    color: white;
}

.btn-outline-fig {
    border: 2px solid var(--fig-purple);
    color: var(--fig-purple);
    font-weight: 600;
    border-radius: 2rem;
}

.btn-outline-fig:hover {
    background: var(--fig-purple);
    color: white;
}

.footer {
    background: var(--fig-deep);
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer a {
    color: var(--fig-gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--fig-gold);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-order th {
    background: var(--fig-cream);
    color: var(--fig-purple);
}

.alert-farm {
    background: #f3eef6;
    border-left: 4px solid var(--fig-purple);
    color: var(--text-dark);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero { padding: 3.5rem 0; }
}
