@font-face {
    font-family: 'BakeryFont';
    src: url('../bakery-font/bakery.otf') format('opentype'),
         url('../bakery-font/bakery.ttf') format('truetype');
}

:root {
    --bg: #FFFBFB;
    --fg: #4A3B3B;
    --accent: #D4A5A5;
    --muted: #A38C8C;
    --font-display: 'BakeryFont', serif;
    --font-ui: 'Plus Jakarta Sans', sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-ui);
    padding: 2rem 1.5rem;
}

#app {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 380px) {
    .logo { font-size: 2.5rem; }
    .item-header h3 { font-size: 1.5rem; }
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--muted);
}

#cat-list {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 165, 165, 0.2);
    scrollbar-width: none;
}

#cat-list::-webkit-scrollbar { display: none; }

.cat-item {
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.cat-item.active {
    color: var(--fg);
    position: relative;
}

.cat-item.active::after {
    content: '';
    position: absolute;
    bottom: -2.1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

#items-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s var(--ease) forwards;
    animation-delay: var(--delay);
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
}

.price {
    font-weight: 700;
    color: var(--accent);
}

.item-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}
