/* Vejle Cykle-Central – WooCommerce */

/* ---------- Fælles ---------- */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.woocommerce #respond input#submit,.wc-forward,.added_to_cart{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:.95rem;line-height:1.2;
  border:2px solid var(--blue);background:var(--blue);color:#fff;cursor:pointer;transition:background .2s,border-color .2s,color .2s;text-align:center
}
.woocommerce .button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover{background:var(--blue-deep);border-color:var(--blue-deep)}
.woocommerce .button.alt,.woocommerce button.button.alt,.single_add_to_cart_button,.checkout-button{background:var(--amber)!important;border-color:var(--amber)!important;color:var(--blue-ink)!important;padding:16px 28px!important;font-size:1.02rem!important}
.woocommerce .button.alt:hover,.single_add_to_cart_button:hover,.checkout-button:hover{background:var(--amber-deep)!important;border-color:var(--amber-deep)!important}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.5;cursor:not-allowed}
.woocommerce .button.loading{opacity:.7}
.woocommerce .button.added::after{content:"✓";margin-left:4px}
.added_to_cart{background:none;color:var(--blue);border-color:transparent;padding:8px 10px}

.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:28px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb .sep{opacity:.5}

/* Beskeder */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{
  list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;justify-content:space-between;
  padding:16px 20px;border-radius:14px;margin:0 0 24px;background:var(--blue-tint);color:var(--blue-deep);font-weight:600;border:0
}
.woocommerce-error{background:#FDECEC;color:#8A1C1C}
.woocommerce-error li+li{margin-top:4px}
.woocommerce-message .button,.woocommerce-info .button{order:2;padding:9px 16px;font-size:.88rem}
.woocommerce-info{background:#FFF4E0;color:#7A4E0B}

/* Stjerner */

/* ---------- Shop-layout ---------- */
.shop-block{padding-top:40px}
.shop-layout{display:block}
.shop-layout.has-sidebar{display:grid;grid-template-columns:250px 1fr;gap:48px;align-items:start}
.shop-sidebar{position:sticky;top:110px;max-height:calc(100vh - 130px);overflow-y:auto;font-size:.95rem}
.cat-tree{list-style:none;display:grid;gap:2px}
.cat-tree a{display:block;padding:7px 12px;border-radius:10px;color:var(--ink);font-weight:600}
.cat-tree a:hover{background:var(--white);color:var(--blue)}
.cat-tree .current-cat>a{background:var(--blue);color:#fff}
.cat-tree .children{list-style:none;display:none;margin:2px 0 6px 12px;padding-left:10px;border-left:2px solid var(--line)}
.cat-tree .children a{font-weight:500;padding:5px 10px}
.cat-tree .current-cat>.children,.cat-tree .current-cat-parent>.children,.cat-tree .current-cat-ancestor>.children{display:grid}
.shop-sidebar .widget{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.shop-sidebar .widget-cats{background:none;border:0;padding:0}
.filter-toggle{display:none;padding:10px 18px}
.filter-toggle svg{width:16px;height:16px}

.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.shop-toolbar .woocommerce-notices-wrapper{flex-basis:100%}
.woocommerce-result-count{color:var(--muted);font-size:.92rem;margin:0}
.woocommerce-ordering{margin:0 0 0 auto}
.woocommerce-ordering select,.woocommerce select,.select2-container .select2-selection--single{
  appearance:none;-webkit-appearance:none;padding:11px 40px 11px 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365273' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/16px;font-weight:600;font-size:.92rem;cursor:pointer
}

@media (max-width:960px){
  .shop-layout.has-sidebar{grid-template-columns:minmax(0,1fr);gap:0}
  .woocommerce-ordering{margin-left:0}
  /* Filtrene åbner lige under knappen Filtre og hænger sammen med den som ét panel */
  .shop-layout.has-sidebar .shop-main{display:contents}
  .shop-layout.has-sidebar .shop-sidebar{order:1}
  .shop-layout.has-sidebar .shop-toolbar~*{order:2}
  .shop-layout.is-loading .shop-main>*{opacity:.5;pointer-events:none;transition:opacity .15s}
  .filter-toggle{display:flex;order:5;flex-basis:100%;justify-content:center;padding:12px 18px}
  .filter-toggle::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 0 0 4px;transition:transform .25s}
  .filter-toggle[aria-expanded=true]{background:var(--blue);color:#fff;border-radius:var(--radius) var(--radius) 0 0;transform:none}
  .filter-toggle[aria-expanded=true]::after{transform:rotate(-135deg);margin-top:4px}
  .shop-toolbar:has(.filter-toggle[aria-expanded=true]){margin-bottom:0}
  .shop-sidebar{position:static;max-height:none;overflow:visible;display:none;margin-bottom:28px;background:var(--white);border:2px solid var(--blue);border-top:0;border-radius:0 0 var(--radius) var(--radius);padding:0 18px}
  .shop-sidebar.open{display:block}
  .shop-sidebar .widget{background:none;border:0;border-radius:0;padding:18px 0;margin:0}
  .shop-sidebar .widget+.widget{border-top:1px solid var(--line)}
  /* Kategorierne findes allerede i menuen og som knapper øverst på siden */
  .shop-sidebar .widget-cats{display:none}
  .shop-sidebar .widget-cats+.widget{border-top:0}
}
/* Touch: knappen må ikke blive stående blå efter man har lukket filtrene */
@media (hover:none){.filter-toggle[aria-expanded=false]:hover{background:transparent;color:var(--blue)}}

/* ---------- Prisfilter ---------- */
#shop{scroll-margin-top:110px}
.widget-filter{margin-top:20px}
.widget-filter .widget-title{margin-bottom:14px}
.pf-help{margin:-8px 0 12px;font-size:.88rem;line-height:1.4;color:var(--muted)}
.pf-submit[hidden]{display:none}
.shop-filter .pf-fields{margin-bottom:0}
.pf-actions>*{margin-top:12px}
.shop-sidebar .sg-table{margin-top:14px}
.pf-slider{position:relative;height:24px;margin-bottom:14px}
.pf-slider[hidden]{display:none}
.pf-track{position:absolute;left:0;right:0;top:9px;height:6px;border-radius:999px;background:linear-gradient(to right,var(--line) var(--from,0%),var(--blue) var(--from,0%),var(--blue) var(--to,100%),var(--line) var(--to,100%))}
.pf-slider input{position:absolute;inset:0;width:100%;height:24px;margin:0;background:none;appearance:none;-webkit-appearance:none;pointer-events:none}
.pf-slider input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid var(--blue);cursor:grab}
.pf-slider input::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--blue);cursor:grab}
.pf-slider input:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:999px}
.pf-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.pf-fields label{display:grid;gap:4px;font-size:.8rem;font-weight:700;color:var(--muted)}
.pf-fields input{width:100%;min-width:0;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-size:.95rem;color:var(--ink);font-weight:600}
.pf-actions{display:flex;align-items:center;gap:14px}
.pf-actions .btn{padding:10px 20px;font-size:.9rem}
.pf-actions a{font-size:.88rem;color:var(--blue);text-decoration:underline}

