/* Libidinous – produktkategorier, efter Temptations' kategorisider. */
.ns-shop{--lav:#a967bf;--lav-d:#7d3f94;--blush:#f7eff9;--ink:#221a27;--mut:#6b5f72;--line:#eadff0;overflow-x:clip}
.ns-shop #primary{margin-top:0;padding-top:0}
.ns-shop .site-content>.ast-container{padding-top:0}

/* Bånd i fuld bredde */
.ns-shop .woocommerce-breadcrumb,.ns-shop .woocommerce-products-header{background:var(--blush);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(20px,calc(50vw - 50%));padding-right:max(20px,calc(50vw - 50%))}
.ns-shop .woocommerce-breadcrumb{display:block;margin-top:0;margin-bottom:0;padding-top:44px;padding-bottom:10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--lav-d)}
.ns-shop .woocommerce-breadcrumb a{color:var(--lav-d);text-decoration:none}
.ns-shop .woocommerce-products-header{margin-bottom:26px;padding-top:0;padding-bottom:30px;text-align:left}
.ns-shop .woocommerce-products-header__title.page-title{font-size:46px;line-height:1.08;color:var(--ink);margin:0 0 14px;text-align:left}
.ns-shop .woocommerce-products-header__title.page-title:after,.ns-shop .woocommerce-products-header__title.page-title:before{display:none}
.ns-shop .term-description{max-width:680px;text-align:left}
.ns-shop .term-description p{font-size:17px;line-height:1.65;color:#4a3f50;margin:0 0 10px}
.ns-shop .term-description a{color:var(--lav-d);font-weight:600;text-decoration:underline;text-decoration-color:#d9c3e3;text-underline-offset:3px}

/* Knapper i båndet */
.ns-shop .nss-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.ns-shop .nss-chips a,.ns-shop .nss-sale{background:#fff;border:1px solid var(--line);border-radius:999px;font-weight:600;color:var(--lav-d);text-decoration:none;white-space:nowrap}
.ns-shop .nss-chips a{padding:6px 13px;font-size:13.5px}
.ns-shop .nss-chips a.on,.ns-shop .nss-sale.on{background:var(--lav);border-color:var(--lav);color:#fff}
.ns-shop .nss-row:not(:empty){margin:14px 0 0}
.ns-shop .nss-sale{display:inline-flex;align-items:center;padding:9px 16px;font-size:14.5px;font-weight:700}
.ns-shop .nss-sale span{font-weight:600;opacity:.75;margin-left:6px}
.ns-shop .nss-ad{font-size:12.5px;line-height:1.5;color:var(--mut);margin:14px 0 0}
.ns-shop .nss-ad b{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11px;color:var(--lav-d)}

/* Filter, antal og sortering */
.ns-shop .ast-shop-toolbar-container{align-items:center;margin-bottom:18px}
.ns-shop .astra-shop-filter-button{background:#fff;color:var(--lav-d);border:1px solid var(--line);border-radius:999px;box-shadow:none;padding:9px 18px;font-size:14.5px;font-weight:700}
.ns-shop .astra-shop-filter-button:hover{border-color:var(--lav);background:#fff;color:var(--lav-d)}
.ns-shop .woocommerce-result-count{color:var(--mut);font-size:14px}
.ns-shop .woocommerce-ordering select{border:1px solid var(--line);border-radius:999px;padding:9px 38px 9px 18px;background-color:#fff;font-size:14.5px;font-weight:700;color:var(--lav-d);height:auto;box-shadow:none}

/* Produktkort */
.ns-shop ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 30px;width:100%}
.ns-shop ul.products:before,.ns-shop ul.products:after{display:none}
.ns-shop ul.products li.product{width:auto!important;min-width:0;max-width:none;flex:none;margin:0!important;float:none;box-sizing:border-box;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 12px 16px;text-align:left;transition:box-shadow .2s,transform .2s}
.ns-shop ul.products li.product:hover{box-shadow:0 10px 28px rgba(80,40,100,.10);transform:translateY(-2px)}
.ns-shop ul.products li.product img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:10px}
.ns-shop ul.products li.product .astra-shop-summary-wrap{padding:10px 2px 0;text-align:left;flex:1;display:flex;flex-direction:column}
.ns-shop ul.products li.product .woocommerce-loop-product__title{font-size:14.5px;line-height:1.4;font-weight:600;color:var(--ink);margin:0;padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ns-shop ul.products li.product .nss-shop-name{display:block;font-size:12.5px;color:var(--mut);margin:auto 0 2px;padding-top:6px}
.ns-shop ul.products li.product .nss-shop-name b{color:var(--ink);font-weight:700}
.ns-shop ul.products li.product .price{font-size:17px;font-weight:700;color:var(--ink);margin:0}
.ns-shop ul.products li.product .price del{color:#857a8b;font-size:14px;font-weight:400}
.ns-shop ul.products li.product .price ins{color:var(--lav-d);text-decoration:none}
.ns-shop ul.products li.product .onsale{background:var(--lav-d);color:#fff;border-radius:999px;min-width:0;min-height:0;line-height:1.4;padding:3px 10px;font-weight:700;font-size:12px}

/* Underkategorier som kort */
.ns-shop ul.products li.product-category{padding:12px}
.ns-shop ul.products li.product-category{height:auto;overflow:visible}
.ns-shop ul.products li.product-category>a{display:flex;flex-direction:column;height:auto;float:none;position:static;color:var(--ink);text-decoration:none}
.ns-shop ul.products li.product-category>a img{float:none;position:static;margin:0;flex:none}
.ns-shop ul.products li.product-category .woocommerce-loop-category__title{position:static;transform:none;width:auto;background:none;font-family:'Open Sans',sans-serif;font-size:15px;line-height:1.35;font-weight:700;letter-spacing:0;text-transform:none;color:var(--ink);margin:10px 0 0;padding:0;text-align:left}
.ns-shop ul.products li.product-category .count{display:block;background:none;color:var(--mut);font-family:'Open Sans',sans-serif;font-weight:600;font-size:13px;letter-spacing:0;text-transform:none;opacity:1;margin-top:2px}
.ns-shop-parent .ast-shop-toolbar-container{display:none}

/* Tekst under produkterne */
.ns-shop [class*="astra-advanced-hook-"]{background:var(--blush);border-radius:20px;padding:34px 40px;margin:40px 0}
.ns-shop [class*="astra-advanced-hook-"] h2{font-size:28px;line-height:1.2;color:var(--ink);margin:26px 0 12px}
.ns-shop [class*="astra-advanced-hook-"] h2:first-child,.ns-shop [class*="astra-advanced-hook-"] .elementor-element:first-child h2{margin-top:0}
.ns-shop [class*="astra-advanced-hook-"] a{color:var(--lav-d);text-decoration:underline}
.ns-shop [class*="astra-advanced-hook-"] p{color:#4a3f50}

@media(max-width:921px){
.ns-shop .woocommerce-products-header__title.page-title{font-size:34px}
.ns-shop ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
.ns-shop .woocommerce-breadcrumb{padding-top:28px;padding-left:18px;padding-right:18px}
.ns-shop .woocommerce-products-header{padding-bottom:22px;padding-left:18px;padding-right:18px}
.ns-shop .term-description p{font-size:16px}
.ns-shop .nss-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-18px;padding-right:18px}
.ns-shop .nss-chips a{flex:none}
.ns-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ns-shop ul.products li.product{padding:8px 8px 12px}
.ns-shop [class*="astra-advanced-hook-"]{padding:24px 20px}
.ns-shop [class*="astra-advanced-hook-"] h2{font-size:24px}
}

/* Temaet låser højden på kategorikortenes link, så titlen faldt ud af kortet */
.ns-shop ul.products li.product-category>a{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;position:static!important}
.ns-shop ul.products li.product-category .woocommerce-loop-category__title{font-family:'Open Sans',sans-serif!important;letter-spacing:0!important}
.ns-shop ul.products li.product-category{display:block!important;height:auto!important;padding:12px 12px 16px!important}
.ns-shop ul.products li.product-category>a{display:block!important}
.ns-shop ul.products li.product-category>a img{display:block;width:100%;height:auto!important;aspect-ratio:1;object-fit:contain}
.ns-shop ul.products li.product-category .woocommerce-loop-category__title{float:none!important;clear:both;display:block!important;position:static!important;height:auto!important;margin:10px 0 0!important;padding:0!important;transform:none!important}
.ns-shop ul.products li.product-category:after{content:"";display:block;clear:both}

/* Som på Temptations: centreret tekst på kortene, Fraunces på kategoritavler og tydeligt antal */
.ns-shop ul.products li.product{text-align:center}
.ns-shop ul.products li.product .astra-shop-summary-wrap{text-align:center;align-items:center}
.ns-shop ul.products li.product-category .woocommerce-loop-category__title{font-family:Fraunces,Georgia,serif!important;font-size:18px;font-weight:600;letter-spacing:-.01em!important;text-align:center;line-height:1.25}
.ns-shop ul.products li.product-category .count{color:var(--mut)!important;font-size:13px;font-weight:700;margin-top:6px;text-align:center}
.ns-shop .nss-parent ul.products{list-style:none;padding:0}
.ns-shop .nss-parent .woocommerce-products-header{margin-bottom:30px}
/* Elementor-siderne har fuld sidebredde, så indholdet får samme bredde som kategorierne */
.ns-shop .nss-parent{max-width:1240px;margin:0 auto;padding:0 20px;box-sizing:border-box}

/* Redaktørens rettelser: knap, rabatmærke, filter, bånd og mobil */
.ns-shop ul.products li.product{position:relative}
.ns-shop .nss-badge{position:absolute;top:20px;left:20px;z-index:2;background:var(--lav-d);color:#fff;border-radius:999px;padding:3px 10px;font-size:12px;line-height:1.5;font-weight:700}
.ns-shop ul.products li.product a.nss-buy{display:block;width:100%;box-sizing:border-box;margin-top:12px;padding:9px 12px;background:var(--lav);border-radius:999px;color:#fff;font-size:14px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none}
.ns-shop ul.products li.product a.nss-buy:hover,.ns-shop ul.products li.product a.nss-buy:focus{background:var(--lav-d);color:#fff}
.ns-shop ul.products li.product .astra-shop-summary-wrap{width:100%}
.ns-shop .nss-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 0}
.ns-shop .astra-shop-filter-button,.ns-shop .astra-shop-filter-button:hover,.ns-shop .astra-shop-filter-button:focus,.ns-shop .astra-shop-filter-button.active{display:inline-flex!important;align-items:center;gap:8px;height:auto;margin:0;padding:9px 18px;background:#fff;color:var(--lav-d);border:1px solid var(--line);border-radius:999px;box-shadow:none;font-family:'Open Sans',sans-serif!important;font-size:14.5px;font-weight:700;line-height:1.4;white-space:nowrap}
.ns-shop .astra-shop-filter-button .astra-woo-filter-icon{display:inline-flex;align-items:center;margin:0;line-height:1}
.ns-shop .astra-shop-filter-button .astra-woo-filter-text{font-family:'Open Sans',sans-serif!important;margin:0}
.ns-shop .astra-shop-filter-button .icon-close{display:none!important}
.ns-shop .wcpf-front-element-10321{display:none!important}
.ns-shop .nss-chips b{align-self:center;margin-right:4px;color:var(--mut);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.ns-shop .ast-shop-toolbar-container{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px}
.ns-shop .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap{display:flex;align-items:center;width:auto;margin:0}
.ns-shop .woocommerce-ordering{width:auto;margin:0;float:none}
.ns-shop .woocommerce-ordering select{width:auto;max-width:240px}
.ns-shop .woocommerce-result-count{margin:0;float:none}
.ns-shop .nss-short{display:none}
@media(max-width:600px){
.ns-shop .nss-chips b{display:none}
.ns-shop .nss-full{display:none}
.ns-shop .nss-short{display:inline;white-space:nowrap;font-weight:600;color:var(--ink)}
.ns-shop .woocommerce-ordering select{max-width:190px;padding:8px 32px 8px 14px;font-size:13.5px}
}
@media(max-width:921px){
.ns-shop .ast-shop-toolbar-container{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important}
.ns-shop .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap{width:auto!important;margin:0!important;justify-content:flex-start}
.ns-shop .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap:last-child{margin-left:auto!important}
}
@media(max-width:600px){
.ns-shop .woocommerce-breadcrumb,.ns-shop .woocommerce-products-header{padding-left:20px;padding-right:20px}
.ns-shop .nss-chips{margin-right:-20px;padding-right:20px}
}
