/* ================================================================
   STILIST — Info Pages Premium Component System v2
   Доставка · Возврат · Бонусы · Салоны · Отзывы
   ================================================================ */

/* ── Page skeleton ── */
.info-hero {
    background: linear-gradient(135deg, var(--cream) 0%, #f5ece7 100%);
    border-bottom: 1px solid var(--border);
    padding: 48px 0 38px;
}
.info-hero--salon {
    background: linear-gradient(135deg, #f5ece7 0%, var(--cream) 60%, #f0ede8 100%);
}
.info-hero__title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500; color: var(--graphite);
    line-height: 1.15; margin-bottom: 10px;
}
.info-hero__sub {
    font-size: 15px; color: var(--text-2);
    max-width: 560px; line-height: 1.7;
    margin-top: 6px;
}

/* ── Two-column layout ── */
.info-layout {
    display: grid;
    grid-template-columns: 1fr 272px;
    gap: 52px;
    align-items: start;
    padding-top: 52px;
    padding-bottom: 80px;
}
.info-layout.container { padding-top: 52px; padding-bottom: 80px; }
.info-content { min-width: 0; }

/* ── Section ── */
.info-section { margin-bottom: 56px; }
.info-section:last-child { margin-bottom: 0; }
.info-section h2 {
    font-family: var(--serif);
    font-size: 24px; font-weight: 500;
    color: var(--graphite);
    margin-bottom: 6px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--border);
    line-height: 1.2;
    display: block;
}
.info-section h3 {
    font-size: 15px; font-weight: 650;
    color: var(--graphite); margin: 24px 0 12px;
}
.info-section__lead {
    font-size: 14.5px; color: var(--text-2);
    line-height: 1.7; margin-bottom: 22px;
}

/* ── Highlight box ── */
.info-highlight {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--brand-soft);
    border: 1px solid rgba(224,21,122,.12);
    border-radius: 12px;
    padding: 16px 18px; margin-bottom: 24px;
    font-size: 14px; color: var(--text); line-height: 1.65;
}
.info-highlight svg { flex-shrink: 0; color: var(--brand); margin-top: 1px; }
.info-highlight--success {
    background: rgba(45,107,63,.06);
    border-color: rgba(45,107,63,.18);
}
.info-highlight--success svg { color: var(--success); }

/* ================================================================
   CARDS — unified premium component
   ================================================================ */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px 18px;
    transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.info-card::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--sand));
    opacity: 0;
    transition: opacity .22s;
}
.info-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    border-color: rgba(224,21,122,.15);
    transform: translateY(-2px);
}
.info-card:hover::after { opacity: 1; }

/* Icon wrapper */
.info-card__icon {
    width: 44px; height: 44px;
    background: var(--brand-soft);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    margin-bottom: 4px;
}

/* Card text */
.info-card h3 {
    font-size: 14px; font-weight: 650;
    color: var(--graphite);
    line-height: 1.3; margin: 0;
}
.info-card p {
    font-size: 13px; color: var(--text-2);
    line-height: 1.55; margin: 0;
    flex: 1;
}

/* Price badge at bottom */
.info-card__price {
    display: inline-flex; align-items: center;
    margin-top: auto;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12.5px; font-weight: 700;
    background: var(--cream); color: var(--graphite);
    border: 1px solid var(--border);
    align-self: flex-start;
}
.info-card__price--free {
    background: rgba(45,107,63,.08);
    border-color: rgba(45,107,63,.2);
    color: var(--success);
}

/* Pickup variant */
.info-card--pickup {
    background: var(--cream);
    border-style: dashed;
    border-color: rgba(0,0,0,.12);
}
.info-card--pickup:hover {
    border-style: solid;
    border-color: var(--brand);
    background: var(--white);
}

/* ================================================================
   TABLE
   ================================================================ */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.info-table thead th {
    background: var(--cream);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600; font-size: 11.5px;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--text-3);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.info-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    color: var(--text);
    vertical-align: middle;
}
.info-table tbody tr:last-child td { border-bottom: none; }
.info-table tbody tr:hover td { background: var(--cream); }

/* ── Badges ── */
.info-badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px; font-weight: 700;
    white-space: nowrap;
}
.info-badge--green  { background: rgba(45,107,63,.1); color: #2d6b3f; }
.info-badge--gold   { background: rgba(212,168,67,.15); color: #a07920; }
.info-badge--free   { background: rgba(45,107,63,.1); color: var(--success); }
.info-badge--paid   { background: var(--cream); color: var(--text-2); }
.info-badge--new    { background: var(--brand-soft); color: var(--brand); }

/* ================================================================
   CHECKLIST
   ================================================================ */
.info-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin: 0; padding: 0;
}
.info-list li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14px; color: var(--text); line-height: 1.55;
}
.info-list li::before {
    content: '';
    width: 22px; height: 22px; min-width: 22px;
    border-radius: 50%;
    background: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 12 10' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
    margin-top: 1px; flex-shrink: 0;
}
.info-list--check li::before {
    background-color: rgba(45,107,63,.1);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 12 10' fill='none' stroke='%232d6b3f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
}
.info-list--cross li::before {
    background-color: rgba(192,57,43,.09);
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 12 12' fill='none' stroke='%23c0392b' stroke-width='2.5' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l8 8M10 2L2 10'/%3E%3C/svg%3E");
}

