/* SitePack theme skeleton */

* {
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
}

h1 {
    font-size: 2rem;
    font-weight: 500;
}

img {
    max-width: 100%;
}

a {
    color: var(--link-color);
}

a:hover, a:active, a:focus {
    text-decoration: var(--link-text-decoration);
    color: var(--link-active-color);
}

.btn:hover, .btn:active, .btn:focus {
    text-decoration: none !important;
}

header {
    background: var(--header-background-color);
    padding: 1rem 0;
    width: 100%;
    position: relative;
    z-index: 1000;
}

header nav {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

nav ul li a.btn-primary:hover, nav ul li a.btn-primary:focus, nav ul li a.btn-primary:active {
    filter: brightness(90%);
    color: var(--main-color-text);
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.brand {
    flex-shrink: 0;
    margin-right: auto;
}

.brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.brand img {
    height: 40px;
    width: auto;
}

.brand .site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--header-text-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 24px;
    margin: 2px 0;
    background-color: var(--header-text-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
    position: relative;
}

.nav-link a {
    text-decoration: none;
    color: var(--header-text-color);
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
}

.nav-link a:hover {
    color: var(--main-color);
    background-color: var(--surface-color);
}

.nav-icon .sitepack-shopping-cart-trigger svg {
    color: var(--header-text-color);
}

header .nav-search-icon {
    width: 50px;

    @media (max-width: 768px) {
        width: 30px;
    }
}

header .nav-shopping-cart {
    width: 50px;
}

/* Dropdown Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-background-color);
    min-width: 180px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--shadow-color) 8%, transparent);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    padding: 0.5rem 1rem;
    color: var(--header-text-color);
    display: block;
    font-weight: 400;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background-color: var(--surface-color);
    color: var(--main-color);
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

main {
    padding: 0;
    margin: 0 auto;
    background-color: var(--content-background-color);
}

/* Shared content wrapper: keeps text/blocks aligned to the same width and
   gutter as the header and grids, on every template. */
.container-element {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* The footer is composed of site-configured elements (sitepack_footer()); its background,
   spacing and colours come from those elements, so the theme intentionally adds no footer
   styling here (avoids duplicate/conflicting rules such as a double border-top). */

#copyright {
    margin-top: 0;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: var(--copyright-text-color);
    background-color: var(--copyright-background-color);
}

#copyright p {
    margin: 0;
    line-height: 1.6;
}

#copyright a {
    color: var(--copyright-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

#copyright a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.sitemap section {
    max-width: var(--container-width);
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.sitemap h1 {
    max-width: var(--container-width);
    margin: 0 auto 1rem;
    padding: 0 1.5rem;
}

.sitemap h2 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.sitemap ul {
    list-style: none;
    padding-left: 0;
}

.sitemap li {
    margin-bottom: 0.5rem;
}

.sitemap a {
    text-decoration: none;
    color: var(--link-color);
}

.sitemap a:hover {
    text-decoration: var(--link-text-decoration);
    color: var(--link-active-color);
}

.product-grid, .products-wrapper, .category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: var(--container-width);
    margin: 1rem auto;
    padding: 0 1.5rem;
}

/* Category Layout Sidebar + Grid */
.category-main-layout {
    display: flex;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.category-sidebar {
    flex: 0 0 280px;
}

.category-products-content {
    flex: 1;
}

/* Ensure product grid inside content doesn't double margin/max-width */
.category-products-content .products-wrapper {
    margin: 0;
    max-width: none;
    padding: 0;
}

@media (max-width: 992px) {
    .category-main-layout {
        flex-direction: column;
    }

    .category-sidebar {
        flex: none;
        width: 100%;
    }

    .product-grid, .products-wrapper, .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid, .products-wrapper, .category-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    text-align: left;
    height: 100%;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 20px color-mix(in srgb, var(--shadow-color) 8%, transparent);
    transform: translateY(-2px);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    margin-bottom: 1rem;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 0;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.product-information {
    padding: 10px;
}

.product-title .product-brand {
    text-transform: uppercase;
    font-size: 12px;
    color: var(--main-color);
    line-height: 18px;
    height: 18px;
    display: block;
    width: 100%;
}

.product-title h3 {
    margin: 7px 0 0 0;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin: 0.5rem 0 1rem;
    font-weight: 400;
}

.product-price .old-price {
    text-decoration: line-through;
    color: var(--subtle-text-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.product-rating {
    margin: 10px 0;
}

.product-rating svg {
    height: 16px;
    width: 16px;
    margin-right: -4px;
    fill: var(--rating-color);
}

.product-rating span.review-count {
    font-size: 12px;
    margin-top: -5px;
}

.product-stock-info {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.product-stock-info.in-stock {
    color: var(--secondary-color);
}

.product-stock-info.backorder {
    color: var(--stock-warning-color);
}

.product-stock-info.out-of-stock {
    color: var(--stock-error-color);
}

.product-cta {
    margin-top: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--main-color);
    color: var(--main-color-text);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    filter: brightness(90%);
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: var(--disabled-color);
    cursor: not-allowed;
    filter: none;
}

.blog-posts, .blog-post-summary, .blog-post {
    background-color: var(--blog-background-color);
}

.category-description {
    background-color: var(--category-background-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.category-sub-categories {
    margin-bottom: 2rem;
}

.category-sub-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .category-sub-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-sub-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Card - Shopify Style */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: var(--category-background-color);
    transition: box-shadow 0.3s ease;
    height: 100%;
    max-height: 350px;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    box-shadow: 0 10px 20px color-mix(in srgb, var(--shadow-color) 8%, transparent);
}

.category-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.category-card__link:hover, .category-card__link:focus {
    text-decoration: none !important;
}

.category-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--image-background-color);
    flex: 1;
    max-height: 250px; /* Limit the image section height to leave room for the footer */
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card__image {
    width: 100%;
    height: 100%;
}

.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the full image fits within the section */
    padding: 10px; /* Add some padding to see the full image clearly */
    transition: transform 0.5s ease;
}

.category-card:hover .category-card__image img {
    transform: scale(1.05);
}

.category-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
    var(--image-background-color) 25%,
    var(--surface-color) 50%,
    var(--image-background-color) 75%);
    background-size: 200% 200%;
    animation: placeholder-shimmer 2s infinite linear;
}

@keyframes placeholder-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.category-card__info {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-background-color);
    flex: 0 0 auto; /* Ensure info area has a consistent height and doesn't shrink or grow disproportionately */
    margin-top: 0;
}

.category-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    flex-grow: 1;
}

