/* ===== FILTERS ===== */
.vss-filters{
    display:flex;
    gap:5px;
    flex-wrap:wrap;
    margin:0 0 24px;
}
.vss-filters button,
.vss-filters input{
    padding:10px 14px;
    border:1px solid #ddd;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-size:14px;
    font-weight:500;
}
.vss-filters button.active{
    background:#111;
    color:#fff;
}
.vss-filters input{
    min-width:240px;
}

/* ===== GRID ===== */
.vss-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

/* ===== CARD ===== */
.vss-card{
    position:relative;
    padding:10px;
    border-radius:14px;
    border:1px solid #ececec;
    color:#111;
    box-shadow:none !important;
}
.vss-card-click{
    width:100%;
    border:0;
    background:#f9f9f9;
    text-align:left;
    padding:0;
    cursor:pointer;
    color:#111;
    box-shadow:none !important;
}

.vss-card-click:hover,
.vss-card-click:focus,
.vss-card-click:active {
    background: #f1f1f1;
 !important;
    color: #111 !important;
}

.vss-card {
    transition: all 0s ease;
  background-color: #f9f9f9;
}

.vss-card:hover {
    background: #f1f1f1;
  border:1px solid #DBDBDB;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 12px 30px rgba(0,0,0,0.08) !important;
}

.vss-cart-total {
    margin-top:15px;
}

/* Se till att inner också följer */
.vss-card:hover .vss-card-click {
    background: #f1f1f1 !important;
}

.vss-card:hover {
  background-color: #f1f1f1 !important;
    border:1px solid #DBDBDB;

  }

.vss-body {
  padding-top:10px;
  margin-top:5px;
  margin-bottom:30px;
  border-top:1px solid #d6d6d6;
   }

/* ===== IMAGE ===== */
.vss-img-wrap{
    display:block;
    position:relative;
    background:transparent;
    overflow:hidden;
    border-radius:14px;
}
.vss-img-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0s;
}
.vss-img-hover{
    position:absolute;
    inset:0;
    opacity:0;
}
.vss-img-wrap:hover .vss-img-hover{
    opacity:1;
}

/* ===== TEXT ===== */
.vss-title{
    display:block;
    font-weight:700;
    margin-top:10px;
    color: #111;
  line-height:1.3em;
}

.vss-card .vss-title {
    margin: 10px 0 !important;
}

.vss-sku{
    display:block;
    color:#666;
    margin-top:0;
  margin-bottom:0;
  font-size:0.7em;
}
.vss-price{
    display:block;
    font-weight:800;
    color:#111;
    margin-bottom:10px;
      margin-top:15px;
}

/* ===== SOLD ===== */
.vss-sold-badge{
    position:absolute;
  font-size:11px;
    top:10px;
    left:10px;
    background:red;
    color:#fff;
    padding:6px 10px;
    border-radius:999px;
    font-weight:500;
}
.is-sold{
    opacity:.7;
}

/* ===== PAGINATION ===== */
.vss-pagination{
    margin:24px 0;
    display:flex;
    gap:8px;
}
.vss-pagination button{
    padding:8px 12px;
    border-radius:8px;
    border:1px solid #ddd;
    background:#fff;
    color:#111;
}
.vss-pagination .active{
    background:#111;
    color:#fff;
}

/* ===== POPUP ===== */
.vss-popup{
    display:none;
    position:fixed;
    z-index:99999;
    inset:0;
    background:rgba(0,0,0,.7);
    padding:24px;
    overflow:auto;
}

.vss-popup.open{
    display:block;
}

h2[data-vss-title] {
    font-weight: 700 !important;
}

.vss-popup-inner{
    background:#fff;
    max-width:1000px;
    margin:20px auto 40px auto;
    padding:24px;
    border-radius:20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    position:relative;
    color:#111;
}
.vss-popup-inner *{
    color:#111;
}

.vss-popup-inner .vss-close {
    position: absolute;
    right: 14px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: white !important;
    color: #2b2b2b !important;
    border: 0 !important;
    box-shadow: none !important;
  padding: 10px 10px;
  border-radius:0;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

.vss-popup-inner .vss-close:hover,
.vss-popup-inner .vss-close:focus,
.vss-popup-inner .vss-close:active {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    outline: none !important;
}

.vss-popup-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}
.vss-popup-gallery img{
    width:100%;
    border-radius:12px;
}

