/*
Theme Name: Smykker med gravering Modern
Description: Let WooCommerce-tema til smykkermedgravering.dk. Bygget på Gavetilhendes design (gth-modern 0.1.47), men butiksnavn, logo, farver, tekster, menuer, kategorier og informationslinks styres af indstillinger (Udseende > Tilpas > Butik). Ingen redigering af leverandørfiler og ingen bestillings- eller graveringslogik i temaet.
Version: 0.2.5
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: butik-modern
License: GPL-2.0-or-later
*/

.mobile-categories{display:none}
@media(max-width:900px){
 .head{position:relative;flex-wrap:wrap;gap:10px;padding:14px 18px}
 .head .brand{font-size:23px;order:0}
 .head .brand span{font-size:6px;letter-spacing:1px}
 .head .mobile{display:flex;align-items:center;justify-content:center;gap:8px;order:2;width:auto;min-width:86px;min-height:44px;padding:10px 12px;border:1px solid #796b70;border-radius:3px;background:transparent;color:#fff;font-size:14px}
 .mobile svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
 .head .actions{order:1;margin-left:auto;gap:0}
 .head .actions a{min-width:36px;min-height:44px}
 .head nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 140px);overflow-y:auto;overscroll-behavior:contain;background:var(--bm-ink);padding:18px;border-top:1px solid #66565d;font-size:15px}
 .head nav.open{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0}
 .head nav ul{display:flex;flex-direction:column;gap:0;width:100%}
 .head nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 0;border-bottom:1px solid #4d4444}
 .mobile-categories{display:block;margin-top:20px}
 .mobile-menu-heading{display:block;color:var(--bm-accent-on-dark);font-size:12px;letter-spacing:1px;margin-bottom:6px}
}