.category-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--image-background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.category-card__arrow svg {
    height: 20px;
}

.category-card:hover .category-card__arrow {
    background-color: var(--main-color);
    color: var(--main-color-text);
    transform: translateX(4px);
    text-decoration: none !important;
}

.label, .badge {
    background-color: var(--label-background-color);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--secondary-color-text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.topbar {
    background-color: var(--header-topbar-color);
    color: var(--header-topbar-text-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.topbar a {
    color: var(--header-topbar-text-color);
    text-decoration: none;
}


.product-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-image-item img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.product-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    flex: 1;
}

.product-price-section {
    text-align: right;
    white-space: nowrap;
}

.product-price-section .price,
.product-price-section .promo-price {
    font-size: 1.25rem;
    font-weight: 400;
    display: block;
}

.product-price-section .advised-price {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
    text-decoration: line-through;
    font-weight: normal;
    display: block;
}

.product-price-section .promo-price {
    color: var(--promo-price-color);
}

.product-meta {
    font-size: 0.9rem;
    color: var(--muted-text-color);
}

.product-short-description {
    color: var(--muted-text-color);
}

.product-actions {
    margin-top: 0.5rem;
}

.product-add-to-cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
}

/* Quantity + add-to-cart on one aligned row, beneath the variant options. Both
   stretch to the same height so the input and button line up. */
.product-buy {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.product-add-to-cart .btn-primary {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
}

.product-accordions {
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-accordion {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    padding: 1rem 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-icon::before {
    content: "+";
    font-size: 1.25rem;
}

.product-accordion[open] .accordion-icon::before {
    content: "−";
}

.accordion-content {
    padding: 0 0 1.5rem 0;
    line-height: 1.6;
}

.product-facets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.facet-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.facet-label {
    font-weight: 600;
    color: var(--muted-text-color);
}

.product-recommendations {
    margin-top: 4rem;
}

.product-recommendations h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.product-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .product-recommendations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        width: 100%;
        cursor: grab;
        user-select: none;
    }

    .product-image-grid.dragging {
        scroll-snap-type: none;
        scroll-behavior: auto;
        cursor: grabbing;
    }

    .product-image-grid::-webkit-scrollbar {
        display: none;
    }

    .product-image-item {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .product-image-item img {
        border-radius: 0;
        border: none;
    }

    .product-header {
        flex-direction: column;
    }

    .product-price-section {
        text-align: left;
    }

    .product-recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-recommendations-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Controls */
label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font: inherit;
    color: var(--text-color);
    background-color: var(--input-background-color);
    border: 1px solid var(--input-border-color);
    border-radius: var(--border-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color) 25%, transparent);
}

textarea {
    resize: vertical;
}

.form-group {
    margin-bottom: 1rem;
}

.product-quantity {
    display: flex;
    width: 90px;
}

.product-quantity input[type="number"] {
    width: 100%;
    text-align: center;
}

/* Cart Styles */
.cart-form table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.cart-form th, .cart-form td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--input-border-color);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-info img {
    max-width: 50px;
    height: auto;
}

.cart-summary {
    text-align: right;
    margin-top: 2rem;
}

.cart-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.checkout-button {
    background: var(--main-color);
    color: var(--main-color-text);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.checkout-button:hover {
    background-color: var(--link-active-color);
}

/* Breadcrumbs */
#breadcrumbs {
    max-width: var(--container-width);
    margin: 1rem auto;
    padding: 0 1.5rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 0.5rem;
    color: var(--subtle-text-color);
}

.breadcrumb li a {
    color: var(--link-color);
    text-decoration: none;
}

.breadcrumb li a:hover {
    text-decoration: var(--link-text-decoration);
    color: var(--link-active-color);
}

.breadcrumb li span {
    color: var(--muted-text-color);
}

.breadcrumb li a span {
    color: inherit;
}

/* Translations Modal */
#translationsModal .modal-body-translations {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

#translationsModal .modal-body-translations a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--header-text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: background-color 0.2s, border-color 0.2s;
}

#translationsModal .modal-body-translations a:hover {
    background-color: var(--surface-color);
    border-color: var(--main-color);
    color: var(--main-color);
}

#translationsModal .navigation-flag {
    width: 24px;
    height: auto;
    margin-right: 1rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px color-mix(in srgb, var(--shadow-color) 10%, transparent);
}

#translationsModal .language-text {
    font-weight: 500;
}

/* Modal Basic Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: color-mix(in srgb, var(--shadow-color) 50%, transparent);
    z-index: 2000;
}

.modal.fade.in, .modal.show {
    display: block;
}

.modal-dialog {
    margin: 2rem auto;
    max-width: 500px;
    background: var(--card-background-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px color-mix(in srgb, var(--shadow-color) 30%, transparent);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    margin: 0;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.btn-default {
    background-color: var(--surface-color);
    border: 1px solid var(--input-border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Cookie Bar */
#cookiebar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--card-background-color);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--shadow-color) 15%, transparent);
    z-index: 9999;
    max-width: 400px;
}

#cookiebar p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
}

.btn-success {
    background-color: var(--success-color);
    color: var(--success-text-color);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-success:hover {
    filter: brightness(90%);
}


/* Icons next to hamburger on mobile; inline on desktop */
.nav-icon {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    /* Show hamburger; keep icons visible */
    .nav-toggle {
        display: flex;
        width: 34px;
        height: 34px;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        padding: 6px;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-icon {
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    /* Reorder on mobile: Brand (stays 0), Search, Cart, Toggle */
    #nav-search {
        margin-left: auto;
        order: 10;
    }

    #nav-cart {
        order: 11;
    }

    #nav-toggle {
        order: 12;
    }

    /* Hide menu links until toggled */
    .nav-link {
        display: none;
        order: 20; /* Ensure links appear after the top bar icons when opened */
    }

    nav ul.menu-open .nav-link {
        display: block;
        width: 100%;
    }

    nav ul.menu-open .nav-link a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    /* Dropdown behavior inside the list */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1.5rem;
        background: var(--surface-color);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active:hover .dropdown-menu {
        display: block;
    }

    /* Visual grouping for stacked links */
    nav ul.menu-open .nav-link {
        border-bottom: 1px solid var(--border-color);
    }

    nav ul.menu-open .nav-link:last-child {
        border-bottom: none;
    }
}


/* =========================
   Category Filters
   ========================= */
.category-filters {
    margin: 0;
    padding: 0;
}

