/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* Outline-tittel uten fargefyll */
.wee-marine-outline-title {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    text-stroke: 2px #ffffff;
}

/* Term carousel – stil på navigasjonsknapper */
.wee-carousel-nav {
    padding-top: 30px !important;
}

@media (max-width: 767px) {
    .wee-carousel-nav .owl-nav {
        display: none !important;
    }

    /* Deaktiver scroll-animasjon på timeline-tekst */
    .timeline-scroll-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}



.wee-carousel-nav .owl-nav button.owl-prev,
.wee-carousel-nav .owl-nav button.owl-next {
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border: 1px solid #090520 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    transition: background 0.2s ease !important;
}

.wee-carousel-nav .owl-nav button.owl-prev::before,
.wee-carousel-nav .owl-nav button.owl-next::before,
.wee-carousel-nav .owl-nav button.owl-prev::after,
.wee-carousel-nav .owl-nav button.owl-next::after {
    color: #090520 !important;
    font-size: 18px !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.no-touch .wee-carousel-nav .owl-nav button.owl-prev:hover,
.no-touch .wee-carousel-nav .owl-nav button.owl-next:hover {
    background: #f5f5f5 !important;
    box-shadow: none !important;
}

/* List filter – styling */
.w-filter.for_list .w-filter-list-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #090520;
    margin-bottom: 10px;
}

.w-filter.for_list .w-filter-item-title {
    font-size: 40px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family: 'Zalando Sans', sans-serif !important;
    color: #090520;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    display: block !important;
}

.w-filter.for_list .w-filter-item {
    margin-bottom: 16px;
}

.w-filter.for_list .w-filter-item-values {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.w-filter.for_list .w-filter-item-value label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 0;
    cursor: pointer;
}

/* Skjul standard radio */
.w-filter.for_list .w-filter-item-value input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #090520;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

/* Fylt sirkel når valgt */
.w-filter.for_list .w-filter-item-value input[type="radio"]:checked {
    background: #090520;
    border-color: #090520;
}

.w-filter.for_list .w-filter-item-value input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #ffffff;
    border-radius: 50%;
}

/* Ingen bakgrunnsfarge på hover eller aktiv */
.no-touch .w-filter.for_list .w-filter-item-value label:hover {
    background: none !important;
}

.w-filter.for_list .w-filter-item-value:has(input:checked) label {
    background: none !important;
}

.w-filter.for_list .w-filter-item-value:has(input:checked) .w-filter-item-value-label {
    color: #090520 !important;
}

/* Label tekst */
.w-filter.for_list .w-filter-item-value-label {
    font-size: 20px;
    color: #090520;
    line-height: 1.3;
}

/* Skjul "Any" radio-alternativet fra listen */
.w-filter.for_list .w-filter-item-value[data-value="*"] {
    display: none !important;
}

/* Skjul original reset-lenke og submit-knapp */
.w-filter.for_list .w-filter-item-reset {
    display: none !important;
}

.w-filter.for_list .w-filter-list-panel {
    display: none !important;
}

/* Skjul sticky "Bruk"-knapp */
.w-filter.for_list .w-filter-button-submit {
    display: none !important;
}

/* Knapper i bunn: Velg alle + Fjern alle */
.w-filter.for_list .w-filter-list {
    padding-bottom: 16px;
}

.w-filter.for_list .w-filter-item-content {
    position: relative;
}

.w-filter.for_list::after {
    content: '';
    display: block;
    clear: both;
}

/* Velg alle / Fjern alle knapper via JS-injeksjon */
.wee-filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.wee-filter-buttons button {
    flex: 0 0 auto !important;
    width: auto !important;
}

.wee-filter-btn-all {
    flex: 0 0 auto;
    padding: 0.45em 1em;
    background: #090520;
    color: #ffffff;
    border: 1px solid #090520;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: background 0.2s ease;
}

.wee-filter-btn-reset {
    flex: 0 0 auto;
    padding: 0.45em 1em;
    background: #ffffff;
    color: #090520;
    border: 1px solid #090520;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: background 0.2s ease;
}

