/*
Theme Name: Digia ComPack
Theme URI: https://digia.com
Description: An optimized custom theme for Woocommerce
Version: 0.0.1
Author: Digia
Author URI: https://digia.com
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digia

Digia ComPack WordPress Theme, Copyright (C) 2023, Sivustonikkari
Digia ComPack is distributed under the terms of the WTFPL
*/
@font-face {
    font-family: 'Nunito Sans';
    src: url('fonts/NunitoSans-ExtraLight.woff')  format('woff');
    font-weight: light;
}
@font-face {
    font-family: 'Nunito Regular';
    src: url('fonts/NunitoSans-Regular.woff')  format('woff');
    font-weight: normal;
}
@font-face {
    font-family: 'Oswald';
        src: url('fonts/Roboto-SemiBold.woff')  format('woff');
    /*src: url('fonts/Oswald-Regular.woff')  format('woff');*/
}
@font-face {
    font-family: 'Rubik';
    src: url('fonts/Rubik-Light.woff')  format('woff');
}

@font-face {
    font-family: 'Roboto Regular';
    src: url('fonts/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Light';
    src: url('fonts/Roboto-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto SemiBold';
    src: url('fonts/Roboto-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;	
	text-decoration: none;
	font-family: 'Nunito Regular', sans-serif;
	font-family: 'Roboto Regular', sans-serif;
}
:root{
	/*--digia-color-main: #00599b;*/
	--digia-color-main: #007864;

	
	--digia-color-red: #9D3127;
	--digia-color-green:#00692B;
	--digia-color-gray:#3D3D3D;
	--digia-color-lightgray:#262626:
}
/*TODO make into a setting?*/
#content{
	margin-top:165px;
	background:none;
}

#main{
	width:calc( 100% - 60px );
	max-width:1460px;
	margin:auto;
	padding:0 30px;
	background:#FFF;
}
body, html{
	width:100%;
	overflow-x:hidden;
	font-family: 'Nunito Regular';
}
h1, h2, h3, h4, h5, h6{
	font-family: 'Oswald', sans-serif;
	font-family:'Roboto Regular', sans-serif;
}
p{ 
	margin-top:18px; 
	line-height:1.75; 
}
#content{
	margin-top:125px;
	padding-top:30px;
	padding-top: 3px;
}

body.page-template-default #content, body.post-template-default #content{
	width: calc( 100% - 60px );
    max-width: 1460px;
	margin:145px auto 50px;;
	padding:30px;
}

h1.entry-title{
	text-transform:none;
	font-size:40px;
	font-weight:bold!important;
	padding-top:30px;
}
#breadcrumbs a{ color: var(--e-global-color-text);}
#breadcrumbs a:hover{ color: var(--e-global-color-primary);}

/*Scrollbar customization */
::-webkit-scrollbar {
    width: 5px;
	height: 5px;
}

::-webkit-scrollbar-button {
    background: #EEE;
		height:0;
}

::-webkit-scrollbar-thumb {
    background: #888;
	border-radius:10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

::-webkit-scrollbar-track-piece {
    background: #FFF;
}
.wpcf7 input:not(.btn),
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 .seldiv,
.wpcf7 .select2-choice,
.wpcf7 .select2-selection--single {
	display: block;
	line-height: initial;
	margin: 9px 0px 0px 0px;
	padding: 10px 15px 10px 15px;
	border-style: solid;
	border-radius: 2px;
	font-size:14px;
	font-weight:600;
	background-color: #fff;
	border: 1px solid #EEE;
	font-family:"Nunito sans";
	width:100%;
}
.wpcf7-form-control option{
	color:#000!important
		
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button[type="submit"] {
  font-size: 12px!important;
  padding: 13px 31px!important;
	color:#FFF!important
}
body:not(.elementor-editor-active, .single-product)  input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    cursor:pointer;
    display:block;
    width:8px;
    color: #333;
    text-align:center;
    position:relative;
}    
body:not(.elementor-editor-active, .single-product)  input[type=number]:hover::-webkit-inner-spin-button { 
    background: url('https://maritim.fi/wp-content/themes/Digia/icons/plusminus.svg') no-repeat 50% 50%;  
    width: 10px;
    height: 20px;
    padding: 4px;
    position: relative;
    right: 0px;
}
.select2-selection.select2-selection--single{
	border: 1px solid #CCC;
   	border-radius: 3px;
}
#full-screen{
	margin-top:-55px
}