.category-filters-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Sidebar toggle button spacing */
#sidebar-filter-toggle {
    margin: 0 0 1rem 0;
    display: none;
}

@media (max-width: 992px) {
    .category-filters-title {
        display: none;
    }

    #sidebar-filter-toggle {
        display: block;
    }

    #sidebar-category-filters {
        display: none;
    }

    #sidebar-category-filters.show {
        display: block;
    }
}

/* Basic .btn helpers to support provided markup */
.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
}

/* Filter card */
.products-filter {
    background: var(--card-background-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.products-filter h4 {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Collapsible header link */
.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
}

.filter-link:hover,
.filter-link:focus {
    text-decoration: none;
    color: var(--main-color);
}

.filter-icon {
    margin-left: .5rem;
    display: inline-flex;
    align-items: center;
}

/* Show correct icon depending on collapse state (Bootstrap-like) */
.filter-link .if-opened {
    display: none;
}

.filter-link .if-closed {
    display: inline-flex;
}

.filter-link:not(.collapsed) .if-opened {
    display: inline-flex;
}

.filter-link:not(.collapsed) .if-closed {
    display: none;
}

/* Collapse support (no JS library required for simple default state) */
.collapse {
    display: none;
}

.collapse.in, .collapse.show {
    display: block;
}

/* Filter options list */
.category-filter-options {
    list-style: none;
    padding: 0.25rem 0 0.75rem 0;
    margin: 0;
}

.category-filter-options li {
    margin: 0.25rem 0;
}

.category-filter-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .35rem;
    border-radius: var(--border-radius);
    color: inherit;
    text-decoration: none;
}

.category-filter-link:hover,
.category-filter-link:focus {
    background: var(--surface-color);
    color: var(--main-color);
    text-decoration: none;
}

/* Nesting levels */
.category-filter-options .nested-level-0 {
    padding-left: 0;
}

.category-filter-options .nested-level-1 {
    padding-left: 0.75rem;
}

.category-filter-options .nested-level-2 {
    padding-left: 1.5rem;
}

.category-filter-options .nested-level-3 {
    padding-left: 2.25rem;
}

/* Optional: compact icon in links */
.category-filter-link i {
    color: var(--subtle-text-color);
}

.category-filter-link:hover i {
    color: var(--main-color);
}

/* The customer account page is rendered by {{ sitepack_account() }}, which ships its
   own base styling for the canonical .account* classes. Add overrides here only to
   depart from that default. */

/* =========================
   Landing Page Template
   ========================= */
.landing-hero {
    padding: 4rem 0;
}

.landing-hero__inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.landing-hero__content {
    flex: 1;
}

.landing-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.landing-hero__sub-head {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 1rem;
    color: var(--main-color);
}

.landing-hero__text {
    color: var(--muted-text-color);
    margin: 0 0 1.5rem;
}

.landing-hero__content .btn-primary {
    width: auto;
}

.landing-hero__image {
    flex: 1;
}

.landing-hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--shadow-color) 10%, transparent);
}

.landing-usps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.landing-usps li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.landing-usps li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--secondary-color-text);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.landing-features {
    padding: 4rem 0;
    text-align: center;
}

.landing-features__title {
    margin: 0 0 2.5rem;
}

.landing-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 20px color-mix(in srgb, var(--shadow-color) 8%, transparent);
    transform: translateY(-2px);
}

.feature-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.feature-card__text {
    margin: 0;
    color: var(--muted-text-color);
}

@media (max-width: 768px) {
    .landing-hero__inner {
        flex-direction: column;
    }

    .landing-features__grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================================
   Maas & Waal netwerk — bespoke sections (homepage, article, page)
   Every colour resolves to a merchant setting (see the mw-* keys in
   theme.json); SVG motifs are coloured through the helper classes below.
   ===================================================================== */

/* -- Brand-token defaults --------------------------------------------
   The mw-* colours are declared as `colour` settings in theme.json, so once
   the theme is published SitePack emits them (unlayered) in :root and the
   merchant can edit them in the admin. Until that first publish registers the
   settings, these defaults keep the site on-brand. They live in a cascade
   @layer on purpose: any unlayered :root value the platform emits wins over a
   layered one, so a merchant's saved colour always overrides the default here.
   This is the only place raw brand hex values appear. */
@layer mw-defaults {
    :root {
        --mw-navy-deep: #081c39;
        --mw-navy-mid: #0d2c56;
        --mw-blue: #12459a;
        --mw-blue-text: #ffffff;
        --mw-river-blue: #1a4f8f;
        --mw-azure: #3f9ae0;
        --mw-link: #2f8fd6;
        --mw-accent: #57c9d6;
        --mw-accent-text: #062038;
        --mw-paper: #f4f7fb;
        --mw-section-alt: #eef3f9;
        --mw-heading: #0b2545;
        --mw-body: #2b3f57;
        --mw-muted: #4a6484;
        --mw-border: #e2e9f2;
        --mw-border-strong: #d3ddea;
        --mw-heading-on-dark: #ffffff;
        --mw-hero-text: #cfe0f2;
        --mw-nav-text: #e8f1fb;
        --mw-footer-text: #c3d5ea;
        --mw-footer-muted: #8fb0d0;
        --mw-eyebrow-muted: #9fc4e6;
        --mw-wave-a: #0e356a;
        --mw-footer-border: #14315a;
    }
}

/* -- Full-bleed opt-out ----------------------------------------------
   The platform's custom_theme.css caps every direct child of <main>
   (`main > *`) at --container-width and centres it. The Maas & Waal sections
   are full-bleed bands (navy hero, coloured section backgrounds, wave dividers)
   that carry their own inner .mw-container, so they must opt out of that cap. */
main > .mw-hero,
main > .mw-stats,
main > .mw-section,
main > .mw-member,
main > .mw-newsletter,
main > .mw-wave-divider,
main > .mw-article,
main > .mw-page,
main > .mw-404 {
    max-width: none;
    width: 100%;
    /* also clears the platform's `main > *` vertical margin, which otherwise leaves
       white gaps between these full-bleed bands (e.g. around the news wave divider). */
    margin: 0;
}

/* -- SVG motif colour helpers ---------------------------------------- */
.mw-stroke-accent { stroke: var(--mw-accent); }
.mw-stroke-azure { stroke: var(--mw-azure); }
.mw-stroke-link { stroke: var(--mw-link); }
.mw-stroke-riverblue { stroke: var(--mw-river-blue); }
.mw-stroke-blue { stroke: var(--mw-blue); }
.mw-fill-wave-a { fill: var(--mw-wave-a); }
.mw-fill-blue { fill: var(--mw-blue); }
.mw-fill-paper { fill: var(--mw-paper); }
.mw-fill-white { fill: var(--card-background-color); }
.mw-fill-accent { fill: var(--mw-accent); }
.mw-fill-section-alt { fill: var(--mw-section-alt); }
.mw-stroke-white { stroke: var(--card-background-color); }

/* -- Motion ----------------------------------------------------------- */
@keyframes mw-driftA { from { transform: translateX(0); } to { transform: translateX(-100px); } }
@keyframes mw-driftB { from { transform: translateX(0); } to { transform: translateX(80px); } }
@keyframes mw-riseUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* -- Shared container ------------------------------------------------- */
.mw-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
}

