:root {
    --green: #a0ce4e;
    --lime: #81d742;
    --ink: #333333;
    --muted: #747474;
    --line: #e0dede;
    --footer: #282a2b;
    --footer-text: #8c8989;
    --footer-link: #bfbfbf;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--muted);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 21px;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green); }

p { text-align: justify; margin: 0 0 14px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 400; margin: 0 0 10px; }
h1 { font-size: 34px; line-height: 48px; }
h2 { font-size: 18px; line-height: 27px; }
h3 { font-size: 16px; line-height: 24px; font-weight: 700; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    z-index: 20;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0 16px;
}
.topbar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.patent { position: relative; font-size: 12px; line-height: 19px; }
.patent p { margin: 0; text-align: left; font-size: 12px; line-height: 19px; }
.patent sup { font-size: 10px; }
.pay-link {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 16px;
    white-space: nowrap;
    background: #f37a1f;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    padding: 2px 8px;
    border-radius: 3px;
}
.pay-link:hover { color: #fff; background: #d86612; }
.care {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 1px;
}
.care:hover { color: var(--green); }

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.header-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.logo { margin: 2px 0; }
.logo img { display: block; width: 195px; height: auto; }
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #dadada;
    color: var(--ink);
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    position: relative;
    display: block;
    color: var(--ink);
    padding: 0 35px 0 0;
    font-size: 14px;
    line-height: 83px;
}
.main-nav > ul > li:last-child > a { padding-right: 0; }
.main-nav > ul > li > a i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.current { color: var(--green); }
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--green);
    z-index: 30;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.main-nav ul.submenu { display: none; }
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { display: block; }
.submenu a {
    display: block;
    padding: 10px 14px;
    color: var(--ink);
    border-bottom: 1px solid #f2f2f2;
}
.submenu a:hover { color: var(--green); background: #fafafa; }

.page-banner {
    background: #f6f6f6 url("../images/title-bg.png") center center / cover no-repeat;
    border-top: 1px solid #d2d3d4;
    border-bottom: 1px solid #d2d3d4;
    min-height: 87px;
    display: flex;
    align-items: center;
}
.page-banner h1 {
    font-size: 18px;
    line-height: normal;
    margin: 0;
    font-weight: 400;
}

main { padding: 55px 0 40px; }
.section.flush { padding: 0; }
main.bg-about {
    background: #fff url("../images/main-bg.avif") center center / cover fixed no-repeat;
}
main.bg-ro {
    background: #fff url("../images/main-bg-ro.avif") center center / cover fixed no-repeat;
}
main.bg-contact {
    background: #fff url("../images/contact-bg.avif") center center / cover fixed no-repeat;
}

.band {
    background: #fff url("../images/band.avif") left top repeat-x;
    padding: 20px 0;
}
.section { padding: 20px 0; }
.section.pad { padding: 20px 0; }
.section:has(> .wrap.panel) { padding: 0; }
.section.bleed { margin-top: -55px; padding: 0 0 20px; }
.section.bleed img { display: block; width: 1600px; max-width: 100%; height: auto; }
.photo-band {
    background: #fff url("../images/section-bg.avif") left center / cover no-repeat fixed;
    padding: 20px 0;
}
.panel {
    background: #fff;
    padding: 20px 25px;
}

.cols { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0; column-gap: 4%; row-gap: 20px; }
.col-2, .col-4, .col-56 { padding: 0; }
.col-2 { width: calc((100% - 4%) / 2); }
.col-4 { width: calc((100% - 12%) / 4); }
.col-56 { width: 82.6666%; }

.title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 16px;
}
.title h1, .title h2, .title h3 { margin: 0; min-width: 0; flex: 1 1 auto; }
.sep { flex: 1 0 40px; border-top: 1px solid var(--line); min-width: 40px; }
.sep.double { border-top: 3px double var(--line); height: 0; }
.sep.green { border-color: var(--lime); }

