/* ═══════════════════════════════════════════════════════
   COMPONENTS — переиспользуемые компоненты (корзина,
   авторизация, карточка товара, поиск, анимации, typage)
   ═══════════════════════════════════════════════════════ */

/* ─── ХЛЕБНЫЕ КРОШКИ (shared: catalog + product) ─── */
.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.cat-breadcrumb::-webkit-scrollbar { display: none; }
.cat-breadcrumb a { color: #666; text-decoration: none; transition: color 0.15s; }
.cat-breadcrumb a:hover { color: #f25e5e; }
.cat-breadcrumb span { color: #ddd; }
.cat-breadcrumb span:last-child { color: #555; }
/* ─── КНОПКА BTN-FIRE ─── */
.btn-fire {
    display: inline-block;
    text-decoration: none;
    margin-top: 16px;
    padding: 11px 28px;
    background: #f25e5e;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
    box-shadow: 0 2px 0 #a33a0f, 0 4px 12px rgba(255,107,43,0.3);
}
.btn-fire::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.28) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    transition: none;
}
.btn-fire:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #a33a0f, 0 8px 24px rgba(255,107,43,0.45);
    background: #eb5757;
}
.btn-fire:hover::before { left: 130%; transition: left 0.55s ease; }
.btn-fire:active { transform: translateY(1px); box-shadow: 0 1px 0 #eb5757, 0 2px 8px #6b0000; background: #d11313; }

/* ─── ИКОНКИ ПРЕИМУЩЕСТВ (shared: home + product) ─── */
.f-ico-wrap {
    width: 44px;
    height: 44px;
    padding: 9px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f25e5e;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.f-ico-wrap svg { width: 100%; height: 100%; }
.f-title { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.f-desc { font-size: 12px; color: #999; margin-top: 3px; line-height: 1.4; }

.ico-delivery { background: linear-gradient(135deg, #f25e5e 0%, #ff8c42 100%); box-shadow: 0 4px 12px rgba(242,94,94,0.3); }
.ico-quality  { background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%); box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.ico-price    { background: linear-gradient(135deg, #10b981 0%, #84cc16 100%); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.ico-support  { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); box-shadow: 0 4px 12px rgba(139,92,246,0.3); }

/* ─── КАРТОЧКА ТОВАРА ─── */
.product-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #f9c4b8;
}

.product-card-img-wrap {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background: white;
    overflow: hidden;
}
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card-badge.in-stock  { background: #e8f7f1; color: #059669; }
.product-card-badge.out-stock { background: #888; color: white; }

.product-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card-img--contain { object-fit: contain; }
.product-card-img--cover   { object-fit: cover; }
.product-card:hover .product-card-img:not(.carousel-slide) { transform: scale(1.04); }
.product-card-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; opacity: 0.2;
}

.product-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
    flex: 1;
}
.product-card-name:hover { color: #f25e5e; }
.product-card-sku { font-size: 11px; color: #bbb; }
.product-card-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.product-card-price {
    font-size: 17px;
    font-weight: 900;
    color: #1a1a1a;
    white-space: nowrap;
}
.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
.product-card-add form { width: 100%; }
.product-card-controls {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    height: 34px;
}
.product-card-qty {
    display: flex;
    align-items: stretch;
    border-right: 1px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
    background: #f4f4f4;
    border-radius: 8px 0 0 8px;
}
.qty-btn {
    width: 26px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 15px;
    cursor: pointer;
    color: #555;
    transition: background 0.1s, color 0.1s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.qty-btn:focus        { outline: none; }
.qty-btn:focus-visible { outline: none; }
.qty-btn:hover        { background: #f0f0f0; color: #f25e5e; }
.qty-val {
    width: 34px;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-right: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    font-weight: 700;
    color: #222;
    background: #f4f4f4;
    padding: 0;
    -moz-appearance: textfield;
    outline: none;
}
.qty-val::-webkit-inner-spin-button,
.qty-val::-webkit-outer-spin-button { -webkit-appearance: none; }

.product-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    padding: 0 10px;
    background: #f25e5e;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    outline: none;
}
.product-card-btn:hover    { background: #d94f4f; }
.product-card-btn:active   { opacity: 0.85; }
.product-card-btn:disabled { background: #eee; color: #bbb; cursor: not-allowed; }
.product-card-btn.added       { background: #22c55e; }
.product-card-btn.added:hover { background: #16a34a; }

.product-card-out { font-size: 12px; color: #bbb; font-weight: 600; }

/* ─── КАРУСЕЛЬ НА КАРТОЧКАХ ТОВАРОВ ─── */
.product-card-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.carousel-btn:hover { opacity: 1; }

.carousel-btn--prev { left: 6px; }
.carousel-btn--next { right: 6px; }
.carousel-btn:hover { background: rgba(0,0,0,0.6); }

/* ─── МОДАЛКА АВТОРИЗАЦИИ ─── */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.auth-overlay.open { opacity: 1; pointer-events: all; }
.auth-modal {
    background: white;
    border-radius: 18px;
    padding: 36px;
    width: 480px;
    max-width: 95vw;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}
.auth-overlay.open .auth-modal { transform: translateY(0) scale(1); }
.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f4f4f4;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #888;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-close:hover { background: #eee; color: #333; }
.auth-tabs {
    display: flex;
    gap: 4px;
    background: #f4f4f4;
    border-radius: 10px;
    padding: 4px;
    margin-top: 32px;
    margin-bottom: 28px;
}
.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.auth-tab.active { background: white; color: #222; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.auth-field input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.auth-field input:focus { border-color: #f25e5e; background: white; box-shadow: 0 0 0 3px rgba(242,94,94,0.1); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-optional { font-size: 11px; color: #bbb; font-weight: 400; }
.auth-submit {
    width: 100%;
    padding: 13px;
    background: #f25e5e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s, transform 0.1s;
}
.auth-submit:hover  { background: #d94f4f; }
.auth-submit:active { transform: scale(0.98); }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: #888; }
.auth-switch a { color: #f25e5e; text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ─── DRAWER КОРЗИНЫ ─── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 33.333vw;
    min-width: 380px;
    max-width: 520px;
    background: white;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #2a2a2a;
    flex-shrink: 0;
}
.cart-drawer-title { font-size: 16px; font-weight: 700; color: white; display: flex; align-items: center; gap: 8px; }
.cart-drawer-cnt {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 2px 7px;
    letter-spacing: 0.3px;
}
.cart-drawer-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}
.cart-drawer-close:hover { background: rgba(255,255,255,0.2); }

.cart-drawer-subhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    flex-shrink: 0;
}
.cart-drawer-total { font-size: 15px; color: #555; }
.cart-drawer-total strong { color: #222; font-size: 17px; font-weight: 800; }
.cart-clear-btn {
    background: none;
    border: 1px solid #e0e0e0;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.15s;
    white-space: nowrap;
}
.cart-clear-btn:hover { border-color: #f25e5e; color: #f25e5e; background: rgba(242,94,94,0.05); }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 8px 0; }
.cart-drawer-items::-webkit-scrollbar       { width: 4px; }
.cart-drawer-items::-webkit-scrollbar-track { background: transparent; }
.cart-drawer-items::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f4f4f4;
    position: relative;
}
.cart-item:hover { background: #fafafa; }
.cart-item-img {
    width: 64px; height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
    border: 1px solid #eee;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    transition: color 0.15s;
    padding-right: 36px;
}
.cart-item-name:hover { color: #f25e5e; }
.cart-item-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}
.cart-qty-btn {
    width: 30px; height: 28px;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-qty-btn:hover  { background: #f25e5e; color: white; }
.cart-qty-btn:active { background: #a33a0f; color: white; }
.cart-item-controls .cart-qty-val {
    flex: 1;
    width: auto;
    min-width: 28px;
}
.cart-qty-input {
    -moz-appearance: textfield;
    outline: none;
    border: none;
    background: transparent;
    cursor: text;
    text-align: center;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-item-price { font-size: 15px; font-weight: 800; color: #222; white-space: nowrap; margin-left: auto; flex-shrink: 0; }
.cart-item-remove {
    background: #f4f4f4;
    border: none;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    position: absolute;
    top: 14px; right: 20px;
}
.cart-item-remove:hover { background: #fee2e2; color: #f25e5e; }
.cart-item-sku { font-size: 11px; color: #bbb; white-space: nowrap; }

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
}
.cart-empty-ico  { font-size: 56px; opacity: 0.2; }
.cart-empty-text { font-size: 16px; font-weight: 600; color: #bbb; }
.cart-empty-link { font-size: 13px; color: #f25e5e; text-decoration: none; margin-top: 4px; }
.cart-empty-link:hover { text-decoration: underline; }

.cart-drawer-footer {
    flex-shrink: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid #eee;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.cart-quick { margin-bottom: 12px; }
.cart-quick-title {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.cart-quick-form { display: flex; gap: 8px; }
.cart-quick-phone {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}
.cart-quick-phone:focus { border-color: #f25e5e; background: white; box-shadow: 0 0 0 3px rgba(242,94,94,0.1); }
.cart-quick-btn {
    padding: 10px 20px;
    background: #f25e5e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}
.cart-quick-btn:hover  { background: #d94f4f; }
.cart-quick-btn:active { transform: scale(0.97); }
.cart-checkout-link {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    padding-top: 10px;
    transition: color 0.15s;
}
.cart-checkout-link:hover { color: #f25e5e; }
.cart-checkout-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 11px 20px;
    font-size: 14px;
}
.cart-quick-error {
    font-size: 12px;
    color: #f25e5e;
    margin-bottom: 6px;
    padding: 6px 10px;
    background: rgba(242,94,94,0.08);
    border-radius: 6px;
    border-left: 3px solid #f25e5e;
}

/* ─── ЖИВОЙ ПОИСК (подсказки) ─── */
.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 900;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    overflow: hidden;
}
.search-suggest-list { display: flex; flex-direction: column; }
.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.12s;
}
.search-suggest-item:last-child { border-bottom: none; }
.search-suggest-item:hover { background: #fff5f0; }
.search-suggest-img-wrap {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-suggest-img { width: 100%; height: 100%; object-fit: cover; }
.search-suggest-no-img { font-size: 20px; }
.search-suggest-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-suggest-name {
    font-size: 14px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-suggest-sku   { font-size: 12px; color: #aaa; }
.search-suggest-price { font-size: 14px; font-weight: 700; color: #f25e5e; white-space: nowrap; flex-shrink: 0; }

/* ─── СТРАНИЦА «СПАСИБО» ─── */
.ty-page { padding: 60px 0 80px; background: #f4f4f4; min-height: 60vh; }
.ty-wrap { max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ty-icon { width: 80px; height: 80px; background: #f0fdf4; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ty-title { font-size: 28px; font-weight: 700; color: #1a1a1a; margin: 0; text-align: center; }
.ty-subtitle { font-size: 16px; color: #555; margin: -12px 0 0; text-align: center; }
.ty-card { width: 100%; background: white; border-radius: 14px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.ty-card-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.ty-details { display: flex; flex-direction: column; gap: 10px; }
.ty-detail-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; }
.ty-detail-row--total { padding-top: 10px; border-top: 1px solid #f0f0f0; margin-top: 4px; }
.ty-detail-label { color: #888; flex-shrink: 0; }
.ty-detail-value { color: #222; text-align: right; }
.ty-total { font-size: 18px; font-weight: 700; color: #f25e5e; }
.ty-steps { display: flex; flex-direction: column; gap: 14px; }
.ty-step { display: flex; gap: 14px; align-items: flex-start; }
.ty-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f25e5e;
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.ty-step-text { font-size: 14px; color: #444; line-height: 1.5; }
.ty-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.ty-btn-primary {
    background: #f25e5e; color: white; border: none; border-radius: 10px;
    padding: 13px 28px; font-size: 15px; font-weight: 600;
    text-decoration: none; transition: background 0.15s;
}
.ty-btn-primary:hover { background: #d11313; }
.ty-btn-secondary {
    background: white; color: #333; border: 1px solid #e0e0e0; border-radius: 10px;
    padding: 13px 28px; font-size: 15px; font-weight: 600;
    text-decoration: none; transition: border-color 0.15s, color 0.15s;
}
.ty-btn-secondary:hover { border-color: #f25e5e; color: #f25e5e; }
.ty-help { font-size: 14px; color: #888; text-align: center; }
.ty-help-phone { color: #f25e5e; font-weight: 600; text-decoration: none; }
.ty-help-phone:hover { text-decoration: underline; }

/* ─── АНИМАЦИИ ─── */
.cat-card {
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
                box-shadow 0.2s, border-color 0.2s !important;
}
.feature-card {
    padding: 14px 16px;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) !important;
}
.feature-card:hover .f-ico { display: inline-block; animation: wiggle 0.4s ease; }
@keyframes wiggle {
    0%   { transform: rotate(0deg)   scale(1); }
    25%  { transform: rotate(-12deg) scale(1.2); }
    75%  { transform: rotate(8deg)   scale(1.1); }
    100% { transform: rotate(0deg)   scale(1); }
}
.cart-btn:hover .cart-count { animation: cartBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes cartBounce {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.feature-card:hover .ico-delivery { box-shadow: 0 8px 20px rgba(242,94,94,0.4); }
.feature-card:hover .ico-quality  { box-shadow: 0 8px 20px rgba(59,130,246,0.4); }
.feature-card:hover .ico-price    { box-shadow: 0 8px 20px rgba(16,185,129,0.4); }
.feature-card:hover .ico-support  { box-shadow: 0 8px 20px rgba(139,92,246,0.4); }