/* ---------- Størrelsesguide ---------- */
.hf-slider{margin-bottom:4px}
.hf-scale{display:flex;justify-content:space-between;margin-bottom:12px;font-size:.8rem;font-weight:600;color:var(--muted)}
.hf-slider input{pointer-events:auto;cursor:pointer}
.hf-slider.is-empty .pf-track{background:var(--line)}
.hf-slider.is-empty input::-webkit-slider-thumb{border-color:var(--muted)}
.hf-slider.is-empty input::-moz-range-thumb{border-color:var(--muted)}
.sg-input{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:#fff}
.sg-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(54,82,115,.15)}
.sg-input input{width:64px;padding:12px 0;border:0;background:none;font-weight:700;font-size:1.05rem;outline:none}
.sg-input span{color:var(--muted);font-weight:600}
.sg-result{margin-bottom:20px;padding:14px 18px;border-radius:14px;background:var(--blue-tint);color:var(--blue-deep)}
.sg-result a{margin-left:6px;font-weight:600;text-decoration:underline;white-space:nowrap}
.sg-table{margin-top:16px;font-size:.95rem}
.sg-table summary{cursor:pointer;font-weight:700;color:var(--blue)}
.shop-sidebar .sg-table{font-size:.85rem}
.sg-table table{width:100%;max-width:560px;border-collapse:collapse;margin:12px 0}
.sg-table th,.sg-table td{padding:9px 12px;text-align:left;border-bottom:1px solid var(--line)}
.shop-sidebar .sg-table th,.shop-sidebar .sg-table td{padding:7px 4px}
.shop-sidebar .sg-table th{font-size:.7rem}
.sg-table th{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sg-table tr.is-fit td{background:var(--blue-tint);font-weight:700}
.sg-table p{color:var(--muted);font-size:.88rem}
.pcard-fit{align-self:flex-start;padding:3px 10px;border-radius:999px;background:var(--blue-tint);color:var(--blue-deep);font-size:.78rem;font-weight:700}
@media (max-width:640px){
  .sg-input input{flex:1;width:auto;min-width:0}
}

/* ---------- Produktgitter ---------- */
ul.products{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0;padding:0}
ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
ul.products.columns-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:1100px){ul.products,ul.products.columns-4{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){ul.products,ul.products.columns-3,ul.products.columns-4{grid-template-columns:repeat(2,1fr);gap:14px}}
@media (max-width:420px){ul.products,ul.products[class*=columns]{grid-template-columns:1fr}}

.pcard{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .3s var(--ease),box-shadow .3s;position:relative}
.pcard:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(30,49,70,.12)}
.pcard-link{display:flex;flex-direction:column;flex:1}
.pcard-img{position:relative;aspect-ratio:1;background:var(--blue-tint);display:grid;place-items:center;padding:18px;overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .5s var(--ease)}
.pcard:hover .pcard-img img{transform:scale(1.04)}
.pcard-img .tag{top:12px;left:12px;font-size:.72rem;padding:5px 10px}
.pcard-img .tag-muted{left:auto;right:12px}
.pcard-body{padding:18px 18px 8px;display:flex;flex-direction:column;gap:6px;flex:1}
.pcard-body h3{font-size:1.08rem;line-height:1.25}
.pcard-body .price{margin-top:auto;padding-top:8px}
.pcard-body .price,.pcard-body .price .amount{font-size:1.25rem}
.pcard-body .price del,.pcard-body .price del .amount{font-size:.9rem}
.pcard-actions{padding:0 18px 18px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pcard-actions .button{padding:10px 18px!important;font-size:.88rem!important;background:transparent!important;color:var(--blue)!important;border:2px solid var(--blue)!important}
.pcard-actions .button:hover{background:var(--blue)!important;color:#fff!important}
@media (max-width:520px){.pcard-body{padding:14px 14px 6px}.pcard-actions{padding:0 14px 14px}.pcard-body h3{font-size:.98rem}}
.woocommerce-no-products-found .woocommerce-info{justify-content:center}

/* ---------- Enkelt produkt ---------- */
.single-block{padding-top:36px}
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:start;position:relative}
.single-product div.product>.onsale{position:absolute;top:18px;left:18px;z-index:5}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells,.single-product div.product>.woocommerce-notices-wrapper{grid-column:1/-1}
@media (max-width:960px){.single-product div.product{grid-template-columns:1fr;gap:32px}}

.woocommerce-product-gallery{position:relative;margin:0}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:only-child{background:var(--blue-tint);border-radius:var(--radius);overflow:hidden}
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image{background:var(--blue-tint);isolation:isolate}
.woocommerce-product-gallery__image a{display:block}
.woocommerce-product-gallery__image img{width:100%;height:auto;mix-blend-mode:multiply}
.woocommerce-product-gallery__image a img.wp-post-image,.woocommerce-product-gallery__image>a>img{aspect-ratio:4/3;height:auto;object-fit:contain}
.woocommerce-product-gallery__image:has(.zoomImg[style*="opacity: 1"]) a img{opacity:0}
.woocommerce-product-gallery__trigger{position:absolute;top:16px;right:16px;z-index:9;width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:0;box-shadow:0 6px 18px rgba(20,33,47,.15);transition:background .2s}
.woocommerce-product-gallery__trigger::before{content:"";width:22px;height:22px;background:var(--blue);transition:background .2s;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/contain no-repeat}
.woocommerce-product-gallery__trigger:hover{background:var(--blue)}
.woocommerce-product-gallery__trigger:hover::before{background:#fff}
.woocommerce-product-gallery__trigger span,.woocommerce-product-gallery__trigger img{display:none!important}
.flex-control-thumbs{user-select:none;-webkit-user-select:none;caret-color:transparent;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}
.flex-control-thumbs li{aspect-ratio:4/3;padding:6px;background:var(--blue-tint);border-radius:12px;overflow:hidden;cursor:pointer}
.flex-control-thumbs img{display:block;width:100%!important;height:100%!important;object-fit:contain;opacity:.55;transition:opacity .2s;mix-blend-mode:multiply}
.flex-control-thumbs img.flex-active,.flex-control-thumbs img:hover{opacity:1}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs{grid-template-columns:repeat(4,1fr)}

.summary.entry-summary{display:flex;flex-direction:column;gap:16px}
.summary .eyebrow{margin-bottom:-6px}
.summary .product_title{font-size:clamp(2rem,3.6vw,3rem);font-stretch:106%}
.summary .price,.summary .price .amount{font-size:2rem}
.summary .woocommerce-product-details__short-description{color:var(--muted);font-size:1.05rem}

.summary form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;padding:20px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin:4px 0}
.summary form.cart .single_variation_wrap{flex-basis:100%;display:grid;gap:12px}
.summary form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px}
.summary form.variations_form{display:block}
.summary .single_add_to_cart_button{flex:1}
.quantity{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;background:#fff;overflow:hidden}
.quantity .qty{width:52px;border:0;text-align:center;font-weight:700;font-size:1rem;padding:12px 0;-moz-appearance:textfield;background:none}
.quantity .qty::-webkit-outer-spin-button,.quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-btn{width:42px;height:100%;min-height:46px;border:0;background:none;font-size:1.2rem;font-weight:700;color:var(--blue);cursor:pointer}
.qty-btn:hover{background:var(--blue-tint)}
.quantity:has(input[type=hidden]){display:none}

table.variations{width:100%;border-collapse:collapse;margin-bottom:8px}
table.variations th,table.variations td{display:block;text-align:left;padding:0}
table.variations th label{font-size:.85rem;font-weight:700;color:var(--muted)}
table.variations td{padding:6px 0 14px}
table.variations select{width:100%;border-radius:12px}
/* Varer uden varianter: faste oplysninger i købsboksen */
.simple-specs{flex-basis:100%;display:grid;gap:14px;margin-bottom:4px}
.simple-spec{display:grid;gap:6px}
.simple-spec-label{font-size:.85rem;font-weight:700;color:var(--muted)}
.simple-spec-value{display:flex;align-items:center;gap:10px;padding:13px 16px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-weight:700}
/* Farvevarianter */
.swatch{display:inline-block;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18);flex:none}
.pcard-colors{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.pcard-colors .swatch{cursor:pointer;outline:2px solid transparent;outline-offset:2px;transition:outline-color .15s,transform .15s}
.pcard-colors .swatch:hover{transform:scale(1.12)}
.pcard-colors .swatch.is-active{outline-color:var(--blue)}
.pcard-colors .swatch.is-out{opacity:.4}
.swatch-more,.swatch-label{font-size:.78rem;font-weight:700;color:var(--muted)}
.swatch-label{margin-left:2px}
.has-color-buttons select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.color-buttons{display:flex;flex-wrap:wrap;gap:8px}
.color-btn{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s}
.color-btn .swatch{width:22px;height:22px}
.color-btn:hover{border-color:var(--blue)}
.color-btn.is-active{border-color:var(--blue);background:var(--blue-tint);box-shadow:inset 0 0 0 1px var(--blue)}
.color-btn:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.reset_variations{display:inline-block;margin-top:8px;font-size:.85rem;color:var(--muted);text-decoration:underline}
.woocommerce-variation-price .price{font-size:1.5rem}
.woocommerce-variation-availability .stock{margin:0}
.stock{font-weight:700;font-size:.92rem}
.stock.in-stock{color:#2E8B57}
.stock.out-of-stock{color:#B42318}

.store-only{padding:20px;border-radius:var(--radius);background:var(--blue);color:#fff}
.store-only p{margin-bottom:14px;color:#D5DFE9}
.store-only .btn-line{border-color:#fff;color:#fff}
.store-only .btn-line:hover{background:#fff;color:var(--blue)}
.p-note{margin-top:-4px}

.usps{list-style:none;display:grid;gap:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);overflow:hidden}
.usps li{display:flex;gap:14px;align-items:flex-start;padding:14px 18px;font-size:.92rem;color:var(--muted)}
.usps li+li{border-top:1px solid var(--line)}
.usps svg{width:22px;height:22px;color:var(--blue);flex:none;margin-top:1px}
.usps b{display:block;color:var(--ink);font-size:.98rem}

.product_meta{font-size:.85rem;color:var(--muted);display:grid;gap:4px}
.product_meta a{color:var(--blue)}

/* Faner */
.woocommerce-tabs{margin-top:24px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:4px;padding:10px 10px 0;border-bottom:1px solid var(--line);overflow-x:auto;background:var(--paper)}
.woocommerce-tabs ul.tabs li a{display:block;padding:12px 18px;font-weight:700;color:var(--muted);border-radius:12px 12px 0 0;white-space:nowrap}
.woocommerce-tabs ul.tabs li.active a{background:var(--white);color:var(--blue);box-shadow:0 1px 0 var(--white)}
.woocommerce-tabs .panel{padding:32px;margin:0}
.woocommerce-tabs .panel>h2:first-child{font-size:1.5rem;margin-bottom:18px}
.woocommerce-tabs .panel p+p{margin-top:1em}
.woocommerce-tabs .panel ul{padding-left:1.2em}
table.specs{width:100%;border-collapse:collapse;max-width:760px}
table.specs th,table.specs td{padding:13px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.specs th{width:40%;color:var(--muted);font-weight:600;padding-right:20px}
@media (max-width:640px){.woocommerce-tabs .panel{padding:22px}}

.related>h2,.upsells>h2,.cross-sells>h2{font-size:clamp(1.8rem,3vw,2.4rem);margin:48px 0 24px}

/* ---------- Formularer (konto, klassisk kasse) ---------- */
.woocommerce form .form-row{display:grid;gap:6px;margin-bottom:14px}
.woocommerce form .form-row label{font-size:.85rem;font-weight:700;color:var(--muted)}
.woocommerce form .form-row .required{color:#B42318;text-decoration:none}
.woocommerce form .input-text,.woocommerce form textarea,.woocommerce-Input,.woocommerce form select{width:100%;padding:13px 16px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-size:1rem}
.woocommerce form .input-text:focus,.woocommerce form textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(54,82,115,.15)}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{display:inline-grid;width:calc(50% - 8px)}
.woocommerce form .form-row-first{margin-right:12px}
@media (max-width:640px){.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;margin-right:0}}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.woocommerce-form__label-for-checkbox{display:inline-flex!important;gap:8px;align-items:center;font-weight:600!important}
.u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.u-columns h2{font-size:1.6rem;margin-bottom:16px}
@media (max-width:820px){.u-columns.col2-set{grid-template-columns:1fr}}
.lost_password{font-size:.88rem;margin-top:10px}
.lost_password a{color:var(--blue);text-decoration:underline}

/* Min konto */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:40px;align-items:start}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-MyAccount-navigation ul{list-style:none;display:grid;gap:2px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:10px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:10px;font-weight:600}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation a:hover{background:var(--blue-tint);color:var(--blue)}
.woocommerce-MyAccount-content{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.woocommerce-MyAccount-content>p+p{margin-top:1em}
.woocommerce-MyAccount-content a{color:var(--blue)}
@media (max-width:820px){.woocommerce-account .woocommerce{grid-template-columns:1fr}}

/* Tabeller (ordrer, klassisk kurv) */
.woocommerce table.shop_table{width:100%;border-collapse:collapse;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;font-size:.95rem}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}
.woocommerce table.shop_table thead th{background:var(--paper);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.woocommerce table.shop_table .product-thumbnail img{width:72px;border-radius:10px;background:var(--blue-tint)}
.woocommerce table.shop_table a.remove{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--paper);color:#B42318;font-size:1.2rem;font-weight:700}
.woocommerce table.shop_table td.actions{text-align:right}
.woocommerce table.shop_table td.actions .coupon{display:inline-flex;gap:8px;float:left}
.woocommerce .cart-collaterals{margin-top:32px;display:flex;justify-content:flex-end}
.woocommerce .cart_totals{width:100%;max-width:440px}
.woocommerce .cart_totals h2{font-size:1.5rem;margin-bottom:12px}
.woocommerce .wc-proceed-to-checkout{margin-top:16px}
.woocommerce .wc-proceed-to-checkout .checkout-button{width:100%}
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0 32px}
.woocommerce-order-overview li{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px 16px;font-size:.85rem;color:var(--muted)}
.woocommerce-order-overview li strong{display:block;color:var(--ink);font-size:1rem;margin-top:2px}
.woocommerce-order-details,.woocommerce-customer-details{margin-top:32px}
.woocommerce-order-details h2,.woocommerce-customer-details h2,.woocommerce-column__title{font-size:1.4rem;margin-bottom:14px}
.woocommerce-customer-details address{font-style:normal;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px}

/* Klassisk kasse */
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:32px}
#order_review_heading{font-size:1.5rem;margin:32px 0 14px}
#payment{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-top:20px}
#payment ul.payment_methods{list-style:none;display:grid;gap:10px;margin-bottom:16px}
#payment .payment_box{background:var(--paper);padding:14px;border-radius:10px;margin-top:8px;font-size:.92rem}
#place_order{width:100%}
@media (max-width:820px){.woocommerce-checkout .col2-set{grid-template-columns:1fr}}

/* ---------- Blokke: kurv og kasse ---------- */
.wc-page .wc-content{font-size:1rem}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--font)}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{
  border-radius:999px!important;background:var(--amber)!important;color:var(--blue-ink)!important;font-weight:800!important;min-height:54px;border:0!important
}
.wc-block-components-button:not(.is-link):hover{background:var(--amber-deep)!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select .wc-blocks-components-select__select{border-radius:12px!important;border-color:var(--line)!important}
.wc-block-components-totals-wrapper,.wc-block-components-sidebar .wc-block-components-panel{border-color:var(--line)!important}
.wc-block-cart-items__row .wc-block-components-product-name{font-weight:700;color:var(--ink);text-decoration:none}
.cart-empty-row{display:flex;justify-content:flex-end;margin:16px 0 32px}
.cart-empty-btn{padding:10px 18px;font-size:.9rem}
/* Kurv: "Glemt hjelmen?" */
.cart-helmets{margin:0 0 32px;padding:20px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}
.cart-helmets-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:8px}
.cart-helmets-head h2{font-size:1.25rem;margin:0}
.cart-helmets-head a{color:var(--blue);font-weight:700;font-size:.9rem}
.cart-helmets-list{list-style:none;margin:0;padding:0 12px 0 0;max-height:310px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.cart-helmet{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 0;border-top:1px solid var(--line)}
.cart-helmet:first-child{border-top:0}
.cart-helmet-img{flex:none;width:64px;height:64px;border-radius:10px;background:#fff;overflow:hidden}
.cart-helmet-img img{width:100%;height:100%;object-fit:contain}
.cart-helmet-info{flex:1 1 160px;min-width:0;display:grid;gap:2px}
.cart-helmet-name{font-weight:700;color:var(--ink);text-decoration:none;line-height:1.3}
.cart-helmet-name:hover{color:var(--blue)}
.cart-helmet-price{font-size:.95rem}
.cart-helmet-price del{opacity:.6;font-weight:400}
.cart-helmet-form{display:flex;align-items:center;gap:8px;margin:0 0 0 auto}
.cart-helmet-form select{min-width:0;max-width:150px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:.9rem}
.cart-helmet-size{font-size:.9rem;color:var(--ink)}
.cart-helmet-btn{padding:10px 18px;font-size:.9rem;white-space:nowrap;margin-left:auto}
.cart-helmet-form .cart-helmet-btn{margin-left:0}
.wc-block-components-product-image img{border-radius:10px;background:var(--blue-tint)}
.wc-block-components-sidebar-layout .wc-block-components-main{padding-right:4%}
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button{color:var(--blue)}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font-size:1.8rem}
/* Produktgrid i blokke (fx "Ny i webshop" i tom kurv): ens billeder og kort på linje */
.wc-block-grid__products{align-items:stretch}
.wc-block-grid__product{display:flex;flex-direction:column;text-align:center}
.wc-block-grid__product-link{display:flex;flex-direction:column;flex:1 1 auto;text-decoration:none;color:var(--ink)}
.wc-block-grid__product-image{aspect-ratio:1/1;background:#fff;border-radius:10px;overflow:hidden;margin-bottom:12px!important}
.wc-block-grid__product-image img{width:100%!important;height:100%!important;object-fit:contain}
.wc-block-grid__product-title{flex:1 1 auto;margin-bottom:8px}
.wc-block-grid__product-price{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:4px 8px;margin-bottom:12px}
.wc-block-grid__product-add-to-cart{margin-top:auto}
/* Temaets store .price-stil må ikke ramme blokkenes priser (ordreoversigt, kurv) */
.wc-block-components-product-price.price{display:block;font-size:inherit;font-weight:inherit;color:inherit;line-height:inherit}
.wc-block-components-product-price.price .amount{font-size:inherit;line-height:inherit}
.wc-block-components-product-price.price del,.wc-block-components-product-price.price del .amount{font-size:inherit;font-weight:400}
.wc-block-components-order-summary-item__total-price{font-weight:700;white-space:nowrap}

/* Prisfilter-widget (klassisk) */
.price_slider_wrapper .ui-slider{position:relative;height:6px;background:var(--line);border-radius:999px;margin:16px 6px 20px}
.price_slider_wrapper .ui-slider-range{position:absolute;height:100%;background:var(--blue);border-radius:999px}
.price_slider_wrapper .ui-slider-handle{position:absolute;top:-6px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:#fff;border:3px solid var(--blue);cursor:grab}
.price_slider_amount{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:.88rem}
.price_slider_amount .button{padding:8px 16px;font-size:.85rem}
.price_slider_amount input{display:none}
.widget_layered_nav ul li,.wc-block-product-categories-list-item{padding:4px 0}
.widget_layered_nav .count{color:var(--muted);font-size:.85rem}

/* Rettelser */
.summary form.cart .quantity .qty{width:52px!important;padding:12px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.summary form.cart .quantity{flex:none}
.summary .price del,.summary .price del .amount{font-size:1.15rem!important;font-weight:500}
.shop-sidebar .widget h2,.shop-sidebar .widget .wp-block-heading{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.shop-layout.is-loading .shop-main{opacity:.5;pointer-events:none;transition:opacity .15s}

/* Søgning: lignende varer når der ikke er præcise resultater */
.search-similar-head{font-size:1.05rem;color:var(--muted);margin:0 0 20px}
.search-similar-head strong{color:var(--ink)}