.vss-popup-price{
    font-size:28px;
    font-weight:900;
    color:#111;
  margin-bottom:10px !important;
}

/* ===== ACTION BUTTONS ===== */
.vss-actions{
    display:flex;
    gap:10px;
}
.vss-add,
.vss-place-order,
.vss-checkout-btn{
    background:#024800;
    color:white;
    border:0;
    border-radius:5px;
    padding:12px 25px;
    text-decoration:none;
    font-weight:500;
    cursor:pointer;
}

.vss-buy{
    background:transparent;
  border:2px solid #024800;
    color:#024800;
    border-radius:5px;
    padding:12px 25px;
    text-decoration:none;
    font-weight:500;
    cursor:pointer;
}

.vss-add:hover{
    background: #036c00;
    color:white;
}

.vss-buy:hover{
    background:#eeeeee;
    color:#024800;
    border:2px solid #024800;
}

/* ===== SOLD TEXT ===== */
.vss-sold-text{
    display:none;
    font-weight:800;
    color:#111;
  margin-top:30px;
}

.vss-card-click {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

/* ===== CART ===== */
.vss-cart-drawer{
    position:fixed;
    right:18px;
    bottom:25px;
    z-index:9999;
  background-color:transparent;
}
.vss-cart-toggle{
    border:0;
    background: #e8e8e8;
    color:#fff;
    border-radius:999px;
    padding:14px 18px;
    font-size:14px;
}

.vss-cart-toggle:hover {
    background: #dbdbdb;
    color:white !important;
}

.vss-cart-toggle span{
    background:red;
    border-radius:999px;
    padding:4px 9px;
    margin-left:4px;
}
.vss-cart-panel{
    display:none;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 40px rgba(0,0,0,.2);
    padding:18px;
    width:340px;
    margin-bottom:10px;
    color:#111;
}
.vss-cart-drawer.open .vss-cart-panel{
    display:block;
}
.vss-cart-panel *{
    color:#111;
}

.vss-cart-item{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:8px;
    border-bottom:1px solid #eee;
    padding:8px 0;
}
.vss-cart-item button{
    border:0;
    background:#eee;
    border-radius:50%;
    width:24px;
    height:24px;
}

/* ===== CHECKOUT ===== */
.vss-checkout-layout{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:30px;
}
.vss-checkout{
    color:#111;
}
.vss-checkout input,
.vss-checkout textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    color:#111;
}

.vss-popup-gallery {
    display: block;
}


.vss-popup-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.vss-popup-thumb {
    border: 2px solid transparent;
    background: #fff !important;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.vss-popup-thumb.active {
    border-color: #111;
}

.vss-pagination:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vss-popup-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.vss-cart-drawer.open .vss-cart-toggle {
    display: none;
}

.vss-cart-drawer.open .vss-cart-toggle {
    display: none;
}

.vss-cart-panel {
    position: relative;
}

.vss-cart-close {
    position: absolute;
  margin-top:10px;
  margin-bottom:10px;
    top: 3px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #111;
  padding:10px;
  box-shadow:none;
}

.vss-cart-close:hover {
    background: transparent !important;
  color:black;
}

#vssCheckoutForm p {
    margin-bottom: 10px;
}

#vssCheckoutForm input[type="text"],
#vssCheckoutForm input[type="email"],
#vssCheckoutForm input[type="tel"] {
    height: 50px;
}

.vss-cart-item button[data-remove] {
    background: transparent;
    border: none;
    color: #8b0000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 28px;
    height: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0s ease;
  box-shadow:none;
}

/* hover */
.vss-cart-item button[data-remove]:hover {
    color: #ff0000;
    background: transparent;
}

/* klick */
.vss-cart-item button[data-remove]:active {
    transform: scale(0.9);
}

.vss-checkout-btn {
    background-color: #e0f9df;
    color: black;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 18px;
    display: inline-block;
    text-decoration: none;
}

.vss-checkout-btn:hover {
    background-color: #d8fad6;
    color: black;
}

