/* Visible used-device guarantee and phone-only gift bundle. */
body.single-product .summary>.qn-used-benefits{order:1;margin:0 0 22px;border:1px solid #b9d9ef;border-radius:12px;overflow:hidden;background:#f3f9ff}
.qn-used-guarantee{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 15px;background:#e8f3ff;color:#103c69}
.qn-used-guarantee strong{font-size:1rem}
.qn-used-guarantee>span:last-child{font-size:.78rem;margin-left:auto}
.qn-benefit-check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#0874c7;color:#fff;font-weight:bold}
.qn-phone-gift{padding:15px}
.qn-gift-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.qn-gift-heading strong{font-size:1rem;line-height:1.35;color:#102b50}
.qn-gift-heading>span{font-size:.72rem;font-weight:800;letter-spacing:.07em;border-radius:5px;background:#13633c;color:#fff;padding:5px 9px}
.qn-phone-gift p{font-size:.83rem;line-height:1.5;margin:9px 0 11px;color:#33465a}
.qn-phone-gift ul{list-style:none!important;margin:0 0 11px!important;padding:0!important;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.qn-phone-gift li{font-size:.83rem;color:#173b55}
.qn-phone-gift li:before{content:"✓";color:#13633c;font-weight:800;margin-right:7px}
.qn-phone-gift small{font-size:.72rem;line-height:1.5;display:block;color:#4b6175}
.qn-guarantee-rights{font-size:.7rem!important;line-height:1.5;margin:0!important;padding:10px 15px;border-top:1px solid #d4e4f1;color:#4b6175}
.qn-guarantee-rights a{color:#075a9d;text-decoration:underline}
@media(max-width:420px){.qn-used-guarantee>span:last-child{margin-left:32px;width:100%}}

/* Product page: gallery, choices, and a single purchase area. */
body.single-product{background:#f7f9fc!important}
body.single-product .qn-commerce{max-width:1180px;padding-top:28px}
body.single-product div.product .woocommerce-product-gallery{width:43%;padding:32px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;box-shadow:none!important;min-height:360px;display:block}
body.single-product .woocommerce-product-gallery__wrapper{width:100%;margin:0!important}
body.single-product .woocommerce-product-gallery__image a{display:flex;justify-content:center;align-items:center;min-height:280px}
body.single-product div.product .woocommerce-product-gallery img:not(.emoji){width:auto!important;max-width:100%!important;height:auto!important;max-height:320px!important;object-fit:contain;margin:auto!important}
body.single-product div.product .summary{width:53%;display:flex!important;flex-direction:column;gap:0;padding:24px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;box-shadow:none!important;background:#fff}
body.single-product .summary>.product_title{order:0;font-size:clamp(1.6rem,3vw,2rem)!important;line-height:1.2;letter-spacing:-.025em;margin:0 0 22px!important}
body.single-product .summary>.woocommerce-product-details__short-description{display:none}
body.single-product .summary>form.variations_form{order:2;margin:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important}
body.single-product .qn-variant-intro{margin:0 0 16px!important}
body.single-product .qn-variant-intro strong{font-size:.9rem;font-weight:600;color:#586779}
body.single-product table.variations tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.single-product table.variations tr{margin:0!important;min-width:0}
body.single-product .variations select{min-width:0!important;max-width:1px!important;clip-path:inset(50%);overflow:hidden!important}
body.single-product table.variations label{font-size:.83rem;font-weight:650;margin:0 0 7px}
body.single-product .qn-options{gap:6px;margin:0}
body.single-product .qn-option{min-width:66px;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.86rem;font-weight:600;box-shadow:none!important}
body.single-product .qn-option.is-selected{background:#edf5ff;color:#075bba;border:2px solid #0874ed;padding:8px 11px}
body.single-product .reset_variations{font-size:.75rem;margin-top:8px}
body.single-product .summary .single_variation_wrap{margin-top:22px;padding-top:18px;border-top:1px solid #e2e8f0}
body.single-product .woocommerce-variation-description{display:none}
body.single-product .qn-live-price-ready .woocommerce-variation-price{display:none!important}
body.single-product .woocommerce-variation-availability .stock{margin:0 0 12px;font-size:.83rem;color:#177447}
body.single-product .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:end}
body.single-product .qn-purchase-price{grid-column:1/-1;margin:0 0 4px!important;line-height:1.2!important;font-size:1.85rem!important;font-weight:750!important;color:#102b50!important}
body.single-product .qn-purchase-price .price,body.single-product .qn-purchase-price .amount{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}
body.single-product .qn-purchase-price:before{content:"Pris";display:block;color:#586779;font-size:.78rem;font-weight:500;margin-bottom:6px}
body.single-product .woocommerce-variation-add-to-cart .quantity{float:none!important;width:80px!important;margin:0!important}
body.single-product .woocommerce-variation-add-to-cart .quantity:before{content:"Antal";display:block;font-size:.78rem;font-weight:600;margin-bottom:6px;color:#586779}
body.single-product .quantity .qty{height:48px!important;max-height:none!important;width:100%!important;border:1px solid #cbd5e1;border-radius:8px;background:white}
body.single-product .summary .single_add_to_cart_button{float:none!important;width:100%;height:48px;min-height:48px!important;border-radius:8px!important;padding:12px 16px!important;box-shadow:none!important;font-size:.95rem;font-weight:650!important}
body.single-product .summary>.qn-product-essentials{order:4;margin:18px 0 0;padding:12px;background:#f8fafc!important;border-color:#e2e8f0}
body.single-product .qn-product-specgrid{display:flex;flex-wrap:wrap;gap:16px}
body.single-product .qn-spec{border:0;padding:0;background:none;min-width:80px}
body.single-product .qn-spec.is-variant-fact{display:none}
body.single-product .qn-product-essentials:has(.qn-spec:only-child.is-variant-fact){display:none!important}
body.single-product .summary>.qn-used-image-note{order:5;margin:16px 0 0;color:#66758a;font-size:.75rem;line-height:1.5}
body.single-product .summary>.product_meta{order:8;border-top:1px solid #edf0f5;padding-top:14px;margin-top:18px;font-size:.72rem;color:#748196}
body.single-product .woocommerce-tabs{clear:both;padding-top:24px}
@media(max-width:768px){
 body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .summary{width:100%!important;float:none!important}
 body.single-product div.product .woocommerce-product-gallery{min-height:260px;padding:20px!important;margin-bottom:16px}
 body.single-product .woocommerce-product-gallery__image a{min-height:220px}
 body.single-product div.product .woocommerce-product-gallery img:not(.emoji){max-height:240px!important}
 body.single-product div.product .summary{padding:20px!important}
 body.single-product .qn-commerce{padding-top:20px}
}
@media(max-width:360px){body.single-product table.variations tbody{grid-template-columns:1fr}}

/* Product purchase redesign — readable price first, clearly separated purchase controls. */
body.single-product div.product .summary>.product_title{
  margin:0 0 14px!important;
  line-height:1.2!important;
}
body.single-product div.product .summary>p.price,
body.single-product div.product .summary>p.qn-purchase-price{
  order:1!important;
  display:block!important;
  width:100%;
  color:#102b50!important;
  font-size:clamp(27px,2.6vw,35px)!important;
  line-height:1.24!important;
  font-weight:850!important;
  margin:0 0 13px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid #e6edf5;
}
body.single-product div.product .summary>p.price:before{
  content:"Pris";
  display:block;
  font-size:12px;
  font-weight:650;
  color:#6a7d92;
  margin-bottom:5px;
}
body.single-product div.product .summary>.woocommerce-product-details__short-description{
  display:block!important;
  order:2!important;
  font-size:14px!important;
  line-height:1.65!important;
  color:#4f657c!important;
  margin:0 0 18px!important;
}
body.single-product div.product .summary>.woocommerce-product-details__short-description p{margin:0!important}
body.single-product div.product .summary>p.stock{
  order:3!important;
  align-self:flex-start;
  font-size:13px;
  margin:0 0 16px!important;
  padding:7px 11px;
  border:1px solid #d5e8da;
  background:#f4faf6;
  color:#18663f;
  border-radius:8px;
}
body.single-product div.product .summary>p.stock.out-of-stock{
  background:#fff6f5;
  border-color:#f4d9d5;
  color:#9f342a;
}
body.single-product div.product .summary>form.cart{
  order:4!important;
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-product div.product .summary>form.cart:not(.variations_form){
  display:grid!important;
  grid-template-columns:88px minmax(0,1fr);
  align-items:end;
  column-gap:16px;
  row-gap:10px;
}
body.single-product div.product .summary>form.cart:not(.variations_form) .quantity{
  grid-column:1;
  float:none!important;
  width:88px!important;
  margin:0!important;
  padding:0!important;
}
body.single-product div.product .summary>form.cart:not(.variations_form) .quantity:before{
  content:"Antal";
  display:block;
  margin:0 0 7px;
  color:#536681;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}
body.single-product div.product .summary>form.cart:not(.variations_form) .quantity input.qty{
  width:88px!important;
  height:50px!important;
  min-height:50px!important;
  border:1px solid #bdcde0!important;
  border-radius:9px!important;
  background:#fff!important;
  padding:8px!important;
  text-align:center;
  font-size:17px!important;
  font-weight:650!important;
  color:#122f56!important;
}
body.single-product div.product .summary>form.cart:not(.variations_form) .single_add_to_cart_button{
  grid-column:2;
  align-self:end;
  height:50px!important;
  min-height:50px!important;
  border-radius:9px!important;
  margin:0!important;
  width:100%!important;
  padding:10px 16px!important;
  font-size:15px!important;
  font-weight:750!important;
  float:none!important;
  box-shadow:none!important;
}
body.single-product div.product .summary>form.cart:not(.variations_form) .single_add_to_cart_button:first-child{
  grid-column:1/-1;
}
body.single-product div.product .summary>form.variations_form{
  order:4!important;
  margin:0!important;
}
body.single-product div.product .summary>.qn-product-essentials{order:5!important}
body.single-product div.product .summary>#qn-stock-alert{order:5!important}
body.single-product div.product .summary>.qn-purchase-guidance{
  order:6!important;
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin:22px 0 0!important;
  padding:5px 15px!important;
  border:1px solid #e0e9f4;
  border-radius:12px;
  background:#f9fbfe;
}
body.single-product .qn-purchase-guidance-item{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 0;
  color:#1e456b!important;
  text-decoration:none!important;
  min-width:0;
}
body.single-product .qn-purchase-guidance-item+.qn-purchase-guidance-item{
  border-top:1px solid #e6edf5;
}
body.single-product .qn-purchase-guidance-item:hover .qn-purchase-guidance-copy strong{
  color:#0874ed;
}
body.single-product .qn-purchase-guidance-icon{
  display:grid;
  flex:0 0 38px;
  place-items:center;
  width:38px;
  height:38px;
  color:#1970b8;
  background:#eaf4fd;
  border-radius:10px;
}
body.single-product .qn-purchase-guidance-copy{
  display:flex;
  flex-direction:column;
  gap:3px;
  flex:1;
  min-width:0;
}
body.single-product .qn-purchase-guidance-copy strong{
  font:750 13px/1.4 Manrope,"DM Sans",sans-serif;
  color:#173d65;
}
body.single-product .qn-purchase-guidance-copy small{
  font-size:12px;
  line-height:1.4;
  color:#647b91;
}
body.single-product .qn-purchase-guidance-chevron{
  margin-left:auto;
  color:#7b97ad;
  font-size:21px;
  line-height:1;
}
body.single-product div.product .summary>.product_meta{order:8!important;margin-top:18px!important}
@media(max-width:620px){
  body.single-product div.product .summary>form.cart:not(.variations_form){grid-template-columns:80px minmax(0,1fr);column-gap:12px}
  body.single-product div.product .summary>form.cart:not(.variations_form) .quantity,
  body.single-product div.product .summary>form.cart:not(.variations_form) .quantity input.qty{width:80px!important}
  body.single-product div.product .summary>.qn-purchase-guidance{margin-top:18px!important}
}

/* QuickNord product gallery: separated, compact, horizontally scrollable thumbnails. */
body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 32px;
  align-items:center;
  gap:8px;
  margin-top:19px;
  padding-top:16px;
  border-top:1px solid #dce6f1;
  width:100%;
}
body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .flex-control-nav.flex-control-thumbs{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center;
  gap:8px;
  width:100%!important;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:2px!important;
  margin:0!important;
  list-style:none!important;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-x:contain;
}
body.single-product .qn-gallery-thumb-bar .flex-control-thumbs::-webkit-scrollbar{display:none}
body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .flex-control-thumbs li{
  float:none!important;
  flex:0 0 60px!important;
  width:60px!important;
  max-width:60px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  scroll-snap-align:start;
}
body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .flex-control-thumbs img:not(.emoji){
  display:block!important;
  box-sizing:border-box;
  width:60px!important;
  max-width:60px!important;
  height:66px!important;
  max-height:66px!important;
  margin:0!important;
  padding:4px!important;
  object-fit:contain!important;
  object-position:center;
  border:1px solid #dbe5ef;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  opacity:.84;
  transition:border-color .15s ease,opacity .15s ease;
}
body.single-product .qn-gallery-thumb-bar .flex-control-thumbs img.flex-active,
body.single-product .qn-gallery-thumb-bar .flex-control-thumbs img:hover{
  border-color:#0874ed!important;
  opacity:1!important;
}
body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .qn-gallery-thumb-arrow{
  display:grid;
  place-items:center;
  width:32px;
  height:34px;
  border:1px solid #dbe5ef;
  border-radius:8px;
  background:#f8fbff;
  color:#1b4c7a;
  font:700 21px/1 sans-serif;
  cursor:pointer;
  padding:0;
}
body.single-product .qn-gallery-thumb-arrow:focus-visible{
  outline:2px solid #0874ed;
  outline-offset:2px;
}
body.single-product .qn-gallery-thumb-arrow:disabled{opacity:.3;cursor:default}
@media(max-width:768px){
 body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar{gap:6px;grid-template-columns:28px minmax(0,1fr) 28px;margin-top:14px;padding-top:12px}
 body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .qn-gallery-thumb-arrow{width:28px;height:32px}
 body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .flex-control-thumbs li{flex-basis:55px!important;width:55px!important;max-width:55px!important}
 body.single-product div.product .woocommerce-product-gallery .qn-gallery-thumb-bar .flex-control-thumbs img:not(.emoji){width:55px!important;max-width:55px!important;height:60px!important;max-height:60px!important}
}

