/* ========================================
   САД33 — Основные стили
   ======================================== */

:root {
    --bg: #f7f5f0;
    --bg-alt: #eee9df;
    --text: #2d3a2d;
    --text-light: #5a6b5a;
    --text-muted: #8a9a8a;
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #40916c;
    --accent: #d4853a;
    --accent-dark: #b5692a;
    --accent-light: #e8a55a;
    --card: #ffffff;
    --border: #d5cfc4;
    --border-light: #e8e3d9;
    --shadow-sm: 0 1px 3px rgba(45,58,45,.08);
    --shadow: 0 4px 12px rgba(45,58,45,.1);
    --shadow-lg: 0 8px 30px rgba(45,58,45,.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --danger: #c0392b;
    --success: #27ae60;
    --warning: #f39c12;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
#header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
}
#main-nav { display: flex; align-items: center; gap: 1.25rem; }
#main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    padding: .4rem .6rem;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
}
#main-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--primary); padding: .5rem; }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23ffffff08'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 750px; margin: 0 auto; }
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.hero p { font-size: 1.15rem; opacity: .92; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: .85rem; opacity: .8; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; display: flex; }

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section.bg-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; color: var(--primary); margin-bottom: .5rem; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; }
.section-badge { display: inline-block; background: var(--accent); color: #fff; padding: .3rem .9rem; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }

/* ===== ТОВАР ДНЯ ===== */
.pod-card {
    background: var(--card);
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.pod-image {
    height: 260px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}
.pod-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.pod-info h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: .5rem; }
.pod-info .pod-desc { color: var(--text-light); margin-bottom: 1rem; }
.pod-prices { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.pod-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.pod-old { text-decoration: line-through; color: var(--text-muted); font-size: 1.2rem; }
.pod-stock { font-size: .9rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* ===== КАРУСЕЛЬ ===== */
.carousel-wrapper { position: relative; display: flex; align-items: center; }
.carousel { flex: 1; overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform .4s ease; padding: .5rem 0; }
.carousel-card {
    min-width: 260px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.carousel-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.carousel-card-img { height: 160px; background: var(--bg-alt); border-radius: var(--radius-sm); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.carousel-card-img img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: .3rem; }
.carousel-card .card-cat { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.carousel-card .card-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin: .5rem 0 auto; }
.carousel-card .card-stock { font-size: .8rem; color: var(--text-light); margin-bottom: .75rem; }
.carousel-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--card);
    color: var(--primary);
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--primary); color: #fff; }
.carousel-prev { margin-right: 1rem; }
.carousel-next { margin-left: 1rem; }

/* ===== КАТЕГОРИИ ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.category-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
}
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.category-card h3 { color: var(--primary); margin-bottom: .3rem; }
.category-card p { color: var(--text-light); font-size: .9rem; }

/* ===== СОВЕТЫ ===== */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.tip-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.75rem;
    border-left: 4px solid var(--accent);
    transition: box-shadow .3s;
}
.tip-card:hover { box-shadow: var(--shadow); }
.tip-card .tip-date { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.tip-card h3 { color: var(--primary); margin-bottom: .75rem; font-size: 1.15rem; }
.tip-card p { color: var(--text-light); font-size: .95rem; }

/* ===== ОТЗЫВЫ ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border-light);
    transition: box-shadow .3s;
}
.review-card:hover { box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.review-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.review-name { font-weight: 600; color: var(--primary); }
.review-date { font-size: .8rem; color: var(--text-muted); }
.review-stars { color: #f5a623; margin-bottom: .75rem; font-size: 1.1rem; letter-spacing: 2px; }
.review-text { color: var(--text); font-size: .95rem; line-height: 1.6; }

/* ===== КОНТАКТЫ ===== */
.contacts-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.contact-card { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .15rem; }
.contact-card strong { display: block; color: var(--primary); margin-bottom: .2rem; }
.contact-card a { color: var(--text); text-decoration: none; }
.contact-card a:hover { color: var(--primary); }
.map-container { height: 400px; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--border-light); box-shadow: var(--shadow); }
#map { width: 100%; height: 100%; }

/* ===== FOOTER ===== */
footer { background: var(--primary-dark); color: #fff; padding: 3.5rem 0 1.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-desc { font-size: .9rem; opacity: .85; line-height: 1.6; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .75rem; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    transition: background .2s;
}
.social-links a:hover { background: rgba(255,255,255,.3); }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.85); text-decoration: none; margin-bottom: .6rem; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col p { font-size: .9rem; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; text-align: center; font-size: .85rem; opacity: .7; }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,30,20,.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn .2s ease;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp .3s ease;
}
.modal-sm { max-width: 440px; }
.modal-md { max-width: 560px; }
.modal-lg { max-width: 800px; }
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    z-index: 10;
}
.modal-close:hover { background: var(--border-light); }
.modal-header { padding: 2rem 2rem 0; text-align: center; }
.modal-header h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: .3rem; }
.modal-header p { color: var(--text-light); font-size: .95rem; }
.modal-body { padding: 1.5rem 2rem 2rem; }
.modal-footer-text { text-align: center; margin-top: 1.25rem; font-size: .9rem; color: var(--text-light); }
.modal-footer-text a { color: var(--primary); font-weight: 600; }

