/* ============================================
   Биомика — Main Stylesheet
   ============================================ */

:root {
    --color-primary: #1B6B3A;
    --color-primary-dark: #145229;
    --color-primary-light: #2D9B5A;
    --color-accent: #E8F5EC;
    --color-bg: #FAFBFC;
    --color-bg-alt: #F0F4F2;
    --color-text: #1A1F2E;
    --color-text-muted: #5A6478;
    --color-border: #E2E8F0;
    --color-white: #FFFFFF;
    --color-blue: #2563EB;
    --color-teal: #0D9488;
    --color-orange: #EA580C;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Manrope', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

    --header-height: 72px;
    --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Top bar ---- */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar__left { display: flex; align-items: center; gap: 20px; }

.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.9);
}
.top-bar__link:hover { color: var(--color-white); }
.top-bar__link svg { opacity: .7; }

.top-bar__hours { opacity: .65; }

/* ---- Header ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    flex-shrink: 0;
}
.logo:hover { color: var(--color-text); opacity: .92; }

.logo__img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.logo__img--footer {
    height: 42px;
    filter: brightness(0) invert(1);
}

.nav { display: flex; gap: 4px; }

.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav__arrow {
    margin-left: 6px;
    transition: transform 0.2s ease;
    display: inline-block;
    vertical-align: middle;
}

.nav__item--dropdown:hover .nav__arrow {
    transform: rotate(180deg);
}

.nav__item--dropdown:hover .nav__link {
    background: var(--color-accent);
    color: var(--color-primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.nav__item--dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu__link {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu__link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.dropdown-menu__link--all {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--color-primary);
}

.nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    transition: background var(--transition), color var(--transition);
}
.nav__link:hover,
.nav__link.active {
    background: var(--color-accent);
    color: var(--color-primary);
}

.header__cta { flex-shrink: 0; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 110;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn--secondary {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}
.btn--secondary:hover {
    background: #d4edda;
    color: var(--color-primary-dark);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}
.btn--white:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,82,41,.68) 0%, rgba(27,107,58,.58) 45%, rgba(20,82,41,.52) 100%);
    z-index: 1;
}

.hero__overlay--strong {
    background: linear-gradient(135deg, rgba(20,82,41,.88) 0%, rgba(27,107,58,.8) 45%, rgba(20,82,41,.74) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    color: rgba(255,255,255,.95);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

.hero__text {
    font-size: 18px;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: transform var(--transition), background var(--transition);
    color: var(--color-white);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.hero-card:hover,
.hero-card:visited,
.hero-card:active {
    color: var(--color-white);
}
.hero-card:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,.15);
}

.hero-card a {
    color: inherit;
    text-decoration: none;
    -webkit-text-fill-color: currentColor;
}

.hero-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    color: var(--color-white);
    flex-shrink: 0;
}
.hero-card__icon svg { width: 22px; height: 22px; }

.hero-card strong {
    display: block;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
}
.hero-card span {
    font-size: 13px;
    color: rgba(255,255,255,.65);
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-alt); }

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

/* ---- About grid ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-grid__text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about-grid__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}
.feature-pill:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-pill__num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    opacity: .3;
    line-height: 1;
    flex-shrink: 0;
}

.feature-pill h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.feature-pill p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ---- Advantages ---- */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.advantage-card {
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition);
}
.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-card__num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ---- Products ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    display: block;
    padding: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    transition: all var(--transition);
    overflow: hidden;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
    color: var(--color-text);
}

.product-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.product-card__icon svg { width: 28px; height: 28px; }

