/*
Theme Name: Nordiska Däck v2
Description: 
Author: Diionee
Template: flatsome
Version: 3.9.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.nd-catalog-filters {
    display: grid;
    grid-template-columns: minmax(200px, 320px) auto;
    align-items: flex-end;
    gap: 18px 14px;
    margin: 0 0 28px;
    padding: 20px;
    border-radius: var(--nd-radius, 20px);
    background: var(--nd-surface, #f6f4fa);
}

.nd-catalog-filters--navring {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.nd-catalog-filters--navring .nd-catalog-filters__search {
    grid-column: 1 / -1;
}

.nd-catalog-filters--navring .nd-catalog-filters__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.nd-catalog-filters--fastener {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.nd-catalog-filters--tpms {
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 230px) auto;
}

.nd-catalog-filters__search { min-width: 0; }

.nd-catalog-filters input[type="search"],
.nd-catalog-filters select {
    height: 44px;
    margin: 0;
    border: 1px solid #d8d2e2;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.nd-catalog-filters__select { min-width: 0; margin: 0; }

.nd-catalog-filters__select > span,
.nd-catalog-filters__field-label,
.nd-range legend {
    display: block;
    margin-bottom: 5px;
    color: var(--nd-ink, #17131f);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.nd-range {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.nd-range__body {
    padding: 12px 14px 14px;
    border: 1px solid #d8d2e2;
    border-radius: 10px;
    background: #fff;
}

.nd-range__values {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    margin-bottom: 8px;
    font-weight: 700;
}

.nd-range legend {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
}

.nd-catalog-filters--fastener .nd-catalog-filters__actions {
    align-self: end;
    min-height: 44px;
}

.nd-range__sliders {
    --nd-range-start: 0%;
    --nd-range-end: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 18px;
    background: linear-gradient(
        to right,
        #c9c9c9 0,
        #c9c9c9 var(--nd-range-start),
        var(--nd-accent, #5b21b6) var(--nd-range-start),
        var(--nd-accent, #5b21b6) var(--nd-range-end),
        #c9c9c9 var(--nd-range-end),
        #c9c9c9 100%
    ) center / 100% 5px no-repeat;
    border-radius: 999px;
}
.nd-range__sliders input[type="range"] {
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
}
.nd-range__sliders input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    border: 0;
    background: transparent;
}
.nd-range__sliders input[type="range"]::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -4.5px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--nd-accent, #5b21b6);
    cursor: grab;
    pointer-events: auto;
}
.nd-range__sliders input[type="range"]::-moz-range-track {
    height: 5px;
    border: 0;
    background: transparent;
}
.nd-range__sliders input[type="range"]::-moz-range-progress {
    background: transparent;
}
.nd-range__sliders input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: var(--nd-accent, #5b21b6);
    cursor: grab;
    pointer-events: auto;
}

.nd-layered-range {
    min-width: 240px;
}

.nd-layered-range legend {
    font-size: 14px;
}

.nd-layered-range .nd-range__body {
    min-height: 76px;
}

.nd-catalog-filters__actions { display: flex; align-items: center; gap: 12px; }
.nd-catalog-filters__actions button {
    margin: 0;
    border-radius: 999px;
    background: var(--nd-accent, #5b21b6);
    color: #fff;
}
.nd-catalog-filters__actions a {
    color: var(--nd-ink, #17131f);
    text-decoration: underline;
    white-space: nowrap;
}

.nd-catalog-filters--auto .nd-catalog-filters__actions button { display: none; }
.nd-catalog-filters--batched .nd-catalog-filters__actions button { display: none; }
.nd-catalog-filters--moved { display: none !important; }
.nd-catalog-filters--loading { opacity: .65; pointer-events: none; }

.nd-layered-filter-actions {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 0;
}

.nd-layered-filter-actions .nd-catalog-filters__select {
    width: min(280px, 100%);
    margin-right: auto;
}

.nd-layered-filter-apply {
    margin: 0 !important;
    padding: 0 28px !important;
    border-radius: 999px !important;
    background: var(--nd-accent, #5b21b6) !important;
    color: #fff !important;
}

.nd-filter-batch-active .widget_tire_search_form {
    display: grid;
    flex: 1 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.nd-filter-batch-active .widget_tire_search_form .nd-reg-search,
.nd-filter-batch-active .widget_tire_search_form .tire-search {
    height: 100%;
    margin: 0;
}

.nd-filter-batch-active .widget_tire_search_form .tire-search {
    padding: clamp(20px, 2vw, 28px);
    border: 1px solid rgba(23, 19, 31, .08);
    border-radius: var(--nd-radius, 20px);
    background: #fff;
}

.nd-filter-batch-active #tire-search-form .tire-search-button,
.nd-filter-batch-active form.searchform button,
.nd-filter-batch-active form.searchform input[type="submit"],
.nd-filter-batch-active form.woocommerce-product-search button,
.nd-filter-batch-active form.woocommerce-product-search input[type="submit"] {
    display: none !important;
}

.nd-filter-batch-active form.searchform input[type="search"],
.nd-filter-batch-active form.woocommerce-product-search input[type="search"] {
    width: 100%;
}

@media (max-width: 849px) {
    .nd-filter-batch-active .widget_tire_search_form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .nd-catalog-filters,
    .nd-catalog-filters--navring,
    .nd-catalog-filters--fastener,
    .nd-catalog-filters--tpms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nd-catalog-filters__search { grid-column: 1 / -1; }
}

@media (max-width: 549px) {
    .nd-catalog-filters,
    .nd-catalog-filters--navring,
    .nd-catalog-filters--fastener,
    .nd-catalog-filters--tpms { grid-template-columns: 1fr; }
    .nd-catalog-filters__search { grid-column: auto; }
}

.cart-img-icon {
    max-width: 25px !important;
    min-width: 25px !important;
}

p,
.button {
    font-size: 1rem !important;
}

/*************** Navigation  ***************/
.nav > li > a {
    color: #000 !important;
    opacity: 1 !important;
}
.nav-heading.menu-item-has-children a:first-child {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.sub-menu li a {
    font-weight: 300 !important;
    font-size: 1rem !important;
}

/*************** Subpage  ***************/
.subpage-title {
    max-height: 400px;
    min-height: 400px;
}

.subpage-title p {
    font-size: 1rem !important;
}

@media only screen and (max-width: 849px) {
    .subpage-title .text-box {
        padding: 0 15px;
    }
}

/*************** Filtering  ***************/
.nd-reg-search {
    box-sizing: border-box;
    min-width: 0;
    margin: 0 0 22px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(91, 33, 182, 0.14);
    border-radius: var(--nd-radius, 20px);
    background: linear-gradient(135deg, #17131f 0%, #2b1f3d 100%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(23, 19, 31, 0.14);
}

.nd-home-reg-search {
    width: min(920px, calc(100% - 40px));
    margin: 24px auto;
}

.nd-reg-search-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 560px;
    height: auto !important;
    padding: 32px 0 !important;
}

.home .nd-reg-search-hero > .section-content {
    display: none;
}

.home .nd-reg-search-hero > .banner-inner .banner-layers {
    display: none;
}

.nd-home-reg-search--mounted {
    position: relative;
    z-index: 5;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    max-height: none;
    margin: 0 auto;
    overflow: visible;
    transform: none;
}

.nd-home-reg-search .nd-reg-search {
    margin: 0;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(20, 16, 28, .94);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
    backdrop-filter: blur(2px);
}

.nd-reg-search__heading {
    margin-bottom: 22px;
    text-align: center;
}

.nd-reg-search__heading h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: clamp(24px, 2.3vw, 32px);
}

