/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #1E2A32;          /* graphite: header bar, footer, secondary buttons */
    --ink-soft: #2E3D47;
    --orange: #F07A2A;       /* the one accent: CTAs, prices, active states */
    --orange-hover: #DB6A1D;
    --bg: #FAF8F5;           /* warm page background */
    --gray-bg: #F2EFEA;      /* cards */
    --gray-light: #EBE7E0;
    --gray-border: #E6E1D9;
    --gray-text: #6B6F73;
    --dark: #1A1F24;
    --white: #FFFFFF;
    --font: 'Onest', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--ink); color: var(--white); font-size: 0.8rem; padding: 8px 0; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar__address { display: flex; align-items: center; gap: 6px; }
.top-bar__address svg path { fill: var(--white); }
.top-bar__phones { display: flex; align-items: center; gap: 16px; }
.top-bar__phones svg path { fill: var(--white); }
.top-bar__phones a { color: var(--white); }
.top-bar__phones a:hover { opacity: 0.8; }

/* ===== HEADER ===== */
.header { background: var(--bg); padding: 14px 0; border-bottom: 1px solid var(--gray-border); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; gap: 24px; }
.header__logo { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: 0.02em; white-space: nowrap; text-transform: uppercase; }
.header__nav { display: flex; gap: 20px; }
.header__nav-link { font-size: 0.95rem; color: var(--dark); transition: color 0.2s; }
.header__nav-link:hover { color: var(--orange); }

.header__search { flex: 1; min-width: 0; }
.search-form { display: flex; align-items: center; border: 1.5px solid var(--gray-border); border-radius: 30px; overflow: hidden; background: var(--white); }
.search-form__filter-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 0.9rem; color: var(--dark); border-right: 1px solid var(--gray-border); white-space: nowrap; }
.search-form__filter-btn:hover { background: var(--gray-bg); }
.search-form__input { flex: 1; min-width: 0; border: none; outline: none; padding: 10px 16px; font-size: 0.9rem; }
.search-form__btn { padding: 10px 16px; }
.search-form__btn:hover { opacity: 0.7; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__lang { font-size: 0.9rem; color: var(--dark); white-space: nowrap; }
.header__cart-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--ink); color: var(--white);
    padding: 10px 20px; border-radius: 30px;
    font-size: 0.95rem; font-weight: 600; transition: background 0.2s;
    white-space: nowrap; line-height: 1;
}
.header__cart-btn svg { display: block; flex-shrink: 0; }
.header__cart-btn:hover { background: var(--ink-soft); }
.header__cart-count { font-size: 0.95rem; line-height: 1; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 24px 0 8px; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.breadcrumbs a { color: var(--orange); }
.breadcrumbs span { color: var(--dark); }

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative; margin: 24px 0;
}
.hero-slider__track { position: relative; }
.hero-slider__track .hero {
    display: none; margin: 0;
    animation: heroFadeIn 0.6s ease;
    height: 420px;
}
.hero-slider__track .hero.active { display: flex; }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-slider__dots {
    display: flex; justify-content: center; gap: 8px;
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.hero-slider__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--white); border: none; cursor: pointer;
    transition: background 0.3s; padding: 0; opacity: 0.7;
}
.hero-slider__dot.active { background: var(--orange); opacity: 1; }

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--gray-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 40px 48px;
    height: 420px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}
.hero--with-image .hero__title,
.hero--with-image .hero__stat-value { color: var(--dark); }
.hero--with-image .hero__stat-label { color: var(--gray-text); }
.hero__title { font-size: 46px; font-weight: 600; color: var(--dark); margin-bottom: 20px; line-height: 1.12; letter-spacing: -0.02em; max-width: 65%; }
.hero__stats { display: flex; gap: 28px; margin-bottom: 20px; }
.hero__stat-value { font-size: 32px; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
.hero__stat-label { font-size: 13px; color: var(--gray-text); }
.hero__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 12px 28px; border-radius: 30px;
    font-size: 16px; font-weight: 600; transition: background 0.2s;
}
.hero__cta:hover { background: var(--orange-hover); }
.hero__overlay {
    position: relative; z-index: 1;
    max-width: 65%;
}

/* ===== SECTION TITLES ===== */
.section { margin: 48px 0; }
.section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section__title { font-size: 36px; font-weight: 600; color: var(--dark); letter-spacing: -0.02em; }
.section__nav { display: flex; gap: 8px; }
.section__nav-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--ink); display: flex;
    align-items: center; justify-content: center; transition: all 0.2s;
}
.section__nav-btn:hover { background: var(--ink); color: var(--white); }

