/*==============================Category Start==============================*/

.category-view h1 {
    font-size: 46px;
    color: var(--title-color);
    font-weight: 700;
    line-height: 102%;
    margin-bottom: 24px;
}
.catalog-category-view main#maincontent > .columns {
    display: block;
    width: 100%;
}

div#category-view-container {
    text-align: center;
    justify-content: center;
}

div#category-view-container > .container {
    justify-content: center;
}
div#subcategories .subcategory a {
    font-size: 16px;
    color: var(--title-color);
    font-weight: 500;
    padding: 14px 20px;
    border: 1px solid rgba(82,122,138,0.5);
    display: block;
    border-radius: 10px;
    background: #ffffff;
}
div#subcategories .subcategory a:hover {
    color: #ffffff;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
}

div#subcategories .subcategory a span.c-count {
    display: none;
}
div#subcategories {
    align-items: center;
    justify-content: center;
}
.modes.w-20.order-1.col-span-1.sm\:col-span-2.md\:col-span-1.lg\:col-span-2 {
    display: none;
}
/* Off-Canvas Sidebar */
.catalog-category-view .sidebar-main {
    position: fixed;
    top: 0;
    left: -300px; /* Sidebar width */
    width: 300px; /* Sidebar width */
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-main.open {
    left: 0;
}

.sidebar-main.open {
    .sidebar.sidebar-main.one-column-wrapper {
        left: 0;
    }
}

.sidebar.sidebar-main.one-column-wrapper {
    padding-top: 30px;
}

.catalog-category-view .main-content {
    width: 100%;
}

.filter-button {
    display: block;
    color: #FCF2E4;
    padding: 8px 15px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    background: var(--primary-color);
    font-weight: 600;
}

.filter-button:focus {
    outline: none;
}
/* Backdrop */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}
body.sidebar-open {
    overflow: hidden;
}
select#subcategory-select {
    border: 1px solid rgba(82, 122, 138, 0.5);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    padding: 19px 20px;
    width: 100%;
    color: var(--title-color);
    display: none;
}
/*Product grid */
.products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.toolbar-sorter select.form-select.sorter-options {
    background-color: var(--moo-light-base-color);
    color: var(--title-color);
    border: navajowhite;
    font-weight: 500;
    font-size: 16px;
    padding: 15.5px 50px 15.5px 30px;
    border-radius: 10px;
}

/*Category Filter*/
.sidebar .block-title {
    display: none;
}
.filter-content .filter-option:first-child {
    margin-top: 0;
    padding-top: 0;
}
.block-title.h-10.flex.items-center.justify-between {
    display: none;
}

.filter-content .filter-option:first-child {
    margin-top: 0;
    padding-top: 0;
}

.filter-options-title
 span.title {
    font-size: 18px;
}

.filter-option > .filter-options-title > span.rounded {
    display: block;
}

.filter-options-title {
    border-bottom: none;
}

.filter-options-content {
    padding-top: 8px;
}
.am-filter-items-category_ids button.filter-options-title {
    order: 2;
    position: absolute;
    right: 0;
    top: 0;
}
li.item.item-category {
    position: relative;
}
.category-filter-row input {
    width: 0px;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    visibility: hidden;
}
li.item.item-category:hover a.amshopby-filter-parent span,
li.item.item-category:hover,
fieldset label,
form label{
    color: var(--title-color);
}
a.amshopby-filter-parent span {
    font-size: 16px;
    font-weight: 400;
}

a.amshopby-filter-parent:hover {
    color: var(--title-color);
}
ul.am-filter-items-category_ids > li.item.item-category {
    padding-bottom: 20px;
    padding-top: 0;
}
ul.am-filter-items-category_ids > li.item.item-category > ul.items.items-children > li {
    list-style: disc;
}

ul.am-filter-items-category_ids > li.item.item-category > ul.items.items-children {
    margin-left: 17px;
}

ul.am-filter-items-category_ids > li.item.item-category > ul.items.items-children > li:after {
    content: ".";
    position: absolute;
    left: -10px;
    top: -2px;
    font-weight: 900;
}

ul.am-filter-items-category_ids > li.item.item-category > ul.items.items-children > li > .filter-row > a > span {
    font-size: 14px;
}
ul.am-filter-items-category_ids > li.item.item-category > ul.items > li > ul {
    margin-left: 17px;
}

ul.am-filter-items-category_ids > li.item.item-category > ul.items > li > ul > li > .filter-row > a > span {
    font-size: 14px;
}

ul.am-filter-items-category_ids > li.item.item-category > ul.items > li > ul > li:after {
    content: ".";
    position: absolute;
    left: -10px;
    top: -2px;
}
a.amshopby-link-selected span {
    font-weight: 600;
}
.filter-content .filter-option {
    box-shadow: none;
}
.filter-content .filter-option {
    box-shadow: none;
}

.filter-options-title span.rounded {
    border: none;
    padding: 0;
}