.vss-popup-gallery {
    position: relative;
}

/* PILAR */
.vss-gallery-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent !important;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
}

.vss-gallery-nav.prev { left: 5px; }
.vss-gallery-nav.next { right: 5px; }

.vss-gallery-nav:hover {
    background: transporant !important;
}

.vss-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.vss-menu li {
    position: relative;
}

.vss-menu a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    display: block;
    padding: 10px 12px;
}

/* Första dropdown */
.vss-menu .vss-menu-dropdown > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    z-index: 99999;
}

/* Visa dropdown vid hover */
.vss-menu .vss-menu-dropdown:hover > ul {
    display: block;
}

/* Dropdown-listan ska vara vertikal */
.vss-menu .vss-menu-dropdown > ul {
    flex-direction: column;
    gap: 0;
}

/* Underkategori-dropdown */
.vss-menu .vss-menu-parent > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    z-index: 99999;
    flex-direction: column;
    gap: 0;
}

.vss-menu .vss-menu-parent:hover > ul {
    display: flex;
}

@media(max-width:700px){
    .vss-gallery-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

@media(max-width:900px) {
    .vss-popup-thumbs {
        grid-template-columns: repeat(5, 1fr);
      gap: 5px;
    }
}

@media (min-width: 901px) and (max-height: 850px) {
    .vss-popup {
        padding: 12px;
        overflow: hidden;
    }

    .vss-popup-inner {
        max-width: 880px;
        max-height: calc(100vh - 24px);
        margin: 40px auto 40px auto;
        padding: 18px;
        gap: 18px;
        overflow: hidden;
        align-items: start;
    }

    .vss-popup-thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        margin-top: 8px;
    }

    .vss-popup-info h2 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 8px;
      margin-top:20px;
    }

    .vss-popup-price {
        font-size: 22px;
    }

    .vss-body {
        margin-bottom: 18px;
        max-height: 150px;
        overflow: auto;
    }

    .vss-gallery-nav {
        top: 35%;
    }
}

/* ===== QUESTION POPUP ===== */
.vss-question-popup {
    display: none;
    position: fixed;
    z-index: 100000; /* över produkt-popup */
    inset: 0;
    background: rgba(0,0,0,.7);
    padding: 24px;
    overflow: auto;
}

.vss-question-popup.open {
    display: block;
}

.vss-question-popup-inner {
    background: #fff;
    max-width: 500px;
    margin: 60px auto;
    padding: 24px;
    border-radius: 16px;
    position: relative;
}

/* stäng-knapp */
.vss-question-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

/* inputs */
.vss-question-popup input,
.vss-question-popup textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* knapp */

.vss-question-btn {
    background: #001b6d;
    border: 0;
    padding:12px 25px;
    border-radius: 5px;
    font-weight: 500;
  font-size:0.7em;
    cursor: pointer;
    margin-top: 30px;
    color: #fff;
}

/* hover */
.vss-question-btn:hover {
    background: #0026a3;
}

.vss-question-submit {
    background: #001b6d;
    border: 0;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}

.vss-question-submit:hover {
    background: #002db7;
}

.vss-question-popup p {
    margin-bottom: 15px;
}

.vss-popup-inner h3 {
  margin-bottom:20px;
}

/* ===== GRID BUTTONS ===== */
.vss-card-actions {
    display: flex;
    gap: 3px;
    margin-top: 12px;
}

