:root {
    --fe-green: #7db522;
    --fe-green-dark: #5f8e19;
    --fe-forest: #24302c;
    --fe-forest-soft: #35433e;
    --fe-paper: #fbfcf9;
    --fe-cream: #eef1ea;
    --fe-ink: #252c29;
    --fe-muted: #66716b;
    --fe-line: rgba(37, 44, 41, .15);
    --fe-wide: 1180px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; background: var(--fe-paper); color: var(--fe-ink); font-family: Arial, Helvetica, sans-serif; }
body, button, input, select, textarea { -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* NOVA foundations */
.container-fluid-xl { max-width: var(--fe-wide); }
#header-top-bar { min-height: 34px; background: var(--fe-green); color: #fff; }
#header-top-bar a, #header-top-bar .btn { color: #fff; }
header .navbar { min-height: 80px; background: var(--fe-paper); }
header .navbar-brand img, header #shop-logo { width: 154px !important; max-width: 154px; max-height: 70px; object-fit: contain; }
#mainNavigation .nav-link, #shop-nav .nav-link { color: var(--fe-ink); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
#mainNavigation .nav-link:hover, #shop-nav .nav-link:hover { color: var(--fe-green-dark); }
.form-control:focus, .custom-select:focus { border-color: var(--fe-green); box-shadow: 0 0 0 .2rem rgba(125, 181, 34, .15); }
.btn-primary, .btn-outline-primary:hover, .badge-primary, .pagination .page-item.active .page-link {
    border-color: var(--fe-green) !important;
    background: var(--fe-green) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus { border-color: var(--fe-green-dark) !important; background: var(--fe-green-dark) !important; }
.btn { min-height: 44px; border-radius: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.breadcrumb-container { background: transparent; }
.breadcrumb { margin-bottom: 0; padding-top: 1rem; padding-bottom: 1rem; background: transparent; font-size: .76rem; }
#content-wrapper:not(.has-fluid) { padding-top: 0; }

/* Product lists */
.productbox { height: 100%; overflow: hidden; border: 1px solid var(--fe-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(36, 48, 44, .055); transition: transform .2s ease, box-shadow .2s ease; }
.productbox:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(36, 48, 44, .1); }
.productbox .productbox-image { background: #f4f6f2; }
.productbox .productbox-title { color: var(--fe-forest); font-weight: 800; }
.productbox .price { color: var(--fe-forest); font-weight: 900; }
.product-slider-wrapper { padding-top: 72px; padding-bottom: 72px; }
.product-slider-wrapper .hr-sect { color: var(--fe-forest); font-weight: 900; text-transform: uppercase; }
.product-detail .product-title { color: var(--fe-forest); font-weight: 900; letter-spacing: -.03em; }

/* Shared landing-page typography */
.fe-home { margin-top: 0; }
/* The newly provisioned shop contains JTL's demonstration page in the OPC.
 * Keep it stored in JTL, but hide it only while this custom home page exists. */
body:has(.fe-home) main#main-wrapper > .opc-Container { display: none !important; }
.fe-shell { width: min(var(--fe-wide), calc(100% - 44px)); margin-inline: auto; }
.fe-kicker { margin: 0 0 18px; color: var(--fe-green); font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.fe-home h1, .fe-home h2, .fe-category strong {
    margin: 0;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .93;
    text-transform: uppercase;
}
.fe-home h1 { max-width: 780px; font-size: clamp(3.5rem, 7.4vw, 7rem); }
.fe-hero h1 { color: #fff; }
.fe-home h2 { font-size: clamp(2.75rem, 5.5vw, 5.15rem); }
.fe-home h1 em, .fe-home h2 em { display: block; color: var(--fe-green); font-style: normal; }
.fe-section { padding: 96px 0; }

/* Hero */
.fe-hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: var(--fe-forest) url("images/hero.jpg") center / cover no-repeat; color: #fff; }
.fe-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 40, 34, .97), rgba(25, 40, 34, .78) 48%, rgba(25, 40, 34, .08) 80%), linear-gradient(0deg, rgba(25, 40, 34, .42), transparent 42%); }
.fe-hero__inner { position: relative; z-index: 1; padding-block: 90px; }
.fe-hero__copy { max-width: 590px; margin: 28px 0 0; color: rgba(255, 255, 255, .8); font-size: 1.08rem; line-height: 1.7; }
.fe-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.fe-btn { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; gap: 24px; border-radius: 7px; background: var(--fe-green); color: #fff !important; box-shadow: 0 9px 24px rgba(93, 139, 21, .25); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-decoration: none !important; text-transform: uppercase; }
.fe-btn:hover { background: var(--fe-green-dark); }
.fe-text-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; color: #fff !important; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-decoration: none !important; text-transform: uppercase; }

/* Categories */
.fe-categories-section { background: var(--fe-cream); }
.fe-heading-row { margin-bottom: 42px; display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; }
.fe-heading-row > p { max-width: 420px; margin: 0; color: var(--fe-muted); line-height: 1.7; }
.fe-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fe-category { position: relative; min-height: 420px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 14px; background-position: center; background-size: cover; color: #fff !important; text-decoration: none !important; isolation: isolate; }
.fe-category::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(27, 42, 35, .06), rgba(27, 42, 35, .92)); transition: background .2s ease; }
.fe-category:hover::after { background: linear-gradient(rgba(27, 42, 35, .16), rgba(27, 42, 35, .96)); }
.fe-category--pike { background-image: url("images/pike.jpg"); }
.fe-category--trout { background-image: url("images/trout.jpg"); background-position: center 35%; }
.fe-category--outdoor { background-image: url("images/outdoor.jpg"); }
.fe-category__number { font-size: .65rem; font-weight: 900; letter-spacing: .16em; }
.fe-category__content { display: block; }
.fe-category strong { display: block; font-size: clamp(2rem, 3.1vw, 2.75rem); }
.fe-category small { max-width: 255px; margin-top: 12px; display: block; color: rgba(255, 255, 255, .76); font-size: .82rem; line-height: 1.55; }

/* Intro */
.fe-intro { background: var(--fe-paper); }
.fe-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 78px); align-items: start; }
.fe-intro h2 { max-width: 100%; font-size: clamp(2.6rem, 4.1vw, 4.15rem); }
.fe-copy { color: var(--fe-muted); font-size: 1rem; line-height: 1.8; }
.fe-copy p { margin: 0 0 18px; }
.fe-chip-row { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.fe-chip-row a { padding: 11px 14px; border: 1px solid var(--fe-line); border-radius: 999px; color: var(--fe-forest); font-size: .65rem; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.fe-chip-row a:hover { border-color: var(--fe-green); background: var(--fe-green); color: #fff; }

/* Advice */
.fe-advice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--fe-forest); color: #fff; }
.fe-advice__image { min-height: 680px; background: url("images/pike.jpg") center / cover no-repeat; }
.fe-advice__content { min-width: 0; padding: clamp(58px, 7vw, 106px); display: flex; flex-direction: column; justify-content: center; }
.fe-advice__content > p:not(.fe-kicker) { margin: 26px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.75; }
.fe-benefits { margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .15); list-style: none; }
.fe-benefits li { padding: 18px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.fe-benefits li > span { color: var(--fe-green); font-size: .68rem; font-weight: 900; }
.fe-benefits strong { display: block; color: #fff; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.fe-benefits small { margin-top: 4px; display: block; color: rgba(255, 255, 255, .65); font-size: .82rem; line-height: 1.5; }

/* Trust and footer */
.fe-trust { padding: 24px 0; background: var(--fe-green); color: #fff; }
.fe-trust .fe-shell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.fe-trust span { font-size: .76rem; }
.fe-trust strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
footer, #footer { background: #1c2723; color: #fff; }
footer a:not(.btn), #footer a:not(.btn),
footer .nav-link, #footer .nav-link { color: rgba(255, 255, 255, .82) !important; }
footer a:hover, #footer a:hover,
footer .nav-link:hover, #footer .nav-link:hover { color: var(--fe-green) !important; }
footer .box-normal-link, #footer .box-normal-link,
footer .box-normal-link .text-truncate, #footer .box-normal-link .text-truncate,
footer .h5, footer .h4, #footer .h5, #footer .h4 { color: #fff !important; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 991.98px) {
    header .navbar { min-height: 70px; }
    .fe-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fe-category:last-child { grid-column: 1 / -1; }
    .fe-intro__grid, .fe-advice { grid-template-columns: 1fr; }
    .fe-advice__image { min-height: 500px; }
}

@media (max-width: 767.98px) {
    header .navbar-brand img, header #shop-logo { width: 104px !important; max-width: 104px; max-height: 58px; }
    .fe-shell { width: calc(100% - 32px); }
    .fe-home h1, .fe-home h2 { overflow-wrap: normal; word-break: normal; hyphens: none; }
    .fe-home h1 { font-size: clamp(2.5rem, 12.4vw, 3.55rem); line-height: .95; }
    .fe-home h2 { font-size: clamp(2.15rem, 10.7vw, 3rem); line-height: .96; }
    .fe-hero { min-height: 590px; background-position: 62% center; }
    .fe-hero::after { background: linear-gradient(90deg, rgba(25, 40, 34, .97), rgba(25, 40, 34, .78) 72%, rgba(25, 40, 34, .38)); }
    .fe-hero__inner { padding-block: 64px; }
    .fe-hero__copy { font-size: .96rem; line-height: 1.6; }
    .fe-section { padding: 66px 0; }
    .fe-heading-row { margin-bottom: 32px; align-items: flex-start; flex-direction: column; gap: 18px; }
    .fe-category-grid { grid-template-columns: 1fr; }
    .fe-category:last-child { grid-column: auto; }
    .fe-category { min-height: 340px; padding: 22px; }
    .fe-intro__grid { gap: 26px; }
    .fe-intro h2 { font-size: clamp(2.15rem, 10.7vw, 3rem); }
    .fe-chip-row { flex-direction: column; }
    .fe-chip-row a { text-align: center; }
    .fe-advice__image { min-height: 420px; }
    .fe-advice__content { padding: 54px 22px; }
    .fe-trust .fe-shell { grid-template-columns: 1fr; gap: 15px; }
    .product-slider-wrapper { padding-top: 52px; padding-bottom: 52px; }
}

@media (max-width: 420px) {
    .fe-actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .fe-btn { width: 100%; justify-content: space-between; }
    .fe-text-link { align-self: flex-start; }
    .fe-category strong { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
