/*
 Theme Name: Gulvdeal
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.50
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
.woocommerce-notices-wrapper,
.form-row.validate-required, 
.aws-search-result .aws_result_sale,
.wpcu-badge.wpcu-badge--sm {   
    display: none;
}
h1 {
    margin:0 0 20px 0;
}
h2 {
    margin:0 0 18px 0;
}
h3 {
    margin:0 0 15px 0;
}
h4 {
    margin:0 0 12px 0;
}
.entry-content p,
#et-main-area #main-content p {
    padding-bottom: 15px !important;
}

.et_overlay:before {
    color: #d8a35f!important;
}
ul.products {
    margin: 20px 0 !important;
}

a {
    color: #d8a35f;
}
.gd-hide-me {
    visibility: hidden;
    height: 1px;
}

.single-product button.single_add_to_cart_button {
     width: 100%;
}
.wapf {
    color: #fff;
}
.wapf-wrapper {
    margin: 0;
}

:not(.wp-admin) input[type="number"] {
    border: none;
    font-size: 18px;
    padding: 10px; 
    
}
.wapf-section {
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
}
.wapf-swatch--image.wapf-checked {
	border: none;
}

.wapf-swatch--image.wapf-checked:before {
  content: "✓";
  background-color: #d8a35f;
  font-size: 30px;
  color: white;
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 44%;
  left: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  transition-duration: 0.4s;
  transform: translate(-50%, -50%);
}

.wapf input[type="number"] {
    width: 125px;
    text-align: center;
}

.wapf-field-container {
    padding: 0 0 10px 0;
}

.wapf-field-label label span {
    font-weight: bold;
    font-size: 1.1em;
}

@media (max-width:480px) {
    .wapf-swatch--image.wapf-checked:before {
        top: 32%;
    }
}

.gd-tast-inn-kvm .wapf-field-label,
.gd-tast-inn-kvm .wapf-field-input {
    width: 50%;
    display: inline-grid;
}
.gd-tast-inn-kvm .wapf-field-input {
    justify-content: end;
}
#utregning-frakt-produktside {
    margin-bottom: 20px;
}
#utregning-frakt-produktside p {
    color: #fff;
    padding-bottom: 10px;
}

.fraktutregning-felter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    
}

.gd-fraktpris {
    color: #f7f6f1; 
    margin-right: 20px;
    font-size: 1.25em;
}

.wapf-field-description,
.wapf-field-p .wapf-field-input {
    font-style: italic;
    font-size: 14px;
    opacity: 1;
    line-height: 1.2;
}

.gd-section-gulvprove .wapf-swatch--text {
    border-color: #d8a35f;
    border-radius: 30px;
    margin-top: 15px;
}

.gd-section-gulvprove .wapf-swatch--text.wapf-checked {
    background-color: #d8a35f;
}
#et-main-area span.price.wapf-grand-total {
    font-weight: bold;
    font-size: 1.5em;
}

.wapf-field-description {
    margin-bottom: 10px;
}

.wapf-field-input .qty-swatch-qty input {
    width: 100%;
}

.wc-svea-checkout-page {
    background: none;
}
body #wfob_wrap {
    margin:0;
}

.wc-svea-checkout-page .wc-svea-checkout-order-details .wc-svea-checkout-form .woocommerce-checkout-review-order-table,
.wc-svea-checkout-page .wc-svea-checkout-other-fields {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    border-radius: 8px;
}

.et_pb_module.et_pb_wc_add_to_cart {
    width: 100%;
}

.aws-search-result .aws_result_title {
    color: #666;
    text-transform: uppercase;
}
.aws_result_price {
    color: #62644F!important
}


.et-db #et-boc .et-l .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li>a,
.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li>a,
.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a,
.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-block: 5px;
}

.woocommerce-page div.product span.price {
    color: #fff!important;
}
.et-db #et-boc .et-l .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul,
.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul {
    padding-top: 6px !important;
}

.et-db #et-boc .et-l .et-menu .menu-item-has-children>a:first-child:after {
    top: 0px;
}
.et-db #et-boc .et-l .et-menu .sub-menu .menu-item-has-children>a:first-child:after {
    top: 6px;
}
.nav li ul {
    border-color: #d8a35f;
}
.reset_variations {
    color: #aaa
}

ul.woocommerce-shipping-methods label {
    font-size: .9em;
}

#et-main-area #main-content p.shipping-method-description {
    padding-bottom: 0 !important;
    font-weight: normal; 
    font-style: italic;
    font-size: .9em;
    color: #666; 
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color: #62644F!important
}

.woocommerce-page ul.products li.product .price del {
    font-size: 20px;
}

.woocommerce ul.products li.product .price ins bdi {
    font-size: 1.1em;
}

.woocommerce .price ins bdi .woocommerce-Price-currencySymbol,
.wapf-price-after {
    font-size: .8em;
}

.custom-prod-text {
    color: #666;
    font-style: italic;
    line-height: 1.2em;
}

.woocommerce-checkout-review-order-table,
.woocommerce-additional-fields {
    background: #fff;
}
.woocommerce-additional-fields {
    padding-inline: 20px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0, 0.1);
}

#fkcart-modal .fkcart-item-wrap .fkcart--item .fkcart-remove-item {
    height: 30px;
    width: 30px;
    border: 1px solid;
}
button.reset_variations {
    background: none;
    border-style: none;
    border: 1px solid #aaa;
    float: right;
}
button.reset_variations:hover { 
    cursor: pointer;
}
.et_pb_wc_add_to_cart form.cart .variations td.value span:after { 
    display: none;
}
.wapf-field-calc.gd-calc-innhold {
    width: 33% !important; 
    float: left;
    text-align: center;
    background: #fff;
    margin-right: 1px;
    margin-bottom: 10px;
    padding-top: 10px;
}
.wapf-field-calc.gd-calc-innhold,
.wapf-field-calc.gd-calc-innhold .wapf-field-label {
    display: block;
    text-align: center;
}
.wapf-field-calc.gd-calc-innhold, 
.wapf-field-calc.gd-calc-innhold .wapf-field-label label {
    color: #222 !important;
}

.et_mobile_device .gd-calc-innhold .wapf-field-label label span { 
    font-size: .7em;
}
.wapf-field-calc.gd-calc-innhold.wapf-field-calc .wapf-field-input {
    padding-left: 0;
}

h2.wpcu-product__title a{
    font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
}    
.wpcu-product__img {
    margin-bottom: 0px !important;
}

@media screen and (max-width: 768px) {
    .wpc-open-close-filters-button {
        margin-bottom: 0px !important;
    }
    .woocommerce-page ul.products li.product .price del {
        font-size: 14px;
    }
    .custom-prod-text {
        text-align: center;
        padding: 2px;
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of lines to show */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.3em * 3); /* assuming 1.3em is your line height */
    }
    .et_pb_shop .woocommerce-loop-product__title {
        white-space: nowrap; 
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px; /* Adjust as needed */
    }
}