.product-card__icon--green { background: #DCFCE7; color: var(--color-primary); }
.product-card__icon--blue  { background: #DBEAFE; color: var(--color-blue); }
.product-card__icon--teal  { background: #CCFBF1; color: var(--color-teal); }
.product-card__icon--orange { background: #FFEDD5; color: var(--color-orange); }

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.product-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.product-card__arrow {
    position: absolute;
    bottom: 28px;
    right: 28px;
    font-size: 20px;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
}
.product-card:hover .product-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- CTA ---- */
.cta {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    padding: 72px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta__text h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
}
.cta__text p {
    color: rgba(255,255,255,.8);
    font-size: 16px;
}

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 16px; }

.form--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
    min-width: 300px;
}
.form--inline .form__group { flex: 1; min-width: 160px; }

.form--card {
    background: var(--color-white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form--card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.form__group input,
.form__group textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,107,58,.12);
}

.form__group textarea { resize: vertical; min-height: 100px; }

.form__note {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.form__note a { color: var(--color-primary); }

/* ---- Page hero ---- */
.page-hero {
    background: var(--color-bg-alt);
    padding: 48px 0;
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* ---- About page ---- */
.about-full {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.about-full__main h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-full__main .lead {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-full__main p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    margin-top: 24px;
    color: var(--color-primary-dark);
}
.info-banner svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--color-primary); }

.sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}
.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
}

.check-list { list-style: none; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text-muted);
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.doc-list { list-style: none; }
.doc-list a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
}
.doc-list a:hover { color: var(--color-primary); }

.docs-section {
    scroll-margin-top: 100px;
}

.docs-section__header {
    max-width: 760px;
    margin-bottom: 40px;
}

.docs-section__lead {
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.65;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    outline: none;
}

.doc-card__media {
    aspect-ratio: 4 / 3;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.doc-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .3s ease;
}

.doc-card:hover .doc-card__media img {
    transform: scale(1.03);
}

.doc-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 24px;
    flex: 1;
}

.doc-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.doc-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    flex: 1;
}

.doc-card__action {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.doc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.doc-lightbox[hidden] {
    display: none;
}

.doc-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .82);
}

.doc-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.doc-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--color-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.doc-lightbox__title {
    padding: 20px 56px 12px 24px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.doc-lightbox__frame {
    overflow: auto;
    padding: 0 24px 24px;
}

.doc-lightbox__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.stat-card__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.stat-card__label {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ---- Catalog ---- */
.catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
    padding: 8px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.catalog-nav__item {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
}
.catalog-nav__item:hover {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.catalog-section {
    margin-bottom: 64px;
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.catalog-section__header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
}
.catalog-section__header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}
.catalog-section__header p {
    color: var(--color-text-muted);
    font-size: 15px;
}

.catalog-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.catalog-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition);
}
.catalog-item:hover { box-shadow: var(--shadow-sm); }

.catalog-item__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    flex-shrink: 0;
}
.catalog-item__icon svg { width: 20px; height: 20px; }

.catalog-item span {
    font-size: 15px;
    font-weight: 500;
}

.catalog-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.catalog-request h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}
.catalog-request p { color: var(--color-text-muted); }

/* ---- News ---- */
.news-section__header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px;
}

.news-section__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: 16px;
}

.news-section__lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-primary);
}

.news-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-accordion__item {
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.news-accordion__item[open] {
    box-shadow: var(--shadow-md);
}

.news-accordion__summary {
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr auto;
    gap: 0;
    align-items: stretch;
    cursor: pointer;
    list-style: none;
}

.news-accordion__summary::-webkit-details-marker {
    display: none;
}

.news-accordion__media {
    background: #f3f6f4;
    min-height: 220px;
}

.news-accordion__media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.news-accordion__head {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.news-accordion__date {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.news-accordion__title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.news-accordion__excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.news-accordion__toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: auto;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.news-accordion__toggle-label--open {
    display: none;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 9px 21px;
}

.news-accordion__item[open] .news-accordion__toggle-label--closed {
    display: none;
}

.news-accordion__item[open] .news-accordion__toggle-label--open {
    display: inline-flex;
}

.news-accordion__item[open] .news-accordion__toggle-label {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 9px 21px;
}

.news-accordion__icon {
    display: none;
}

.news-accordion__content {
    padding: 0 32px 32px;
    border-top: 1px solid var(--color-border);
    background: #fafcfb;
}

.news-accordion__content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    margin: 0;
    padding-top: 20px;
}

.news-accordion__content p + p {
    padding-top: 14px;
}

@media (max-width: 768px) {
    .news-accordion__summary {
        grid-template-columns: 1fr;
    }

    .news-accordion__media {
        min-height: 180px;
    }

    .news-accordion__media img {
        min-height: 180px;
    }

    .news-accordion__head {
        padding: 20px;
    }

    .news-accordion__content {
        padding: 0 20px 24px;
    }
}

/* ---- Contacts ---- */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: start;
}

.contacts-info h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.contacts-info .lead {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.contact-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}
.contact-card a,
.contact-card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
}
.contact-card a:hover { color: var(--color-primary); }