.checks { list-style: none; margin: 0 0 16px; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.tick {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}
.blue-note { color: #0b15a2; font-size: 14px; }
.brand { color: #3366ff; }
.danger { color: #ff0000; }
.glow img { box-shadow: 0 0 10px rgba(0,0,0,.28); }
.center { text-align: center; }
.underline { text-decoration: underline; }

.choose {
    background: #fff;
    border: 1px solid var(--lime);
    padding: 20px;
    width: 82.666%;
    max-width: 100%;
}

.tabs { background: #fff; }
.tab-nav { display: flex; background: #fff; gap: 0; }
.tab-nav button {
    flex: 1;
    background: #ebeaea;
    border: 0;
    border-top: 3px solid #ebeaea;
    padding: 8px 0;
    color: #747474;
    cursor: pointer;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}
.tab-nav button.active {
    background: #fff;
    border-top-color: var(--green);
    color: var(--ink);
}
.tab-panel { display: none; padding: 16px; border: 1px solid #ebeaea; background: #fff; }
.tab-panel.active { display: block; }

.video {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding-top: 58.4%;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.range-grid { display: grid; grid-template-columns: calc((100% - 4%) / 2) calc((100% - 4%) / 2); column-gap: 4%; row-gap: 20px; }
.range-grid img { display: block; width: 100%; }

.gallery { border: 1px solid #c1c1c1; padding: 8px; background: #fff; }
.gallery-main {
    display: block;
    max-height: 400px;
    width: auto;
    margin: 0 auto;
}
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gallery-thumbs button {
    width: 64px;
    height: 64px;
    padding: 2px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.gallery-thumbs button.active { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.spec th, .spec td { border: 1px solid #bfbfbf; padding: 4px 6px; }
.spec th { text-align: right; font-weight: 400; width: 42%; color: var(--ink); }
.price { text-decoration: line-through; color: var(--ink); }
.bullets { margin: 0 0 16px; padding-left: 18px; }
.bullets li { margin: 0 0 10px; }

.review { border-bottom: 1px solid #eee; padding: 0 0 16px; margin: 0 0 16px; }
.stars { color: var(--green); letter-spacing: 1px; }
.review h2 { font-size: 16px; font-weight: 700; margin: 4px 0; }
.byline { color: #888; }
.badge-buy { color: #c45500; font-weight: 700; font-size: 12px; }

.enquiry label { display: block; color: var(--ink); }
.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d2d2d2;
    padding: 8px 10px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    margin-top: 4px;
}
.enquiry textarea { min-height: 180px; resize: vertical; }
.send {
    background: var(--green);
    color: #fff;
    border: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    padding: 5px 15px;
    cursor: pointer;
}
.send:hover { background: #96c03d; }
.form-note { padding: 8px 10px; }
.form-note.ok { background: #eef8df; color: #3d6b12; }
.form-note.error, .field-error { color: #b00020; display: block; }
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}
.pay-again {
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 4px;
}
.pay-again:hover { color: #fff; background: #96c03d; }

.site-footer { background: var(--footer); color: var(--footer-text); }
.footer-band { background: #363839; height: 38px; }
.copyright { padding: 18px 0 16px; font-size: 12px; text-align: left; }
.copyright a { color: var(--footer-link); }
.copyright a:hover { color: var(--green); }

@media (max-width: 980px) {
    .main-nav > ul > li > a { padding: 18px 6px; font-size: 13px; line-height: 1.2; }
    .main-nav > ul > li:last-child > a { padding-right: 6px; }
    .main-nav > ul > li > a i { position: static; transform: none; margin-left: 4px; }
    .submenu { min-width: 220px; }
    .col-56 { width: 100%; }
}

@media (max-width: 800px) {
    .topbar-row { flex-direction: column; }
    .care { white-space: normal; }
    .pay-link { position: static; display: inline-block; margin: 6px 0 0; }
    .choose { width: 100%; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .header-bar { min-height: 72px; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #f9f9f9;
        border-top: 1px solid #dadada;
        z-index: 40;
        max-height: 70vh;
        overflow: auto;
    }
    .site-header { position: relative; }
    .main-nav.open { display: block; }
    .main-nav ul { display: block; }
    .main-nav > ul > li > a { padding: 12px 16px; line-height: 1.4; border-bottom: 1px solid #dadada; }
    .main-nav > ul > li:last-child > a { padding-right: 16px; }
    .main-nav > ul > li > a i { position: static; transform: none; margin-left: 4px; }
    .submenu { position: static; display: none; border: 0; box-shadow: none; min-width: 0; background: #fff; }
    .has-sub.open > .submenu { display: block; }
    .cols { column-gap: 0; }
    .col-2, .col-4, .col-56 { width: 100%; }
    .range-grid { grid-template-columns: 1fr; }
    h1 { font-size: 26px; line-height: 34px; }
    .tab-nav { flex-direction: column; }
    .photo-band, main.bg-about, main.bg-ro, main.bg-contact { background-attachment: scroll; }
}