/* ================================================================
   NUMBERED STEPS — timeline
   ================================================================ */
.info-steps {
    display: flex; flex-direction: column; gap: 0;
    list-style: none; margin: 0; padding: 0;
}
.info-step {
    display: flex; gap: 16px;
    position: relative; padding-bottom: 28px;
}
.info-step:last-child { padding-bottom: 0; }
.info-step:not(:last-child)::after {
    content: '';
    position: absolute; left: 15px;
    top: 34px; bottom: 0;
    width: 1px; background: var(--border);
}
.info-step__num {
    width: 32px; height: 32px; min-width: 32px;
    background: var(--graphite); color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    position: relative; z-index: 1;
    flex-shrink: 0;
}
.info-step__body { padding-top: 4px; }
.info-step__body h4 {
    font-size: 14px; font-weight: 650;
    color: var(--graphite); margin-bottom: 5px;
}
.info-step__body p {
    font-size: 13.5px; color: var(--text-2); line-height: 1.6;
}

/* ================================================================
   PAYMENT METHODS
   ================================================================ */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.pay-method {
    display: flex; align-items: center; gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color .2s, box-shadow .2s;
}
.pay-method:hover { border-color: var(--sand); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.pay-method__icon { font-size: 22px; flex-shrink: 0; }
.pay-method__body { display: flex; flex-direction: column; gap: 2px; }
.pay-method__body strong { font-size: 14px; font-weight: 650; color: var(--graphite); }
.pay-method__body span  { font-size: 13px; color: var(--text-2); }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item__q {
    padding: 16px 0;
    font-size: 14px; font-weight: 600;
    color: var(--graphite);
    cursor: default; line-height: 1.4;
}
.faq-item__a {
    padding-bottom: 16px;
    font-size: 13.5px; color: var(--text-2);
    line-height: 1.7;
}

/* ================================================================
   BONUS TIERS
   ================================================================ */
.bonus-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px; margin-bottom: 32px;
}
.bonus-tier {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px 16px;
    background: var(--white);
    position: relative; overflow: hidden;
    transition: box-shadow .22s, transform .22s;
}
.bonus-tier:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.bonus-tier::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--tier-color, var(--sand));
}
.bonus-tier--bronze  { --tier-color: #C17F3E; }
.bonus-tier--silver  { --tier-color: #8E98A3; }
.bonus-tier--gold    { --tier-color: #D4A843; }
.bonus-tier--diamond { --tier-color: #7B5CF6; }

.bonus-tier__header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.bonus-tier__icon { font-size: 22px; flex-shrink: 0; }
.bonus-tier__header > div:nth-child(2) { flex: 1; text-align: left; }
.bonus-tier__header h3 {
    font-size: 14px; font-weight: 700;
    color: var(--graphite); margin-bottom: 1px;
}
.bonus-tier__range { font-size: 11px; color: var(--text-3); }
.bonus-tier__pct {
    font-family: var(--serif);
    font-size: 22px; font-weight: 700;
    color: var(--tier-color, var(--graphite));
    flex-shrink: 0;
}
.bonus-tier__perks {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 6px;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}
.bonus-tier__perks li {
    font-size: 12.5px; color: var(--text-2);
    line-height: 1.4; padding-left: 14px;
    position: relative;
}
.bonus-tier__perks li::before {
    content: '•';
    position: absolute; left: 0;
    color: var(--tier-color, var(--sand));
    font-weight: 700;
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-summary {
    display: flex; align-items: center; gap: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 32px;
    margin-bottom: 28px;
}
.reviews-summary__score { text-align: center; min-width: 120px; }
.reviews-summary__big {
    font-family: var(--serif);
    font-size: 60px; font-weight: 700;
    color: var(--graphite); line-height: 1;
}
.reviews-summary__stars { display: flex; gap: 4px; justify-content: center; margin: 8px 0 4px; }
.reviews-summary__count { font-size: 13px; color: var(--text-3); }
.reviews-summary__bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.reviews-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.reviews-bar > span:first-child { min-width: 28px; white-space: nowrap; }
.reviews-bar > span:last-child  { min-width: 30px; text-align: right; color: var(--text-3); }
.reviews-bar__track { flex: 1; height: 6px; background: var(--nude, #f0ede8); border-radius: 3px; overflow: hidden; }
.reviews-bar__fill  { height: 100%; background: #F59E0B; border-radius: 3px; transition: width .6s ease; }

.review-cards { display: flex; flex-direction: column; gap: 14px; }
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    transition: box-shadow .2s;
}
.review-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-soft), var(--cream));
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    color: var(--brand); font-family: var(--serif);
    flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 650; color: var(--graphite); }
.review-card__meta { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.review-card__stars { color: #F59E0B; font-size: 15px; margin-left: auto; white-space: nowrap; }
.review-card__text  { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.review-card__product {
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 12px; color: var(--text-3);
    display: flex; align-items: center; gap: 6px;
}
.review-card__product::before {
    content: '🛍';
    font-size: 11px;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.info-sidebar {
    position: sticky; top: 88px;
    display: flex; flex-direction: column; gap: 14px;
}

/* Contact card */
.info-contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex; flex-direction: column;
    gap: 0;
}
.info-contact-card h3 {
    font-family: var(--serif);
    font-size: 18px; font-weight: 500;
    color: var(--graphite); margin-bottom: 6px;
}
.info-contact-card > p {
    font-size: 13px; color: var(--text-2);
    line-height: 1.55; margin-bottom: 16px;
}
.info-contact-card__hours {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: var(--text-3);
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

/* Contact buttons */
.info-contact-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; width: 100%;
    padding: 11px 16px; margin-bottom: 8px;
    border-radius: 10px;
    font-size: 14px; font-weight: 600;
    transition: opacity .18s, transform .18s;
    text-decoration: none; border: none; cursor: pointer;
}
.info-contact-btn:last-of-type { margin-bottom: 0; }
.info-contact-btn:hover { opacity: .88; transform: translateY(-1px); }
.info-contact-btn--tg  { background: #0088cc; color: #fff; }
.info-contact-btn--wa  { background: var(--cream); color: var(--graphite); border: 1px solid var(--border); }

/* Sidebar nav */
.info-sidebar-nav {
    background: var(--cream);
    border-radius: 16px;
    padding: 18px;
}
.info-sidebar-nav h4 {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-3); margin-bottom: 8px;
}
.info-nav-card {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 10px; border-radius: 9px;
    font-size: 13.5px; color: var(--text-2);
    transition: all .18s; text-decoration: none;
    margin-bottom: 2px;
}
.info-nav-card:hover { background: var(--white); color: var(--text); }
.info-nav-card--active {
    background: var(--white);
    color: var(--brand); font-weight: 650;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.info-nav-card svg { flex-shrink: 0; opacity: .55; }
.info-nav-card--active svg { opacity: 1; color: var(--brand); }

/* ================================================================
   SALON FORM
   ================================================================ */
.salon-form {
    display: flex; flex-direction: column; gap: 14px;
    margin-top: 8px;
}
.salon-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.salon-form__field { display: flex; flex-direction: column; gap: 5px; }
.salon-form__field label {
    font-size: 12px; font-weight: 650;
    color: var(--text-2); letter-spacing: .01em;
}
.form-input {
    width: 100%; padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 14px; font-family: var(--sans);
    color: var(--text); background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none; box-sizing: border-box;
}
.form-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-input--textarea { resize: vertical; min-height: 96px; }
.salon-form__submit {
    align-self: flex-start;
    padding: 12px 28px;
    background: var(--graphite); color: var(--white);
    border: none; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: var(--sans);
    transition: background .2s, transform .15s;
}
.salon-form__submit:hover { background: var(--brand); transform: translateY(-1px); }
.salon-form__note {
    font-size: 11.5px; color: var(--text-3);
    margin-top: -6px; line-height: 1.5;
}

/* ================================================================
   CTA STRIP
   ================================================================ */
.info-cta { background: var(--graphite); }
.info-cta__inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: 40px 0;
}
.info-cta__inner h3 {
    font-family: var(--serif);
    font-size: 22px; font-weight: 500;
    color: var(--white); margin-bottom: 5px;
}
.info-cta__inner p { font-size: 14px; color: rgba(255,255,255,.55); }
.info-cta__inner .btn--primary { flex-shrink: 0; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1000px) {
    .info-layout { grid-template-columns: 1fr; gap: 36px; }
    .info-sidebar { position: static; }
    .bonus-tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .info-hero   { padding: 32px 0 26px; }
    .info-layout { padding-top: 32px; padding-bottom: 56px; }
    .info-layout.container { padding-top: 32px; padding-bottom: 56px; }
    .info-cards  { grid-template-columns: 1fr 1fr; }
    .salon-form__row { grid-template-columns: 1fr; }
    .reviews-summary { flex-direction: column; gap: 20px; }
    .reviews-summary__score { min-width: unset; }
    .bonus-tiers { grid-template-columns: 1fr 1fr; }
    .info-cta__inner { flex-direction: column; text-align: center; }
    .info-table { font-size: 12.5px; }
    .info-table thead th,
    .info-table tbody td { padding: 10px 12px; }
}
@media (max-width: 420px) {
    .info-cards  { grid-template-columns: 1fr; }
    .bonus-tiers { grid-template-columns: 1fr; }
}