#digia-login-form label{
	display:block;
}
#digia-login-form input{
	padding:10px 20px;
	border:1px solid #DDD;
	border-radius:2px;
}
.woocommerce-info {
border-color: var(--e-global-color-primary);
}
.woocommerce-info::before{
	color: var(--e-global-color-primary);
}
@media(max-width:960px){
	body.page-template-default #content, body.post-template-default #content{
		width: 100%;
		margin:145px auto 50px;;
		padding:10px;
	}
}
@media(max-width:768px){
#content{
	margin-top: 109px;
}
}

:root :where(.wp-element-button, .wp-block-button__link){
	background-color:#2F7D5A;
color:white;
}

/* Block cart and checkout in the style of the product pages. The selectors start with body and the block wrapper, so they win over the WooCommerce block styles printed after this file. */
/* Colours of the product pages, WooCommerce draws its separators with --wc-separator-color */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	--digia-text: #1C2724;
	--digia-muted: #66716D;
	--digia-border: #E3E8E6;
	--digia-field-border: #C9D3CF;
	--digia-green: #00664F;
	--digia-green-dark: #0B5E4D;
	--digia-green-light: #E7F2EE;
	--wc-separator-color: #E3E8E6;
	color: var(--digia-text);
	font-family: 'Roboto Regular', sans-serif;
}

body.woocommerce-cart h1.entry-title,
body.woocommerce-checkout h1.entry-title {
	margin-bottom: 20px;
	padding-top: 24px;
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 34px;
	font-weight: normal !important;
	line-height: 1.15;
	color: #1C2724;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) a:not(.wc-block-components-button) {
	color: var(--digia-green);
}

/* bold text uses the theme's semibold font instead of a synthesised bold */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(h2, h3, h4, strong, th, .wc-block-components-product-name, .wc-block-components-panel__button, .wc-block-components-checkout-step__title, .wc-block-components-checkout-order-summary__title-text, .wc-block-components-checkout-return-to-cart-button, .wc-block-cart__empty-cart__title) {
	font-family: 'Roboto SemiBold', sans-serif;
	font-weight: normal;
}

/* Totals of the cart and the order summary of the checkout as a card */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-sidebar {
	padding: 20px 24px;
	background: #FFF;
	border: 1px solid var(--digia-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}

/* WooCommerce stacks the columns by the block's own width */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout:is(.is-medium, .is-small, .is-mobile) .wc-block-components-sidebar {
	margin-top: 20px;
	padding: 16px;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-item__label {
	color: var(--digia-muted);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value) {
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 18px;
	font-weight: normal;
	color: var(--digia-text);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 20px;
}

/* coupon and other fold-out panels */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-panel__button {
	color: var(--digia-green);
}

/* Cart: product rows */
body .wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
	font-size: 13px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--digia-muted);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(.wc-block-cart-item__image, .wc-block-components-order-summary-item__image) img {
	box-sizing: border-box;
	padding: 3px;
	background: #FFF;
	border: 1px solid var(--digia-border);
	border-radius: 8px;
	object-fit: contain;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-product-name {
	font-size: 15px;
	line-height: 1.35;
	color: var(--digia-text);
	text-decoration: none;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) a.wc-block-components-product-name:hover {
	color: var(--digia-green);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(.wc-block-cart-item__prices, .wc-block-components-product-metadata) {
	font-size: 13px;
	color: var(--digia-muted);
}

/* WooCommerce shows the list price (the product's regular price) struck through before the customer's price.
   Here the customer's price comes first, then the price with VAT (the text after the price, script/cart-prices.js)
   and the list price as "List price: 1 375,00 €". */
body .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	font-size: 12px;
}

body .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__value {
	order: -1;
	margin: 0;
	background: none;
	color: var(--digia-text);
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none;
}

body .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__regular {
	order: 2;
	color: var(--digia-muted);
	font-size: 13px;
	text-decoration: none;
}

body .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__regular::before {
	content: "Listahinta: ";
}

body.lang-sv .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__regular::before {
	content: "Listpris: ";
}

body.lang-en .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__regular::before {
	content: "List price: ";
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(.wc-block-cart-item__total, .wc-block-components-order-summary-item__total-price) .wc-block-components-formatted-money-amount {
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 16px;
	font-weight: normal;
}

/* the row total's price with VAT on the line under it */
body .wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-size: 12px;
	color: var(--digia-muted);
}

body .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
	overflow: hidden;
	border: 1px solid var(--digia-field-border);
	border-radius: 6px;
}

body .wp-block-woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
	font-family: 'Roboto SemiBold', sans-serif;
	font-weight: normal;
	color: var(--digia-text);
}

