/* ===== style.css — Основные стили для pharm.at.by ===== */

/* Базовые настройки */
body {
    margin: 0;
    background-color: #faf5f0;
    font-family: 'TildaSans', Arial, sans-serif;
}

/* Кнопки Tilda */
.t1028__btn {
    text-decoration: none !important;
}
.t1028__btn:hover {
    opacity: 0.9;
}

/* ===== Сетка услуг (services.html) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-card h3 {
    color: #170500;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.service-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.service-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

/* Кнопка "Назад" */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #170500;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #170500;
    border-radius: 50px;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #170500;
    color: #fff;
}

/* ===== Карточка акции (index.html) ===== */
.promo-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.promo-card .t-card__title {
    color: #170500;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.promo-card .t-card__descr {
    color: #170500;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

/* ===== Общие кнопки ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background-color: #170500;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #170500;
    border: 2px solid #170500;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #170500;
    color: #fff;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #170500;
    border: 2px solid #170500;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-messenger:hover {
    opacity: 0.9;
}

/* Отступы между элементами списков кнопок */
.t1028__items-list .t1028__item {
    margin-bottom: 20px;
}
.t1028__items-list .t1028__item:last-child {
    margin-bottom: 0;
}

/* ===== Логотипы — выравнивание влево ===== */
#rec-header .t-col_12 {
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#rec-header .logo-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#rec-header .t962__img {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Для мобильных устройств — центрирование */
@media (max-width: 768px) {
    #rec-header .t-col_12 {
        text-align: center !important;
    }
    #rec-header .logo-container {
        justify-content: center !important;
    }
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}
.site-footer a {
    color: #ccc;
    text-decoration: none;
}

