/*
Theme Name: Storefront Child
Version: 1.0
Description: Child theme for Storefront.
Author: Bizkit
Author URI: http://bizkit.nu
Template: storefront
*/

:root {
  --primary: #91ad7e;
  --primaryLight: #7abb4c17;
  --primaryDark: #789465;

  --mediumGrey: #f3f3f3;
  --mediumGreyDarker: #e4e4e4;
  --darkGrey: #363636;
  --black: #000000;

  --fontFamily: "Kanit", sans-serif;
}
body {
  font-family: var(--fontFamily);
  -webkit-font-smoothing: antialiased;
  overflow-y: auto !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fontFamily) !important;
}
p {
  font-size: 14px;
  line-height: 18px;
  color: var(--darkGrey);
  font-weight: 300;
}
a {
  color: var(--black) !important;
  text-decoration: none !important;
}
a:hover {
  color: var(--primary) !important;
}
a:focus,
button:focus {
  outline: none;
}
input,
textarea {
  box-shadow: none !important;
  border-radius: 10px;
}
input:focus {
  outline: none;
}
input.wpcf7-form-control {
  width: 100%;
}
select {
  border-radius: 5px;
  padding: 8px;
}
a.button,
button,
input[type="submit"] {
  color: #ffffff !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  font-family: var(--fontFamily);
  border-radius: 10px !important;
  font-size: 14px;
  font-weight: 400 !important;
  text-align: center;
  width: 100% !important;
  transition: 0.3s;
}
a.button:hover,
a.wp-element-button:hover,
button:hover {
  color: #ffffff !important;
  background: var(--primaryDark) !important;
}
#primary,
#secondary {
  padding-top: 0px;
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
}
#content {
  padding-top: 70px;
}
.col-full {
  max-width: calc(1200px - 60px);
  padding: 0px 30px;
}
#secondary,
.storefront-sorting > .woocommerce-result-count {
  display: none !important;
}
/*
#secondary,
.storefront-sorting > .woocommerce-result-count,
.storefront-sorting :not(.new-row) .woocommerce-pagination,
:not(.footer-pagination) .storefront-sorting .woocommerce-pagination {
  display: none !important;
}
*/
article .entry-header .entry-title {
  margin-top: 0px;
  display: none;
}
.storefront-breadcrumb {
  padding: 1em 0 !important;
}
.storefront-breadcrumb {
  color: var(--primary) !important;
  font-weight: 300;
}
.storefront-breadcrumb a,
.storefront-breadcrumb span {
  color: var(--darkGrey) !important;
  font-weight: 300;
}
.storefront-breadcrumb .col-full {
  padding: 0px !important;
}
.entry-content {
  padding-top: 30px;
}

@media only screen and (max-width: 768px) {
  .col-full {
    padding: 0px 0px;
  }
  #primary {
    padding-top: 70px;
  }
  .wp-block-button {
    width: 100% !important;
  }
}
.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
  background-color: #91ad7e;
}

.control {
  font-family: arial;
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
  padding-top: 3px;
  cursor: pointer;
  font-size: 16px;
}
.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.control_indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 0px;
}
.control:hover input ~ .control_indicator,
.control input:focus ~ .control_indicator {
  background: #cccccc;
}

