/* ===================================================
   ФЛОРИЯ — Design System
   =================================================== */

:root {
  --primary:    #d4588a;
  --primary-dk: #b8386c;
  --accent:     #e87e59;
  --grad:       linear-gradient(135deg, #d4588a 0%, #e87e59 100%);
  --grad-soft:  linear-gradient(135deg, #fce4ef 0%, #fde8dd 100%);
  --bg:         #fff;
  --bg2:        #fff8fb;
  --bg3:        #f9f0f4;
  --text:       #1e1226;
  --text-m:     #6b6071;
  --text-l:     #9d8fa5;
  --border:     #f0dde8;
  --shadow:     0 2px 16px rgba(212,88,138,.10);
  --shadow-lg:  0 8px 40px rgba(212,88,138,.18);
  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  22px;
  --transition: .22s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --header-h:   68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
main { flex: 1; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section--tint { background: var(--bg2); }
.section--dark { background: var(--text); color: #fff; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.section__sub { color: var(--text-m); margin-top: 10px; font-size: 1rem; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--text-m); }

/* ===== TOP BAR ===== */
.topbar { background: var(--grad); color: #fff; font-size: .8rem; font-weight: 500; padding: 7px 0; }
.topbar__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__item { opacity: .9; }
.topbar__phone { margin-left: auto; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.topbar__phone:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__text { font-size: 1.35rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo--light .logo__text { -webkit-text-fill-color: #fff; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.nav__link { padding: 6px 14px; border-radius: 50px; font-size: .9rem; font-weight: 500; color: var(--text-m); transition: var(--transition); }
.nav__link:hover { color: var(--primary); background: var(--bg3); }
.nav__link--active { color: var(--primary); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-m); transition: var(--transition); }
.header__btn:hover { background: var(--bg3); color: var(--primary); }
.header__cart { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-m); transition: var(--transition); }
.header__cart:hover { background: var(--bg3); color: var(--primary); }
.cart-badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; background: var(--grad); color: #fff; border-radius: 50%; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 3px; border: 2px solid #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== FLASH MESSAGES ===== */
.flash { padding: 12px 0; font-size: .9rem; font-weight: 500; }
.flash--success { background: #ecfdf5; color: #065f46; border-bottom: 1px solid #a7f3d0; }
.flash--error   { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fecaca; }
.flash--info    { background: #eff6ff; color: #1e40af; border-bottom: 1px solid #bfdbfe; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-size: .95rem; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 4px 18px rgba(212,88,138,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,88,138,.45); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { background: var(--bg3); color: var(--text); }
.btn--ghost:hover { background: var(--border); }
.btn--sm { padding: 9px 20px; font-size: .85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg3); }
.btn:disabled { opacity: .55; pointer-events: none; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge--green  { background: #ecfdf5; color: #065f46; }
.badge--blue   { background: #eff6ff; color: #1e40af; }
.badge--teal   { background: #f0fdfa; color: #0f766e; }
.badge--yellow { background: #fefce8; color: #854d0e; }
.badge--orange { background: #fff7ed; color: #9a3412; }
.badge--red    { background: #fef2f2; color: #991b1b; }
.badge--gray   { background: var(--bg3); color: var(--text-m); }
.badge--sale   { background: var(--grad); color: #fff; }
.badge--new    { background: #eff6ff; color: #1d4ed8; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); padding: 70px 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("https://images.pexels.com/photos/30891127/pexels-photo-30891127.jpeg?auto=compress&cs=tinysrgb&w=1400&h=700&fit=crop") center/cover no-repeat; opacity: .18; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,88,138,.12); color: var(--primary); border-radius: 50px; padding: 7px 16px; font-size: .82rem; font-weight: 600; margin-bottom: 20px; }
.hero__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; }
.hero__title span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__sub { font-size: 1.05rem; color: var(--text-m); margin-top: 18px; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__trust-item { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text-m); font-weight: 500; }
.hero__trust-item svg { color: var(--primary); flex-shrink: 0; }
.hero__img-wrap { position: relative; }
.hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-badge { position: absolute; bottom: 24px; left: -24px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.hero__img-badge-icon { width: 42px; height: 42px; background: var(--grad-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.hero__img-badge-text strong { display: block; font-weight: 700; font-size: .9rem; }
.hero__img-badge-text span { font-size: .78rem; color: var(--text-m); }

/* ===== CATEGORIES STRIP ===== */
.cats { padding: 40px 0; }
.cats__grid { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cats__grid::-webkit-scrollbar { display: none; }
.cat-card { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 20px; background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius); min-width: 100px; transition: var(--transition); cursor: pointer; text-decoration: none; color: var(--text); }
.cat-card:hover { border-color: var(--primary); background: rgba(212,88,138,.05); transform: translateY(-2px); }
.cat-card--active { border-color: var(--primary); background: rgba(212,88,138,.07); }
.cat-card__img { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__icon { font-size: 1.8rem; }
.cat-card__name { font-size: .82rem; font-weight: 600; text-align: center; white-space: nowrap; }

/* ===== PRODUCT CARDS ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg3); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__wish { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-m); transition: var(--transition); cursor: pointer; border: none; }
.product-card__wish:hover { color: var(--primary); background: #fff; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: .95rem; font-weight: 700; line-height: 1.3; }
.product-card__short { font-size: .82rem; color: var(--text-m); margin-top: 6px; line-height: 1.4; }
.product-card__price-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.product-card__price { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.product-card__old { font-size: .85rem; color: var(--text-l); text-decoration: line-through; }
.product-card__actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }
.product-card__actions .btn { flex: 1; }
.product-card__actions .btn--detail { flex: 0; padding: 10px 14px; }

/* ===== PRODUCT PAGE ===== */
.product-page { padding: 48px 0; }
.product-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { display: grid; gap: 12px; }
.product-gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--bg3); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; }
.product-gallery__thumb { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: var(--transition); }
.product-gallery__thumb:hover, .product-gallery__thumb.active { border-color: var(--primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info__title { font-size: 1.9rem; font-weight: 800; }
.product-info__rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.product-info__price-row { display: flex; align-items: baseline; gap: 14px; margin: 20px 0; }
.product-info__price { font-size: 2.2rem; font-weight: 800; }
.product-info__old-price { font-size: 1.2rem; color: var(--text-l); text-decoration: line-through; }
.product-info__desc { color: var(--text-m); line-height: 1.7; }
.product-info__specs { margin-top: 20px; display: grid; gap: 10px; }
.spec-row { display: flex; gap: 10px; font-size: .88rem; }
.spec-row__label { color: var(--text-m); min-width: 110px; }
.spec-row__val { font-weight: 600; }
.product-info__qty { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; }
.qty-ctrl__btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text); transition: var(--transition); font-size: 1.2rem; }
.qty-ctrl__btn:hover { color: var(--primary); background: var(--bg3); }
.qty-ctrl__val { width: 40px; text-align: center; font-weight: 700; border: none; background: none; }
.product-info__add { margin-top: 20px; display: flex; gap: 10px; }
.product-info__perks { margin-top: 24px; display: grid; gap: 10px; padding: 20px; background: var(--bg2); border-radius: var(--radius); border: 1px solid var(--border); }
.perk { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; }
.perk svg { color: var(--primary); flex-shrink: 0; }

/* ===== CART ===== */
.cart-page { padding: 48px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); }
.cart-item__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 700; font-size: .95rem; }
.cart-item__price { color: var(--text-m); font-size: .88rem; margin-top: 4px; }
.cart-item__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-item__total { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.cart-item__remove { background: none; border: none; cursor: pointer; color: var(--text-l); padding: 4px; border-radius: 50%; transition: var(--transition); }
.cart-item__remove:hover { color: #ef4444; background: #fef2f2; }
.cart-summary { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.cart-summary__title { font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.cart-summary__row:last-of-type { border-bottom: none; }
.cart-summary__total { font-weight: 800; font-size: 1.15rem; }
.cart-summary__free { color: #10b981; font-weight: 600; }
.cart-summary__note { font-size: .78rem; color: var(--text-m); margin-top: 12px; padding: 10px; background: var(--bg2); border-radius: var(--radius-sm); line-height: 1.5; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty__icon { font-size: 4rem; margin-bottom: 16px; }
.cart-empty h2 { font-size: 1.5rem; }
.cart-empty p { margin: 10px 0 24px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-label span { color: var(--primary); }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; color: var(--text); background: #fff; transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,88,138,.12); }
.form-control::placeholder { color: var(--text-l); }
.form-control.error { border-color: #ef4444; }
.form-hint { font-size: .78rem; color: var(--text-m); margin-top: 5px; }
.form-error { font-size: .78rem; color: #dc2626; margin-top: 5px; }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6071' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-card__title { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; padding: 48px 0; }

/* ===== ACCOUNT ===== */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 48px 0; }
.account-nav { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.account-nav__item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: .9rem; font-weight: 500; color: var(--text-m); border-left: 3px solid transparent; transition: var(--transition); cursor: pointer; }
.account-nav__item:hover { background: var(--bg2); color: var(--text); }
.account-nav__item--active { color: var(--primary); border-left-color: var(--primary); background: rgba(212,88,138,.04); font-weight: 600; }
.account-nav__divider { height: 1px; background: var(--border); }
.orders-list { display: grid; gap: 16px; }
.order-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; }
.order-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.order-card__id { font-weight: 800; font-size: .95rem; }
.order-card__date { font-size: .82rem; color: var(--text-m); }
.order-card__items { display: grid; gap: 8px; }
.order-card__item { display: flex; justify-content: space-between; font-size: .88rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.order-card__item:last-child { border-bottom: none; }
.order-card__total { margin-top: 12px; display: flex; justify-content: space-between; font-weight: 800; }
.order-card__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-m); display: grid; gap: 4px; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: var(--grad-soft); }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-card__logo { text-align: center; margin-bottom: 28px; }
.auth-card__title { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.auth-card__sub { text-align: center; font-size: .9rem; color: var(--text-m); margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-l); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ===== DELIVERY PAGE ===== */
.delivery-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: steps; }
.delivery-step { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 24px; counter-increment: steps; position: relative; }
.delivery-step::before { content: counter(steps); position: absolute; top: -14px; left: 24px; width: 28px; height: 28px; background: var(--grad); color: #fff; border-radius: 50%; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.delivery-step__icon { font-size: 2rem; margin-bottom: 14px; }
.delivery-step__title { font-weight: 700; margin-bottom: 8px; }
.delivery-step p { font-size: .88rem; }
.info-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.info-box { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.info-box__icon { width: 48px; height: 48px; background: var(--grad-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.info-box__title { font-weight: 700; margin-bottom: 8px; }
.info-box p { font-size: .88rem; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__icon svg { color: var(--primary); }
.contact-card__title { font-weight: 700; margin-bottom: 4px; }
.contact-card a { color: var(--primary); font-weight: 600; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; height: 380px; background: var(--bg3); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== SUCCESS PAGE ===== */
.success-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.success-card { text-align: center; max-width: 540px; }
.success-icon { width: 90px; height: 90px; background: var(--grad); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon svg { color: #fff; }
.success-card h1 { font-size: 2rem; }
.success-card p { margin: 12px 0; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ===== ABOUT PAGE ===== */
.about-hero { background: var(--grad-soft); padding: 70px 0; }
.about-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 40px; }
.stat-card { text-align: center; padding: 24px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); }
.stat-card__num { font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card__label { font-size: .85rem; color: var(--text-m); margin-top: 4px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card { padding: 24px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); }
.value-card__icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: .88rem; }

/* ===== PRIVACY / OFERTA ===== */
.legal-page { padding: 48px 0; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page__date { color: var(--text-m); margin-bottom: 32px; font-size: .88rem; }
.legal-content h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-content h3 { font-size: 1rem; margin: 18px 0 8px; }
.legal-content p { font-size: .92rem; margin-bottom: 10px; line-height: 1.7; }
.legal-content ul, .legal-content ol { margin: 10px 0 10px 20px; display: grid; gap: 6px; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content li { font-size: .92rem; line-height: 1.6; }

/* ===== ADMIN ===== */
.admin-page { padding: 32px 0; }
.admin-header { background: var(--grad); color: #fff; padding: 16px 0; margin-bottom: 32px; }
.admin-title { font-size: 1.3rem; font-weight: 800; }
.admin-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { background: var(--bg3); padding: 12px 14px; font-weight: 700; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:hover td { background: var(--bg2); }
.admin-actions { display: flex; gap: 8px; align-items: center; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 16px 0; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb__item { font-size: .82rem; color: var(--text-m); }
.breadcrumb__item a { color: var(--text-m); }
.breadcrumb__item a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--text-l); font-size: .7rem; }
.breadcrumb__item--current { color: var(--text); font-weight: 500; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9rem; border: 1.5px solid var(--border); color: var(--text-m); transition: var(--transition); cursor: pointer; text-decoration: none; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn--active { background: var(--grad); border-color: transparent; color: #fff; }

/* ===== PROMO BANNER ===== */
.promo-banner { background: var(--grad); color: #fff; padding: 48px 0; text-align: center; }
.promo-banner h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 10px; }
.promo-banner p { opacity: .9; margin-bottom: 24px; }
.promo-banner .btn--white { font-weight: 700; }

/* ===== REVIEWS (homepage) ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px; }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.review-card__name { font-weight: 700; }
.review-card__date { font-size: .78rem; color: var(--text-m); }
.review-card p { font-size: .88rem; line-height: 1.6; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.why-card { text-align: center; padding: 32px 20px; }
.why-card__icon { width: 64px; height: 64px; background: var(--grad-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.8rem; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: .88rem; }

/* ===== FOOTER ===== */
.footer { background: #1a0a1a; color: rgba(255,255,255,.75); padding: 56px 0 0; margin-top: auto; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer__col--brand .logo { margin-bottom: 14px; }
.footer__about { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.55); }
.footer__heading { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer__links a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 12px; }
.footer__contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.65); }
.footer__contacts li svg { opacity: .5; flex-shrink: 0; margin-top: 2px; }
.footer__contacts a { color: rgba(255,255,255,.8); }
.footer__contacts a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); transition: var(--transition); }
.social-btn:hover { background: var(--primary); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer__legal { font-size: .78rem !important; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--grad-soft); padding: 48px 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.page-hero p { margin-top: 10px; color: var(--text-m); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state__icon { font-size: 3.5rem; margin-bottom: 16px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.chip { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 50px; font-size: .82rem; font-weight: 600; background: var(--bg3); color: var(--text-m); border: 1.5px solid var(--border); cursor: pointer; transition: var(--transition); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip--active { background: rgba(212,88,138,.1); color: var(--primary); border-color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { gap: 40px; }
  .product-page__grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 44px 0; }
  .topbar { display: none; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 4px; z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav.nav--open { display: flex; }
  .nav__link { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__img-wrap { display: none; }
  .product-page__grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .about-hero__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-card__body { padding: 12px; }
  .product-card__actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .btn { padding: 12px 20px; }
  .btn--lg { padding: 14px 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero { padding: 44px 0; }
  .auth-card { padding: 28px 20px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item__total { grid-column: 1 / -1; }
}
