
:root {
  --blue: #078cc8;
  --blue-dark: #056e9e;
  --blue-soft: #eaf7fc;
  --ink: #153047;
  --muted: #607486;
  --line: #dce7ed;
  --surface: #c9e9f4;
  --surface-alt: #d8eef6;
  --radius: 22px;
  --shadow: 0 16px 50px rgba(21, 48, 71, .10);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip-link:focus { left: 12px; top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(229,244,249,.96);
  border-bottom: 1px solid rgba(220,231,237,.85);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 235px; }
.brand img { width: 50px; height: 60px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 18px; letter-spacing: -.02em; }
.brand-text span { margin-top: 6px; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 14px; color: #315066; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--blue-dark); background: var(--blue-soft); }
.nav .nav-contact { color: #fff; background: var(--blue); }
.nav .nav-contact:hover, .nav .nav-contact.active { color: #fff; background: var(--blue-dark); }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 44px; height: 44px; font-size: 22px; color: var(--ink); }
.hero { position: relative; overflow: hidden; padding: 76px 0 62px; background: linear-gradient(145deg, #d8eef6 0%, #c9e9f4 60%); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(7,140,200,.18), rgba(7,140,200,0) 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 13px; font-weight: 800; color: var(--blue-dark); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
h1 { max-width: 790px; margin: 0; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.03; letter-spacing: -.052em; }
h1 span { color: var(--blue); }
.lead { max-width: 690px; margin: 24px 0 0; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(7,140,200,.24); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.hero-card { position: relative; min-height: 500px; display: grid; place-items: center; border: 1px solid rgba(7,140,200,.13); border-radius: 36px; background: rgba(255,255,255,.78); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::after { content: ""; position: absolute; inset: auto -60px -110px auto; width: 260px; height: 260px; border: 38px solid rgba(7,140,200,.07); transform: rotate(30deg); }
.hero-card img { width: min(85%, 420px); max-height: 440px; object-fit: contain; position: relative; z-index: 2; }
.trust-strip { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.trust-item strong { display: block; font-size: 17px; }
.trust-item span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.section { padding: 86px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head > div { max-width: 780px; }
.section h2, .page-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.section-intro { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid #c5dfe9; border-radius: var(--radius); background: #eef8fc; box-shadow: 0 8px 30px rgba(21,48,71,.05); }
.card h3 { margin: 16px 0 8px; font-size: 21px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 900; font-size: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-panel { padding: 38px; border-radius: 28px; background: var(--ink); color: #fff; }
.feature-panel h3 { margin: 0 0 18px; font-size: 30px; line-height: 1.15; }
.feature-panel p { color: #d7e3ea; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; color: var(--ink); background: #fff; font-size: 13px; font-weight: 900; }
.page-hero { padding: 68px 0 52px; background: linear-gradient(145deg, #d7edf5, #c9e9f4 68%); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }
.breadcrumbs { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--blue-dark); text-decoration: none; }
.rich-text { max-width: 850px; }
.rich-text h2 { margin: 42px 0 14px; font-size: 30px; }
.rich-text p, .rich-text li { color: var(--muted); font-size: 18px; }
.rich-text ul { padding-left: 22px; }
.info-bar { display: flex; gap: 18px; align-items: flex-start; padding: 22px; margin: 30px 0; border: 1px solid #b8d8e4; border-radius: 18px; background: #e6f3f8; }
.info-bar strong { display: block; margin-bottom: 3px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card { min-height: 230px; display: grid; place-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.partner-card img { width: 100%; height: 160px; object-fit: contain; }
.external-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.external-card h2 { margin: 0 0 8px; font-size: 30px; }
.external-card p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.contact-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.contact-card a, .contact-card address { display: block; margin-top: 12px; font-size: 21px; line-height: 1.4; text-decoration: none; font-style: normal; font-weight: 760; }
.contact-card a:hover { color: var(--blue-dark); }
.contact-card.wide { grid-column: 1 / -1; }
.map-link { margin-top: 18px !important; display: inline-flex !important; font-size: 15px !important; color: var(--blue-dark); }
.warehouse-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 28px; align-items: stretch; }
.warehouse-info { align-self: center; }
.contact-map { min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #e9f5fa; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.cta { padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 28px; background: linear-gradient(135deg, #086e9f, #079ed9); color: #fff; }
.cta h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.cta p { margin: 8px 0 0; color: rgba(255,255,255,.82); }
.cta .button { background: #fff; color: var(--blue-dark); flex: 0 0 auto; }
.site-footer { padding: 48px 0 28px; background: #10283a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 44px; }
.footer-logo { display: flex; gap: 14px; align-items: center; }
.footer-logo img { width: 58px; height: 68px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px; }
.footer-logo strong { font-size: 20px; }
.footer-note { margin: 16px 0 0; max-width: 480px; color: #b8c9d5; }
.footer-title { margin: 0 0 12px; color: #8eb9cf; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: #70d2f2; }
.copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb2bf; font-size: 14px; }
@media (max-width: 1040px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 14px; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 430px; max-width: 620px; width: 100%; margin-inline: auto; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { min-width: auto; }
  .brand-text span { display: none; }
  .hero { padding: 52px 0 44px; }
  .hero-card { min-height: 360px; }
  .trust-strip, .grid-3, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { min-height: 180px; padding: 18px; }
  .partner-card img { height: 125px; }
  .external-card { grid-template-columns: 1fr; }
  .contact-card.wide { grid-column: auto; }
  .warehouse-card { grid-template-columns: 1fr; }
  .contact-map, .contact-map iframe { min-height: 280px; }
  .cta { align-items: flex-start; flex-direction: column; padding: 30px; }
}
@media (max-width: 480px) {
  h1 { font-size: 39px; }
  .brand-text strong { font-size: 16px; }
  .brand img { width: 44px; height: 52px; }
  .partner-grid { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}

/* Product catalogue */
.catalog-section { padding-top: 72px; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.catalog-toolbar h2 { margin: 0; }
.catalog-search { width: min(100%, 360px); display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.catalog-search input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: 0; outline: none; }
.catalog-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,140,200,.12); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid #bfdbe6; border-radius: 24px; background: #eaf5fa; box-shadow: 0 12px 34px rgba(21,48,71,.07); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21,48,71,.10); border-color: #b9d9e8; }
.product-card__image { padding: 16px; background: linear-gradient(145deg, #dceef5, #edf8fc); border-bottom: 1px solid #c6e0ea; }
.product-card__image img { width: 100%; height: 220px; object-fit: contain; border-radius: 18px; background: #f7fcfe; padding: 10px; }
.product-card__body { padding: 20px 22px 24px; }
.product-card__body h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.product-card__body p { margin: 0; color: var(--muted); }
.catalog-empty { margin: 0; padding: 36px 20px; text-align: center; color: var(--muted); }
.catalog-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .catalog-toolbar { display: grid; align-items: stretch; }
  .catalog-search { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__image { padding: 14px; }
  .product-card__image img { height: 180px; }
}


/* --- AVS custom refresh --- */
.hero-rich { background: linear-gradient(135deg, #eef8fc 0%, #ffffff 45%, #f5fbff 100%); }
.hero-grid-rich { align-items: center; gap: 42px; }
.hero-card-photo { position: relative; padding: 0; overflow: hidden; min-height: 520px; border-radius: 36px; }
.hero-card-photo > img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 24px; padding: 10px 16px; border-radius: 999px; color: #fff; font-weight: 800; background: rgba(16,40,58,.78); backdrop-filter: blur(8px); }
.hero-badge-top { top: 24px; }
.hero-badge-bottom { bottom: 24px; }
.hero-address { margin-top: 16px; color: var(--ink); font-weight: 700; }
.animal-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.animal-tags span { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(21,48,71,.05); font-weight: 700; }
.partner-grid-rich .partner-card { align-content: center; text-align: center; gap: 10px; }
.partner-grid-rich .partner-card span { display: block; color: var(--muted); font-weight: 700; }
.partner-card--text { padding: 34px 22px; background: linear-gradient(145deg, var(--blue-soft), #fff); }
.partner-card--text strong { font-size: 24px; }
.product-grid-detailed { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.product-card-detailed .product-card__body { display: flex; flex-direction: column; gap: 12px; }
.product-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-species { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #f0f7fb; color: #5e7185; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #fff2db; color: #a96a00; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.product-card-detailed h3 { margin: 0; color: #0c4ca3; font-size: 34px; line-height: 1.12; font-family: Georgia, "Times New Roman", serif; }
.product-active, .product-description, .product-maker { margin: 0; color: var(--ink); }
.product-active strong { font-weight: 800; }
.product-description { color: #33495c; }
.product-maker { margin-top: auto !important; color: #8091a1; font-size: 14px; }
@media (max-width: 1100px) {
  .product-grid-detailed { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .hero-card-photo { min-height: 420px; }
}
@media (max-width: 760px) {
  .hero-grid-rich { grid-template-columns: 1fr; }
  .hero-card-photo { min-height: 320px; }
  .product-grid-detailed { grid-template-columns: 1fr; }
  .product-card-detailed h3 { font-size: 28px; }
}


/* --- final adjustments --- */
.hero-background-cows {
  position: relative;
  background-image: linear-gradient(rgba(10, 31, 46, 0.54), rgba(10, 31, 46, 0.54)), url('../img/hero-cows.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 78px 0 86px;
}
.hero-background-cows .hero-overlay-box {
  max-width: 760px;
  padding: 42px;
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(5px);
  box-shadow: 0 18px 44px rgba(0,0,0,.15);
}
.hero-background-cows .eyebrow,
.hero-background-cows h1,
.hero-background-cows .lead,
.hero-background-cows .hero-address { color: var(--ink); }
.hero-background-cows .trust-item { background: rgba(255,255,255,.97); }
.hero-background-cows .button-secondary { background: rgba(255,255,255,.92); }
.product-card-detailed .product-card__body { gap: 10px; }
@media (max-width: 760px) {
  .hero-background-cows { padding: 46px 0 56px; }
  .hero-background-cows .hero-overlay-box { padding: 26px; }
}


/* pale blue page background */
main { background: transparent; }


/* v9 content and catalogue redesign */
.brand img, .footer-logo img { background: transparent !important; }
.brand img { width: 54px; height: 62px; }
.footer-grid-v9 { grid-template-columns: 1.05fr 1fr 1fr; }
.footer-address { margin: 0; color: #d4e1e9; line-height: 1.55; }
.order-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.order-steps article { padding: 24px; border: 1px solid #b8d8e4; border-radius: 22px; background: #e9f5fa; }
.order-steps article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; }
.order-steps h3 { margin: 16px 0 8px; }
.order-steps p { margin: 0; color: var(--muted); }
.catalog-section { padding-top: 54px; }
.catalog-controls { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 14px; align-items: end; margin-bottom: 18px; }
.catalog-controls label, .catalog-search { width: 100%; display: grid; gap: 8px; color: #526d80; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.catalog-controls input, .catalog-controls select { width: 100%; min-height: 50px; border: 1px solid #acd0df; border-radius: 14px; padding: 0 14px; background: #eef8fc; color: var(--ink); font: inherit; font-size: 15px; text-transform: none; letter-spacing: normal; outline: none; }
.catalog-controls input:focus, .catalog-controls select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,140,200,.12); }
.catalog-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; color: var(--muted); }
.catalog-summary span { font-weight: 900; color: var(--ink); }
.product-grid-compact { grid-template-columns: repeat(3,1fr); }
.product-card-compact { display: flex; flex-direction: column; }
.product-card-compact .product-card__image { height: 210px; display: grid; place-items: center; }
.product-card-compact .product-card__image img { height: 180px; }
.product-card-compact .product-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.product-card-compact h3 { margin: 0; font-family: inherit; color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.product-short { margin: 0; color: var(--muted); }
.product-card__bottom { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 20px; color: var(--blue-dark); }
.product-more { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.product-placeholder { width: 100%; height: 180px; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 18px; background: linear-gradient(145deg,#d6ecf5,#f4fbfd); color: var(--blue-dark); }
.product-placeholder span { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px; background: #fff; font-size: 25px; font-weight: 900; }
.product-dialog { width: min(920px, calc(100% - 30px)); border: 0; border-radius: 26px; padding: 28px; background: #eaf5fa; color: var(--ink); box-shadow: 0 30px 90px rgba(10,31,46,.32); }
.product-dialog::backdrop { background: rgba(10,31,46,.66); }
.dialog-close { position: absolute; right: 16px; top: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; font-size: 28px; cursor: pointer; }
.dialog-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.dialog-image { padding: 16px; border-radius: 20px; background: #f7fcfe; }
.dialog-image img { width: 100%; max-height: 430px; object-fit: contain; }
.product-dialog h2 { margin: 10px 0 14px; font-size: 38px; }
.dialog-category { color: var(--blue-dark); font-weight: 800; }
.dialog-price { margin: 20px 0; padding: 16px 18px; border-radius: 16px; background: #d7edf5; }
.dialog-price span { display: block; color: var(--muted); font-size: 13px; }
.dialog-price strong { display: block; font-size: 26px; }
.delivery-options .card { min-height: 100%; }
.delivery-list { margin: 24px 0 0; padding-left: 24px; display: grid; gap: 16px; }
.delivery-list li { padding-left: 8px; color: var(--muted); }
.delivery-list strong { color: var(--ink); }
.delivery-docs { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px; border: 1px solid #b7d8e5; border-radius: 26px; background: #e9f5fa; }
.delivery-docs h2 { margin: 0 0 12px; }
.delivery-docs p { margin: 0; color: var(--muted); }
@media (max-width: 1040px) {
  .catalog-controls { grid-template-columns: repeat(2,1fr); }
  .product-grid-compact { grid-template-columns: repeat(2,1fr); }
  .order-steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .footer-grid-v9, .catalog-controls, .product-grid-compact, .order-steps, .dialog-grid, .delivery-docs { grid-template-columns: 1fr; }
  .catalog-summary { align-items: flex-start; flex-direction: column; }
  .product-dialog { padding: 22px; }
  .product-dialog h2 { font-size: 30px; }
  .dialog-image img { max-height: 280px; }
}


/* Catalog without displayed prices */
.product-card__bottom { justify-content: flex-end; }
.product-card__bottom .product-more { width: 100%; }


/* Catalogue filtering fixes */
[data-catalog-item][hidden], .catalog-empty[hidden] { display: none !important; }
.catalog-controls { grid-template-columns: 1.35fr repeat(3, 1fr) auto; }
.catalog-reset {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #97c3d5;
  border-radius: 14px;
  background: #e7f4f9;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.catalog-reset:hover:not(:disabled) { background: #d9eef6; }
.catalog-reset:disabled { opacity: .45; cursor: default; }
@media (max-width: 1180px) {
  .catalog-controls { grid-template-columns: repeat(2, 1fr); }
  .catalog-reset { width: 100%; }
}
@media (max-width: 760px) {
  .catalog-controls { grid-template-columns: 1fr; }
}


/* Expanded product descriptions */
.product-dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.product-dialog .dialog-grid { align-items: start; }
.product-dialog .dialog-content { min-width: 0; }
.product-dialog .dialog-content > h2 { margin-bottom: 8px; }
.dialog-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.dialog-facts > div { padding: 16px; border: 1px solid #bfdbe6; border-radius: 16px; background: #edf8fc; }
.dialog-facts strong { display: block; margin-bottom: 6px; color: var(--blue-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.dialog-facts span { display: block; color: var(--ink); line-height: 1.45; }
.dialog-section { margin: 20px 0 0; }
.dialog-section h3 { margin: 0 0 7px; font-size: 18px; }
.dialog-section p { margin: 0; color: #33495c; line-height: 1.7; text-align: justify; text-justify: inter-word; hyphens: auto; white-space: pre-line; }
.dialog-note { padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 12px; background: #e6f3f8; }
.product-dialog .button { margin-top: 24px; }
@media (max-width: 760px) {
  .dialog-facts { grid-template-columns: 1fr; }
  .product-dialog { width: min(100% - 18px, 1040px); max-height: calc(100vh - 18px); }
}


/* partner grid final item alignment */
.partner-grid-rich > .partner-card:last-child { grid-column: 2 / 3; }
@media (max-width: 1040px) {
  .partner-grid-rich > .partner-card:last-child { grid-column: 2 / 3; }
}
@media (max-width: 760px) {
  .partner-grid-rich > .partner-card:last-child { grid-column: auto; }
}

/* Center the final partner exactly between columns 2 and 3 */
@media (min-width: 1041px) {
  .partner-grid-rich > .partner-card:last-child {
    grid-column: 2 / 4;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }
}
@media (min-width: 761px) and (max-width: 1040px) {
  .partner-grid-rich > .partner-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 36px) / 3);
  }
}
@media (max-width: 760px) {
  .partner-grid-rich > .partner-card:last-child {
    grid-column: auto;
    width: 100%;
  }
}


/* expanded about and partners content */
.rich-text-wide { max-width: 980px; }
.about-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 46px; }
.about-feature-card { padding: 26px; border: 1px solid #b8d8e4; border-radius: 22px; background: #eaf5fa; box-shadow: 0 8px 26px rgba(21,48,71,.05); }
.about-feature-card h3 { margin: 16px 0 8px; font-size: 21px; line-height: 1.25; }
.about-feature-card p { margin: 0; color: var(--muted); font-size: 16px; }
.partners-intro-section { padding-bottom: 42px; }
.partners-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.partners-intro h2 { margin: 0; }
.partners-copy { padding: 30px; border: 1px solid #b8d8e4; border-radius: 24px; background: #eaf5fa; }
.partners-copy p { margin: 0; color: var(--muted); font-size: 17px; }
.partners-copy p + p { margin-top: 16px; }
.partner-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.partner-benefits article { padding: 22px; border-radius: 18px; background: #eef8fc; border: 1px solid #c5dfe9; }
.partner-benefits strong { display: block; margin-bottom: 6px; font-size: 17px; }
.partner-benefits span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .about-feature-grid, .partner-benefits { grid-template-columns: 1fr; }
  .partners-intro { grid-template-columns: 1fr; gap: 28px; }
}


/* compact spacing on About page */
.about-page-hero { padding-top: 24px; }
.about-content-section { padding-top: 30px; }
@media (max-width: 760px) {
  .about-page-hero { padding-top: 18px; }
  .about-content-section { padding-top: 24px; }
}


/* compact vertical rhythm across the whole site */
.page-hero {
  padding: 30px 0 36px;
}
.page-hero .breadcrumbs {
  margin-bottom: 12px;
}
.page-hero .eyebrow {
  margin-bottom: 12px;
}
.page-hero .lead {
  margin-top: 16px;
}
.section {
  padding: 52px 0;
}
.page-hero + .section,
.about-content-section,
.catalog-section,
.partners-intro-section {
  padding-top: 40px;
}
.partners-intro-section {
  padding-bottom: 36px;
}
.section-head {
  margin-bottom: 28px;
}
.rich-text h2 {
  margin-top: 32px;
}
.about-feature-grid {
  margin-top: 28px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .page-hero,
  .about-page-hero {
    padding: 22px 0 28px;
  }
  .section {
    padding: 42px 0;
  }
  .page-hero + .section,
  .about-content-section,
  .catalog-section,
  .partners-intro-section {
    padding-top: 32px;
  }
  .partners-intro-section {
    padding-bottom: 30px;
  }
}

/* Site-wide justified text */
main p:not(.eyebrow):not(.catalog-empty):not(.dialog-category):not(.product-species),
main li,
main address,
main .trust-item span,
main .partner-benefits span,
main .dialog-facts span,
.site-footer .footer-note,
.site-footer .footer-address,
.site-footer .copyright {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}
