@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --bg: #0d0d1a;
    --surface: #13132a;
    --surface-2: #1a1a35;
    --accent: #c8a96e;
    --accent-2: #e8c990;
    --text: #f0eee8;
    --text-muted: #8888aa;
    --border: rgba(200, 169, 110, 0.18);
    --card-bg: rgba(26, 26, 53, 0.85);
    --glass-bg: rgba(13, 13, 26, 0.55);
    --glass-border: rgba(200, 169, 110, 0.22);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    --pill-bg: rgba(200, 169, 110, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
}

[data-theme="light"] {
    --bg: #f0ece4;
    --surface: #e8e2d8;
    --surface-2: #fff;
    --accent: #7a5c2e;
    --accent-2: #b07a3a;
    --text: #1a1206;
    --text-muted: #7a6c54;
    --border: rgba(122, 92, 46, 0.18);
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(240, 236, 228, 0.55);
    --glass-border: rgba(122, 92, 46, 0.22);
    --glass-highlight: rgba(255, 255, 255, 0.55);
    --pill-bg: rgba(122, 92, 46, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    transition: background 0.4s, color 0.4s;
    overflow-x: hidden;
}

/* ── BACKGROUND BLOBS ── */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: floatBlob 18s infinite alternate ease-in-out;
}

.blob-1 {
    width: 55vw;
    height: 55vw;
    top: -15%;
    left: -10%;
    background: #2a1a5e;
    opacity: 0.5;
    animation-delay: 0s;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    bottom: -10%;
    right: -5%;
    background: #5e3a1a;
    opacity: 0.4;
    animation-delay: -6s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    top: 40%;
    left: 35%;
    background: #1a3a5e;
    opacity: 0.3;
    animation-delay: -12s;
}

[data-theme="light"] .blob-1 {
    background: #d4c4a0;
    opacity: 0.6;
}

[data-theme="light"] .blob-2 {
    background: #c4a07a;
    opacity: 0.5;
}

[data-theme="light"] .blob-3 {
    background: #a0b4d4;
    opacity: 0.3;
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: color 0.3s;
    z-index: 2;
}

.cart-image {
    width: 100%;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    color: var(--bg);
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}