/*
Theme Name: Flatsome Child
Description: Child theme for Glattisen Fisk (Flatsome)
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** BRAND ***************
 Logo: navy / sage / yellow / red.
 Inspiration: fiskbilen.se (navy + red), fiskeruta.no (yellow CTAs, rounded),
 morestarfish.no (ocean teals, pill buttons), fiskeutsalget.no (simple, price per kg).
*/
:root {
  --gf-navy:   #14224B;
  --gf-deep:   #14224B;  /* same navy as --gf-navy: one dark blue site-wide */
  --gf-sea:    #0F6E8C;  /* ocean teal */
  --gf-sage:   #5E7B72;
  --gf-red:    #D7343B;
  --gf-yellow: #FFD21F;  /* main CTA */
  --gf-yellow-d: #F2C200;
  --gf-foam:   #F2F8FA;
  --gf-ink:    #1f2a44;
  --gf-radius: 16px;
}

body { color: var(--gf-ink); }
h1, h2, h3, h4 { letter-spacing: -.01em; color: var(--gf-navy); }
a { color: var(--gf-sea); }

/*************** ANNOUNCEMENT BAR + HEADER ***************/
#top-bar { font-size: .85em; letter-spacing: .01em; }
#top-bar a { color: var(--gf-yellow); }
.header-main { border-bottom: 1px solid rgba(20,34,75,.08); }
.header-main .header-search-form-wrapper input { border-radius: 99px; border-color: rgba(20,34,75,.15); box-shadow: none; }
.header-main .header-search-form-wrapper .button { background: var(--gf-navy); color: #fff; }
/* category bar */
.header-bottom { background: var(--gf-navy); }
.header-bottom .nav > li > a { color: #fff; font-weight: 600; font-size: .92em; text-transform: none; letter-spacing: .01em; }
.header-bottom .nav > li > a:hover, .header-bottom .nav > li.active > a { color: var(--gf-yellow); }
.header-bottom .nav-dropdown { border-radius: 12px; overflow: hidden; }
/* Flatsome's inline customizer CSS outranks the rules above, so force the brand colours */
.header-wrapper #wide-nav, .header-wrapper .header-bottom, .header-wrapper .header-bottom.wide-nav { background-color: var(--gf-navy) !important; }
.header-wrapper .header-bottom .nav > li > a { color: #fff !important; }
.header-wrapper .header-bottom .nav > li > a:hover, .header-wrapper .header-bottom .nav > li.active > a,
.header-wrapper .header-bottom .nav > li.current-menu-item > a { color: var(--gf-yellow) !important; }
.header-wrapper .header-bottom .nav > li > a .icon-angle-down { color: inherit; opacity: .7; }
/* announcement bar: navy text on the CTA yellow */
.header-wrapper #top-bar, .header-wrapper .header-top { background-color: var(--gf-yellow) !important; }
.header-wrapper #top-bar, .header-wrapper #top-bar .nav > li > a, .header-wrapper #top-bar p, .header-wrapper #top-bar span,
.header-wrapper #top-bar strong, .header-wrapper .header-top, .header-wrapper .header-top .html_topbar_left { color: var(--gf-navy) !important; }
.header-wrapper #top-bar a { color: var(--gf-navy) !important; text-decoration: underline; }

/* search: one pill, button sits inside it */
.header-main .header-search-form { width: 100%; max-width: 460px; }
.header-main .searchform-wrapper .searchform .flex-row {
  background: #fff; border: 2px solid var(--gf-navy); border-radius: 99px; overflow: hidden; height: 48px; align-items: stretch; }
.header-main .searchform .flex-col { margin: 0; }
.header-main .searchform input.search-field {
  height: 100%; border: 0 !important; box-shadow: none !important; background: transparent; border-radius: 0 !important;
  padding: 0 8px 0 22px; margin: 0; font-size: .95em; }
.header-main .searchform .ux-search-submit {
  height: 100%; width: 56px; margin: 0; padding: 0; border: 0; border-radius: 0 !important; min-height: 0;
  background: var(--gf-yellow) !important; color: var(--gf-navy) !important; box-shadow: none; transform: none; }
.header-main .searchform .ux-search-submit:hover { background: var(--gf-yellow-d) !important; transform: none; box-shadow: none; }
.header-main .searchform .ux-search-submit i { font-size: 1.15em; margin: 0; }
.header-main .searchform .flex-row:focus-within { box-shadow: 0 0 0 3px rgba(255,210,31,.55); }
/* mobile: search row under the header (white pill on the navy bar) */
.header-bottom .searchform-wrapper .searchform .flex-row { background: #fff; border: 0; border-radius: 99px; overflow: hidden; height: 46px; align-items: stretch; }
.header-bottom .searchform .flex-col { margin: 0; }
.header-bottom .searchform input.search-field { height: 100%; border: 0 !important; box-shadow: none !important; background: transparent; border-radius: 0 !important; padding: 0 8px 0 20px; margin: 0; font-size: 1em; }
.header-bottom .searchform .ux-search-submit { height: 100%; width: 54px; margin: 0; padding: 0; border: 0; border-radius: 0 !important; min-height: 0; background: var(--gf-yellow) !important; color: var(--gf-navy) !important; box-shadow: none; transform: none; }
.header-bottom .searchform .ux-search-submit:hover { transform: none; box-shadow: none; }
.header-bottom .searchform-wrapper { margin: 0; }
.header-wrapper .header-bottom .searchform input { color: var(--gf-ink); }
@media (max-width: 849px) { .header-wrapper #top-bar, .header-wrapper #top-bar * { font-size: .8rem; line-height: 1.3; } }
.header-wrapper.stuck .header-main { box-shadow: 0 4px 18px rgba(20,34,75,.12); }
.cart-icon strong { border-color: var(--gf-navy); color: var(--gf-navy); }
.cart-icon strong:after { background: var(--gf-yellow); color: var(--gf-navy); }

/*************** BUTTONS / CTAs ***************/
.button, button[type="submit"], input[type="submit"], .added_to_cart, .checkout-button {
  border-radius: 99px; text-transform: none; letter-spacing: .01em; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.button:hover, .added_to_cart:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,34,75,.2); }
/* main CTA = yellow with navy text */
.button.secondary, .button.alt, .single_add_to_cart_button, .add_to_cart_button, .checkout-button, #place_order,
.product-small .add-to-cart-button .button, .cart-collaterals .button.alt {
  background: var(--gf-yellow) !important; color: var(--gf-navy) !important; border: 0; box-shadow: none;
}
.button.secondary:hover, .button.alt:hover, .single_add_to_cart_button:hover, .add_to_cart_button:hover,
.checkout-button:hover, #place_order:hover { background: var(--gf-yellow-d) !important; color: var(--gf-navy) !important; }
.button.primary, .cart-actions .button, .continue-shopping .button { background: var(--gf-navy); color: #fff; }
.button.primary:hover { background: var(--gf-sea); color: #fff; }
.cart-container .button.primary span, .woocommerce-cart .button.primary span { color: #fff; }
.button.is-outline { border-width: 2px; }

/*************** PRODUCT CARDS ***************/
.product-small .col-inner { height: 100%; }
.product-small .box { border-radius: var(--gf-radius); overflow: hidden; background: #fff; height: 100%;
  box-shadow: 0 2px 14px rgba(20,34,75,.08); transition: box-shadow .2s ease, transform .2s ease; }
.product-small .box:hover { box-shadow: 0 12px 30px rgba(20,34,75,.16); transform: translateY(-3px); }
.product-small .box-image { border-radius: var(--gf-radius) var(--gf-radius) 0 0; background: var(--gf-foam); }
.product-small .box-text { padding: 12px 16px 18px; }
.product-small .title-wrapper .name a, .product-title a { font-weight: 700; color: var(--gf-navy); text-transform: none; font-size: .98em; letter-spacing: 0; line-height: 1.3; }
.product-small .price-wrapper .price { display: block; margin-top: 6px; }
.price .amount { color: var(--gf-navy); font-weight: 800; font-size: 1.15em; }
.price del .amount { color: #8a93a8; font-weight: 500; font-size: .9em; }
.gf-perkg { display: block; font-size: .78em; color: var(--gf-sea); font-weight: 600; margin-top: 2px; }
.gf-perkg .amount { font-size: 1em; color: inherit; font-weight: 600; }
.badge-container .badge-inner.on-sale, .onsale.gf-save { background: var(--gf-red); color: #fff; border-radius: 99px; font-weight: 700; }
.onsale.gf-save { display: inline-block; padding: 5px 16px; line-height: 1.3; font-size: .85rem; white-space: nowrap; }
.quantity .minus, .quantity .plus, .quantity input.qty { border-radius: 99px; }

/*************** SECTIONS: ocean look ***************/
.gf-sea  { background: var(--gf-foam); }
.gf-deep { background: var(--gf-deep); color: #fff; }
.gf-navy { background: var(--gf-navy); color: #fff; }
.gf-deep h1, .gf-deep h2, .gf-deep h3, .gf-deep p, .gf-navy h1, .gf-navy h2, .gf-navy h3, .gf-navy p { color: #fff; }
.gf-deep a:not(.button), .gf-navy a:not(.button) { color: var(--gf-yellow); }

.gf-wave-bottom, .gf-wave-top { position: relative; }
.gf-wave-bottom::after, .gf-wave-top::before {
  content: ""; position: absolute; left: 0; width: 100%; height: 56px; z-index: 2; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
.gf-wave-bottom::after { bottom: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }
.gf-wave-top::before { top: -1px; transform: rotate(180deg); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }
/* wave colours */
.gf-wave-bottom.to-foam::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23F2F8FA' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }
.gf-wave-bottom.to-deep::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%2314224B' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }
.gf-wave-top.from-foam::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23F2F8FA' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }
.gf-wave-top.from-white::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,30 C240,70 480,0 720,28 C960,56 1200,6 1440,34 L1440,60 L0,60 Z'/></svg>"); }

/*************** USP STRIP ***************/
.gf-usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: left; max-width: 1200px; margin: 0 auto; }
.gf-usp > div { padding: 6px 22px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.gf-usp-t { min-width: 0; }
.gf-usp-ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--gf-yellow); display: inline-flex; align-items: center; justify-content: center; }
.gf-usp-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gf-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gf-usp > div + div { border-left: 1px solid rgba(20,34,75,.12); }
.gf-usp strong { display: block; color: var(--gf-navy); font-size: 1.02em; }
.gf-usp span { display: block; color: #5b6783; font-size: .9em; line-height: 1.4; margin-top: 2px; }

/*************** STEPS (fra hav til bord) ***************/
.gf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.gf-step { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--gf-radius); padding: 22px 18px; text-align: center; }
.gf-step-n { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--gf-yellow); color: var(--gf-navy);
  font-weight: 800; align-items: center; justify-content: center; margin-bottom: 8px; }
.gf-step h3 { color: #fff; margin-bottom: 4px; font-size: 1.1em; }
.gf-step p { color: rgba(255,255,255,.82); font-size: .9em; margin: 0; }

/*************** CART / CHECKOUT NOTE ***************/
.gf-note { background: var(--gf-foam); border-left: 4px solid var(--gf-sea); border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; font-size: .92em; }

/*************** FOOTER ***************/
.gf-footer { background: var(--gf-navy); color: rgba(255,255,255,.82); position: relative; }
/* padding lives on the inner grid: Flatsome's inline section padding would override it, and the wave covers the top 56px */
.gf-f { padding: 104px 0 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; align-items: start; }
.gf-f-logo { display: inline-block; width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.gf-f-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.gf-f-tag { margin: 18px 0 16px; max-width: 34ch; line-height: 1.6; color: rgba(255,255,255,.82); }
.gf-f .gf-f-h { color: #fff; font-family: Poppins, sans-serif; font-size: 1.05em; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; position: relative; }
.gf-f .gf-f-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--gf-yellow); }
.gf-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.gf-footer a:hover { color: var(--gf-yellow); }
.gf-footer .gf-f ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.gf-footer .gf-f li { list-style: none !important; margin: 0 0 10px !important; padding: 0 !important; }
.gf-footer .gf-f li::before { display: none !important; content: none !important; }
.gf-f .gf-f-more { color: var(--gf-yellow); font-weight: 700; }
.gf-f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.gf-f-contact svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--gf-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gf-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.gf-pay span { background: #fff; color: var(--gf-navy); font-weight: 800; font-size: .75em; padding: 6px 12px; border-radius: 8px; }
/* bottom bar: same navy, just a hairline above it */
.absolute-footer { background: var(--gf-navy); color: rgba(255,255,255,.62); border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; }
.absolute-footer a, .absolute-footer .footer-secondary a { color: rgba(255,255,255,.72); }
.absolute-footer a:hover { color: var(--gf-yellow); }
.absolute-footer .container { display: flex; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.absolute-footer .container::before, .absolute-footer .container::after { display: none; }
.absolute-footer .footer-primary, .absolute-footer .footer-secondary { float: none; padding: 0; margin: 0; }
.absolute-footer .footer-secondary a, .absolute-footer .footer-secondary .nav > li > a { text-transform: none !important; text-decoration: none !important; letter-spacing: 0; font-size: .92em; margin: 0 0 0 18px; border: 0 !important; }
.absolute-footer .footer-secondary li { margin: 0; }
.absolute-footer .copyright-footer { margin: 0; font-size: .9em; }
.absolute-footer .copyright-footer a { color: rgba(255,255,255,.85) !important; text-decoration: underline; text-underline-offset: 3px; }
.absolute-footer .copyright-footer a:hover { color: var(--gf-yellow) !important; }
.footer-wrapper, .footer-wrapper .footer-block { background: var(--gf-navy); }

/*************** CONTENT PAGES (Om oss, Kontakt) ***************/
.gf-pagehero { text-align: center; border-top: 1px solid rgba(255,255,255,.14); }
.gf-pagehero .section-content { padding-top: 0; }
.gf-hero-in { max-width: 760px; margin: 0 auto; padding: 84px 0 116px; }
.gf-hero-in h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; margin: 0 0 16px; color: #fff; }
.gf-hero-in p { font-size: 1.15em; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 auto; max-width: 56ch; }
.gf-story h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.gf-story p { font-size: 1.05em; line-height: 1.7; max-width: 60ch; }
.gf-todo { color: #7a859f; font-style: italic; }
.gf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.gf-card { background: #fff; border-radius: var(--gf-radius); padding: 28px 26px 26px; box-shadow: 0 2px 14px rgba(20,34,75,.08); border-top: 4px solid var(--gf-yellow); }
.gf-card h3 { font-size: 1.15em; margin: 0 0 8px; }
.gf-card p { margin: 0; line-height: 1.65; color: #44506b; }
.gf-cta { max-width: none; margin: 0 auto; text-align: center; background: var(--gf-navy); border-radius: 28px; padding: 48px 28px; }
.gf-cta h2 { color: #fff; margin: 0 0 8px; }
.gf-cta p { color: rgba(255,255,255,.85); margin: 0 0 22px; }
.gf-cta .button.is-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.gf-cta .button.is-outline:hover { background: #fff; color: var(--gf-navy); }
.gf-contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
.gf-contact-list { display: grid; gap: 16px; }
.gf-ci { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--gf-radius); padding: 20px 22px; box-shadow: 0 2px 14px rgba(20,34,75,.08); }
.gf-ico { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--gf-yellow); display: inline-flex; align-items: center; justify-content: center; }
.gf-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gf-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gf-ci strong { display: block; color: var(--gf-navy); font-size: 1.05em; }
.gf-ci div span { color: #44506b; }
.gf-contact-side { background: var(--gf-foam); border-radius: var(--gf-radius); padding: 30px 30px 24px; }
.gf-contact-side h2, .gf-contact-side h3 { font-size: 1.15em; margin: 0 0 6px; }
.gf-contact-side p { line-height: 1.65; color: #44506b; }
.gf-contact-side p + p + h2 { margin-top: 26px; }
.gf-org { font-size: .9em; color: #7a859f; margin: 18px 0 0; }

/*************** MISC ***************/
.gf-round img, .gf-round .img-inner { border-radius: var(--gf-radius); }
.blog-post-inner, .box-blog-post .box-image, .box-blog-post .box-image img { border-radius: var(--gf-radius); }
.box-blog-post .post-title { color: var(--gf-navy); font-weight: 800; }
.category-page-title, .shop-page-title { background: var(--gf-foam); }
.woocommerce-breadcrumb { font-size: .85em; }
.gf-brands { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.gf-brands span { background: #fff; border: 1px solid rgba(20,34,75,.12); border-radius: 99px; padding: 10px 22px; font-weight: 700; color: var(--gf-navy); }

/*************** SECTION SPACING: one system for every page ***************
 gf-plain = white section, gf-band = tinted/navy band, gf-strip = slim trust strip.
 --gf-sec is the space between a section's edge and its content. Two plain sections in a row
 share ONE gap (the second drops its top padding), and wave bands get extra room for the wave. */
:root { --gf-sec: 72px; }
.section.gf-plain, .section.gf-band { padding-top: var(--gf-sec) !important; padding-bottom: var(--gf-sec) !important; }
.section.gf-strip { padding-top: 28px !important; padding-bottom: 28px !important; }
.section.gf-plain + .section.gf-plain { padding-top: 0 !important; }
.section.gf-strip + .section.gf-plain { padding-top: 44px !important; }
.section.gf-band.gf-wave-top { padding-top: calc(var(--gf-sec) + 24px) !important; }
.section.gf-band.gf-wave-bottom { padding-bottom: calc(var(--gf-sec) + 24px) !important; }
.section.gf-plain + .section.gf-band.gf-wave-top { margin-top: 0; }
.section .section-content > .row:first-child, .section .section-content > .row:last-child { margin-top: 0; margin-bottom: 0; }

/*************** HERO TITLE (h1 on slide 1, plain p on slide 2: only one h1 per page) ***************/
.gf-hero-title { font-family: Poppins, sans-serif; font-weight: 800; color: #fff !important; font-size: clamp(2.1rem, 5vw, 3.3rem) !important; line-height: 1.08; margin: 0 0 .35em; letter-spacing: -.01em; }

/*************** FAQ ***************/
/* FAQ = UX Builder accordion, full width of the container */
.accordion { display: grid; gap: 12px; margin: 0; }
.accordion .accordion-item { background: #fff; border: 1px solid rgba(20,34,75,.14); border-radius: var(--gf-radius); overflow: hidden; margin: 0; }
.accordion .accordion-title { display: block; position: relative; margin: 0; border: 0 !important; background: none !important; cursor: pointer; padding: 18px 64px 18px 22px !important; font-weight: 700; font-size: 1.05em; line-height: 1.35; color: var(--gf-navy); }
.accordion .accordion-title .toggle { display: none !important; }
.accordion .accordion-title::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--gf-yellow); color: var(--gf-navy); font-size: 20px; font-weight: 700; line-height: 30px; text-align: center; }
.accordion .accordion-title.active::after { content: "\2212"; }
.accordion .accordion-title:focus-visible { outline: 3px solid var(--gf-yellow); outline-offset: -3px; }
.accordion .accordion-inner { padding: 0 22px 20px !important; color: #44506b; line-height: 1.7; border: 0 !important; background: none !important; }
.accordion .accordion-inner p { margin: 0; }
.gf-faq-title { text-align: center; margin: 0 0 22px; }
.gf-faq-wrap { margin-left: auto; margin-right: auto; }

/*************** SHOP + CATEGORY HEADER ***************/
.gf-cat-head { margin: 0 0 24px; }
.gf-cat-title { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 10px; color: var(--gf-navy); }
.gf-cat-desc { max-width: 72ch; color: #44506b; line-height: 1.7; font-size: 1.02em; }
.gf-cat-desc p { margin: 0; }

/*************** PRODUCT PAGE ***************/
@media (min-width: 850px) {
  .product-main .product-gallery { flex-basis: 48%; max-width: 48%; }
  .product-main .product-info { flex: 1 1 0; max-width: none; padding-left: 44px; }
}
.product-main .product-sidebar-small { display: none; }   /* empty widget column that stole 180px from the summary */
.product-info h1.product-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: none; line-height: 1.15; color: var(--gf-navy); margin: 0 0 .3em; }
.product-info .is-divider { display: none; }
.product-info .price-wrapper .price .amount { font-size: 2rem; }
.product-info .price-wrapper .gf-perkg { font-size: .98em; margin-top: 4px; }
.product-info .price-wrapper .gf-perkg .amount, .product-info .price-wrapper .gf-perkg .woocommerce-Price-currencySymbol { font-size: 1em !important; font-weight: 700; }
.product-info .next-prev-thumbs, .product-info .product-share, .product-info .social-icons { display: none !important; }
.product-info .product-short-description { margin: 16px 0 20px; color: #44506b; line-height: 1.7; }
.product-info form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 0; }
.product-info form.cart .quantity { margin: 0; }
.product-info form.cart .single_add_to_cart_button { flex: 1 1 220px; max-width: 320px; min-height: 50px; margin: 0; font-size: 1.02em; }
.gf-trust { list-style: none; margin: 22px 0 0; padding: 18px 20px; background: var(--gf-foam); border-radius: var(--gf-radius); display: grid; gap: 12px; }
.gf-trust li { display: flex; gap: 12px; align-items: center; margin: 0; font-size: .95em; color: var(--gf-ink); }
.gf-trust svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--gf-sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-info .product_meta { margin-top: 18px; font-size: .9em; color: #5b6783; }
.product-footer .woocommerce-tabs { margin-top: 30px; }
.product-footer .woocommerce-tabs .tabs a { font-weight: 700; }
.product-footer .related-products-wrapper .product-section-title, .product-footer h3.product-section-title { font-size: 1.5rem; }

/*************** LEGAL / TEXT PAGES ***************/
.gf-prose { font-size: 1.05em; line-height: 1.75; }
.gf-prose h2, .gf-prose h3 { margin: 1.6em 0 .5em; }
.gf-prose ul { margin-left: 1.2em; }

/*************** BLOG ***************/
.gf-bloghero .gf-hero-in { padding: 64px 0 96px; }
.gf-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.gf-deep .gf-pills a:not(.button) { padding: 8px 20px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.gf-deep .gf-pills a:not(.button):hover, .gf-deep .gf-pills a.is-on { background: var(--gf-yellow); border-color: var(--gf-yellow); color: var(--gf-navy); }
.blog-archive .post-item .col-inner, .archive .post-item .col-inner { height: 100%; }
.post-item .box-blog-post, .post-item .box { background: #fff; border-radius: var(--gf-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(20,34,75,.08); height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
.post-item .box-blog-post:hover, .post-item .box:hover { box-shadow: 0 12px 30px rgba(20,34,75,.16); transform: translateY(-3px); }
.post-item .box-text { text-align: left; padding: 18px 20px 22px; }
.post-item .post-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.post-item .post-title a { color: var(--gf-navy); }
.post-item .from_the_blog_excerpt { color: #44506b; line-height: 1.6; }
.single-post .article-inner { max-width: 760px; margin: 0 auto; }
.single-post .entry-header-text { text-align: left; }
.single-post h1.entry-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; margin-bottom: .4em; }
.single-post .entry-divider { display: none; }
.single-post .entry-category a { color: var(--gf-sea); font-weight: 700; text-transform: none; font-size: 1.05em; }
.single-post .entry-meta { color: #5b6783; text-transform: none; letter-spacing: 0; margin-bottom: 18px; }
.single-post .entry-image img { border-radius: var(--gf-radius); width: 100%; }
.single-post .entry-content { font-size: 1.1em; line-height: 1.8; }
.single-post .entry-content h2 { margin-top: 1.8em; }
.gf-post-cta { margin: 44px 0 36px; padding: 34px 28px; border-radius: 24px; background: var(--gf-navy); text-align: center; }
.gf-post-cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.gf-post-cta p { color: rgba(255,255,255,.86); margin: 0 0 18px; }
.gf-related h2 { font-size: 1.4rem; margin: 0 0 16px; }
.gf-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gf-rel-card { display: block; background: #fff; border-radius: var(--gf-radius); box-shadow: 0 2px 14px rgba(20,34,75,.08); overflow: hidden; color: var(--gf-navy); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.gf-rel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,34,75,.16); color: var(--gf-navy); }
.gf-rel-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gf-rel-card h3 { font-size: 1rem; line-height: 1.3; margin: 0; padding: 14px 16px 16px; }

/*************** KONTAKT: FORM CARD + FORMINATOR ***************/
.gf-contact-row { align-items: flex-start; }
.gf-contact-list { display: grid; gap: 16px; }
.gf-formcol > .col-inner { background: #fff; border: 1px solid rgba(20,34,75,.1); border-radius: 24px; padding: 34px 36px 32px; box-shadow: 0 2px 14px rgba(20,34,75,.06); }
.gf-formcol h2 { font-size: 1.5rem; margin: 0 0 6px; }
.gf-form-lead { color: #44506b; margin: 0 0 22px; line-height: 1.6; }
.gf-cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
/* Forminator styles itself with an #id selector, so the key properties need !important */
form.forminator-ui, form.forminator-ui * { font-family: inherit !important; }
form.forminator-ui .forminator-label { color: var(--gf-navy) !important; font-weight: 700 !important; font-size: .95rem !important; margin-bottom: 6px !important; }
form.forminator-ui .forminator-input, form.forminator-ui .forminator-textarea, form.forminator-ui .select2-selection {
  border: 1.5px solid rgba(20,34,75,.22) !important; border-radius: 14px !important; background: #fff !important; color: var(--gf-ink) !important;
  min-height: 50px !important; padding: 10px 16px !important; box-shadow: none !important; font-size: 1rem !important; }
form.forminator-ui .forminator-textarea { min-height: 150px !important; }
form.forminator-ui .select2-selection { padding: 0 14px !important; height: 50px !important; display: flex !important; align-items: center; }
form.forminator-ui .select2-selection .select2-selection__rendered { padding: 0 !important; line-height: 1.2 !important; }
form.forminator-ui .forminator-input:focus, form.forminator-ui .forminator-textarea:focus { border-color: var(--gf-navy) !important; box-shadow: 0 0 0 3px rgba(255,210,31,.55) !important; outline: 0 !important; }
form.forminator-ui .forminator-input::placeholder, form.forminator-ui .forminator-textarea::placeholder { color: #8a93a8 !important; opacity: 1; }
form.forminator-ui .forminator-checkbox .forminator-checkbox-box { border: 1.5px solid rgba(20,34,75,.45) !important; border-radius: 6px !important; }
form.forminator-ui .forminator-checkbox input:checked + .forminator-checkbox-box { background: var(--gf-navy) !important; border-color: var(--gf-navy) !important; }
form.forminator-ui .forminator-checkbox .forminator-checkbox-label, form.forminator-ui .forminator-consent .forminator-checkbox-label { color: #44506b !important; line-height: 1.55 !important; font-size: .92rem !important; }
form.forminator-ui .forminator-checkbox-label a { color: var(--gf-sea) !important; font-weight: 600; }
form.forminator-ui .forminator-button-submit {
  background: var(--gf-yellow) !important; color: var(--gf-navy) !important; border-radius: 99px !important; font-weight: 700 !important; font-size: 1.02rem !important;
  text-transform: none !important; padding: 14px 38px !important; min-height: 52px !important; border: 0 !important; box-shadow: none !important; transition: background-color .15s ease, transform .15s ease; }
form.forminator-ui .forminator-button-submit:hover { background: var(--gf-yellow-d) !important; transform: translateY(-2px); }
form.forminator-ui .forminator-error-message { color: var(--gf-red) !important; font-size: .88rem !important; }
form.forminator-ui .forminator-has_error .forminator-input, form.forminator-ui .forminator-has_error .forminator-textarea { border-color: var(--gf-red) !important; }
.forminator-response-message.forminator-success { background: var(--gf-foam) !important; color: var(--gf-navy) !important; border-left: 4px solid var(--gf-sea) !important; border-radius: 12px !important; font-weight: 600; padding: 16px 20px !important; }
.forminator-response-message.forminator-error { border-radius: 12px !important; }

/*************** FRAKT OG LEVERING ***************/
.gf-cards-4 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin-top: 8px; }
.gf-card > .gf-ico { margin-bottom: 14px; width: 52px; height: 52px; flex: none; }
.gf-card p + p { margin-top: 6px; }
.gf-timeline { list-style: none; margin: 8px auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; position: relative; }
.gf-timeline li { margin: 0; padding: 0; position: relative; text-align: center; }
.gf-timeline li::before { content: ""; position: absolute; top: 25px; left: calc(50% + 34px); right: calc(-50% + 34px); border-top: 2px dashed rgba(20,34,75,.25); }
.gf-timeline li:last-child::before { display: none; }
.gf-tl-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--gf-yellow); color: var(--gf-navy); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--gf-foam); }
.gf-timeline h3 { font-size: 1.1rem; margin: 0 0 6px; }
.gf-timeline p { margin: 0 auto; max-width: 24ch; line-height: 1.6; color: #44506b; }
@media (min-width: 49em) and (max-width: 62em) { .gf-cards-4 { grid-template-columns: repeat(2, 1fr); } .gf-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } .gf-timeline li::before { display: none; } }
.gf-callout { display: flex; gap: 20px; align-items: flex-start; background: var(--gf-foam); border-left: 5px solid var(--gf-yellow); border-radius: var(--gf-radius); padding: 26px 28px; margin: 0 0 40px; }
.gf-callout .gf-ico { flex: 0 0 52px; width: 52px; height: 52px; }
.gf-callout h2 { font-size: 1.3rem; margin: 0 0 6px; }
.gf-callout p { margin: 0; line-height: 1.7; color: #2b3752; }
.gf-callout a { color: var(--gf-sea); font-weight: 600; }

/*************** CATEGORY / SHOP PAGE ***************/
.gf-shophero .gf-hero-in { padding: 56px 0 92px; }
.gf-shophero .gf-hero-in p { max-width: 70ch; }
.gf-shophero .gf-pills { max-width: 900px; margin-left: auto; margin-right: auto; }
/* toolbar under the hero: breadcrumb left, result count + sorting right, on white */
.shop-page-title.category-page-title { background: #fff; border-bottom: 1px solid rgba(20,34,75,.08); }
.shop-page-title .page-title-inner { min-height: 0; padding-top: 6px; padding-bottom: 6px; }
.shop-container { padding-top: 10px; }
.woocommerce-result-count { color: #5b6783; font-size: .92em; }
.woocommerce-ordering select { border-radius: 99px; padding-left: 18px; border-color: rgba(20,34,75,.2); }
.products .product-small .box { height: 100%; }
/* no sidebar any more: four product cards per row on desktop (archives only, not the related-products slider) */
@media (min-width: 850px) {
  .woocommerce-shop .shop-container .products.row > .product-small.col,
  .tax-product_cat .shop-container .products.row > .product-small.col,
  .tax-product_tag .shop-container .products.row > .product-small.col,
  .search-results .shop-container .products.row > .product-small.col { flex-basis: 25%; max-width: 25%; }
}

/*************** PRODUCT TABS (Beskrivelse / Tilleggsinformasjon) ***************/
/* Flatsome adds a 1px top border, 30px top padding and a -31px pull-up on the tab list: reset them */
.product-footer .woocommerce-tabs { margin: 36px 0 10px; padding: 0; border: 0; }
.product-footer .woocommerce-tabs .tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; justify-content: flex-start; }
.product-footer .tab-panels { padding: 0; margin: 0; }
.product-footer .related-products-wrapper, .product-footer .related { border-top: 0; margin-top: 44px; padding-top: 0; }
/* only the active panel takes up space (inactive ones must not keep the card padding/border) */
.product-footer .tab-panels .panel:not(.active) { display: none !important; height: 0; min-height: 0; margin: 0; padding: 0 !important; border: 0 !important; box-shadow: none; overflow: hidden; }
.product-footer .woocommerce-tabs .tabs > li { margin: 0; padding: 0; border: 0; }
.product-footer .woocommerce-tabs .tabs > li > a {
  display: inline-flex; align-items: center; padding: 11px 26px; border-radius: 99px; background: var(--gf-foam); color: var(--gf-navy);
  font-weight: 700; font-size: 1rem; text-transform: none; letter-spacing: 0; border: 1.5px solid transparent; margin: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.product-footer .woocommerce-tabs .tabs > li > a::before, .product-footer .woocommerce-tabs .tabs > li > a::after { display: none !important; }
.product-footer .woocommerce-tabs .tabs > li > a:hover { border-color: var(--gf-navy); }
.product-footer .woocommerce-tabs .tabs > li.active > a { background: var(--gf-navy); color: #fff; border-color: var(--gf-navy); }
.product-footer .woocommerce-tabs .tabs > li > a:focus-visible { outline: 3px solid var(--gf-yellow); outline-offset: 2px; }
.product-footer .tab-panels .panel { background: #fff; border: 1px solid rgba(20,34,75,.1); border-radius: 22px; padding: 32px 36px; box-shadow: 0 2px 14px rgba(20,34,75,.06); }
.product-footer .tab-panels .panel > p { max-width: 76ch; font-size: 1.05em; line-height: 1.8; color: #2b3752; }
.product-footer .tab-panels .panel > p:first-child { font-size: 1.15em; font-weight: 600; color: var(--gf-navy); }
.product-footer .tab-panels .panel > p:last-child { margin-bottom: 0; }
.product-footer .shop_attributes { width: 100%; max-width: 760px; margin: 0; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(20,34,75,.12); border-radius: 16px; overflow: hidden; }
.product-footer .shop_attributes th, .product-footer .shop_attributes td { padding: 15px 20px; border: 0; border-bottom: 1px solid rgba(20,34,75,.08); background: #fff; font-size: 1rem; vertical-align: middle; }
.product-footer .shop_attributes td { color: #2b3752; }
.product-footer .shop_attributes th { width: 34%; background: var(--gf-foam); color: var(--gf-navy); font-weight: 700; text-transform: none; letter-spacing: 0; text-align: left; }
.product-footer .shop_attributes td p { margin: 0; }
.product-footer .shop_attributes tr:last-child th, .product-footer .shop_attributes tr:last-child td { border-bottom: 0; }
.product-footer .shop_attributes td a { color: var(--gf-sea); font-weight: 600; }

/*************** TOUCH TARGETS (links/checkboxes that were under 24px tall) ***************/
.gf-f a, .gf-usp a, .woocommerce-breadcrumb a, .product-small .title-wrapper .name a, .product-small .category { display: inline-block; padding-top: 6px; padding-bottom: 6px; }
.gf-footer .gf-f li { margin-bottom: 2px !important; }
.woocommerce-breadcrumb a { padding-top: 8px; padding-bottom: 8px; }
.woocommerce-checkout input[type="checkbox"], .woocommerce-form__input-checkbox, .woocommerce form .form-row input.input-checkbox { width: 22px; height: 22px; accent-color: var(--gf-navy); vertical-align: middle; margin-right: 8px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a, .woocommerce-privacy-policy-text a { display: inline-block; padding: 4px 0; }

/* the first section after a page hero sits closer to the wave */
.gf-pagehero + .section.gf-plain, .gf-pagehero + .section.gf-band { padding-top: calc(var(--gf-sec) - 24px) !important; }
/* every search form outside the header (404 page, widgets): same pill as the header search; header rules above are more specific and still win */
body form.searchform .flex-row { background: #fff; border: 2px solid var(--gf-navy); border-radius: 99px; overflow: hidden; height: 48px; align-items: stretch; }
body form.searchform .flex-col { margin: 0; }
body form.searchform input.search-field { height: 100%; border: 0 !important; box-shadow: none !important; background: transparent; border-radius: 0 !important; padding: 0 8px 0 20px; margin: 0; }
body form.searchform .ux-search-submit { height: 100%; width: 54px; margin: 0; padding: 0; border: 0; border-radius: 0 !important; min-height: 0; background: var(--gf-yellow) !important; color: var(--gf-navy) !important; box-shadow: none; transform: none; }

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  :root { --gf-sec: 48px; }
  .gf-wave-bottom::after, .gf-wave-top::before { height: 30px; }
  .section.gf-band.gf-wave-top { padding-top: calc(var(--gf-sec) + 14px) !important; }
  .section.gf-band.gf-wave-bottom { padding-bottom: calc(var(--gf-sec) + 14px) !important; }
  .gf-usp { grid-template-columns: 1fr; gap: 6px; }
  .gf-usp > div + div { border-left: 0; }
  .gf-usp > div { justify-content: flex-start; padding: 6px 10px; }
  .gf-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gf-f { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .gf-f-brand { grid-column: 1 / -1; }
  .gf-f-col:last-child { grid-column: 1 / -1; }
  .gf-f { padding: 84px 0 28px; }
  .gf-hero-in { padding: 56px 0 84px; }
  .gf-cards, .gf-cards-4, .gf-cards-2, .gf-contact, .gf-related-grid { grid-template-columns: 1fr; }
  .gf-formcol > .col-inner { padding: 24px 20px; border-radius: 20px; }
  .gf-timeline { grid-template-columns: 1fr; gap: 0; max-width: 420px; }
  .gf-timeline li { text-align: left; padding: 0 0 26px 70px; min-height: 60px; }
  .gf-timeline li::before { top: 52px; bottom: 0; left: 24px; right: auto; border-top: 0; border-left: 2px dashed rgba(20,34,75,.25); }
  .gf-timeline li:last-child { padding-bottom: 0; }
  .gf-tl-n { position: absolute; left: 0; top: 0; margin: 0; }
  .gf-timeline p { max-width: none; }
  .gf-callout { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .gf-rel-card { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
  .gf-rel-card img { aspect-ratio: 1 / 1; height: 100%; }
  .accordion .accordion-title { padding: 16px 58px 16px 18px !important; }
  .gf-shophero .gf-hero-in { padding: 40px 0 76px; }
  .product-footer .tab-panels .panel { padding: 22px 20px; border-radius: 18px; }
  .product-footer .woocommerce-tabs .tabs { gap: 8px; }
  .product-footer .woocommerce-tabs .tabs > li { width: auto !important; flex: 0 0 auto; }
  .product-footer .woocommerce-tabs .tabs > li > a { padding: 10px 18px; font-size: .95rem; }
  .product-footer .shop_attributes th, .product-footer .shop_attributes td { padding: 12px 14px; }
  .gf-cta { padding: 36px 20px; }
  .header-main .header-search-form { max-width: none; }
  .product-small .title-wrapper .name a { font-size: .8em; }
}

/*************** RECIPES (category oppskrifter) ***************/
.gf-rchips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 16px !important; padding: 0; }
.gf-rchips li { display: inline-flex; align-items: center; gap: 8px; background: var(--gf-foam, #F2F8FA); color: var(--gf-navy); border-radius: 99px; padding: 8px 14px; margin: 0 !important; font-size: 14px; line-height: 1; }
.gf-rchips svg { color: #0F6E8C; flex: none; }
body.gf-recipes .badge.post-date, body.gf-recipe .badge.post-date { display: none !important; }
body.gf-recipes .blog-archive .row.align-center > .col.large-10,
body.gf-recipe .blog-single .row.align-center > .col.large-10 { flex-basis: 100%; max-width: 100%; }
body.gf-recipes .blog-archive .row-masonry { display: flex !important; flex-wrap: wrap; height: auto !important; justify-content: center; }
body.gf-recipes .blog-archive .row-masonry > .post-item { position: static !important; transform: none !important; left: auto !important; top: auto !important; }
body.gf-recipes .post-item .entry-category { margin-bottom: 4px; }
body.gf-recipes .post-item .gf-rchips { margin-top: 4px !important; }
/* single recipe */
body.gf-recipe .article-inner { max-width: none; }
body.gf-recipe .entry-image img, body.gf-recipe .entry-image-attachment img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--gf-radius); }
body.gf-recipe .entry-header-text { padding-bottom: 8px; }
.gf-rintro { font-size: 1.15em; line-height: 1.7; max-width: 820px; margin-bottom: 8px; }
.gf-rbody { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 40px; align-items: start; margin: 12px 0 24px; }
.gf-ring { background: var(--gf-foam, #F2F8FA); border-radius: var(--gf-radius); padding: 26px 28px; position: sticky; top: 110px; }
.gf-ring h2, .gf-ring h3, .gf-rsteps h2, .gf-rsteps h3 { margin-top: 0; }
.gf-ring ul { margin: 0 0 0 1.1em; }
.gf-ring li { margin-bottom: .6em; }
.gf-rsteps ol { list-style: none; counter-reset: gfstep; margin: 0; padding: 0; }
.gf-rsteps ol li { counter-increment: gfstep; position: relative; padding: 0 0 22px 56px; margin: 0; min-height: 40px; font-size: 1.05em; line-height: 1.65; }
.gf-rsteps ol li::before { content: counter(gfstep); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--gf-navy); color: #fff; font: 700 17px/38px Poppins, sans-serif; text-align: center; }
@media (max-width: 849px) { .gf-rbody { grid-template-columns: 1fr; gap: 24px; } .gf-ring { position: static; } body.gf-recipe .entry-image img { aspect-ratio: 16 / 10; } }
/* developer credit (footer right) */
.absolute-footer .footer-secondary { font-size: .9em; }
.absolute-footer .footer-secondary a { margin: 0 !important; padding: 0 !important; color: rgba(255,255,255,.85) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.absolute-footer .footer-secondary a:hover { color: var(--gf-yellow) !important; }

/*************** ROUND 3: header, ticker, drawer, payments, social, square blog images ***************/
/* square blog + recipe imagery (no radius) */
.blog-post-inner, .box-blog-post .box-image, .box-blog-post .box-image img, .box-blog-post .image-cover,
.post-item .box-blog-post, .post-item .box, .post-item .box-image, .post-item .box-image img,
.single-post .entry-image img, body.gf-recipe .entry-image img, body.gf-recipe .entry-image-attachment img,
.gf-related-grid a, .gf-related-grid img, .gf-related-card, .gf-related-card img { border-radius: 0 !important; }

/* nav: spread across the container instead of bunched in the centre */
@media (min-width: 850px) {
  .header-bottom .flex-row > .flex-col.flex-center { flex: 1 1 100%; max-width: 100%; }
  .header-bottom .header-nav.nav-center { width: 100%; justify-content: center; gap: 40px; }
  .header-bottom .header-nav > li { margin: 0; }
  .header-wrapper .header-bottom .nav > li > a { font-size: 15px; padding: 16px 4px; }
}

/* search: thin outline, narrower on desktop */
.header-main .header-search-form { max-width: 340px; }
.header-main .searchform-wrapper .searchform .flex-row { border: 1px solid rgba(20,34,75,.45); height: 44px; }
.header-main .searchform .flex-row:focus-within { border-color: var(--gf-navy); }

/* top bar: bigger text; ticker on small screens */
.header-wrapper #top-bar .nav > li, .header-wrapper #top-bar .html_topbar_left { font-size: 14.5px; line-height: 1.4; }
.gf-tk { display: inline-flex; align-items: center; }
.gf-tk-t { display: inline-flex; align-items: center; }
.gf-tk-t > span { padding: 0 14px; white-space: nowrap; }
.gf-tk-t > span + span { border-left: 1px solid rgba(20,34,75,.35); }
.gf-tk-dup { display: none; }
.header-wrapper #top-bar .social-icons { display: flex; gap: 6px; align-items: center; margin: 0; }
.header-wrapper #top-bar .social-icons a { color: var(--gf-navy) !important; text-decoration: none; border-color: transparent !important; background: transparent !important; margin: 0; font-size: 15px; }
@media (max-width: 849px) {
  .header-wrapper #top-bar .mobile-nav { width: 100%; overflow: hidden; }
  .header-wrapper #top-bar .mobile-nav > li.html { width: 100%; overflow: hidden; font-size: 14px; }
  .gf-tk { display: flex; width: max-content; }
  .gf-tk-dup { display: inline-flex; }
  .gf-tk-t > span { padding: 0 22px; }
  .gf-tk-t > span + span { border-left: 0; }
  .gf-tk-t > span::after { content: "\2022"; margin-left: 44px; opacity: .55; }
  .gf-tk { animation: gfTicker 22s linear infinite; }
  @keyframes gfTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .gf-tk { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; }
  .gf-tk-dup { display: none !important; }
}

/* payment logos + social icons (footer) */
.gf-pay { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.gf-pay span { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 40px; padding: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.gf-pay svg { display: block; width: 100%; height: 100%; }
.gf-social { display: flex; gap: 10px; margin-top: 18px; }
.gf-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.gf-social a:hover { background: var(--gf-yellow); color: var(--gf-navy); border-color: var(--gf-yellow); }
.gf-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gf-social svg .f { fill: currentColor; stroke: none; }

/* mobile menu drawer */
.mobile-sidebar { background: #fff; }
.mobile-sidebar .sidebar-menu { padding: 0 0 24px; }
.mobile-sidebar .sidebar-menu::before { content: ""; display: block; height: 96px; background: #fff url(/wp-content/uploads/2026/10/glattisen-fisk-logo.png) left 22px center / auto 66px no-repeat; border-bottom: 4px solid var(--gf-yellow); margin-bottom: 0; }
.mobile-sidebar .nav-sidebar.nav-vertical > li { border: 0; margin: 0; }
.mobile-sidebar .nav-sidebar.nav-vertical > li > a { display: flex; align-items: center; justify-content: space-between; text-transform: none; letter-spacing: 0; font: 600 17px/1.3 Poppins, sans-serif; color: var(--gf-navy); padding: 15px 22px; border-bottom: 1px solid #eef2f5; border-left: 4px solid transparent; }
.mobile-sidebar .nav-sidebar.nav-vertical > li.current-menu-item > a,
.mobile-sidebar .nav-sidebar.nav-vertical > li.active > a { border-left-color: var(--gf-yellow); background: var(--gf-foam, #F2F8FA); }
.mobile-sidebar .nav-sidebar.nav-vertical > li > ul.children { background: var(--gf-foam, #F2F8FA); padding: 4px 0 8px; margin: 0; }
.mobile-sidebar .nav-sidebar.nav-vertical > li > ul.children > li > a { font: 500 15.5px/1.3 "Nunito Sans", sans-serif; color: #33415f; padding: 11px 22px 11px 38px; text-transform: none; border: 0; }
.mobile-sidebar .nav-sidebar .toggle { margin: 0 14px 0 0; }
.mobile-sidebar .nav-sidebar.nav-vertical > li.account-item { padding: 16px 22px 4px; }
.mobile-sidebar .nav-sidebar.nav-vertical > li.account-item > a { display: inline-flex; border: 2px solid var(--gf-navy); border-radius: 99px; padding: 11px 22px; font-size: 15px; }
.mobile-sidebar .nav-sidebar .header-social-icons { padding: 14px 22px; }
.mobile-sidebar .social-icons { display: flex; gap: 8px; }
.mobile-sidebar .social-icons a { color: var(--gf-navy) !important; border: 1px solid rgba(20,34,75,.3); width: 42px; height: 42px; line-height: 40px; text-align: center; border-radius: 50%; margin: 0; }

@media (max-width: 849px) { .header-wrapper #top-bar .flex-col.show-for-medium { min-width: 0; max-width: 100%; overflow: hidden; } }

/*************** ROUND 4: home recipe cards, centred button, search categories, sticky category bar ***************/
.gf-btn-center { text-align: center; margin: 28px 0 0; }
.gf-recipes-home .row, .gf-recipes-home .row-collapse { justify-content: center; }
.gf-recipes-home .badge.post-date { display: none !important; }
.gf-recipes-home .post-item .gf-rchips, .gf-recipes-home .gf-rchips { margin-top: 6px !important; }

/* search: category dropdown inside the pill (desktop) */
.header-main .searchform .search-form-categories { margin: 0; align-self: stretch; display: flex; align-items: center; border-right: 1px solid rgba(20,34,75,.2); }
.header-main .searchform .search-form-categories select { border: 0 !important; box-shadow: none !important; background-color: transparent; height: 100%; margin: 0; padding: 0 28px 0 20px; font-size: .88em; font-weight: 600; color: var(--gf-navy); max-width: 170px; cursor: pointer; }
.header-main .header-search-form { max-width: 460px; }
@media (max-width: 849px) {
  .header-bottom .searchform .search-form-categories { display: none; }
  .header-bottom .searchform-wrapper .searchform .flex-row { height: 40px; }
  .header-bottom .searchform .ux-search-submit { width: 46px; }
  .header-bottom .searchform input.search-field { font-size: 15px; }
}

/* category pills: own bar under the hero; sticky below the header on desktop */
.gf-catbar { background: var(--gf-navy); border-bottom: 0; padding: 12px 0; position: relative; z-index: 15; margin-top: -1px; }
.gf-catbar .gf-pills { margin: 0 auto; padding: 0 15px; max-width: 1350px; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gf-catbar .gf-pills a { padding: 8px 18px; border-radius: 99px; border: 1.5px solid #fff; background: #fff; color: var(--gf-navy); font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2; transition: background-color .15s, border-color .15s; }
.gf-catbar ul.gf-pills { list-style: none; display: flex; margin: 0 auto; }
.gf-catbar .gf-pills li { margin: 0; padding: 0; list-style: none; display: flex; }
.gf-catbar .gf-pills a:hover, .gf-catbar .gf-pills a.is-on, .gf-catbar .gf-pills .current-menu-item > a, .gf-catbar .gf-pills .current-menu-ancestor > a { background: var(--gf-yellow); border-color: var(--gf-yellow); color: var(--gf-navy); }
.gf-shophero .gf-hero-in { padding-bottom: 80px; }
/* the category bar is the only sticky part of the header (header itself is not sticky) */
.gf-catbar { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); box-shadow: 0 6px 16px -10px rgba(20,34,75,.5); }
@media (max-width: 849px) {
  .gf-catbar { padding: 10px 0; }
  .gf-catbar .gf-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gf-catbar .gf-pills::-webkit-scrollbar { display: none; }
  .gf-catbar .gf-pills a { white-space: nowrap; flex: none; }
}
/* main navigation sits in the main row, right of the search bar */
.header-main .header-nav > li > a { color: var(--gf-navy); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; }
.header-main .header-nav > li > a:hover, .header-main .header-nav > li.active > a, .header-main .header-nav > li.current-menu-item > a { color: var(--gf-sea); }
.header-main .header-nav-main { gap: 4px; }
.header-main .header-nav-main.nav > li { margin: 0 10px; }
.header-main .nav-dropdown { border-radius: 12px; overflow: hidden; }
.gf-btn-center .button { margin: 0; }
.gf-recipes-home .post-item > .col-inner, .gf-recipes-home .post-item .box-blog-post { height: 100%; }
.slider.row .flickity-slider > .col { display: flex; }
.slider.row .flickity-slider > .col > .col-inner { width: 100%; }
.slider.row .flickity-slider .box-blog-post { height: 100%; }

/*************** ROUND 5: PNG payment logos, supplier logo grid, home category bar ***************/
.gf-pay span { width: 72px; padding: 4px 6px; box-sizing: border-box; }
.gf-pay img { display: block; width: 100%; height: 100%; object-fit: contain; }
ul.gf-brands { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1100px; }
ul.gf-brands li { margin: 0; background: #fff; border: 1px solid rgba(20,34,75,.1); border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; overflow: hidden; }
ul.gf-brands img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 849px) { ul.gf-brands { grid-template-columns: repeat(3, 1fr); gap: 10px; } ul.gf-brands li { height: 84px; padding: 10px; } }
@media (max-width: 480px) { ul.gf-brands { grid-template-columns: repeat(2, 1fr); } }
.gf-catbar + p:empty, p:empty + .gf-catbar { display: none; }

/*************** ROUND 6: supplier logo slider ***************/
.gf-brand-slider .gf-brand { background: #fff; border: 1px solid rgba(20,34,75,.1); border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; overflow: hidden; }
.gf-brand-slider .gf-brand img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.gf-brand-slider .col { padding-bottom: 0; }
.gf-brand-slider .col-inner, .gf-brand-slider .ux-html, .gf-brand-slider .gf-brand { margin: 0; }
@media (max-width: 849px) { .gf-brand-slider .gf-brand { height: 90px; padding: 10px 14px; } }
.gf-brand-slider .flickity-slider > * { padding: 0 8px; box-sizing: border-box; }
.gf-brand-slider .flickity-viewport { margin: 0 -8px; }
.gf-brand-slider .gf-brand { margin: 0; }

/*************** ROUND 7: pixel-perfect audit fixes ***************/
/* logo must never be squashed (974x909 source) */
#logo img, .header-logo, .header-logo-sticky, .header-logo-dark { object-fit: contain; }
/* no text under 12px */
.box-text p.category, .box-text .category, .product-small .category { font-size: 12px !important; letter-spacing: .04em; }
.box-category .box-text p.is-xsmall, .box-text p.is-xsmall.uppercase { font-size: 12px !important; }
.gf-perkg, .gf-perkg bdi, .gf-perkg .woocommerce-Price-currencySymbol { font-size: 12.5px; }
.price .gf-perkg, .gf-perkg { line-height: 1.4; }
/* cart / checkout page heading */
.gf-pagetitle { font-family: Poppins, sans-serif; font-weight: 700; color: var(--gf-navy, #14224B); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; margin: 0 0 24px; text-align: center; }
/* touch targets (mobile): bigger hit areas without changing the layout */
@media (max-width: 849px) {
  .header .nav-icon a.is-small, .header .cart-item a.is-small { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .product-small .name.product-title a, .box-text .post-title a, .box-text a.plain { display: block; padding: 8px 0; margin: -8px 0; }
  .footer-wrapper a, .footer-wrapper .footer-text a, .woocommerce-privacy-policy-link { display: inline-block; padding: 7px 0; }
  .footer-wrapper .gf-social a, .footer-wrapper .gf-pay a { padding: 0; }
  .footer-wrapper .copyright-footer a { padding: 7px 4px; }
}
.footer-wrapper .footer-text, .footer-wrapper .footer-text a, .footer-wrapper .copyright-footer, .footer-wrapper .copyright-footer a { font-size: 13px; }
@media (max-width: 849px) {
  .product-small .name.product-title a, .box-text .post-title a, .box-text a.plain { padding: 10px 0; margin: -10px 0; }
  .footer-wrapper .footer-text a.footer-credit, .footer-wrapper .footer-text a[href*="fevaag"] { display: inline-block !important; padding: 8px 0 !important; }
}
@media (max-width: 849px) {
  .gf-brand-slider .flickity-button { display: none; }
  .flickity-prev-next-button { width: 40px; height: 40px; }
  /* links that stand on their own line (legal lists, contact cards, account) get a proper hit area */
  #content :is(li, p, div) > a:only-child, .woocommerce-privacy-policy-link { display: inline-block; padding: 9px 0; }
}

/*************** ROUND 8: supplier logo strip (continuous auto-scroll, equal cards, spaced) ***************/
.gf-logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); padding: 4px 0; }
.gf-logos-track { display: flex; width: max-content; animation: gf-logos-run 50s linear infinite; }
.gf-logos:hover .gf-logos-track { animation-play-state: paused; }
.gf-logos-dup { display: flex; }
.gf-logo { flex: 0 0 auto; width: 216px; height: 104px; margin: 0 9px; box-sizing: border-box; padding: 18px 24px; background: #fff; border: 1px solid rgba(20,34,75,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.gf-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes gf-logos-run { to { transform: translateX(-50%); } }
@media (max-width: 849px) { .gf-logo { width: 156px; height: 80px; padding: 12px 16px; margin: 0 6px; } .gf-logos-track { animation-duration: 40s; } }
@media (prefers-reduced-motion: reduce) { .gf-logos { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .gf-logos-track { animation: none; } .gf-logos-dup { display: none; } }
