body.aps-storefront .onsale,body.aps-storefront .woocommerce span.onsale{background:#c62828!important;color:#fff!important;}
.aps-prior-price{display:block;font-size:12px;line-height:1.5;font-weight:400;color:#58646b;margin-top:6px}
/* Shared mobile styles for the shop page, Elementor product/archive templates,
   and WooCommerce purchase pages. Desktop styles remain with the theme. */
@media (max-width:767px){
    body.aps-storefront{--aps-blue:#187b9f;--aps-ink:#202a30;--aps-line:#dce4e8;--aps-soft:#f3f6f7}
    body.aps-storefront .elementor-section .elementor-container{min-width:0}
    body.aps-storefront .elementor-column{min-width:0}
    body.aps-storefront .elementor-widget-heading .elementor-heading-title{font-size:28px!important;line-height:1.2!important}
    body.aps-storefront .elementor-widget-text-editor{font-size:16px!important;line-height:1.6!important}
    body.aps-storefront .elementor-widget-heading{margin-bottom:16px!important}
    body.aps-storefront .elementor-location-header .elementor-widget-image img{width:104px!important;max-width:100%;height:auto!important}
    body.aps-storefront .elementor-location-header .elementor-menu-toggle{font-size:22px!important;padding:11px!important;min-width:44px;min-height:44px}

    /* Both Essential Addons menu widgets are in use on this site. */
    body.aps-storefront :is(.eael-simple-menu-container,.eael-advanced-menu-container){position:relative!important;background:var(--aps-soft)!important;border:1px solid var(--aps-line);border-radius:6px;min-height:48px;text-align:left!important}
    body.aps-storefront :is(.eael-simple-menu-toggle-text,.eael-advanced-menu-toggle-text){display:block!important;position:static!important;padding:12px 60px 12px 16px!important;margin:0!important;min-height:48px;box-sizing:border-box;font:600 17px/24px Dosis,sans-serif!important;color:var(--aps-ink)!important;text-align:left!important}
    body.aps-storefront :is(.eael-simple-menu-toggle-text,.eael-advanced-menu-toggle-text):empty::before{content:"Utforska motiv"}
    body.aps-storefront :is(.eael-simple-menu-toggle,.eael-advanced-menu-toggle){position:absolute!important;inset:0 0 auto auto!important;float:none!important;margin:0!important;width:48px!important;height:48px!important;min-height:48px;padding:12px!important;font-size:19px!important;line-height:24px!important;border:0!important;border-radius:0 6px 6px 0!important;background:var(--aps-blue)!important;color:#fff!important}
    body.aps-storefront .eael-nav-menu-wrapper{position:static!important}
    body.aps-storefront :is(.eael-simple-menu-responsive,.eael-advanced-menu-responsive){position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li{position:relative!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-top:1px solid var(--aps-line)!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li>a{display:block!important;box-sizing:border-box;min-height:48px!important;padding:12px 56px 12px 16px!important;margin:0!important;font:400 17px/24px Dosis,sans-serif!important;text-align:left!important;text-decoration:none!important;color:var(--aps-ink)!important;background:#fff!important;border:0!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li>a:is(:hover,:focus-visible),
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li.current-menu-item>a,
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li>a[aria-current=page]{color:var(--aps-blue)!important;background:#e8f3f7!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) .sub-menu{position:static!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) .sub-menu li>a{padding-left:30px!important;background:var(--aps-soft)!important;font-size:16px!important}
    body.aps-storefront :is(.eael-simple-menu,.eael-advanced-menu) li>span:is(.eael-simple-menu-indicator,.eael-advanced-menu-indicator){position:absolute!important;inset:2px 2px auto auto!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--aps-blue)!important;font-size:18px!important;line-height:1!important}

    /* Keep the cart compact even where the archive template sets a 40px font. */
    body.aps-storefront .elementor-menu-cart__toggle_button{display:inline-flex!important;align-items:center;gap:12px;min-height:44px!important;padding:10px 14px!important;font-size:16px!important;line-height:22px!important;color:var(--aps-ink)!important;background:#fff!important;border:1px solid var(--aps-line)!important;border-radius:6px!important}
    body.aps-storefront .elementor-menu-cart__toggle_button .elementor-button-text{font-size:16px!important;line-height:22px!important;font-weight:600!important;margin:0!important}
    body.aps-storefront .elementor-menu-cart__toggle_button :is(.elementor-button-icon,i,svg){font-size:22px!important;line-height:1!important}
    body.aps-storefront .elementor-menu-cart__toggle_button svg{width:22px!important;height:22px!important}
    body.aps-storefront .elementor-menu-cart__toggle_button .elementor-button-icon-qty{font-size:11px!important;line-height:17px!important;min-width:17px!important;height:17px!important;padding:0 3px!important;top:-8px!important;right:-9px!important}
    body.aps-storefront .elementor-widget-woocommerce-menu-cart{margin-bottom:16px!important}
    body.aps-storefront :is(.eael-simple-menu-indicator,.eael-advanced-menu-indicator) i{color:inherit!important}
    body.aps-storefront .elementor-menu-cart__container{left:0!important;right:auto!important;width:min(340px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
    body.aps-storefront .elementor-menu-cart__main{box-sizing:border-box;width:100%!important;max-width:100%!important;padding:16px!important;border:1px solid var(--aps-line);border-radius:6px;max-height:70vh;overflow-y:auto}
    body.aps-storefront .elementor-menu-cart__product{grid-template-columns:64px minmax(0,1fr) 24px!important}
    body.aps-storefront .elementor-menu-cart__product-image img{width:64px!important;height:64px!important;object-fit:contain}
    body.aps-storefront .elementor-menu-cart__product-name a{font-size:17px!important;line-height:1.35!important;color:var(--aps-blue)!important;overflow-wrap:anywhere}
    body.aps-storefront :is(.elementor-menu-cart__product-price,.elementor-menu-cart__subtotal){font-size:16px!important;line-height:1.4!important}
    body.aps-storefront .elementor-menu-cart__footer-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding-top:12px!important}
    body.aps-storefront .elementor-menu-cart__footer-buttons .elementor-button{display:flex;align-items:center;justify-content:center;min-height:44px!important;padding:10px 6px!important;background:var(--aps-blue)!important;border-radius:4px!important}
    body.aps-storefront .elementor-menu-cart__footer-buttons .elementor-button-text{font-size:16px!important;line-height:22px!important;color:#fff!important}

    /* A consistent, compact gallery in both Woo and Essential Addons listings. */
    body.aps-storefront ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0!important;padding:0!important}
    body.aps-storefront ul.products::before,body.aps-storefront ul.products::after{display:none!important}
    body.aps-storefront ul.products li.product{float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:10px!important;box-sizing:border-box;border:1px solid var(--aps-line)!important;background:#fff!important;box-shadow:none!important}
    body.aps-storefront ul.products .eael-product-wrap{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
    body.aps-storefront ul.products li.product a img{display:block!important;width:100%!important;max-width:100%!important;height:160px!important;object-fit:contain!important;margin:0 0 12px!important}
    body.aps-storefront ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;line-height:1.3!important;font-weight:600!important;margin:0 0 8px!important;padding:0!important;color:var(--aps-ink)!important;overflow-wrap:anywhere}
    body.aps-storefront ul.products :is(.eael-product-title,.eael-product-price){padding:0!important;margin:0 0 8px!important}
    body.aps-storefront ul.products :is(.price,.eael-product-price,.woocommerce-Price-amount){font-size:16px!important;line-height:1.4!important;color:var(--aps-ink)!important}
    body.aps-storefront ul.products li.product a.button{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:12px 0 0!important;padding:10px 6px!important;width:100%!important;font:600 14px/20px Dosis,sans-serif!important;text-transform:none!important;white-space:normal!important;color:#fff!important;background:var(--aps-blue)!important;border:0!important;border-radius:4px!important}
    body.aps-storefront ul.products li.product a.button::before{display:none!important}

    body.aps-storefront .product_title{font-size:28px!important;line-height:1.2!important}
    body.aps-storefront .woocommerce-product-details__short-description{font-size:16px!important;line-height:1.6!important}
    body.aps-storefront .woocommerce-product-details__short-description p{margin-bottom:16px!important}
    body.aps-storefront .aps-product-preview .aps-preview-caption{font-size:12px!important;line-height:1.5!important}
    body.aps-storefront table.variations{margin:0 0 20px!important;border:0!important}
    body.aps-storefront table.variations :is(tr,th,td){display:block!important;width:100%!important;box-sizing:border-box;background:transparent!important;border:0!important;text-align:left!important}
    body.aps-storefront table.variations th.label{padding:0 0 6px!important;font-size:16px!important;line-height:24px!important}
    body.aps-storefront table.variations td.value{padding:0 0 16px!important}
    body.aps-storefront table.variations select{display:block;width:100%!important;max-width:100%!important;min-height:48px!important;padding:10px 12px!important;margin:0!important;font-size:16px!important;line-height:24px!important;background-color:#fff!important;border:1px solid #aebec6!important;border-radius:4px!important;appearance:auto!important;background-image:none!important}
    body.aps-storefront .reset_variations{font-size:14px!important;margin-top:8px;display:inline-block}
    body.aps-storefront .woocommerce-variation-price .price{font-size:25px!important;line-height:1.3!important;font-weight:700!important}
    body.aps-storefront .woocommerce-variation-add-to-cart{align-items:stretch!important;gap:12px!important}
    body.aps-storefront .woocommerce-variation-add-to-cart .quantity{flex:0 0 64px!important}
    body.aps-storefront .woocommerce-variation-add-to-cart input.qty{width:64px!important;min-height:48px!important;height:100%!important;box-sizing:border-box;padding:10px 6px!important;font-size:16px!important;border:1px solid #aebec6!important;border-radius:4px!important}
    body.aps-storefront .woocommerce-variation-add-to-cart .single_add_to_cart_button{min-height:48px!important;padding:12px 18px!important;font-size:16px!important;line-height:24px!important;border:1px solid var(--aps-blue)!important;border-radius:4px!important;background:var(--aps-blue)!important;color:#fff!important}
    body.aps-storefront .woocommerce-tabs ul.tabs{display:flex!important;flex-wrap:wrap;gap:0;padding:0!important;margin:24px 0 0!important}
    body.aps-storefront .woocommerce-tabs ul.tabs li{flex:1 1 auto;margin:0!important;padding:0!important;border:1px solid var(--aps-line)!important;border-radius:4px 4px 0 0!important;box-shadow:none!important;background:var(--aps-soft)!important;text-align:center}
    body.aps-storefront .woocommerce-tabs ul.tabs li a{font-size:15px!important;line-height:20px!important;padding:12px 8px!important;color:var(--aps-ink)!important}
    body.aps-storefront .woocommerce-tabs ul.tabs li.active{background:#fff!important}
    body.aps-storefront .woocommerce-tabs ul.tabs li::before,body.aps-storefront .woocommerce-tabs ul.tabs li::after{display:none!important}
    body.aps-storefront .woocommerce-tabs .panel{font-size:16px!important;line-height:1.6!important;padding:16px!important;box-shadow:none!important;border:1px solid var(--aps-line)!important;margin:0 0 24px!important}
    body.aps-storefront .woocommerce-tabs .panel h2{font-size:21px!important;line-height:1.3!important;margin-top:0!important}
    body.aps-storefront :is(.woocommerce-cart-form,.cart_totals,.woocommerce-checkout,.woocommerce-MyAccount-content,.woocommerce-form){font-size:16px;line-height:1.5}
    body.aps-storefront .woocommerce :is(input.input-text,textarea,select){font-size:16px;min-height:44px;max-width:100%;box-sizing:border-box}
    body.aps-storefront .woocommerce :is(a.button,button.button){min-height:44px;font-size:16px;line-height:1.4}
    body.aps-storefront .woocommerce :is(.shop_table,.form-row,.woocommerce-MyAccount-navigation){font-size:16px!important;line-height:1.5!important}
    body.aps-storefront .woocommerce :is(.product-name a,.woocommerce-MyAccount-navigation a,.woocommerce-MyAccount-content p a){font-size:16px!important;color:var(--aps-blue)!important}
    body.aps-storefront .woocommerce-cart-form .quantity .qty{min-height:44px!important;width:64px!important;font-size:16px!important}
    body.aps-storefront .woocommerce-cart-form .shop_table :is(td,th)::before{margin-right:8px}
    body.aps-storefront .woocommerce :is(h2,h3){font-size:23px!important;line-height:1.3!important}
    body.aps-storefront .woocommerce-error{overflow-wrap:anywhere}
    body.aps-storefront .page-content>:is(section,div:not(.elementor)){font-size:16px!important;line-height:1.65!important}
    body.aps-storefront .page-content>:is(section,div:not(.elementor)) :is(h2,h3){font-size:23px!important;line-height:1.3!important;margin-top:24px!important;margin-bottom:12px!important}
    body.aps-storefront :is(button,a,select,input):focus-visible{outline:2px solid var(--aps-blue)!important;outline-offset:3px}
}
@media(max-width:359px){
    body.aps-storefront ul.products{grid-template-columns:minmax(0,1fr)!important}
    body.aps-storefront ul.products li.product a img{height:220px!important}
}