.control input:checked ~ .control_indicator {
  background: #91ad7e;
}
.control:hover input:not([disabled]):checked ~ .control_indicator,
.control input:checked:focus ~ .control_indicator {
  background: #91ad7e;
}
.control input:disabled ~ .control_indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.control_indicator:after {
  box-sizing: unset;
  content: "";
  position: absolute;
  display: none;
}
.control input:checked ~ .control_indicator:after {
  display: block;
}
.control-checkbox .control_indicator:after {
  left: 8px;
  top: 4px;
  width: 3px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.control-checkbox input:disabled ~ .control_indicator:after {
  border-color: #7b7b7b;
}
.control-checkbox .control_indicator::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 4.5rem;
  height: 4.5rem;
  margin-left: -1.3rem;
  margin-top: -1.3rem;
  background: #2aa1c0;
  border-radius: 3rem;
  opacity: 0.6;
  z-index: 99999;
  transform: scale(0);
}
@keyframes s-ripple {
  0% {
    transform: scale(0);
  }
  20% {
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes s-ripple-dup {
  0% {
    transform: scale(0);
  }
  30% {
    transform: scale(1);
  }
  60% {
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.control-checkbox input + .control_indicator::before {
  animation: s-ripple 250ms ease-out;
}
.control-checkbox input:checked + .control_indicator::before {
  animation-name: s-ripple-dup;
}
.checkboxes {
  width: 21px;
  height: 21px;
}

.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  object-fit: contain; /* hela bilden syns */
  background: #fff; /* fyll runt bilden */
}

/* Hide invoiceadress in thankyou page */
.col2-set.addresses {
  display: none !important;
}
.woocommerce-MyAccount-content .col2-set.addresses {
  display: block !important;
}

/* Force checkout sections to stack vertically */
.checkout-customer-details-stacked {
  display: block !important;
  width: 100% !important;
  float: none !important;
}

.checkout-customer-details-stacked > div {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.checkout-customer-details-stacked .woocommerce-billing-fields,
.checkout-customer-details-stacked .woocommerce-shipping-fields {
  width: 100% !important;
  float: none !important;
  margin-bottom: 30px;
}

/* Checkout heading alignment */
#order_review_heading {
  text-align: left;
  margin-top: 0 !important;
  margin-bottom: 20px;
  font-size: 24px;
  width: 100%;
  /* font-weight: 600; */
}

/* Payment block styling */
#payment {
  width: 100%;
  min-width: 0;
}

#payment h3 {
  margin-top: 0;
  font-size: 20px;
  /* font-weight: 600; */
  margin-bottom: 15px;
}

.woocommerce-checkout .col-2 h3 {
  margin-top: 0;
  font-size: 20px;
  /* font-weight: 600; */
  margin-bottom: 15px;
}

/* Payment methods styling */
#payment .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#payment .wc_payment_methods li {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
}

#payment .wc_payment_methods li label {
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: block;
  width: 100%;
}

/* Shipping methods in table footer */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
  background-color: #fff;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
  text-align: left;
  padding: 12px 15px;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
  padding: 12px 15px;
  text-align: right !important;
}

.woocommerce-checkout-review-order-table
  .woocommerce-shipping-totals
  .kco-shipping {
  text-align: right !important;
}

/* Make shipping method selectable if there are multiple options */
#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: right;
}

#shipping_method li {
  margin-bottom: 8px;
  display: block;
}

#shipping_method li label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
}

#shipping_method li input[type="radio"] {
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.woocommerce-checkout-review-order-table td[data-title="Frakt"] {
  text-align: right !important;
}

.woocommerce-checkout-review-order-table .shipping ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout-review-order-table .shipping ul li {
  text-align: right;
  margin-bottom: 5px;
}

/* Order review section in right column */
#order_review {
  width: 100%;
}

.woocommerce-checkout-review-order {
  width: 100%;
}

/* Enhanced Checkout Review Order Table - Single row layout */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  table-layout: auto;
}

.woocommerce-checkout-review-order-table thead th {
  padding: 12px 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--mediumGreyDarker);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.woocommerce-checkout-review-order-table thead th.product-quantity,
.woocommerce-checkout-review-order-table thead th.product-price,
.woocommerce-checkout-review-order-table thead th.product-subtotal {
  text-align: center;
}

.woocommerce-checkout-review-order-table thead th.product-remove {
  text-align: center;
  width: 50px;
}

/* Product rows */
.woocommerce-checkout-review-order-table tbody tr {
  border-bottom: 1px solid var(--mediumGrey);
  background-color: #fff;
}

.woocommerce-checkout-review-order-table tbody tr:hover {
  background-color: rgba(145, 173, 126, 0.03);
}

.woocommerce-checkout-review-order-table tbody td {
  padding: 15px 15px;
  vertical-align: middle;
}

/* Product name cell with image */
.woocommerce-checkout-review-order-table .product-name {
  min-width: 250px;
}

.woocommerce-checkout-review-order-table .product-name-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-checkout-review-order-table .product-thumbnail {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mediumGrey);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.woocommerce-checkout-review-order-table .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce-checkout-review-order-table .product-info {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

/* Quantity column */
.woocommerce-checkout-review-order-table .product-quantity {
  text-align: center;
  white-space: nowrap;
}

/* Price column */
.woocommerce-checkout-review-order-table .product-price {
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
}

/* Subtotal column */
.woocommerce-checkout-review-order-table .product-subtotal {
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
}

/* Remove button column */
.woocommerce-checkout-review-order-table .product-remove {
  text-align: center;
  width: 50px;
}

/* Remove button styling */
.woocommerce-checkout-review-order-table .product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
  font-size: 24px;
  color: #999;
  text-decoration: none;
}

.woocommerce-checkout-review-order-table .product-remove a:hover {
  color: #91ad7e !important;
}

/* Quantity controls - less compact */
.woocommerce-checkout-review-order-table .quantity-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.woocommerce-checkout-review-order-table .qty-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  font-family: Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #555;
}