.no-touch .wee-filter-btn-all:hover {
    background: #1a1540;
}

.no-touch .wee-filter-btn-reset:hover {
    background: #f5f5f5;
}

/* Produkt galleri – avrundede hjørner */
.woocommerce-product-gallery {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.woocommerce-product-gallery .flex-viewport {
    border-radius: 10px 10px 0 0 !important;
}

/* Galleri thumbnails – avrundede hjørner + 1:1 ratio */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-top: 16px !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(16.666% - 4px) !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 10px !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    opacity: 0.5 !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.no-touch .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1 !important;
}

/* Produktknapp – mørkeblå tekst på hover */
html.no-touch body.woocommerce.single-product .w-post-elm button.single_add_to_cart_button.button.alt:hover,
html.no-touch body.woocommerce.single-product .w-post-elm button.single_add_to_cart_button.button.alt:focus-visible {
    color: #090520 !important;
}

/* Variant dropdown */
table.variations .woocommerce-select select,
table.variations select,
.variations td.value select,
select[name^="attribute_"] {
    background: #ffffff !important;
    color: #090520 !important;
    border: 1px solid #090520 !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    font-family: inherit !important;
    width: 100% !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

/* Quantity input – hvit bakgrunn, #090520 border og tekst */
.woocommerce .quantity input.qty,
.woocommerce div.product form.cart .quantity input,
.w-form-row input[type="number"],
.product .cart input[type="number"] {
    background: #ffffff !important;
    color: #090520 !important;
    border-color: #090520 !important;
}

/* Quantity piler */
.woocommerce .quantity .qty-btn,
.woocommerce .quantity button,
.woocommerce .woocommerce-quantity__button,
.wc-block-components-quantity-selector button,
.wc-block-components-quantity-selector input {
    background: #ffffff !important;
    color: #090520 !important;
    border-color: #090520 !important;
}

/* Gravity Forms – underline stil på mørk bakgrunn */

/* Skjul "obligatorisk felt" tekst */
#gform_wrapper_1 .gform_heading {
    display: none !important;
}

/* Skjul honeypot */
#gform_1 .gform_validation_container {
    display: none !important;
}

/* 2-kolonne layout */
#gform_1 .gform_fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 60px !important;
    align-items: start !important;
}

/* Tre venstre felt i kolonne 1 */
#gform_1 #field_1_1,
#gform_1 #field_1_3,
#gform_1 #field_1_4 {
    grid-column: 1 !important;
}

/* Textarea i kolonne 2, strekker seg over alle rader */
#gform_1 #field_1_5 {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
}

/* Textarea wrapper full høyde slik at textarea plasseres i bunn */
#gform_1 #field_1_5 .ginput_container {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding-bottom: 27px !important;
}

/* Labels skjult i GF men synlige via placeholder – vis * i placeholder */
#gform_1 .gfield_label {
    display: none !important;
}

/* Input felt – kun underline */
#gform_1 input[type="text"],
#gform_1 input[type="email"],
#gform_1 input[type="tel"],
#gform_1 textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    padding: 8px 0 !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    resize: none !important;
}

#gform_1 input[type="text"]:focus,
#gform_1 input[type="email"]:focus,
#gform_1 input[type="tel"]:focus,
#gform_1 textarea:focus {
    border-bottom-color: var(--color-content-primary) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Placeholder: hvit med * for obligatoriske felt */
#gform_1 input::placeholder,
#gform_1 textarea::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Textarea høyde */
#gform_1 textarea {
    min-height: 180px !important;
}

/* Submit-knapp */
#gform_1 .gform_footer {
    margin-top: 32px;
    grid-column: 1 !important;
}

#gform_1 .gform_button {
    background: var(--color-content-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.8em 2.5em !important;
    font-size: 16px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.no-touch #gform_1 .gform_button:hover {
    opacity: 0.85 !important;
}

/* Gravity Forms gform_2 – kontakt-oss (én kolonne) */

#gform_wrapper_2 .gform_heading {
    display: none !important;
}