/* -- Buttons ---------------------------------------------------------- */
.mw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: filter .2s, background-color .2s, color .2s;
    white-space: nowrap;
}
.mw-btn--sm { padding: 11px 20px; font-size: 15px; }
.mw-btn--accent { background: var(--mw-accent); color: var(--mw-accent-text); }
.mw-btn--accent:hover, .mw-btn--accent:focus { filter: brightness(94%); color: var(--mw-accent-text); text-decoration: none; }
.mw-btn--blue { background: var(--mw-blue); color: var(--mw-blue-text); border: none; }
.mw-btn--blue:hover, .mw-btn--blue:focus { background: var(--mw-navy-mid); color: var(--mw-blue-text); text-decoration: none; }
.mw-btn--outline { background: transparent; color: var(--mw-heading-on-dark); border-color: color-mix(in srgb, var(--mw-heading-on-dark) 50%, transparent); }
.mw-btn--outline:hover, .mw-btn--outline:focus { color: var(--mw-heading-on-dark); border-color: var(--mw-heading-on-dark); text-decoration: none; }

/* -- Eyebrow ---------------------------------------------------------- */
.mw-eyebrow {
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 14px;
}
.mw-eyebrow--accent { color: var(--mw-accent); letter-spacing: .34em; font-size: 14px; }
.mw-eyebrow--link { color: var(--mw-link); }

/* -- Header (solid navy) ---------------------------------------------- */
.mw-header {
    background: var(--mw-navy-deep);
    padding: 1.1rem 0;
}
.mw-header nav {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
}
.mw-header .brand a { color: var(--mw-heading-on-dark); }
/* The merchant's logo is rendered as a solid white silhouette so it reads on the
   navy header regardless of the uploaded artwork's own colours. */
.mw-header .brand img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.mw-logo-mark { display: inline-flex; }
.mw-logo-mark svg { width: 44px; height: 44px; }
.mw-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.mw-wordmark__name { font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: var(--mw-heading-on-dark); }
.mw-wordmark__sub { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--mw-eyebrow-muted); }
.mw-header .nav-link a { color: var(--mw-nav-text); font-weight: 500; }
.mw-header .nav-link a:hover { color: var(--mw-accent); background: transparent; }
.mw-header .nav-icon .sitepack-shopping-cart-trigger svg,
.mw-header .nav-icon svg { color: var(--mw-nav-text); }
/* The live-search (and cart) icon is a dark SVG *image*, so colour it white with a
   filter to read on the navy header. */
.mw-header .nav-icon img { filter: brightness(0) invert(1); }
.mw-header .nav-toggle span { background-color: var(--mw-nav-text); }
/* The merchant's own "Word lid" navigation item (a.btn-primary) is rendered in
   the brand accent so the header carries the design's cyan call-to-action
   without a duplicate button. */
.mw-header .nav-link a.btn-primary,
.mw-header .nav-link a.btn.btn-primary {
    background: var(--mw-accent);
    color: var(--mw-accent-text);
    border-color: var(--mw-accent);
    padding: 11px 20px;
}
.mw-header .nav-link a.btn-primary:hover,
.mw-header .nav-link a.btn.btn-primary:hover {
    filter: brightness(94%);
    background: var(--mw-accent);
    color: var(--mw-accent-text);
}

/* -- Hero ------------------------------------------------------------- */
.mw-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--mw-heading-on-dark);
    background: radial-gradient(120% 90% at 78% 8%, var(--mw-river-blue) 0%, var(--mw-navy-mid) 42%, var(--mw-navy-deep) 100%);
}
.mw-hero__inner {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 120px clamp(20px, 5vw, 72px) 200px;
    animation: mw-riseUp .8s ease both;
}
.mw-hero__title {
    font-weight: 700;
    font-size: clamp(42px, 6.4vw, 88px);
    line-height: .98;
    letter-spacing: -.02em;
    margin: 0 0 28px;
    max-width: 860px;
    color: var(--mw-heading-on-dark);
}
.mw-accent-word { color: var(--mw-accent); }
.mw-hero__text {
    font-size: clamp(18px, 2.1vw, 23px);
    line-height: 1.5;
    color: var(--mw-hero-text);
    max-width: 620px;
    margin: 0 0 40px;
}
.mw-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* Kribben (groynes) */
.mw-kribben--hero { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.mw-kribben--band { position: absolute; top: 0; left: 0; width: 100%; height: 120px; opacity: .45; }

/* Hero waves */
.mw-hero-waves { position: absolute; left: -5%; right: -5%; bottom: -2px; height: 280px; pointer-events: none; }
.mw-hero-wave { position: absolute; bottom: 0; width: 110%; height: 100%; }
.mw-hero-wave--a { /* animated by JS (path morph) */ }
.mw-hero-wave--b { width: 114%; /* animated by JS (path morph) */ }
.mw-hero-wave--top { width: 100%; }

/* -- Stats ------------------------------------------------------------ */
.mw-stats { background: var(--card-background-color); padding: 8px clamp(20px, 5vw, 72px) 84px; }
.mw-stats__grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    text-align: center;
}
.mw-stat { padding: 20px 12px; }
.mw-stat__value { font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; color: var(--mw-blue); letter-spacing: -.02em; }
.mw-stat__label { margin-top: 6px; font-size: 14px; color: var(--mw-muted); font-weight: 500; }

/* -- Generic section head --------------------------------------------- */
.mw-section { padding: 96px 0; }
.mw-section--events { background: var(--card-background-color); }
.mw-section--news { background: var(--mw-section-alt); padding-top: 24px; }
.mw-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
}
.mw-section__title { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.02em; line-height: 1.02; margin: 0; color: var(--mw-heading); }
.mw-section__link { font-weight: 600; color: var(--mw-blue); }
.mw-section__link:hover { color: var(--mw-blue); }