.vss-grid-buy {
    flex: 1;
    min-width: 0;
    border-radius: 5px;
    padding: 9px 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.vss-grid-add {
    flex: 1;
    min-width: 0;
    border-radius: 5px;
    padding: 9px 6px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.vss-grid-add,
.vss-grid-add:hover,
.vss-grid-add:focus,
.vss-grid-add:active {
    background: #024800;
    color: #fff;
    border: 0;
}

.vss-grid-add:hover {
    background: #036c00;
    color: #fff;
}

.vss-grid-buy,
.vss-grid-buy:hover,
.vss-grid-buy:focus,
.vss-grid-buy:active {
    background: transparent;
    color: #024800;
    border: 1px solid #024800;
}

.vss-grid-buy:hover {
    background: #eeeeee;
    color: #024800;
    border-color: #024800;
}

.vss-grid-add:disabled,
.vss-grid-buy:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media(max-width: 420px) {
    .vss-card-actions {
        gap: 3px;
    }

    .vss-grid-add,
    .vss-grid-buy {
        font-size: 10px;
        padding: 8px 4px;
    }
}

/* ===== EQUAL HEIGHT CARDS FIX ===== */
/* ===== GRID ===== */
.vss-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    align-items:stretch;
}

/* ===== CARD FIX ===== */
.vss-card{
    display:flex;
    flex-direction:column;
    height:100%;
    box-sizing:border-box;
    overflow:hidden;
    position:relative;
}

/* klick-ytan ska fylla kortet */
.vss-card-click{
    display:flex;
    flex-direction:column;
    flex:1;
    width:100%;
    height:100%;
}

/* innehåll wrapper (NY – viktig) */
.vss-card-click > *:not(.vss-card-actions){
    flex-shrink:0;
}

/* pushar ner knapparna */
.vss-card-actions{
    margin-top:-30px;
  margin-bottom:40px;
    display:flex;
    gap:3px;
}

/* ===== FIX FÖR HOVER ===== */
.vss-card:hover{
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 8px 20px rgba(0,0,0,0.08) !important;
}

/* viktigt: behåll samma höjd */
.vss-card,
.vss-card:hover{
    height:100%;
}

.vss-cart-product,
.vss-checkout-item {
    display:flex;
    align-items:center;
    gap:10px;
}

.vss-cart-thumb {
    width:45px;
    height:45px;
    object-fit:cover;
    border-radius:6px;
    flex:0 0 45px;
    background:#eee;
}

.vss-cart-thumb-empty {
    display:block;
}

.vss-checkout-vat-row {
    margin:4px 0;
    font-size:14px;
}

.vss-cart-product span {
    font-size: 12px;
    line-height: 1.3;
    color: #333;
}

.vss-cart-item button[data-remove] {
    font-weight: 300 !important;
}

.vss-checkout-item > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.vss-checkout-item strong {
    white-space: nowrap;
}

.vss-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vss-checkout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vss-checkout-product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.vss-checkout-product-info span {
  font-size: 13px;
  line-height: 1.3;
}

.vss-checkout-product-info strong {
  white-space: nowrap;
}

.vss-checkout-shipping {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
}

.vss-checkout-shipping h4 {
  margin: 0 0 10px;
}

.vss-shipping-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.vss-shipping-option input {
  margin-right: 6px;
}

.vss-checkout-vat-row {
  font-size: 14px;
  margin-top: 5px;
}

@media (max-width: 700px) {
  .vss-checkout-row {
    grid-template-columns: 1fr;
  }

  .vss-checkout-product-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

.vss-shipping-option {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.vss-shipping-option input[type="radio"] {
    width: auto !important;
    min-width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.vss-shipping-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.vss-shipping-content span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.vss-shipping-content strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.vss-shipping-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vss-shipping-disabled input,
.vss-shipping-disabled span,
.vss-shipping-disabled strong {
    pointer-events: none;
}

#vssCheckoutTotal {
    margin-top: 20px;
    display: inline-block;
}

.vss-popup {
    overscroll-behavior: contain;
}

.vss-popup {
    overscroll-behavior: contain;
}

.vss-popup-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f3f3;
}

.vss-popup-main-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    will-change: transform, opacity;
    touch-action: pan-y;
}

.vss-popup-main-image img {
    touch-action: pan-y;
    will-change: transform, opacity;
}



.vss-popup-main-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    will-change: transform, opacity;
}