.map-section iframe { display: block; filter: grayscale(10%); }
.map-section__link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}
.map-section__link a { color: var(--color-primary); font-weight: 600; }

/* ---- Legal ---- */
.legal-content {
    max-width: 760px;
}
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
}
.legal-content p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.logo--footer { color: var(--color-white); margin-bottom: 16px; }
.logo--footer .logo__text strong { color: var(--color-white); }

.footer__desc {
    font-size: 14px;
    line-height: 1.65;
    max-width: 280px;
}

.footer__col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    transition: color var(--transition);
}
.footer__col a:hover { color: var(--color-white); }

.footer__contacts li {
    font-size: 14px;
    line-height: 1.5;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom a {
    color: rgba(255,255,255,.5);
    font-size: 13px;
}
.footer__bottom a:hover { color: rgba(255,255,255,.8); }

/* ---- Modal ---- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
}

.modal__box {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(.97);
    transition: transform .3s ease;
}
.modal.open .modal__box {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}
.modal__close:hover { color: var(--color-text); }

.modal__box h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}
.modal__sub {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

/* ---- Toast notification ---- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    padding: 16px 24px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-card { flex: 1; min-width: 240px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-full { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar__hours { display: none; }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: 105;
        background: var(--color-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__item--dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav__item--dropdown .nav__link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav__item--dropdown:hover .nav__link {
        background: transparent;
        color: var(--color-text);
    }

    .nav__item--dropdown.active .nav__link,
    .nav__item--dropdown .nav__link:hover {
        background: var(--color-accent);
        color: var(--color-primary);
    }

    .dropdown-menu,
    .nav__item--dropdown:hover .dropdown-menu {
        position: static;
        left: auto;
        right: auto;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 4px 0 8px;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        transition: none;
        background: transparent;
    }

    .nav__item--dropdown.active .dropdown-menu {
        display: block;
    }

    .nav__item--dropdown.active .nav__arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu__link {
        display: block;
        padding: 10px 12px;
        font-size: 14px;
        color: var(--color-text-muted);
        border-radius: var(--radius-sm);
    }

    .dropdown-menu__link--all {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 10px;
        margin-bottom: 4px;
        font-weight: 600;
        color: var(--color-primary);
    }

    .dropdown-menu__link:hover {
        background: var(--color-accent);
        color: var(--color-primary);
    }

    .burger { display: flex; }
    .header__cta { display: none; }

    .hero { padding: 60px 0 80px; min-height: auto; }
    .hero__cards { flex-direction: column; }

    .section { padding: 64px 0; }

    .cta__inner { flex-direction: column; text-align: center; }
    .form--inline { flex-direction: column; }

    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .catalog-request { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }

    .page-home .hero__actions {
        flex-direction: row;
    }
    .page-home .hero__actions .btn {
        width: auto;
        flex: 1;
        min-width: 0;
    }
}

/* ---- Homepage mobile compact ---- */
@media (max-width: 768px) {
    .page-home .hero {
        padding: 24px 0 28px;
        min-height: 0;
    }

    .page-home .hero__inner {
        gap: 0;
    }

    .page-home .hero__badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .page-home .hero__title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .page-home .hero__text {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-home .hero__cards {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .page-home .hero-card {
        padding: 10px 12px;
        gap: 10px;
        border-radius: var(--radius-md);
    }

    .page-home .hero-card__icon {
        width: 34px;
        height: 34px;
        border-radius: var(--radius-sm);
    }

    .page-home .hero-card__icon svg {
        width: 16px;
        height: 16px;
    }

    .page-home .hero-card strong {
        font-size: 13px;
        line-height: 1.3;
    }

    .page-home .hero-card span {
        font-size: 11px;
        line-height: 1.3;
    }

    .page-home .hero__actions {
        flex-direction: row;
        gap: 8px;
    }

    .page-home .hero__actions .btn--lg {
        padding: 10px 14px;
        font-size: 14px;
        flex: 1;
        min-width: 0;
    }

    .page-home .section {
        padding: 40px 0;
    }

    .page-home .section-header {
        margin-bottom: 24px;
    }

    .page-home .section-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .page-home .section-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .page-home .about-grid {
        gap: 24px;
    }

    .page-home .about-grid__text p:nth-of-type(2) {
        font-size: 14px;
    }

    .page-home .about-grid__features {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .page-home .about-grid__features::-webkit-scrollbar {
        display: none;
    }

    .page-home .feature-pill {
        flex: 0 0 auto;
        min-width: 140px;
        padding: 12px 14px;
        gap: 10px;
    }

    .page-home .feature-pill__num {
        font-size: 18px;
    }

    .page-home .feature-pill h4 {
        font-size: 13px;
        margin-bottom: 0;
    }

    .page-home .feature-pill p {
        display: none;
    }

    .page-home .advantages {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .page-home .advantage-card {
        padding: 14px;
    }

    .page-home .advantage-card__num {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .page-home .advantage-card h3 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .page-home .advantage-card p {
        font-size: 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-home .animals-strip {
        padding: 40px 0;
    }

    .page-home .animals-strip__header {
        margin-bottom: 20px;
    }

    .page-home .animals-strip__header p {
        font-size: 14px;
        margin-top: 8px;
    }

    .page-home .animal-card__label {
        padding: 12px;
        font-size: 15px;
    }

    .page-home .direction-card__image {
        height: 110px;
        padding: 12px;
    }

    .page-home .direction-card h3 {
        font-size: 13px;
        padding: 12px 10px 4px;
    }

    .page-home .direction-card p {
        font-size: 11px;
        padding: 0 10px 14px;
    }

    .page-home .vet-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .page-home .vet-product-card:nth-child(n+9) {
        display: none;
    }

    .page-home .vet-product-card__image {
        margin: 8px 8px 0;
        padding: 8px;
    }

    .page-home .section-desc {
        font-size: 13px;
    }

    .page-home .section-footer {
        margin-top: 24px;
    }

    .page-home .section-footer .btn--lg {
        padding: 12px 20px;
        font-size: 14px;
    }

    .page-home .cta {
        padding: 40px 0;
    }

    .page-home .cta__text h2 {
        font-size: 20px;
    }

    .page-home .cta__text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-home .hero__title {
        font-size: 21px;
    }

    .page-home .hero__text {
        -webkit-line-clamp: 3;
        margin-bottom: 14px;
    }

    .page-home .hero {
        padding: 20px 0 24px;
    }
}

/* ---- Animals strip ---- */
.animals-strip {
    padding: 80px 0;
    background: var(--color-white);
}

.animals-strip__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.animals-strip__header p {
    color: var(--color-text-muted);
    margin-top: 12px;
}

.animals-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.animal-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-md);
}
.animal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.animal-card:hover img { transform: scale(1.06); }

.animal-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

/* ---- Vet product cards ---- */
.vet-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.vet-product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--color-text);
    transition: box-shadow var(--transition), transform var(--transition);
}
.vet-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--color-text);
}

.vet-product-card__image {
    position: relative;
    aspect-ratio: 1;
    margin: 12px 12px 0;
    background: #f3f6f4;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.vet-product-card__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform var(--transition);
}
.vet-product-card:hover .vet-product-card__image img {
    transform: scale(1.04);
}

.vet-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(255,255,255,.92);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vet-product-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vet-product-card__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.vet-product-card__latin {
    font-size: 12px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 8px;
}

.vet-product-card__short {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vet-product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.vet-product-card__animals {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}
.vet-product-card__animals svg { color: var(--color-primary); flex-shrink: 0; }

.vet-product-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-top: 8px;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ---- Catalog page ---- */
.page-hero--catalog,
.page-hero--product,
.page-hero--info {
    position: relative;
    padding: 72px 0;
    overflow: hidden;
    border-bottom: none;
    background: transparent;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
}

.page-hero--image .hero__overlay {
    background: linear-gradient(135deg, rgba(20,82,41,.78) 0%, rgba(27,107,58,.68) 50%, rgba(20,82,41,.6) 100%);
    z-index: 1;
}

.page-hero--product .hero__overlay {
    background: linear-gradient(135deg, rgba(20,82,41,.84) 0%, rgba(27,107,58,.74) 50%, rgba(20,82,41,.66) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.page-hero--image h1,
.page-hero--catalog h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 8px;
}
.page-hero__sub {
    margin-top: 16px;
    font-size: 17px;
    opacity: .9;
    max-width: 600px;
}

.breadcrumb--light,
.breadcrumb--light a {
    color: rgba(255,255,255,.75);
}
.breadcrumb--light a:hover { color: var(--color-white); }

.catalog-page { padding-top: 48px; }

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.catalog-search {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 480px;
}
.catalog-search input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
}
.catalog-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,107,58,.12);
}