body .wp-block-woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	background: #F7F9F8;
	color: var(--digia-muted);
	opacity: 1;
}

body .wp-block-woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background: var(--digia-green-light);
	color: var(--digia-green);
}

body .wp-block-woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.4;
}

body .wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	font-size: 13px;
	color: var(--digia-muted);
}

body .wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover {
	color: #C0392B;
}

body .wp-block-woocommerce-cart .wc-block-cart__empty-cart__title {
	font-size: 24px;
	color: var(--digia-text);
}

/* Buttons: the theme's filled green. The cart's checkout button needs the long selector and !important of css/cart-page.css */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link):not(.outlined),
body .wp-block-woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
	min-height: 44px;
	padding: 10px 20px !important;
	background: var(--digia-green-dark) !important;
	border: 0;
	border-radius: 6px !important;
	box-shadow: none;
	color: #FFF !important;
	font-family: 'Roboto SemiBold', sans-serif !important;
	font-size: 15px !important;
	font-weight: normal;
	letter-spacing: normal !important;
	text-decoration: none;
	text-transform: none !important;
	transition: background 150ms ease;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link):not(.outlined):hover,
body .wp-block-woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
	background: #08493C !important;
	color: #FFF !important;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link):focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px #FFF, 0 0 0 4px var(--digia-green);
}

/* the main actions are bigger */
body .wp-block-woocommerce-cart .wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
body .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
	min-height: 50px;
	font-size: 16px !important;
}

/* Checkout: steps */
body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
	font-size: 20px;
	color: var(--digia-text);
}

body .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title::before {
	color: var(--digia-green);
}

body .wp-block-woocommerce-checkout :is(.wc-block-components-checkout-step__description, .wc-block-checkout__terms) {
	font-size: 14px;
	color: var(--digia-muted);
}

body .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
	font-size: 18px;
}

body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	background: var(--digia-green-dark);
	border: 2px solid #FFF;
}

body .wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
	text-decoration: none;
}