/* ===== CATEGORIES GRID ===== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    background: var(--gray-bg); border-radius: 20px;
    padding: 20px; display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.category-card:hover .category-card__image { transform: scale(1.04); }
.category-card__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.category-card__name { font-size: 22px; font-weight: 600; color: var(--dark); letter-spacing: -0.01em; }
.category-card__link {
    width: 28px; height: 28px; background: var(--orange);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--white); font-size: 0.85rem;
    flex-shrink: 0;
}
.category-card__image {
    /* photos are transparent cut-outs, so they sit directly on the card */
    width: 100%; height: 220px; object-fit: contain;
    margin-top: auto; transition: transform 0.3s;
}

/* ===== PRODUCT GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow); }
.product-card__image-wrap {
    background: var(--gray-bg); padding: 16px;
    display: flex; align-items: center; justify-content: center;
    height: 200px; cursor: pointer;
}
.product-card__image { max-height: 100%; object-fit: contain; }
.product-card__info { padding: 12px 0; }
.product-card__name { font-size: 16px; font-weight: 400; color: var(--dark); margin-bottom: 2px; }
.product-card__meta { font-size: 14px; color: var(--gray-text); margin-bottom: 8px; }
.product-card__price { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.product-card__btn {
    display: block; width: 100%;
    background: var(--orange); color: var(--white);
    padding: 12px; border-radius: 30px; text-align: center;
    font-size: 16px; font-weight: 600; border: none;
    transition: background 0.2s; cursor: pointer;
}
.product-card__btn:hover { background: var(--orange-hover); }

/* ===== CATALOG PAGE (all categories) ===== */
.catalog-section { margin-bottom: 40px; }
.catalog-section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.catalog-section__title { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.catalog-section__link { display: flex; align-items: center; gap: 8px; color: var(--gray-text); font-size: 0.9rem; }
.catalog-section__link-circle {
    width: 28px; height: 28px; background: var(--orange);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--white); font-size: 0.85rem;
}

