/* =========================================
   DECO-MODE V8 | NORDIC LUXURY
   ========================================= */

:root {
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --bg-soft-grey: #f2f2f2;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.font-serif { font-family: var(--font-serif); }
.font-sm { font-size: 0.9rem; }
.text-xs { font-size: 0.75rem; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.15em; }
.fw-light { font-weight: 300; }
.bg-soft-grey { background-color: var(--bg-soft-grey); }

/* Component Transitions */
.transition-img { transition: transform 0.6s ease; }
.zoom-effect:hover { transform: scale(1.02); }

/* Navbar */
.nav-link {
    color: var(--text-dark) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0 1rem;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover {
    border-bottom: 1px solid var(--text-dark);
}

.nav-icon {
    font-size: 1.4rem;
    color: var(--text-dark);
}

.cart-badge-minimal {
    position: absolute;
    top: -5px; right: -8px;
    background: var(--text-dark);
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    font-size: 0.6rem;
    display: flex; align-items: center; justify-content: center;
}

/* Hero */
.btn-line {
    border-bottom: 1px solid var(--text-dark);
    border-radius: 0;
    padding: 0 0 5px 0;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-line:hover {
    color: var(--text-muted);
    border-color: var(--text-muted);
}

/* Product Card */
.product-item { cursor: pointer; }

.btn-quick-add {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-top: 1px solid #eee;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.product-item:hover .btn-quick-add {
    transform: translateY(0);
}

.product-item:hover .transition-img {
    opacity: 0.9;
}

/* Buttons */
.btn-outline-dark {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}
.btn-outline-dark:hover {
    background: var(--text-dark);
    color: #fff;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0; visibility: hidden;
    transition: 0.3s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed; top: 0; right: -400px;
    width: 100%; max-width: 400px; height: 100%;
    z-index: 1050;
    box-shadow: -5px 0 30px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.cart-sidebar.active { transform: translateX(-400px); }

.cart-body { overflow-y: auto; flex-grow: 1; }

/* Utilities */
.cursor-pointer { cursor: pointer; }
.grayscale-hover { filter: grayscale(100%); transition: filter 0.5s; }
.grayscale-hover:hover { filter: grayscale(0%); }

.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* Inputs */
.form-control:focus {
    box-shadow: none;
    border-color: var(--text-dark);
}

/* Footer Utilities */
.bg-black { background-color: #000; }
.hover-white:hover { color: #fff !important; }
.text-success { color: #25D366 !important; }

/* Offcanvas */
.offcanvas { background-color: #fff; }
.offcanvas-backdrop.show { opacity: 0.5; }

/* Sticky Navbar Shadow */
.sticky-top { transition: box-shadow 0.3s; }
.sticky-top.scrolled { box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