.filter-options-title span.rounded svg {
    width: 15px;
    height: 20px;
}
/*titlecut*/
.item.product.product-item.card .product-info .text-primary a span.titlecut {
    font-size: 14px;
    font-weight: 400;
    padding-top: 5px;
    overflow-wrap: anywhere;
}
/*Product Page*/
.pro-container {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.product-description-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 60px;
    grid-row-gap: 0px;
}
.product-info-wrap h1.title-font.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom:30px
}

.product-info-wrap h1.title-font.product-title span.titlecut {
    display: block;
    font-weight: 400;
    font-size: 18px;
    word-break: break-word;
}
.leading-relaxed.product-description {
    margin-bottom: 30px;
    color: var(--title-color);
    font-size: 18px;
    line-height: 160%;
}
.product-info-wrap .price-wrap .final-price span.price {
    font-size: 46px;
    font-weight: 700;
    color: var(--title-color);
}
span.qty-title{
    display: none;
}
.product-shipping-info-block [data-content-type="row"][data-appearance="contained"] {
    padding: 0;
}

.product-shipping-info-block .moo-shipping {
    padding: 30px 0 0;
}

.product-shipping-info-block {
    margin-top: 16px;
    border-top: 1px solid rgba(82,122,138,0.2);
}

#html-body .moo-shipping .pagebuilder-column {
    flex-direction: row;
}

#html-body .moo-shipping .pagebuilder-column [data-content-type="text"] {
    margin-left: 12px;
}

#html-body .moo-shipping .pagebuilder-column [data-content-type="text"] p {
    font-size: 15px;
}
.moo-attributes {
    background: #F7F6F4;
    border-radius: 10px;
    margin-top: 30px;
    align-items: center;
}
.graphical-attributes {
    text-align: center;
    gap: 10px;
}

.moo-attributes .item {
    align-items: center;
}
.moo-attributes .item p {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 6px;
}
.moo-attributes div#product-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}

.moo-attributes .atbts-item {
    color: var(--title-color);
    font-size: 15px;
    line-height: 160%;
}

.moo-attributes .atbts-item span.product-detail-label {
    font-weight: 600;
}

.pro-des-section [data-content-type="row"][data-appearance="contained"] {
    padding: 0;
}

.pro-des-section [data-content-type="row"][data-appearance="contained"] [data-element="inner"] {
    padding: 0;
}
.pro-des-section [data-content-type="row"][data-appearance="contained"] [data-element="inner"] p:first-child {
    padding-top: 0;
    margin-top: 0;
}
#beskrivelse .pro-des-title h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

section#beskrivelse.pro-des-section {
    padding-top: 20px;
}
.description-content .short-description {
    color: var(--title-color);
    font-size: 16px;
    line-height: 160%;
}
.description-content a.read-more, .description-content a.read-less {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400;
    padding-top: 5px;
    display: block;
}
.right-description .pro-des-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.right-description .pro-des-section h3 {
    margin-top: 30px;
    font-size: 16px;
    font-weight: 700;
}

.right-description .pro-des-section p {
    color: var(--title-color);
    font-size: 16px;
    line-height: 160%;
}
.left-description { grid-area: 1 / 1 / 2 / 3; }
.right-description { grid-area: 1 / 3 / 2 / 7; }
section.pro-des-section {
    border-top: 1px solid rgba(82, 122, 138, 0.2);
    padding-top: 30px;
    padding-bottom: 30px;
}
.prose .full-description p {
    font-size: 16px;
    line-height: 160%;
}
section.container.product-bottom .container.flex.flex-col.items-center.pt-6 {
    padding-left: 0;
    border: none;
}

section.container.product-bottom .container.flex.flex-col.items-center.pt-6 .title-font {
    font-size: 32px;
    font-weight: 700;
    color: var(--title-color);
}
/*Category*/

