/* ============================================================
   Лавка деда Коли — палитра «Organic» (тёплый крем + терракота + олива)
   Портирована из макета Claude Design. Токены — единственный источник вида.
   ============================================================ */
:root {
    --color-bg: #f5ead8;         /* фон страницы — тёплый крем */
    --color-card: #fffdf8;       /* карточки, дровер, формы */
    --color-surface: #ebddc5;    /* инпуты, второстепенные плашки */
    --color-text: #201e1d;
    --color-divider: color-mix(in srgb, #201e1d 15%, transparent);

    --color-accent: #c67139;     /* терракота */
    --color-accent-600: #b2622d;
    --color-accent-700: #8c491a;
    --color-accent-100: #fff2eb;
    --color-accent-200: #ffe1d0;

    --color-accent-2: #7a8a5e;   /* олива */
    --color-accent-2-100: #f0fae1;
    --color-accent-2-200: #e1eecc;
    --color-accent-2-600: #728157;
    --color-accent-2-700: #56633f;
    --color-accent-2-900: #272e1b;

    --color-neutral-100: #f9f4ed;
    --color-neutral-200: #eee7db;
    --color-neutral-300: #dcd3c4;
    --color-neutral-500: #a19786;
    --color-neutral-600: #82796a;
    --color-neutral-700: #645c50;
    --color-neutral-800: #474238;

    --danger: #b3402c;

    /* Кириллично-надёжные системные стеки, без внешних зависимостей.
       Caprasimo/Figtree из макета не имеют кириллицы → на рус. сайте бесполезны. */
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 3px color-mix(in srgb, #2e2b25 12%, transparent);
    --shadow-md: 0 4px 14px color-mix(in srgb, #2e2b25 15%, transparent);
    --shadow-lg: 0 14px 36px color-mix(in srgb, #2e2b25 22%, transparent);
}

* { box-sizing: border-box; }
/* Атрибут hidden обязан ГАРАНТИРОВАННО прятать элемент, даже если у него есть
   своё правило display (иначе дровер/бейдж/пустое-состояние «залипают» видимыми). */
[hidden] { display: none !important; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.main { padding: 22px 20px 60px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--color-neutral-300); border-radius: 999px; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; text-decoration: none; font-family: var(--font-body);
    font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--color-text);
    background: var(--color-card); border: 1px solid var(--color-divider);
    padding: 12px 20px; border-radius: 999px; transition: transform .05s, background .15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { background: var(--color-card); border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 6%, var(--color-card)); }
.btn-danger { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-ghost { border: 0; background: transparent; color: var(--color-neutral-600); padding: 4px 8px; }
.btn-small { padding: 9px 15px; font-size: 0.92rem; }
.btn-big { width: 100%; padding: 16px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn.added { background: var(--color-accent-2); color: #fff; border-color: var(--color-accent-2); }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--color-bg) 86%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-divider);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--color-text); }
.brand-emoji { font-size: 1.7rem; line-height: 1; }
.brand-text { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1; }
.cart-link {
    display: inline-flex; align-items: center; gap: 8px; position: relative;
    background: var(--color-card); border: 1px solid var(--color-divider); color: var(--color-text);
    padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.cart-link:hover { background: color-mix(in srgb, var(--color-text) 6%, var(--color-card)); }
.cart-ico { font-size: 1.15rem; }
.cart-count {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: var(--color-accent); color: #fff; font-size: 0.78rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Хиро ---------- */
.hero {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 140% at 88% 0%, var(--color-accent-200) 0%, transparent 46%),
        radial-gradient(90% 120% at 0% 100%, var(--color-accent-2-200) 0%, transparent 50%),
        var(--color-accent-2-100);
    padding: clamp(28px, 5vw, 56px); margin-bottom: 44px;
}
.hero-inner { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.hero-text { flex: 1 1 320px; min-width: 260px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--color-card);
    padding: 7px 15px; border-radius: 999px; font-size: 0.85rem; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--color-accent-2-600); }
.hero-title { font-size: clamp(34px, 6vw, 58px); line-height: 1.02; margin: 0 0 12px; color: var(--color-accent-2-900); }
.hero-sub { font-size: clamp(16px, 2.2vw, 21px); max-width: 34ch; margin: 0 0 24px; color: var(--color-neutral-800); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; background: var(--color-card);
    padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
    font-size: 0.92rem; font-weight: 500; color: var(--color-text); text-decoration: none;
}
.chip-link:hover { background: color-mix(in srgb, var(--color-text) 5%, var(--color-card)); }
.hero-photo { flex: 1 1 300px; min-width: 240px; max-width: 420px; }
.hero-photo img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}

/* ---------- Секции ---------- */
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin: 0; color: var(--color-accent-2-900); }
.section-note { color: var(--color-neutral-600); font-size: 0.95rem; }
.products { margin-bottom: 52px; }

/* ---------- Сетка товаров ---------- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px;
}
.card {
    display: flex; flex-direction: column; background: var(--color-card);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
}
.card-photo {
    position: relative; aspect-ratio: 1/1; background: var(--color-accent-2-200);
    display: flex; align-items: center; justify-content: center;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { font-size: 3.4rem; opacity: 0.85; }
.card-tag {
    position: absolute; right: 12px; top: 12px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; padding: 4px 11px; border-radius: 999px;
}
.tag-hit { background: var(--color-accent-100); color: var(--color-accent-700); }
.tag-out { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.card.sold-out { opacity: 0.82; }
.card.sold-out .card-photo { filter: grayscale(0.7); }

.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-name { margin: 0; font-size: 1.25rem; line-height: 1.15; }
.card-desc { margin: 0; color: var(--color-neutral-700); font-size: 0.9rem; flex: 1; }
.card-price { margin: 4px 0 0; display: flex; align-items: baseline; gap: 6px; }
.card-price b { font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; color: var(--color-accent-700); }
.price-free { font-family: var(--font-heading); font-weight: 400; font-size: 1.45rem; color: var(--color-accent-2-700); }
.price-unit { color: var(--color-neutral-600); font-size: 0.9rem; }

/* степпер количества */
.qty-row { display: flex; gap: 10px; align-items: stretch; margin-top: 6px; }
.qty-stepper {
    display: inline-flex; align-items: center;
    border: 1px solid var(--color-divider); border-radius: 999px; overflow: hidden; background: var(--color-card);
}
.qty-btn {
    width: 42px; height: 46px; border: 0; background: transparent; color: var(--color-text);
    font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.qty-btn:active { background: color-mix(in srgb, var(--color-text) 8%, transparent); }
.qty-val { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.qty-row .btn-add { flex: 1; height: 46px; }

/* нет в наличии / напомнить */
.restock { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.restock-when {
    margin: 0; font-size: 0.9rem; color: var(--color-neutral-700);
    background: var(--color-neutral-100); padding: 9px 13px; border-radius: 999px; align-self: flex-start;
}
.notify-form { display: flex; gap: 8px; }
.notify-form input { flex: 1; min-width: 0; }
.notify-form .btn-small { white-space: nowrap; }
.notify-hint { color: var(--color-neutral-600); font-size: 0.8rem; margin: 0; }
.notify-done { color: var(--color-accent-2-700); font-weight: 600; margin: 6px 0; }

/* ---------- Блок «о деде» ---------- */
.about { margin-bottom: 52px; }
.about-inner {
    display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); align-items: center;
    background:
        radial-gradient(100% 130% at 100% 0%, var(--color-accent-2-200) 0%, transparent 55%),
        var(--color-accent-2-100);
    border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px);
}
.about-photo { flex: 0 1 300px; min-width: 220px; max-width: 330px; margin: 0 auto; position: relative; }
.about-photo img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
}
.about-photo-ph {
    aspect-ratio: 3/4; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    background: var(--color-accent-2-200); display: grid; place-items: center; transform: rotate(-1.5deg);
}
.about-photo-ph span { font-size: 5rem; }
.about-sticker {
    position: absolute; bottom: -14px; right: -8px; background: var(--color-card);
    padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    font-family: var(--font-heading); font-size: 0.95rem; transform: rotate(3deg);
}
.about-text { flex: 1 1 300px; min-width: 270px; }
.about-text h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 14px; color: var(--color-accent-2-900); }
.about-text p { font-size: clamp(15px, 2vw, 18px); line-height: 1.55; margin: 0 0 12px; color: var(--color-neutral-800); max-width: 46ch; }
.about-call { margin-top: 10px; }

.tag { display: inline-flex; align-items: center; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-700); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-700); border: 1px solid color-mix(in srgb, var(--color-accent-2) 40%, transparent); }
.about-tag { margin-bottom: 14px; }

/* ---------- Карта ---------- */
.map-section { margin-bottom: 40px; scroll-margin-top: 84px; }
.map-title { font-size: clamp(24px, 4vw, 34px); margin: 0 0 6px; color: var(--color-accent-2-900); }
.map-addr { color: var(--color-neutral-700); font-weight: 500; margin: 0 0 16px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; border: 0; }
.map-route { margin-top: 16px; }

/* ---------- Пустое состояние ---------- */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-emoji { font-size: 3.6rem; margin: 0 0 8px; }
.empty-state .btn { margin-top: 18px; }

/* ============================================================
   Выезжающая корзина (drawer)
   ============================================================ */
.cart-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: color-mix(in srgb, #2e2b25 46%, transparent); animation: fadeIn .2s ease;
}
.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 100%);
    background: var(--color-bg); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; animation: slideIn .28s cubic-bezier(.22,.61,.36,1);
}
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--color-divider); }
.drawer-ico { font-size: 1.4rem; }
.drawer-title { flex: 1; margin: 0; font-size: 1.5rem; }
.drawer-close {
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--color-divider);
    background: var(--color-card); cursor: pointer; font-size: 1.1rem; color: var(--color-text);
}
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 32px; }
.drawer-empty-ico { font-size: 3.2rem; opacity: 0.7; }
.drawer-empty-title { font-family: var(--font-heading); font-size: 1.35rem; margin: 0; }
.drawer-empty-sub { color: var(--color-neutral-600); font-size: 0.95rem; margin: 0; max-width: 24ch; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.drawer-items { display: flex; flex-direction: column; }
.drawer-item { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--color-divider); }
.di-main { flex: 1; min-width: 0; }
.di-name { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.15; }
.di-stepper { margin-top: 8px; }
.di-stepper .qty-btn { width: 34px; height: 34px; font-size: 1.25rem; }
.di-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.di-price { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-accent-700); }
.di-remove { border: 0; background: transparent; color: var(--color-neutral-600); font-size: 0.78rem; cursor: pointer; padding: 2px 4px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--color-divider); background: var(--color-surface); }
.drawer-total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; font-size: 1rem; }
.drawer-total { font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; color: var(--color-accent-700); }
.drawer-note { color: var(--color-neutral-600); font-size: 0.75rem; text-align: center; margin: 10px 0 0; }