/* -- Events list ------------------------------------------------------ */
.mw-events { border-top: 1px solid var(--mw-border); }
.mw-event {
    display: grid;
    grid-template-columns: 118px 1fr auto;
    gap: clamp(18px, 3vw, 44px);
    align-items: center;
    padding: 26px 8px;
    border-bottom: 1px solid var(--mw-border);
    color: var(--mw-heading);
    text-decoration: none;
    transition: background .2s;
}
.mw-event:hover { background: var(--mw-paper); color: var(--mw-heading); text-decoration: none; }
/* Temporarily non-clickable event rows (no detail page yet): no link affordances. */
.mw-event--disabled { cursor: default; }
.mw-event--disabled:hover { background: transparent; }
.mw-event__date { text-align: center; background: var(--mw-navy-mid); color: var(--mw-heading-on-dark); border-radius: var(--border-radius); padding: 14px 8px; }
.mw-event__day { display: block; font-weight: 700; font-size: 30px; line-height: 1; }
.mw-event__month { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--mw-eyebrow-muted); margin-top: 4px; }
.mw-event__type { font-size: 13px; font-weight: 600; color: var(--mw-link); letter-spacing: .04em; margin-bottom: 6px; }
.mw-event__title { font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; margin: 0 0 6px; color: var(--mw-heading); }
.mw-event__meta { font-size: 15px; color: var(--mw-muted); }
.mw-event__action { font-weight: 600; color: var(--mw-blue); white-space: nowrap; justify-self: end; }

/* -- Wave divider ----------------------------------------------------- */
/* padding:0 clears the platform's `main > *` horizontal padding so the wave spans
   the full width (the divider has no inner container to hold a gutter). */
.mw-wave-divider { line-height: 0; padding: 0; overflow: hidden; }
/* A touch wider than the container so the gentle horizontal drift never reveals an edge. */
.mw-wave-divider svg { width: 100%; height: 74px; display: block; /* wave animated by JS (path morph) */ }
@keyframes mw-wave-sway { from { transform: translateX(0); } to { transform: translateX(-48px); } }
/* A soft cyan water-hint behind the front wave, so the divider reads as a wave
   even when the sections it joins are close in tone (white -> section-alt). */
.mw-wave-divider__back { opacity: 0.22; }
.mw-wave-divider--on-white { background: var(--card-background-color); }
.mw-wave-divider--on-navy { background: var(--mw-navy-deep); }

/* -- News / card grid ------------------------------------------------- */
.mw-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.mw-card {
    display: flex;
    flex-direction: column;
    background: var(--card-background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--mw-heading);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--mw-navy-mid) 6%, transparent);
    transition: transform .25s, box-shadow .25s;
}
.mw-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--mw-navy-mid) 40%, transparent); text-decoration: none; color: var(--mw-heading); }
.mw-card__media {
    aspect-ratio: 16 / 10;
    background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--mw-border) 80%, var(--card-background-color)) 0 12px, var(--mw-section-alt) 12px 24px);
    display: flex;
    align-items: flex-end;
    padding: 14px;
}
.mw-card__caption { font-size: 11px; color: var(--mw-muted); background: color-mix(in srgb, var(--card-background-color) 72%, transparent); padding: 4px 8px; }
.mw-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-card__body { padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mw-card__meta { font-size: 13px; font-weight: 600; color: var(--mw-link); letter-spacing: .04em; }
.mw-card__title { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; margin: 0; color: var(--mw-heading); }
.mw-card__excerpt { font-size: 15px; color: var(--mw-muted); line-height: 1.55; margin: 0; }
.mw-card__action { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--mw-blue); }

/* -- Word lid --------------------------------------------------------- */
.mw-member {
    position: relative;
    overflow: hidden;
    color: var(--mw-heading-on-dark);
    background: radial-gradient(120% 120% at 12% 0%, var(--mw-river-blue) 0%, var(--mw-navy-mid) 46%, var(--mw-navy-deep) 100%);
}
.mw-member__inner {
    position: relative;
    z-index: 5;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 104px clamp(20px, 5vw, 72px);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.mw-member__title { font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; color: var(--mw-heading-on-dark); }
.mw-member__text { font-size: 19px; color: var(--mw-hero-text); max-width: 520px; margin: 0 0 38px; }
.mw-member__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.mw-member__price { color: var(--mw-eyebrow-muted); font-size: 16px; }
.mw-benefits { display: flex; flex-direction: column; }
.mw-benefit { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; padding: 22px 4px; border-bottom: 1px solid color-mix(in srgb, var(--mw-heading-on-dark) 12%, transparent); }
.mw-benefit__num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--mw-accent) 16%, transparent); border-radius: var(--border-radius); color: var(--mw-accent); font-weight: 700; font-size: 15px; }
.mw-benefit__title { font-weight: 600; font-size: 19px; margin: 0 0 4px; color: var(--mw-heading-on-dark); }
.mw-benefit__text { font-size: 15px; color: color-mix(in srgb, var(--mw-hero-text) 85%, transparent); line-height: 1.5; margin: 0; }

/* -- Newsletter ------------------------------------------------------- */
.mw-newsletter { background: var(--mw-paper); padding: 88px clamp(20px, 5vw, 72px); }
.mw-newsletter__card {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-background-color);
    border-radius: var(--border-radius);
    padding: clamp(32px, 5vw, 60px);
    box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--mw-navy-mid) 50%, transparent);
}
.mw-newsletter__wave { position: absolute; right: -40px; bottom: -40px; width: 340px; opacity: .1; }
.mw-newsletter__body { position: relative; z-index: 2; max-width: 560px; }
.mw-newsletter__title { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin: 0 0 12px; color: var(--mw-heading); }
.mw-newsletter__text { font-size: 17px; color: var(--mw-muted); margin: 0 0 28px; }
.mw-newsletter__form { display: flex; flex-wrap: wrap; gap: 12px; }
.mw-newsletter__form input { flex: 1; min-width: 220px; }
/* Native SitePack newsletter form dropped into the card */
.mw-newsletter .sitepack-newsletter-form__intro { display: none; }
.mw-newsletter .sitepack-newsletter-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.mw-newsletter .sitepack-newsletter-form__email { flex: 1; min-width: 220px; }
.mw-newsletter .sitepack-newsletter-form__button {
    background: var(--mw-blue);
    color: var(--mw-blue-text);
    border: none;
    padding: 16px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s;
}
.mw-newsletter .sitepack-newsletter-form__button:hover { background: var(--mw-navy-mid); }