.woocommerce-checkout-review-order-table .qty-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.woocommerce-checkout-review-order-table input.checkout-qty {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
  padding: 5px 4px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  appearance: textfield;
  -moz-appearance: textfield;
  margin: 0;
  color: #333;
  background: #fff;
}

.woocommerce-checkout-review-order-table input.checkout-qty:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(145, 173, 126, 0.2);
}

.woocommerce-checkout-review-order-table
  input.checkout-qty::-webkit-outer-spin-button,
.woocommerce-checkout-review-order-table
  input.checkout-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Price styling - make more prominent */
.woocommerce-checkout-review-order-table .product-price,
.woocommerce-checkout-review-order-table .product-subtotal {
  font-weight: 600;
  color: #333;
}

.woocommerce-checkout-review-order-table
  .product-price
  .woocommerce-Price-amount,
.woocommerce-checkout-review-order-table
  .product-subtotal
  .woocommerce-Price-amount {
  font-size: 15px;
}

.woocommerce-checkout-review-order-table tfoot th {
  padding: 12px 15px;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  width: 50%;
}

.woocommerce-checkout-review-order-table tfoot td {
  padding: 12px 15px;
  text-align: right !important;
  font-size: 14px;
  font-weight: 600;
  width: 50%;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 18px;
  font-weight: 700;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 2px solid var(--mediumGreyDarker);
}

/* Force col2-set to display side by side on checkout */
.woocommerce-checkout .col2-set {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  align-items: flex-start;
}

.woocommerce-checkout .col2-set .col-1 {
  flex: 1;
  min-width: 0;
  float: none;
  margin: 0;
}

.woocommerce-checkout .col2-set .col-2 {
  flex: 1;
  min-width: 0;
  float: none;
  margin: 0;
}

.woocommerce-checkout .col2-set::after {
  content: "";
  display: table;
  clear: both;
}

/* Order review table wrapper */
#order_review_table_only {
  width: 100%;
  margin-bottom: 30px;
  overflow-x: auto;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  .woocommerce-checkout .col2-set {
    flex-wrap: wrap;
  }

  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    flex: none;
  }

  .woocommerce-checkout-review-order-table {
    font-size: 12px;
  }

  .woocommerce-checkout-review-order-table thead {
    display: none;
  }

  .woocommerce-checkout-review-order-table tbody tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid var(--mediumGrey);
    border-radius: 8px;
  }

  .woocommerce-checkout-review-order-table tbody td {
    display: block;
    padding: 10px;
    text-align: left !important;
    border: none;
  }

  .woocommerce-checkout-review-order-table tbody td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
  }

  .woocommerce-checkout-review-order-table .product-name::before {
    display: none;
  }

  .woocommerce-checkout-review-order-table .product-name-wrapper {
    gap: 10px;
  }

  .woocommerce-checkout-review-order-table .product-thumbnail {
    width: 50px;
    height: 50px;
  }

  .woocommerce-checkout-review-order-table .product-info {
    font-size: 13px;
  }

  .woocommerce-checkout-review-order-table .product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    width: auto;
  }

  .woocommerce-checkout-review-order-table .product-remove::before {
    display: none;
  }

  .woocommerce-checkout-review-order-table .product-remove a {
    width: 24px !important;
    height: 24px !important;
    font-size: 20px;
  }

  .woocommerce-checkout-review-order-table .quantity-controls {
    gap: 5px !important;
  }

  .woocommerce-checkout-review-order-table .qty-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 14px;
  }

  .woocommerce-checkout-review-order-table input.checkout-qty {
    width: 45px !important;
    padding: 4px 2px;
    font-size: 13px;
  }

  .woocommerce-checkout-review-order-table tfoot th,
  .woocommerce-checkout-review-order-table tfoot td {
    padding: 10px;
    font-size: 13px;
    width: 50%;
  }

  .woocommerce-checkout-review-order-table tfoot .order-total th,
  .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 16px;
  }
}

/* Hide coupon in cart */
.woocommerce-form-coupon-toggle {
  display: none !important;
}

/* .woocommerce-checkout-review-order-table tfoot th {
  padding: 12px 15px;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  width: 50%;
}

.woocommerce-checkout-review-order-table tfoot td {
  padding: 12px 15px;
  text-align: right !important;
  font-size: 14px;
  font-weight: 600;
  width: 50%;
} */

.text_height {
	min-height:65px;
}
.b2bking_custom_registration_container_field_11045 .woocommerce-form-row {
	width:30px;
	float:left;
}
.b2bking_custom_registration_container_field_11044 {
	padding-left:30px;
}
.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
	display:none;
}