:root {
    --bg: #fff7ed;
    --card: #fff;
    --text: #111827;
    --muted: #6b7280;
    --line: #efe7dd;

    --tomato: #e63946;
    --orange: #f4a261;
    --mint: #2a9d8f;

    --radius: 18px;
    --shadow: 0 14px 28px rgba(12, 24, 39, .08);

    --font: "Inter", system-ui, --apple-system, Segoe UI, Roboto, Arial, sans-serif;

}

*{
    box-sizing: border-box;
}
html, body{ height: 100%;}
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(800px 360px at 20% -10%, rgba(230, 57, 70, .14), transparent 60%),
        radial-gradient(800px 360px at 85% -10%, rgba(244, 162, 97, .18), transparent 60%),
    var(--bg);
}

.wrap {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.top{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,247,237,.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__dot {
    width: 12px;
    height: 12px;
    border: 999px;
    background: linear-gradient(135deg, var(--tomato), var(--orange)) ;
    box-shadow: 0 10px 18px rgba(230, 57, 70, .8);
}

.brand strong{
    display: block;
    line-height: 1.2;
}

.brand small {
    color: var(--muted);
    font-weight: 700;
}

.hero{
    padding: 18px 0 8px;
}

.hero h1 {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.1;
}

.hero p{
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 0 26px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.card--soft {
    background: rgba(255, 255, 255, .75);
}

.tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: #135f56;
    font-weight: 900;
    font-size: .85rem;
}

h2{ margin: 10px 0 6px; font-size: 1.25rem;}
h3{ margin: 0 0 12px; font-size: 1.1rem;}

.desc {
    margin: 0 0 12px; color: var(--muted); font-weight: 700; line-height: 1.45;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 12px;
}

.price strong{font-size: 1.2rem;}
.price small{ color: var(--muted); font-weight: 800;}

.qty{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    padding: 6px 8px;
    background: rgba(17, 24, 39, .02);
    border-radius: 999px;
}

.icon{
    width: 34px; height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

.num{
    min-width: 18px;
    text-align: center;
    font-weight: 900;
}


.btn{
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.btn--primary {
    border-color: rgba(230, 57, 70, .22);
    background: linear-gradient(135deg, rgba(230,57,70,.9), rgba(244,162,97,.78));
    color: #1f2937;
}

.btn:disabled{
    opacity: .55;
    cursor: not-allowed;
}

.full {
    width: 100%;
}

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

.cartLine{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(17,24,39,.02);
}

.total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.total strong {
    font-size: 1.2rem;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.foot {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}


@media (max-width: 820px) {
    .grid{ grid-template-columns: 1fr;}
    .actions{ grid-template-columns: 1fr;}
}