/* -- Article ---------------------------------------------------------- */
.mw-article { background: var(--mw-paper); overflow-x: hidden; }
.mw-article__hero {
    position: relative;
    overflow: hidden;
    color: var(--mw-heading-on-dark);
    background: radial-gradient(120% 120% at 80% 0%, var(--mw-river-blue) 0%, var(--mw-navy-mid) 46%, var(--mw-navy-deep) 100%);
    padding: 70px clamp(20px, 5vw, 72px) 150px;
}
.mw-article__hero .mw-kribben--band { top: 40px; opacity: .35; }
.mw-article__hero-inner { position: relative; z-index: 5; max-width: 820px; margin: 0 auto; }
.mw-article__back { color: var(--mw-eyebrow-muted); font-size: 15px; font-weight: 500; }
.mw-article__eyebrow { margin: 24px 0 18px; font-weight: 600; color: var(--mw-accent); letter-spacing: .06em; font-size: 15px; }
.mw-article__title { font-weight: 700; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.02em; margin: 0; color: var(--mw-heading-on-dark); }
.mw-article__author { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.mw-article__avatar { width: 46px; height: 46px; border-radius: 50%; background-image: repeating-linear-gradient(135deg, var(--mw-river-blue) 0 8px, var(--mw-link) 8px 16px); display: inline-block; }
.mw-article__author-name { font-weight: 600; color: var(--mw-heading-on-dark); }
.mw-article__feature { max-width: 900px; margin: -100px auto 0; padding: 0 clamp(20px, 5vw, 40px); position: relative; z-index: 6; }
.mw-article__feature img { width: 100%; border-radius: var(--border-radius); box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--mw-navy-mid) 60%, transparent); display: block; }
.mw-article__body { max-width: 720px; margin: 0 auto; padding: 56px clamp(20px, 5vw, 40px) 90px; }
.mw-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.mw-tag { font-size: 13px; padding: 4px 12px; border-radius: var(--border-radius); background: var(--mw-section-alt); color: var(--mw-link); }
.mw-article__cta {
    margin: 48px 0 8px;
    background: var(--mw-navy-mid);
    border-radius: var(--border-radius);
    padding: 36px;
    color: var(--mw-heading-on-dark);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.mw-article__nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 8px; font-weight: 600; }
.mw-article__nav a { color: var(--mw-blue); }
.mw-article__nav-next { margin-left: auto; }
/* Scoped with the parent so these win over the .mw-prose h3/p colours (the CTA
   sits inside the prose body but is a dark navy block, so its text stays light). */
.mw-article__cta .mw-article__cta-title { font-weight: 700; font-size: 24px; margin: 0 0 6px; color: var(--mw-heading-on-dark); }
.mw-article__cta .mw-article__cta-text { color: var(--mw-hero-text); font-size: 16px; margin: 0; }

/* -- Prose (article body, content pages) ------------------------------ */
.mw-prose { color: var(--mw-body); }
.mw-prose p { font-size: 19px; line-height: 1.75; color: var(--mw-body); margin: 0 0 24px; }
.mw-prose > p:first-child { font-size: 22px; line-height: 1.6; color: var(--mw-heading); font-weight: 500; }
.mw-prose h2 { font-weight: 700; font-size: 29px; letter-spacing: -.02em; margin: 44px 0 16px; color: var(--mw-heading); }
.mw-prose h3 { font-weight: 700; font-size: 22px; margin: 32px 0 12px; color: var(--mw-heading); }
.mw-prose blockquote { margin: 36px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--mw-accent); font-weight: 500; font-size: 24px; line-height: 1.4; color: var(--mw-blue); }
.mw-prose ul, .mw-prose ol { margin: 0 0 24px 22px; font-size: 19px; line-height: 1.7; color: var(--mw-body); }
.mw-prose li { margin-bottom: 8px; }
/* Prose text links get the link colour, but not buttons in the body (e.g. the CTA),
   which keep their own on-colour text. */
.mw-prose a:not(.mw-btn) { color: var(--mw-link); }
.mw-prose img { border-radius: var(--border-radius); }

/* -- Content page wrapper --------------------------------------------- */
.mw-page { background: var(--mw-paper); padding-bottom: 90px; }
.mw-page__content { padding-top: 0; }

/* Editor pages (built with the page-builder) that open with a hero element get the
   river wave laid over the bottom of that hero automatically, so the image flows into
   the paper content below — matching the custom sections. The wave shape is a mask, so
   its colour comes from --mw-paper (the page background), never a hardcoded fill. A
   fainter cyan wave sits just behind it for the "water" depth. */
.mw-page { overflow-x: hidden; }
.mw-page .element-hero { position: relative; }
/* A hero sits inside a content wrapper (.mw-page / .mw-article) that carries a
   24px gutter from the platform's `main > *` rule — the text/body content needs
   that gutter, but the hero must be edge-to-edge. Break the hero out to the full
   viewport width; the calc derives the offset from the wrapper's own gutter, so it
   holds whatever that gutter is. */
.mw-page .element-hero,
.mw-article__hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.mw-page .element-hero::before,
.mw-page .element-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78px;
    pointer-events: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    /* a little wider than the box so the mask can drift horizontally without a gap */
    -webkit-mask-size: 122% 100%;
    mask-size: 122% 100%;
    -webkit-mask-position: 50% 50%;
    mask-position: 50% 50%;
}
.mw-page .element-hero::before {
    z-index: 3;
    height: 88px;
    opacity: 0.35;
    background-color: var(--mw-accent);
    animation: mw-mask-sway-b 14s ease-in-out infinite alternate;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C280,4 520,74 800,36 C1080,2 1300,66 1440,34 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C280,4 520,74 800,36 C1080,2 1300,66 1440,34 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
}
.mw-page .element-hero::after {
    z-index: 4;
    background-color: var(--mw-paper);
    animation: mw-mask-sway-a 11s ease-in-out infinite alternate;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,52 C280,16 520,84 800,48 C1080,14 1300,74 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,52 C280,16 520,84 800,48 C1080,14 1300,74 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
}
/* Very slow, small horizontal drift of the hero wave masks — gentle water movement. */
@keyframes mw-mask-sway-a {
    from { -webkit-mask-position: 14% 50%; mask-position: 14% 50%; }
    to   { -webkit-mask-position: 86% 50%; mask-position: 86% 50%; }
}
@keyframes mw-mask-sway-b {
    from { -webkit-mask-position: 86% 50%; mask-position: 86% 50%; }
    to   { -webkit-mask-position: 14% 50%; mask-position: 14% 50%; }
}
/* Respect users who prefer reduced motion: hold the waves still. */
@media (prefers-reduced-motion: reduce) {
    .mw-wave-divider svg,
    .mw-page .element-hero::before,
    .mw-page .element-hero::after,
    .mw-hero-wave--a,
    .mw-hero-wave--b { animation: none; }
}

