/* Axioma — site theme on top of Bootstrap 5.3 */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url(../vendor/fonts/inter-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url(../vendor/fonts/inter-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url(../vendor/fonts/inter-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url(../vendor/fonts/inter-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url(../vendor/fonts/inter-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url(../vendor/fonts/inter-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url(../vendor/fonts/inter-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url(../vendor/fonts/inter-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 800; src: url(../vendor/fonts/inter-cyrillic-800.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 800; src: url(../vendor/fonts/inter-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ax-brand: #880015;          /* logo red */
  --ax-brand-dark: #6a0010;
  --ax-brand-soft: #f6e6e2;
  --ax-sand: #f4f0ed;           /* page background of the original site */
  --ax-ink: #1d2327;
  --ax-muted: #5b6168;
  --ax-line: #e6e1dc;
  --ax-radius: 14px;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--ax-ink);
  --bs-body-bg: #fff;
  --bs-link-color: var(--ax-brand);
  --bs-link-color-rgb: 136, 0, 21;
  --bs-link-hover-color: var(--ax-brand-dark);
  --bs-link-hover-color-rgb: 106, 0, 16;
  --bs-primary: var(--ax-brand);
  --bs-primary-rgb: 136, 0, 21;
  --bs-border-radius: var(--ax-radius);
}

body { background: #fff; color: var(--ax-ink); font-size: 1rem; line-height: 1.6; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -.01em; color: var(--ax-ink); }
.text-muted, .ax-muted { color: var(--ax-muted) !important; }
::selection { background: var(--ax-brand); color: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.4rem; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--ax-brand); --bs-btn-border-color: var(--ax-brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ax-brand-dark); --bs-btn-hover-border-color: var(--ax-brand-dark);
  --bs-btn-active-bg: var(--ax-brand-dark); --bs-btn-active-border-color: var(--ax-brand-dark); --bs-btn-focus-shadow-rgb: 136,0,21; }
.btn-pill { --bs-btn-color: var(--ax-ink); --bs-btn-bg: #fff; --bs-btn-border-color: #d9d4cf;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ax-ink); --bs-btn-hover-border-color: var(--ax-ink);
  --bs-btn-active-bg: var(--ax-ink); --bs-btn-active-color: #fff; }
.btn-outline-brand { --bs-btn-color: var(--ax-brand); --bs-btn-border-color: var(--ax-brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ax-brand); --bs-btn-hover-border-color: var(--ax-brand);
  --bs-btn-active-bg: var(--ax-brand); --bs-btn-active-color: #fff; }

/* ---------- Header ---------- */
.ax-topbar { background: var(--ax-ink); color: #cfd3d7; font-size: .875rem; }
.ax-topbar a { color: #fff; text-decoration: none; }
.ax-topbar a:hover { text-decoration: underline; }
.ax-header { background: #fff; border-bottom: 1px solid var(--ax-line); }
.ax-header .navbar-brand img { height: 44px; width: auto; }
.ax-header .nav-link { color: var(--ax-ink); font-weight: 500; font-size: .95rem; padding: .5rem .6rem !important; border-radius: 8px; white-space: nowrap; }
.ax-header .nav-link:hover { color: var(--ax-brand); }
.ax-header .nav-link.active { color: var(--ax-brand); background: var(--ax-brand-soft); }
@media (max-width: 1399.98px) { .ax-header .navbar-collapse { padding: .75rem 0 1rem; } }

/* ---------- Sections ---------- */
.ax-section { padding: 2.5rem 0; }
.ax-sand { background: var(--ax-sand); }
.ax-card { background: #fff; border-radius: var(--ax-radius); padding: 2rem; }
.ax-card-line { border: 1px solid var(--ax-line); }
.ax-card.ax-sand { background: var(--ax-sand); }
.ax-media { border-radius: var(--ax-radius); overflow: hidden; height: 100%; min-height: 320px; background: #e9ecef; }
.ax-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ax-note { font-size: .85rem; color: var(--ax-muted); font-style: italic; }
.ax-kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-brand); margin-bottom: .75rem; }
.ax-lead { font-size: 1.1rem; color: var(--ax-muted); }

/* Hero on the home page */
.ax-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.ax-hero .ax-card p { color: var(--ax-muted); }
.ax-hero-logo { height: 56px; width: auto; margin-bottom: 1.25rem; }

/* Page header for inner pages */
.ax-page-head { background: var(--ax-sand); padding: 2.5rem 0 2rem; }
.ax-page-head h1 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; margin: 0; }
.ax-page-head .lead { color: var(--ax-muted); max-width: 52rem; margin-top: .75rem; margin-bottom: 0; }
.breadcrumb { font-size: .875rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--ax-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ax-brand); }

/* Long-form content */
.ax-content { max-width: 56rem; }
.ax-content h2 { font-size: 1.6rem; margin: 2.25rem 0 1rem; }
.ax-content h3 { font-size: 1.25rem; margin: 1.75rem 0 .75rem; }
.ax-content > :first-child { margin-top: 0; }
.ax-content ul { padding-left: 1.2rem; }
.ax-content li { margin-bottom: .4rem; }

/* Feature list with check marks */
.ax-checks { list-style: none; padding: 0 !important; margin: 0 0 1rem; }
.ax-checks li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
.ax-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--ax-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.5 4.3 6.4 11.4 2.5 7.5l1-1 2.9 2.9 6.1-6.1z'/%3E%3C/svg%3E") center/.85rem no-repeat; }

/* Numbered steps */
.ax-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.ax-steps li { counter-increment: step; position: relative; padding: 1.1rem 1.25rem 1.1rem 4rem; background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); margin-bottom: .75rem; }
.ax-steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ax-brand-soft); color: var(--ax-brand); font-weight: 700; display: grid; place-items: center; }

/* Stats */
.ax-stat { background: #fff; border-radius: var(--ax-radius); padding: 1.5rem; text-align: center; height: 100%; }
.ax-stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--ax-brand); line-height: 1.1; }
.ax-stat span { color: var(--ax-muted); font-size: .95rem; }

/* Supplier cards on the home page */
.ax-feature { background: #fff; border-radius: var(--ax-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--ax-line); }
.ax-feature img { width: 100%; height: 260px; object-fit: cover; }
.ax-feature .ax-feature-body { padding: 1.5rem; }
.ax-feature h3 { font-size: 1.35rem; }
.ax-feature p { color: var(--ax-muted); margin-bottom: 0; }

/* Search band */
.ax-search-band { background: var(--ax-ink); color: #fff; border-radius: var(--ax-radius); padding: 2rem; }
.ax-search-band h2 { color: #fff; }
.ax-search-band .form-control { border-radius: 999px; padding: .75rem 1.25rem; border: 0; }

/* Evolution gallery */
.ax-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
.ax-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #fff; }

/* Listing cards (articles, products) */
.ax-tile { display: block; background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); padding: 1.5rem; height: 100%; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.ax-tile:hover { border-color: var(--ax-brand); transform: translateY(-2px); color: inherit; }
.ax-tile h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.ax-tile p { color: var(--ax-muted); margin-bottom: 0; }
.ax-tile .ax-more { display: inline-block; margin-top: 1rem; color: var(--ax-brand); font-weight: 600; }
.ax-pn { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; background: var(--ax-sand); border-radius: 6px; padding: .15rem .5rem; color: var(--ax-ink); }

/* Supplier brand lists */
.ax-brands { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0 !important; }
.ax-brands li { background: #fff; border: 1px solid var(--ax-line); border-radius: 999px; padding: .3rem .9rem; margin: 0; font-size: .925rem; }

/* FAQ */
.ax-faq .accordion-item { border: 1px solid var(--ax-line); border-radius: var(--ax-radius) !important; margin-bottom: .75rem; overflow: hidden; }
.ax-faq .accordion-button { font-weight: 600; font-size: 1.05rem; padding: 1.1rem 1.25rem; }
.ax-faq .accordion-button:not(.collapsed) { background: var(--ax-brand-soft); color: var(--ax-brand-dark); box-shadow: none; }
.ax-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(136, 0, 21, .15); }

/* Forms */
.form-control:focus { border-color: var(--ax-brand); box-shadow: 0 0 0 .2rem rgba(136, 0, 21, .15); }
.ax-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* Search results */
.ax-results td, .ax-results th { vertical-align: middle; }

/* Footer */
.ax-footer { background: var(--ax-ink); color: #b9bfc5; padding: 3rem 0 1.5rem; font-size: .95rem; }
.ax-footer h2 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.ax-footer a { color: #fff; text-decoration: none; }
.ax-footer a:hover { text-decoration: underline; }
.ax-footer .ax-footer-logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; box-sizing: content-box; }
.ax-footer ul { list-style: none; padding: 0; margin: 0; }
.ax-footer li { margin-bottom: .4rem; }
.ax-footer .ax-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }

@media (max-width: 575.98px) {
  .ax-card { padding: 1.4rem; }
  .ax-section { padding: 1.75rem 0; }
  .ax-search-band { padding: 1.4rem; }
}

@media (max-width: 991.98px) {
  .ax-media { min-height: 0; }
  .ax-media img { height: 340px; }
}
