@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Amiri:wght@700&display=swap');

:root {
    --wine: #6b1d2a;
    --wine-2: #8b2a3a;
    --saffron: #d9772c;
    --cream: #f6efe4;
    --ink: #241814;
    --card: #fffaf3;
    --line: #e6d8c6;
    --muted: #7a6a5a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cairo', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.75;
    padding-bottom: 78px;
}
img { max-width: 100%; display: block; }
a { color: var(--wine-2); text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--wine);
    color: #f7efe6;
}
.nav {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
}
.logo {
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    color: #f3c37a;
    letter-spacing: .04em;
}
.nav-links { display: flex; gap: 16px; margin-inline-start: auto; align-items: center; }
.nav-links a { color: #f7efe6; font-weight: 700; white-space: nowrap; }
.nav-links a:hover { color: #f3c37a; }
.lang {
    border: 1px solid #f3c37a;
    color: #f3c37a;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .82rem;
}
.nav > .lang { display: none; }
.cart-chip {
    background: var(--saffron);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ken 18s ease-in-out infinite alternate;
}
@keyframes ken {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
.hero-veil { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(36,12,16,.82)); }
.hero-copy { position: relative; z-index: 1; padding: 9vh 0 7vh; }
.hero-copy span { color: #f3c37a; letter-spacing: .18em; font-size: .82rem; }
.hero-copy h1 { font-family: 'Amiri', serif; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.15; }

.section { padding: 52px 0; }
.section h2 { font-family: 'Amiri', serif; font-size: 2rem; margin-bottom: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    animation: rise .6s ease both;
}
.card:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3) { animation-delay: .16s; }
.card:nth-child(4) { animation-delay: .24s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card .pad { padding: 12px 14px 16px; }
.price { color: var(--wine); font-weight: 800; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cats a, .cats button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 6px 12px;
    font-family: inherit;
    cursor: pointer;
}
.cats a.on, .cats button.on { background: var(--wine); color: #fff; border-color: var(--wine); }

.btn {
    display: inline-block;
    background: var(--saffron);
    color: #fff;
    border: 0;
    padding: 10px 16px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}
.btn.line { background: transparent; color: var(--wine); border: 1px solid var(--wine); }
.form { display: grid; gap: 10px; max-width: 460px; }
label { display: grid; gap: 4px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); padding: 10px; font-family: inherit; background: #fff; }
.alert { padding: 10px 14px; margin: 10px 0; background: #efe4d4; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 8px; border-bottom: 1px solid var(--line); text-align: start; }

.line-item { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 8px; margin-bottom: 8px; }
.line-item img { width: 64px; height: 64px; object-fit: cover; }

.footer { background: #241814; color: #eadfcf; padding: 28px 0 92px; }
.m-foot {
    position: fixed; bottom: 0; inset-inline: 0; display: flex;
    background: #fffaf3; border-top: 1px solid var(--line); z-index: 55;
}
.m-foot a { flex: 1; text-align: center; font-size: .68rem; padding: 8px 0 10px; color: var(--ink); }
.m-foot span { display: block; font-size: 1.1rem; }

@media (min-width: 961px) {
    body { padding-bottom: 0; }
    .m-foot { display: none; }
    .footer { padding-bottom: 28px; }
}
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav > .lang { display: inline-block; margin-inline-start: auto; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