.catalog-count {
    font-size: 14px;
    color: var(--color-text-muted);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.catalog-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.catalog-categories { list-style: none; }
.catalog-categories li { margin-bottom: 4px; }

.catalog-categories__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition);
}
.catalog-categories__link span {
    font-size: 12px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 2px 8px;
    border-radius: 100px;
}
.catalog-categories__link:hover,
.catalog-categories__link.active {
    background: var(--color-accent);
    color: var(--color-primary);
}

.catalog-empty {
    text-align: center;
    padding: 64px 24px;
    color: var(--color-text-muted);
}
.catalog-empty p { margin-bottom: 20px; }

/* ---- Animals banner ---- */
.animals-banner {
    background: var(--color-primary-dark);
    padding: 64px 0;
}

.animals-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.animals-banner__text {
    flex: 1;
    min-width: 280px;
    color: var(--color-white);
}
.animals-banner__text h2 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 12px;
}
.animals-banner__text p {
    opacity: .85;
    line-height: 1.65;
}

.animals-banner__photos {
    display: flex;
    gap: 12px;
}
.animals-banner__photos img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
    transition: transform var(--transition);
}
.animals-banner__photos img:hover {
    transform: scale(1.1);
    border-color: var(--color-white);
}

/* ---- Product detail ---- */
.product-detail__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