/* Fields: the theme's borders and a green focus */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-text-input :is(input, textarea),
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-textarea,
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-blocks-components-select .wc-blocks-components-select__select {
	border: 1px solid var(--digia-field-border);
	border-radius: 6px;
	color: var(--digia-text);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-text-input :is(input, textarea):focus,
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-textarea:focus,
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border: 1px solid var(--digia-green);
	box-shadow: 0 0 0 3px var(--digia-green-light);
	outline: none;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-blocks-components-select .wc-blocks-components-select__container {
	border-radius: 6px;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(.wc-block-components-text-input label, .wc-blocks-components-select__label) {
	color: var(--digia-muted);
}

/* checkboxes and radio buttons in the theme's green */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
	border-color: var(--digia-field-border);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked {
	background: var(--digia-green-dark);
	border-color: var(--digia-green-dark);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #FFF;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:focus-visible,
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible {
	outline: 2px solid var(--digia-green);
	outline-offset: 2px;
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--digia-green);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	background: var(--digia-green);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-radio-control--highlight-checked :is(.wc-block-components-radio-control-accordion-option--checked-option-highlighted, label.wc-block-components-radio-control__option--checked-option-highlighted) {
	border-radius: 6px;
	box-shadow: inset 0 0 0 1.5px var(--digia-green);
}

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-notice-banner {
	border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
	body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button {
		transition: none;
	}
}

/* Classic checkout in the style of the product pages: the ERP connector renders [woocommerce_checkout] in place of the checkout block.
   body.woocommerce-checkout and the ids win over css/checkout-page.css and woocommerce.css, which are loaded after this file. */
body.woocommerce-checkout {
	--digia-text: #1C2724;
	--digia-muted: #66716D;
	--digia-border: #E3E8E6;
	--digia-field-border: #C9D3CF;
	--digia-green: #00664F;
	--digia-green-dark: #0B5E4D;
	--digia-green-light: #E7F2EE;
}

body.woocommerce-checkout form.checkout {
	color: var(--digia-text);
	font-family: 'Roboto Regular', sans-serif;
	accent-color: var(--digia-green-dark);
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #digia-checkout-review h3#order_review_heading {
	margin: 0 0 16px;
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 20px !important;
	font-weight: normal;
	line-height: 1.3;
	color: var(--digia-text);
}

/* Fields */
body.woocommerce-checkout form.checkout .form-row {
	margin: 0 0 14px;
	padding: 0;
}

body.woocommerce-checkout form.checkout .form-row label:not(.woocommerce-form__label-for-checkbox):not(.checkbox) {
	display: block;
	margin-bottom: 4px;
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.4;
	color: var(--digia-muted);
}

body.woocommerce-checkout form.checkout .form-row .required {
	border: 0;
	color: #C0392B;
	text-decoration: none;
}

body.woocommerce-checkout #customer_details :is(input.input-text, textarea, select),
body.woocommerce-checkout form.checkout_coupon input.input-text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	background-color: #FFF !important;
	border: 1px solid var(--digia-field-border);
	border-radius: 6px;
	box-shadow: none;
	color: var(--digia-text);
	font-family: 'Roboto Regular', sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

body.woocommerce-checkout #customer_details :is(input.input-text, textarea, select):focus,
body.woocommerce-checkout form.checkout_coupon input.input-text:focus {
	border-color: var(--digia-green);
	box-shadow: 0 0 0 3px var(--digia-green-light);
	outline: none;
}

/* the country field is a select2 box */
body.woocommerce-checkout #customer_details .select2-container .select2-selection--single {
	height: 44px;
	border: 1px solid var(--digia-field-border);
	border-radius: 6px;
}

body.woocommerce-checkout #customer_details .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
	line-height: 42px;
	color: var(--digia-text);
}

body.woocommerce-checkout #customer_details .select2-container .select2-selection--single .select2-selection__arrow {
	height: 42px;
	right: 6px;
}

body.woocommerce-checkout #customer_details .select2-container:is(.select2-container--focus, .select2-container--open) .select2-selection--single {
	border-color: var(--digia-green);
	box-shadow: 0 0 0 3px var(--digia-green-light);
}

body.woocommerce-checkout .select2-dropdown {
	border-color: var(--digia-field-border);
	border-radius: 6px;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted:is([aria-selected], [data-selected]) {
	background: var(--digia-green-dark);
	color: #FFF;
}

/* Order review as a card */
body.woocommerce-checkout #digia-checkout-review {
	box-sizing: border-box;
	padding: 20px 24px;
	background: #FFF;
	border: 1px solid var(--digia-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table :is(th, td) {
	padding: 12px 0;
	background: none;
	border: 0;
	border-top: 1px solid var(--digia-border);
	color: var(--digia-text);
	vertical-align: middle;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody tr:first-child td {
	border-top: 0;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot th {
	font-family: 'Roboto Regular', sans-serif;
	font-weight: normal;
	color: var(--digia-muted);
	text-align: left;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table :is(.product-total, tfoot td) {
	text-align: right;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table :is(.product-total, .order-total th, .order-total td) {
	font-family: 'Roboto SemiBold', sans-serif;
	font-weight: normal;
	color: var(--digia-text);
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .order-total :is(th, td) {
	font-size: 18px;
}

body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .order-total td {
	font-size: 20px;
}

body.woocommerce-checkout #order_review .digia-checkout-product-name {
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 14px;
	line-height: 1.35;
}

body.woocommerce-checkout #order_review .digia-checkout-product-image {
	margin-right: 14px;
}

body.woocommerce-checkout #order_review .digia-checkout-product-image img {
	box-sizing: border-box;
	padding: 2px;
	background: #FFF;
	border: 1px solid var(--digia-border);
	border-radius: 6px;
}

body.woocommerce-checkout #order_review .digia-checkout-product-quantity {
	width: 20px;
	height: 20px;
	background: var(--digia-green-dark);
	box-shadow: 0 0 0 2px #FFF;
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 11px;
}

body.woocommerce-checkout #order_review #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* the Delivery heading at the top of its row and the help from Lisäasetukset under it, woocommerce/cart/cart-shipping.php */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
	width: 45%;
	padding-right: 16px;
	vertical-align: top;
}

body.woocommerce-checkout #order_review .digia-shipping-help {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--digia-muted);
}

/* "VAT 0%" after the prices of the order review and the price with VAT under them, digia_checkout_vat_note() in functions.php */
body.woocommerce-checkout #order_review :is(.digia-checkout-vat-0, .digia-checkout-with-vat) {
	font-family: 'Roboto Regular', sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: var(--digia-muted);
}