#amasty-shopby-product-list > section .toolbar.toolbar-products:not(:first-of-type) .toolbar-amount,
#amasty-shopby-product-list > section .toolbar.toolbar-products:not(:first-of-type) .field.limiter,
#amasty-shopby-product-list > section .toolbar.toolbar-products:not(:first-of-type) .fillter-wrap{
    display: none;
}
#amasty-shopby-product-list > section .toolbar.toolbar-products:not(:first-of-type) .flex.justify-center.order-2.col-span-4 {
    grid-column: 1 / -1;
}
#amasty-shopby-product-list > section .toolbar.toolbar-products nav.pages .pages-items .item a.action,
#amasty-shopby-product-list > section .toolbar.toolbar-products nav.pages .pages-items .item a.page{
    background: var(--moo-light-base-color);
    color: var(--title-color);
}
#amasty-shopby-product-list > section .toolbar.toolbar-products nav.pages .pages-items .item a.page.border-primary{
     background: var(--primary-color);
     border-color: var(--primary-color);
     color: #fff;
}
/*404*/
.cms-no-route .page-title {
    text-align: center;
    width: 100%;
    color: #527A8A;
    font-size: 44px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.page-layout-2columns-right.cms-no-route .column.main {
    grid-column: span 4 / span 4;
}
.no-found-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.no-found-text {
    text-align: center;
}
/*======================Responsive============*/
/*Tab only*/
@media screen and (max-width:1024px) and (min-width:769px) {
    .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    select#subcategory-select {
        display: block;
    }
    .subcategories-wrap div#subcategories{
        display: none;
    }
    div#layered-filter-block-content {
        display: block;
    }

    .block-filter.bg-container-darker {
        background: none;
        box-shadow: none;
        border: none;
        padding-top: 0;
    }
    .pro-container{
        padding-left: 0px;
        padding-right: 0px;
    }
    .product-main-full-width > .columns {
        padding-left: 36px;
        padding-right: 36px;
    }
    .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid form.item.product.product-item {
        max-width: 320px;
    }
    .toolbar.toolbar-products{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    /* Product detail page */
    .relative.self-center.w-full {
        max-height: 610px;
        width: 100%;
        overflow: hidden;
    }

    .relative.self-center.w-full .relative.mb-6.ed-image-wrap {
        max-width: 100%;
        max-height: 590px;
    }

    .relative.self-center.w-full .relative.mb-6.ed-image-wrap img.object-contain.object-center {
        object-fit: cover;
        width: 100%;
        height: 100%;
        overflow: hidden;
        max-height: 550px;
    }
    div#klarna-kec-placeholder {
        display: none;
    }
    .pro-add-to-cart-wrap .qty-wrap {
        width: 200px;
        justify-content: space-between;
    }
    .pro-container .product-description-grid{
        display: flex;
        flex-direction: column;
    }
}

/*Mobile below*/
@media screen and (max-width: 767px){
  .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid form.item.product.product-item {
    max-width: 180px !important;
  }
  /* Cart page only mobile changes  STARTS*/


  .w-full.moo-inner-wrap-cart-right .w-full {
      position: relative;
    }

    .cart-form form .cart.actions {
        gap: 80px;
    }

    a#checkout-link-button {
        position: absolute;
        top: -145px;
        left: 0;
        z-index: 999;
    }
  /* Cart page only mobile changes ENDS*/

}


@media screen and (max-width: 768px) {
    .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 10px;
        row-gap: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .category-view h1{
        font-size: 30px;
        margin-bottom: 16px;
    }
    select#subcategory-select {
        display: block;
        padding: 1px 12px;
        height: 40px;
    }
    .subcategories-wrap div#subcategories{
        display: none;
    }
    .item.product.product-item.card .product-info {
        padding: 16px 0 0 0;
        position: relative;
    }
    .item.product.product-item.card .add-to-cart-btn {
        font-weight: 500;
        font-size: 14px;
        line-height: 1;
        padding: 12px;
    }
    .item.product.product-item.card .add-to-cart-btn span {
        white-space: nowrap;
        margin: 0;
    }
    div#layered-filter-block-content {
        display: block;
    }

    .block-filter.bg-container-darker {
        background: none;
        box-shadow: none;
        border: none;
        padding-top: 0;
    }
    .pro-container{
        padding-left: 0px;
        padding-right: 0px;
    }
    .product-main-full-width > .columns {
        padding-left: 16px;
        padding-right: 16px;
    }
    .product-info-wrap h1.title-font.product-title{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .product-info-wrap h1.title-font.product-title span.titlecut{
        font-size: 16px;
    }
    .leading-relaxed.product-description{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .product-info-wrap .price-wrap .final-price span.price{
        font-size: 40px;
    }
    .stk-avl .justify-end.stock {
        justify-content: flex-start;
    }
    .pro-add-to-cart-wrap {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 12px;
        grid-row-gap: 12px;
    }

    .pro-add-to-cart-wrap div[x-data="initQtyField()"] {
        grid-area: 1 / 1 / 2 / 13;
    }

    .pro-add-to-cart-wrap .flex.mt-4.grow.add-to-cart-wrap {
        grid-area: 2 / 1 / 3 / 10;
    }

    .pro-add-to-cart-wrap button#add-to-wishlist {
        grid-area: 2 / 10 / 3 / 13;
    }
    .pro-add-to-cart-wrap .flex.items-center.qty-wrap {
        height: 50px;
        justify-content: space-between;
    }
    nav.breadcrumbs li.item.flex.product {
        word-break: break-word;
    }
    .products.wrapper.mode-grid.products-grid > div.mx-auto.moo-product-grid form.item.product.product-item {
        max-width: 220px;
    }
    .toolbar.toolbar-products{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    /* product detail page */
    div#klarna-kec-placeholder {
        display: none;
    }
    .pro-add-to-cart-wrap .qty-wrap {
        width: 200px;
        justify-content: space-between;
    }
    .pro-container .product-description-grid{
        display: flex;
        flex-direction: column;
    }



}

/* Brands page STARTS */

.ambrand-index-index .column.main {
    grid-column-start: span 2 !important;
}

.ambrand-index-index .columns {
    display: block;
    width: 100%;
}
.page-with-filter.ambrand-index-index aside.sidebar.sidebar-main.relative {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}
.page-with-filter.ambrand-index-index.sidebar-open aside.sidebar.sidebar-main.relative.open{
  left:0;
}



/* Brands page Ends  */
