@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

:root {
    /* Colors from Mockup */
    --primary: #1c4a2a; /* Deep green */
    --primary-light: #2e7d32;
    --accent: #2c6e49;
    --bg-light: #f8f9fa; /* Very light gray/beige */
    --bg-offwhite: #f5f5f0;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    --border: #eaeaea;
    --gold: #d4af37;
    --orange: #f57f17;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout */
    --container-width: 1300px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

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

ul { list-style: none; }

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

/* Utilities */
.text-primary { color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* LOGIN MODAL STYLES */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.login-modal-content {
    background: white;
    width: 400px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: scale(0.85) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* CLICK TRIGGER LOGIC */
.login-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.login-modal-overlay.show .login-modal-content {
    transform: scale(1) translateY(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}
.action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* SIDE CART STYLES */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-overlay.show .cart-sidebar {
    transform: translateX(0);
}

/* =========================================================
   RESPONSIVE – BERGERIE CALG
   Breakpoints : 1100px | 991px | 768px | 576px | 480px
   ========================================================= */

/* ---- Utilities responsive ---- */
@media (max-width: 991px) {
    .hide-md { display: none !important; }
}
@media (max-width: 768px) {
    .hide-sm { display: none !important; }
    .container { padding: 0 16px; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
}

/* ---- Cart Sidebar mobile ---- */
@media (max-width: 576px) {
    .cart-sidebar { width: 100% !important; }
}

/* ---- Login modal mobile ---- */
@media (max-width: 768px) {
    .login-modal-content { width: 95vw !important; padding: 30px 20px !important; }
}
