/* Danish catalogue/product anatomy, canonical tokens and Swedish compatibility.
 * Commerce markup, stock/query hooks and provider content remain market-owned. */
html body.ms-storefront.ms-storefront-browse .category-product > .container,
html body.ms-storefront .single-product-container > .container {
  width:100%!important; max-width:1170px!important; padding-left:16px!important; padding-right:16px!important; box-sizing:border-box;
}
html body.ms-storefront.ms-storefront-browse .category-product > .container > .row { margin-left:0!important; margin-right:0!important; }
html body.ms-storefront.ms-storefront-browse .category-product > .container > .row > .col-12 { padding-left:0!important; padding-right:0!important; }
html body.ms-storefront.ms-storefront-browse .woocommerce-products-header { text-align:center; margin:16px 0 12px!important; height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; }
html body.ms-storefront.ms-storefront-browse h1.page-title { font:800 28px/34px Inter,sans-serif!important; color:#0f172a; margin:0!important; overflow-wrap:anywhere; }
html body.ms-storefront.ms-storefront-browse :is(.ms-storefront-category-description,.term-description,.product-cat-details) { max-height:none!important; overflow:visible!important; font:400 14px/21px Inter,sans-serif!important; color:#334155; }
html body.ms-storefront.ms-storefront-browse .ms-storefront-category-description p { font:inherit!important; }
html body.ms-storefront.ms-storefront-browse .woocommerce-breadcrumb { display:block!important; margin:12px 0!important; font:400 12px/18px Inter,sans-serif!important; }
.ms-storefront-child-categories,.ms-storefront-filter-chips { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.ms-storefront-child-categories a,.ms-storefront-filter-chips a { display:inline-flex; align-items:center; gap:12px; min-height:44px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:10px; background:#f8fafc; color:#214249; font:600 13px/18px Inter,sans-serif; overflow-wrap:anywhere; }
html body.ms-storefront.ms-storefront-browse .delivery-section { margin:12px 0!important; background:#f8fafc!important; border:1px solid #e5e7eb!important; border-radius:10px!important; min-height:44px; }
html body.ms-storefront.ms-storefront-browse .delivery-section p { font:400 12px/16px Inter,sans-serif!important; }
html body.ms-storefront .ms-cro-catalog-controls { margin:12px 0; border-radius:10px; }
html body.ms-storefront .ms-cro-catalog-controls summary { min-height:44px!important; }
html body.ms-storefront .ms-cro-catalog-fields select { height:48px; min-height:48px; border-radius:10px; }
html body.ms-storefront .ms-cro-catalog-actions button { min-height:48px; border-radius:10px; }
html body.ms-storefront .ms-cro-catalog-actions a { min-height:44px; display:inline-flex; align-items:center; }
html body.ms-storefront .ms-cro-catalog-close { flex-basis:44px!important; width:44px!important; height:44px; min-height:44px; }
html body.ms-storefront.ms-storefront-browse :is(a,button,select,summary):focus-visible,
html body.ms-storefront .ms-storefront-product :is(a,button,input,select):focus-visible,
html body.ms-storefront .ms-cro-catalog-dialog :is(a,button,select):focus-visible { outline:3px solid #2563eb!important; outline-offset:2px!important; }
html body.ms-storefront.ms-storefront-browse ul.products { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:20px 10px!important; margin:16px 0!important; padding:0!important; }
html body.ms-storefront.ms-storefront-browse ul.products::before,
html body.ms-storefront.ms-storefront-browse ul.products::after { display:none!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product { float:none!important; width:100%!important; max-width:none!important; min-width:0!important; margin:0!important; padding:0 0 10px!important; display:flex!important; flex-direction:column!important; background:#fff!important; border:1px solid #e5e7eb!important; border-radius:12px!important; box-shadow:0 1px 2px rgb(15 23 42 / 6%)!important; overflow:hidden; }
html body.ms-storefront.ms-storefront-browse ul.products li.product > a.woocommerce-LoopProduct-link.woocommerce-loop-product__link { flex:1; display:flex!important; flex-direction:column!important; min-width:0; position:relative; color:#0f172a; margin:0!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .product-image-wrapper { flex:none!important; aspect-ratio:1; width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; margin:0!important; padding:8px!important; background:#fff!important; border-bottom:1px solid #e5e7eb; position:relative; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .product-image-wrapper > img { width:100%!important; height:100%!important; max-height:none!important; margin:0!important; object-fit:contain!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .woocommerce-loop-product__title { margin:8px 10px!important; padding:0!important; font:600 14px/19px Inter,sans-serif!important; color:#0f172a!important; min-height:38px!important; height:auto!important; overflow:visible!important; white-space:normal!important; display:block!important; -webkit-line-clamp:unset!important; overflow-wrap:break-word; hyphens:auto; hyphenate-limit-chars:14 4 4; text-wrap:balance; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .price { margin:auto 10px 8px!important; display:flex!important; flex-wrap:wrap!important; gap:4px!important; height:auto!important; min-height:24px!important; font:700 16px/22px Inter,sans-serif!important; color:#214249!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .price del { color:#64748b!important; opacity:1!important; font-size:12px!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product .price ins { background:transparent!important; text-decoration:none!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product > .button,
html body.ms-storefront.ms-storefront-browse ul.products li.product > .added_to_cart { position:static!important; display:flex!important; align-items:center!important; justify-content:center!important; gap:4px; width:calc(100% - 20px)!important; min-height:44px!important; height:auto!important; padding:8px 6px!important; margin:0 10px!important; border-radius:10px!important; background:#214249!important; color:#fff!important; font:700 12px/16px Inter,sans-serif!important; text-transform:none!important; text-align:center; box-shadow:none!important; white-space:normal!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product > .button:hover { background:#1a3439!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product p.stock { position:static!important; align-self:flex-end; width:auto!important; margin:4px 10px 0!important; padding:3px 6px!important; min-height:22px!important; border-radius:999px!important; background:#f0fdf4!important; color:#166534!important; font:600 11px/16px Inter,sans-serif!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product p.stock.out-of-stock { color:#b91c1c!important; background:#fef2f2!important; }
html body.ms-storefront.ms-storefront-browse .btn_wrapper { clear:both; text-align:center; padding:12px 0 24px; }
html body.ms-storefront.ms-storefront-browse .showMore { display:inline-flex!important; align-items:center; justify-content:center; min-height:48px!important; border-radius:10px; padding:8px 20px; color:white; background:#214249; }
html body.ms-storefront.ms-storefront-browse #bitBirds_ajax_category_progress_bar { max-width:300px; margin:8px auto; }
html body.ms-storefront.ms-storefront-browse #bitBirds_ajax_category_progress_bar .progressbar { height:6px; overflow:hidden; border-radius:999px!important; }
html body.ms-storefront.ms-storefront-browse #bitBirds_ajax_category_progress_bar .proggress { height:6px; background:#214249; }
html body.ms-storefront.ms-storefront-browse #bitBirds_ajax_category_progress_bar .percentCount { display:none; }
html body.single-product.ms-storefront .single-product-container .ms-storefront-product > .single-product-wrapper,
html body.single-product.ms-storefront .single-product-container .ms-storefront-product > .single-product-tabs { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:24px!important; }
html body.single-product.ms-storefront .single-product-container .ms-storefront-product > :is(.single-product-wrapper,.single-product-tabs) > :is(.col-12,.col-lg-5,.col-lg-7) { flex:none!important; width:100%!important; max-width:100%!important; padding:0!important; min-width:0; }
html body.ms-storefront .ms-storefront-product .single-product-image { background:#fff!important; border:1px solid #e5e7eb!important; border-radius:12px!important; width:100%!important; min-height:0!important; height:auto!important; overflow:hidden; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery { width:100%!important; margin:0!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__trigger,
html body.ms-storefront .ms-storefront-product .tns-controls button,
html body.ms-storefront .ms-storefront-product .bitbirds_product_slider_thumbnails [data-nav] { min-width:44px!important; min-height:44px!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__trigger { left:auto!important; right:12px!important; top:12px!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__trigger::before { left:calc(50% - 7px)!important; top:calc(50% - 8px)!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__trigger::after { left:calc(50% + 3px)!important; top:calc(50% + 5px)!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__wrapper { margin:0!important; }
html body.ms-storefront .ms-storefront-product .bitbirds_product_slider_thumbnails { min-width:100%!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery .tns-nav { display:flex; justify-content:center; gap:0; margin:0; padding:0; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery .tns-nav button { width:44px; min-width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; box-shadow:none; cursor:pointer; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery .tns-nav button::before { content:''; display:block; width:10px; height:10px; margin:auto; border-radius:50%; background:#94a3b8; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery .tns-nav button.tns-nav-active::before { background:#214249; }
html body.ms-storefront .ms-storefront-product :is(.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder) { background:#fff; }
html body.ms-storefront .ms-storefront-product .woocommerce-product-gallery__image--placeholder img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
html body.ms-storefront .ms-storefront-product .single-product-content { margin:0!important; }
html body.ms-storefront .ms-storefront-product h1.product_title { font:700 18px/23px Inter,sans-serif!important; margin:0 0 8px!important; overflow-wrap:anywhere; }
html body.ms-storefront .ms-storefront-product .summary > p.price { font:700 24px/30px Inter,sans-serif!important; color:#214249!important; margin:0 0 8px!important; }
html body.ms-storefront .ms-storefront-product .single_add_to_cart_button { min-height:52px!important; border-radius:10px!important; background:#214249!important; box-shadow:none!important; }
html body.ms-storefront .ms-storefront-product .single_add_to_cart_button:hover { background:#1a3439!important; }
html body.ms-storefront .ms-storefront-product .single-qty-wrapper button:is(.single-product-plus,.single-product-minus) { width:44px!important; min-width:44px!important; min-height:44px!important; }
html body.ms-storefront .ms-storefront-product .single-qty-wrapper { min-width:140px; box-shadow:none!important; border-radius:10px!important; }
html body.ms-storefront .ms-storefront-product .ms-vp__tile { min-height:48px!important; border-radius:10px!important; }
html body.ms-storefront .ms-storefront-product .ms-vp__opt--selected { border-color:#214249!important; background:#e8eef0!important; }
html body.ms-storefront .ms-storefront-product .ms-vp__opt--oos { opacity:1!important; color:#64748b!important; background:#f8fafc!important; }
html body.ms-storefront .ms-storefront-product .ms-vp__tile-stock { color:#166534; }
html body.ms-storefront .ms-storefront-product .ms-vp__opt--oos .ms-vp__tile-stock { color:#b91c1c!important; }
/* Multi-attribute products retain labelled native selects until enhancement succeeds. */
html body.ms-storefront .ms-storefront-product form.variations_form.cart.ms-shared-multi-variation > table.variations { display:table!important; width:100%; }
html body.ms-storefront .ms-storefront-product .ms-shared-multi-variation > .variation-label,
html body.ms-storefront .ms-storefront-product .ms-shared-multi-variation [data-ms-combination-picker][hidden],
html body.ms-storefront .ms-storefront-product form.variations_form.cart.ms-shared-multi-variation.ms-combination-enhanced > table.variations { display:none!important; }
html body.ms-storefront .ms-storefront-product .ms-shared-multi-variation .variations label { display:block; margin-bottom:8px; font-weight:700; }
html body.ms-storefront .ms-storefront-product .ms-shared-multi-variation .variations select { width:100%; min-height:48px; padding:12px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; color:#0f172a; font:400 16px/24px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product .ms-shared-multi-variation .variations td { padding:0 0 12px!important; }
html body.ms-storefront .ms-storefront-product .ms-combination-group { border:0; padding:0; margin:0 0 16px; min-width:0; }
html body.ms-storefront .ms-storefront-product .ms-combination-group legend { float:none; width:auto; padding:0; font-size:14px; line-height:1.5; font-weight:700; margin:0 0 8px; }
html body.ms-storefront .ms-storefront-product .ms-combination-status { font-size:14px; line-height:1.5; color:#334155; margin:8px 0; }
html body.ms-storefront .ms-storefront-product .ms-combination-reset { min-height:44px; margin:0 0 12px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:10px; background:#f8fafc; color:#214249; font-weight:700; }
html body.ms-storefront .ms-storefront-product .single-product-contact { background:#f8fafc!important; border:1px solid #e5e7eb!important; border-radius:12px!important; margin:16px 0 0!important; }
html body.ms-storefront .ms-storefront-product > .single-product-tabs { margin-top:24px!important; border-top:1px solid #e5e7eb; padding-top:18px!important; }
html body.ms-storefront .ms-storefront-product .ms-product-info-title { background:#f8fafc!important; border:1px solid #e5e7eb!important; border-radius:0!important; color:#0f172a!important; padding:12px 16px!important; margin:0 0 8px!important; text-align:center; font:700 14px/20px Inter,sans-serif!important; }
html body.ms-storefront .ms-storefront-product .ms-product-info-content { display:block!important; background:#f8fafc; border:1px solid #e5e7eb; padding:16px; color:#334155; font:400 14px/21px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product .woocommerce-tabs ul.tabs li a { min-height:44px!important; display:inline-flex!important; align-items:center!important; font:700 12px/18px Inter,sans-serif!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel { overflow-wrap:anywhere; }
html body.ms-storefront .ms-storefront-product .ms-storefront-payment-notice { text-align:center; color:#64748b; font-size:12px; }
@media(min-width:768px) {
  html body.ms-storefront.ms-storefront-browse .category-product > .container,html body.ms-storefront .single-product-container > .container { padding-left:24px!important; padding-right:24px!important; }
  html body.ms-storefront.ms-storefront-browse h1.page-title { font-size:32px!important; line-height:38px!important; }
}
@media(min-width:992px) {
  html body.ms-storefront.ms-storefront-browse ul.products { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:24px 16px!important; }
  html body.single-product.ms-storefront .single-product-container .ms-storefront-product > .single-product-wrapper,html body.single-product.ms-storefront .single-product-container .ms-storefront-product > .single-product-tabs { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:48px!important; }
  html body.ms-storefront .ms-storefront-product h1.product_title { font-size:20px!important; line-height:25px!important; }
}
@media(min-width:1200px) {
  html body.ms-storefront.ms-storefront-browse ul.products { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
  html body.ms-storefront.ms-storefront-browse ul.products li.product { border-radius:14px!important; }
}
@media(max-width:991px) {
  html body.ms-storefront .ms-storefront-product .single_add_to_cart_button { width:100%!important; }
  html body.ms-storefront .ms-storefront-product .input-button-wrapper { display:flex!important; flex-wrap:wrap!important; gap:10px!important; }
}
@media(prefers-reduced-motion:reduce) {
  .ms-storefront-product *, .ms-storefront-catalog * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* Late Swedish repair CSS has more specific legacy archive selectors. */
html body.ms-storefront.ms-storefront-browse .ms-storefront-category-description { min-height:0!important; }
html body.ms-storefront.ms-storefront-browse .ms-archive-toolbar.ms-cro-catalog-toolbar { display:flex!important; flex-wrap:wrap; width:100%!important; gap:12px!important; }
html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar > .delivery-section { width:auto!important; flex:1 1 auto; display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; min-height:44px!important; }
html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar .delivery-section > div { min-width:0; justify-content:center!important; gap:4px!important; padding:4px!important; }
html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar .delivery-section p { white-space:normal!important; font:400 11px/16px Inter,sans-serif!important; }
html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar > .ms-cro-catalog-controls { flex:0 0 240px; }
@media(max-width:991px) {
 html body.ms-storefront.ms-storefront-browse .ms-archive-toolbar.ms-cro-catalog-toolbar { flex-direction:column!important; align-items:stretch!important; }
 html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar > .delivery-section,
 html body.ms-storefront.ms-storefront-browse .ms-cro-catalog-toolbar > .ms-cro-catalog-controls { flex:none!important; width:100%!important; max-width:100%!important; margin:0!important; }
}

html body.ms-storefront.ms-storefront-browse .ms-storefront-catalog .ms-storefront-category-description { height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; margin:8px 0 16px!important; font:400 14px/21px Inter,sans-serif!important; }
html body.search.ms-storefront.ms-storefront-browse .category-product .woocommerce-products-header .product-cat-description.ms-search-description { width:100%!important; max-width:none!important; height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; margin:8px 0 16px!important; }
html body.search.ms-storefront.ms-storefront-browse .category-product .woocommerce-products-header .product-cat-description.ms-search-description p { height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; font:400 14px/21px Inter,sans-serif!important; margin:0!important; }
html body.search.ms-storefront.ms-storefront-browse .category-product form.woocommerce-ordering select { height:48px!important; min-height:48px!important; border-radius:10px!important; }
/* The Swedish repair plugin fixes the native sort wrapper at 40px inline.
 * Padding reserves the remaining 8px without changing its sorting handler. */
html body.search.ms-storefront.ms-storefront-browse .category-product form.woocommerce-ordering:not(.ms-sort-enhanced) { box-sizing:content-box!important; padding:0 0 8px!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product p.stock { width:max-content!important; max-width:calc(100% - 20px)!important; }

html body.ms-storefront.ms-storefront-browse ul.products li.product { height:auto!important; max-height:none!important; min-height:0!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product > .woocommerce-LoopProduct-link { height:auto!important; max-height:none!important; min-height:0!important; }

/* E17: legacy speed rules also mark search as a category. Let its heading and
 * trust strip grow with Swedish text instead of clipping them to one line. */
html body.search.ms-storefront.ms-storefront-browse .category-product .delivery-section {
  float:none!important; width:100%!important; max-width:none!important; height:auto!important; min-height:44px!important; max-height:none!important;
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:8px!important; padding:8px!important; overflow:visible!important;
}
html body.search.ms-storefront.ms-storefront-browse .category-product .delivery-section > div { display:flex!important; align-items:center!important; justify-content:center!important; gap:8px!important; min-width:0; }
html body.search.ms-storefront.ms-storefront-browse .category-product .delivery-section p { white-space:normal!important; font:400 12px/16px Inter,sans-serif!important; text-align:center; }
html body.search.ms-storefront.ms-storefront-browse .category-product .delivery-section img { flex:0 0 16px; width:16px!important; height:16px!important; object-fit:contain; margin:0!important; }
html body.ms-storefront.ms-storefront-browse .product-cat-details { max-width:760px; margin:24px auto 0; font:400 16px/24px Inter,sans-serif!important; }
html body.ms-storefront.ms-storefront-browse .product-cat-details h2 { font:700 24px/30px Inter,sans-serif; color:#0f172a; }

/* Keep the two product detail areas visually joined, with room for long tabs. */
html body.ms-storefront .ms-storefront-product .ms-product-info-panel { border:1px solid #e5e7eb!important; border-radius:12px!important; overflow:hidden; }
html body.ms-storefront .ms-storefront-product .ms-product-info-title { border:0!important; border-bottom:1px solid #e5e7eb!important; margin:0!important; }
html body.ms-storefront .ms-storefront-product .ms-product-info-content { border:0!important; background:#fff; }
html body.single-product.ms-storefront .single-product-container .ms-storefront-product .woocommerce-tabs ul.tabs { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:8px!important; padding:0!important; }
html body.single-product.ms-storefront .single-product-container .ms-storefront-product .woocommerce-tabs ul.tabs li { width:100%!important; margin:0!important; min-width:0; }
html body.ms-storefront .ms-storefront-product .woocommerce-tabs ul.tabs li a { display:flex!important; justify-content:center!important; gap:8px!important; width:100%!important; padding:12px!important; white-space:normal!important; box-sizing:border-box; }
@media(min-width:480px) {
  html body.single-product.ms-storefront .single-product-container .ms-storefront-product .woocommerce-tabs ul.tabs { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}

/* The retained recommendation carousel keeps its data, order and handlers. */
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-crosssell__head { gap:12px; flex-wrap:wrap; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-crosssell__nav { gap:8px; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-crosssell__arrow { min-width:44px!important; width:44px!important; min-height:44px!important; height:44px!important; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-xs__body { flex:1; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-xs__title { display:block!important; -webkit-line-clamp:unset!important; overflow:visible!important; font:600 14px/19px Inter,sans-serif!important; min-height:38px; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-xs__price { margin-top:auto; padding-top:8px; font-size:14px; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-xs__add { min-height:44px!important; height:auto!important; padding:8px!important; border-radius:10px!important; background:#214249!important; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations .ms-xs__add:hover { background:#1a3439!important; }
html body.ms-storefront .single-product-container .ms-pdp-recommendations :is(a,button):focus-visible { outline:3px solid #2563eb!important; outline-offset:2px!important; }

/* Keep the review consent checkbox beside its wrapping label. */
html body.ms-storefront .ms-storefront-product .comment-form-cookies-consent { display:flex; align-items:flex-start; gap:10px; }
html body.ms-storefront .ms-storefront-product .comment-form-cookies-consent input[type=checkbox] { flex:0 0 20px; width:20px; height:20px; margin:2px 0 0; }
html body.ms-storefront .ms-storefront-product .comment-form-cookies-consent label { flex:1; min-width:0; cursor:pointer; }
/* Preserve the inherited badge and review link with readable, usable targets. */
html body.single-product.ms-storefront .woocommerce .ms-storefront-product .single-product-image span.onsale.new-badge { background:#15803d!important; color:#fff!important; }
html body.ms-storefront .ms-storefront-product a.reviews-tab { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; min-width:44px; min-height:44px; padding:0 8px; }
html body.ms-storefront .ms-storefront-product .ms-review-link__text { color:#214249; font:700 12px/16px Inter,sans-serif; }

/* R29: native review content follows the shared heading, card and rating tokens. */
html body.ms-storefront .ms-storefront-product #reviews .woocommerce-Reviews-title { font:700 24px/30px Inter,sans-serif!important; color:#0f172a; margin:0 0 24px; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist { list-style:none; padding:0; margin:0 0 24px; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist > li { list-style:none; margin:0 0 16px; padding:16px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; }
html body.ms-storefront .ms-storefront-product #reviews .comment_container { display:flex; align-items:flex-start; gap:12px; }
html body.ms-storefront .ms-storefront-product #reviews .avatar { flex:0 0 48px; width:48px; height:48px; object-fit:cover; border-radius:999px; }
html body.ms-storefront .ms-storefront-product #reviews .comment-text { flex:1; min-width:0; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .meta { margin:8px 0; color:#64748b; font:400 14px/21px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .meta strong { color:#0f172a; font-weight:600; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .description { color:#334155; font:400 16px/24px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .description p { margin:12px 0 0; font:inherit; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .star-rating { display:inline-block; position:relative; width:max-content; min-height:20px; margin:0 0 8px; vertical-align:middle; color:#64748b; font:400 16px/20px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .star-rating::before { content:"★★★★★"; display:block; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .star-rating span { position:absolute; top:0; left:0; height:20px; box-sizing:border-box; overflow:hidden; padding-top:20px; color:#fbbf24; font:inherit; white-space:nowrap; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .star-rating span::before { content:"★★★★★"; position:absolute; top:0; left:0; white-space:nowrap; }
html body.ms-storefront .ms-storefront-product #reviews .commentlist .star-rating::after { content:attr(aria-label); position:absolute; top:0; left:calc(100% + 8px); color:#64748b; font:400 14px/20px Inter,sans-serif; white-space:nowrap; }
/* R30: detail subheadings remain smaller than their section headings. */
html body.ms-storefront.ms-storefront-browse .product-cat-details h3 { margin:24px 0 12px; color:#0f172a; font:700 18px/24px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description { color:#334155; font:400 16px/24px Inter,sans-serif; }
html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description :is(p,li) { font:inherit; }
html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description h2 { margin:24px 0 16px; color:#0f172a; font:700 24px/30px Inter,sans-serif!important; }
html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description h3 { margin:24px 0 12px; color:#0f172a; font:700 18px/24px Inter,sans-serif!important; }
@media(min-width:768px) {
  html body.ms-storefront .ms-storefront-product #reviews .woocommerce-Reviews-title,html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description h2,html body.ms-storefront.ms-storefront-browse .product-cat-details h2 { font:700 28px/34px Inter,sans-serif!important; }
  html body.ms-storefront.ms-storefront-browse .product-cat-details h3,html body.ms-storefront .ms-storefront-product .woocommerce-Tabs-panel--description h3 { font:700 20px/26px Inter,sans-serif!important; }
}

/* R31: low-stock text uses the canonical readable warning pair. */
html body.ms-storefront.ms-storefront-browse ul.products li.product p.stock:has(.less_five_orange_content) { background:#fff7ed!important; color:#b45309!important; }
html body.ms-storefront.ms-storefront-browse ul.products li.product p.stock .less_five_orange_content { color:#b45309!important; }
/* R32: keep the native top link available without covering catalogue cards. */
html body.ms-storefront.ms-storefront-browse #back-to-top { position:static!important; width:max-content!important; max-width:calc(100% - 32px)!important; margin:24px auto!important; padding:0!important; }

html body.ms-storefront.ms-storefront-browse #back-to-top a { display:flex!important; align-items:center; justify-content:center; min-height:44px; padding:12px 16px; box-sizing:border-box; line-height:20px; }

/* Never present stock from a previous selection during an unresolved lookup. */
body.ms-storefront.single-product .single-product-container .summary.ms-variation-lookup-unresolved > p.stock{display:none!important}
body.ms-storefront .ms-variation-lookup-retry{min-height:44px;margin:0 0 12px;padding:10px 18px;border:0;border-radius:8px;background:#214249;color:#fff;font:600 15px/1.4 Inter,sans-serif;cursor:pointer}
body.ms-storefront .ms-variation-lookup-retry[hidden]{display:none!important}