/* -- Footer ----------------------------------------------------------- */
/* The columns/links come from the site's configured footer elements (already set
   with light text for a dark ground); the theme supplies the navy background, the
   kribben motif across the top and the copyright styling. */
.mw-footer {
    position: relative;
    overflow: hidden;
    background: var(--mw-navy-deep);
    color: var(--mw-footer-text);
    padding-top: 64px;
}
.mw-footer .mw-kribben--band { top: 0; height: 44px; opacity: .6; }
.mw-footer a { color: var(--mw-footer-text); text-decoration: none; }
.mw-footer a:hover { color: var(--mw-accent); }
.mw-footer #copyright {
    position: relative;
    z-index: 1;
    background: transparent;
    color: var(--mw-footer-muted);
    border-top: 1px solid var(--mw-footer-border);
    margin-top: 24px;
    padding: 24px clamp(20px, 5vw, 72px);
}
.mw-footer #copyright a { color: var(--mw-footer-muted); }
.mw-footer #copyright a:hover { color: var(--mw-accent); }
/* Breadcrumbs live in the footer: a muted line on the navy ground, below the
   kribben and above the columns, so they blend into the footer band. */
.mw-footer #breadcrumbs {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    /* Match the site-configured footer columns' container gutter (not the wider
       mw-section gutter) so the breadcrumbs line up with the first column. */
    padding: 4px 1.5rem 22px;
    background: transparent;
}
.mw-footer #breadcrumbs .breadcrumb { margin: 0; font-size: 13px; }
.mw-footer .breadcrumb li a { color: var(--mw-footer-muted); }
.mw-footer .breadcrumb li a:hover { color: var(--mw-accent); }
.mw-footer .breadcrumb li span { color: var(--mw-footer-text); }
.mw-footer .breadcrumb li:not(:last-child)::after { color: var(--mw-footer-muted); }
/* The footer business-info block (name / address / email) as a small card with a
   cyan accent edge, so it reads as a tidy contact card in the navy footer. */
.mw-footer .container-element-opening-times {
    background: color-mix(in srgb, var(--mw-heading-on-dark) 7%, transparent);
    border-radius: var(--border-radius);
    padding: 22px 24px;
    margin-top: 4px;
}
.mw-footer .container-element-opening-times h5 {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -.01em;
    margin: 0 0 12px;
}
.mw-footer .container-element-opening-times p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 8px;
    opacity: .85;
}
.mw-footer .container-element-opening-times p:last-child { margin-bottom: 0; }
.mw-footer .container-element-opening-times a { color: var(--mw-footer-text); font-weight: 600; }
.mw-footer .container-element-opening-times a:hover { color: var(--mw-accent); }

/* -- Contact form ----------------------------------------------------- */
/* The SitePack contact-form module, styled as the design's white card with
   branded fields. Targeted by its module action so it stays scoped to the form. */
form[action*="contact-form"] {
    background: var(--card-background-color);
    border: 1px solid var(--mw-border);
    border-radius: var(--border-radius);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--mw-navy-mid) 45%, transparent);
}
form[action*="contact-form"] .form-group { margin-bottom: 18px; }
form[action*="contact-form"] label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--mw-heading);
}
form[action*="contact-form"] .form-control {
    width: 100%;
    padding: 15px 16px;
    border: 1.5px solid var(--mw-border-strong);
    border-radius: var(--border-radius);
    background: var(--card-background-color);
    color: var(--mw-heading);
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}
form[action*="contact-form"] .form-control:focus {
    outline: none;
    border-color: var(--mw-link);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mw-link) 18%, transparent);
}
form[action*="contact-form"] textarea.form-control { min-height: 150px; resize: vertical; }
/* Honeypot field: keep it in the DOM for bots but out of sight/flow. */
form[action*="contact-form"] .form-group-full-name {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
form[action*="contact-form"] button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    /* the platform's .btn-primary rule is !important, so match it to win */
    background: var(--mw-blue) !important;
    color: var(--mw-blue-text) !important;
    border: none !important;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 30px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color .2s;
}
form[action*="contact-form"] button[type="submit"]:hover { background: var(--mw-navy-mid) !important; }

/* Contact-details card in page content (the LocalBusiness / opening-times element),
   styled to match the contact form: a clean white card with a cyan accent edge. */
.mw-page .container-element-opening-times {
    position: relative;
    overflow: hidden;
    background: var(--card-background-color);
    border: 1px solid var(--mw-border);
    border-radius: var(--border-radius);
    padding: 28px 30px;
    box-shadow: 0 22px 44px -30px color-mix(in srgb, var(--mw-navy-mid) 32%, transparent);
}
.mw-page .container-element-opening-times::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--mw-accent);
}
.mw-page .container-element-opening-times h5 {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.01em;
    margin: 0 0 16px;
    color: var(--mw-heading);
}
.mw-page .container-element-opening-times p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    color: var(--mw-body);
}
.mw-page .container-element-opening-times p:last-child { margin-bottom: 0; }
.mw-page .container-element-opening-times a { color: var(--mw-link); font-weight: 600; }
.mw-page .container-element-opening-times a:hover { color: var(--mw-accent); }

/* -- 404 -------------------------------------------------------------- */
.mw-404 {
    position: relative;
    overflow: hidden;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--mw-heading-on-dark);
    background: radial-gradient(120% 90% at 50% 0%, var(--mw-river-blue) 0%, var(--mw-navy-mid) 44%, var(--mw-navy-deep) 100%);
}
/* The 404 flows into the navy footer, not a light section — so the hero-wave's
   white top layer would show as a stray band. Blend it into the navy; the blue
   river waves (layers a/b) stay as the motif at the bottom. */