.product-detail__image {
    background: #f3f6f4;
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.product-detail__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
}

.product-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}
.tag--green { background: var(--color-accent); color: var(--color-primary); }
.tag--blue { background: #DBEAFE; color: var(--color-blue); }

.product-detail__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 4px;
}

.product-detail__latin {
    font-size: 16px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.product-detail__lead {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.product-detail__lead p {
    margin: 0 0 12px;
}
.product-detail__lead p:last-child {
    margin-bottom: 0;
}

.product-detail__instruction {
    margin-bottom: 24px;
}

.product-detail__specs {
    margin-bottom: 32px;
}

.spec-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}
.spec-row dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.spec-row dd {
    font-size: 15px;
    font-weight: 500;
}

.product-detail__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Product tabs */
.product-tabs__nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 32px;
    overflow-x: auto;
}

.product-tabs__btn {
    padding: 14px 24px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.product-tabs__btn:hover { color: var(--color-primary); }
.product-tabs__btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.product-tabs__panel {
    display: none;
    max-width: 800px;
}
.product-tabs__panel.active { display: block; }

.product-tabs__panel h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.product-tabs__panel p {
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 16px;
}

.product-related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}
.product-related .section-title { margin-bottom: 32px; }

@media (max-width: 1024px) {
    .animals-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .product-detail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .animals-strip__grid { grid-template-columns: 1fr 1fr; }
    .animal-card { aspect-ratio: 1; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; }
    .animals-banner__photos img { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
    .animals-strip__grid { grid-template-columns: 1fr; }
}

/* ---- Directions (4 product areas like old site) ---- */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.direction-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    color: var(--color-text);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.direction-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
}

.direction-card__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    padding: 20px;
    overflow: hidden;
}
.direction-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.direction-card h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 20px 16px 6px;
    line-height: 1.35;
    color: var(--color-primary-dark);
}
.direction-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 0 16px 24px;
}

@media (max-width: 1024px) {
    .directions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .directions-grid { grid-template-columns: 1fr; }
}

/* SEO text block */
.seo-text {
    padding: 48px 0 56px;
    background: var(--color-bg-alt, #f3f6f4);
    border-top: 1px solid rgba(27, 107, 58, 0.08);
}
.seo-text__inner {
    max-width: 860px;
}
.seo-text__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    line-height: 1.35;
}
.seo-text__body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.product-tabs__text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    white-space: pre-wrap;
}