/* ===== FILTER DROPDOWN ===== */
.filter-panel {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: var(--radius); padding: 24px;
    margin-bottom: 24px; display: none;
    box-shadow: var(--shadow);
}
.filter-panel.active { display: block; }
.filter-panel__row { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.filter-panel__group { display: flex; flex-direction: column; gap: 6px; }
.filter-panel__label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.filter-panel__input, .filter-panel__select {
    padding: 10px 16px; border-radius: 30px; border: none;
    background: var(--gray-bg); font-size: 0.9rem; min-width: 160px;
    outline: none;
}
.filter-panel__select { appearance: none; cursor: pointer; padding-right: 36px; }
.filter-panel__apply {
    background: var(--orange); color: var(--white);
    padding: 10px 32px; border-radius: 30px;
    font-size: 0.95rem; font-weight: 600; transition: background 0.2s;
}
.filter-panel__apply:hover { background: var(--orange-hover); }
.filter-panel__clear {
    padding: 10px; color: var(--gray-text); font-size: 1.2rem; transition: color 0.2s;
}
.filter-panel__clear:hover { color: var(--dark); }

/* ===== CART ===== */
.cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 24px 0 48px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid var(--gray-border);
}
.cart-item__image { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 0.95rem; font-weight: 500; }
.cart-item__meta { font-size: 0.8rem; color: var(--gray-text); }
.cart-item__price { font-size: 1rem; font-weight: 700; margin-top: 4px; }
.cart-item__controls { display: flex; align-items: center; gap: 4px; }
.cart-item__qty-btn {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--orange); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; transition: background 0.2s;
}
.cart-item__qty-btn:hover { background: var(--orange-hover); }
.cart-item__qty { padding: 0 8px; font-size: 0.95rem; font-weight: 600; min-width: 50px; text-align: center; }
.cart-item__delete { color: var(--gray-text); padding: 8px; font-size: 1.2rem; transition: color 0.2s; }
.cart-item__delete:hover { color: #e53935; }

.cart-sidebar { position: sticky; top: 100px; }
.cart-summary {
    display: flex; gap: 12px; margin-bottom: 16px;
}
.cart-summary__box {
    flex: 1; border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.cart-summary__label { font-size: 0.8rem; color: var(--gray-text); }
.cart-summary__value { font-size: 1.3rem; font-weight: 700; color: var(--dark); }

.cart-delivery { border: 1.5px solid var(--gray-border); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; }
.cart-delivery__row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.cart-delivery__icon { width: 36px; height: 36px; flex-shrink: 0; }
.cart-delivery__label { font-size: 0.85rem; color: var(--gray-text); }
.cart-delivery__value { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

.cart-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-primary {
    display: block; width: 100%; background: var(--orange); color: var(--white);
    padding: 14px; border-radius: 30px; text-align: center;
    font-size: 1rem; font-weight: 700; border: none;
    transition: background 0.2s; cursor: pointer;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.btn-outline {
    display: block; width: 100%; background: var(--white); color: var(--orange);
    padding: 14px; border-radius: 30px; text-align: center;
    font-size: 1rem; font-weight: 700;
    border: 2px solid var(--orange); transition: all 0.2s; cursor: pointer;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-outline:disabled { border-color: #ccc; color: #ccc; cursor: not-allowed; }

/* ===== EMPTY CART ===== */
.cart-empty { text-align: center; padding: 80px 0; color: var(--gray-text); font-size: 1.1rem; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 200;
}
.modal {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 520px; max-width: 90vw; background: var(--white);
    z-index: 201; overflow-y: auto; padding: 32px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal__title { font-size: 1.3rem; font-weight: 700; }
.modal__close { width: 36px; height: 36px; font-size: 1.5rem; color: var(--dark); }
.modal__back { width: 36px; height: 36px; font-size: 1.2rem; color: var(--dark); }

/* ===== PRODUCT MODAL ===== */
.product-modal__gallery { background: var(--gray-bg); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; position: relative; }
.product-modal__image { width: 100%; max-height: 350px; object-fit: contain; }
.product-modal__gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; background: var(--white);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; box-shadow: var(--shadow);
}
.product-modal__gallery-nav--prev { left: 12px; }
.product-modal__gallery-nav--next { right: 12px; }
.product-modal__dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.product-modal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-border); }
.product-modal__dot.active { background: var(--orange); }

.product-modal__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.product-modal__weight { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 12px; }
.product-modal__description { font-size: 0.9rem; color: var(--dark); margin-bottom: 16px; line-height: 1.5; }
.product-modal__section-title { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; padding-top: 12px; border-top: 1px solid var(--gray-border); }
.product-modal__composition { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 12px; line-height: 1.5; }
.product-modal__brand { font-size: 0.9rem; margin-bottom: 16px; }
.product-modal__add-btn {
    display: block; width: 100%; background: var(--orange); color: var(--white);
    padding: 14px; border-radius: 30px; text-align: center;
    font-size: 1.1rem; font-weight: 700; border: none;
    transition: background 0.2s; cursor: pointer;
}
.product-modal__add-btn:hover { background: var(--orange-hover); }

.product-modal__related { margin-top: 24px; }
.product-modal__related-title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.product-modal__related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-modal__related-item { background: var(--gray-bg); border-radius: var(--radius-sm); padding: 8px; text-align: center; }
.product-modal__related-img { width: 100%; height: 80px; object-fit: contain; }

/* ===== STEP INDICATOR ===== */
.steps {
    display: flex; align-items: center; justify-content: center;
    padding: 32px 0 40px; gap: 0;
}
.steps__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.steps__circle {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gray-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 700; color: var(--gray-text); background: var(--white);
}
.steps__circle--active { background: var(--orange); color: var(--white); border-color: var(--orange); }
.steps__circle--done { background: var(--ink); border-color: var(--ink); }
.steps__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: var(--gray-text); text-transform: uppercase; }
.steps__item--active .steps__label { color: var(--orange); }
.steps__item--done .steps__label { color: var(--ink); }
.steps__line { width: 80px; height: 3px; background: var(--gray-border); margin: 0 8px; margin-bottom: 24px; }
.steps__line--done { background: var(--ink); }

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
    display: grid; grid-template-columns: 1fr 380px; gap: 32px;
    padding-bottom: 48px; align-items: start;
}
.checkout-page__form { display: flex; flex-direction: column; gap: 20px; }
.checkout-page__sidebar { position: sticky; top: 100px; }

.checkout-section {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 28px;
    display: flex; flex-direction: column; gap: 16px;
}
.checkout-section__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.checkout-form__group { display: flex; flex-direction: column; gap: 6px; }
.checkout-form__row { display: flex; gap: 12px; }
.checkout-form__row > * { flex: 1; }
.checkout-form__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-text); }
/* Saved recipients */
.saved-recipients { margin-bottom: 4px; }
.saved-recipients__list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.saved-recipient-chip {
    padding: 8px 16px; border-radius: 30px; font-size: 0.85rem;
    border: 1.5px solid var(--gray-border); color: var(--dark);
    background: var(--white); cursor: pointer; transition: all 0.2s;
    text-decoration: none;
}
.saved-recipient-chip:hover { border-color: var(--ink); }
.saved-recipient-chip--active { border-color: var(--ink); background: rgba(30,42,50,0.06); color: var(--ink); font-weight: 600; }