body.woocommerce-checkout #order_review .digia-checkout-with-vat {
	display: block;
	margin-top: 2px;
}

/* Payment and the order button */
body.woocommerce-checkout #order_review #payment {
	margin-top: 8px;
	background: transparent !important;
	border-top: 1px solid var(--digia-border);
	border-radius: 0;
}

body.woocommerce-checkout #order_review #payment :is(div.form-row, .place-order) {
	margin: 0;
	padding: 16px 0 0;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods {
	padding: 12px 0;
	border-bottom-color: var(--digia-border);
}

body.woocommerce-checkout #order_review :is(.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text) {
	font-size: 13px;
	line-height: 1.5;
	color: var(--digia-muted);
}

body.woocommerce-checkout #order_review #payment #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 100%;
	min-height: 50px;
	margin-top: 12px;
	padding: 12px 20px !important;
	background: var(--digia-green-dark) !important;
	border: 0;
	border-radius: 6px !important;
	color: #FFF !important;
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 16px !important;
	font-weight: normal;
	letter-spacing: normal;
	text-transform: none;
	transition: background 150ms ease;
}

body.woocommerce-checkout #order_review #payment #place_order:hover {
	background: #08493C !important;
}

body.woocommerce-checkout #order_review #payment #place_order:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px #FFF, 0 0 0 4px var(--digia-green);
}

/* Coupon and notices */
body.woocommerce-checkout form.checkout_coupon {
	margin: 0 0 20px;
	padding: 16px;
	border: 1px solid var(--digia-border);
	border-radius: 10px;
}

body.woocommerce-checkout form.checkout_coupon button.button {
	min-height: 44px;
	padding: 0 18px;
	background: #FFF;
	border: 1px solid var(--digia-green);
	border-radius: 6px;
	color: var(--digia-green);
	font-family: 'Roboto SemiBold', sans-serif;
	font-size: 14px;
	font-weight: normal;
}

body.woocommerce-checkout form.checkout_coupon button.button:hover {
	background: var(--digia-green-light);
	color: var(--digia-green-dark);
}

body.woocommerce-checkout .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	background: #F7F9F8;
	border-top-color: var(--digia-green);
	border-radius: 8px;
	color: var(--digia-text);
}

body.woocommerce-checkout .woocommerce :is(.woocommerce-info, .woocommerce-message)::before {
	color: var(--digia-green);
}

body.woocommerce-checkout .woocommerce .woocommerce-error {
	border-top-color: #C0392B;
}

body.woocommerce-checkout .woocommerce .woocommerce-error::before {
	color: #C0392B;
}
.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper{
	display: none!important;
	
}
.wp-block-woocommerce-cart-order-summary-subtotal-block.wc-block-components-totals-wrapper{
	display: none!important;
}
.cart-subtotal{
	display: none!important;
}

/* css/checkout-page.css stacks the columns */
@media (max-width: 1050px) {
	body.woocommerce-checkout #digia-checkout-review {
		margin-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-checkout #order_review #payment #place_order {
		transition: none;
	}
}
