:root{--pfc-primary:#0e3f3f;--pfc-button-text:#fff;--pfc-button-hover:#0a3030;--pfc-text:#14201f;--pfc-muted:#687472;--pfc-line:#dfe5e3;--pfc-bg:#f4f7f6;--pfc-white:#fff;--pfc-radius:18px}
body.woocommerce-checkout{background:var(--pfc-bg)}body.woocommerce-checkout .page-title,body.woocommerce-checkout .woocommerce-breadcrumb{display:none}
.pfc-shell{width:100%;max-width:100%;margin:0;padding:0;color:var(--pfc-text)}
.pfc-grid{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:26px;align-items:start;width:100%;padding:0}.pfc-main{display:grid;gap:20px;min-width:0}.pfc-card,.pfc-coupon{background:var(--pfc-white);border:1px solid var(--pfc-line);border-radius:var(--pfc-radius);box-shadow:none;padding:28px}.pfc-card-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px}.pfc-card-heading.compact{margin-bottom:14px}.pfc-card-heading h2{font-size:21px;margin:0 0 4px}.pfc-card-heading p{margin:0;color:var(--pfc-muted);font-size:14px}.pfc-number{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:color-mix(in srgb,var(--pfc-primary) 10%,transparent);color:var(--pfc-primary);font-weight:800}
.pfc-sidebar{position:sticky;top:calc(var(--flatsome-scroll-padding-top,0px) + 24px);display:grid;gap:16px;min-width:0}.header-wrapper.stuck~#main .pfc-sidebar{top:calc(var(--flatsome-scroll-padding-top,90px) + 24px)}.pfc-order-card{padding:25px}
.pfc-shell .form-row{width:100%!important;float:none!important;margin:0 0 17px;padding:0!important}.pfc-shell .form-row label{font-size:13px;font-weight:700;margin-bottom:7px;color:#35413f}.pfc-shell input.input-text,.pfc-shell textarea,.pfc-shell select,.pfc-shell .select2-container,.pfc-shell .select2-selection{width:100%!important;max-width:none!important;min-height:50px;border:1px solid #cfd8d5!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;padding:10px 13px!important;font-size:15px}.pfc-shell .select2-container{padding:0!important}.pfc-shell textarea{min-height:110px}.pfc-shell input:focus,.pfc-shell textarea:focus,.pfc-shell select:focus{border-color:var(--pfc-primary)!important;box-shadow:none!important;outline:2px solid color-mix(in srgb,var(--pfc-primary) 18%,transparent);outline-offset:1px}.pfc-shell .woocommerce-billing-fields>h3,.pfc-shell .woocommerce-additional-fields>h3{display:none}.pfc-shell .woocommerce-billing-fields__field-wrapper,.pfc-shell .woocommerce-shipping-fields__field-wrapper,.pfc-shell .woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:1fr;gap:0;width:100%}
.pfc-company-field{position:relative}.pfc-company-results{position:absolute;z-index:999;width:100%;top:100%;left:0;background:#fff;border:1px solid var(--pfc-line);border-radius:12px;box-shadow:none;overflow:hidden;margin-top:-10px;max-height:330px;overflow-y:auto}.pfc-company-result{display:flex;width:100%;flex-direction:column;align-items:flex-start;text-align:left;border:0;border-bottom:1px solid #edf0ef;background:#fff;padding:13px 15px;cursor:pointer}.pfc-company-result:hover,.pfc-company-result:focus{background:#f1f6f4;outline:0}.pfc-company-result strong{font-size:14px;color:var(--pfc-text)}.pfc-company-result span,.pfc-company-empty{font-size:12px;color:var(--pfc-muted);margin-top:3px}.pfc-company-empty{padding:15px}.pfc-company-status{font-size:12px;color:var(--pfc-muted);margin-top:5px}.pfc-company-status.is-success{color:#18794e}.pfc-company-actions{display:flex;justify-content:flex-end;margin-top:4px}.pfc-company-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border:1px solid var(--pfc-line);border-radius:14px;padding:18px}.pfc-company-summary dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}.pfc-company-summary dt{font-weight:700}.pfc-company-summary dd{margin:0}.pfc-company-summary[hidden],.pfc-company-actions[hidden]{display:none!important}
.pfc-shell .button,.pfc-shell button.button,.pfc-shell #place_order{border:0!important;border-radius:10px!important;background:var(--pfc-primary)!important;color:var(--pfc-button-text)!important;box-shadow:none!important;text-shadow:none!important;font-weight:700}.pfc-shell .button:hover,.pfc-shell button.button:hover,.pfc-shell #place_order:hover{background:var(--pfc-button-hover)!important;color:var(--pfc-button-text)!important}.pfc-shell #place_order{width:100%;min-height:54px;font-size:16px}
.pfc-coupon{padding:20px}.pfc-coupon>label{display:block;font-weight:700;font-size:14px;margin-bottom:8px}.pfc-coupon-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.pfc-coupon-row input{margin:0!important;min-width:0}.pfc-coupon-row .button{margin:0;white-space:nowrap}.pfc-coupon-message{font-size:12px;margin-top:7px}.pfc-coupon-message.is-error{color:#b42318}.pfc-coupon-message.is-success{color:#18794e}
.pfc-shell #order_review,.pfc-order-card #order_review{width:100%;min-width:0}.pfc-shell #order_review table{border:0;width:100%;table-layout:auto}.pfc-shell #order_review .product-total,.pfc-shell #order_review td:last-child,.pfc-shell #order_review tfoot td{text-align:right;white-space:nowrap}.pfc-shell #order_review th,.pfc-shell #order_review td{padding:13px 0;border-bottom:1px solid var(--pfc-line);font-size:14px}.pfc-shell #order_review .product-name{padding-right:12px}.pfc-shell #payment{background:transparent;box-shadow:none}.pfc-shell #payment ul.payment_methods{padding:18px 0;border-bottom:1px solid var(--pfc-line)}.pfc-shell #payment div.payment_box{background:#f3f6f5;border-radius:10px;font-size:13px;box-shadow:none}.pfc-shell #payment div.payment_box:before{border-bottom-color:#f3f6f5}.pfc-shell #payment .place-order{padding:18px 0 0}.pfc-trust{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;color:var(--pfc-muted);font-size:11px;margin-top:16px}.pfc-order-company dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px}.pfc-order-company dt{font-weight:700}.pfc-order-company dd{margin:0}
@media(min-width:1400px){.pfc-grid{grid-template-columns:minmax(0,1fr) 470px}}
@media(max-width:1000px){.pfc-grid{grid-template-columns:1fr}.pfc-sidebar{position:static}.pfc-sidebar{order:2}}
@media(max-width:620px){.pfc-shell{padding-bottom:45px}.pfc-card,.pfc-coupon{padding:20px;border-radius:14px}.pfc-grid{gap:16px}.pfc-card-heading h2{font-size:18px}.pfc-coupon-row{grid-template-columns:1fr}.pfc-company-summary{flex-direction:column}.pfc-company-summary dl{grid-template-columns:1fr}.pfc-company-summary dt{margin-top:6px}}

/* Kundetype og trinnvis visning. Alt er avgrenset til pluginens egen shell. */
.pfc-customer-type{display:flex;gap:18px;margin-bottom:20px;padding:0;border:0;background:transparent;width:max-content;max-width:100%}
.pfc-shell .pfc-customer-type-button{appearance:none;border:0!important;border-radius:0!important;background:transparent!important;color:var(--pfc-muted)!important;box-shadow:none!important;padding:0;line-height:1.4;font-weight:700;text-transform:none;letter-spacing:0;min-height:0}
.pfc-shell .pfc-customer-type-button.is-active{background:transparent!important;color:var(--pfc-primary)!important;text-decoration:underline;text-underline-offset:5px}
.pfc-company-card[data-customer-type="business"] #billing_org_number_field,.pfc-company-card[data-customer-type="business"] #billing_first_name_field,.pfc-company-card[data-customer-type="business"] #billing_last_name_field,.pfc-company-card[data-customer-type="business"] #billing_address_1_field,.pfc-company-card[data-customer-type="business"] #billing_address_2_field,.pfc-company-card[data-customer-type="business"] #billing_postcode_field,.pfc-company-card[data-customer-type="business"] #billing_city_field,.pfc-company-card[data-customer-type="business"] #billing_country_field,.pfc-company-card[data-customer-type="business"] #billing_state_field,.pfc-company-card[data-customer-type="business"] #billing_email_field,.pfc-company-card[data-customer-type="business"] #billing_phone_field{display:none}
.pfc-company-card[data-customer-type="private"] #billing_company_field,.pfc-company-card[data-customer-type="private"] #billing_org_number_field{display:none!important}
.pfc-address-options{display:grid;gap:10px}
.pfc-address-options label{display:flex;align-items:center;gap:10px;margin:0;padding:14px 16px;border:1px solid var(--pfc-line);border-radius:11px;cursor:pointer;font-weight:700}
.pfc-address-options input{margin:0}
.pfc-native-shipping-checkbox{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.pfc-shipping-choice .shipping_address{margin-top:18px}
.pfc-shipping-choice .shipping_address[hidden]{display:none!important}
@media(max-width:620px){.pfc-customer-type{width:100%}.pfc-shell .pfc-customer-type-button{flex:1;padding:10px 8px}}


.pfc-shipping-billing-summary{margin-top:16px;padding:16px;border:1px solid var(--pfc-line);border-radius:11px;background:#fff}
.pfc-shipping-billing-summary[hidden]{display:none!important}
.pfc-address-preview{font-size:14px;line-height:1.55;color:var(--pfc-text)}
.pfc-address-preview-empty{margin:0;color:var(--pfc-muted)}


/* WooCommerce notices are kept inside the checkout shell and span both columns. */
.pfc-notices{display:none;grid-column:1/-1;width:100%;max-width:100%;min-width:0;margin:0;padding:0;clear:both}
.pfc-notices.has-notices{display:block;margin-bottom:0}
.pfc-notices .woocommerce-notices-wrapper:empty{display:none}
.pfc-notices .woocommerce-error,.pfc-notices .woocommerce-message,.pfc-notices .woocommerce-info{display:block;width:100%;max-width:100%;margin:0 0 10px!important;box-sizing:border-box;box-shadow:none!important;float:none!important;clear:both}
.pfc-notices .woocommerce-error:last-child,.pfc-notices .woocommerce-message:last-child,.pfc-notices .woocommerce-info:last-child{margin-bottom:0!important}
body.woocommerce-checkout>.woocommerce-notices-wrapper:empty,body.woocommerce-checkout #main>.woocommerce-notices-wrapper:empty,body.woocommerce-checkout .page-wrapper>.woocommerce-notices-wrapper:empty{display:none!important;margin:0!important;padding:0!important;min-height:0!important}

/* Keep checkout notices as one full-width grid row without changing column placement. */
.pfc-grid>.pfc-notices+ .pfc-main{grid-column:1}
.pfc-grid>.pfc-notices~ .pfc-sidebar{grid-column:2}
@media(max-width:1000px){.pfc-grid>.pfc-notices+ .pfc-main,.pfc-grid>.pfc-notices~ .pfc-sidebar{grid-column:1}}

/* Order received / thank-you page. Scoped to WooCommerce's order-received endpoint. */
body.woocommerce-order-received{background:var(--pfc-bg)}
body.woocommerce-order-received .page-title,
body.woocommerce-order-received .woocommerce-breadcrumb{display:none}
body.woocommerce-order-received .woocommerce-order.row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:26px;
  align-items:start;
  width:100%;
  max-width:100%;
  margin:0;
}
body.woocommerce-order-received .woocommerce-order.row>.col{
  width:auto;
  max-width:none;
  flex-basis:auto;
  padding:0;
}
body.woocommerce-order-received .woocommerce-order.row>.large-7{
  display:grid;
  gap:20px;
  min-width:0;
}
body.woocommerce-order-received .woocommerce-order.row>.large-5{
  position:sticky;
  top:calc(var(--flatsome-scroll-padding-top,0px) + 24px);
  min-width:0;
}
body.woocommerce-order-received .header-wrapper.stuck~#main .woocommerce-order.row>.large-5{
  top:calc(var(--flatsome-scroll-padding-top,90px) + 24px);
}
body.woocommerce-order-received .woocommerce-order.row>.large-7>p,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-order.row>.large-5>.is-well{
  margin:0;
  padding:28px;
  background:var(--pfc-white);
  border:1px solid var(--pfc-line);
  border-radius:var(--pfc-radius);
  box-shadow:none;
}
body.woocommerce-order-received .woocommerce-order.row>.large-7>p{
  color:var(--pfc-text);
  font-size:14px;
}
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details>.woocommerce-column__title{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 24px;
  color:var(--pfc-text);
  font-size:21px;
}
body.woocommerce-order-received .woocommerce-order-details__title::before,
body.woocommerce-order-received .woocommerce-customer-details>.woocommerce-column__title::before{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:10px;
  background:color-mix(in srgb,var(--pfc-primary) 10%,transparent);
  color:var(--pfc-primary);
  font-size:14px;
  font-weight:800;
}
body.woocommerce-order-received .woocommerce-order-details__title::before{content:'1'}
body.woocommerce-order-received .woocommerce-customer-details>.woocommerce-column__title::before{content:'2'}
body.woocommerce-order-received .woocommerce-table--order-details{
  margin:0;
  border:0;
  background:transparent;
}
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td{
  padding:13px 0;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  background:transparent;
  font-size:14px;
  vertical-align:top;
}
body.woocommerce-order-received .woocommerce-table--order-details .product-name{padding-right:18px}
body.woocommerce-order-received .woocommerce-table--order-details .product-total{text-align:right;white-space:nowrap}
body.woocommerce-order-received .woocommerce-table--order-details tfoot th{font-weight:700}
body.woocommerce-order-received .woocommerce-table--order-details tfoot td{text-align:right}
body.woocommerce-order-received .wc-item-meta{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  color:var(--pfc-muted);
  font-size:12px;
}
body.woocommerce-order-received .wc-item-meta li{margin:4px 0}
body.woocommerce-order-received .wc-item-meta p{display:inline;margin:0}
body.woocommerce-order-received .woocommerce-customer-details address{
  margin:0;
  padding:18px;
  border:1px solid var(--pfc-line);
  border-radius:14px;
  background:#fff;
  color:var(--pfc-text);
  font-style:normal;
  line-height:1.65;
}
body.woocommerce-order-received .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details--email{margin:8px 0 0}
body.woocommerce-order-received .pfc-order-company{
  margin-top:20px;
  padding:20px 0 0;
  border:0;
  border-top:1px solid var(--pfc-line);
  border-radius:0;
  background:transparent;
}
body.woocommerce-order-received .pfc-order-company h2{
  margin:0 0 16px;
  font-size:17px;
  color:var(--pfc-text);
}
body.woocommerce-order-received .pfc-order-company dl{margin:0}
body.woocommerce-order-received .woocommerce-order.row>.large-5>.is-well{
  padding:25px;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received{
  position:relative;
  margin:0 0 20px;
  padding:0 0 20px 46px;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  background:transparent;
  color:var(--pfc-text)!important;
  font-size:18px;
  line-height:1.45;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before{
  content:'✓';
  position:absolute;
  left:0;
  top:-2px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:color-mix(in srgb,var(--pfc-primary) 12%,transparent);
  color:var(--pfc-primary);
  font-size:18px;
  font-weight:800;
}
body.woocommerce-order-received .woocommerce-order-overview{
  display:grid;
  gap:0;
  margin:0;
  padding:0;
  border:0;
  list-style:none;
}
body.woocommerce-order-received .woocommerce-order-overview li{
  display:flex;
  justify-content:space-between;
  gap:20px;
  float:none;
  width:100%;
  margin:0;
  padding:13px 0;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  color:var(--pfc-muted);
  font-size:13px;
  text-transform:none;
}
body.woocommerce-order-received .woocommerce-order-overview li:last-child{border-bottom:0}
body.woocommerce-order-received .woocommerce-order-overview li strong{
  color:var(--pfc-text);
  font-size:14px;
  text-align:right;
}
body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after{display:none}
@media(min-width:1400px){
  body.woocommerce-order-received .woocommerce-order.row{grid-template-columns:minmax(0,1fr) 470px}
}
@media(max-width:1000px){
  body.woocommerce-order-received .woocommerce-order.row{grid-template-columns:1fr}
  body.woocommerce-order-received .woocommerce-order.row>.large-5{position:static;order:-1}
}
@media(max-width:620px){
  body.woocommerce-order-received .woocommerce-order.row{gap:16px}
  body.woocommerce-order-received .woocommerce-order.row>.large-7>p,
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details,
  body.woocommerce-order-received .woocommerce-order.row>.large-5>.is-well{padding:20px;border-radius:14px}
  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-order-received .woocommerce-customer-details>.woocommerce-column__title{font-size:18px}
  body.woocommerce-order-received .woocommerce-order-overview li{align-items:flex-start}
}

/* Cart page. Uses the same visual system as checkout and the order-received page. */
body.woocommerce-cart{background:var(--pfc-bg)}
body.woocommerce-cart .page-title,
body.woocommerce-cart .woocommerce-breadcrumb{display:none}
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper:empty{display:none!important}
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper:not(:empty){margin:0 0 20px}
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper .woocommerce-info{
  width:100%;
  max-width:100%;
  margin:0 0 10px!important;
  box-sizing:border-box;
  box-shadow:none!important;
}
body.woocommerce-cart .woocommerce.row.row-large.row-divided{
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:26px;
  align-items:start;
  width:100%;
  max-width:100%;
  margin:0;
}
body.woocommerce-cart .woocommerce.row.row-large.row-divided::before,
body.woocommerce-cart .woocommerce.row.row-large.row-divided::after{display:none}
body.woocommerce-cart .woocommerce.row.row-large.row-divided>.col{
  width:auto;
  max-width:none;
  flex-basis:auto;
  padding:0;
  border:0;
  min-width:0;
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-sidebar{
  margin:0;
  padding:28px;
  background:var(--pfc-white);
  border:1px solid var(--pfc-line);
  border-radius:var(--pfc-radius);
  box-shadow:none;
}
body.woocommerce-cart .cart-sidebar{
  position:sticky;
  top:calc(var(--flatsome-scroll-padding-top,0px) + 24px);
}
body.woocommerce-cart .header-wrapper.stuck~#main .cart-sidebar{
  top:calc(var(--flatsome-scroll-padding-top,90px) + 24px);
}
body.woocommerce-cart .cart-wrapper{overflow:visible}
body.woocommerce-cart table.shop_table{
  width:100%;
  margin:0;
  border:0;
  background:transparent;
  border-collapse:collapse;
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td{
  padding:15px 10px;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  background:transparent;
  vertical-align:middle;
}
body.woocommerce-cart table.shop_table thead th{
  padding-top:0;
  color:var(--pfc-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table th:first-child,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td:first-child{padding-left:0}
body.woocommerce-cart .woocommerce-cart-form table.shop_table th:last-child,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td:last-child{padding-right:0}
body.woocommerce-cart .product-thumbnail{width:112px}
body.woocommerce-cart .product-thumbnail img,
body.woocommerce-cart .product-thumbnail .wcst-product-preview{
  display:block;
  width:92px;
  max-width:92px;
  border-radius:10px;
  overflow:hidden;
}
body.woocommerce-cart .product-name a{color:var(--pfc-text);font-weight:700}
body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal{text-align:right;white-space:nowrap}
body.woocommerce-cart .product-quantity{text-align:center}
body.woocommerce-cart .product-remove{width:34px;text-align:left}
body.woocommerce-cart .product-remove .remove{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid var(--pfc-line);
  border-radius:8px;
  color:var(--pfc-muted)!important;
  font-size:18px;
  line-height:1;
  text-decoration:none;
}
body.woocommerce-cart .product-remove .remove:hover{border-color:#dc2626;color:#dc2626!important;background:#fff}
body.woocommerce-cart .quantity.buttons_added{
  display:inline-flex;
  align-items:stretch;
  border:1px solid var(--pfc-line);
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
body.woocommerce-cart .quantity.buttons_added .button,
body.woocommerce-cart .quantity.buttons_added .qty{
  height:38px;
  min-height:38px;
  margin:0;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff;
}
body.woocommerce-cart .quantity.buttons_added .button{width:36px;padding:0;color:var(--pfc-text)}
body.woocommerce-cart .quantity.buttons_added .qty{width:46px;border-left:1px solid var(--pfc-line)!important;border-right:1px solid var(--pfc-line)!important;text-align:center}
body.woocommerce-cart .woocommerce-cart-form td.actions{
  padding:22px 0 0;
  border-bottom:0;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .continue-shopping,
body.woocommerce-cart .woocommerce-cart-form td.actions .button{margin:0 10px 0 0}
body.woocommerce-cart .woocommerce-cart-form .button,
body.woocommerce-cart .cart-sidebar .button,
body.woocommerce-cart .checkout-button{
  min-height:44px;
  border:0!important;
  border-radius:9px!important;
  box-shadow:none!important;
  background:var(--pfc-primary)!important;
  color:var(--pfc-button-text)!important;
  font-weight:800;
}
body.woocommerce-cart .woocommerce-cart-form .button:hover,
body.woocommerce-cart .cart-sidebar .button:hover,
body.woocommerce-cart .checkout-button:hover{background:var(--pfc-button-hover)!important;color:var(--pfc-button-text)!important}
body.woocommerce-cart .button-continue-shopping.is-outline{
  border:1px solid var(--pfc-primary)!important;
  background:transparent!important;
  color:var(--pfc-primary)!important;
}
body.woocommerce-cart .button-continue-shopping.is-outline:hover{background:color-mix(in srgb,var(--pfc-primary) 7%,transparent)!important}
body.woocommerce-cart .cart_totals>table:first-child{display:none}
body.woocommerce-cart .cart_totals>h2{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 22px;
  color:var(--pfc-text);
  font-size:21px;
}
body.woocommerce-cart .cart_totals>h2::before{
  content:'2';
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:10px;
  background:color-mix(in srgb,var(--pfc-primary) 10%,transparent);
  color:var(--pfc-primary);
  font-size:14px;
  font-weight:800;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td{padding:14px 0}
body.woocommerce-cart .cart_totals table.shop_table th{color:var(--pfc-text);font-weight:700}
body.woocommerce-cart .cart_totals table.shop_table td{text-align:right}
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{font-size:16px}
body.woocommerce-cart .wc-proceed-to-checkout{padding:22px 0 0}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:12px 18px}
body.woocommerce-cart .ux-cart-coupon{
  margin:22px 0 0!important;
  padding:22px 0 0;
  border-top:1px solid var(--pfc-line);
}
body.woocommerce-cart .ux-cart-coupon .coupon h3{
  margin:0 0 12px;
  color:var(--pfc-text);
  font-size:14px;
  font-weight:800;
}
body.woocommerce-cart .ux-cart-coupon .coupon{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}
body.woocommerce-cart .ux-cart-coupon .coupon h3{grid-column:1/-1}
body.woocommerce-cart .ux-cart-coupon input.input-text{
  width:100%;
  height:44px;
  margin:0;
  border:1px solid var(--pfc-line);
  border-radius:9px;
  box-shadow:none;
}
body.woocommerce-cart .ux-cart-coupon .button{height:44px;margin:0;padding:0 18px;white-space:nowrap}
body.woocommerce-cart .cart-footer-content:empty{display:none}
@media(min-width:1400px){body.woocommerce-cart .woocommerce.row.row-large.row-divided{grid-template-columns:minmax(0,1fr) 470px}}
@media(max-width:1000px){
  body.woocommerce-cart .woocommerce.row.row-large.row-divided{grid-template-columns:1fr}
  body.woocommerce-cart .cart-sidebar{position:static}
}
@media(max-width:700px){
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-sidebar{padding:20px;border-radius:14px}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table thead{display:none}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item{
    display:grid;
    grid-template-columns:34px 82px minmax(0,1fr);
    gap:10px;
    padding:18px 0;
    border-bottom:1px solid var(--pfc-line);
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td{
    display:block;
    width:auto!important;
    padding:0!important;
    border:0;
    text-align:left;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-remove{grid-column:1;grid-row:1}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-thumbnail{grid-column:2;grid-row:1/4}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-name{grid-column:3;grid-row:1}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-price{display:none}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-quantity{grid-column:3;grid-row:2}
  body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal{grid-column:3;grid-row:3;font-weight:800}
  body.woocommerce-cart .product-thumbnail img,
  body.woocommerce-cart .product-thumbnail .wcst-product-preview{width:72px;max-width:72px}
  body.woocommerce-cart .woocommerce-cart-form td.actions .continue-shopping{float:none!important;margin:0 0 10px}
  body.woocommerce-cart .woocommerce-cart-form td.actions .button{width:100%;margin:0 0 10px}
  body.woocommerce-cart .ux-cart-coupon .coupon{grid-template-columns:1fr}
  body.woocommerce-cart .ux-cart-coupon .coupon h3{grid-column:1}
  body.woocommerce-cart .ux-cart-coupon .button{width:100%}
}


/* v1.3.2 fixes */
.button-continue-shopping,
.button-continue-shopping.button,
.continue-shopping .button{
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
text-align:center;
}
.ux-cart-coupon .button,
.ux-cart-coupon button{
font-size:14px;
line-height:1.2;
white-space:nowrap;
padding-inline:18px;
}


/* v1.3.4: Professional My Account order view */
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content{
  --pfc-line:#e5e7eb;
  --pfc-text:#172033;
  --pfc-muted:#667085;
  display:flex;
  flex-direction:column;
  gap:30px;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content>.woocommerce-notices-wrapper:empty{display:none}
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content>p:first-of-type{
  margin:0;
  padding:20px 22px;
  border:1px solid var(--pfc-line);
  border-radius:16px;
  background:#fff;
  color:var(--pfc-muted);
  line-height:1.65;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content>p:first-of-type mark{
  padding:2px 6px;
  border-radius:6px;
  background:color-mix(in srgb,var(--pfc-primary) 9%,transparent);
  color:var(--pfc-primary);
  font-weight:800;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details,
body.woocommerce-account.woocommerce-view-order .pfc-order-company{
  margin:0;
  padding:28px;
  border:1px solid var(--pfc-line);
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details{
  display:flex;
  flex-direction:column;
  gap:28px;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details>.woocommerce-column__title,
body.woocommerce-account.woocommerce-view-order .pfc-order-company>h2{
  display:block;
  margin:0 0 22px;
  color:var(--pfc-text);
  font-size:22px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:-.01em;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details__title::before,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details>.woocommerce-column__title::before,
body.woocommerce-account.woocommerce-view-order .pfc-order-company>h2::before{content:none!important;display:none!important}
body.woocommerce-account.woocommerce-view-order table.shop_table{
  margin:0;
  border:0;
  border-collapse:collapse;
  background:transparent;
}
body.woocommerce-account.woocommerce-view-order table.shop_table th,
body.woocommerce-account.woocommerce-view-order table.shop_table td{
  padding:17px 0;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  vertical-align:top;
}
body.woocommerce-account.woocommerce-view-order table.shop_table tbody tr+tr th,
body.woocommerce-account.woocommerce-view-order table.shop_table tbody tr+tr td{padding-top:22px}
body.woocommerce-account.woocommerce-view-order table.shop_table thead th{
  padding-top:0;
  color:var(--pfc-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.woocommerce-account.woocommerce-view-order table.shop_table .product-name>a{
  color:var(--pfc-text);
  font-weight:800;
}
body.woocommerce-account.woocommerce-view-order table.shop_table .product-total{text-align:right;white-space:nowrap}
body.woocommerce-account.woocommerce-view-order table.shop_table tfoot{border-top:2px solid var(--pfc-line)}
body.woocommerce-account.woocommerce-view-order table.shop_table tfoot th{color:var(--pfc-text);font-weight:700}
body.woocommerce-account.woocommerce-view-order table.shop_table tfoot td{text-align:right}
body.woocommerce-account.woocommerce-view-order table.shop_table tfoot tr:last-child th,
body.woocommerce-account.woocommerce-view-order table.shop_table tfoot tr:last-child td{border-bottom:0;font-weight:800}
body.woocommerce-account.woocommerce-view-order .wc-item-meta{
  display:grid;
  gap:6px;
  margin:12px 0 0;
  padding:0;
  color:var(--pfc-muted);
  font-size:13px;
  line-height:1.5;
}
body.woocommerce-account.woocommerce-view-order .wc-item-meta li{margin:0}
body.woocommerce-account.woocommerce-view-order .wc-item-meta-label{color:var(--pfc-text)}
body.woocommerce-account.woocommerce-view-order .wc-item-meta p{display:inline;margin:0}
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address{
  margin:0;
  padding:0;
  border:0;
  color:var(--pfc-text);
  font-style:normal;
  line-height:1.85;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details--phone,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details--email{margin:14px 0 0;padding-left:0}
body.woocommerce-account.woocommerce-view-order .pfc-order-company{
  margin:0;
  padding:24px;
  border-radius:14px;
  background:#fafbfc;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-company>h2{margin-bottom:18px;font-size:19px}
body.woocommerce-account.woocommerce-view-order .pfc-order-company dl{
  display:grid;
  grid-template-columns:minmax(180px,auto) 1fr;
  gap:12px 24px;
  margin:0;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-company dt{color:var(--pfc-muted);font-weight:700}
body.woocommerce-account.woocommerce-view-order .pfc-order-company dd{margin:0;color:var(--pfc-text);font-weight:700}
@media(max-width:700px){
  body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content{gap:22px}
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details{padding:20px;border-radius:14px}
  body.woocommerce-account.woocommerce-view-order .pfc-order-company{padding:18px;border-radius:12px}
  body.woocommerce-account.woocommerce-view-order table.shop_table thead{display:none}
  body.woocommerce-account.woocommerce-view-order table.shop_table tr.order_item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
  body.woocommerce-account.woocommerce-view-order table.shop_table tr.order_item td{display:block;width:auto!important}
  body.woocommerce-account.woocommerce-view-order .pfc-order-company dl{grid-template-columns:1fr;gap:4px}
  body.woocommerce-account.woocommerce-view-order .pfc-order-company dd{margin:0 0 12px}
}

/* v1.3.5: My Account orders and secure reorder actions */
body.woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content{
  --pfc-line:#e5e7eb;
  --pfc-text:#172033;
  --pfc-muted:#667085;
}
body.woocommerce-account.woocommerce-orders .woocommerce-MyAccount-content>.woocommerce-notices-wrapper:empty{display:none}
body.woocommerce-account.woocommerce-orders .touch-scroll-table{
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  padding:0;
}
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table{
  width:100%;
  margin:0;
  border:0;
  border-collapse:collapse;
  background:transparent;
}
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table th,
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table td{
  padding:18px 20px;
  border:0;
  border-bottom:1px solid var(--pfc-line);
  vertical-align:middle;
}
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table thead th{
  color:var(--pfc-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table tbody tr:last-child th,
body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table tbody tr:last-child td{border-bottom:0}
body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-number a{
  color:var(--pfc-text);
  font-weight:800;
}
body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions{
  min-width:205px;
  text-align:right;
  white-space:nowrap;
}
body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin:2px 0 2px 8px;
  padding:0 14px;
  border:1px solid var(--pfc-line);
  border-radius:8px;
  background:#fff;
  color:var(--pfc-text);
  box-shadow:none;
  font-size:13px;
  line-height:1;
  text-transform:none;
}
body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions .button.pfc-reorder{
  border-color:var(--pfc-primary);
  background:var(--pfc-primary);
  color:var(--pfc-button-text);
}
body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions .button.pfc-reorder:hover{
  border-color:var(--pfc-button-hover);
  background:var(--pfc-button-hover);
  color:var(--pfc-button-text);
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-actions{
  display:block;
  margin-top:12px;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  margin:0;
  padding:0 14px;
  border:1px solid var(--pfc-line);
  border-radius:8px;
  background:#fff;
  color:var(--pfc-primary);
  box-shadow:none;
  font-size:13px;
  font-weight:700;
  line-height:1;
  text-transform:none;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-actions .button:hover{
  border-color:var(--pfc-primary);
  background:color-mix(in srgb,var(--pfc-primary) 6%,#fff);
  color:var(--pfc-primary);
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions{
  display:flex;
  justify-content:flex-end;
  margin:-8px 0 0;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0;
  padding:0 20px;
  border:1px solid var(--pfc-primary);
  border-radius:9px;
  background:var(--pfc-primary);
  color:var(--pfc-button-text);
  box-shadow:none;
  font-size:14px;
  font-weight:800;
  line-height:1;
  text-transform:none;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions .button:hover{
  border-color:var(--pfc-button-hover);
  background:var(--pfc-button-hover);
  color:var(--pfc-button-text);
}
@media(max-width:700px){
  body.woocommerce-account.woocommerce-orders .touch-scroll-table{border:0;background:transparent}
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table,
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table tbody{display:block}
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table thead{display:none}
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table tr{
    display:block;
    margin:0 0 16px;
    padding:18px;
    border:1px solid var(--pfc-line);
    border-radius:14px;
    background:#fff;
  }
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table th,
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table td{
    display:flex;
    justify-content:space-between;
    gap:18px;
    width:100%;
    padding:10px 0;
    border-bottom:1px solid var(--pfc-line);
    text-align:right!important;
  }
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table th::before,
  body.woocommerce-account.woocommerce-orders table.woocommerce-orders-table td::before{
    color:var(--pfc-muted);
    font-weight:700;
    text-align:left;
  }
  body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions{
    display:flex!important;
    flex-wrap:wrap;
    justify-content:flex-end;
    min-width:0;
    padding-top:14px!important;
    border-bottom:0!important;
    white-space:normal;
  }
  body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions::before{width:100%;margin-bottom:6px}
  body.woocommerce-account.woocommerce-orders .woocommerce-orders-table__cell-order-actions .button{
    flex:1 1 120px;
    margin:0 0 0 8px;
  }
  body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions{justify-content:stretch}
  body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions .button{width:100%}
}


/* v1.3.6: Clear reorder choices on the detailed order page */
body.woocommerce-account.woocommerce-view-order .pfc-order-item-actions{display:none!important}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:18px 0 2px;
  padding:14px 16px;
  border:1px solid var(--pfc-line);
  border-radius:10px;
  background:#f8fafc;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder-copy{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder-copy strong{
  color:var(--pfc-text);
  font-size:13px;
  line-height:1.35;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder-copy span{
  color:var(--pfc-muted);
  font-size:12px;
  line-height:1.45;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder .button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin:0;
  padding:0 15px;
  border:1px solid var(--pfc-primary);
  border-radius:8px;
  background:#fff;
  color:var(--pfc-primary);
  box-shadow:none;
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-transform:none;
  white-space:nowrap;
}
body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder .button:hover{
  background:color-mix(in srgb,var(--pfc-primary) 7%,#fff);
  color:var(--pfc-primary);
}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details tfoot tr:has(.order-actions--heading){display:none}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:24px 0 0;
  padding:20px;
  border:1px solid var(--pfc-line);
  border-radius:12px;
  background:#f8fafc;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions-copy strong{
  color:var(--pfc-text);
  font-size:15px;
  line-height:1.35;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions-copy span{
  max-width:620px;
  color:var(--pfc-muted);
  font-size:13px;
  line-height:1.5;
}
body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions .button{
  flex:0 0 auto;
  min-height:44px;
  padding:0 20px;
  white-space:nowrap;
}
@media(max-width:700px){
  body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder,
  body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions{
    align-items:stretch;
    flex-direction:column;
    gap:14px;
  }
  body.woocommerce-account.woocommerce-view-order .pfc-order-item-reorder .button,
  body.woocommerce-account.woocommerce-view-order .pfc-view-order-actions .button{width:100%}
}

/* «Fortsett til kassen»-knappen i handlekurven: knappeutseende + hvit tekst */
body.ss-mv #main .woocommerce a.checkout-button.wc-forward,
body.ss-mv .woocommerce a.checkout-button.wc-forward,
body.ss-mv .woocommerce a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout,
body.woocommerce-cart .wc-proceed-to-checkout a.wc-forward,
body.woocommerce-cart a.checkout-button,
body.woocommerce-cart a.checkout.wc-forward,
body.woocommerce-cart a.button.wc-forward,
body.woocommerce-cart a.wc-forward{background:var(--pfc-primary,#071a34)!important;border-color:var(--pfc-primary,#071a34)!important;color:#fff!important;display:inline-block;padding:14px 26px;border-radius:10px;font-weight:700;text-decoration:none}
body.ss-mv #main .woocommerce a.checkout-button.wc-forward:hover,
body.ss-mv .woocommerce a.checkout-button.wc-forward:hover,
body.ss-mv .woocommerce a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.wc-forward:hover,
body.woocommerce-cart a.checkout.wc-forward:hover{color:#fff!important}