.nd-reg-search__heading p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px !important;
}

.nd-reg-search__methods {
    display: block;
    min-width: 0;
}

.nd-reg-search__method {
    min-width: 0;
}

.nd-reg-search--with-manual .nd-reg-search__methods {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 32px);
}

.nd-reg-search--with-manual .nd-reg-search__method--manual {
    padding-left: clamp(18px, 2.4vw, 32px);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.nd-home-reg-search .nd-reg-search__eyebrow {
    color: rgba(255, 255, 255, .6);
    letter-spacing: .08em;
}

.nd-home-reg-search .nd-reg-search h3 {
    font-size: 20px;
}

.nd-reg-search__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nd-reg-search h3,
.nd-reg-search p {
    color: inherit;
}

.nd-reg-search h3 {
    margin: 0 0 4px;
    overflow-wrap: anywhere;
}

.nd-reg-search__intro p {
    margin: 0 0 16px;
    opacity: .78;
}

.nd-manual-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.nd-manual-search label {
    min-width: 0;
    margin: 0;
}

.nd-manual-search label > span {
    display: block;
    margin: 0 0 4px;
    color: #ddd6fe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nd-manual-search select {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: 42px;
    margin: 0 !important;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 7px;
    background-color: #fff;
    box-shadow: none;
    color: #17131f;
    font-size: 14px;
    font-weight: 700;
}

.nd-manual-search__types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 29px;
    margin-top: 10px;
    align-items: center;
}

