/*
Theme Name: FreeConcept
Author: Netkant
Author URI: https://netkant.com
Description: A FreeConcept theme for WordPress.
Version: 1.0.3
*/

:root {
    --aa-search-input-height: 40px !important;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}


.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
}

.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill:hover {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

.wc-block-product-categories.is-list ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wc-block-product-categories.is-list ul li a {
    text-decoration: none;
}

.wc-block-product-filter-price-slider {
    max-width: 300px;
}

img.attachment-woocommerce_single {
    transition: transform 0.3s ease-in-out;
}

.wc-block-product.has-post-thumbnail:hover img.attachment-woocommerce_single {
    transform: scale(1.05);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid var(--wp--preset--color--custom-primary-text);
    padding: 10px 40px 10px 12px;
    font-size: 1rem;
    color: #131313;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L11 14L16 9' stroke='%239495a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

select:hover,
select:focus {
    border-color: #a3bffa;
}

div.entry-content {
    margin-top: 0;
}

.wp-block-social-links-is-layout-flex {
    gap: 8px;
}

.wp-block-social-links-is-layout-flex li {
    border-radius: 8px;
}

.wp-block-social-links-is-layout-flex li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px !important;
    width: 40px;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* .gb-is-sticky .header-container {
    background: #fff !important;
} */

/* .home header .gb-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
} */

/* .home header .gb-site-header.gb-is-sticky {
    position: sticky;
} */

/* 
.gb-site-header:not(.gb-is-sticky) {
    background-color: unset !important;
} */

/* Layer the video with a white overlay */
.frontpage-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.img-fill {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.img-fill img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

main.has-global-padding {
    padding-bottom: 32px;
}

.shop-megamenu ul.wp-block-navigation__container {
    flex-wrap: wrap;
    gap: 12px;
    max-height: 248px;
    column-gap: 64px;
}

form.forminator-ui .forminator-col button.forminator-button-submit {
    border-radius: 8px !important;
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul {
    padding-right: 32px;
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul li {
    padding: 0;
    margin: 0;
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul li a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
    margin-bottom: 0;
    width: 100%;
    display: block;
    margin-bottom: 0;
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul li a {
    background-color: transparent;
    transition: background-color 0.3s ease;
    padding: 12px 16px;
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f90000
}

.woocommerce-account main .woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff;
}

.gb-site-header .header-container {
    position: relative;
    z-index: 50;
}

.product .woocommerce-variation-add-to-cart {
    display: block;
}

.logo-upload-container {
    border: 1px solid var(--wp--preset--color--custom-primary-red);
    padding: 12px 20px;
    position: relative;
    cursor: pointer;
    color: #000;
    width: fit-content;
    border-radius: 8px;
    display: flex;
    font-size: 16px;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.custom-logo-placement #logo-preview {
    margin-bottom: 32px;
    max-width: 200px !important;
}

.logo-upload-container::after {
    content: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-upload-icon lucide-upload"><path d="M12 3v12"/><path d="m17 8-5-5-5 5"/><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/></svg>');
    width: 20px;
    height: 20px;
    color: #000;
}

.logo-upload-container:hover {
    opacity: 0.8;
}

.logo-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 12;
}

.wc-block-grid__product-price small.woocommerce-price-suffix {
    display: block;
    font-size: 0.7rem;
}

.wc-block-product-gallery-dialog {
    width: auto;
    height: 80vh;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #131313;
}

.wc-block-product-gallery-dialog__header {
    position: fixed;
    top: 4px;
    right: 16px;
}

.wc-block-product-gallery-dialog__content {
    margin-top: 1px;
    margin-bottom: 1px;
}

.woocommerce-product-gallery__trigger {
    display: none;
}

.wc-block-product-categories-list-item {
    display: block;
    width: 100%;
}

li.wc-block-product-categories-list-item ul {
    padding-left: 16px !important;
}

.wc-block-product-categories-list-item>*:nth-child(2) {
    justify-self: end;
    /* text-align: right; */
}

ul.wc-block-product-categories-list--depth-1 {
    width: 100%;
    grid-column: span 2;
    padding-left: 16px !important;
    /* margin-right: 16px; */
    margin-top: 4px;
}

ul.wc-block-product-categories-list {
    max-width: 250px;
}

.wc-block-product-categories-list-item-count::before {
    content: unset;
}

.wc-block-product-categories-list-item-count::after {
    content: unset;
}

.wc-block-product-categories-list-item-count {
    font-size: 0.9rem;
    color: #9495a1;
    float: right;
}

.woocommerce div.product form.cart div.quantity {
    float: unset;
}

.woocommerce div.product form.cart div.quantity input {
    padding: 12px 4px !important;
}

.woocommerce div.product form.cart div.quantity input::-webkit-inner-spin-button,
.woocommerce div.product form.cart div.quantity input::-webkit-outer-spin-button {
    opacity: 1;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.single-product .wp-block-woocommerce-product-gallery {
    gap: 0;
}

.single-product .wc-block-product-gallery-thumbnails__scrollable {
    scrollbar-width: none;
}


/** Price styles */

.wp-block-woocommerce-product-price .wc-block-components-product-price {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--wp--preset--color--custom-secondary-text);
}

.wp-block-woocommerce-product-price .wc-block-components-product-price .woocommerce-Price-amount {
    margin-left: 0.20rem;
    font-style: normal;
    color: var(--wp--preset--color--custom-primary-text);
}

.wp-block-woocommerce-product-price.has-large-font-size .wc-block-components-product-price .woocommerce-Price-amount {
    font-size: var(--wp--preset--font-size--large) !important;
}

.wp-block-woocommerce-product-price.has-medium-font-size .wc-block-components-product-price .woocommerce-Price-amount {
    font-size: var(--wp--preset--font-size--medium) !important;
}

.aa-Panel {
    z-index: 99999999;
}

.aa-Label {
    margin-bottom: 0 !important;
}

form.aa-Form {
    border-radius: 16px;
    box-shadow: unset !important;
    outline: unset !important;
    border: 1px solid #dddddd !important;
}

svg.aa-SubmitIcon {
    color: #000;
}

@media (max-width: 768px) {
    .aa-Autocomplete {
        width: 100%;
    }
}

.aa-Panel .aa-ItemIcon {
    height: 48px;
    width: 48px;
    margin-right: 6px;
    box-shadow: unset;
    border: unset;
}

.aa-Panel .aa-ItemIcon img {
    max-height: 48px;
    max-width: 48px;
}

:where(.wc-block-product-template .wc-block-product)>.wp-block-post-title {
    margin-bottom: 0 !important;
}

:where(.wc-block-product-template .wc-block-product)>.wp-block-woocommerce-product-sku {
    font-size: 0.8rem;
    height: 20px;
    color: #9495a1;
}

.nkt-sku {
    font-size: 0.8rem;
    height: 20px;
    color: #9495a1;
}

ul.wc-block-product-template li.wc-block-product {
    padding: 12px;
}

.gb-overlay__content nav {
    margin-bottom: 1.5em;
}

.gb-overlay__content .products .button,
.gb-overlay__content .nkt-featured-products .price {
    display: none !important;
}

.nkt-featured-products ul.products {
    margin-bottom: 1.5em;
}

.nkt-featured-products ul.products li.product {
    margin-bottom: 0;
}

.nkt-featured-products ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.875rem;
    text-align: center;
}

.wc-block-product-categories-list-item.is-current {
    font-weight: bold;
}

.wc-block-grid__product-image > a > img {
    height: 300px;
}

.nkt-wc-filter:first-child .nkt-wc-filter__title {
    margin-top: 0;
}

.sidebar .wc-block-product-categories-list {
    margin: 0;
}

@media (max-width: 680px) {
    .wc-block-product, 
    .wc-block-product h2,
    .wc-block-product h2 a,
    .wc-block-grid__product-price {
        text-align: center !important;
    }

    .wc-block-grid__product-image > a > img {
        height: 200px;
    }

    .wp-block-yuto-meilisearch__autocomplete-container .aa-InputWrapper {
        visibility: hidden;
        display: none;
    }

    .wp-block-yuto-meilisearch__autocomplete-container .aa-DetachedSearchButtonPlaceholder {
        display: none;
    }

    .wp-block-yuto-meilisearch__autocomplete-container .aa-DetachedSearchButton {
        border: none;
        padding: 0 2px;
    }

    ul.wc-block-product-template li.wc-block-product {
        padding: 0;
    }
}

a {
    cursor: pointer;
}

[data-autocomplete-source-id="produkter"] .aa-SourceHeader {
    display: none;
}