#gform_2 .gform_validation_container {
    display: none !important;
}

#gform_2 .gfield_label {
    display: none !important;
}

#gform_2 input[type="text"],
#gform_2 input[type="email"],
#gform_2 input[type="tel"],
#gform_2 textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    padding: 8px 0 !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    resize: none !important;
}

#gform_2 input[type="text"]:focus,
#gform_2 input[type="email"]:focus,
#gform_2 input[type="tel"]:focus,
#gform_2 textarea:focus {
    border-bottom-color: var(--color-content-primary) !important;
    box-shadow: none !important;
    outline: none !important;
}

#gform_2 input::placeholder,
#gform_2 textarea::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

#gform_2 textarea {
    min-height: 80px !important;
}

#gform_2 .gform_footer {
    margin-top: 32px;
}

#gform_2 .gform_button {
    background: var(--color-content-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.8em 2.5em !important;
    font-size: 16px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.no-touch #gform_2 .gform_button:hover {
    opacity: 0.85 !important;
}

#gform_confirmation_wrapper_2,
#gform_confirmation_message_2 {
    color: #F24D21 !important;
}

/* Success message farge */
#gform_confirmation_wrapper_1,
#gform_confirmation_message_1,
.gform_confirmation_wrapper .gform_confirmation_message {
    color: #F24D21 !important;
}

/* Handlekurv – fullscreen overlay */
.w-cart-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    transform: none !important;
    background: #090520 !important;
    z-index: 9990 !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 140px calc((100vw - 1540px) / 2 + 40px) 60px !important;
    box-sizing: border-box !important;
}

