:root {
    --ink: #14281f;
    --deep: #173d2e;
    --muted: #53635a;
    --line: #dfe6dd;
    --paper: #f7f8f3;
    --white: #fff;
    --lime: #d4ec88;
    --danger: #8b2a21;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.3rem); }
h2 { font-size: clamp(1.35rem, 2.7vw, 2.2rem); }
h3 { font-size: 1.16rem; }
small { font-size: .83rem; }
:focus-visible { outline: 3px solid #639338; outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; inset: .4rem auto auto .6rem; z-index: 2; padding: .6rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; }
.header-inner nav, .header-actions, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 2.2vw, 2rem); font-size: .92rem; font-weight: 650; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.03rem; font-weight: 850; letter-spacing: .055em; white-space: nowrap; }
.brand strong { font-weight: 550; }
.brand-mark { display: grid; place-items: center; width: 41px; aspect-ratio: 1; background: var(--deep); color: var(--lime); border-radius: 11px; font-weight: 850; font-size: 1.5rem; line-height: 1; }
.cart-link { padding: .55rem .7rem .55rem .9rem; background: #e9eee3; border-radius: 999px; white-space: nowrap; }
.cart-link span { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; margin-left: .25rem; padding-inline: .22rem; border-radius: 1rem; background: var(--deep); color: var(--white); font-size: .8rem; }
.hero { min-height: clamp(480px, 48vw, 645px); display: flex; align-items: center; color: var(--white); background: linear-gradient(90deg, #10271cf2 0%, #10271cd9 23%, #142d2150 62%, #142d2108 100%), #294b35 url("images/field-drone.webp") center 54% / cover no-repeat; }
.hero-inner { padding-block: 4rem; }
.hero-content { max-width: 630px; }
.eyebrow { color: #466c4f; font-weight: 800; font-size: .76rem; letter-spacing: .115em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); margin-bottom: .9rem; }
.hero h1 { max-width: 700px; font-size: clamp(3rem, 6.45vw, 6.1rem); line-height: .99; letter-spacing: -.07em; text-wrap: balance; }
.hero-content > p:not(.eyebrow) { max-width: 460px; margin-top: 1.2rem; color: #eff2e7; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; width: fit-content; border: 1px solid transparent; border-radius: .55rem; padding: .65rem 1rem; font-weight: 750; line-height: 1.2; cursor: pointer; }
.button:hover { filter: brightness(.93); text-decoration: none; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.primary { background: var(--lime); color: var(--ink); }
.dark { background: var(--deep); color: var(--white); }
.glass { border-color: #e4ebd596; color: var(--white); background: #16302545; }
.neutral { border-color: var(--line); color: var(--deep); background: #edf2e8; }
.text-link { color: var(--deep); font-weight: 750; }
.text-link span { margin-left: .25rem; }
.page-content { padding-block: clamp(2.2rem, 4.75vw, 4.5rem); }
.page-content > h1 { margin-bottom: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.15rem; }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .95rem; }
.category-card { display: flex; align-items: center; gap: .8rem; min-height: 105px; padding: .9rem; background: var(--white); border: 1px solid var(--line); border-radius: .85rem; }
.category-card:hover, .product-card:hover { border-color: #829879; }
.category-card:hover { text-decoration: none; }
.category-card strong, .category-card small { display: block; }
.category-card small { margin-top: .25rem; color: var(--muted); line-height: 1.35; }
.category-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 10px; background: #e9f0df; color: var(--deep); font-size: 1.5rem; font-weight: 800; }
.category-thumbnail { width: 42px; object-fit: cover; }
.category-page-image { width: min(12rem, 100%); max-height: 12rem; margin-block: 1rem; border-radius: .55rem; object-fit: contain; }
.arrow { color: var(--muted); margin-left: auto; align-self: start; }
.featured { margin-top: clamp(2.5rem, 5vw, 4.7rem); }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .85rem; }
.product-image, .product-photo { display: grid; place-items: center; background: #edece5; color: var(--muted); }
.product-image { aspect-ratio: 3 / 2; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { display: grid; gap: .45rem; padding: .95rem; }
.muted, label small { color: var(--muted); }
.product-card-price { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: .3rem; font-size: 1.03rem; font-weight: 800; }
.stock { padding: .18rem .5rem; border-radius: 8px; background: #ebf3e6; color: #31523a; font-size: .74rem; font-weight: 750; width: fit-content; }
.stock.out { background: #f9ede8; color: var(--danger); }
.crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; color: var(--muted); font-size: .88rem; margin-bottom: .9rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.intro { max-width: 65ch; color: var(--muted); font-size: 1.06rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.05rem 0; }
.chips a { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: .88rem; }
.chips a[aria-current="page"] { background: var(--deep); color: var(--white); border-color: var(--deep); }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; background: #eaf0e7; border-radius: .8rem; padding: .85rem; margin-block: 1.3rem; }
.filters label { flex: 1; min-width: 125px; }
.filters .check { display: flex; flex: 0 0 auto; align-items: center; gap: .42rem; min-width: auto; min-height: 42px; }
input[type="checkbox"] { min-height: auto; width: auto; accent-color: var(--deep); }
#catalog-results > p { margin-bottom: .75rem; }
.pagination { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1rem; }
.pagination a { text-decoration: underline; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.4rem, 4vw, 4rem); }
.product-photo { border-radius: 1rem; min-height: 230px; overflow: hidden; }
.product-photo img { width: 100%; height: auto; }
.product-detail section { display: grid; gap: .85rem; }
.product-detail h1 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.buy-form { display: grid; grid-template-columns: 1fr minmax(5rem, .28fr); gap: .7rem; max-width: 600px; }
.buy-form button { grid-column: 1 / -1; }
.specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.notice { margin-top: .75rem; border-radius: .55rem; padding: .6rem 1rem; background: #e7f1df; }
.notice.error { color: var(--danger); background: #f9ede8; }
.notice ul { padding-left: 1.1rem; }
.panel { border-radius: .85rem; border: 1px solid var(--line); background: var(--white); padding: clamp(.9rem, 2.3vw, 1.5rem); }
.stack { display: grid; align-content: start; gap: .85rem; }
label { display: grid; gap: .25rem; font-weight: 650; font-size: .9rem; }
input, textarea, select { display: block; min-width: 0; width: 100%; min-height: 42px; border: 1px solid #b9c7bd; border-radius: .45rem; color: var(--ink); background: var(--white); padding: .48rem .6rem; }
textarea { resize: vertical; }
.form-row { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; }
.form-row label { flex: 1; min-width: min(100%, 145px); }
.narrow { max-width: 550px; }
.narrow .panel { margin-top: 1.2rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); align-items: start; gap: 1rem; }
.cart-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.cart-row h2 { font-size: 1.15rem; }
.cart-actions { display: flex; align-items: end; gap: .5rem; }
.cart-actions input { width: 62px; }
.plain { cursor: pointer; border: 0; background: none; color: var(--danger); padding: .55rem .3rem; text-decoration: underline; }
.total { font-size: 1.5rem; font-weight: 850; }
.shipment-status { display: flex; flex-wrap: wrap; gap: .65rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .65rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th small { display: block; font-weight: 400; }
summary { cursor: pointer; font-weight: 700; }
.detail-content { margin-top: .75rem; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: .6rem; padding: .85rem; }
legend { font-weight: 800; padding-inline: .35rem; }
.prose { max-width: 780px; display: grid; gap: .95rem; }
.prose h2 { margin-top: .5rem; }
.site-footer { background: #e8ede4; border-top: 1px solid var(--line); }
.footer-inner { min-height: 98px; padding-block: 1rem; flex-wrap: wrap; }
.demo-banner { background: #e8efdb; color: #35492d; padding: .36rem; text-align: center; font-size: .82rem; }
@media (max-width: 1060px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { display: grid; grid-template-columns: 1fr auto; row-gap: .55rem; padding-block: .55rem; }
    .header-inner nav { grid-row: 2; grid-column: 1 / -1; gap: 1.15rem; }
    .header-actions { gap: .5rem; font-size: .83rem; }
    .brand { font-size: .86rem; }
    .brand-mark { width: 32px; font-size: 1.16rem; }
    .hero { min-height: 480px; align-items: end; background-image: linear-gradient(0deg, #10271cf2 7%, #10271cb8 48%, #10271c12 100%), url("images/field-drone.webp"); background-position: 64% center; }
    .hero-inner { padding-block: 2.5rem; }
    .hero h1 { max-width: 12ch; text-wrap: initial; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .product-detail, .cart-layout { grid-template-columns: 1fr; }
    .category-card { gap: .45rem; padding: .6rem; }
    .category-icon { flex-basis: 32px; height: 32px; }
    .arrow { display: none; }
}
@media (max-width: 360px) {
    .shell { width: calc(100% - 1.25rem); }
    .category-grid { grid-template-columns: 1fr; }
    .brand { letter-spacing: .015em; }
}
.utility-actions { margin-top: 0; }
.comparison th, .comparison td { min-width: 115px; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.order-items { padding-left: 1.2rem; color: var(--muted); }

.shop-utility {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .875rem;
}

.shop-utility-inner,
.shop-utility-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: .35rem;
}

.shop-utility-inner {
    justify-content: space-between;
    min-height: 40px;
    padding-block: .4rem;
}

.shop-utility-language,
.shop-utility-phone {
    display: inline-flex;
    align-items: center;
    gap: .4em;
}

.shop-utility-phone svg {
    flex: none;
}

.shop-utility-divider {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 1rem;
}

@media (max-width: 600px) {
    .shop-utility-inner,
    .shop-utility-group {
        column-gap: .65rem;
    }

    .shop-utility-divider {
        padding-inline-start: .65rem;
    }
}

.site-header-search { background: var(--white); }

.storefront-header-logo {
    width: clamp(7rem, 32vw, 11rem);
    height: 3rem;
    object-fit: contain;
    object-position: left center;
}

.header-inner-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .55rem clamp(1rem, 3.5vw, 3.5rem);
    padding-block: 1rem .65rem;
}

.header-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    justify-self: center;
    max-width: 42rem;
    padding: .3rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: var(--white);
}

.header-search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: .4rem .6rem;
    border: 0;
    background: transparent;
    color: inherit;
}

.header-inner-search .header-actions {
    justify-content: flex-end;
    gap: .55rem;
}

.header-account-separator {
    color: var(--muted);
    font-weight: 400;
}

@media (max-width: 720px) {
    .header-inner-search {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: .75rem;
    }

    .header-search {
        grid-row: 2;
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 380px) {
    .header-account-icon {
        display: none;
    }

    .header-inner-search .header-actions {
        gap: .3rem;
    }
}

.home-navigation {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: .75rem clamp(1rem, 3.25vw, 2.5rem);
    min-height: 70px;
    padding-block: .75rem;
    color: #4a4a4a;
    font-weight: 700;
}

.home-category-toggle {
    min-height: 45px;
    padding: .6rem 1.35rem;
    border: 0;
    border-radius: .28rem;
    background: #ffa300;
    color: #202020;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
}

.home-category-toggle:is(:hover, [aria-expanded="true"]) {
    background: #ec9400;
}

.home-navigation-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-navigation-links > li {
    white-space: nowrap;
}

.home-category-panel {
    position: absolute;
    z-index: 5;
    inset: 100% 0 auto;
    display: none;
    max-height: min(65vh, 32rem);
    overflow-y: auto;
    padding: clamp(.65rem, 2vw, 1.2rem);
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--white);
    box-shadow: 0 15px 42px #10291f30;
}

.home-category-panel.show {
    display: block;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.5rem, 1.25vw, 1rem);
}

.home-category-grid,
.home-category-children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-category-grid > li {
    min-width: 0;
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
}

.home-category-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: .35rem;
    border-radius: .35rem;
    overflow-wrap: anywhere;
}

.home-category-link:hover {
    background: var(--paper);
}

.home-category-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .5rem;
}

.home-category-icon,
.home-category-children .home-category-image {
    flex: none;
    width: 1.5rem;
    aspect-ratio: 1;
    object-fit: contain;
}

.home-category-children {
    margin-inline-start: .35rem;
    padding-inline-start: .35rem;
    border-inline-start: 1px solid var(--line);
}

.home-category-children .home-category-link {
    flex-direction: row;
    align-items: center;
    font-size: .875rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .home-navigation {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .home-navigation-links {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .header-inner-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner-search .header-actions {
        grid-row: 2;
        justify-content: flex-start;
    }

    .header-inner-search .header-search {
        grid-row: 3;
    }
}
