/* ==========================================================================
   Kopparhult – global.css
   Bara det Bricks native-inställningar INTE kan: hover, skuggor, fokus,
   och stilen för Övningsbankens pluginutskrift (Kopparhult Extra 1.3).
   Typografi, färg, spacing och layout ligger på kh-klasserna i Bricks.
   ========================================================================== */

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
::selection { background: #23604b; color: #fff; }

/* Fokus: ingen ram vid musklick, tydlig ram för tangentbord */
:focus:not(:focus-visible) { outline: none !important; }
:focus-visible { outline: 2px solid #a9531f; outline-offset: 2px; }

/* ---- Header ------------------------------------------------------------ */
#brx-header { position: sticky; top: 0; z-index: 60; }
body.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #brx-header { top: 0; } }
.kh-nav-link, .kh-topbar-link, .kh-footer-link, .kh-drawer-link { transition: color .15s ease, opacity .15s ease; }
.kh-nav-link:hover { color: #23604b; }
.kh-nav-link, .kh-nav-actions .bricks-button, .kh-topbar-link { white-space: nowrap; }
@media (max-width: 1180px) { .kh-nav-links { column-gap: 22px !important; } }
.kh-topbar-link:hover, .kh-footer-link:hover { opacity: .8; }
.kh-nav-link--active { box-shadow: inset 0 -2px 0 #a9531f; padding-bottom: 4px; }
.bricks-button { transition: filter .15s ease, transform .15s ease; }
.bricks-button:hover { filter: brightness(.94); }

/* Minivarukorgen i headern */
.kh-nav-actions .brxe-woocommerce-mini-cart .cart-icon { color: #173f32; }
.kh-nav-actions .brxe-woocommerce-mini-cart .cart-count { background: #a9531f; color: #fff; }

/* ---- Kort ---------------------------------------------------------------- */
.kh-card { box-shadow: 0 1px 2px rgba(23,63,50,.06), 0 8px 24px rgba(23,63,50,.06); transition: transform .18s ease, box-shadow .18s ease; }
.kh-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(23,63,50,.08), 0 16px 36px rgba(23,63,50,.10); }

/* ==========================================================================
   Övningsbanken (pluginutskrift, inom .kh-ovb)
   ========================================================================== */
.kh-ovb .ovb-arkiv { --green:#23604b; --title:#173f32; --text:#55605a; --line:#e3ddd2; font-family: Mulish, system-ui, sans-serif; }

/* Sök + favoriter */
.kh-ovb .ovb-amnen__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.kh-ovb .ovb-amnen .ovb-search { flex: 1 1 360px; max-width: 560px; }
.kh-ovb .ovb-amnen .ovb-search input {
  width: 100%; min-height: 52px; padding: 0 22px 0 50px; border: 1px solid #cfc7b8; border-radius: 999px;
  font: inherit; font-size: 16px; color: #1b231f; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2355605a' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 20px center no-repeat;
}
.kh-ovb .ovb-amnen .ovb-search input:focus { border-color: #23604b; box-shadow: 0 0 0 3px rgba(35,96,75,.15); outline: none; }
.kh-ovb .ovb-favs { position: relative; }
.kh-ovb .ovb-favs summary {
  list-style: none; cursor: pointer; min-height: 48px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; border: 1px solid #cfc7b8; border-radius: 999px; background: #fff; font-weight: 700; color: #6b3512;
}
.kh-ovb .ovb-favs summary::-webkit-details-marker { display: none; }
.kh-ovb .ovb-favs summary::before { content: "♡"; color: #a9531f; font-size: 18px; }
.kh-ovb .ovb-favs__list { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 300px; max-height: 360px; overflow: auto;
  background: #fff; border: 1px solid #e3ddd2; border-radius: 14px; padding: 12px; box-shadow: 0 16px 40px rgba(23,63,50,.14); }
.kh-ovb .ovb-favs__list ul { list-style: none; margin: 0; padding: 0; }
.kh-ovb .ovb-favs__list a { display: block; padding: 8px 10px; border-radius: 8px; color: #1b231f; text-decoration: none; }
.kh-ovb .ovb-favs__list a:hover { background: #eaf2ee; }

/* Bankflikar */
.kh-ovb .ovb-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; margin-bottom: 32px; border-bottom: 1px solid #e3ddd2; }
.kh-ovb .ovb-tab {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #cfc7b8; background: #fff;
  font: inherit; font-weight: 700; font-size: 15px; color: #1b231f; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.kh-ovb .ovb-tab:hover { border-color: #173f32; }
.kh-ovb .ovb-tab.is-active { background: #173f32; border-color: #173f32; color: #fff; }

/* Grupper och ämnesrutor */
.kh-ovb .ovb-group { margin-bottom: 40px; }
.kh-ovb .ovb-group[hidden] { display: none; }
.kh-ovb .ovb-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.kh-ovb .ovb-group__title { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 28px; color: #173f32; }
.kh-ovb .ovb-group__desc { color: #55605a; }
.kh-ovb .ovb-group__upgrade { background: transparent; border: 1px solid #a9531f; color: #8e3f13; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.kh-ovb .ovb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kh-ovb .ovb-tile,
.kh-ovb .kat-filter__btn.ovb-tile {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 18px; margin: 0;
  border: 1px solid #e3ddd2; border-radius: 12px; background: #fff; color: #1b231f; text-align: left;
  font: inherit; font-size: 16px; line-height: 1.3; cursor: pointer; text-decoration: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.kh-ovb .ovb-tile:hover { border-color: #23604b; color: #1b231f; background: #fff; }
.kh-ovb .kat-filter__btn.ovb-tile.is-active,
.kh-ovb .kat-filter__btn.ovb-tile.is-active:focus { background: #eaf2ee; border-color: #23604b; color: #1b231f; box-shadow: inset 0 0 0 1px #23604b; font-weight: 400; }
.kh-ovb .ovb-tile__dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }
.kh-ovb .ovb-tile__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.kh-ovb .ovb-tile__name { font-weight: 700; }
.kh-ovb .ovb-tile__count { font-size: 14px; color: #55605a; }
.kh-ovb .ovb-tile.is-locked { background: #f1ede5; color: #4a4740; }
.kh-ovb .ovb-tile__lock { flex: 0 0 18px; color: #7a705f; }

/* Rubriken över korten (native heading med klassen ovb-current-title) */
.ovb-current-crumb:empty { display: none; }

/* Korten */
.kh-ovb .ovb-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.kh-ovb .ovb-card { border: 1px solid #e3ddd2; border-radius: 16px; box-shadow: none; transition: transform .18s ease, box-shadow .18s ease; }
.kh-ovb .ovb-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(23,63,50,.10); }
.kh-ovb .ovb-card__media { height: auto; aspect-ratio: 16 / 10; background-color: #e8e2d6; }
.kh-ovb .ovb-card__badge { left: 14px; right: auto; background: #fff; color: #a9531f; letter-spacing: 0; text-transform: none; font-size: 13px; }
.kh-ovb .ovb-card__body { padding: 20px; }
.kh-ovb .ovb-arkiv .ovb-card__title { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 20px !important; line-height: 1.3; }
.kh-ovb .ovb-card__title a { color: #1b231f; }
.kh-ovb .ovb-card__excerpt { color: #55605a; font-size: 15px; }
.kh-ovb .ovb-empty { color: #55605a; }

/* Bli medlem-vyn (icke-medlemmar) */
.kh-ovb .ovb-gate { background: #fff; border: 1px solid #e3ddd2; border-radius: 20px; padding: clamp(28px, 4vw, 56px); margin: 0 auto; }
.kh-ovb .ovb-gate h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; color: #173f32; }
.kh-ovb .ovb-gate .ovb-btn { background: #23604b; border-radius: 999px; padding: 14px 28px; }
.kh-ovb .ovb-gate .ovb-btn:hover { background: #173f32; }

@media (max-width: 767px) {
  .kh-ovb .ovb-group__title { font-size: 24px; }
  .kh-ovb .ovb-favs__list { min-width: 0; width: calc(100vw - 32px); }
}

/* ---- WooCommerce: tacksidan (Beställning mottagen) -------------------- */
.woocommerce-order-received #brx-content { width: 100%; max-width: 880px; margin: 0 auto; padding: 56px 24px 96px; }
.woocommerce-order-received #brx-content > h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: #173f32; margin: 0 0 20px; }
.woocommerce-order-received .woocommerce-order { display: flex; flex-direction: column; gap: 24px; }
.woocommerce-order-received .woocommerce-order > * { margin: 0 !important; }
.woocommerce-order-received .woocommerce-thankyou-order-received { display: flex; align-items: center; gap: 12px; text-align: left; background: #e4efe9; color: #173f32; font-weight: 700; font-size: 17px; padding: 16px 20px; border-radius: 12px; }
.woocommerce-order-received .woocommerce-thankyou-order-received::before { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #23604b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.woocommerce-order-received ul.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; overflow: hidden; }
.woocommerce-order-received ul.woocommerce-order-overview li { margin: 0; padding: 18px 22px; border: 0; border-right: 1px solid #e3ddd2; border-bottom: 1px solid #e3ddd2; margin-right: -1px; margin-bottom: -1px; font-size: 14px; color: #55605a; text-transform: none; float: none; }
.woocommerce-order-received ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 17px; color: #1b231f; overflow-wrap: anywhere; }
.woocommerce-order-received .woocommerce-order > p:not([class]) { background: #fbf3ec; border-left: 4px solid #a9531f; padding: 16px 20px; border-radius: 0 12px 12px 0; text-align: left; color: #1b231f; line-height: 1.6; }
.woocommerce-order-received .woocommerce-order-details, .woocommerce-order-received .woocommerce-customer-details { background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; padding: 28px; }
.woocommerce-order-received .woocommerce-order h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1.2; color: #173f32; margin: 0 0 16px; }
.woocommerce-order-received table.shop_table { width: 100%; border: 0 !important; border-collapse: collapse; margin: 0; background: transparent; border-radius: 0; }
.woocommerce-order-received table.shop_table thead { display: none; }
.woocommerce-order-received table.shop_table tbody, .woocommerce-order-received table.shop_table tfoot, .woocommerce-order-received table.shop_table tr, .woocommerce-order-received table.shop_table th, .woocommerce-order-received table.shop_table td { background: transparent !important; border: 0; }
.woocommerce-order-received table.shop_table th, .woocommerce-order-received table.shop_table td { padding: 12px 0; border-top: 1px solid #e3ddd2; text-align: left; vertical-align: top; font-weight: 400; color: #1b231f; }
.woocommerce-order-received table.shop_table td.product-total, .woocommerce-order-received table.shop_table tfoot td { text-align: right; white-space: nowrap; }
.woocommerce-order-received table.shop_table tbody tr:first-child td { border-top: 0; }
.woocommerce-order-received table.shop_table tbody td a { color: #1b231f; font-weight: 700; text-decoration: none; }
.woocommerce-order-received table.shop_table .product-quantity { font-weight: 600; color: #55605a; margin-left: 6px; background: none; }
.woocommerce-order-received table.shop_table tfoot th { color: #55605a; }
.woocommerce-order-received table.shop_table tfoot tr:nth-last-child(2) th, .woocommerce-order-received table.shop_table tfoot tr:nth-last-child(2) td { font-weight: 700; font-size: 18px; color: #173f32; border-top: 2px solid #173f32; }
.woocommerce-order-received table.shop_table tfoot small { display: block; font-size: 13px; color: #55605a; font-weight: 400; white-space: normal; }
.woocommerce-order-received table.shop_table tfoot tr:last-child td:empty, .woocommerce-order-received table.shop_table tfoot tr:has(td:empty) { display: none; }
.woocommerce-order-received .woocommerce-customer-details address { border: 0; padding: 0; font-style: normal; line-height: 1.7; color: #1b231f; }
.woocommerce-order-received .woocommerce-customer-details address p { margin: 4px 0 0; }
/* Översikten: nr, datum, totalt på rad 1, e-post (bred) och betalsätt på rad 2 */
.woocommerce-order-received .woocommerce-order-overview__total { order: 3; }
.woocommerce-order-received .woocommerce-order-overview__email { order: 4; grid-column: span 2; }
.woocommerce-order-received .woocommerce-order-overview__payment-method { order: 5; }
@media (max-width: 600px) {
  .woocommerce-order-received ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
  .woocommerce-order-received .woocommerce-order-overview__email { grid-column: 1 / -1; }
  .woocommerce-order-received .woocommerce-order-overview__payment-method { grid-column: 1 / -1; }
  .woocommerce-order-received #brx-content { padding: 32px 16px 64px; }
  .woocommerce-order-received .woocommerce-order-details, .woocommerce-order-received .woocommerce-customer-details { padding: 20px; }
}

/* ---- Startsidan --------------------------------------------------------- */
/* Hero A: fotot är bakgrundsbild i Bricks (media 38881). Toningen ligger här (gradient = global.css enligt KB). */
.kh-hero { position: relative; isolation: isolate; }
.kh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(23,63,50,.92) 0%, rgba(23,63,50,.8) 38%, rgba(23,63,50,0) 72%); }
@media (max-width: 991px) {
  .kh-hero::before { background: linear-gradient(90deg, rgba(23,63,50,.9) 0%, rgba(23,63,50,.72) 60%, rgba(23,63,50,.35) 100%); }
}
@media (max-width: 478px) {
  .kh-hero::before { background: linear-gradient(180deg, rgba(23,63,50,.88) 0%, rgba(23,63,50,.78) 70%, rgba(23,63,50,.55) 100%); }
}
/* Sekundärknappen på mörk bild: genomskinlig med ljus kant */
.kh-hero .bricks-button.kh-btn-ghost { background: transparent; color: #f7f4ee; border: 1px solid rgba(247,244,238,.55); }
.kh-hero .bricks-button.kh-btn-ghost:hover { background: rgba(247,244,238,.12); color: #fff; }

/* Ikoner ur barntemat som fontklass (KB 12): icon:{library:"themify", icon:"kh-i kh-i-bok"} */
.kh-i { display: inline-flex; width: 1em; height: 1em; }
.kh-i::before { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--kh-i) center / contain no-repeat; mask: var(--kh-i) center / contain no-repeat; }
.kh-i-kalender { --kh-i: url(../icons/kh-kalender.svg); }
.kh-i-bok { --kh-i: url(../icons/kh-bok.svg); }
.kh-i-kasse { --kh-i: url(../icons/kh-kasse.svg); }
.kh-i-tass { --kh-i: url(../icons/kh-tass.svg); }

/* Skuggor och hover (kan inte göras med native-inställningarna) */
.kh-path-card { box-shadow: 0 1px 2px rgba(23, 63, 50, .06), 0 8px 24px rgba(23, 63, 50, .06); transition: transform .18s ease, box-shadow .18s ease; }
.kh-path-card--featured { box-shadow: 0 8px 24px rgba(23, 63, 50, .18); }
.kh-path-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(23, 63, 50, .08), 0 14px 32px rgba(23, 63, 50, .12); }
.kh-course-card { transition: transform .18s ease, box-shadow .18s ease; }
.kh-course-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23, 63, 50, .10); }
.kh-course-card img, .kh-blog-card img { transition: transform .4s ease; }
.kh-blog-card:hover .kh-h-card, .kh-course-card:hover .kh-h-card { color: #23604b; }
.kh-price del { opacity: .6; margin-right: 6px; font-weight: 400; }
.kh-price ins { text-decoration: none; }
.kh-link-arrow, .kh-link-arrow--on-dark { white-space: nowrap; }
.kh-photo-pair > :nth-child(2) { margin-top: 48px; }
@media (prefers-reduced-motion: reduce) { .kh-path-card, .kh-course-card { transition: none; } .kh-path-card:hover, .kh-course-card:hover { transform: none; } }

/* ---- Produktmallen --------------------------------------------------------- */
.kh-cat-pill:hover { border-color: #23604b; color: #23604b; }
.kh-breadcrumb a, .kh-crumb--on-dark a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Galleriet: stor bild + rad med tumnaglar, rundade hörn */
.brxe-product-gallery .woocommerce-product-gallery__image img,
.brxe-product-gallery .flex-viewport { border-radius: 20px; }
.brxe-product-gallery .woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; object-fit: cover; background: #e8e2d6; }
.brxe-product-gallery .flex-control-thumbs img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; }
/* Köpraden: antal som pill + knapp bredvid */
.kh-buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0; }
.kh-buy .quantity { display: inline-flex; align-items: center; flex: none; border: 1px solid #cfc7b8; border-radius: 999px; background: #fff; overflow: hidden; }
.kh-buy .quantity input.qty { width: 44px; height: 52px; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 16px; }
.kh-buy .quantity .action { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 52px; cursor: pointer; }
.kh-buy .quantity .action.minus { order: -1; }
.kh-buy .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; }
.kh-buy .stock { width: 100%; margin: 0; font-weight: 700; }
.kh-buy .stock.out-of-stock { color: #8e3517; }
/* Brödtext från produktbeskrivningen (inline-stilar från editorn skrivs över) */
.kh-prose p, .kh-prose li { font-size: inherit !important; line-height: inherit; }
.kh-prose p { margin: 0 0 1em; }
.kh-prose > :last-child, .kh-prose > div > :last-child { margin-bottom: 0; }
.kh-prose h2, .kh-prose h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; color: #173f32; line-height: 1.2; margin: 1.4em 0 .5em; }
.kh-prose h2 { font-size: 26px; } .kh-prose h3 { font-size: 21px; }
.kh-prose ul, .kh-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.kh-prose a { color: #23604b; text-decoration: underline; text-underline-offset: 3px; }
/* Leverans/villkor-dragspelet */
.kh-info-list > .brxe-block { border-bottom: 1px solid #e3ddd2; }
.kh-info-list .accordion-title-wrapper { padding: 16px 0; cursor: pointer; }
.kh-info-list .accordion-content-wrapper { padding: 0 0 16px; }
/* Produktkort i relaterat */
.kh-product-card img { transition: transform .4s ease; }
.kh-product-card:hover .kh-product-name { color: #23604b; }
.kh-product-price del { opacity: .6; margin-right: 6px; }
.kh-product-price ins { text-decoration: none; }

/* ---- Kursmallen ------------------------------------------------------------ */
.kh-course-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 63, 50, .05) 0%, rgba(23, 63, 50, .35) 45%, rgba(16, 40, 32, .82) 100%); }
.kh-course-hero > .brxe-container { position: relative; z-index: 1; }
.kh-booking { position: sticky; top: 140px; box-shadow: 0 12px 32px rgba(23, 63, 50, .08); }
@media (max-width: 991px) { .kh-booking { position: static; } }
.kh-booking .brxe-shortcode:empty { display: none; }
/* Enrollio: Kursinformation i bokningsrutan */
.kh-booking .enrollio-course-info { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.kh-booking .enrollio-course-info-title { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; color: #173f32; margin: 0 0 8px; }
.kh-booking .enrollio-course-info-list { margin: 0; padding: 0; list-style: none; }
.kh-booking .enrollio-course-info-row { padding: 10px 0; border-bottom: 1px solid #efeae0; font-size: 15px; line-height: 1.5; }
.kh-booking .enrollio-course-info-row:last-child { border-bottom: 0; }
.kh-booking .enrollio-course-info-row::before { display: none; }
.kh-booking .enrollio-course-info-label { font-weight: 700; color: #1b231f; }
.kh-booking .enrollio-course-info-value { color: #3c4842; }
.kh-booking .enrollio-course-info-value a { color: #23604b; }
.kh-booking .enrollio-closed-notice, .kh-booking .enrollio-sold-out-notice { margin: 0; padding: 14px 16px; border: 0; border-radius: 12px; background: #fbefe9; color: #8e3517; font-weight: 700; }
.kh-booking form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.kh-booking form.cart .quantity { display: none; }
.kh-booking .single_add_to_cart_button, .kh-booking .enrollio-waitlist-submit { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #23604b; color: #fff; font-weight: 700; font-size: 17px; padding: 14px 24px; cursor: pointer; }
.kh-booking .single_add_to_cart_button:hover, .kh-booking .enrollio-waitlist-submit:hover { background: #173f32; }
.kh-booking .enrollio-waitlist-form-wrap { margin: 0; padding: 18px; border: 0; border-radius: 14px; background: #f7f4ee; }
.kh-booking .enrollio-waitlist-heading { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 20px; color: #173f32; }
.kh-booking .enrollio-waitlist-grid { grid-template-columns: 1fr; }
.kh-booking .enrollio-waitlist-form input[type="text"], .kh-booking .enrollio-waitlist-form input[type="email"], .kh-booking .enrollio-waitlist-form input[type="tel"], .kh-booking .enrollio-waitlist-form select { border: 1px solid #cfc7b8; border-radius: 10px; background: #fff; min-height: 46px; }
.kh-note { display: block; }

/* ---- WooCommerce-meddelanden ovanför mallarna ("har lagts i din varukorg") ---- */
#brx-content > .woocommerce-notices-wrapper:not(:empty) { width: 100%; max-width: 1312px; margin: 20px auto; padding: 0 64px; }
@media (max-width: 991px) { #brx-content > .woocommerce-notices-wrapper:not(:empty) { padding: 0 32px; } }
@media (max-width: 767px) { #brx-content > .woocommerce-notices-wrapper:not(:empty) { padding: 0 16px; } }
#brx-content > .woocommerce-notices-wrapper .woocommerce-message,
#brx-content > .woocommerce-notices-wrapper .woocommerce-info,
#brx-content > .woocommerce-notices-wrapper .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 18px; border: 0; border-radius: 12px; background: #e4efe9; color: #173f32; font-weight: 600; }
#brx-content > .woocommerce-notices-wrapper .woocommerce-error { background: #fbefe9; color: #8e3517; }
#brx-content > .woocommerce-notices-wrapper .button { order: 2; border-radius: 999px; background: #23604b; color: #fff; padding: 10px 18px; font-weight: 700; }
@media (max-width: 767px) {
  .kh-cat-nav { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .kh-cat-nav::-webkit-scrollbar { display: none; }
  .kh-cat-pill { flex: none; white-space: nowrap; }
}
.kh-status { box-shadow: 0 2px 8px rgba(16, 40, 32, .18); }

/* ---- Bli medlem ------------------------------------------------------------ */
.kh-panel { box-shadow: 0 1px 2px rgba(23, 63, 50, .06), 0 12px 32px rgba(23, 63, 50, .08); }
.kh-level-card--featured { box-shadow: 0 16px 40px rgba(23, 63, 50, .25); }
.kh-list ul, .kh-list--on-dark ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.kh-list li::marker { color: #a9531f; }
.kh-list--on-dark li::marker { color: #d9a05a; }
.kh-choice { transition: background-color .15s ease, color .15s ease; }
.kh-choice:hover { background: #23604b; color: #fff; }
.kh-level-card .bricks-button { justify-content: center; }
#nivaer { scroll-margin-top: 110px; }
.kh-dark-section .kh-center .bricks-button { margin-top: 8px; }

/* ---- Butiken: aktiv kategori (WordPress sätter term-<slug> på body) ---------- */
body.post-type-archive-product .kh-cat-pill[href="/butik/"],
body.term-koppel .kh-cat-pill[href$="/koppel/"],
body.term-tacken .kh-cat-pill[href$="/tacken/"],
body.term-bocker .kh-cat-pill[href$="/bocker/"],
body.term-presentkort .kh-cat-pill[href$="/presentkort/"] { background: #173f32; border-color: #173f32; color: #fff; }
.brxe-woocommerce-products-archive-description p { margin: 0 0 .6em; }
.brxe-woocommerce-products-pagination .page-numbers { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; border: 0; }
.brxe-woocommerce-products-pagination .page-numbers li { border: 0; }
.brxe-woocommerce-products-pagination .page-numbers a, .brxe-woocommerce-products-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #e3ddd2; background: #fff; color: #173f32; font-weight: 700; }
.brxe-woocommerce-products-pagination .page-numbers .current { background: #173f32; border-color: #173f32; color: #fff; }

/* ---- Kurslistan (Enrollio [enrollio_courses]) i Kopparhults stil ---------- */
.kh-courses .enrollio-course-list-filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 0 0 24px; }
.kh-courses .enrollio-list-filter { min-height: 44px; border: 1px solid #cfc7b8; border-radius: 999px; background: #fff; padding: 0 18px; font: inherit; font-weight: 600; color: #173f32; }
.kh-courses .enrollio-list-filter-stock-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #173f32; cursor: pointer; }
.kh-courses .enrollio-list-filter-stock { min-height: 0; width: 20px; height: 20px; padding: 0; accent-color: #23604b; }
.kh-courses .enrollio-course-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0; border: 0; }
.kh-courses .enrollio-course-list-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 14px; margin: 0; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; color: #1b231f; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.kh-courses .enrollio-course-list-row.has-no-image { grid-template-columns: 1fr; padding: 22px 24px; }
.kh-courses .enrollio-course-list-row:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 63, 50, .10); }
.kh-courses .enrollio-course-list-row::before, .kh-courses .enrollio-course-list-row::after { display: none; }
.kh-courses .enrollio-course-list-thumb { width: 100%; margin: 0; }
.kh-courses .enrollio-course-list-thumb img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 12px; }
.kh-courses .enrollio-course-list-body { display: flex; flex-direction: column; gap: 6px; padding: 0; }
.kh-courses .enrollio-course-list-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; color: #a9531f; font-size: 15px; font-weight: 700; }
.kh-courses .enrollio-course-list-meta-label { color: #55605a; font-weight: 600; }
.kh-courses .enrollio-course-list-title { margin: 0; }
.kh-courses .enrollio-course-list-title strong { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 21px; line-height: 1.25; color: #173f32; }
.kh-courses .enrollio-course-list-row:hover .enrollio-course-list-title strong { color: #23604b; }
.kh-courses .enrollio-course-list-stocks { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.kh-courses .enrollio-course-list-stock-item, .kh-courses .enrollio-course-list-closed-notice { display: inline-flex; gap: 6px; align-items: center; width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; font-style: normal; background: #e4efe9; color: #173f32; margin: 0; }
.kh-courses .enrollio-course-list-closed-notice em { font-style: normal; }
.kh-courses .enrollio-course-list-closed-notice { background: #173f32; color: #fff; }
.kh-courses .enrollio-stock-low { background: #a9531f; color: #fff; }
.kh-courses .enrollio-stock-zero { background: #8e3517; color: #fff; }
.kh-courses .enrollio-course-list-waitlist-cta { color: #23604b; font-weight: 700; font-size: 15px; margin-top: 2px; }
.kh-courses .enrollio-course-list-empty { padding: 24px; background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; }
@media (max-width: 600px) {
  .kh-courses .enrollio-course-list-row { grid-template-columns: 1fr; gap: 14px; }
  .kh-courses .enrollio-course-list-filters > * { flex: 1 1 100%; }
}
/* Enrollios egna regler är mer specifika i listläget – skrivs över här */
.kh-courses .enrollio-course-list-filters { padding: 0; background: none; border-radius: 0; font-size: 15px; }
.kh-courses .enrollio-course-list-filters select.enrollio-list-filter { width: auto; min-width: 220px; }
.kh-courses .enrollio-course-list.enrollio-course-list--list .enrollio-course-list-row,
.kh-courses .enrollio-course-list.enrollio-course-list--cards .enrollio-course-list-row { display: grid; flex-direction: initial; padding: 14px; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; }
.kh-courses .enrollio-course-list.enrollio-course-list--list .enrollio-course-list-row.has-no-image { padding: 22px 24px; }
.kh-courses .enrollio-course-list.enrollio-course-list--cards { display: grid !important; grid-template-columns: 1fr; }
.kh-courses .enrollio-course-list .enrollio-course-list-row:hover { background: #fff; border-color: #cfc7b8; }
.kh-courses .enrollio-course-list .enrollio-course-list-thumb { flex: none; width: 100%; height: auto; aspect-ratio: auto; border-radius: 12px; background: #e8e2d6; }
.kh-courses .enrollio-course-list .enrollio-course-list-thumb img { height: auto; aspect-ratio: 16 / 11; }
.kh-courses .enrollio-course-list .enrollio-course-list-meta, .kh-courses .enrollio-course-list .enrollio-course-list-stocks { opacity: 1; }
.kh-courses .enrollio-course-list .enrollio-course-list-stock-count,
.kh-courses .enrollio-course-list .enrollio-course-list-variant-name { color: inherit !important; opacity: 1; }
.kh-courses .enrollio-course-list .enrollio-course-list-variant-name::after { content: ":"; }
.kh-courses .enrollio-course-list .enrollio-course-list-closed-notice { color: #fff; font-size: 13px; margin-top: 4px; }
.kh-courses .enrollio-course-list .enrollio-course-list-waitlist-cta { color: #23604b; font-size: 15px; }
@media (max-width: 600px) {
  .kh-courses .enrollio-course-list.enrollio-course-list--list .enrollio-course-list-row { grid-template-columns: 1fr; }
  .kh-courses .enrollio-course-list-filters select.enrollio-list-filter { width: 100%; }
}
.brxe-pagination .bricks-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.brxe-pagination .bricks-pagination ul .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #e3ddd2; background: #fff; color: #173f32; font-weight: 700; }
.brxe-pagination .bricks-pagination ul .page-numbers.current { background: #173f32; border-color: #173f32; color: #fff; }
/* Kurslistan på mobil: liten bild till vänster så att listan inte blir för lång */
@media (max-width: 600px) {
  .kh-courses .enrollio-course-list.enrollio-course-list--list .enrollio-course-list-row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; }
  .kh-courses .enrollio-course-list .enrollio-course-list-thumb img { aspect-ratio: 1 / 1; }
  .kh-courses .enrollio-course-list-title strong { font-size: 18px; }
}

/* ==========================================================================
   Varukorg och kassa (klassiska WooCommerce-sidor med [woocommerce_cart] /
   [woocommerce_checkout] + Cartio-stegen). Ingen Bricks-mall: Cartio hakar
   i WooCommerce klassiska kassa-krokar och ska få rita kassan själv.
   ========================================================================== */
body.woocommerce-cart #brx-content,
body.woocommerce-checkout:not(.woocommerce-order-received) #brx-content { width: 100%; max-width: 1312px; margin: 0 auto; padding: 48px 64px 96px; }
@media (max-width: 991px) { body.woocommerce-cart #brx-content, body.woocommerce-checkout:not(.woocommerce-order-received) #brx-content { padding: 40px 32px 80px; } }
@media (max-width: 767px) { body.woocommerce-cart #brx-content, body.woocommerce-checkout:not(.woocommerce-order-received) #brx-content { padding: 32px 16px 64px; } }
body.woocommerce-cart #brx-content > h1,
body.woocommerce-checkout:not(.woocommerce-order-received) #brx-content > h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: #173f32; margin: 0 0 24px; }

/* Gemensamt formulärlager (kassa, varukorg, Mitt konto) */
.woocommerce form .form-row label { font-weight: 700; font-size: 14px; color: #1b231f; margin-bottom: 6px; }
.woocommerce form .form-row .required { color: #a9531f; text-decoration: none; }
.woocommerce form .input-text, .woocommerce form select, .woocommerce form textarea,
.woocommerce .select2-container .select2-selection--single { min-height: 48px; padding: 10px 14px; border: 1px solid #cfc7b8; border-radius: 10px; background: #fff; color: #1b231f; font: inherit; font-size: 16px; box-shadow: none; }
.woocommerce .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: #1b231f; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.woocommerce form .input-text:focus, .woocommerce form select:focus, .woocommerce form textarea:focus,
.woocommerce .select2-container--focus .select2-selection--single { border-color: #23604b; outline: 2px solid rgba(35, 96, 75, .2); outline-offset: 0; }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #8e3517; }

/* Knappar */
.woocommerce-cart .woocommerce .button, .woocommerce-checkout .woocommerce .button,
.woocommerce-cart .woocommerce a.button.alt, .woocommerce-checkout #place_order {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  background: #23604b; color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease;
}
.woocommerce-cart .woocommerce .button:hover, .woocommerce-checkout .woocommerce .button:hover, .woocommerce-checkout #place_order:hover { background: #173f32; color: #fff; }
.woocommerce-cart .woocommerce button[name="update_cart"], .woocommerce-cart .woocommerce button[name="apply_coupon"], .woocommerce-checkout .woocommerce .checkout_coupon .button {
  background: #fff; color: #173f32; border: 1px solid #cfc7b8; }
.woocommerce-cart .woocommerce button[name="update_cart"]:hover, .woocommerce-cart .woocommerce button[name="apply_coupon"]:hover { background: #f7f4ee; color: #173f32; }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; cursor: not-allowed; }

/* Meddelanden i sidinnehållet (t.ex. "Har du en rabattkod?") */
#brx-content .woocommerce .woocommerce-info, #brx-content .woocommerce .woocommerce-message, #brx-content .woocommerce .woocommerce-error {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 20px; padding: 14px 18px; border: 0; border-radius: 12px;
  background: #e4efe9; color: #173f32; font-weight: 600; list-style: none; }
#brx-content .woocommerce .woocommerce-error { background: #fbefe9; color: #8e3517; }
#brx-content .woocommerce .woocommerce-info::before, #brx-content .woocommerce .woocommerce-message::before, #brx-content .woocommerce .woocommerce-error::before { display: none; }
#brx-content .woocommerce .woocommerce-info a { color: #23604b; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#brx-content .woocommerce .checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0 0 20px; padding: 18px; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; }
#brx-content .woocommerce .checkout_coupon .form-row { margin: 0; flex: 1 1 220px; }

/* ---- Varukorgen ----------------------------------------------------------- */
body.woocommerce-cart #brx-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px 40px; align-items: start; }
body.woocommerce-cart #brx-content > .woocommerce > .before-cart, body.woocommerce-cart #brx-content > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart #brx-content > .woocommerce > .cart-empty, body.woocommerce-cart #brx-content > .woocommerce > .return-to-shop,
body.woocommerce-cart #brx-content > .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
body.woocommerce-cart #brx-content > .woocommerce > .before-cart:not(:has(.woocommerce-message, .woocommerce-info, .woocommerce-error)) { display: none; }
@media (max-width: 991px) { body.woocommerce-cart #brx-content > .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-cart table.shop_table.cart { width: 100%; margin: 0; border: 1px solid #e3ddd2; border-radius: 20px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; }
.woocommerce-cart table.shop_table.cart thead { display: none; }
.woocommerce-cart table.shop_table.cart td, .woocommerce-cart table.shop_table.cart th { padding: 18px 16px; border: 0; border-top: 1px solid #efeae0; background: transparent; vertical-align: middle; text-align: left; }
.woocommerce-cart table.shop_table.cart tbody tr:first-child > * { border-top: 0; }
.woocommerce-cart table.shop_table.cart .product-thumbnail { width: 104px; padding-right: 0; }
.woocommerce-cart table.shop_table.cart .product-thumbnail img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.woocommerce-cart table.shop_table.cart .product-name a { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.3; color: #173f32; text-decoration: none; }
.woocommerce-cart table.shop_table.cart .product-name a:hover { color: #23604b; }
.woocommerce-cart table.shop_table.cart .product-name dl.variation { margin: 6px 0 0; font-size: 14px; color: #55605a; }
.woocommerce-cart table.shop_table.cart .product-price { color: #55605a; white-space: nowrap; }
.woocommerce-cart table.shop_table.cart .product-subtotal { font-weight: 700; white-space: nowrap; text-align: right; }
.woocommerce-cart table.shop_table.cart .product-remove { width: 44px; padding-right: 0; }
.woocommerce-cart table.shop_table.cart a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f7f4ee; color: #55605a !important; font-size: 20px; line-height: 1; text-decoration: none; }
.woocommerce-cart table.shop_table.cart a.remove:hover { background: #8e3517; color: #fff !important; }
.woocommerce-cart table.shop_table.cart .quantity { display: inline-flex; align-items: center; border: 1px solid #cfc7b8; border-radius: 999px; background: #fff; overflow: hidden; }
.woocommerce-cart table.shop_table.cart .quantity:not(:has(input[type="number"])) { display: none; }
.woocommerce-cart table.shop_table.cart .quantity input.qty { width: 44px; height: 44px; border: 0; background: transparent; text-align: center; font-weight: 700; }
.woocommerce-cart table.shop_table.cart .quantity .action { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 44px; cursor: pointer; }
.woocommerce-cart table.shop_table.cart .quantity .action.minus { order: -1; }
.woocommerce-cart table.shop_table.cart td.actions { padding: 16px; background: #fbfaf7; }
.woocommerce-cart table.shop_table.cart td.actions .coupon { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text { width: 200px; min-height: 48px; }
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] { float: right; }
.woocommerce-cart .cart-collaterals { width: 100%; position: sticky; top: 140px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; padding: 28px; border: 1px solid #e3ddd2; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(23, 63, 50, .06); }
.woocommerce-cart .cart_totals h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 24px; color: #173f32; margin: 0 0 12px; }
.woocommerce-cart .cart_totals table.shop_table { width: 100%; margin: 0 0 20px; border: 0; border-collapse: collapse; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { padding: 12px 0; border: 0; border-top: 1px solid #efeae0; background: transparent; font-weight: 400; vertical-align: top; }
.woocommerce-cart .cart_totals table.shop_table tr:first-child > * { border-top: 0; }
.woocommerce-cart .cart_totals table.shop_table th { color: #55605a; text-align: left; }
.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
.woocommerce-cart .cart_totals table.shop_table .order-total th, .woocommerce-cart .cart_totals table.shop_table .order-total td { font-size: 18px; font-weight: 700; color: #173f32; border-top: 2px solid #173f32; }
.woocommerce-cart .cart_totals table.shop_table small { display: block; font-size: 13px; color: #55605a; font-weight: 400; }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; text-align: right; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 54px; font-size: 17px; margin: 0; }
@media (max-width: 767px) {
  .woocommerce-cart table.shop_table_responsive.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px; border-top: 1px solid #efeae0; }
  .woocommerce-cart table.shop_table_responsive.cart tbody tr:first-child { border-top: 0; }
  .woocommerce-cart table.shop_table_responsive.cart tr.cart_item > * { display: block; padding: 0; border: 0; text-align: left; }
  .woocommerce-cart table.shop_table_responsive.cart tr.cart_item > *::before { display: none; }
  .woocommerce-cart table.shop_table_responsive.cart .product-thumbnail { grid-row: 1 / span 3; grid-column: 1; width: auto; }
  .woocommerce-cart table.shop_table_responsive.cart .product-thumbnail img { width: 72px; height: 72px; }
  .woocommerce-cart table.shop_table_responsive.cart .product-name { grid-column: 2; }
  .woocommerce-cart table.shop_table_responsive.cart .product-remove { grid-column: 3; grid-row: 1; width: auto; }
  .woocommerce-cart table.shop_table_responsive.cart .product-price { display: none; }
  .woocommerce-cart table.shop_table_responsive.cart .product-quantity { grid-column: 2; }
  .woocommerce-cart table.shop_table_responsive.cart .product-subtotal { grid-column: 2; text-align: left; }
  .woocommerce-cart table.shop_table_responsive.cart td.actions { display: flex; flex-direction: column; gap: 10px; }
  .woocommerce-cart table.shop_table_responsive.cart td.actions .coupon, .woocommerce-cart table.shop_table_responsive.cart td.actions .coupon .input-text { width: 100%; }
  .woocommerce-cart table.shop_table_responsive.cart td.actions button { float: none; width: 100%; }
  .woocommerce-cart .cart-collaterals { position: static; }
}

/* ---- Kassan med Cartio ----------------------------------------------------- */
body.woocommerce-checkout {
  --cartio-bg: #ffffff; --cartio-surface: #f7f4ee; --cartio-text: #1b231f; --cartio-muted: #55605a;
  --cartio-accent: #173f32; --cartio-on-accent: #ffffff; --cartio-line: #e3ddd2; --cartio-error: #8e3517; --cartio-radius: 20px;
}
body.woocommerce-checkout form.checkout.bricks-default-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 40px; row-gap: 0; align-items: start; padding: 0; }
body.woocommerce-checkout form.checkout.bricks-default-checkout > * { grid-column: 1; min-width: 0; }
body.woocommerce-checkout form.checkout.bricks-default-checkout > :has(#order_review) { grid-column: 2; grid-row: 1 / span 20; position: sticky; top: 140px; padding: 28px; border: 1px solid #e3ddd2; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(23, 63, 50, .06); }
@media (max-width: 991px) {
  body.woocommerce-checkout form.checkout.bricks-default-checkout { grid-template-columns: 1fr; }
  body.woocommerce-checkout form.checkout.bricks-default-checkout > :has(#order_review) { grid-column: 1; grid-row: auto; position: static; margin-top: 8px; }
}
body.woocommerce-checkout .cartio-progress__item { font-weight: 700; border: 1px solid #e3ddd2; }
body.woocommerce-checkout .cartio-progress__item.is-current { border-color: #173f32; }
body.woocommerce-checkout .cartio-step { border: 1px solid #e3ddd2; }
body.woocommerce-checkout .cartio-step__title { font-family: Fraunces, Georgia, serif; font-weight: 600; color: #173f32; }
body.woocommerce-checkout .cartio-step__change { color: #23604b; font-weight: 700; }
body.woocommerce-checkout #customer_details.col2-set { display: block; width: 100%; }
body.woocommerce-checkout #customer_details .col-1, body.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout #customer_details h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 20px; color: #173f32; }
body.woocommerce-checkout .cartio-step .cartio-next { width: 100%; min-height: 52px; font-size: 17px; }
body.woocommerce-checkout #order_review_heading { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; color: #173f32; margin: 0 0 12px; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: transparent; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead { display: none; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table th, body.woocommerce-checkout table.woocommerce-checkout-review-order-table td { padding: 12px 0; border: 0; border-top: 1px solid #efeae0; background: transparent !important; font-weight: 400; vertical-align: top; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody tr:first-child > * { border-top: 0; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child { text-align: right; white-space: nowrap; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity { color: #55605a; font-weight: 600; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th { color: #55605a; text-align: left; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total th, body.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td { font-size: 18px; font-weight: 700; color: #173f32; border-top: 2px solid #173f32; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table small { display: block; font-size: 13px; color: #55605a; font-weight: 400; white-space: normal; }
body.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
body.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 16px; padding: 0; border: 0; list-style: none; }
body.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 8px; padding: 14px 16px; border-radius: 12px; background: #f7f4ee; }
body.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; cursor: pointer; }
body.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff; color: #3c4842; font-size: 15px; }
body.woocommerce-checkout #payment div.payment_box::before { display: none; }
body.woocommerce-checkout #payment .place-order { margin: 0; padding: 0; }
body.woocommerce-checkout #place_order { width: 100%; min-height: 54px; font-size: 17px; float: none; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; font-size: 14px; color: #55605a; }
body.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
body.woocommerce-checkout .woocommerce > .before-checkout { width: 100%; max-width: none; padding: 0; margin: 0; }
body.woocommerce-checkout .cartio-step #payment { border: 0; padding: 0; margin: 0; }
body.woocommerce-checkout .woocommerce-additional-fields > h3 { margin: 24px 0 8px; }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods li { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin: 0 0 6px; }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods li label { color: #1b231f; font-weight: 600; }
.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] { accent-color: #23604b; margin: 0; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination, .woocommerce-cart .cart_totals .shipping-calculator-button { font-size: 14px; color: #55605a; }
.woocommerce-cart .cart_totals .shipping-calculator-button { color: #23604b; font-weight: 700; }
body.woocommerce-checkout form.checkout.bricks-default-checkout, body.woocommerce-checkout .woocommerce > .before-checkout { width: 100%; max-width: 100%; min-width: 0; }
body.woocommerce-checkout .woocommerce { min-width: 0; }

/* ---- Favvio: "Spara som favorit" i inlägg och övningar ----------------------- */
.favvio-knapp-rad { margin: 0 0 20px; }
.favvio-knapp__knapp { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid #cfc7b8; border-radius: 999px; background: #fff; color: #173f32; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.favvio-knapp__knapp::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat; }
.favvio-knapp__knapp:hover { border-color: #23604b; color: #23604b; }
.favvio-knapp.is-favorit .favvio-knapp__knapp { background: #23604b; border-color: #23604b; color: #fff; }
.favvio-knapp.is-favorit .favvio-knapp__knapp::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.favvio-knapp.is-laddar .favvio-knapp__knapp, .favvio-knapp.is-loading .favvio-knapp__knapp { opacity: .6; }
.favvio-knapp__fel { display: block; margin-top: 6px; font-size: 14px; color: #8e3517; }

/* ---- Enskild övning (Kopparhult Extra 1.4: brödsmulor, åtkomst, fler övningar) ---- */
.ovb-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; font-weight: 600; color: #55605a; }
.ovb-crumb a { color: #23604b; text-decoration: underline; text-underline-offset: 3px; }
.ovb-crumb__sep { color: #a39b8d; }
.ovb-crumb__bank { display: inline-flex; align-items: center; gap: 6px; color: #1b231f; }
.ovb-crumb__dot { width: 10px; height: 10px; border-radius: 50%; }
.ovb-access { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.ovb-access::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ovb-i) center / contain no-repeat; mask: var(--ovb-i) center / contain no-repeat; }
.ovb-access.is-open { background: #e4efe9; color: #173f32; --ovb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ovb-access.is-locked { background: #d9a05a; color: #173f32; --ovb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ovb-lock { display: flex; flex-direction: column; gap: 10px; margin: 32px 0 0; padding: 28px; border-radius: 20px; background: #173f32; color: #f7f4ee; }
.ovb-lock__title { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.2; color: #fff; }
.ovb-lock__text { margin: 0; font-size: 17px; line-height: 1.6; color: #dce9e3; }
.ovb-lock__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 8px 0 0; }
.ovb-lock__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #d9a05a; color: #173f32 !important; font-weight: 700; text-decoration: none; }
.ovb-lock__btn:hover { filter: brightness(.95); }
.ovb-lock__login { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* PMPro:s egen "för medlemmar"-text ersätts av rutan ovan i övningsmallen */
.kh-ovning .pmpro_content_message, .kh-ovning .pmpro:has(.pmpro_content_message) { display: none; }
.ovb-fler__title { margin: 0 0 20px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); color: #173f32; }
@media (max-width: 600px) { .ovb-lock { padding: 22px; } .ovb-lock__title { font-size: 22px; } .ovb-lock__btn { width: 100%; justify-content: center; } }

/* ---- Övningssidan: layout med ämnesmeny (Kopparhult Extra 1.5) ---------------- */
.kh-ovning-grid { display: grid; grid-template-columns: 260px minmax(0, 760px); justify-content: center; gap: 48px; align-items: start; }
.kh-ovning-grid:not(:has(.ovb-meny)) { grid-template-columns: minmax(0, 760px); }
.kh-ovning-grid:not(:has(.ovb-meny)) > .kh-ovning-aside { display: none; }
.kh-ovning-aside { position: sticky; top: 140px; }
@media (max-width: 991px) {
  .kh-ovning-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kh-ovning-aside { position: static; }
}
.ovb-meny__box { border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; overflow: hidden; }
.ovb-meny__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; color: #173f32; cursor: pointer; list-style: none; border-bottom: 1px solid #efeae0; }
.ovb-meny__title::-webkit-details-marker { display: none; }
.ovb-meny__title::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ovb-bank, #23604b); }
.ovb-meny__title::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid #55605a; border-bottom: 2px solid #55605a; transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.ovb-meny__box[open] .ovb-meny__title::after { transform: rotate(-135deg) translateY(-2px); }
@media (min-width: 992px) { .ovb-meny__title { cursor: default; pointer-events: none; } .ovb-meny__title::after { display: none; } }
.ovb-meny__list { margin: 0; padding: 8px; list-style: none; max-height: calc(100vh - 290px); overflow-y: auto; }
@media (max-width: 991px) { .ovb-meny__list { max-height: none; } }
.ovb-meny__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #1b231f; font-size: 15px; font-weight: 600; text-decoration: none; }
.ovb-meny__list a:hover { background: #f7f4ee; color: #23604b; }
.ovb-meny__list a.is-current { background: #173f32; color: #fff; }
.ovb-meny__count { flex: none; min-width: 26px; padding: 1px 7px; border-radius: 999px; background: #f7f4ee; color: #55605a; font-size: 12px; font-weight: 700; text-align: center; }
.ovb-meny__list a.is-current .ovb-meny__count { background: rgba(255, 255, 255, .18); color: #fff; }
.ovb-meny__all { display: block; padding: 12px 18px 16px; border-top: 1px solid #efeae0; color: #23604b; font-size: 14px; font-weight: 700; text-decoration: none; }

/* Serie (valpdagböcker m.fl.) */
.ovb-serie { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #e4efe9; }
.ovb-serie__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; }
.ovb-serie__name { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; color: #173f32; }
.ovb-serie__pos { font-size: 14px; font-weight: 700; color: #23604b; }
.ovb-serie__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ovb-serie__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #173f32 !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.ovb-serie__btn.is-next { margin-left: auto; background: #23604b; color: #fff !important; }
.ovb-serie__all summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #23604b; }
.ovb-serie__list { margin: 10px 0 0; padding: 0; list-style: none; max-height: 320px; overflow-y: auto; background: #fff; border-radius: 12px; }
.ovb-serie__list a { display: flex; gap: 10px; padding: 9px 12px; border-top: 1px solid #efeae0; color: #1b231f; font-size: 15px; text-decoration: none; }
.ovb-serie__list li:first-child a { border-top: 0; }
.ovb-serie__list a:hover { color: #23604b; }
.ovb-serie__list .is-current a { font-weight: 700; color: #173f32; background: #f7f4ee; }
.ovb-serie__nr { flex: none; min-width: 24px; color: #a9531f; font-weight: 700; }

/* Föregående / nästa */
.ovb-bladdra { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.ovb-bladdra__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; color: #1b231f; text-decoration: none; transition: border-color .15s ease; }
.ovb-bladdra__item:hover { border-color: #23604b; }
.ovb-bladdra__item.is-next { grid-column: 2; text-align: right; }
.ovb-bladdra__label { font-size: 13px; font-weight: 700; color: #a9531f; }
.ovb-bladdra__title { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 17px; line-height: 1.3; color: #173f32; }
@media (max-width: 600px) { .ovb-bladdra { grid-template-columns: 1fr; } .ovb-bladdra__item.is-next { grid-column: 1; } .ovb-bladdra > span:empty { display: none; } }

/* Övningsbanken-sidan: rad om fler nivåer (medlemmar ser bara det som ingår) */
.kh-ovb .ovb-more-levels { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px dashed #cfc7b8; color: #55605a; font-size: 15px; }
.kh-ovb .ovb-more-levels a { color: #23604b; font-weight: 700; }
/* Långa svenska sammansättningar i stora rubriker: avstava i stället för att klippas */
.kh-h-display, .kh-h-hero, .kh-h-product, .kh-h-section { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* Övningssidan, lugnare: mindre rubrik, meny och brödsmulor (Jennys synpunkter 2026-11-21) */
.kh-ovning h1.kh-h-display { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; }
.ovb-meny__title { padding: 12px 16px; font-family: Mulish, system-ui, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; }
.ovb-meny__title::before { width: 8px; height: 8px; }
.ovb-meny__list a { padding: 8px 10px; font-size: 14px; }
.ovb-meny__all { padding: 10px 16px 14px; font-size: 13px; }
.ovb-crumb { font-size: 14px; gap: 4px 8px; }
@media (max-width: 600px) {
  .ovb-crumb { flex-wrap: nowrap; font-size: 13px; white-space: nowrap; overflow: hidden; }
  .ovb-crumb a:last-child { overflow: hidden; text-overflow: ellipsis; }
  .ovb-crumb__bank, .ovb-crumb__bank + .ovb-crumb__sep { display: none; }
  .ovb-meny__title { font-size: 14px; }
}

/* ---- Mitt konto --------------------------------------------------------------- */
/* Medlemskortet (Kopparhult Extra 1.6) */
.ovb-medlem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px 40px; padding: 28px 32px; border-radius: 20px; background: #173f32; color: #f7f4ee; }
.ovb-medlem.is-none { grid-template-columns: 1fr; background: #fff; border: 1px solid #e3ddd2; color: #1b231f; }
@media (max-width: 767px) { .ovb-medlem { grid-template-columns: 1fr; padding: 22px; } }
.ovb-medlem p { margin: 0; }
.ovb-medlem__main { display: flex; flex-direction: column; gap: 8px; }
.ovb-medlem__eyebrow { font-size: 14px; font-weight: 700; color: #d9a05a; }
.ovb-medlem.is-none .ovb-medlem__eyebrow { color: #a9531f; }
.ovb-medlem__title { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.2; color: #fff; }
.ovb-medlem.is-none .ovb-medlem__title { color: #173f32; }
.ovb-medlem__valid { font-size: 15px; color: #dce9e3; }
.ovb-medlem__text { font-size: 16px; line-height: 1.6; color: #3c4842; max-width: 620px; }
.ovb-medlem__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 10px !important; }
.ovb-medlem__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border-radius: 999px; background: #d9a05a; color: #173f32 !important; font-weight: 700; text-decoration: none; }
.ovb-medlem.is-none .ovb-medlem__btn { background: #23604b; color: #fff !important; }
.ovb-medlem__link { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ovb-medlem__side { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.ovb-medlem__sidetitle { font-size: 14px; font-weight: 700; color: #d9a05a; margin-bottom: 8px !important; }
.ovb-medlem__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ovb-medlem__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ovb-medlem__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.ovb-medlem__bank { font-weight: 700; color: #fff; }
.ovb-medlem__count { margin-left: auto; color: #c6d9d0; font-size: 14px; white-space: nowrap; }

/* WooCommerce-kontot: meny till vänster, innehåll i kort */
.kh-konto .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 32px; align-items: start; }
.kh-konto .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.kh-konto .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
@media (max-width: 991px) { .kh-konto .woocommerce { grid-template-columns: 1fr; } }
.kh-konto .woocommerce-MyAccount-navigation { float: none; width: auto; padding: 8px; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; }
.kh-konto .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.kh-konto .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; background: none; }
.kh-konto .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: #1b231f; font-weight: 600; font-size: 15px; text-decoration: none; background: none; }
.kh-konto .woocommerce-MyAccount-navigation a:hover { background: #f7f4ee; color: #23604b; }
.kh-konto .woocommerce-MyAccount-navigation li.is-active a { background: #173f32; color: #fff; }
.kh-konto .woocommerce-MyAccount-navigation-link--customer-logout a { color: #8e3517; }
@media (max-width: 991px) {
  .kh-konto .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .kh-konto .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .kh-konto .woocommerce-MyAccount-navigation a { white-space: nowrap; }
}
.kh-konto .woocommerce-MyAccount-content { float: none; width: auto; padding: 28px 32px; border: 1px solid #e3ddd2; border-radius: 16px; background: #fff; color: #3c4842; line-height: 1.6; }
@media (max-width: 767px) { .kh-konto .woocommerce-MyAccount-content { padding: 20px; } }
.kh-konto .woocommerce-MyAccount-content > p:first-of-type { margin-top: 0; }
.kh-konto .woocommerce-MyAccount-content a { color: #23604b; font-weight: 600; }
.kh-konto .woocommerce-MyAccount-content h2, .kh-konto .woocommerce-MyAccount-content h3, .kh-konto .woocommerce-MyAccount-content legend { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 21px; color: #173f32; margin: 0 0 12px; }
.kh-konto .woocommerce-orders-table { width: 100%; border: 0; border-collapse: collapse; margin: 0; }
.kh-konto .woocommerce-orders-table th, .kh-konto .woocommerce-orders-table td { padding: 12px 10px; border: 0; border-bottom: 1px solid #efeae0; background: transparent; text-align: left; font-size: 15px; vertical-align: middle; }
.kh-konto .woocommerce-orders-table thead th { color: #55605a; font-size: 13px; font-weight: 700; }
.kh-konto .woocommerce-orders-table .button { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: #f7f4ee; color: #173f32; font-size: 14px; font-weight: 700; text-decoration: none; margin: 2px; }
.kh-konto .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kh-konto .woocommerce-Addresses::before, .kh-konto .woocommerce-Addresses::after { display: none; }
.kh-konto .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 18px; border-radius: 12px; background: #f7f4ee; }
.kh-konto .woocommerce-Address-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.kh-konto .woocommerce-Address address { font-style: normal; }
@media (max-width: 600px) { .kh-konto .woocommerce-Addresses { grid-template-columns: 1fr; } }
.kh-konto .woocommerce-MyAccount-content .button, .kh-konto .woocommerce-MyAccount-content button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: #23604b; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kh-konto .woocommerce-MyAccount-content .woocommerce-orders-table .button { min-height: 36px; padding: 6px 14px; background: #f7f4ee; color: #173f32; }

/* Inloggning (utloggad) */
.kh-konto .woocommerce:has(.woocommerce-form-login) { display: block; max-width: 520px; }
.kh-konto .woocommerce:has(#customer_login) { max-width: 1000px; }
.kh-konto #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kh-konto #customer_login::before, .kh-konto #customer_login::after { display: none; }
.kh-konto #customer_login > div { float: none; width: auto; }
@media (max-width: 767px) { .kh-konto #customer_login { grid-template-columns: 1fr; } }
.kh-konto .woocommerce-form-login, .kh-konto .woocommerce-form-register { margin: 0; padding: 28px; border: 1px solid #e3ddd2; border-radius: 20px; background: #fff; }
.kh-konto .woocommerce > h2, .kh-konto #customer_login h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; color: #173f32; margin: 0 0 12px; }
.kh-konto .woocommerce-form-login .form-row { margin: 0 0 14px; }
.kh-konto .woocommerce-form-login .input-text { width: 100%; }
.kh-konto .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 14px; }
.kh-konto .woocommerce-form-login__submit, .kh-konto .woocommerce-form-register__submit { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #23604b; color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; float: none; margin: 4px 0 0; }
.kh-konto .woocommerce-form-login__submit:hover { background: #173f32; }
.kh-konto .woocommerce-LostPassword { margin: 14px 0 0; font-size: 15px; }
.kh-konto .woocommerce-LostPassword a { color: #23604b; font-weight: 700; }
.kh-konto .woocommerce-MyAccount-navigation a { line-height: 1.4; }
.kh-konto .woocommerce-form-login, .kh-konto .woocommerce-form-register { display: block; width: 100%; max-width: none; text-align: left; }
.kh-konto .woocommerce-form-login .form-row { display: block; width: 100%; }
.kh-konto .woocommerce-form-login label { display: block; }
.kh-konto .woocommerce-form-login .woocommerce-form-login__rememberme { display: inline-flex; }
.kh-konto .woocommerce:has(.woocommerce-form-login):not(:has(#customer_login)) > h2 { display: none; }

/* ---- Toppremsan: ikoner och varukorg till höger (2026-11-21) ------------------ */
.kh-topbar-link { display: inline-flex; align-items: center; }
.kh-topbar-link i { opacity: .75; }
.kh-topbar-cart .cart-icon, .kh-topbar-cart .mini-cart-link { color: #f7f4ee; }
.kh-topbar-cart .cart-count { background: #a9531f; color: #fff; }
.kh-topbar-cart a:hover { opacity: .8; }
/* Foten: sociala länkar och MW&V-raden */
.kh-footer-link i { opacity: .8; }
a.kh-footer-copy:hover { color: #f7f4ee; }
/* Övningskorten: mindre ämnesetikett så att bilden syns (2026-11-21) */
.kh-ovb .ovb-card__badge { top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: #a9531f; font-size: 11.5px; font-weight: 700; line-height: 1.4; box-shadow: none; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovb-fler .ovb-card__badge { display: none; }
/* Ämnesmenyn: rubriken vänsterställd (pilen syns bara på mobil) */
.ovb-meny__title { justify-content: flex-start; }
/* Inläggsbilder: om Bricks lägger bilden i en <figure> (bildtext) får bilden ändå aldrig töjas */
.kh-ovning-main figure.brxe-image, .kh-prose-col figure.brxe-image { width: auto !important; height: auto !important; max-height: none !important; }
.kh-ovning-main figure.brxe-image img { width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain; display: block; border-radius: 16px; }
/* Antalsväljaren (produktsidan och varukorgen): en ren pill utan inre ramar */
.woocommerce .quantity input.qty, .woocommerce form .quantity input.qty { min-height: 0; height: 48px; padding: 0; border: 0 !important; border-radius: 0; background: transparent; box-shadow: none; outline-offset: -2px; -moz-appearance: textfield; }
.woocommerce .quantity input.qty::-webkit-outer-spin-button, .woocommerce .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity .action { border: 0 !important; background: transparent; color: #173f32; }
.woocommerce .quantity .action:hover { background: #f7f4ee; }
.kh-buy .quantity { height: 52px; }
.kh-buy .quantity input.qty { height: 50px; width: 48px; }
/* Bara en vara i lager: WooCommerce skriver ett dolt fält, då behövs ingen väljare */
.woocommerce .quantity:not(:has(input[type="number"])) { display: none !important; }

/* ---- Köpraden: luft under lagertexten, antal och knapp lika höga (2026-11-21) ---- */
.kh-buy form.cart { align-items: center; }
.kh-buy .stock { margin: 0 0 12px !important; }
.kh-buy p.stock + form.cart, .kh-buy .stock { display: block; }
.kh-buy .quantity { height: 52px; box-sizing: border-box; }
.kh-buy .quantity input.qty, .kh-buy .quantity .action { height: 50px; }
.kh-buy .single_add_to_cart_button { height: 52px; min-height: 52px; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box; line-height: 1; }

/* ---- Storleksguide (Kopparhult Extra 1.7) ------------------------------------ */
.kh-size__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kh-size__table th, .kh-size__table td { padding: 10px 12px 10px 0; border: 0; border-bottom: 1px solid #efeae0; text-align: left; vertical-align: top; background: transparent; }
.kh-size__table thead th { font-size: 13px; font-weight: 700; color: #55605a; }
.kh-size__table tbody th { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 17px; color: #173f32; white-space: nowrap; }
.kh-size__table td { color: #3c4842; }
.kh-size__table td[data-label="Vikt"], .kh-size__table td[data-label="Ryggmått"] { white-space: nowrap; font-weight: 600; color: #1b231f; }
.kh-size__table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 600px) {
  .kh-size__table thead { display: none; }
  .kh-size__table, .kh-size__table tbody, .kh-size__table tr { display: block; width: 100%; }
  .kh-size__table tr { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2px 14px; padding: 12px 0; border-bottom: 1px solid #efeae0; }
  .kh-size__table tr:last-child { border-bottom: 0; }
  .kh-size__table th, .kh-size__table td { display: block; padding: 0; border: 0; }
  .kh-size__table td[data-label="Passar t.ex."] { grid-column: 1 / -1; font-size: 14px; color: #55605a; margin-top: 4px; }
}
/* Storlekstabellen visas i fliken Storleksguide, inte i beskrivningen */
.kh-prose .kiwi-sizing-table { display: none; }
/* Varianter (t.ex. storlek på badrock): rubrik ovanför, valet i full bredd */
.kh-buy table.variations { width: 100%; margin: 0 0 16px; border: 0; border-collapse: collapse; }
.kh-buy table.variations tr { display: flex; flex-direction: column; gap: 6px; }
.kh-buy table.variations th, .kh-buy table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.kh-buy table.variations label { font-weight: 700; font-size: 14px; color: #1b231f; }
.kh-buy table.variations select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfc7b8; border-radius: 10px; background-color: #fff; font: inherit; font-size: 16px; color: #1b231f; }
.kh-buy .reset_variations { display: inline-block; margin-top: 6px; font-size: 14px; color: #23604b; }
.kh-buy .single_variation_wrap .woocommerce-variation { margin: 0 0 12px; }
.kh-buy .single_variation_wrap .woocommerce-variation-price .price { font-weight: 700; color: #173f32; }
.kh-buy .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
/* "Mer för träningsdagen" döljs när det inte finns något att visa (t.ex. presentkort) */
.kh-white-section:has(.kh-product-row):not(:has(.kh-product-card)) { display: none; }
/* Storleksguide v2: två kolumner, storlek + vikt + ryggmått i första */
.kh-size__table thead th:first-child { width: 150px; }
.kh-size__table tbody th { font-family: Mulish, system-ui, sans-serif !important; font-size: 15px; font-weight: 400; white-space: normal; }
.kh-size__name { display: block; font-weight: 700; font-size: 15px; color: #173f32; }
.kh-size__meta { display: block; margin-top: 2px; font-size: 13px; color: #55605a; white-space: nowrap; }
.kh-size__table td { font-size: 14px; line-height: 1.55; }
@media (max-width: 600px) {
  .kh-size__table tr { grid-template-columns: 1fr; }
  .kh-size__table td { grid-column: 1; margin-top: 4px; color: #55605a; }
}

/* ---- Genomgång 2026-11-21 ---------------------------------------------------- */
/* Favoritlistan på Övningsbanken: fäst mot högerkanten så den inte sticker ut på platta */
.kh-ovb .ovb-favs__list { left: auto; right: 0; max-width: calc(100vw - 32px); }
/* Tryckytor i headern och mobilmenyn: minst 44 × 44 px */
/* Ingen display här: Bricks döljer hamburgaren på dator och den ska förbli dold */
#brx-header .brxe-toggle, .kh-drawer .brxe-toggle { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
#brx-header .brxe-woocommerce-mini-cart > a, #brx-header .brxe-woocommerce-mini-cart .mini-cart-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
/* Toppremsan på platta: e-posten döljs (finns i foten och mobilmenyn) så allt ryms på en rad */
@media (max-width: 991px) {
  .kh-topbar-inner { flex-wrap: nowrap; }
  .kh-topbar .kh-topbar-link[href^="mailto"] { display: none; }
  .kh-topbar-group { flex-wrap: nowrap; column-gap: 18px; }
}
/* Platta: ett udda sista kort i 2-kolumnsrutnät tar hela bredden (bild vänster, text höger) i stället för att lämna ett hål */
@media (min-width: 479px) and (max-width: 991px) {
  .kh-course-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kh-course-grid > .kh-course-card:last-child:nth-child(odd),
  .kh-course-grid > :last-child:nth-child(odd) > .kh-course-card { flex-direction: row; }
  .kh-course-grid > .kh-course-card:last-child:nth-child(odd) > .brxe-image,
  .kh-course-grid > :last-child:nth-child(odd) > .kh-course-card > .brxe-image { width: 45% !important; flex: none; aspect-ratio: auto !important; height: auto; min-height: 220px; object-fit: cover; }
  .kh-course-grid > .kh-course-card:last-child:nth-child(odd) > .brxe-div:has(> .brxe-image) { width: 45%; flex: none; }
  .kh-course-grid > .kh-course-card:last-child:nth-child(odd) > .kh-course-body,
  .kh-course-grid > :last-child:nth-child(odd) > .kh-course-card > .kh-course-body { flex: 1; justify-content: center; }
}
@media (min-width: 479px) and (max-width: 991px) {
  .kh-course-grid > .kh-course-card:last-child:nth-child(odd) > .brxe-image,
  .kh-course-grid > :last-child:nth-child(odd) > .kh-course-card > .brxe-image { height: 260px !important; min-height: 0; }
}
/* Startsidans fyra vägar in: kompakt 2 × 2 på mobil (beskrivningen döljs bara där) */
@media (max-width: 478px) {
  .kh-path-grid { column-gap: 12px !important; row-gap: 12px !important; }
  .kh-path-card { padding: 18px 16px !important; row-gap: 6px !important; }
  .kh-path-card > p { display: none; }
  .kh-path-card .kh-h-path, .kh-path-card .kh-h-path--on-dark { font-size: 19px; }
  .kh-path-card .kh-link-arrow, .kh-path-card .kh-link-arrow--on-dark { font-size: 14px; white-space: normal; }
}
/* Produktsidan på platta/mobil: köpdelen direkt under priset, beskrivningen efter */
@media (max-width: 991px) {
  .kh-product-summary > .kh-buy { order: 1; }
  .kh-product-summary > .kh-prose { order: 2; }
  .kh-product-summary > .kh-info-list { order: 3; }
}
/* Tillbaka-länken ("← Kennel") står överst, ovanför rubriken */
.brxe-div:has(> .kh-h-display) > a.kh-breadcrumb { order: -1; }
/* Övningsbankens bankflikar: en rad man sveper i sidled på mobil */
@media (max-width: 600px) {
  .kh-ovb .ovb-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .kh-ovb .ovb-tabs::-webkit-scrollbar { display: none; }
  .kh-ovb .ovb-tab { flex: none; white-space: nowrap; }
}
.kh-buy table.variations td.value, .kh-buy table.variations select { width: 100% !important; max-width: none; }
.kh-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; }
@media (max-width: 600px) {
  .kh-buy form.cart, .kh-buy .woocommerce-variation-add-to-cart { flex-wrap: nowrap; }
  .kh-buy .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; padding-left: 16px !important; padding-right: 16px !important; font-size: 16px; }
  .kh-buy .quantity input.qty { width: 40px; }
  .kh-buy .quantity .action { width: 38px; }
}
/* Varianter: formuläret staplas (val överst), bara antal + knapp delar rad */
.kh-buy form.variations_form.cart { display: block !important; }
.kh-buy form.variations_form .single_variation_wrap { width: 100%; }
/* Produktkolumnerna får aldrig bli bredare än skärmen (rutnät med 1fr växer annars efter innehållet) */
.kh-product-grid > * { min-width: 0; }
.kh-buy table.variations, .kh-buy table.variations tbody, .kh-buy table.variations tr { width: 100%; max-width: 100%; }
.kh-buy .quantity input.qty, .woocommerce .kh-buy .quantity input.qty { width: 44px !important; min-width: 0; flex: none; }
.kh-buy .quantity, .woocommerce .kh-buy .quantity { width: auto !important; min-width: 0; flex: none !important; }
/* Antal och köpknapp exakt i linje (WooCommerce/Bricks ger dem olika marginaler) */
.kh-buy form.cart:not(.variations_form), .kh-buy .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 12px; }
.kh-buy .quantity, .kh-buy .single_add_to_cart_button { margin: 0 !important; vertical-align: middle; align-self: center; }
.kh-buy .single_add_to_cart_button { float: none !important; }
/* Minivarukorgens "ta bort"-kryss: större tryckyta */
.widget_shopping_cart_content a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f7f4ee; color: #55605a !important; font-size: 18px; line-height: 1; text-decoration: none; }
.widget_shopping_cart_content a.remove:hover { background: #8e3517; color: #fff !important; }
/* Favoritlistan på mobil: knappen ligger till vänster, så listan fästs där och ryms i skärmen */
@media (max-width: 600px) {
  .kh-ovb .ovb-favs__list { left: 0; right: auto; min-width: 0; width: calc(100vw - 32px); }
}
/* Produktgalleriets förstoringsknapp: 44 px och diskret */
.woocommerce-product-gallery__trigger { display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; border-radius: 50%; background: rgba(255, 255, 255, .9) !important; top: 12px !important; right: 12px !important; font-size: 18px; text-decoration: none; }

/* ---- Inloggning, medlemskap och sök (2026-11-23) ---------------------------- */
/* Kontoikon på mobil: 44 px tryckyta, inloggad får en prick */
.kh-acct { position: relative; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #173f32; }
.kh-acct i { font-size: 22px; }
.kh-acct--in::after { content: ""; position: absolute; top: 9px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #2e8b57; box-shadow: 0 0 0 2px #f7f4ee; }
/* Ämnena på startsidan är länkar till filtret */
a.kh-chip { transition: background-color .15s, color .15s; }
a.kh-chip:hover, a.kh-chip:focus-visible { background: rgba(255,255,255,.2); color: #fff; }
.kh-chip-more { align-self: center; font-size: 14px !important; padding: 6px 4px; }
/* Sökrutan i övningsbankspanelen */
.kh-sok { display: flex; gap: 8px; width: 100%; max-width: 460px; margin-top: 4px; }
.kh-sok input[type=search] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: 400 16px/1 Mulish, sans-serif; }
.kh-sok input[type=search]::placeholder { color: #c6d9d0; opacity: 1; }
.kh-sok input[type=search]:focus { outline: 2px solid #d9a05a; outline-offset: 2px; border-color: transparent; }
.kh-sok button { flex: none; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #d9a05a; color: #173f32; font: 600 16px/1 Mulish, sans-serif; cursor: pointer; }
.kh-sok button:hover { background: #e3b06e; }
/* Övningsbankens sökfält: platshållaren läsbar (4,5:1) */
#ovb-sok::placeholder { color: #66706a; opacity: 1; }
/* "Från" före priset på variabla produkter */
.kh-from { font-weight: 400; }
/* Mobil: hero-knapparna lika breda */
@media (max-width: 478px) {
  .kh-hero .kh-btn-row > .bricks-button { flex: 1 1 100%; justify-content: center; }
}

/* ---- Övningsbanken på mobil: ämnesrutorna kompakta i två kolumner (2026-11-23) ---- */
@media (max-width: 478px) {
  .kh-ovb .ovb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kh-ovb .ovb-tile, .kh-ovb .kat-filter__btn.ovb-tile { align-items: flex-start; gap: 8px; min-height: 56px; padding: 10px 12px; font-size: 15px; line-height: 1.25; }
  .kh-ovb .ovb-tile__dot { width: 8px; height: 8px; flex-basis: 8px; margin-top: 6px; }
  .kh-ovb .ovb-tile__name { font-size: 15px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .kh-ovb .ovb-tile__count { font-size: 13px; }
}

/* ---- Övningsbanken: bankrubriken är en knapp som fäller ut ämnena på mobil (Kopparhult Extra 1.10) ---- */
.kh-ovb .ovb-group__toggle { display: inline-flex; align-items: center; gap: 10px; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: default; }
.kh-ovb .ovb-group__count, .kh-ovb .ovb-group__chev { display: none; }
@media (max-width: 478px) {
  .kh-ovb .ovb-group { background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; margin-bottom: 12px; }
  .kh-ovb .ovb-group__head { display: block; margin: 0; }
  .kh-ovb .ovb-group__title { font-size: 18px; line-height: 1.25; }
  .kh-ovb .ovb-group__toggle { display: flex; width: 100%; min-height: 60px; box-sizing: border-box; padding: 14px 16px; cursor: pointer; }
  .kh-ovb .ovb-group__toggle::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ovb-bank, #23604b); }
  .kh-ovb .ovb-group__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .kh-ovb .ovb-group__name { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .kh-ovb .ovb-group__count { display: block; font-family: Mulish, sans-serif; font-size: 13px; font-weight: 400; line-height: 1.3; color: #55605a; }
  .kh-ovb .ovb-group__chev { display: block; flex: none; color: #173f32; transition: transform .2s; transform: rotate(180deg); }
  .kh-ovb .ovb-group.is-collapsed .ovb-group__chev { transform: none; }
  .kh-ovb .ovb-group__toggle:focus-visible { outline: 2px solid #23604b; outline-offset: -2px; border-radius: 16px; }
  .kh-ovb .ovb-group__desc { display: block; padding: 0 16px 12px; font-size: 15px; }
  .kh-ovb .ovb-group__upgrade { display: inline-block; margin: 0 16px 12px; }
  .kh-ovb .ovb-group .ovb-tiles { padding: 0 12px 12px; }
  .kh-ovb .ovb-group.is-collapsed .ovb-tiles, .kh-ovb .ovb-group.is-collapsed .ovb-group__desc, .kh-ovb .ovb-group.is-collapsed .ovb-group__upgrade { display: none; }
}

/* ---- Övningsbanken: direktträffar under sökfältet (Kopparhult Extra 1.11) ---- */
.kh-ovb .ovb-search { position: relative; }
.ovb-sok-lista { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; gap: 2px; padding: 6px;
  background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; box-shadow: 0 12px 32px rgba(23, 63, 50, .14); max-height: min(60vh, 440px); overflow: auto; }
.ovb-sok-lista[hidden] { display: none; }
.ovb-sok-lista__rad { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: #1b231f; }
.ovb-sok-lista__rad:hover, .ovb-sok-lista__rad:focus-visible { background: #eaf2ee; outline: none; }
.ovb-sok-lista__titel { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ovb-sok-lista__amne { font-size: 13px; color: #55605a; }
.ovb-sok-lista__tom { margin: 0; padding: 12px; font-size: 15px; color: #55605a; }
.ovb-sok-lista__alla { margin-top: 4px; padding: 12px; border: 0; border-top: 1px solid #efeae0; background: none; text-align: left; font: 600 15px/1.3 Mulish, sans-serif; color: #23604b; cursor: pointer; border-radius: 0 0 10px 10px; }
.ovb-sok-lista__alla:hover, .ovb-sok-lista__alla:focus-visible { background: #eaf2ee; outline: none; }

/* ---- Minivarukorgen (rutan som fälls ut från varukorgsikonen) 2026-11-23 ---- */
#brx-header .brxe-woocommerce-mini-cart .cart-detail { width: 340px; max-width: calc(100vw - 32px); padding: 20px; background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; box-shadow: 0 16px 40px rgba(23, 63, 50, .14); color: #1b231f; font-family: Mulish, sans-serif; text-align: left; }
#brx-header .cart-detail .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow: auto; }
#brx-header .cart-detail .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: start; padding: 0 40px 12px 0; margin: 0; border-bottom: 1px solid #efeae0; font-size: 15px; line-height: 1.35; }
#brx-header .cart-detail .woocommerce-mini-cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
#brx-header .cart-detail .woocommerce-mini-cart-item > a:not(.remove) { display: contents; color: #1b231f; font-weight: 600; text-decoration: none; }
#brx-header .cart-detail .woocommerce-mini-cart-item img { grid-row: 1 / span 2; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; margin: 0; }
#brx-header .cart-detail .woocommerce-mini-cart-item .quantity { grid-column: 2; display: block; margin-top: 2px; font-size: 14px; color: #55605a; }
#brx-header .cart-detail .woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: 2px 0 0; font-size: 13px; color: #55605a; }
#brx-header .cart-detail .woocommerce-mini-cart-item a.remove { position: absolute; top: -4px; right: 0; }
#brx-header .cart-detail .woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #e3ddd2; font-size: 15px; }
#brx-header .cart-detail .woocommerce-mini-cart__total strong { font-weight: 400; color: #55605a; }
#brx-header .cart-detail .woocommerce-mini-cart__total .amount { font-weight: 600; color: #1b231f; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons { display: flex; gap: 8px; margin: 16px 0 0; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons a.button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #cfc7b8; background: #fff; color: #173f32 !important; font: 600 15px/1.2 Mulish, sans-serif; text-decoration: none; transition: background-color .15s, border-color .15s; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons a.button:hover { border-color: #173f32; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons a.button.checkout { background: #23604b; border-color: #23604b; color: #fff !important; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons a.button.checkout:hover { background: #173f32; border-color: #173f32; }
#brx-header .cart-detail .woocommerce-mini-cart__empty-message { margin: 0; font-size: 15px; color: #55605a; }
#brx-header .cart-detail .widget_shopping_cart_content, #brx-header .cart-detail .woocommerce-mini-cart { margin: 0 !important; padding: 0 !important; }
#brx-header .cart-detail .woocommerce-mini-cart-item { padding-top: 0 !important; }
#brx-header .cart-detail .woocommerce-mini-cart__buttons a.button { white-space: nowrap; padding: 0 10px; font-size: 14px; }
/* Mobil: rutan läggs över hela bredden under sidhuvudet i stället för att sticka ut åt vänster */
@media (max-width: 478px) {
  #brx-header .brxe-woocommerce-mini-cart .cart-detail { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; max-width: none; }
}

/* ---- Veckans kurser (/veckans-kurser/, texten från wp-admin › Veckans kurser) 2026-11-24 ---- */
.kh-vecka { display: flex; flex-direction: column; gap: 20px; }
.kh-vecka__viktigt { background: #fbf1e7; border-left: 4px solid #a9531f; border-radius: 12px; padding: 16px 20px; }
.kh-vecka__viktigt strong { display: block; margin-bottom: 4px; color: #6b3512; font-size: 16px; }
.kh-vecka__viktigt p { margin: 0; color: #1b231f; font-size: 16px; line-height: 1.55; }
.kh-vecka__text { background: #fff; border: 1px solid #e3ddd2; border-radius: 16px; padding: 28px 32px; font-size: 17px; line-height: 1.6; }
.kh-vecka__text > :first-child { margin-top: 0; }
.kh-vecka__text > :last-child { margin-bottom: 0; }
.kh-vecka__text strong { color: #173f32; }
.kh-vecka__datum { margin: 0; font-size: 14px; color: #55605a; }
@media (max-width: 478px) { .kh-vecka__text { padding: 20px; font-size: 16px; } }

/* ---- Hero: fotot vid sjön, bred version (2026-11-24). Bilden är lika bred som heron, så den beskärs
   knappt på dator. På mobil (stående) visas den högra delen med Katarina och hundarna. ---- */
.kh-hero { background-position: 70% 62% !important; }
@media (max-width: 767px) { .kh-hero { background-position: 84% 60% !important; } }

/* Kurssidan: kurslistan + högerspalt (mallen kh-kurs-spalt, 1.0.60) */
.kh-kurs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; width: 100%; }
.kh-kurs-aside { scroll-margin-top: 120px; }
.kh-spalt { display: flex; flex-direction: column; gap: 20px; }
.kh-spalt-kort { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #e3ddd2; border-top: 4px solid #23604b; border-radius: 16px; padding: 24px; }
.kh-spalt-rubrik { margin: 0 0 4px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: #173f32; }
.kh-spalt-kort .kh-prose, .kh-spalt-info .kh-prose, .kh-tider .kh-prose { font-size: 16px; line-height: 1.6; }
.kh-spalt-kort .kh-prose p { margin: 0 0 .5em; }
.kh-spalt-kort .kh-prose ul { margin: 0; padding-left: 1.1em; }
.kh-spalt-not { font-size: 15px !important; color: #55605a; }
.kh-spalt-not p { margin: 0; }
.kh-spalt-info .kh-product-name, .kh-tider .kh-product-name { font-size: 17px; }
.kh-tider { margin: 8px 0 24px; }
.kh-tider .kh-prose ul { margin: 0; }
@media (max-width: 991px) {
  .kh-kurs-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* Privatträning och coachning (1.0.62) */
.kh-privat-ingress { font-size: 19px !important; line-height: 1.6; }
.kh-privat-ingress p { margin: 0; }
.kh-notis { background: #fbf1e7; border-left: 4px solid #a9531f; border-radius: 12px; padding: 18px 22px; font-size: 16px !important; line-height: 1.55; }
.kh-notis p { margin: 0 0 .5em; }
.kh-notis strong { color: #6b3512; }
.kh-prislista ul { list-style: none; padding: 0 !important; margin: 4px 0 16px !important; }
.kh-prislista li { padding: 12px 0; border-bottom: 1px solid #e3ddd2; font-size: 15px; line-height: 1.5; color: #55605a; }
.kh-prislista li:first-child { border-top: 1px solid #e3ddd2; }
.kh-prislista li strong { color: #173f32; font-size: 16px; }
.kh-prislista li span { float: right; font-weight: 700; color: #a9531f; font-size: 16px; }
.kh-prislista > p:first-child { font-size: 14px; color: #55605a; margin: 0 0 8px; }
.kh-villkor-kort { border-top-color: #a9531f; }
.kh-villkor-kort .kh-prose { font-size: 15px; line-height: 1.6; }
.kh-kurs-aside > * + * { margin-top: 20px; }
.kh-villkor-lank { display: block; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; }

/* Privatträning: intro med bild, citat, priser och villkor längst ner (1.0.63) */
.kh-privat-intro { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; width: 100%; }
.kh-privat-bild { aspect-ratio: 1200 / 1037; height: auto !important; object-fit: cover; object-position: 40% center; box-shadow: 0 18px 40px rgba(23, 63, 50, .14); }
.kh-citat blockquote { margin: 4px 0; padding: 4px 0 4px 28px; border-left: 4px solid #d9a05a; }
.kh-citat blockquote p { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.55; color: #173f32; margin: 0 0 .6em; }
.kh-citat blockquote p:last-child { font-family: Mulish, sans-serif; font-style: normal; font-size: 15px; font-weight: 700; color: #a9531f; margin: 0; }
.kh-privat-villkor { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; width: 100%; }
@media (max-width: 991px) {
  .kh-privat-intro, .kh-privat-villkor { grid-template-columns: 1fr; gap: 32px; }
  .kh-privat-bild { aspect-ratio: 16 / 10; }
}
@media (max-width: 478px) { .kh-citat blockquote { padding-left: 18px; } .kh-citat blockquote p { font-size: 18px; } }

/* Lösenordsskyddade sidor och produkter (bokningssidan för privatlektioner) */
.post-password-form { max-width: 560px; margin: 24px 0 48px; padding: 32px; background: #fff; border: 1px solid #e3ddd2; border-top: 4px solid #23604b; border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.post-password-form .kh-pw-rubrik { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.2; color: #173f32; }
.post-password-form p { margin: 0; font-size: 16px; line-height: 1.6; color: #1b231f; }
.post-password-form a { color: #23604b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-password-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: #173f32; }
.post-password-form input[type="password"] { min-height: 48px; padding: 0 16px; border: 1px solid #cfc7b8; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: #1b231f; width: 100%; }
.post-password-form input[type="password"]:focus { outline: 2px solid #23604b; outline-offset: 1px; border-color: #23604b; }
.post-password-form input[type="submit"] { align-self: flex-start; min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: #23604b; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.post-password-form input[type="submit"]:hover { background: #173f32; }
.post-password-form .kh-pw-row { display: flex; flex-direction: column; gap: 12px; }

/* Dragspel inuti brödtext (lediga tider i produkttexten, 1.0.65): .kh-prose h3 gav stora marginaler och snea pilar. */
.kh-prose .kh-info-list .accordion-title-wrapper :is(h2, h3, h4) { margin: 0 !important; line-height: 1.4; }
.kh-prose .kh-info-list .accordion-title-wrapper { padding: 14px 0; align-items: center; }
.kh-tider .accordion-title-wrapper:focus:not(:focus-visible) { outline: none !important; }
.kh-tider .accordion-title-wrapper:focus-visible { outline: 2px solid #a9531f; outline-offset: 2px; border-radius: 6px; }
.kh-tider .accordion-content-wrapper .kh-prose { padding-bottom: 8px; }