/* Lukkeknapp øverst til høyre – sirkel */
.w-cart-content .w-cart-closer,
.w-cart-content > .w-cart-closer {
    position: fixed !important;
    top: 32px !important;
    right: 40px !important;
    z-index: 9995 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* Handlekurv – tittel via ::before */
.w-cart-content::before {
    content: 'Din liste';
    display: block;
    color: #ffffff;
    font-size: 40px;
    font-weight: 400;
    font-family: var(--font-family);
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

/* Handlekurv bakgrunnsbilde */
.w-cart-content::after {
    content: '';
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 65vw;
    height: 65vw;
    background-image: url('https://wee-marine-no.datasenter.no/wp-content/uploads/2026/05/Group-77.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.w-cart-content .widget {
    position: relative;
    z-index: 1;
}

/* Grid-kolonner: bilde(100px) | produkt(1fr) | antall(180px) */
:root {
    --cart-col: 100px 1fr 180px;
    --cart-gap: 32px;
}

/* Kolonne-headers */
.wee-cart-headers {
    display: grid;
    grid-template-columns: var(--cart-col);
    gap: 0 var(--cart-gap);
    color: #ffffff !important;
    font-size: 20px;
    font-family: var(--font-family);
    padding-bottom: 16px;
    border-bottom: 2px solid #ffffff;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Mini-cart liste */
.w-cart-content .woocommerce-mini-cart {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

/* Produktrad – JS wrapper-klasser brukes for grid */
.w-cart-content .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: var(--cart-col) !important;
    gap: 0 var(--cart-gap) !important;
    align-items: center !important;
    padding: 24px 0 !important;
    border-bottom: 1px solid #ffffff !important;
    border-top: none !important;
}

.w-cart-content .woocommerce-mini-cart-item:first-child {
    border-top: none !important;
}

/* Bilde-wrapper (kolonne 1) */
.wee-cart-img-wrap {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wee-cart-img-wrap img {
    width: 128px !important;
    height: 128px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    display: block !important;
}

/* Navn-wrapper (kolonne 2) */
.wee-cart-name-wrap {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    align-self: center;
}

.wee-cart-name-wrap a {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: var(--font-family) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

/* Antall-wrapper (kolonne 3) */
.wee-cart-qty-wrap {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wee-cart-qty-wrap .quantity {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: var(--font-family) !important;
    white-space: nowrap !important;
}

.wee-qty-label {
    color: #ffffff;
    font-size: 20px;
    font-family: var(--font-family);
}

/* Pris-wrapper (kolonne 4) */
.wee-cart-price-wrap {
    grid-column: 4;
    display: flex;
    align-items: center;
}

.wee-cart-price-wrap .woocommerce-Price-amount {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: var(--font-family) !important;
    white-space: nowrap !important;
}

/* Fjern-knapp */
.w-cart-content .remove_from_cart_button {
    display: none !important;
}

/* Totalsum – samme grid som produktrad */
.w-cart-content .woocommerce-mini-cart__total {
    display: grid !important;
    grid-template-columns: var(--cart-col) !important;
    gap: 0 var(--cart-gap) !important;
    align-items: center !important;
    padding: 20px 0 !important;
    border-top: none !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}

/* "Totalsum:" label – i antall-kolonnen */
.w-cart-content .woocommerce-mini-cart__total strong {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    grid-column: 3 !important;
    text-align: left !important;
}

/* Total pris – i pris-kolonnen */
.w-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #ffffff !important;
    font-size: 20px !important;
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    grid-column: 4 !important;
    text-align: left !important;
}

/* Checkout-knapp */
.w-cart-content .woocommerce-mini-cart__buttons {
    margin-top: 32px !important;
    display: flex !important;
    gap: 12px !important;
    position: relative;
    z-index: 1;
}

/* Skjul "Vis handlekurv" */
.w-cart-content .wc-forward:not(.checkout) {
    display: none !important;
}

.w-cart-content a.checkout,
.w-cart-content a.checkout:link,
.w-cart-content a.checkout:visited,
.w-cart-content a.checkout:hover,
.w-cart-content a.checkout:focus,
.w-cart-content a.checkout:active,
.woocommerce .w-cart-content a.checkout,
.woocommerce .w-cart-content a.wc-forward.checkout {
    border: none !important;
    outline: none !important;
    font-family: var(--font-family) !important;
    font-style: normal !important;
    text-transform: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 0em !important;
    padding: 0.9em 2.0em !important;
    background: var(--color-content-primary) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    display: inline-block !important;
    width: auto !important;
    cursor: pointer !important;
    transition-duration: 0.2s !important;
}

/* Prisfri forespørselsflyt – skjul alle 0-beløp i WooCommerce Blocks og klassiske maler */
.wp-block-woocommerce-cart .wc-block-components-product-price,
.wp-block-woocommerce-cart .wc-block-cart-item__total,
.wp-block-woocommerce-cart .wc-block-components-totals-item,
.wc-block-cart .wc-block-components-product-price,
.wc-block-cart .wc-block-cart-item__total,
.wc-block-cart .wc-block-components-totals-item,
.wp-block-woocommerce-checkout .wc-block-components-product-price,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.wp-block-woocommerce-checkout .wc-block-components-totals-item,
.wc-block-checkout .wc-block-components-product-price,
.wc-block-checkout .wc-block-components-order-summary-item__individual-prices,
.wc-block-checkout .wc-block-components-order-summary-item__total-price,
.wc-block-checkout .wc-block-components-totals-item,
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal,
.woocommerce-cart .cart_totals,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-order-details .product-total,
.woocommerce-order-details tfoot,
.w-cart-content .woocommerce-mini-cart__total,
.wee-cart-price-wrap {
    display: none !important;
}

/* Handlekurv – mobiltilpasning */
@media (max-width: 767px) {
    :root {
        --cart-col: 70px 1fr 80px;
        --cart-gap: 12px;
    }

    .w-cart-content {
        padding: 80px 20px 40px !important;
    }

    .w-cart-content::before {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .w-cart-closer {
        top: 20px !important;
        right: 20px !important;
    }

    /* Skjul pris-kolonne på mobil, vis pris under navn */
    .wee-cart-headers,
    .w-cart-content .woocommerce-mini-cart-item,
    .w-cart-content .woocommerce-mini-cart__total {
        grid-template-columns: 70px 1fr 80px !important;
    }

    .wee-cart-headers span:last-child,
    .wee-cart-price-wrap {
        display: none !important;
    }

    /* Vis pris i antall-kolonnen på mobil */
    .wee-cart-qty-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .wee-cart-img-wrap img {
        width: 70px !important;
        height: 70px !important;
    }

    .wee-cart-name-wrap a,
    .wee-qty-label,
    .w-cart-content .woocommerce-mini-cart__total strong,
    .w-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
        font-size: 16px !important;
    }

    .wee-cart-headers {
        font-size: 14px;
    }

    .w-cart-content .woocommerce-mini-cart__total strong {
        grid-column: 2 !important;
    }

    .w-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
        grid-column: 3 !important;
        display: block !important;
    }

    .w-cart-content .checkout {
        font-size: 16px !important;
        padding: 0.8em 1.5em !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
}

/* Fjern Impreza ::before border på checkout-knapp i handlekurv */
.w-cart-content a.checkout::before,
.w-cart-content a.checkout::after,
.woocommerce .w-cart-content .button.checkout::before,
.woocommerce .w-cart-content .button.checkout::after {
    display: none !important;
    border: none !important;
    content: none !important;
}

/* Tom handlekurv tekst */
.w-cart-content .woocommerce-mini-cart__empty-message {
    color: rgba(255,255,255,0.6) !important;
    font-size: 20px !important;
    position: relative;
    z-index: 1;
}

/* Mobil meny – font size på hovednivå */
.ush_menu_1.type_mobile .w-nav-anchor.level_1 {
    font-size: 28px !important;
}

/* Mobil fullscreen meny – bakgrunnsbilde nederst til høyre */
.wee-nav-bg-image {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 65vw;
    height: 65vw;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    z-index: 9999;
    display: block;
}

/* Post title med pil-ikon på slutten */
.wee-title-arrow::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 18px;
    background-image: url('https://wee-marine-no.datasenter.no/wp-content/uploads/2026/05/Polygon-61.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 20px;
    vertical-align: middle;
}

/* Knapper med pil – style 1 og style 2 */
.us-btn-style_1,
.us-btn-style_2 {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1.2em;
    padding-right: 1.8em !important;
    transition: padding-right 0.35s ease, gap 0.35s ease !important;
}

.us-btn-style_1::after,
.us-btn-style_2::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 12px;
    background-image: url('https://wee-marine-no.datasenter.no/wp-content/uploads/2026/05/Polygon-6.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

/* Hover: knapp forlenges, pil glir høyre */
.no-touch .us-btn-style_1:hover,
.no-touch .us-btn-style_2:hover {
    padding-right: 2.4em !important;
}

.no-touch .us-btn-style_1:hover::after,
.no-touch .us-btn-style_2:hover::after {
    transform: translateX(5px);
}


/* Flytebrygger: equal material swatches in one mobile row. */
@media (max-width: 767px) {
    body.postid-264 .w-hwrapper:has(> .w-vwrapper > .us_custom_9cf479d2) {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
        max-width: 100%;
    }
    body.postid-264 .w-hwrapper:has(> .w-vwrapper > .us_custom_9cf479d2) > .w-vwrapper {
        min-width: 0;
        width: 100%;
        margin: 0 !important;
        gap: 10px;
    }
    body.postid-264 .w-hwrapper > .w-vwrapper > .w-image.us_custom_9cf479d2 {
        width: 72px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.postid-264 .w-vwrapper > .us_custom_9cf479d2 .w-image-h,
    body.postid-264 .w-vwrapper > .us_custom_9cf479d2 img {
        display: block;
        width: 100% !important;
        aspect-ratio: 1 / 1;
    }
    body.postid-264 .w-vwrapper > .us_custom_9cf479d2 img {
        height: auto !important;
        object-fit: cover;
        border-radius: 10px;
    }
    body.postid-264 .w-hwrapper:has(> .w-vwrapper > .us_custom_9cf479d2) .w-text {
        width: 100%;
        margin: 0 !important;
        font-size: clamp(11px, 3.1vw, 14px) !important;
        line-height: 1.35;
        text-align: center;
        overflow-wrap: anywhere;
    }
}