.nd-manual-search__types > span {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
}

.nd-manual-search__types a {
    padding: 7px 10px;
    border-radius: 7px;
    background: #ede9fe;
    color: #4c1d95;
    font-size: 12px;
    font-weight: 800;
}

.nd-manual-search__types a:hover {
    background: var(--nd-accent, #5b21b6);
    color: #fff;
}

.nd-reg-search__form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    min-width: 0;
}

.nd-reg-search__form > * {
    min-width: 0;
}

.nd-reg-search__plate {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border: 3px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #777;
}

.nd-reg-search__plate > span {
    display: grid;
    width: 34px;
    place-items: end center;
    padding-bottom: 5px;
    background: #1652a2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.nd-reg-search__plate input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 58px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    background: #fff;
    box-shadow: none;
    color: #111;
    font-family: Montserrat, sans-serif;
    font-size: clamp(22px, 4vw, 29px);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nd-reg-search__plate input[type="text"]:focus {
    box-shadow: inset 0 0 0 2px var(--nd-accent, #5b21b6);
}

.nd-reg-search__submit.button {
    min-height: 64px;
    margin: 0;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--nd-accent, #5b21b6);
}

.nd-reg-search__result:not(:empty) {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.nd-reg-search__result p {
    margin: 4px 0 10px;
}

.nd-reg-search__result--error {
    color: #fecaca;
}

.nd-reg-search__result--loading {
    color: #ddd6fe;
}

.nd-reg-search__sizes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: none;
    padding-right: 0;
    overflow: visible;
}

.nd-reg-search__size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: #fff;
    color: #17131f;
    font-weight: 800;
}

div.nd-reg-search__size {
    display: grid;
    grid-template-columns: auto auto;
    align-content: start;
}

.nd-reg-search__types {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 4px;
}

.nd-reg-search__types a {
    padding: 6px 9px;
    border-radius: 6px;
    background: #ede9fe;
    color: #4c1d95;
    font-size: 12px;
    font-weight: 700;
}

.nd-reg-search__types a:hover {
    background: var(--nd-accent, #5b21b6);
    color: #fff;
}

.nd-reg-search__size:hover {
    background: #ede9fe;
    color: #17131f;
}

.nd-reg-search__size small {
    padding: 2px 6px;
    border-radius: 999px;
    background: #ddd6fe;
    color: #4c1d95;
    font-size: 10px;
    text-transform: uppercase;
}

.nd-home-reg-search .nd-reg-search__size {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.nd-home-reg-search .nd-reg-search__types a,
.nd-home-reg-search .nd-manual-search__types a {
    border: 1px solid rgba(255, 255, 255, .24);
    background: transparent;
    color: #fff;
}

.nd-home-reg-search .nd-reg-search__types a:hover,
.nd-home-reg-search .nd-manual-search__types a:hover {
    border-color: var(--nd-accent, #5b21b6);
    background: var(--nd-accent, #5b21b6);
    color: #fff;
}

@media only screen and (max-width: 1100px) {
    .nd-home-reg-search {
        width: min(780px, calc(100% - 32px));
    }

    .nd-home-reg-search--mounted {
        right: auto;
    }
}

@media only screen and (max-width: 849px) {
    .nd-reg-search-hero {
        min-height: 0 !important;
        padding: 18px 0 !important;
    }

    .nd-home-reg-search--mounted {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(100% - 28px);
        max-height: none;
        transform: none;
    }

    .nd-reg-search--with-manual .nd-reg-search__methods {
        grid-template-columns: 1fr;
    }

    .nd-reg-search--with-manual .nd-reg-search__method--manual {
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        border-left: 0;
    }

    .nd-reg-search__sizes {
        grid-template-columns: 1fr;
        max-height: none;
    }
}

@media only screen and (max-width: 549px) {
    .nd-home-reg-search--mounted {
        bottom: auto;
    }

    .nd-reg-search__form {
        display: grid;
    }

    .nd-reg-search__submit.button {
        width: 100%;
    }

    .nd-reg-search {
        padding: 18px;
    }

    .nd-manual-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tire-search form,
.tire-search-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.tire-search form input {
    border: 0;
    outline: none;
    box-shadow: none;
    height: auto;
    margin: 0;
    flex-grow: 0;
    padding: 15px;
    border-radius: 5px;
    line-height: 1;
    font-size: 0.8rem;
}
.tire-search form input:focus {
    box-shadow: none;
}
.tire-search form button {
    margin: 0;
    height: 100%;
    padding: 15px;
    line-height: 1;
}

#shop-sidebar:has(.widget_tire_search_form) #woocommerce_layered_nav-10,
#shop-sidebar:has(.widget_tire_search_form) #woocommerce_layered_nav-11,
#shop-sidebar:has(.widget_tire_search_form) #woocommerce_layered_nav-14,
#shop-sidebar:has(.widget_tire_search_form) #woocommerce_layered_nav-15 {
    display: none !important;
}

.select2-container {
    display: none !important;
}
.searchandfilter ul {
    display: flex;
    gap: 16px;
    background: #f1f1f1;
    padding: 16px;
    flex-wrap: wrap;
}

.searchandfilter ul li {
    margin: 0;
    padding: 8px;
    background-color: #ffff;
    flex: 1;
}

.sf-field-search {
    min-width: 80%;
    flex-basis: 80%;
}

.sf-field-sort_order {
    flex: 1;
}

.searchandfilter label {
    width: 100%;
}

.searchandfilter ul li select,
.searchandfilter ul li input {
    margin: 0;
    box-shadow: none;
    border: 0;
    display: inline-flex;
    min-width: 100%;
}

@media only screen and (max-width: 849px) {
    .searchandfilter ul {
        flex-direction: column;
    }
}

#shop-sidebar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

aside .searchform,
.widget_layered_nav_filters,
aside,
aside form,
select {
    margin-bottom: 0 !important;
}

.widget_layered_nav_filters {
    flex-basis: 100%;
}

aside .is-divider {
    display: none;
}

.widget_product_search {
    flex: 1;
    flex-basis: 100%;
    margin-bottom: 0;
}

.widget_layered_nav {
    flex: 1;
}

.select2-container .select2-selection--single {
    height: auto !important;
    padding: 8px !important;
}

.widget-title {
    display: none;
}

.widget_product_search .widget-title {
    display: block;
    margin-bottom: 5px;
}

@media only screen and (max-width: 849px) {
    #shop-sidebar {
        flex-direction: column;
    }
    .category-filter-row.show-for-medium {
        display: none !important;
    }
}

.term-sommardack-c #woocommerce_layered_nav-3,
.term-sommardack-pv #woocommerce_layered_nav-3,
.term-sommardack-tumstorlekar #woocommerce_layered_nav-3,
.term-vinterdack-dubbade #woocommerce_layered_nav-3,
.term-vinterdack-friktion #woocommerce_layered_nav-3,
.term-vinterdack-dubbara #woocommerce_layered_nav-3,
.term-vinterdack-c-dubbade #woocommerce_layered_nav-3,
.term-vinterdack-c-friktion #woocommerce_layered_nav-3,
.term-vinterdack-c-dubbara #woocommerce_layered_nav-3,
.term-vinterdack-c-tumstorlekar #woocommerce_layered_nav-3 {
    display: none;
}

#woocommerce_product_search-3 .widget-title {
    display: none;
}

.term-sommardack-c #woocommerce_product_search-3 .widget-title,
.term-sommardack-pv #woocommerce_product_search-3 .widget-title,
.term-sommardack-tumstorlekar #woocommerce_product_search-3 .widget-title,
.term-vinterdack-dubbade #woocommerce_product_search-3 .widget-title,
.term-vinterdack-friktion #woocommerce_product_search-3 .widget-title,
.term-vinterdack-dubbara #woocommerce_product_search-3 .widget-title,
.term-vinterdack-c-dubbade #woocommerce_product_search-3 .widget-title,
.term-vinterdack-c-friktion #woocommerce_product_search-3 .widget-title,
.term-vinterdack-c-dubbara #woocommerce_product_search-3 .widget-title,
.term-vinterdack-c-tumstorlekar #woocommerce_product_search-3 .widget-title {
    display: block;
}

/*************** Product Archive   ***************/
.product-result-row {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    gap: 15px;
    padding-right: 15px;
    position: relative;
}

.product-result-row:hover {
    background: #f3f3f3;
}

.product-result-row a:not(.button, .added_to_cart) {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.product-thumb {
    height: auto !important;
    width: 8%;
}

.product-thumb .image-cover {
    padding-top: 85% !important;
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
}

.product-thumb img {
    bottom: 0;
    font-family: "object-fit: cover;";
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.product-result-row h2 {
    margin: 0;
    line-height: 1;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

.product-result-row:hover h2 {
    padding-left: 8px;
}

.product-result-row .list-title-wrapper {
}

.product-result-row .list-meta-wrapper {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.product-result-row span,
.product-result-row a:not(.button) {
    flex-shrink: 0;
}

.product-result-row .list-price-wrapper {
    display: flex;
    flex-direction: column;
}

.product-result-row .list-price-wrapper span {
    line-height: 1;
}

.product-result-row .list-price-wrapper small {
    font-size: 0.8rem !important;
    line-height: 1;
}

.product-result-row .button {
    font-size: 0.8rem;
    margin: 0;
}

@media only screen and (max-width: 849px) {
    .product-thumb {
        height: auto !important;
        flex-basis: 15%;
    }
    .list-title-wrapper {
        height: auto !important;
        flex-basis: 85%;
        padding: 0 15px;
    }
    .product-result-row {
        flex-wrap: wrap;
        gap: 0;
        padding: 0;
    }
    .product-result-row .list-meta-wrapper {
        justify-content: space-between;
        padding: 8px;
        background: #ddd;
    }
}

.product-small .box-text {
}

.term-navringar .image-cover {
    padding-top: 0 !important;
}

.term-navringar .image-cover img {
    position: relative;
}

/*************** Product Archive Pagination   ***************/
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    background: #f1f1f1;
    line-height: 30px;
    width: 30px;
    border-radius: 99px;
    text-align: center;
}

.pagination .current {
    background: #ccc;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* Nordiska Däck v2 */
:root {
    --nd-accent: #5b21b6;
    --nd-ink: #17131f;
    --nd-surface: #f6f4fa;
    --nd-trust-bg: #17131f;
    --nd-trust-text: #fff;
    --nd-radius: 20px;
    --nd-shadow: 0 18px 50px rgba(23, 19, 31, 0.11);
}

body.nordiskadack-v2 {
    color: #393442;
    background: #fff;
}

.nordiskadack-v2 h1,
.nordiskadack-v2 h2,
.nordiskadack-v2 h3 {
    letter-spacing: -0.035em;
}

.nordiskadack-v2 .header-wrapper {
    transition:
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.nordiskadack-v2 .header-wrapper.nd-v2-scrolled {
    box-shadow: 0 8px 35px rgba(23, 19, 31, 0.1);
}

.nordiskadack-v2 .nav > li > a {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.nordiskadack-v2 .nav > li > a::after {
    background: var(--nd-accent);
    bottom: 4px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.2s ease;
    width: calc(100% - 20px);
}

.nordiskadack-v2 .nav > li > a:hover::after,
.nordiskadack-v2 .nav > li.active > a::after {
    transform: translateX(-50%) scaleX(1);
}

.nd-trust-bar {
    background: var(--nd-trust-bg);
    color: var(--nd-trust-text);
    margin: 0;
    padding: 11px 24px;
}

.nd-trust-bar__inner {
    display: flex;
    gap: clamp(20px, 5vw, 70px);
    justify-content: center;
    margin: auto;
    max-width: 1180px;
}

.nd-trust-bar__item {
    align-items: center;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.nordiskadack-v2 .button,
.nordiskadack-v2 button[type="submit"],
.nordiskadack-v2 input[type="submit"] {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.015em;
    min-height: 46px;
    padding-left: 24px;
    padding-right: 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.nordiskadack-v2 .button:hover,
.nordiskadack-v2 button[type="submit"]:hover,
.nordiskadack-v2 input[type="submit"]:hover {
    box-shadow: 0 10px 25px rgba(91, 33, 182, 0.24);
    transform: translateY(-2px);
}

.nordiskadack-v2 .button.secondary {
    background-color: var(--nd-accent);
}

.home.nordiskadack-v2 #main > .section {
    padding-bottom: clamp(65px, 8vw, 110px) !important;
    padding-top: clamp(65px, 8vw, 110px) !important;
}

.home.nordiskadack-v2 #main > .section:nth-of-type(even) {
    background-color: var(--nd-surface) !important;
}

.home.nordiskadack-v2 #main > .section h2 {
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    margin-bottom: 34px;
    position: relative;
}

.home.nordiskadack-v2 #main > .section h2::after {
    background: var(--nd-accent);
    border-radius: 999px;
    content: "";
    display: block;
    height: 5px;
    margin-top: 14px;
    width: 54px;
}

.home.nordiskadack-v2 .product-category .box,
.home.nordiskadack-v2 .product-small .box {
    background: #fff;
    border: 1px solid rgba(23, 19, 31, 0.07);
    border-radius: var(--nd-radius);
    box-shadow: 0 2px 8px rgba(23, 19, 31, 0.035);
    height: 100%;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.home.nordiskadack-v2 .product-category .box:hover,
.home.nordiskadack-v2 .product-small .box:hover {
    border-color: rgba(91, 33, 182, 0.2);
    box-shadow: var(--nd-shadow);
    transform: translateY(-7px);
}

.home.nordiskadack-v2 .product-category .box-text,
.home.nordiskadack-v2 .product-small .box-text {
    padding: 22px;
}

.home.nordiskadack-v2 .product-category .box-text {
    align-items: center;
    display: flex;
    min-height: 88px;
}

.home.nordiskadack-v2 .product-category .box-text::after {
    color: var(--nd-accent);
    content: "→";
    font-size: 1.35rem;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.home.nordiskadack-v2 .product-category .box:hover .box-text::after {
    transform: translateX(5px);
}

.home.nordiskadack-v2 .product-small .price-wrapper .amount {
    color: var(--nd-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

.nordiskadack-v2 .footer-wrapper {
    background: var(--nd-ink);
}

.nd-v2-js .nd-v2-motion .nd-v2-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.nd-v2-js .nd-v2-motion .nd-v2-reveal.nd-v2-visible {
    opacity: 1;
    transform: none;
}

@media only screen and (max-width: 849px) {
    .nd-trust-bar {
        overflow-x: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nd-trust-bar__inner {
        justify-content: flex-start;
        width: max-content;
    }

}

@media (prefers-reduced-motion: reduce) {
    .nordiskadack-v2 *,
    .nordiskadack-v2 *::before,
    .nordiskadack-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Photo-backed category cards */
.home.nordiskadack-v2 .nd-puff .box {
    background: #0b0b0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 17, 25, 0.1);
    min-height: 224px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home.nordiskadack-v2 .nd-puff .box::before {
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 0.9;
    position: absolute;
    transform: scale(1.01);
    transition: opacity 0.3s ease, transform 0.45s ease;
}

.home.nordiskadack-v2 .nd-puff--tire .box::before,
.home.nordiskadack-v2 .nd-puff--accessory .box::before {
    background-image: url('/wp-content/uploads/2023/11/dack-768x296.webp');
}

.home.nordiskadack-v2 .nd-puff--wheel .box::before {
    background-image: url('/wp-content/uploads/2023/11/falgar-768x296.webp');
}

.home.nordiskadack-v2 .nd-puff--winter-friction .box::before {
    background-image: url('/wp-content/uploads/2023/11/dack-hero-768x512.webp');
    background-position: center;
}

.home.nordiskadack-v2 .nd-puff--winter-studded .box::before {
    background-image:
        radial-gradient(circle at 52% 18%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 65% 13%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 78% 20%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 90% 15%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 57% 38%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 71% 34%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 84% 42%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 96% 35%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 50% 60%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 64% 56%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 77% 64%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 91% 58%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 57% 82%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 71% 77%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        radial-gradient(circle at 84% 86%, #f7f7f7 0 1px, #85898e 1.4px 2.5px, rgba(0, 0, 0, 0.75) 2.8px 4px, transparent 4.3px),
        url('/wp-content/uploads/2023/11/dack-hero-768x512.webp');
    background-position: center;
}

.home.nordiskadack-v2 .nd-puff .box::after {
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.9) 38%, rgba(8, 8, 10, 0.2) 76%, rgba(8, 8, 10, 0.04) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.home.nordiskadack-v2 .nd-puff .box-image {
    display: none;
}

.home.nordiskadack-v2 .nd-puff .box-text {
    align-items: flex-start;
    background: transparent !important;
    color: #fff;
    display: flex;
    inset: 0;
    padding: 28px !important;
    position: absolute;
    z-index: 2;
}

.home.nordiskadack-v2 .nd-puff .box-text::after {
    display: none;
}

.home.nordiskadack-v2 .nd-puff .box-text-inner {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.home.nordiskadack-v2 .nd-puff .header-title {
    color: #fff;
    font-size: clamp(1.3rem, 1.8vw, 1.65rem);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    max-width: 62%;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    text-transform: none;
}

.home.nordiskadack-v2 .nd-puff .nd-puff__cta {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin-top: auto;
    width: max-content;
}

.home.nordiskadack-v2 .nd-puff .nd-puff__cta::after {
    color: #c9a7ff;
    content: "\2192";
    font-size: 1.05rem;
    margin-left: 9px;
    transition: transform 0.2s ease;
}

.home.nordiskadack-v2 .nd-puff .box:hover {
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 14px 32px rgba(20, 17, 25, 0.17);
    transform: translateY(-4px);
}

.home.nordiskadack-v2 .nd-puff .box:hover::before {
    opacity: 1;
    transform: scale(1.045);
}

.home.nordiskadack-v2 .nd-puff .box:hover .nd-puff__cta::after {
    transform: translateX(4px);
}

.nd-puffs-light.home .nd-puff .box {
    border-color: rgba(23, 19, 31, 0.1);
    box-shadow: 0 8px 24px rgba(20, 17, 25, 0.08);
}

.nd-puffs-light.home .nd-puff .box:hover {
    border-color: rgba(23, 19, 31, 0.22);
}

/* Shop, filters and product pages */
.nordiskadack-v2 .shop-page-title,
.nordiskadack-v2 .page-title {
    background: var(--nd-surface);
    border: 0;
    padding: 26px 0;
}

.nordiskadack-v2 .breadcrumbs {
    color: #78717f;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.nordiskadack-v2 #shop-sidebar {
    align-items: stretch;
    background: var(--nd-surface);
    border-radius: var(--nd-radius);
    padding: 22px;
}

.nordiskadack-v2 #shop-sidebar aside,
.nordiskadack-v2 .widget_tire_search_form {
    background: #fff;
    border: 1px solid rgba(23, 19, 31, 0.07);
    border-radius: calc(var(--nd-radius) * 0.65);
    padding: 14px;
}

.nordiskadack-v2 input[type="text"],
.nordiskadack-v2 input[type="email"],
.nordiskadack-v2 input[type="tel"],
.nordiskadack-v2 input[type="number"],
.nordiskadack-v2 input[type="password"],
.nordiskadack-v2 input[type="search"],
.nordiskadack-v2 select,
.nordiskadack-v2 textarea {
    background-color: #fff;
    border: 1px solid #ddd8e5;
    border-radius: 12px;
    box-shadow: none;
    min-height: 46px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.nordiskadack-v2 input:focus,
.nordiskadack-v2 select:focus,
.nordiskadack-v2 textarea:focus {
    border-color: var(--nd-accent);
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.11);
}

.nordiskadack-v2 .product-result-row {
    background: #fff;
    border: 1px solid rgba(23, 19, 31, 0.08);
    border-radius: var(--nd-radius);
    box-shadow: 0 2px 7px rgba(23, 19, 31, 0.04);
    margin-bottom: 12px;
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.nordiskadack-v2 .product-result-row:hover {
    background: #fff;
    box-shadow: var(--nd-shadow);
    transform: translateY(-3px);
}

.nordiskadack-v2 .product-main {
    padding-bottom: 70px;
    padding-top: 45px;
}

.nordiskadack-v2 .product-info {
    background: var(--nd-surface);
    border-radius: var(--nd-radius);
    padding: clamp(24px, 4vw, 45px);
}

.nordiskadack-v2 .product-info .price {
    color: var(--nd-ink);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
}

.nordiskadack-v2 .woocommerce-message,
.nordiskadack-v2 .woocommerce-info {
    background: var(--nd-surface);
    border: 0;
    border-left: 4px solid var(--nd-accent);
    border-radius: 12px;
    color: var(--nd-ink);
    padding: 18px 20px;
}

.nordiskadack-v2 .cart-wrapper,
.nordiskadack-v2 .woocommerce-checkout .col-inner {
    border-radius: var(--nd-radius);
}

.nordiskadack-v2 .shop_table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.nordiskadack-v2 .shop_table thead th {
    color: var(--nd-ink);
    letter-spacing: 0.06em;
}

@media only screen and (max-width: 849px) {
    .home.nordiskadack-v2 .nd-puff .box {
        min-height: 200px;
    }

    .home.nordiskadack-v2 .nd-puff .header-title {
        max-width: 64%;
    }

    .nordiskadack-v2 #shop-sidebar {
        padding: 16px;
    }
}