@keyframes slideIn { from { transform: translateX(105%); } to { transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Страница корзины и оформления
   ============================================================ */
.cart-page { max-width: 620px; margin: 0 auto; }
.page-title { font-size: clamp(26px, 4vw, 34px); color: var(--color-accent-2-900); }
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item {
    background: var(--color-card); border: 1px solid var(--color-divider); border-radius: var(--radius-md);
    padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm);
}
.ci-main { flex: 1; }
.ci-name { font-family: var(--font-heading); font-size: 1.1rem; }
.ci-price { color: var(--color-neutral-600); font-size: 0.9rem; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--color-divider); border-radius: 999px; overflow: hidden; }
.ci-qty .qty-btn { width: 36px; height: 38px; font-size: 1.3rem; }
.ci-remove { background: none; border: 0; color: var(--danger); font-size: 1.35rem; cursor: pointer; padding: 4px; }
.cart-total { text-align: right; font-size: 1.25rem; margin: 8px 0 22px; }
.cart-total b { font-family: var(--font-heading); font-weight: 400; color: var(--color-accent-700); }

.checkout {
    display: flex; flex-direction: column; gap: 16px;
    background: var(--color-card); border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
}
.checkout h2 { margin: 0; font-size: 1.4rem; color: var(--color-accent-2-900); }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
input, textarea, select {
    font: inherit; padding: 12px 14px; border: 1px solid var(--color-divider); border-radius: 999px;
    background: var(--color-card); color: var(--color-text); width: 100%;
}
textarea { border-radius: var(--radius-md); resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--color-accent); }
input[type="radio"], input[type="checkbox"] { width: auto; accent-color: var(--color-accent); }
.form-row { display: flex; gap: 14px; }
.form-row label { flex: 1; }
.checkbox, .radio { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
fieldset.fulfillment { border: 1px solid var(--color-divider); border-radius: var(--radius-md); padding: 12px 16px; }
fieldset.fulfillment legend { font-weight: 700; padding: 0 6px; }
.fulfillment .radio { display: inline-flex; margin-right: 22px; }
.pay-note, .delivery-note {
    background: var(--color-accent-100); border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
    border-radius: var(--radius-md); padding: 11px 14px; margin: 0; color: var(--color-accent-700); font-size: 0.95rem;
}
.delivery-note { margin-top: 12px; }
.form-error { color: var(--danger); font-weight: 600; margin: 0; }
.back-link { display: inline-block; margin-top: 18px; }

/* ---------- Спасибо ---------- */
.thanks { text-align: center; padding: 50px 20px; max-width: 520px; margin: 0 auto; }
.thanks-emoji { font-size: 4rem; margin: 0; }
.thanks h1 { color: var(--color-accent-2-900); }
.thanks-num { font-size: 1.2rem; font-weight: 700; }
.thanks-pickup { color: var(--color-neutral-600); font-weight: 600; }
.thanks-note { max-width: 420px; margin: 16px auto; }
.thanks .btn { margin-top: 20px; }

/* ---------- Футер ---------- */
.site-footer { border-top: 1px solid var(--color-divider); margin-top: 44px; padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.footer-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 8px; }
.footer-sub { color: var(--color-neutral-600); font-size: 0.95rem; margin: 0; max-width: 36ch; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-line { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text); text-decoration: none; }
.footer-line:hover { color: var(--color-accent-700); }

/* ============================================================
   Формы админки / вход
   ============================================================ */
.form-box, .login-box {
    max-width: 560px; margin: 0 auto; background: var(--color-card);
    border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.form-box form, .login-box form { display: flex; flex-direction: column; gap: 16px; }
.form-box h1, .login-box h1 { margin-top: 0; color: var(--color-accent-2-900); }
.field-hint { font-weight: 400; color: var(--color-neutral-600); font-size: 0.82rem; }
.current-photo img { width: 120px; border-radius: var(--radius-md); margin-top: -6px; }

/* ============================================================
   Панель управления (админка)
   ============================================================ */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.admin-head h1 { color: var(--color-accent-2-900); }
.admin-section { margin-top: 30px; }
.admin-section h2 { border-bottom: 1px solid var(--color-divider); padding-bottom: 8px; color: var(--color-accent-2-900); }
.badge { background: var(--color-accent); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: 0.8rem; vertical-align: middle; font-weight: 600; }
.muted { color: var(--color-neutral-600); }
.inline { display: inline; margin: 0; }

.orders { display: flex; flex-direction: column; gap: 14px; }
.order {
    background: var(--color-card); border: 1px solid var(--color-divider); border-left: 5px solid var(--color-divider);
    border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.order-new { border-left-color: var(--color-accent); }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-status { font-size: 0.85rem; padding: 2px 11px; border-radius: 999px; }
.status-новый { background: var(--color-accent-200); color: var(--color-accent-700); }
.status-принят { background: #d7e8fb; color: #1a5a9e; }
.status-выполнен { background: var(--color-accent-2-200); color: var(--color-accent-2-700); }
.order-customer { color: var(--color-neutral-700); margin: 6px 0; }
.order-items { margin: 8px 0; padding-left: 20px; }
.order-comment { color: var(--color-neutral-700); margin: 6px 0; }
.order-bottom { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }

.admin-products { display: flex; flex-direction: column; gap: 12px; }
.admin-product {
    background: var(--color-card); border: 1px solid var(--color-divider); border-radius: var(--radius-md);
    padding: 12px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-sm);
}
.admin-product.unavailable { opacity: 0.6; }
.ap-photo { width: 70px; height: 70px; flex: 0 0 70px; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-accent-2-200); display: flex; align-items: center; justify-content: center; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap-photo span { font-size: 2.2rem; }
.ap-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ap-price { color: var(--color-neutral-600); }
.ap-restock { color: var(--color-accent); font-size: 0.9rem; }
.ap-wait { color: var(--danger); font-weight: 600; font-size: 0.9rem; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Адаптив ---------- */
@media (max-width: 640px) {
    .hero-photo { order: -1; }
    .about-photo { max-width: 260px; }
    .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
    body { font-size: 16px; }
    .brand-text { font-size: 1.1rem; }
    .cart-word { display: none; }
    .header-inner { min-height: 58px; gap: 10px; }
    .ap-actions { width: 100%; }
}
