/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Couleurs principales (Inspirées du Cameroun) */
    --color-primary: #006B3F;    /* Vert Cameroun */
    --color-primary-dark: #004d2d;
    --color-accent: #CE1126;     /* Rouge Cameroun */
    --color-accent-hover: #a80e1f;
    --color-gold: #FCD116;       /* Jaune Cameroun */
    
    /* Couleurs de fond et texte */
    --color-bg: #f8f9fa;
    --color-bg-dark: #0D1117;
    --color-bg-card: #ffffff;
    --color-bg-card-dark: #161B22;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #f8f9fa;
    
    /* Utilitaires */
    --border-color: #e2e8f0;
    --border-color-dark: #30363d;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Typographie */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--color-text-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    gap: 0.5rem;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-xs { padding: 0.25rem 0.75rem; font-size: 0.8rem; border-radius: var(--border-radius-sm); }
.w-full { width: 100%; }

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--color-primary);
}
.btn-white:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left {
    display: flex;
    gap: 1.5rem;
}
.topbar-left a {
    color: white;
}
.topbar-right {
    display: flex;
    gap: 0.5rem;
}
.lang-btn {
    color: rgba(255,255,255,0.7);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.lang-btn.active, .lang-btn:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    font-size: 2rem;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}
.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-auth {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 600px;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-accent {
    display: block;
    color: var(--color-gold);
    font-size: 2.5rem;
}
.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Stats Band
   ========================================================================== */
.stats-band {
    background-color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
    margin-top: -40px;
    border-radius: var(--border-radius);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
}
.stat-label {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Sections Générales
   ========================================================================== */
.section {
    padding: 5rem 0;
}
.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}
.section-green {
    background-color: var(--color-primary);
    color: white;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.section-dark .feature-card {
    background-color: var(--color-bg-card-dark);
    border-color: var(--border-color-dark);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--color-primary);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Categories & Products
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.category-card {
    background-color: var(--color-bg-card-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.category-card h3 {
    color: white;
    margin: 0;
}
.category-card:hover {
    background-color: #1f2937;
    border-color: var(--color-primary);
}
.cat-icon { font-size: 3rem; }
.cat-arrow { color: var(--color-gold); font-size: 1.5rem; transition: var(--transition); }
.category-card:hover .cat-arrow { transform: translateX(5px); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.product-img {
    height: 200px;
    background-color: #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-placeholder {
    font-size: 4rem;
    opacity: 0.5;
}
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-green { background-color: #dcfce7; color: #166534; }
.badge-yellow { background-color: #fef08a; color: #854d0e; }
.badge-gray { background-color: #e2e8f0; color: #475569; }
.badge-blue { background-color: #dbeafe; color: #1e3a8a; }

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-cat {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.product-name { margin-bottom: 0.5rem; }
.product-desc { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; flex-grow: 1; }
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.price-locked { color: var(--color-accent); font-size: 0.8rem; }

/* ==========================================================================
   Page Banners
   ========================================================================== */
.page-banner {
    background-color: var(--color-bg-dark);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    background-image: url('../images/products_category.png');
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 17, 23, 0.85);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: white; font-size: 3rem; margin-bottom: 0.5rem; }
.page-banner p { color: var(--color-gold); font-size: 1.25rem; font-weight: 500; }
.page-banner-sm { padding: 4rem 0 3rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--color-text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fff;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.1);
}
.password-wrapper { position: relative; }
.toggle-pwd {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 1.2rem;
}

.alert { padding: 1rem; border-radius: var(--border-radius-sm); margin-bottom: 1.5rem; font-weight: 600; }
.alert-success { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background-color: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ==========================================================================
   Auth & Dashboard
   ========================================================================== */
.auth-section { display: flex; justify-content: center; }
.auth-card {
    background-color: white; padding: 3rem; border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg); width: 100%; max-width: 450px;
}
.auth-card-wide { max-width: 800px; }
.auth-logo { text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--color-primary); margin-bottom: 2rem; }
.auth-subtitle { text-align: center; color: var(--color-text-muted); margin-bottom: 2rem; }
.auth-link { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; }

.dash-status {
    padding: 1.5rem 2rem; border-radius: var(--border-radius); display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 2rem;
}
.status-approved { background-color: #dcfce7; border: 1px solid #bbf7d0; }
.status-pending { background-color: #fef3c7; border: 1px solid #fde68a; }
.ds-icon { font-size: 2.5rem; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.dash-card { background-color: white; padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); }
.dash-card h3 { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1.5rem; font-size: 1.25rem; }
.dash-info-list { display: flex; flex-direction: column; gap: 1rem; }
.di-row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.di-row span { color: var(--color-text-muted); }
.dash-actions { display: flex; flex-direction: column; gap: 1rem; }
.dash-action-btn { display: flex; align-items: center; gap: 1rem; padding: 1rem; background-color: #f8f9fa; border-radius: var(--border-radius-sm); border: 1px solid var(--border-color); font-weight: 600; color: var(--color-text); transition: var(--transition); }
.dash-action-btn:hover { background-color: white; border-color: var(--color-primary); transform: translateX(5px); }
.da-icon { font-size: 1.5rem; }
.dash-pending-msg { margin-top: 2rem; background-color: white; padding: 2rem; border-radius: var(--border-radius); border-left: 5px solid var(--color-gold); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-gate { text-align: center; max-width: 600px; margin: 0 auto; background: white; padding: 3rem; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); }
.gate-icon { font-size: 4rem; margin-bottom: 1rem; }
.gate-features { text-align: left; margin: 2rem auto; max-width: 400px; display: flex; flex-direction: column; gap: 0.75rem; }
.gate-btns { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

.pricing-welcome { background: var(--color-primary); color: white; padding: 1rem 2rem; border-radius: var(--border-radius-sm); margin-bottom: 1.5rem; font-weight: 600; }
.pricing-note { background: #fef3c7; color: #92400e; padding: 1rem; border-radius: var(--border-radius-sm); margin-bottom: 2rem; font-size: 0.9rem; }

.pricing-table-wrapper { overflow-x: auto; background: white; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); margin-bottom: 4rem; }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.pricing-table th, .pricing-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.pricing-table th { background-color: #f1f5f9; font-weight: 700; color: var(--color-text); }
.pricing-table tbody tr:hover { background-color: #f8fafc; }
.cat-tag { font-size: 0.75rem; padding: 0.25rem 0.5rem; background: #e2e8f0; border-radius: 4px; font-weight: 600; }
.incoterm-tag { font-size: 0.75rem; padding: 0.25rem 0.5rem; background: var(--color-primary); color: white; border-radius: 4px; font-weight: 700; }
.price-cell { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--color-primary-dark); }
.text-muted { color: var(--color-text-muted); }
.small { font-size: 0.85rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background-color: var(--color-bg-dark); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 3rem; }
.logo-footer { margin-bottom: 1.5rem; }
.logo-footer .logo-main { color: white; }
.footer-desc { margin-bottom: 1.5rem; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,0.1); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.footer-col h4 { color: white; font-family: var(--font-main); font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--color-gold); padding-left: 5px; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci { font-size: 1.25rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.footer-legal a { color: rgba(255,255,255,0.7); margin-left: 1rem; }
.footer-legal a:hover { color: white; }

/* ==========================================================================
   Misc & Utilities
   ========================================================================== */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: var(--transition); }
.whatsapp-btn svg { width: 35px; height: 35px; }
.whatsapp-btn span { position: absolute; right: 70px; background: white; color: #333; padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn:hover span { opacity: 1; visibility: visible; }

.scroll-top { position: fixed; bottom: 30px; left: 30px; background-color: var(--color-primary); color: white; width: 40px; height: 40px; border-radius: 5px; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background-color: var(--color-primary-dark); transform: translateY(-3px); }

/* Buttons loading state */
.btn-loading-state { position: relative; opacity: 0.8; cursor: not-allowed !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px); background: white; flex-direction: column; padding: 2rem; transition: var(--transition); text-align: center; font-size: 1.2rem; }
    .nav-links.active { left: 0; }
    .nav-auth { display: none; }
    .hero-title { font-size: 2.5rem; }
    .hero-accent { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    .products-grid, .features-grid, .dash-grid, .capacites-grid, .countries-grid, .testimonials-grid, .admin-products-grid, .partner-catalog-grid, .certif-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Specific pages (About, Products, etc.)
   ========================================================================== */
.about-grid, .mv-grid, .contact-grid { display: grid; gap: 4rem; }
@media (min-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .mv-grid { grid-template-columns: repeat(3, 1fr); }
}
.mv-card { background: var(--color-bg-card-dark); padding: 2rem; border-radius: var(--border-radius); border: 1px solid var(--border-color-dark); }
.mv-icon { font-size: 3rem; margin-bottom: 1rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.about-tags .tag { background: #e2e8f0; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }

.capacites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.capacite-item { background: white; padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-primary); }
.cap-icon { font-size: 2rem; margin-bottom: 1rem; }

.certif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; text-align: center; }
.certif-card { background: rgba(255,255,255,0.1); padding: 1.5rem; border-radius: var(--border-radius); backdrop-filter: blur(5px); }
.certif-card span { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.certif-card h4 { color: white; margin-bottom: 0.5rem; }
.certif-card p { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* Filters */
.cat-filters { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.cat-filter { padding: 0.5rem 1.5rem; background: white; border: 1px solid var(--border-color); border-radius: 50px; color: var(--color-text); font-weight: 600; }
.cat-filter:hover, .cat-filter.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* Details */
.product-detail-grid { display: grid; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 992px) { .product-detail-grid { grid-template-columns: 1fr 1.5fr; } }
.detail-img-placeholder { background: white; border-radius: var(--border-radius); padding: 4rem; text-align: center; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.detail-img-placeholder p { margin-top: 1rem; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary-dark); }
.detail-badges { display: flex; gap: 0.5rem; }
.product-detail-info h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.detail-specs { background: white; padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.spec-row { display: flex; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { width: 40%; font-weight: 600; color: var(--color-text-muted); }
.detail-actions { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; font-weight: 600; color: var(--color-text-muted); }
.back-link:hover { color: var(--color-primary); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::after { content: ''; position: absolute; width: 2px; background: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-dot { position: absolute; width: 40px; height: 40px; border-radius: 50%; right: -20px; top: 15px; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; box-shadow: 0 0 0 4px white, var(--shadow-md); }
.timeline-item.right .timeline-dot { left: -20px; }
.timeline-content { padding: 2rem; background: white; border-radius: var(--border-radius); box-shadow: var(--shadow-md); position: relative; }
.timeline-num { font-size: 3rem; font-weight: 800; opacity: 0.1; position: absolute; top: 10px; right: 20px; line-height: 1; }
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item.right { left: 0; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 11px; }
}

/* Map */
.map-wrapper { height: 500px; border-radius: var(--border-radius); overflow: hidden; margin-bottom: 4rem; box-shadow: var(--shadow-md); border: 2px solid var(--border-color-dark); }
#delivery-map { width: 100%; height: 100%; background-color: var(--color-bg-dark); }
.countries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.country-card { background: white; padding: 1.5rem; border-radius: var(--border-radius); display: flex; gap: 1rem; box-shadow: var(--shadow-sm); }
.country-flag { font-size: 2.5rem; }
.country-cities { color: var(--color-primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.5rem; }

/* Contact Sidebar */
.contact-info-card { background: var(--color-bg-dark); color: white; padding: 2.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); }
.contact-info-card h3 { color: white; margin-bottom: 2rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-item { display: flex; gap: 1rem; }
.ci-icon { font-size: 1.5rem; }
.ci-item a { color: var(--color-gold); }
.response-time { background: #e0f2fe; padding: 1.5rem; border-radius: var(--border-radius); margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; border: 1px solid #bae6fd; }
.rt-icon { font-size: 2rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testi-card { background: white; padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); position: relative; }
.testi-card::before { content: '"'; position: absolute; top: 10px; right: 20px; font-size: 4rem; color: #f1f5f9; font-family: var(--font-heading); }
.testi-stars { margin-bottom: 1rem; }
.testi-msg { font-size: 1.1rem; font-style: italic; margin-bottom: 1.5rem; color: var(--color-text-muted); position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.testi-avatar { width: 50px; height: 50px; background: var(--color-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; }
.testi-author span { display: block; font-size: 0.85rem; color: var(--color-text-muted); }

/* ==========================================================================
   Dashboard — Product Management
   ========================================================================== */

/* Tabs */
.dash-tabs {
    display: flex; gap: 0; margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}
.dash-tab {
    padding: 1rem 1.5rem; font-weight: 600; color: var(--color-text-muted);
    text-decoration: none; border-bottom: 3px solid transparent;
    transition: all 0.3s ease; white-space: nowrap; display: flex; align-items: center; gap: 0.5rem;
}
.dash-tab:hover { color: var(--color-primary); background: rgba(0,107,63,0.04); }
.dash-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); background: rgba(0,107,63,0.06); }
.dash-tab i { font-size: 1.1rem; }

/* Products Admin Header */
.products-admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.products-admin-header h2 { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.products-admin-header .text-muted { margin: 0; }

/* Admin Product Cards Grid */
.admin-products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.admin-product-card {
    background: white; border-radius: var(--border-radius); box-shadow: var(--shadow-sm);
    overflow: hidden; transition: all 0.3s ease; border: 1px solid var(--border-color);
}
.admin-product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.admin-product-card.inactive-product { opacity: 0.65; }
.admin-product-img {
    height: 180px; position: relative; background: #f1f5f9; overflow: hidden;
}
.admin-product-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.admin-product-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; background: linear-gradient(135deg, #e2f7e1 0%, #f1f5f9 100%);
}
.admin-badge-inactive {
    position: absolute; top: 10px; right: 10px; background: var(--color-accent);
    color: white; font-size: 0.7rem; padding: 4px 10px; border-radius: 20px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-product-body { padding: 1.25rem; }
.admin-product-body h4 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.admin-product-cat {
    display: inline-block; background: rgba(0,107,63,0.1); color: var(--color-primary);
    font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; font-weight: 600; margin-bottom: 0.75rem;
}
.admin-product-meta {
    display: flex; gap: 1rem; font-size: 0.85rem; color: var(--color-text-muted);
    margin-bottom: 1rem; flex-wrap: wrap;
}
.admin-product-meta span { display: flex; align-items: center; gap: 0.3rem; }
.admin-product-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.inline-form { display: inline; }

/* Button Danger */
.btn-danger {
    background: var(--color-accent); color: white; border: none; cursor: pointer;
    padding: 0.4rem 0.8rem; border-radius: var(--border-radius-sm); font-size: 0.8rem;
    font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem;
    transition: all 0.3s ease; text-decoration: none;
}
.btn-danger:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-xs {
    padding: 0.4rem 0.8rem !important; font-size: 0.8rem !important;
}

/* Product Form Card */
.product-form-card {
    background: white; border-radius: var(--border-radius-lg); padding: 2.5rem;
    box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
}
.form-section {
    margin-bottom: 2.5rem; padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 1.5rem; padding-bottom: 0; }
.form-section h3 {
    font-size: 1.15rem; margin-bottom: 1.5rem; display: flex; align-items: center;
    gap: 0.5rem; color: var(--color-primary-dark);
}

/* Image Upload Zone */
.image-upload-zone {
    border: 2px dashed var(--border-color); border-radius: var(--border-radius);
    padding: 2rem; text-align: center; cursor: pointer; position: relative;
    transition: all 0.3s ease; background: #fafbfc; min-height: 200px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.image-upload-zone:hover, .image-upload-zone.drag-over {
    border-color: var(--color-primary); background: rgba(0,107,63,0.03);
}
.upload-placeholder i { font-size: 3rem; color: var(--color-primary); opacity: 0.6; margin-bottom: 1rem; }
.upload-placeholder p { margin: 0 0 0.5rem; font-size: 1rem; color: var(--color-text); }
.upload-placeholder span { font-size: 0.8rem; color: var(--color-text-muted); }
.file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-preview {
    position: relative; display: inline-block;
}
.image-preview img {
    max-height: 250px; max-width: 100%; border-radius: var(--border-radius-sm);
    object-fit: contain; box-shadow: var(--shadow-sm);
}
.remove-preview {
    position: absolute; top: -8px; right: -8px; width: 28px; height: 28px;
    border-radius: 50%; background: var(--color-accent); color: white; border: 2px solid white;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease;
}
.remove-preview:hover { transform: scale(1.1); }
.current-image { margin-bottom: 1rem; }
.current-image img { max-height: 180px; border-radius: var(--border-radius-sm); object-fit: contain; }
.delete-image-label {
    display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem;
    font-size: 0.85rem; color: var(--color-accent); cursor: pointer;
}

/* Checkbox Label */
.checkbox-label {
    display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
    font-size: 1rem; color: var(--color-text);
}
.checkbox-label input[type="checkbox"] {
    width: 20px; height: 20px; accent-color: var(--color-primary);
}

/* Form Actions */
.form-actions {
    display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1rem; flex-wrap: wrap;
}

/* No products */
.no-products-msg {
    grid-column: 1 / -1; text-align: center; padding: 4rem 2rem;
    background: #f8fafc; border-radius: var(--border-radius); border: 2px dashed var(--border-color);
}
.no-products-msg i { font-size: 3rem; color: var(--color-text-muted); opacity: 0.4; }
.no-products-msg p { margin: 1rem 0; color: var(--color-text-muted); }

@media (max-width: 768px) {
    .admin-products-grid { grid-template-columns: 1fr; }
    .product-form-card { padding: 1.5rem; }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .products-admin-header { flex-direction: column; align-items: flex-start; }
    .dash-tabs { gap: 0; }
    .dash-tab { padding: 0.75rem 1rem; font-size: 0.9rem; }
}

/* ==========================================================================
   Dashboard — Role Badges
   ========================================================================== */
.dash-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.75rem;
}
.role-partner {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}
.role-admin {
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Dashboard — Partner Info Banner
   ========================================================================== */
.partner-info-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #0c4a6e;
    font-weight: 500;
}
.partner-info-banner i {
    font-size: 1.5rem;
    color: #0284c7;
    flex-shrink: 0;
}

/* ==========================================================================
   Dashboard — Partner Catalog Header
   ========================================================================== */
.partner-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.partner-catalog-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.partner-catalog-header .text-muted { margin: 0; }

/* ==========================================================================
   Dashboard — Partner Product Cards (Read-Only)
   ========================================================================== */
.partner-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.partner-product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.partner-product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.partner-product-img {
    height: 180px;
    position: relative;
    background: #f1f5f9;
    overflow: hidden;
}
.partner-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.partner-product-card:hover .partner-product-img img {
    transform: scale(1.05);
}
.partner-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #e2f7e1 0%, #f1f5f9 100%);
    color: var(--color-primary);
    opacity: 0.5;
}
.partner-badge-seasonal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fef08a;
    color: #854d0e;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.partner-badge-request {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.partner-product-body {
    padding: 1.25rem;
}
.partner-product-body h4 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}
.partner-product-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.partner-product-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.partner-product-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.partner-product-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .partner-catalog-grid { grid-template-columns: 1fr; }
    .partner-catalog-header { flex-direction: column; align-items: flex-start; }
    .partner-info-banner { flex-direction: column; text-align: center; }
}