.checkout-form__select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px; }
.checkout-form__input {
    padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--gray-border);
    background: var(--white); font-size: 0.95rem; outline: none;
    width: 100%;
}
.checkout-form__input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(30,42,50,0.15); }

/* Custom select dropdown */
.custom-select { position: relative; }
.custom-select__trigger {
    padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--gray-border);
    background: var(--white); font-size: 0.95rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: border-color 0.2s;
}
.custom-select__trigger:hover { border-color: #bbb; }
.custom-select.open .custom-select__trigger { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(30,42,50,0.15); }
.custom-select__trigger span { color: var(--dark); }
.custom-select__trigger span.placeholder { color: #999; }
.custom-select__dropdown {
    display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: var(--white); border: 1.5px solid var(--gray-border); border-radius: 12px;
    max-height: 240px; overflow-y: auto; z-index: 50;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.custom-select.open .custom-select__dropdown { display: block; }
.custom-select__option {
    padding: 12px 16px; font-size: 0.9rem; cursor: pointer;
    transition: background 0.15s;
}
.custom-select__option:first-child { border-radius: 10px 10px 0 0; }
.custom-select__option:last-child { border-radius: 0 0 10px 10px; }
.custom-select__option:hover { background: var(--gray-bg); }
.custom-select__option.selected { background: rgba(30,42,50,0.08); color: var(--ink); font-weight: 600; }

/* Checkout summary sidebar */
.checkout-summary {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 24px; margin-bottom: 16px;
}
.checkout-summary__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.checkout-summary__items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.checkout-summary__item { display: flex; justify-content: space-between; align-items: center; }
.checkout-summary__item-info { display: flex; gap: 8px; flex: 1; min-width: 0; }
.checkout-summary__item-name { font-size: 0.85rem; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary__item-qty { font-size: 0.85rem; color: var(--gray-text); flex-shrink: 0; }
.checkout-summary__item-price { font-size: 0.85rem; font-weight: 600; flex-shrink: 0; margin-left: 12px; }
.checkout-summary__divider { height: 1px; background: var(--gray-border); margin: 12px 0; }
.checkout-summary__row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 4px; }
.checkout-summary__total { font-size: 1.1rem; font-weight: 700; margin-top: 4px; }

.btn-primary--lg { padding: 16px; font-size: 1.05rem; }
.btn-back {
    display: block; text-align: center; margin-top: 12px;
    font-size: 0.9rem; color: var(--gray-text); transition: color 0.2s;
}
.btn-back:hover { color: var(--dark); }

.confirmation-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.confirmation-option {
    border: 2px solid var(--gray-border); border-radius: var(--radius);
    padding: 16px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.confirmation-option.active { border-color: var(--orange); background: rgba(240,122,42,0.05); }
.confirmation-option__icon { font-size: 1.5rem; margin-bottom: 4px; }
.confirmation-option__name { font-size: 0.9rem; font-weight: 600; }
.confirmation-option__desc { font-size: 0.75rem; color: var(--gray-text); }

/* ===== PAYMENT PAGE ===== */
.payment-page { max-width: 700px; margin: 0 auto; text-align: center; padding-bottom: 48px; }
.payment-page__title { font-size: 36px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.payment-page__order-id { font-size: 1rem; color: var(--gray-text); margin-bottom: 16px; }
.payment-page__amount { font-size: 2rem; font-weight: 700; color: var(--orange); margin-bottom: 32px; }
.payment-page__qr {
    background: var(--gray-bg); border-radius: 16px;
    padding: 40px; margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center;
}
.payment-page__qr img { max-width: 220px; }
.payment-page__instructions {
    font-size: 0.95rem; color: var(--gray-text); line-height: 1.8;
    text-align: left; max-width: 400px; margin: 0 auto 24px;
}

/* Payment methods */
.payment-methods__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; text-align: left; }
.payment-method {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border: 2px solid var(--gray-border); border-radius: 16px;
    cursor: pointer; transition: all 0.2s; background: var(--white);
}
.payment-method:hover { border-color: #ccc; }
.payment-method.active { border-color: var(--ink); background: rgba(30,42,50,0.03); }
.payment-method__icon { flex-shrink: 0; }
.payment-method__info { flex: 1; }
.payment-method__name { font-size: 1rem; font-weight: 600; color: var(--dark); }
.payment-method__desc { font-size: 0.8rem; color: var(--gray-text); margin-top: 2px; }
.payment-method__check {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-border);
    flex-shrink: 0; position: relative; transition: all 0.2s;
}
.payment-method.active .payment-method__check {
    border-color: var(--ink); background: var(--ink);
}
.payment-method.active .payment-method__check::after {
    content: ''; position: absolute; top: 4px; left: 4px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--white);
}

/* Payment QR section */
.payment-qr { margin-top: 8px; }

/* Payment card notice */
.payment-card__notice {
    display: flex; align-items: center; gap: 12px; text-align: left;
    background: #FFF8F0; border: 1px solid #FFE0C0; border-radius: 12px;
    padding: 16px 20px; font-size: 0.9rem; color: #8B5E3C; margin-top: 8px;
}

/* Test payment */
.payment-test__box {
    background: #FFF8F0; border: 2px dashed var(--orange); border-radius: 16px;
    padding: 32px; margin-top: 8px; text-align: center;
}
.payment-test__icon { font-size: 40px; margin-bottom: 12px; }
.payment-test__text { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 20px; line-height: 1.6; }
.payment-test__btn { width: 100%; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { border: 1px solid var(--gray-border); border-radius: 20px; padding: 24px; }
.review-card__stars { color: var(--orange); margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.review-card__text { font-size: 0.9rem; color: var(--dark); margin-bottom: 16px; line-height: 1.6; }
.review-card__author { font-size: 0.9rem; font-weight: 600; }
.review-card__date { font-size: 0.8rem; color: var(--gray-text); margin-top: 4px; }

/* ===== ABOUT SECTION ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--white); border: 1px solid var(--gray-border); border-radius: 24px; padding: 40px; }
.about__title { font-size: 36px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.02em; }
.about__text { font-size: 1rem; color: var(--gray-text); line-height: 1.65; margin-bottom: 20px; }
.about__stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.about__stat {
    background: var(--gray-bg); color: var(--ink); border-radius: 30px;
    padding: 10px 20px; font-size: 0.85rem; font-weight: 600;
}
.about__image { width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; object-fit: cover; object-position: center 62%; }
.about__image-placeholder {
    background: var(--ink); border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 300px; color: var(--white);
}
.about__image-icon { font-size: 64px; margin-bottom: 12px; }
.about__image-text { font-size: 24px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }

/* ===== SEARCH RESULTS ===== */
.search-results__count { font-size: 0.95rem; color: var(--gray-text); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: var(--white); padding: 56px 0 0; margin-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 2fr 1.5fr; gap: 32px; padding-bottom: 40px; }
.footer__logo { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: var(--white); }
.footer__title {
    font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer__nav a, .footer__categories a, .footer__contacts a {
    display: block; font-size: 0.92rem; color: rgba(255,255,255,0.85); margin-bottom: 10px;
    transition: color 0.2s;
}
.footer__nav a:hover, .footer__categories a:hover, .footer__contacts a:hover { color: var(--orange); }
.footer__categories-grid { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 48px; }
.footer__socials { display: flex; gap: 12px; margin-top: 8px; }
.footer__socials a:hover { opacity: 0.7; }
.footer__socials svg path, .footer__socials svg rect, .footer__socials svg circle { stroke: var(--white); fill: none; }
.footer__socials svg circle[fill] { fill: var(--white); stroke: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; }
.footer__bottom a { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--white); }

/* ===== AUTH PAGES ===== */
.auth-page { display: flex; justify-content: center; padding: 48px 0; }
.auth-card {
    width: 100%; max-width: 440px;
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 40px;
}
.auth-card__title { font-size: 30px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.auth-card__subtitle { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 28px; }
.auth-card__error {
    background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px;
    padding: 12px 16px; font-size: 0.9rem; color: #DC2626; margin-bottom: 20px;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field-error { font-size: 0.8rem; color: #DC2626; margin-top: 4px; }
.auth-card__footer {
    margin-top: 24px; text-align: center;
    font-size: 0.9rem; color: var(--gray-text);
}
.auth-card__footer a { color: var(--ink); font-weight: 600; }
.auth-card__footer a:hover { text-decoration: underline; }

/* Header user button */
.header__user-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.9rem; color: var(--dark); font-weight: 500;
    transition: color 0.2s; white-space: nowrap;
}
.header__user-btn:hover { color: var(--orange); }
.header__user-btn svg { flex-shrink: 0; }

/* Profile page */
.profile-card {
    width: 100%; max-width: 600px;
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 40px;
}
.profile-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-card__avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ink); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; flex-shrink: 0;
}
.profile-card__name { font-size: 1.3rem; font-weight: 700; }
.profile-card__phone { font-size: 0.9rem; color: var(--gray-text); }
.profile-card__section-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }
.profile-orders { display: flex; flex-direction: column; gap: 12px; }
.profile-order {
    border: 1px solid var(--gray-border); border-radius: 12px;
    padding: 16px; display: flex; flex-direction: column; gap: 4px;
}
.profile-order__info { display: flex; justify-content: space-between; }
.profile-order__id { font-weight: 600; }
.profile-order__date { font-size: 0.85rem; color: var(--gray-text); }
.profile-order__details { display: flex; justify-content: space-between; font-size: 0.9rem; }
.profile-order__price { font-weight: 700; }
.profile-order__status {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    padding: 4px 12px; border-radius: 20px; width: fit-content;
}
.profile-order__status--pending { background: #FEF3C7; color: #92400E; }
.profile-order__status--paid { background: #D1FAE5; color: #065F46; }
.profile-order__status--confirmed { background: #DBEAFE; color: #1E40AF; }
.profile-order__status--delivered { background: #D1FAE5; color: #065F46; }
.profile-order__status--cancelled { background: #FEE2E2; color: #991B1B; }
.profile-order__status--processing { background: #EDE9FE; color: #5B21B6; }
.profile-order__status--delivering { background: #FEF3C7; color: #92400E; }
.profile-order__status--rejected { background: #FEE2E2; color: #991B1B; }

.profile-card__edit-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: var(--gray-text); transition: color 0.2s;
}
.profile-card__edit-btn:hover { color: var(--dark); }
.profile-order { text-decoration: none; color: inherit; transition: border-color 0.2s; display: flex; flex-direction: column; gap: 4px; }
.profile-order:hover { border-color: var(--ink); }

/* ===== ORDER DETAIL ===== */
.order-detail { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 24px 0 48px; align-items: start; }
.order-detail__main { display: flex; flex-direction: column; gap: 20px; }
.order-detail__sidebar { position: sticky; top: 100px; }

/* Status bar */
.order-status-bar { display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--white); border: 1px solid var(--gray-border); border-radius: 20px; }
.order-status-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.order-status-step__dot {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid var(--gray-border); background: var(--white);
}
.order-status-step--done .order-status-step__dot {
    background: var(--ink); border-color: var(--ink);
}
.order-status-step__label { font-size: 0.65rem; font-weight: 600; color: var(--gray-text); text-transform: uppercase; white-space: nowrap; }
.order-status-step--done .order-status-step__label { color: var(--ink); }
.order-status-line { width: 40px; height: 3px; background: var(--gray-border); margin: 0 4px; margin-bottom: 24px; }
.order-status-line--done { background: var(--ink); }

.order-detail__cancelled {
    background: #FEE2E2; border-radius: 12px; padding: 12px 16px;
    text-align: center; color: #991B1B; font-weight: 600;
}

/* Sections */
.order-detail__section {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 24px;
}
.order-detail__section-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }

/* Items list */
.order-detail__item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid var(--gray-bg);
}
.order-detail__item:last-child { border-bottom: none; }
.order-detail__item-img { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; flex-shrink: 0; }
.order-detail__item-info { flex: 1; }
.order-detail__item-name { font-size: 0.9rem; font-weight: 500; }
.order-detail__item-qty { font-size: 0.8rem; color: var(--gray-text); }
.order-detail__item-price { font-size: 0.9rem; font-weight: 600; flex-shrink: 0; }

/* Info grid */
.order-detail__info-grid { display: flex; flex-direction: column; gap: 8px; }
.order-detail__info-grid > div { display: flex; justify-content: space-between; font-size: 0.9rem; }
.order-detail__label { color: var(--gray-text); }

/* Summary sidebar */
.order-detail__summary {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 20px; padding: 24px; margin-bottom: 16px;
}
.order-detail__summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 4px; }
.order-detail__summary-divider { height: 1px; background: var(--gray-border); margin: 12px 0; }
.order-detail__summary-total { font-size: 1.1rem; font-weight: 700; }

/* ===== UTILITIES ===== */
.text-orange { color: var(--orange); }
.text-green { color: var(--orange); font-weight: 600; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ===== HEADER INSTITUTION INDICATOR ===== */
.header__institution {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 30px;
    border: 1.5px solid var(--gray-border); background: var(--white);
    cursor: pointer; transition: all 0.2s;
    font-size: 0.85rem; color: var(--dark); font-weight: 500;
    max-width: 240px;
}
.header__institution:hover { border-color: var(--orange); }
.header__institution-text {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== INSTITUTION SELECTION MODAL ===== */
.institution-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55); z-index: 300;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.institution-modal {
    position: relative;
    background: var(--white); border-radius: 24px;
    max-width: 560px; width: 100%; max-height: 85vh;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.institution-modal__list {
    overflow-y: auto;
    margin-right: -12px;
    padding-right: 12px;
}
/* Custom scrollbar — WebKit */
.institution-modal__list::-webkit-scrollbar { width: 6px; }
.institution-modal__list::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}
.institution-modal__list::-webkit-scrollbar-thumb {
    background: var(--gray-border);
    border-radius: 3px;
}
.institution-modal__list::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
/* Custom scrollbar — Firefox */
.institution-modal__list {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-border) transparent;
}
.institution-modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gray-bg); border: none; cursor: pointer;
    font-size: 1.5rem; line-height: 1; color: var(--gray-text);
    transition: background 0.2s;
}
.institution-modal__close:hover { background: var(--gray-border); color: var(--dark); }
.institution-modal__title {
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 8px; color: var(--dark);
    padding-right: 40px;
}
.institution-modal__subtitle {
    font-size: 0.9rem; color: var(--gray-text);
    line-height: 1.5; margin-bottom: 24px;
}
.institution-modal__list-inner {
    display: flex; flex-direction: column; gap: 8px;
}
.institution-modal__option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 14px;
    border: 1.5px solid var(--gray-border); background: var(--white);
    cursor: pointer; transition: all 0.15s; text-align: left;
}
.institution-modal__option:hover {
    border-color: var(--ink); background: rgba(30,42,50, 0.04);
}
.institution-modal__option--selected {
    border-color: var(--ink); background: rgba(30,42,50, 0.08);
}
.institution-modal__option svg { flex-shrink: 0; }
.institution-modal__option-name { font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.institution-modal__option-address { font-size: 0.8rem; color: var(--gray-text); margin-top: 2px; }

/* ===== HAMBURGER MENU (hidden on desktop) ===== */
.header__burger { display: none; }

/* =============================================================
   RESPONSIVE — TABLET (max-width: 900px)
   ============================================================= */
@media (max-width: 900px) {
    .container { padding: 0 16px; }

    /* Header */
    .header__burger {
        display: flex; flex-direction: column; gap: 5px;
        width: 28px; padding: 4px 0; cursor: pointer;
        background: none; border: none; z-index: 110;
    }
    .header__burger span {
        display: block; width: 100%; height: 2px;
        background: var(--dark); border-radius: 2px;
        transition: all 0.3s;
    }
    .header__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .header__burger.open span:nth-child(2) { opacity: 0; }
    .header__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .header__inner { flex-wrap: wrap; gap: 12px; }
    .header__nav {
        display: none; width: 100%; order: 10;
        flex-direction: column; gap: 0;
        border-top: 1px solid var(--gray-border);
        padding-top: 12px;
    }
    .header__nav.open { display: flex; }
    .header__nav-link { padding: 10px 0; border-bottom: 1px solid var(--gray-bg); }
    .header__search { order: 9; width: 100%; }
    .header__lang { display: none; }
    .header__user-btn span { display: none; }
    .header__institution { max-width: 160px; padding: 6px 10px; font-size: 0.75rem; }

    /* Top bar */
    .top-bar { font-size: 0.7rem; padding: 6px 0; }
    .top-bar__address { font-size: 0.65rem; }
    .top-bar__phones a:first-child { display: none; }

    /* Hero */
    .hero { height: 300px; padding: 28px; border-radius: 16px; }
    .hero-slider__track .hero { height: 300px; }
    .hero__title { font-size: 28px; max-width: 80%; }
    .hero__stats { gap: 16px; }
    .hero__stat-value { font-size: 22px; }
    .hero__stat-label { font-size: 11px; }
    .hero__cta { padding: 10px 24px; font-size: 14px; }
    .hero__overlay { max-width: 80%; }

    /* Grids */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .reviews-grid { grid-template-columns: 1fr; }

    /* Section titles */
    .section__title { font-size: 28px; }
    .section { margin: 32px 0; }

    /* Cart */
    .cart-page { grid-template-columns: 1fr; gap: 20px; }
    .cart-sidebar { position: static; }

    /* Checkout */
    .checkout-page { grid-template-columns: 1fr; gap: 20px; }
    .checkout-page__sidebar { position: static; }

    /* Order detail */
    .order-detail { grid-template-columns: 1fr; gap: 20px; }
    .order-detail__sidebar { position: static; }

    /* Steps */
    .steps { gap: 0; padding: 20px 0 28px; }
    .steps__line { width: 30px; }
    .steps__label { font-size: 0.55rem; }
    .steps__circle { width: 32px; height: 32px; font-size: 0.8rem; }

    /* About */
    .about { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .about__title { font-size: 28px; }

    /* Footer */
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }

    /* Payment */
    .payment-page { padding-bottom: 32px; }

    /* Modal */
    .modal { width: 100%; max-width: 100%; }

    /* Profile */
    .profile-card { padding: 24px; }
    .auth-card { padding: 24px; }
}

/* =============================================================
   RESPONSIVE — MOBILE (max-width: 576px)
   ============================================================= */
@media (max-width: 576px) {
    /* Hero */
    .hero { height: 260px; padding: 20px; border-radius: 12px; margin: 12px 0; }
    .hero-slider { margin: 12px 0; }
    .hero-slider__track .hero { height: 260px; }
    .hero__title { font-size: 22px; max-width: 90%; margin-bottom: 10px; }
    .hero__stats { gap: 12px; margin-bottom: 12px; }
    .hero__stat-value { font-size: 18px; }
    .hero__stat-label { font-size: 10px; }
    .hero__cta { padding: 8px 20px; font-size: 13px; }
    .hero__overlay { max-width: 90%; }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-card { padding: 12px; border-radius: 12px; }
    .category-card__name { font-size: 16px; }
    .category-card__image { height: 120px; }
    .category-card__link { width: 24px; height: 24px; font-size: 0.7rem; }

    /* Products */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card__image-wrap { height: 140px; padding: 8px; }
    .product-card__info { padding: 8px 0; }
    .product-card__name { font-size: 13px; }
    .product-card__price { font-size: 16px; margin-bottom: 8px; }
    .product-card__btn { padding: 8px; font-size: 14px; border-radius: 20px; }

    /* Section titles */
    .section__title { font-size: 22px; letter-spacing: 0.01em; }
    .section { margin: 20px 0; }
    .section__header { margin-bottom: 16px; }

    /* Cart items */
    .cart-item { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
    .cart-item__image { width: 60px; height: 60px; }
    .cart-item__controls { margin-left: auto; }

    /* Checkout form */
    .checkout-form__row { flex-direction: column; gap: 16px; }
    .checkout-section { padding: 20px; border-radius: 16px; }
    .checkout-section__title { font-size: 1rem; }
    .checkout-form__input { padding: 12px 14px; font-size: 0.9rem; }

    /* Steps */
    .steps { padding: 16px 0 20px; }
    .steps__line { width: 20px; margin: 0 2px; }
    .steps__label { font-size: 0.5rem; }
    .steps__circle { width: 28px; height: 28px; font-size: 0.7rem; }
    .order-status-bar { padding: 16px 12px; flex-wrap: wrap; justify-content: flex-start; }
    .order-status-line { width: 20px; }

    /* Payment methods */
    .payment-method { padding: 12px 16px; gap: 12px; border-radius: 12px; }

    /* About */
    .about { padding: 20px; border-radius: 16px; }
    .about__title { font-size: 22px; }
    .about__text { font-size: 0.85rem; }
    .about__stats { gap: 8px; }
    .about__stat { padding: 6px 14px; font-size: 0.75rem; }
    .about__image-placeholder { min-height: 200px; border-radius: 12px; }
    .about__image-icon { font-size: 48px; }
    .about__image-text { font-size: 18px; }

    /* Reviews */
    .review-card { padding: 16px; border-radius: 12px; }

    /* Footer */
    .footer { padding: 24px 0 0; margin-top: 24px; }
    .footer__inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
    .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

    /* Auth */
    .auth-card { padding: 20px; border-radius: 16px; max-width: 100%; }
    .auth-card__title { font-size: 24px; }
    .auth-page { padding: 24px 0; }

    /* Profile */
    .profile-card { padding: 20px; border-radius: 16px; max-width: 100%; }
    .profile-card__header { flex-wrap: wrap; gap: 12px; }
    .profile-card__avatar { width: 44px; height: 44px; font-size: 18px; }
    .profile-card__edit-btn { margin-top: 8px; width: 100%; justify-content: center; }

    /* Breadcrumbs */
    .breadcrumbs { font-size: 14px; padding: 12px 0 4px; }

    /* Custom select */
    .custom-select__dropdown { max-height: 200px; }

    /* Saved recipients */
    .saved-recipients__list { gap: 6px; }
    .saved-recipient-chip { padding: 6px 12px; font-size: 0.8rem; }

    /* Buttons */
    .btn-primary { padding: 12px; font-size: 0.9rem; }
    .btn-primary--lg { padding: 14px; font-size: 0.95rem; }
    .btn-outline { padding: 12px; font-size: 0.9rem; }

    /* Cart button in header */
    .header__cart-btn { padding: 8px 14px; font-size: 0.85rem; }

    /* Catalog sections */
    .catalog-section__title { font-size: 22px; }

    /* Institution modal on mobile */
    .institution-modal { padding: 24px; border-radius: 16px; max-height: 90vh; }
    .institution-modal__title { font-size: 1.3rem; }
    .institution-modal__subtitle { font-size: 0.85rem; margin-bottom: 16px; }
    .institution-modal__option { padding: 12px 14px; border-radius: 12px; }
    .header__institution { max-width: 130px; }
}