.vss-popup-main-image .vss-slide-old {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vss-popup-main-image img[data-vss-main-image] {
    position: relative;
    z-index: 2;
}

.vss-slide-new-next {
    animation: vssNewNext 260ms ease-out;
}

.vss-slide-old-next {
    animation: vssOldNext 260ms ease-out;
}

.vss-slide-new-prev {
    animation: vssNewPrev 260ms ease-out;
}

.vss-slide-old-prev {
    animation: vssOldPrev 260ms ease-out;
}

@keyframes vssNewNext {
    from {
        opacity: .85;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes vssOldNext {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: .85;
        transform: translateX(-100%);
    }
}

@keyframes vssNewPrev {
    from {
        opacity: .85;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes vssOldPrev {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: .85;
        transform: translateX(100%);
    }
}


/* ===== MOBILE ===== */
@media(max-width:900px){
    .vss-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .vss-popup-inner,
    .vss-checkout-layout{
        grid-template-columns:1fr;
    }
  
  .vss-popup-inner{
 padding:15px;
  }
    .vss-popup-gallery{
        grid-template-columns:1fr;
    }
    .vss-filters input{
        width:100%;
    }
  .vss-popup{
    padding:10px;
}
  .vss-grid-add,
  vss-grid-buy {
    font-size:9px;
  }
}

.vss-mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .vss-menu {
        position: relative;
    }

    .vss-mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        width: 42px;
        height: 42px;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        cursor: pointer;
    }

    .vss-mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #111;
        border-radius: 999px;
    }

    .vss-menu .vss-menu-list {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 260px;
        background: #fff;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
        z-index: 99999;
        flex-direction: column;
        gap: 0;
    }

    .vss-menu.vss-mobile-menu-open .vss-menu-list {
        display: flex;
    }

    .vss-menu .vss-menu-list li {
        width: 100%;
    }

    .vss-menu .vss-menu-list a {
        padding: 10px 8px;
        width: 100%;
    }

    .vss-menu .vss-menu-dropdown > ul,
    .vss-menu .vss-menu-parent > ul {
        position: static;
        display: flex;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 14px;
        min-width: 0;
        background: transparent;
        flex-direction: column;
    }

    .vss-menu .vss-menu-dropdown:hover > ul,
    .vss-menu .vss-menu-parent:hover > ul {
        display: flex;
    }
  .vss-mobile-menu-toggle,
.vss-mobile-menu-toggle:hover,
.vss-mobile-menu-toggle:focus,
.vss-mobile-menu-toggle:active {
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
}
}

@media (min-width: 769px){
  .vss-close{
    margin-bottom:15px !important;
    background-color:transparent !important;
  }
}

/* ===== VSS FIX: grid 1:1, popup original ratio, centered crop ===== */
.vss-img-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden !important;
}

.vss-img-wrap img,
.vss-img-wrap .vss-img-main,
.vss-img-wrap .vss-img-hover {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.vss-popup-main-image {
    width: 100% !important;
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 14px;
}

.vss-popup-main-image img,
.vss-popup-gallery img[data-vss-main-image] {
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 180px);
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}

.vss-popup-main-image .vss-slide-old {
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 180px);
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.vss-popup-thumb img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (min-width: 769px) {
    .vss-popup-inner .vss-close {
        top: 18px !important;
        margin-bottom: 25px !important;
    }

    .vss-popup-info h2[data-vss-title] {
        padding-top: 45px !important;
    }
}

/* FILTERKNAPPAR EGEN RAD */
.vss-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* TVINGA SORT + SÖK TILL SAMMA RAD */
.vss-sort-select {
    margin-left: auto;
  font-size:14px;
    width: 200px;
    min-width: 200px;
    flex: 0 0 200px;
  border-radius:50px;
}

.vss-filters input[data-vss-search] {
    width: 200px !important;
    min-width: 0;
    flex: 0 0 200px;
}

/* MOBIL */
@media(max-width:700px){

    .vss-sort-select,
    .vss-filters input[data-vss-search]{
        width:100% !important;
        flex:1 1 100%;
    }

    .vss-sort-select{
        margin-left:0;
    }
}

.vss-cart-notice {
    position: fixed;
    right: 24px;
    bottom: 105px;
    z-index: 100001;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
}

.vss-cart-notice.show {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:700px) {
    .vss-cart-notice {
        left: 12px;
        right: 12px;
        bottom: 95px;
        text-align: center;
    }
}

.vss-body {
    line-height: 1.5em;
    max-height: none !important;
    overflow: visible !important;
}

.vss-body.is-collapsed {
    max-height: 7.5em !important; /* 5 rader x 1.5em */
    overflow: hidden !important;
}

.vss-inline-more {
    display: inline;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111 !important;
    font-weight: 800 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    box-shadow: none !important;
    cursor: pointer;
}
}