#infinite-footer {
	display: none;
}

.woocommerce-additional-fields__field-wrapper {
	margin-left: -25px;
	margin-top: -30px;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}


.yith-wapo-option.selection-single .option-container {
  display: grid !important;
  grid-template-columns: 70px auto 1fr;
  align-items: center !important;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  width: 100% !important;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

.yith-wapo-option.selection-single .option-container:hover {
  border-color: #ccc;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.yith-wapo-option.selection-single .option-container .image-container {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
}

.yith-wapo-option.selection-single .option-container .image-container img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.yith-wapo-option.selection-single .option-container label.yith-wapo-addon-label {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin: 0;
  width: 100%;
  cursor: pointer;
  margin-left: 5px !important;
}

.yith-wapo-option.selection-single .option-container .checkbox-button-container {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  margin: 0 !important;
}

.yith-wapo-option.selection-single .option-container .checkbox-button-container input {
  transform: scale(1.2);
  cursor: pointer;
}

.yith-wapo-option.selection-single .option-price {
  margin-left: 8px !important;
  font-weight: 600;
  color: #444;
}

.yith-wapo-option.selection-single {
  width: 100% !important;
  box-sizing: border-box;
}

/* Alternativ utan bild */
.yith-wapo-option.selection-single:not(:has(.image-container)) .option-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  width: 100% !important;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) .checkbox-button-container {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin-right: 10px;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label {
  order: 2;
  flex: 1 1 auto;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin: 0;
  width: 100%;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label > span,
.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label > small {
  margin-left: auto !important;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) .option-price {
  margin-left: auto !important;
  font-weight: 600;
  color: #444;
}

/* Beskrivning */
.yith-wapo-option.selection-single .description {
  font-size: 13px;
  color: #555;
  margin-left: 55px;
  margin-bottom: -1px;
  display: block;
}

/* Tvinga priset längst till höger – oavsett struktur */
.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label {
  display: flex !important;
  align-items: center;
  width: 100%;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label small.option-price {
  margin-left: auto !important;
  display: inline-block !important;
  text-align: right !important;
  min-width: 100px;
}

.yith-wapo-option.selection-single:not(:has(.image-container)) label.yith-wapo-addon-label .option-price span {
  white-space: nowrap;
}

/* Markera vald ruta */
.yith-wapo-option.selection-single:has(input:checked) .option-container {
  border-color: #3b82f6 !important;   /* blå kant */
  background: #eef5ff !important;      /* mjukt blått bakgrundsljus */
  box-shadow: 0 0 0 2px rgba(59,130,246,0.25); /* diskret highlight */
  transform: translateY(-1px);
}








































/* Bas */
.woocommerce-cart {
	color: #143065;
	font-family: Inter;
}

/* Produktnamn */
.woocommerce-cart .product-name a {
	font-weight: 500;
	font-size: 18px;
	color: #143065;
}

/* Dölj kupong & uppdatera-knapp */
.woocommerce-cart .coupon,
.woocommerce-cart button[name="update_cart"] {
	display: none !important;
}

/* Checkout-knapp */
.woocommerce-cart a.checkout-button.button.alt.wc-forward {
	color: #fff;
	background-color: #4DA7CA;
	border: 1px solid #4DA7CA;
	border-radius: 8px;
}

.woocommerce-cart a.checkout-button.button.alt.wc-forward:hover {
	background-color: #165B76;
	border-color: #165B76;
}

/* Tvåkolumnslayout */
.woocommerce-cart .cart-collaterals {
	float: none !important;
	max-width: none !important;
}

.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
.woocommerce-cart .woocommerce > .cart-collaterals {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}

.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
	width: 55%;
}

.woocommerce-cart .woocommerce > .cart-collaterals {
	width: 42%;
}

.woocommerce-cart .cart_totals {
	width: 100% !important;
}

/* Totals-rubrik */
.woocommerce-cart .cart-collaterals h2 {
	font-size: 20px;
	font-weight: 600 !important;
	color: #143065;
}

/* Mobil */
@media (max-width: 768px) {
	.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
	.woocommerce-cart .woocommerce > .cart-collaterals {
		width: 100%;
	}
}

/* Tabellreset */
.woocommerce-cart thead {
	display: none;
}

.woocommerce-cart table,
.woocommerce-cart tr,
.woocommerce-cart td,
.woocommerce-cart th {
	border: none;
}

.woocommerce-cart th.product-price,
.woocommerce-cart td.product-price {
	display: none;
}

/* Padding & spacing */
.woocommerce-cart td {
	padding-left: 52px;
	padding-right: 52px;
}

.woocommerce-cart-form__contents {
	padding: 10px 10px 0;
}

/* Quantity */
.woocommerce-cart .quantity input.qty {
	border: none;
	background: transparent;
	box-shadow: none;
	padding: 0;
	font-weight: 600;
	text-align: center;
}

.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
	opacity: 1;
}

/* Produkt-rad (flex) */
.woocommerce-cart tr.cart_item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
}

.woocommerce-cart td.product-quantity {
	flex: 0 0 auto;
}

.woocommerce-cart td.product-subtotal {
	flex: 1 1 100%;
	font-size: 17px;
	font-weight: 700 !important;
	margin-bottom: -20px;
}

/* Remove-ikon */
.woocommerce-cart td.product-remove {
	position: absolute !important;
	top: 23px;
	right: 12px;
	width: auto !important;
}

.woocommerce-cart td.product-remove a {
	display: block;
	width: 23px;
	height: 23px;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	text-indent: 0 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6M9 7h6m2 0H7m3-3h4a1 1 0 011 1v2H9V5a1 1 0 011-1z'/%3E%3C/svg%3E") no-repeat center;
	background-size: 23px 23px;
	opacity: 0.6;
	cursor: pointer;
}

