/*
Theme Name: ERRASONVET
Description: Veterinary instruments and dairy farm supplies catalogue theme.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: errasonvet
*/
:root{--erv-navy:#102f45;--erv-teal:#087d79;--erv-muted:#526573}
html{scroll-behavior:smooth}body{margin:0;color:var(--erv-navy);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.65}
*{box-sizing:border-box}a{color:var(--erv-teal)}a:focus-visible,button:focus-visible{outline:3px solid #c18a19;outline-offset:4px}
.erv-header{border-bottom:1px solid #dfe9e8;background:#fff}.erv-header-inner{max-width:1240px;margin:auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:28px}.erv-logo img{display:block;width:225px;height:auto}.erv-nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.erv-nav a{text-decoration:none;color:var(--erv-navy);font-weight:600;font-size:15px}.erv-nav a:hover{color:var(--erv-teal)}
.erv-hero{background:linear-gradient(120deg,#edf7f4,#f7fafc);padding:80px 28px}.erv-hero-inner{max-width:1184px;margin:auto}.erv-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:700;color:var(--erv-teal)}.erv-hero h1{font-size:clamp(36px,5vw,66px);font-weight:650;line-height:1.12;letter-spacing:-.045em;max-width:930px;margin:20px 0 24px}.erv-hero p{max-width:670px;font-size:19px;color:var(--erv-muted)}.erv-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.erv-button,.erv-actions a{display:inline-block;padding:13px 24px;border-radius:5px;background:var(--erv-teal);color:#fff;text-decoration:none;font-weight:600;border:1px solid var(--erv-teal)}.erv-actions .secondary{background:transparent;color:var(--erv-navy);border-color:var(--erv-navy)}
.erv-page{padding:60px 28px;max-width:1240px;margin:auto;min-height:55vh}.erv-page h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em;line-height:1.2}.erv-page h2{line-height:1.25;margin-top:42px}.erv-page p{max-width:820px}.erv-page table{border-collapse:collapse;width:100%}.erv-page td,.erv-page th{padding:12px;border-bottom:1px solid #dfe9e8;text-align:left}.erv-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:32px 0}.erv-product{padding:24px;border:1px solid #dfe9e8;border-radius:8px}.erv-product h2{font-size:21px;margin:10px 0}.erv-product .sku{font-size:12px;letter-spacing:.07em;color:var(--erv-teal)}.erv-product p{font-size:15px}.erv-footer{background:var(--erv-navy);color:#e7f0f3;padding:46px 28px}.erv-footer-inner{max-width:1184px;margin:auto;display:grid;grid-template-columns:1.5fr 1fr;gap:40px}.erv-footer a{color:#e7f0f3}.erv-footer strong{font-size:22px}.erv-footer p{font-size:14px;max-width:600px}.erv-footer-links{display:flex;gap:18px;flex-wrap:wrap;align-content:start}.erv-footer-links a{text-decoration:none;font-size:14px}
@media(max-width:760px){.erv-header-inner{align-items:flex-start;flex-direction:column;gap:20px;padding:16px 20px}.erv-logo img{width:185px}.erv-nav{gap:16px;font-size:14px}.erv-hero{padding:48px 20px}.erv-page{padding:36px 20px}.erv-products{grid-template-columns:1fr}.erv-footer-inner{grid-template-columns:1fr}.erv-hero p{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.erv-header-inner figure{margin:0}.erv-header-inner .wp-block-navigation{font-size:15px}.erv-hero h1{font-family:Arial,Helvetica,sans-serif}.erv-footer h2{color:white}

.erv-product img{display:block;width:100%;height:190px;object-fit:contain;margin-bottom:16px}.erv-product-photo{display:block;width:100%;max-width:730px;height:auto;max-height:520px;object-fit:contain;margin:24px 0}.erv-specifications{overflow-x:auto}.erv-specifications table{min-width:280px}

.erv-breadcrumbs{font-size:14px;margin-bottom:24px}.erv-faq details{border-bottom:1px solid #dfe9e8;padding:16px 0}.erv-faq summary{font-weight:600;cursor:pointer}.erv-enquiry{max-width:650px;display:grid;gap:10px;padding:24px;background:#eff7f5;border-radius:8px}.erv-enquiry input,.erv-enquiry textarea{font:inherit;max-width:100%;width:100%;padding:10px;border:1px solid #acbfbd;border-radius:4px}.erv-enquiry button{font:inherit;background:#087d79;color:#fff;border:0;padding:14px;cursor:pointer}.erv-product h3{font-size:20px;line-height:1.3}

/* ERV_CTA5_20261025_BEGIN */
/* LOCAL CANDIDATE ONLY. Five reviewed pilot pages; no production deployment. */
@media (max-width: 600px) {
body.page-id-37 .entry-content a.wp-element-button[href="#enquiry"],
body.page-id-38 .entry-content a.wp-element-button[href="#enquiry"],
body.page-id-39 .entry-content a.wp-element-button[href="#enquiry"],
body.page-id-1936 .entry-content a.wp-element-button[href="#enquiry"],
body.page-id-1938 .entry-content a.wp-element-button[href="#enquiry"] {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
}
/* ERV_CTA5_20261025_END */