.wp-shell{max-width:1325px;margin:auto;padding:48px 4%;min-height:55vh}.wp-shell h1{font-size:clamp(30px,4vw,48px);font-weight:500;letter-spacing:-1.5px}.wp-shell p{line-height:1.8}.gth-placeholder{display:grid;place-items:center;min-height:200px;background:#f3eee9;color:#766b65;font-size:12px}.head .actions a{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:44px}.gth-search{display:flex;gap:10px;margin:30px 0}.gth-search input{flex:1;padding:16px;border:1px solid #c5b6ae;min-width:0}.gth-search button{padding:16px 24px;background:var(--bm-accent);color:#fff;border:0}.wp-shell .woocommerce{font-size:14px}.woocommerce div.product .product_title{font-size:32px;line-height:1.2}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--bm-accent);font-size:24px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:0;background:var(--bm-ink);color:#fff;font-weight:400;padding:16px 22px}.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--bm-accent);color:#fff}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--bm-accent-dark)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty{border:1px solid #c5b6ae;min-height:46px;padding:12px;background:#fff}.woocommerce table.shop_table{border-radius:0;border-color:#ddd4ce}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.5;color:var(--bm-ink)}.woocommerce ul.products li.product .price{color:var(--bm-ink);font-size:14px}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--bm-accent);background:#f5efeb}.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{color:var(--bm-accent)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:#faf7f4}.wc-pao-addon-container{margin:22px 0}.wc-pao-addon-container label{font-size:13px}.wc-pao-addon-container input[type=text],.wc-pao-addon-container select,.wc-pao-addon-container textarea{width:100%;padding:14px;border:1px solid #c5b6ae}.woocommerce span.onsale{background:var(--bm-accent);min-width:50px;min-height:50px}.woocommerce div.product form.cart .button{min-height:48px}.woocommerce-account .woocommerce-MyAccount-navigation{padding:20px;background:#faf7f4}.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;margin:16px 0}.wp-shell :where(input,select,textarea,a,button):focus-visible{outline:3px solid var(--bm-accent-bright);outline-offset:3px}.wp-shell .entry-content{max-width:900px}.wp-shell img{max-width:100%;height:auto}footer .brand{font-size:27px}.gth-payment-note{font-size:11px;color:#c3b9b3}
@media(max-width:650px){.wp-shell{padding:28px 18px}.head .actions{gap:0}.head .actions a{min-width:29px}.gth-search button{padding:14px}.woocommerce div.product .product_title{font-size:28px}.woocommerce ul.products li.product{width:48%!important}.gth-search{margin:20px 0}}

.head nav li{list-style:none;margin:0;padding:0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.head nav .sub-menu{display:none}

.head :where(a,button):focus-visible{outline:3px solid var(--bm-accent-on-dark);outline-offset:4px}

.head nav ul{display:flex;flex-wrap:wrap;gap:inherit;list-style:none;padding:0;margin:0}
.head .actions svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gth-cart-link{position:relative}.gth-cart-count{position:absolute;right:-4px;top:0;min-width:17px;height:17px;line-height:17px;text-align:center;background:var(--bm-accent);border-radius:50%;font-size:10px;color:#fff}
.category-tile .gth-placeholder{height:100%;background:linear-gradient(135deg,#eadbdc,#c5b6ae)}
.product-card img{object-fit:contain}.product-card h2{font-size:14px;line-height:1.5;margin:15px 0 4px;font-weight:600}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#faf8f6}
.woocommerce div.product .product_title,.product-card :is(h2,h3){overflow-wrap:anywhere}
@media(max-width:650px){.wp-shell :is(input,select,textarea){font-size:16px}.product-card h2{font-size:12px}.head nav ul{width:100%}}


/* Readable supporting text; no additional font requests. */
.brand span,.head .brand span{font-size:9px;letter-spacing:1px;white-space:normal;line-height:1.5}
.eyebrow{font-size:11px;line-height:1.6}.hero-note{font-size:11px;line-height:1.6;letter-spacing:1px}.photo-caption span{font-size:11px;line-height:1.6}
@media(max-width:900px){.head .brand span{max-width:155px;font-size:9px;letter-spacing:.5px}}
@media(max-width:650px){.hero-copy .eyebrow,.section .eyebrow{font-size:11px}.qualities{font-size:11px;line-height:1.5}.hero-note{font-size:11px}.photo-caption span{font-size:11px}}

footer .gth-contact a,footer .gth-contact p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}footer .gth-contact a{display:block;min-height:32px}footer .gth-contact p{margin-top:10px}

/* Keep the four footer sections readable and links easy to tap. */
body>footer{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr)}body>footer>div{min-width:0}body>footer div>a:not(.brand){display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}body>footer h3{font-size:15px}body>footer .gth-contact a{min-height:44px}
@media(max-width:1000px){body>footer{grid-template-columns:repeat(2,minmax(0,1fr))}body>footer>div:first-child{grid-column:auto}}
@media(max-width:480px){body>footer{grid-template-columns:minmax(0,1fr);gap:28px}body>footer>div:first-child{grid-column:auto}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Information pages: visible links without altering WooCommerce forms. */
.wp-shell .entry-content{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.wp-shell .entry-content a{text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
.wp-shell .entry-content a:hover{text-decoration-thickness:2px}
.wp-shell .entry-content li>a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
.wp-shell .entry-content h2{line-height:1.3;margin-top:1.6em}
.wp-shell .entry-content ul,.wp-shell .entry-content ol{padding-inline-start:1.4em}
/* Search/archive pagination: clear keyboard focus and touch targets. */
.wp-shell .pagination .nav-links,.wp-shell .woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:32px 0;padding:0;list-style:none}
.wp-shell .pagination .page-numbers,.wp-shell .woocommerce-pagination .page-numbers li>a,.wp-shell .woocommerce-pagination .page-numbers li>span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #c5b6ae;font-size:16px;line-height:1.3}
.wp-shell .pagination .current,.wp-shell .woocommerce-pagination .page-numbers .current{background:var(--bm-accent);color:#fff;border-color:var(--bm-accent)}
.wp-shell .pagination a:hover,.wp-shell .woocommerce-pagination .page-numbers a:hover{background:#f3eee9;color:var(--bm-ink)}
.wp-shell .woocommerce-pagination ul.page-numbers,.wp-shell .woocommerce-pagination ul.page-numbers li{border:0}
@media(prefers-reduced-motion:reduce){.category-tile img,.product-card img{transition:none;animation:none}.category-tile:hover img,.product-card:hover img{transform:none}}

/* 0.1.21: trust strip, visible mobile search, calmer typography. No font requests. */
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.gth-usp{background:var(--bm-accent-light);color:var(--bm-ink);font-size:13px;line-height:1.5}
.gth-usp ul{max-width:1440px;margin:0 auto;padding:7px 4%;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 22px}
.gth-usp li{display:inline-flex;align-items:center;white-space:nowrap}.gth-usp li:before{content:'';flex:0 0 auto;width:5px;height:5px;margin-right:7px;border-radius:50%;background:var(--bm-accent)}
.head-search,.mobile-extra{display:none}
.category-tile .category-label{font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.product-card ins,.woocommerce .price ins{text-decoration:none;color:var(--bm-accent)}
.product-card del,.woocommerce .price del{color:#7a6d68;font-weight:400}
.qualities{font-size:13px}.qualities a{text-decoration:underline;text-underline-offset:3px}
.section-title>p{font-size:14px}.steps p,.story p{font-size:15px}
body>footer .footer-note{font-size:12px!important}.gth-shop-facts{font-size:13px}
.woocommerce div.product .product_meta .tagged_as{display:none}
@media(max-width:900px){
 .head-search{display:flex;order:3;flex:1 1 180px;min-width:0}
 .head-search input{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #796b70;border-right:0;border-radius:3px 0 0 3px;background:#fff;color:var(--bm-ink);font-size:16px}
 .head-search button{display:flex;align-items:center;justify-content:center;width:46px;min-height:44px;border:0;border-radius:0 3px 3px 0;background:var(--bm-accent);color:#fff}
 .head-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
 .head-search input:focus-visible{outline:3px solid var(--bm-accent-on-dark);outline-offset:2px}
 .head .actions .gth-search-link{display:none}
 .head nav{max-height:calc(100dvh - 190px)}
 .mobile-extra{display:block;margin-top:20px}
}
@media(max-width:650px){
 .head .brand span{display:none}
 .gth-usp{font-size:12px}.gth-usp ul{padding:6px 14px;gap:2px 16px}
 .hero-copy{padding:28px 20px 26px}.hero h1{font-size:38px;margin:14px 0}
 .hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.7}
 .hero .cta{align-self:stretch}.hero-note{display:none}
 .hero-photo{height:300px}
 .qualities{font-size:12px;flex-wrap:wrap;gap:6px 14px;justify-content:center}.qualities span:nth-child(2){display:inline}
 .category-tile span.category-label{font-size:15px}
 .product-card h3,.product-card h2{font-size:14px}
 .text-link{font-size:13px;max-width:none}
 .steps p,.story p{font-size:15px}
}
@media(max-width:900px){html{scroll-padding-top:140px}}
@media(min-width:651px) and (max-width:900px){.head-search{order:1;flex:1 1 200px}.head .actions{order:2;margin-left:0}.head .mobile{order:3}}
/* 0.1.22: Add-Ons subtotal renders after the button (see functions.php); keep it on its own row. */
.woocommerce div.product form.cart #product-addons-total{clear:both;width:100%;padding-top:14px}
/* 0.1.23: tablet header – the tagline wrapped to three lines beside the search field. */
@media(max-width:900px){.head .brand span{display:none}}
/* 0.1.25: category shortcuts in the desktop header; the mobile menu already lists all categories. */
.head nav .desk-cat{white-space:nowrap}.head nav .desk-cat[aria-current]{text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--bm-accent-on-dark)}
@media(max-width:900px){.head nav .desk-cat{display:none}}
@media(min-width:901px) and (max-width:1180px){.head nav{gap:20px}.head nav .desk-cat-4,.head nav .desk-cat-5{display:none}}
/* 0.1.27: legacy Flatsome shortcodes in posts (mapped in functions.php). */
.gth-legacy-products{margin:40px 0}.gth-legacy-products>h2{font-size:24px;margin:0 0 18px}.gth-legacy-block{margin:16px 0}
/* 0.1.28 moderne designpakke
   Inter (self-hosted, @font-face + preload in functions.php gth_font_head), product cards, sticky mobile
   add-to-cart on single products, calmer type and rounder shapes. Contrast checked (WCAG AA):
   #fff on var(--bm-accent) 7.34; var(--bm-ink) on var(--bm-accent-light) 12.38; var(--bm-accent) on var(--bm-accent-light) 5.74; var(--bm-accent) on #f3eee9 6.37. */
:root{--bm-rose:var(--bm-accent);--bm-rose-dark:var(--bm-accent-dark);--bm-blush:var(--bm-accent-light);--bm-card:#f7f3f1;--bm-radius:12px;--bm-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--bm-serif:ui-serif,"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif}
body{font-family:var(--bm-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.hero h1 em,.story h2,.steps article>span{font-family:var(--bm-serif)}
/* Headings: slightly lighter and tighter with Inter. */
.hero h1{font-weight:600;letter-spacing:-.035em}
.section h2{font-weight:600;letter-spacing:-.025em}
/* Fewer capitals: eyebrow/notes are now sentence case in the templates; plain weight, light spacing. */
.hero-copy .eyebrow,.section .eyebrow,.story .eyebrow{font-size:14px;line-height:1.5;letter-spacing:.02em;font-weight:500;text-transform:none;color:var(--bm-rose)}
.hero-note{font-size:13px;letter-spacing:.01em}.photo-caption span{font-size:14px;letter-spacing:.01em}
.brand span,.head .brand span{font-size:11px;letter-spacing:.02em}.mobile-menu-heading{font-size:13px;letter-spacing:.02em}
/* More air between sections. */
.section{padding-top:96px;padding-bottom:96px}.section-title{margin-bottom:36px}.story{padding:96px 24px}.steps>div{margin-top:48px}
.gth-legacy-products{margin:56px 0}
/* Pill buttons. */
.cta,.gth-search button,.woocommerce :is(a,button,input).button,.head .mobile{border-radius:999px}
.cta{padding:18px 28px}
.gth-search input{border-radius:999px;padding-left:22px;padding-right:22px}
.head-search input{border-radius:999px 0 0 999px;padding-left:16px}.head-search button{border-radius:0 999px 999px 0}
.woocommerce form .form-row :is(input.input-text,textarea),.woocommerce .quantity .qty,.wc-pao-addon-container :is(input[type=text],select,textarea){border-radius:8px}
.wp-shell .pagination .page-numbers,.wp-shell .woocommerce-pagination .page-numbers li>a,.wp-shell .woocommerce-pagination .page-numbers li>span{border-radius:999px}
/* Category tiles: rounded corners, soft shadow (isolation keeps the radius clipping the zoomed image in Safari). */
.category-grid{gap:16px}
.category-tile{border-radius:14px;isolation:isolate;box-shadow:0 4px 18px rgba(36,34,34,.08);transition:box-shadow .25s}
.category-tile:hover{box-shadow:0 10px 28px rgba(36,34,34,.15)}
.woocommerce ul.products li.product-category a img{border-radius:14px;background:var(--bm-card)}
/* Product cards: front page/search .product-card and WooCommerce loops share .gth-media (see functions.php). */
.product-grid{gap:32px 24px}
.gth-media{display:block;position:relative;overflow:hidden;isolation:isolate;border-radius:var(--bm-radius);background:var(--bm-card);transition:box-shadow .25s}
/* Transparent img background + multiply: white product backgrounds take on the card tone evenly. */
.product-card .gth-media img,.woocommerce ul.products li.product .gth-media img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:transparent;mix-blend-mode:multiply;margin:0;border-radius:0;box-shadow:none}
:is(.product-card,.woocommerce ul.products li.product) a:hover .gth-media{box-shadow:0 8px 24px rgba(36,34,34,.13)}
/* Second gallery image (printed before the main image): hidden by default (lazy, so not fetched while hidden);
   on hover with a fine pointer it fades in while the following main image fades out, so they never blend. */
.gth-media>img.gth-alt-img{display:none!important}
@media(hover:hover) and (pointer:fine) and (min-width:651px){
 .gth-media>img.gth-alt-img{display:block!important;position:absolute;top:0;left:0;opacity:0;transition:opacity .3s ease}
 .gth-media>img.gth-alt-img~img{transition:opacity .3s ease}
 :is(.product-card,.woocommerce ul.products li.product) a:is(:hover,:focus-visible) .gth-media>img.gth-alt-img{opacity:1}
 :is(.product-card,.woocommerce ul.products li.product) a:is(:hover,:focus-visible) .gth-media>img.gth-alt-img~img{opacity:0}
}
/* Sale pill. */
.product-card .gth-sale,.woocommerce ul.products li.product span.onsale,.woocommerce div.product span.onsale{position:absolute;top:10px;left:10px;right:auto;z-index:9;margin:0;min-width:0;min-height:0;padding:4px 12px;border-radius:999px;background:var(--bm-rose);color:#fff;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.01em}
/* Title and clear price. */
.product-card :is(h2,h3),.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:500;line-height:1.45;margin:14px 0 4px;padding:0}
.product-card strong,.woocommerce ul.products li.product .price{display:block;font-size:16px;font-weight:600;color:var(--bm-ink);margin-top:6px}
/* Loop button ("Vælg gravering" for products with add-ons, gth_personalized_loop_button). */
.woocommerce ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:12px 20px;font-size:14px;font-weight:500;line-height:1.2;background:var(--bm-ink);color:#fff}
.woocommerce ul.products li.product .button:hover{background:var(--bm-rose);color:#fff}
/* Disabled add-to-cart (e.g. variation not chosen): opaque neutral instead of WooCommerce's purple at 50 %. */
.woocommerce div.product form.cart button.single_add_to_cart_button.disabled{background:#6e6466;color:#fff;opacity:1}
@media(max-width:650px){
 .section{padding-top:56px;padding-bottom:56px}.story{padding:60px 20px}.section-title{margin-bottom:24px}
 .hero-copy .eyebrow,.section .eyebrow,.story .eyebrow{font-size:13px}
 .category-grid{gap:10px}.product-grid{gap:28px 12px}
 .product-card :is(h2,h3),.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}
 .product-card strong,.woocommerce ul.products li.product .price{font-size:15px}
 .woocommerce ul.products li.product .button{width:100%;padding:12px 10px;font-size:13px}
 .product-card .gth-sale,.woocommerce ul.products li.product span.onsale{top:8px;left:8px;padding:3px 10px;font-size:12px}
 /* Sticky add-to-cart on single products. CSS only: the button stays inside form.cart (submit, validation and
    markup untouched). Fixed positioning also takes it out of flow, so the Add-Ons subtotal that renders after it
    (gth_move_addons_totals) can never shift it between mousedown and mouseup. */
 .single-product div.product form.cart button.single_add_to_cart_button{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:30;float:none;width:auto;margin:0;min-height:54px;padding:14px 20px;font-size:16px;font-weight:600;box-shadow:0 8px 24px rgba(36,34,34,.28)}
 /* Reserve room below the footer so the last content can scroll clear of the button. */
 body.single-product>footer{padding-bottom:calc(38px + 78px + env(safe-area-inset-bottom,0px))}
 /* Keep the open mobile menu unobstructed. */
 body.single-product:has(#nav.open) div.product form.cart button.single_add_to_cart_button{visibility:hidden}
}
@media(prefers-reduced-motion:reduce){.gth-media,.gth-media>img,.category-tile{transition:none!important}}
/* 0.1.38 (text: Gerry 17/10, smaller call button); layout from 0.1.34: local shop bar in black – on every page above the header. */
.gth-local{background:#171515;color:#fff;border-bottom:1px solid #3a3333;font-size:clamp(12.5px,3.6vw,15px);line-height:1.45;text-align:center}
.gth-local-in{max-width:1440px;margin:0 auto;padding:10px 12px 11px}
.gth-local p{margin:0;white-space:nowrap}
.gth-local-shop{display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700}
.gth-local svg{flex:0 0 auto;width:1.1em;height:1.1em;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gth-local-shop svg{stroke:var(--bm-accent-on-dark)}
.gth-local-rush{color:#e4dbd8}.gth-local-long{display:none}
.gth-local-cta{margin-top:5px!important}
.gth-local-call{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:2px 12px 2px 2px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.07);color:#f1e9e6;font-size:.92em;font-weight:500;white-space:nowrap;transition:background .2s,border-color .2s}
.gth-local-call strong{color:#fff;font-weight:700;letter-spacing:.02em}
.gth-local-ico{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--bm-accent)}
.gth-local-ico svg{width:12px;height:12px;stroke:#fff}
.gth-local-call:hover{background:var(--bm-accent);border-color:var(--bm-accent);color:#fff}.gth-local-call:hover .gth-local-ico{background:var(--bm-accent-dark)}
.gth-local-call:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:340px){.gth-local p{white-space:normal}}
/* 0.1.39 (som sofiajakobsen.dk 17/10), 0.1.40 (Gerry: kun bjælken fast, headeren scroller væk): mobil/tablet <=849px – lidt større tekst/knap. --bm-bar-h/--bm-head-h sættes af theme.js. */
@media(max-width:849px){
 html{scroll-padding-top:var(--bm-bar-h,130px)}
 .gth-local{position:sticky;top:0;z-index:999;font-size:clamp(12.5px,3.7vw,17px)}
 .gth-local-in{padding:10px 6px 11px}
 .gth-local-shop{font-size:1.08em;gap:4px;letter-spacing:-.015em}
 .gth-local-shop svg{width:.9em;height:.9em}
 .gth-local-call{font-size:1em}
 .gth-local-ico{width:26px;height:26px}
 .gth-local-ico svg{width:13px;height:13px}
 body>header{position:relative;top:auto}
 .head nav{max-height:calc(100dvh - var(--bm-bar-h,122px) - var(--bm-head-h,140px))}
 body .gth-consent{z-index:1000}
 .skip:focus{z-index:1001}
}
@media(max-width:345px){.gth-local-shop{font-size:1em}.gth-local-rush+.gth-local-rush{font-size:.96em}}
/* 0.1.30: statistics consent banner. Both choices are equal buttons on the first layer. */
.gth-consent{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:40;max-width:520px;padding:20px 22px;background:var(--bm-ink);color:#fff;border-radius:var(--bm-radius);box-shadow:0 12px 32px rgba(0,0,0,.3);font-size:14px;line-height:1.55}
.gth-consent p{margin:0 0 10px}.gth-consent .gth-consent-title{font-size:16px;font-weight:700}
.gth-consent a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.gth-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.gth-consent button{min-height:46px;padding:10px 14px;border:2px solid #fff;border-radius:999px;background:transparent;color:#fff;font-size:14px;font-weight:600}
.gth-consent button[data-consent=ja]{background:var(--bm-rose);border-color:var(--bm-rose)}
.gth-consent button:hover{filter:brightness(1.1)}.gth-consent button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:650px){.gth-consent{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:16px 18px;font-size:13.5px}.gth-consent .gth-consent-title{font-size:15px}}
@media(max-width:330px){.gth-consent-actions{grid-template-columns:1fr}}
/* 0.1.41: kurvens rabatkupon-række (Gerry 17/10, skærmbillede): ens højde, bredere felt, læsbar deaktiveret Opdatér kurv-knap. */
.woocommerce-cart table.cart td.actions .coupon{display:flex;flex-wrap:nowrap;gap:10px;align-items:center}
.woocommerce-cart table.cart td.actions .coupon #coupon_code{flex:0 1 240px;width:auto;min-width:0;min-height:46px;margin:0;padding:0 14px}
.woocommerce-cart table.cart td.actions .coupon .button,.woocommerce-cart table.cart td.actions button[name=update_cart]{min-height:46px;margin:0;white-space:nowrap;flex-shrink:0}
.woocommerce-cart table.cart td.actions button[name=update_cart]:disabled{background:#ece6e2;border-color:#ece6e2;color:#5f5656;opacity:1}
@media(max-width:768px){.woocommerce-cart table.cart td.actions .coupon #coupon_code{flex:1 1 140px}.woocommerce-cart table.cart td.actions button[name=update_cart]{margin-top:10px}}

/* 0.1.42: approved seven illustrated homepage categories. Scoped to this grid. */
#categories .gth-icon-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
#categories .gth-icon-category{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:220px;padding:25px 34px 30px;border:1px solid transparent;border-radius:24px;background:var(--bm-accent-light);color:var(--bm-ink);text-align:center;transition:border-color .2s,background-color .2s}
#categories .gth-icon-category :is(img,svg){display:block;width:120px;max-width:62%;height:100px;object-fit:contain;flex:none}
#categories .gth-icon-category>span{font-size:18px;font-weight:500;line-height:1.35;max-width:200px;text-wrap:balance}
#categories .gth-icon-category>b{position:absolute;right:18px;bottom:26px;color:var(--bm-accent);font-size:30px;font-weight:400;line-height:1}
#categories .gth-icon-category:hover{background:#f3d3df;border-color:var(--bm-accent-on-dark)}
#categories .gth-icon-category:focus-visible{outline:3px solid var(--bm-accent);outline-offset:4px}
#categories .gth-all-categories{display:flex;align-items:center;justify-content:center;gap:26px;max-width:650px;min-height:54px;margin:28px auto 0;padding:14px 22px;border-radius:999px;background:var(--bm-accent);color:#fff;font-size:17px}
@media(min-width:1101px){#categories .gth-icon-category:nth-child(5){grid-column:1 / 2}}
@media(max-width:1100px){#categories .gth-icon-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#categories .gth-icon-category:last-child{grid-column:1 / -1;width:calc((100% - 16px)/2);justify-self:center}}
@media(max-width:650px){#categories .gth-icon-categories{gap:12px}#categories .gth-icon-category{min-height:190px;padding:20px 19px 27px;border-radius:20px;gap:9px}#categories .gth-icon-category :is(img,svg){width:104px;height:86px;max-width:85%}#categories .gth-icon-category>span{font-size:15px}#categories .gth-icon-category>b{right:10px;bottom:18px;font-size:25px}#categories .gth-icon-category:last-child{width:calc((100% - 12px)/2)}}
@media(prefers-reduced-motion:reduce){#categories .gth-icon-category{transition:none}}

/* 0.1.43: all seven approved categories remain visible on desktop. */
@media(min-width:901px){
 .head{flex-wrap:wrap;row-gap:18px}
 .head nav{order:3;flex:0 0 100%;justify-content:center;gap:12px 25px;flex-wrap:wrap;font-size:13px;line-height:1.4}
 .head nav .desk-cat,.head nav .desk-cat-4,.head nav .desk-cat-5{display:block;white-space:nowrap}
 .head nav .mobile-categories,.head nav .mobile-extra{display:none}
}

/* 0.1.45: keep the existing contact form and map inside narrow screens. */
.wp-shell .wpcf7-form label,.wp-shell .wpcf7-form-control-wrap{max-width:100%}
.wp-shell .wpcf7-form input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]),.wp-shell .wpcf7-form textarea{width:100%;max-width:100%;box-sizing:border-box}
.wp-shell .entry-content iframe{max-width:100%}

/* 0.1.46: stack coupon controls after cart AJAX updates on narrow screens. */
@media(max-width:768px){.woocommerce-cart table.cart td.actions .coupon{flex-direction:column;align-items:stretch;width:100%}.woocommerce-cart table.cart td.actions .coupon #coupon_code{flex:0 1 auto;width:100%;max-width:100%}.woocommerce-cart table.cart td.actions .coupon .button{width:100%;max-width:100%;white-space:normal}}

/* 0.1.47: checkout thumbnail stays beside the product name on mobile and desktop. */
.woocommerce-checkout-review-order-table .gth-checkout-product{display:inline-flex;align-items:center;gap:12px;max-width:100%;vertical-align:middle}
.woocommerce-checkout-review-order-table .gth-checkout-thumbnail{display:block;flex:0 0 64px;width:64px}
.woocommerce-checkout-review-order-table .gth-checkout-image{display:block;width:64px;height:64px;max-width:100%;object-fit:contain;border-radius:6px;background:#faf8f6}
.woocommerce-checkout-review-order-table .gth-checkout-product-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.woocommerce-checkout-review-order-table .gth-checkout-product{gap:9px}.woocommerce-checkout-review-order-table .gth-checkout-thumbnail{flex-basis:52px;width:52px}.woocommerce-checkout-review-order-table .gth-checkout-image{width:52px;height:52px}}

/* Keep engraving metadata readable in the narrow checkout name column. */
.woocommerce-checkout-review-order-table .product-name dl.variation{margin:10px 0 0}
.woocommerce-checkout-review-order-table .product-name dl.variation dt,.woocommerce-checkout-review-order-table .product-name dl.variation dd{float:none;display:block;clear:both;padding:0;max-width:100%}
.woocommerce-checkout-review-order-table .product-name dl.variation dt{font-weight:600;margin:8px 0 2px}
.woocommerce-checkout-review-order-table .product-name dl.variation dd{margin:0 0 8px}
.woocommerce-checkout-review-order-table .product-name dl.variation dd p{margin:0;word-break:normal;overflow-wrap:anywhere}

/* 0.2.0 Butik Modern: indstillingsstyret logo, ikoner og forside */
.hero h1 .eyebrow{display:block;margin:0 0 24px}.hero h1 .gth-hero-line{display:block}
#categories .gth-icon-category svg{color:var(--bm-ink)}.bm-icon .bm-a{stroke:var(--bm-accent)}.bm-icon .bm-af{fill:var(--bm-accent)}
.brand.has-logo{display:flex;align-items:center;line-height:0}.brand.has-logo img.bm-logo{display:block;width:auto;height:52px;max-width:200px;object-fit:contain}
footer .brand.has-logo img.bm-logo{height:64px;max-width:220px}
@media(max-width:900px){.head .brand.has-logo img.bm-logo{height:40px;max-width:120px}}
@media(max-width:380px){.head .brand.has-logo img.bm-logo{height:34px;max-width:96px}}
.bm-front-intro .intro{max-width:900px}.bm-front-intro .gth-legacy-block{margin:0}.bm-front-intro h2{font-size:clamp(24px,3vw,34px)}
.hero .bm-hero-eyebrow{display:block;margin:0 0 24px}

/* 0.2.4 (26/11-2026): rettelser fra Gave til hende Modern 0.1.53 efter gennemgangen af temaet. Kun denne fil er ændret. */
/* a) Sider/indlæg: tekst holder læsebredden (900px); produktlister må bruge hele bredden.
      Kurv, kasse og Min konto (.woocommerce uden columns-klasse) beholder 900px. */
.wp-shell .entry-content{max-width:none}
.wp-shell .entry-content :is(p,h2,h3,h4,h5,h6,ol,dl,blockquote,table,form,details,address,figure,.wpcf7,.box),.wp-shell .entry-content ul:not(.products),.wp-shell .entry-content .woocommerce:not([class*=columns-]){max-width:900px}
/* b) Produkt- og kategorilister i indhold ([products], [product_categories] og de gamle Flatsome-blokke): gitter med ens kort
      og knapper på linje. Erstatter WooCommerces float-layout her; reglen for tekstlinks (.entry-content li>a, inline-flex) klemte kortene. */
main.wp-shell .entry-content ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;margin:0 0 32px;padding:0;list-style:none}
main.wp-shell .entry-content ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
main.wp-shell .entry-content ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
main.wp-shell .entry-content ul.products.columns-1{grid-template-columns:minmax(0,1fr)}
@media(min-width:1101px){main.wp-shell .entry-content ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}main.wp-shell .entry-content ul.products.columns-6{grid-template-columns:repeat(6,minmax(0,1fr))}}
main.wp-shell .entry-content ul.products::before,main.wp-shell .entry-content ul.products::after{content:none}
main.wp-shell .entry-content ul.products li.product{display:flex;flex-direction:column;float:none;clear:none;width:auto!important;min-width:0;margin:0}
main.wp-shell .entry-content ul.products li.product>a{display:block;min-height:0;padding:0;text-decoration:none}
main.wp-shell .entry-content ul.products li.product>a.woocommerce-LoopProduct-link{flex:1 1 auto}
main.wp-shell .entry-content ul.products li.product>a.button{display:inline-flex;align-self:flex-start;min-height:44px;padding:12px 20px}
.woocommerce ul.products li.product-category mark.count{background:none;color:#766b65;font-weight:400}
@media(max-width:900px){main.wp-shell .entry-content ul.products:is(.columns-4,.columns-5,.columns-6){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){main.wp-shell .entry-content ul.products:not(.columns-1){grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}main.wp-shell .entry-content ul.products li.product>a.button{align-self:stretch;padding:12px 10px}}
/* d) Kontaktformular (Contact Form 7): felter i butikkens stil; label og felt står som blokke, så feltets kant ikke dækkes. */
.wp-shell .wpcf7-form label{display:block;margin:0 0 16px;font-size:14px;font-weight:500;line-height:1.5}
.wp-shell .wpcf7-form .wpcf7-form-control-wrap{display:block;margin-top:6px}
.wp-shell .wpcf7-form :is(input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]),textarea){display:block;min-height:48px;padding:12px 14px;border:1px solid #c5b6ae;border-radius:8px;background:#fff;color:var(--bm-ink);font:inherit;font-size:16px;line-height:1.4}
.wp-shell .wpcf7-form textarea{min-height:160px;resize:vertical}
.wp-shell .wpcf7-form .wpcf7-not-valid{border-color:#a3001b}
/* e) Kurv: tilvalg/gravering står under hinanden på alle skærmbredder; større varebillede; beløb knækker ikke. */
.woocommerce-cart-form :is(td.product-price,td.product-subtotal) .amount{white-space:nowrap}
.woocommerce-cart-form .product-name dl.variation{margin:10px 0 0}
.woocommerce-cart-form .product-name dl.variation dt,.woocommerce-cart-form .product-name dl.variation dd{float:none;display:block;clear:both;padding:0;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}
.woocommerce-cart-form .product-name dl.variation dt{font-weight:600;margin:8px 0 2px}
.woocommerce-cart-form .product-name dl.variation dd{margin:0 0 8px}
.woocommerce-cart-form .product-name dl.variation dd p{margin:0;overflow-wrap:anywhere}
@media(min-width:769px){.woocommerce-cart table.cart td.product-thumbnail{width:96px}.woocommerce-cart table.cart td.product-thumbnail img{width:72px;height:auto;border-radius:6px;background:#faf8f6}}
/* g) Søgning uden resultat: beskeden bruger hele bredden. */
.wp-shell .product-grid>p{grid-column:1 / -1;margin:0}

/* 0.2.5 (26/11-2026): de mindre ting fra gennemgangen (svarer til Gave til hende Modern 0.1.54). */
/* c) Tegnede kategorifelter i gamle indlæg (samme felter som på forsiden, lidt mindre). */
main.wp-shell .entry-content .gth-icon-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0 44px}
main.wp-shell .entry-content a.gth-icon-category{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:168px;padding:18px 20px 22px;border:1px solid transparent;border-radius:18px;background:var(--bm-accent-light);color:var(--bm-ink);text-align:center;text-decoration:none;transition:border-color .2s,background-color .2s}
main.wp-shell .entry-content .gth-icon-category :is(img,svg){display:block;width:96px;max-width:62%;height:78px;object-fit:contain;flex:none;color:var(--bm-ink)}
main.wp-shell .entry-content .gth-icon-category>span{font-size:15px;font-weight:500;line-height:1.35;max-width:200px;text-wrap:balance}
main.wp-shell .entry-content .gth-icon-category>b{position:absolute;right:12px;bottom:14px;color:var(--bm-accent);font-size:24px;font-weight:400;line-height:1}
main.wp-shell .entry-content a.gth-icon-category:hover{background:#f3d3df;border-color:var(--bm-accent-on-dark)}
main.wp-shell .entry-content a.gth-icon-category:focus-visible{outline:3px solid var(--bm-accent);outline-offset:4px}
@media(max-width:1100px){main.wp-shell .entry-content .gth-icon-categories{grid-template-columns:repeat(2,minmax(0,1fr))}main.wp-shell .entry-content .gth-icon-category:last-child:nth-child(odd){grid-column:1 / -1;width:calc((100% - 14px)/2);justify-self:center}}
@media(max-width:650px){main.wp-shell .entry-content .gth-icon-categories{gap:10px}main.wp-shell .entry-content a.gth-icon-category{min-height:150px;padding:14px 12px 18px}}
@media(prefers-reduced-motion:reduce){main.wp-shell .entry-content a.gth-icon-category{transition:none}}
/* h) Større trykflader: "fjern vare" i kurven, sortering på kategorisider og "vis adgangskode". */
.woocommerce a.remove{display:flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:24px;line-height:1}
@media(max-width:768px){.woocommerce a.remove{width:44px;height:44px}}
.woocommerce .woocommerce-ordering select{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #c5b6ae;border-radius:8px;background-color:#fff;color:var(--bm-ink);font:inherit;font-size:16px}
.woocommerce form .show-password-input,.woocommerce-page form .show-password-input{display:flex;align-items:center;justify-content:center;width:44px;height:44px;right:1px}
/* i) Produktgalleri: fem miniaturer pr. række (miniaturerne hentes nu i en større størrelse, se inc/woocommerce.php). */
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:8px}
.woocommerce div.product div.images .flex-control-thumbs::before,.woocommerce div.product div.images .flex-control-thumbs::after{content:none}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;clear:none!important;width:auto;margin:0}
.woocommerce div.product div.images .flex-control-thumbs li img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#faf8f6}
/* j) Sidefod: kategorierne som links; to kolonner på mobil, så sidefoden ikke bliver for lang. */
@media(min-width:1001px){body>footer div.gth-footer-categories>a:not(.brand){min-height:36px;margin-top:0}}
@media(max-width:650px){body>footer .gth-footer-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;align-items:start}body>footer .gth-footer-categories>h3{grid-column:1 / -1}}
