/*
Theme Name: Byovet Catalogue
Description: Byovet veterinary diagnostics catalogue and activities.
Version: 1.13
Requires at least: 6.4
Requires PHP: 7.4
*/
:root{--navy:#0b3458;--deep:#081f36;--green:#08785f;--mint:#c5f1e0;--pale:#edf6f3;--ink:#172f44;--muted:#486074;--border:#d5e3e7;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#fff;color:var(--ink);font:1rem/1.6 "Aptos","Helvetica Neue",Arial,sans-serif}
a{color:inherit;text-underline-offset:4px}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #178f75;outline-offset:4px}
.wrap{width:min(1240px,calc(100% - 100px));margin-inline:auto}
.utility{background:var(--deep);color:#e0efef;font-size:.875rem}
.utility .wrap{display:flex;justify-content:space-between;padding-block:7px}
header{background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid #e8efef}
.header{display:flex;align-items:center;justify-content:space-between;min-height:84px;gap:2rem}
.brand{display:inline-block;color:var(--navy);font-size:2.7rem;letter-spacing:-.095em;font-weight:850;text-decoration:none;line-height:.95}
.brand span{color:var(--green)}
.brand small{display:block;font-size:.57rem;letter-spacing:0;margin-top:7px}
nav{display:flex;gap:2rem;align-items:center}
nav a{text-decoration:none;font-weight:650}
nav a:hover{text-decoration:underline}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 21px;border:1px solid transparent;border-radius:7px;font-weight:700;text-decoration:none;line-height:1.3}
.primary{background:var(--green);color:#fff}
.primary:hover{background:#075e4b;text-decoration:none}
.outline{border-color:#658293;color:white}
.outline:hover{background:#234761}
.menu{display:none}
.hero{background:linear-gradient(116deg,#091f36,#0b3454 75%,#134861);color:#fff}
.hero-grid{display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:44px;padding-block:49px}
.hero-copy{padding-block:20px}
.eyebrow{font-weight:780;letter-spacing:.12em;font-size:.82rem;color:var(--green);margin:0 0 13px;text-transform:uppercase}
.hero .eyebrow,.mission .eyebrow{color:#9cebd0}
.eyebrow span{display:inline-block;width:24px;height:2px;background:currentColor;vertical-align:middle;margin-right:9px}
h1,h2,h3,p,figure{margin-top:0}
h1,h2,h3{line-height:1.08;letter-spacing:-.045em}
h1{margin-bottom:22px;font-size:clamp(2.35rem,4.9vw,4.65rem);font-weight:760}
h1 em{font-style:normal;color:var(--mint)}
h2{font-size:clamp(2rem,3.5vw,3.5rem);margin-bottom:18px;color:var(--navy)}
h3{font-size:1.44rem;margin-bottom:10px}
.intro{color:#deedf3;font-size:1.15rem;max-width:460px;margin-bottom:28px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-picture{position:relative;overflow:hidden;margin:0;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;height:420px;border-radius:20px;background:radial-gradient(ellipse at center,#fff,var(--pale));border:1px solid #e3f1eb}
.hero-picture img{z-index:1;position:relative;width:min(58%,290px);height:100%;min-height:0;align-self:center;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 12px 8px #0d2f481e);padding:18px 0 12px}
.gridlines{position:absolute;inset:0;background-image:linear-gradient(#26584e17 1px,transparent 1px),linear-gradient(90deg,#26584e17 1px,transparent 1px);background-size:39px 39px;mask-image:radial-gradient(ellipse,#000,transparent 79%)}
figcaption{position:relative;z-index:1;justify-self:stretch;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:13px 20px;color:var(--navy);background:#ffffffd9;border-top:1px solid #cfe2dc}
figcaption strong{font-size:1.2rem}figcaption span{color:#305b59;font-size:.92rem}
.catalog,.service{padding-block:70px}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}
.section-head h2{margin-bottom:0}
.section-head>p{max-width:315px;color:var(--muted);margin:0}
.toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:23px}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filters button{background:white;color:var(--navy);border:1px solid var(--border);padding:8px 14px;border-radius:6px;font-weight:650;font-size:.95rem}
.filters button:hover,.filters button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.search{width:min(100%,270px)}
label{display:grid;gap:4px;font-weight:650;color:var(--navy);font-size:.93rem}
input,select,textarea{width:100%;border:1px solid #c8d8dd;border-radius:6px;padding:8px 10px;background:#fff;color:var(--ink)}
textarea{resize:vertical}
.cards,.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.card{overflow:hidden;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column}
.product-photo{height:214px;display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;overflow:hidden;background:radial-gradient(ellipse at center,#fff,var(--pale))}
.product-photo img{width:78%;height:178px;object-fit:contain;mix-blend-mode:multiply}
.reagent-icon{width:95px;height:95px;border:1px solid #79bcad;border-radius:50%;display:grid;place-items:center;background:#d5ede5;color:var(--green);font-size:3rem}
.card-copy{padding:20px;flex:1;display:flex;flex-direction:column;align-items:start}
.card-copy>p:not(.eyebrow),.service-grid p{color:var(--muted)}
.text-button{margin-top:auto;border:0;background:none;padding:0;color:var(--green);font-weight:750;text-decoration:underline;text-underline-offset:4px}
.mission{background:var(--navy);color:#e3eef6;padding-block:54px}
.mission-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center}
.mission h2{color:white;margin:0}
.mission-grid>p{font-size:1.25rem;margin:0;max-width:530px}
.service-grid article{border-top:2px solid #85cbb4;padding:23px 12px 5px 0}
.service-grid a,.contact a{color:var(--green);font-weight:720}
.contact{background:var(--pale);padding-block:66px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
address{font-style:normal;margin-bottom:18px}
#enquiry{background:#fff;border:1px solid var(--border);padding:25px;border-radius:13px}
#enquiry label{margin-bottom:12px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}
.hint,#form-status{font-size:.94rem;color:var(--muted)}
#form-status:empty{display:none}
#form-status{margin:10px 0 0}
footer{background:var(--deep);color:#d9e7ed}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:24px}
footer .brand{color:white;font-size:2.1rem}
footer .brand span{color:#92dfc7}
footer p{margin:0}footer nav{flex-wrap:wrap;column-gap:1rem;row-gap:.5rem}
dialog{max-width:min(550px,calc(100vw - 30px));border:1px solid var(--border);border-radius:15px;padding:25px;color:var(--ink)}
dialog::backdrop{background:#081f36b5}
dialog .product-photo{margin-bottom:18px;border-radius:8px}
.close{display:grid;place-items:center;margin:0 0 10px auto;color:var(--navy);width:40px;height:40px;border:1px solid var(--border);background:#fff;border-radius:50%;font-size:1.6rem}
.skip,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{position:fixed;clip-path:none;background:#fff;z-index:5;width:auto;height:auto;padding:10px}
@media(max-width:960px){.wrap{width:calc(100% - 52px)}nav{gap:1rem}.hero-grid{gap:22px}.hero-picture{height:350px}.contact-grid{gap:25px}}
@media(max-width:720px){html{scroll-padding-top:75px}.wrap{width:calc(100% - 32px)}.header{min-height:68px}.brand{font-size:2.2rem}.menu{display:block;border:1px solid var(--border);border-radius:6px;background:#fff;padding:6px 12px;color:var(--navy);font-weight:700}.header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:15px 16px;background:white;border-bottom:1px solid var(--border)}.header nav.open{display:grid}.hero-grid,.section-head,.toolbar,.contact-grid,.mission-grid{display:grid;grid-template-columns:1fr;gap:16px}.hero-grid{padding-block:27px}.hero-picture{height:310px}.hero-copy{padding-block:8px}.cards,.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog,.service,.contact{padding-block:45px}footer .wrap{flex-wrap:wrap}}
@media(max-width:480px){.cards,.service-grid,.form-grid{grid-template-columns:1fr}.utility .wrap{font-size:.75rem}.hero-picture{height:278px}.hero-picture img{width:68%}figcaption{padding-inline:12px}figcaption span{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.workflows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:26px}
.workflows a{display:grid;gap:4px;padding:18px 22px;border:1px solid var(--border);border-radius:12px;background:var(--pale);text-decoration:none}
.workflows a:hover{border-color:var(--green)}
.workflows strong{color:var(--green);font-size:.9rem}
.workflows span{color:var(--navy);font-size:1.35rem;font-weight:750}
.workflows small{color:var(--muted);font-size:.94rem}
.product-mark{padding:8px 15px;border:1px solid #8fbcaf;border-radius:6px;color:var(--navy);font-size:1.22rem;font-weight:750}
.product-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:auto}
.contact-links{display:grid;gap:7px}
@media(max-width:720px){.workflows{grid-template-columns:1fr}}
.product-photo .brochure-photo{width:94%;height:92%;mix-blend-mode:multiply}
[hidden]{display:none!important}
.product-detail{padding-block:44px 70px}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:18px}
.detail-layout .product-photo{height:clamp(240px,35vw,430px);border-radius:16px}
.detail-layout h2{font-size:1.25rem;margin:24px 0 8px}
.detail-layout h1{overflow-wrap:anywhere}
@media(max-width:720px){.detail-layout{grid-template-columns:1fr;gap:20px}}

.brand-logo{display:block;width:clamp(160px,22vw,220px);height:auto}
.product-video{position:relative;margin:16px 0 24px;max-width:720px}.product-video figcaption{position:static;background:none;border:0;padding:0 0 8px}.product-video video{display:block;width:100%;max-height:520px;background:#101820;border-radius:10px}
.hero-carousel{min-width:0}.carousel-slide:not([hidden]){animation:carousel-enter .35s ease-out}@keyframes carousel-enter{from{opacity:.35;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}.carousel-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:10px;color:white}.carousel-controls button{border:1px solid #ffffff70;border-radius:6px;padding:4px 12px;background:#ffffff15;color:white;font:inherit;cursor:pointer}.featured-model{position:relative;color:var(--navy);font-size:clamp(2rem,5vw,3.9rem)}.hero-picture figcaption a{color:inherit}@media(prefers-reduced-motion:reduce){.carousel-slide:not([hidden]){animation:none}}

[hidden]{display:none!important}.byovet-content img{max-width:100%;height:auto}.byovet-content iframe{max-width:100%}.byovet-content figure{margin-left:0;margin-right:0}

.hero-picture figcaption { display: block; }
.hero-picture figcaption span { display: block; margin-top: 3px; }
.hero-picture .vc10-chemistry-photo { width: min(48%, 240px); }
.product-photo .vc10-chemistry-photo { width: 70%; height: 74%; }

.hero-picture img.dc100-photo { width: min(83%, 440px); padding-block: 7px; }
.product-photo img.dc100-photo { width: 99%; height: 100%; transform: scale(1.1); }

.hero-picture img[src$='-cutout.svg'],
.product-photo img[src$='-cutout.svg'] { mix-blend-mode: normal; }