.mw-404 .mw-fill-white { fill: var(--mw-navy-deep); }
.mw-404__inner {
    position: relative;
    z-index: 10;
    max-width: 640px;
    padding: 100px clamp(20px, 5vw, 72px) 180px;
}
.mw-404__code-wrap { position: relative; display: inline-block; }
.mw-404__code {
    display: block;
    font-weight: 700;
    font-size: clamp(120px, 22vw, 240px);
    line-height: .9;
    letter-spacing: -.03em;
    background: linear-gradient(180deg, var(--mw-heading-on-dark) 0%, var(--mw-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.mw-404__boat {
    position: absolute;
    top: -6%;
    left: 50%;
    width: clamp(34px, 6vw, 60px);
    height: auto;
    transform-origin: 50% 90%;
    animation: mw-boat-bob 4s ease-in-out infinite;
}
@keyframes mw-boat-bob {
    0%   { transform: translateX(-50%) translateY(0) rotate(-5deg); }
    50%  { transform: translateX(-50%) translateY(-9px) rotate(5deg); }
    100% { transform: translateX(-50%) translateY(0) rotate(-5deg); }
}
.mw-404__title {
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.02em;
    margin: 8px 0 18px;
    color: var(--mw-heading-on-dark);
}
.mw-404__text {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: var(--mw-hero-text);
    max-width: 480px;
    margin: 0 auto 34px;
}
.mw-404__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.mw-404__links { margin-top: 30px; font-size: 15px; color: var(--mw-eyebrow-muted); }
.mw-404__links a { color: var(--mw-accent); font-weight: 600; }
.mw-404__links a:hover { color: var(--mw-accent); }

/* -- Responsive ------------------------------------------------------- */
@media (max-width: 860px) {
    .mw-member__inner { grid-template-columns: 1fr; padding: 72px clamp(20px, 5vw, 72px); }
    .mw-section { padding: 64px 0; }
    .mw-hero__inner { padding: 90px clamp(20px, 5vw, 72px) 160px; }
}
@media (max-width: 620px) {
    .mw-event { grid-template-columns: 84px 1fr; }
    .mw-event__action { display: none; }
    .mw-article__feature { margin-top: -60px; }
}

/* =====================================================================
   Editor content pages — automatic Maas & Waal styling
   The standard page-builder elements ship with generic inline colours
   (greys the editor sets). Scoped to .mw-page, this lays the brand look
   over them so an editor page (e.g. /over-ons) reads like the rest of the
   site with no per-element work. !important is used only where it must
   beat an element's own inline style.
   ===================================================================== */

/* -- Headings & text -- */
.mw-page .container-element-heading h1,
.mw-page .container-element-heading h2,
.mw-page .container-element-heading h3 {
    color: var(--mw-heading) !important;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 0;
}
.mw-page .container-element-heading h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); }
.mw-page .container-element-heading h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); }
.mw-page .container-element-text p {
    color: var(--mw-body) !important;
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 16px;
}
.mw-page .container-element-text p:last-child { margin-bottom: 0; }

/* -- Feature grid: cards like the homepage -- */
.mw-page .element-feature-grid { gap: 24px; }
.mw-page .element-feature-card {
    background: var(--card-background-color) !important;
    border: 1px solid var(--mw-border) !important;
    border-radius: var(--border-radius);
    padding: 32px 28px;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--mw-navy-mid) 5%, transparent);
    transition: transform .25s, box-shadow .25s;
}
.mw-page .element-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--mw-navy-mid) 38%, transparent);
}
.mw-page .element-feature-icon {
    color: var(--mw-accent) !important;
    font-size: 24px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mw-accent) 14%, transparent);
    border-radius: 50%;
    margin-bottom: 20px;
}
.mw-page .element-feature-title {
    color: var(--mw-heading) !important;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}
.mw-page .element-feature-text {
    color: var(--mw-muted) !important;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* -- Testimonial: a branded quote card -- */
.mw-page .element-testimonial {
    position: relative;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
    background: var(--card-background-color) !important;
    border: 1px solid var(--mw-border) !important;
    border-radius: var(--border-radius);
    padding: clamp(30px, 4vw, 52px);
    box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--mw-navy-mid) 32%, transparent);
}
.mw-page .element-testimonial-quote {
    color: var(--mw-heading) !important;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: clamp(19px, 2.4vw, 24px);
    line-height: 1.45;
    margin: 12px 0 18px;
}
.mw-page .element-testimonial-author { color: var(--mw-muted); font-weight: 600; }

/* -- Accordion / FAQ -- */
.mw-page .element-accordion-item {
    background: var(--card-background-color) !important;
    border: 1px solid var(--mw-border) !important;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.mw-page .element-accordion-summary {
    color: var(--mw-heading) !important;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 17px;
    padding: 18px 22px;
    cursor: pointer;
}
.mw-page .element-accordion-item[open] .element-accordion-summary { color: var(--mw-blue) !important; }
.mw-page .element-accordion-content { color: var(--mw-body) !important; padding: 0 22px 20px; line-height: 1.7; }
.mw-page .element-accordion-content p { color: var(--mw-body) !important; }
.mw-page .element-accordion-chevron { color: var(--mw-link); }

/* -- Buttons in content -- */
.mw-page .element-button,
.mw-page .container-element-button a,
.mw-page a.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mw-blue) !important;
    color: var(--mw-blue-text) !important;
    border: none !important;
    font-family: var(--heading-font);
    font-weight: 700;
    padding: 15px 28px !important;
    border-radius: var(--border-radius) !important;
    text-decoration: none;
    transition: background-color .2s;
}
.mw-page .element-button:hover,
.mw-page .container-element-button a:hover,
.mw-page a.btn.btn-primary:hover { background: var(--mw-navy-mid) !important; }

/* -- Steps ("stappen") -- the editor lays the vertical variant into cramped narrow
   columns; stack them as a clean numbered list with a connecting line. */
/* the steps sit in a Bootstrap .container that can break out of a column; keep it
   (and the list) within whatever holds it so the text never overlaps a neighbour. */
.mw-page .container-element-steps { max-width: 100%; }
.mw-page .element-steps-vertical {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    max-width: 640px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mw-page .element-step-body { min-width: 0; }
.mw-page .element-step {
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding: 12px 0;
}
.mw-page .element-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 50px;
    bottom: -6px;
    width: 2px;
    background: color-mix(in srgb, var(--mw-accent) 45%, transparent);
}
.mw-page .element-step-number {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mw-blue) !important;
    color: var(--mw-blue-text) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 17px;
    position: relative;
    z-index: 1;
}
.mw-page .element-step-body { flex: 1; padding-top: 3px; }
.mw-page .element-step-title {
    color: var(--mw-heading) !important;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 19px;
    margin: 0 0 6px;
}
.mw-page .element-step-text { color: var(--mw-muted) !important; margin: 0; line-height: 1.65; }