/* ===== ФОРМЫ ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color .2s, box-shadow .2s;
    background: var(--bg);
    color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,.15);
    background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: var(--danger); font-size: .8rem; margin-top: .3rem; display: block; min-height: 1rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; margin-bottom: 1.25rem; }
.checkbox-label input[type="checkbox"] { width: auto; }
.checkbox-label a { color: var(--primary); }

/* ===== Звёздный рейтинг ===== */
.star-rating { display: flex; gap: .25rem; font-size: 1.8rem; cursor: pointer; margin-bottom: .5rem; }
.star-rating span { color: #ddd; transition: color .15s; }
.star-rating span.active, .star-rating span:hover { color: #f5a623; }

/* ===== КОРЗИНА ===== */
.cart-items { max-height: 350px; overflow-y: auto; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}
.cart-item-img {
    width: 64px; height: 64px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--primary); }
.cart-item-price { font-size: .9rem; color: var(--text-light); }
.cart-item-controls { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cart-item-qty { font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-remove {
    background: none; border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.2rem;
    padding: .25rem;
    transition: transform .2s;
}
.cart-item-remove:hover { transform: scale(1.2); }
.cart-empty { text-align: center; padding: 2rem 0; }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.cart-empty h3 { color: var(--primary); margin-bottom: .5rem; }
.cart-empty p { color: var(--text-light); margin-bottom: 1.5rem; }
.cart-summary { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--border-light); }
.cart-summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .95rem; }
.cart-summary-row.discount { color: var(--success); }
.cart-summary-row.total { font-size: 1.25rem; font-weight: 800; color: var(--primary); border-top: 1px solid var(--border); padding-top: .75rem; margin-top: .5rem; }

/* ===== ЛИЧНЫЙ КАБИНЕТ ===== */
.profile-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border-light); }
.profile-tab {
    padding: .6rem 1.25rem;
    border: none;
    background: none;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
}
.profile-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.profile-panel { display: none; }
.profile-panel.active { display: block; }
.order-card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.order-id { font-weight: 700; color: var(--primary); }
.order-status { font-size: .8rem; padding: .2rem .6rem; border-radius: 12px; font-weight: 600; }
.order-status.new { background: #dbeafe; color: #1e40af; }
.order-status.processing { background: #fef3c7; color: #92400e; }
.order-status.completed { background: #d1fae5; color: #065f46; }
.order-status.cancelled { background: #fee2e2; color: #991b1b; }
.order-details { font-size: .9rem; color: var(--text-light); }

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .pod-card { grid-template-columns: 1fr; text-align: center; }
    .contacts-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    #main-nav { 
        display: none; 
        position: absolute; 
        top: var(--header-h); left: 0; right: 0; 
        background: var(--card); 
        flex-direction: column; 
        padding: 1rem 1.5rem; 
        border-bottom: 2px solid var(--border);
        box-shadow: var(--shadow);
        gap: .75rem;
    }
    #main-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 3rem 0 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .section { padding: 3rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .modal { margin: .5rem; }
    .modal-body { padding: 1.25rem 1.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .carousel-card { min-width: 220px; }
    .pod-card { padding: 1.5rem; }
    .pod-image { height: 200px; }
}
/* Выпадающий список подсказок адреса */
.suggestions-list {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); max-height: 200px;
    overflow-y: auto; z-index: 50; display: none;
    box-shadow: var(--shadow-lg); list-style: none; padding: 0; margin-top: 4px;
}
.suggestions-list li {
    padding: 0.75rem 1rem; cursor: pointer; font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light); color: var(--text);
}
.suggestions-list li:last-child { border-bottom: none; }
.suggestions-list li:hover { background: var(--bg-alt); }
.suggestions-list.empty { display: block; text-align: center; color: var(--text-muted); }

/* Кнопка корзины */
#cart-nav-btn { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
#cart-nav-btn:hover { background: var(--primary-dark); }

/* Сетка товаров с пагинацией */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.page-btn { padding: 0.5rem 1rem; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-sm); cursor: pointer; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Карточка товара (модальное окно) */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gallery-main { height: 350px; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 1rem; overflow-x: auto; }
.gallery-thumb { width: 70px; height: 70px; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; overflow: hidden; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Таблица заказов в админке */
.order-expand-btn { background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--primary); }
.order-details-panel { background: var(--bg); padding: 1rem; border-radius: var(--radius-sm); margin-top: 0.5rem; display: none; }
.order-details-panel.open { display: block; }
.print-btn { background: var(--text); color: #fff; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.85rem; cursor: pointer; }

@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { position: absolute; left: 0; top: 0; width: 100%; padding: 2rem; }
}