.woocommerce-cart td.product-remove a::before,
.woocommerce-cart td.product-remove a::after {
	content: none !important;
	display: none !important;
}

.woocommerce-cart td.product-remove a:hover {
	opacity: 1;
}

/* Box-border */
.woocommerce-cart table.shop_table {
	border: 1px solid #e6e6e6;
}

.woocommerce-cart td,
.woocommerce-cart th {
	border: none !important;
}

.woocommerce-cart .cart_totals {
	border: 1px solid red;
	box-sizing: border-box;
}

.woocommerce-cart .cart_totals {
	border: 1px solid #e6e6e6 !important;
	box-sizing: border-box;
}















#wapo-total-price-table, #wapo-total-price-table * { 
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 
	color: #2480A6;
} 

#wapo-total-price-table,
#wapo-total-price-table * {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#wapo-total-price-table table.only_final {
  border: none !important;}

#wapo-total-price-table table.only_final th,
#wapo-total-price-table table.only_final td {
  border: none !important;
  background: transparent !important;
  margin-top: -50px;
	padding: 0px;
}

#wapo-total-price-table tr.wapo-total-order {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
		gap: 8px;
}

#wapo-total-price-table tr.wapo-total-order th {
  font-weight: 500;
  font-size: 18px;
  color: inherit;
}

#wapo-total-price-table tr.wapo-total-order td {
  font-weight: 700;
  font-size: 24px;
  text-align: right;
  white-space: nowrap;
}

#wapo-total-price-table tr.wapo-total-order th {
  position: relative;
  font-size: 0;
}

#wapo-total-price-table tr.wapo-total-order th::after {
  content: "Totalt:";
  font-size: 18px;
  font-weight: 600;
}

/* Knappen på produktkorten */
.woocommerce ul.products li.product .button {
    display: block;
    width: calc(100%);
		margin: 0 auto;
    text-align: center;
}
/* Produktkort */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Titel */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 60px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 10px;
}

/* Pris */
.woocommerce ul.products li.product .price {
  border-top: 1px solid #E0E0E0;
  padding-top: 10px;
  margin-top: 10px;
}

/* Aktiv kategori – bakgrund */
body.tax-product_cat.term-laddboxar .menu-laddboxar,
body.tax-product_cat.term-lastbalansering .menu-lastbalansering,
body.tax-product_cat.term-laddkablar .menu-laddkablar,
body.tax-product_cat.term-kabelhallare .menu-kabelhallare,
body.tax-product_cat.term-laddstolpar-elbilsladdning .menu-laddstolpar,
body.tax-product_cat.term-tillbehor-till-laddbox .menu-tillbehor,
body.tax-product_cat.term-varmestyrning-smart .menu-varmestyrning {
  background-color: black !important;
}

/* Aktiv kategori – text + ikon */
body.tax-product_cat.term-laddboxar .menu-laddboxar *,
body.tax-product_cat.term-lastbalansering .menu-lastbalansering *,
body.tax-product_cat.term-laddkablar .menu-laddkablar *,
body.tax-product_cat.term-kabelhallare .menu-kabelhallare *,
body.tax-product_cat.term-laddstolpar-elbilsladdning .menu-laddstolpar *,
body.tax-product_cat.term-tillbehor-till-laddbox .menu-tillbehor *,
body.tax-product_cat.term-varmestyrning-smart .menu-varmestyrning * {
  color: #ffffff !important;
}



/* ===== KORTET ===== */
.pewc-product-extra-groups .pewc-item.pewc-item-select {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px 20px;
    list-style: none;
    transition: all 0.2s ease;
}

/* Hover */
.pewc-product-extra-groups .pewc-item.pewc-item-select:hover {
    border-color: lightblue;
}

/* Aktivt kort - bara när JS lägger till class */
.pewc-product-extra-groups .pewc-item.pewc-item-select.active {
    border-color: #eef5ff !important;
    background: #eef5ff !important;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.25);
    transform: translateY(-1px);
}

/* ===== BILD ===== */
.pewc-product-extra-groups .pewc-item-field-image-wrapper {
    flex: 0 0 70px;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pewc-product-extra-groups .pewc-item-field-image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: none !important;
}


/* ===== TEXTDEL ===== */
.pewc-product-extra-groups .pewc-item-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pewc-product-extra-groups .pewc-field-label {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    color: #111;
}

.pewc-product-extra-groups .required {
    display: none;
}

/* ===== DROPDOWN ===== */
.pewc-product-extra-groups .pewc-select-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
}

.pewc-product-extra-groups select.pewc-form-field {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    color: #111;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none !important;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {
    .pewc-product-extra-groups .pewc-item.pewc-item-select {
        flex-direction: column;
        align-items: flex-start;
    }

    .pewc-product-extra-groups select.pewc-form-field {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

/* Ta bort extra box runt dropdown */
.pewc-product-extra-groups .pewc-select-wrapper {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}




.pewc-product-extra-groups .pewc-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pewc-product-extra-groups .pewc-item:hover {
    border-color: #d8e7ff;
}

.pewc-product-extra-groups .pewc-checkbox-form-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pewc-product-extra-groups input[type="checkbox"] {
    display: none;
}

.pewc-product-extra-groups .pewc-theme-element {
    border: 1.5px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    display: inline-block;
    position: relative;
}

.pewc-product-extra-groups input[type="checkbox"]:checked + span + .pewc-theme-element {
    background: #5b9ae6;
    border-color: #5b9ae6;
}





