.elementor-30558 .elementor-element.elementor-element-a4ba451{--display:flex;}.elementor-30558 .elementor-element.elementor-element-0d39fd7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-30558 .elementor-element.elementor-element-0d39fd7.elementor-wc-products ul.products li.product span.onsale{display:block;}body.elementor-page-30558{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}@media(max-width:1024px){.elementor-30558 .elementor-element.elementor-element-0d39fd7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-30558 .elementor-element.elementor-element-0d39fd7.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS *//* =========================================================
   PRILLA – SHOPKORT (NY CSS FRÅN NOLL)
   ========================================================= */

/* ---- Bas / små tokens ---- */
:root{
  --prilla-green: #75c22c;
  --prilla-border: #e6eaf0;
  --prilla-ink: #0f172a;
  --prilla-soft: #f6f8fb;
  --prilla-radius: 16px;
}

/* =========================================================
   GRID
   ========================================================= */
body.woocommerce ul.products{
  gap: 16px !important; /* Elementor grid behöver ofta !important */
}

/* =========================================================
   PRODUKTKORT
   ========================================================= */
body.woocommerce ul.products li.product{
  background:#fff;
  border:1px solid var(--prilla-border);
  border-radius: var(--prilla-radius);
  overflow:hidden;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  padding: 0 !important;

  display:flex;
  flex-direction:column;
}

body.woocommerce ul.products li.product:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,23,42,.10);
  border-color:#d7dde7;
}

/* Klickyta (bild+titel) */
body.woocommerce ul.products li.product .woocommerce-loop-product__link{
  display:block;
  padding: 14px 14px 10px;
}

/* Bildruta */
body.woocommerce ul.products li.product a img{
  background: var(--prilla-soft);
  border-radius: 14px;
  padding: 14px;
  width: 100% !important;
  height: 200px !important;
  object-fit: contain;
  display:block;
  margin:0 !important;
}

/* Rea-badge */
body.woocommerce span.onsale{
  top: 10px !important;
  right: 10px !important;
  left: auto !important;

  background:#fff !important;
  color: var(--prilla-ink) !important;
  border:1px solid var(--prilla-border) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  border-radius:999px !important;
  padding:6px 10px !important;
  line-height:1 !important;
  box-shadow: 0 6px 14px rgba(15,23,42,.08) !important;
}

/* Titel */
body.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  margin: 0 !important;
  color: var(--prilla-ink);

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 38px; /* jämna kort */
}

/* Pris (om du vill visa – annars kommentera bort)
body.woocommerce ul.products li.product .price{
  padding: 0 14px 6px;
  margin: 0 !important;
  color: #64748b;
  font-size: 13px;
}
*/

/* =========================================================
   CHIPS (max 3) – samma som din stil men renskriven
   ========================================================= */
.prilla-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 14px 12px;
  padding:0;
}

.prilla-chip{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  max-width:100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.prilla-chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15,23,42,.12);
}

.prilla-chip-value{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  white-space:nowrap;
}

.prilla-emoji{
  width:16px;
  height:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  line-height:1;
  flex:0 0 16px;
}

.prilla-chip-text{
  font-size:12px;
  font-weight:700;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px;
  color: var(--prilla-ink) !important;
}

/* Första chipet lite “viktigare” */
.prilla-chips .prilla-chip:nth-child(1){
  border-color: rgba(117,194,44,.35);
  box-shadow: 0 4px 14px rgba(117,194,44,.12);
  background: linear-gradient(180deg,#ffffff,#f8fff0);
}

/* Desktop: 1 + 2 layout */
@media (min-width: 768px){
  .prilla-chips .prilla-chip:nth-child(1){ flex: 1 1 100%; }
  .prilla-chips .prilla-chip:nth-child(2),
  .prilla-chips .prilla-chip:nth-child(3){
    flex: 1 1 calc(50% - 5px);
    justify-content:center;
  }
}

/* Mobil */
@media (max-width: 767px){
  .prilla-chips{ gap:8px; }
  .prilla-chip{ padding:7px 10px; }
  .prilla-chip-text{ max-width:220px; }
  .prilla-chips .prilla-chip:nth-child(1){ flex: 1 1 100%; }
  .prilla-chips .prilla-chip:nth-child(2),
  .prilla-chips .prilla-chip:nth-child(3){
    flex: 1 1 calc(50% - 4px);
  }
}

/* =========================================================
   PACK-VÄLJARE + KÖP (slutdesignen vi landade)
   ========================================================= */

/* Pack-blocket ska ligga snyggt i botten av kortet */
body.woocommerce ul.products li.product .prilla-pack-picker{
  margin: 10px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;

  /* Viktigt: låt aldrig detta växa till “grön matta” */
  flex: 0 0 auto;
  margin-top: auto;
}

/* Dropdown */
body.woocommerce ul.products li.product .prilla-pack-select{
  width:100%;
  height:40px;
  min-height:40px;

  padding: 0 14px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.18);
  background:#fff;

  font-size:13px;
  font-weight:600;
}
body.woocommerce ul.products li.product .prilla-pack-select:focus{
  outline:none;
  border-color: rgba(15,23,42,.35);
}

/* Köp-knappen (vi bygger på din gröna knappstil men med rätt höjd) */
body.woocommerce ul.products li.product .prilla-pack-add.button{
  width:100% !important;
  height:40px !important;
  min-height:40px !important;
  line-height:40px !important;
  padding: 0 16px !important;
  margin:0 !important;

  border-radius:12px !important;
  font-size:13px !important;
  font-weight:700 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Disabled */
body.woocommerce ul.products li.product .prilla-pack-add[disabled]{
  opacity:.65;
  cursor:not-allowed;
}

/* Loading spinner */
body.woocommerce ul.products li.product .prilla-pack-add.is-loading{
  position:relative;
  pointer-events:none;
}
body.woocommerce ul.products li.product .prilla-pack-add.is-loading:after{
  content:"";
  width:16px;
  height:16px;
  border:2px solid rgba(255,255,255,.55);
  border-top-color:#fff;
  border-radius:50%;
  margin-left:8px;
  animation: prillaSpin .8s linear infinite;
}
@keyframes prillaSpin{ to{ transform:rotate(360deg);} }

/* =========================================================
   WOOCOMMERCE STANDARD-KNAPP I KORT (för simple produkter)
   (denna matchar din gröna stil)
   ========================================================= */
body.woocommerce ul.products li.product .button{
  margin: 0 !important;
  width: 100%;
  padding: 12px 14px !important;
  font-weight: 600;
  font-size: 12px;
  background: var(--prilla-green);
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: 0 -1px 0 rgba(15,23,42,0.06) inset;
}
body.woocommerce ul.products li.product .button:hover{
  filter: brightness(1.05);
}

/* =========================================================
   SORTERING + ANTAL
   ========================================================= */
.woocommerce-ordering select.orderby{
  margin:0;
  width:100%;
  padding:12px 14px;
  font-size:12px;
  font-weight:600;
  background: var(--prilla-green);
  color:#fff;
  border-radius:16px;
  border:1px solid var(--prilla-border);
}

.woocommerce-result-count{
  margin:0;
  width:100%;
  padding:12px 14px;
  font-size:12px;
  font-weight:400;
  background:#fff;
  color:#111;
  border-radius:16px;
  border:1px solid var(--prilla-border);
}

/* =========================================================
   MOBIL FINLIR
   ========================================================= */
@media (max-width: 768px){
  body.woocommerce ul.products li.product a img{ height:170px !important; }
  body.woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:12px;
    font-weight:600;
    min-height: 34px;
  }
}

/* =========================================
   PRILLA – Chips: tillbaka till tajt layout (som gamla)
   ========================================= */

/* Grund: lite tightare */
.prilla-chips{
  gap: 8px;
  margin: 10px 14px 12px;
}

/* Chip lite mindre och mer “tag” */
.prilla-chip{
  padding: 7px 10px;
  border-radius: 999px;
}

/* Text lite tajtare */
.prilla-chip-text{
  font-size: 12px;
  font-weight: 700;
  max-width: 160px;
}

/* Desktop: INGEN 1+2-layout – visa som små taggar */
@media (min-width: 768px){
  .prilla-chips .prilla-chip:nth-child(1),
  .prilla-chips .prilla-chip:nth-child(2),
  .prilla-chips .prilla-chip:nth-child(3){
    flex: 0 1 auto !important;     /* inte 100% / 50% */
    justify-content: flex-start !important;
  }

  /* Första chipet får vara lite “viktigare” men inte fullbredd */
  .prilla-chips .prilla-chip:nth-child(1){
    max-width: 100%;
  }
}

/* Mobil: kan få andas lite mer */
@media (max-width: 767px){
  .prilla-chip-text{ max-width: 220px; }
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  height: 42px; /* justera */
  overflow: hidden;
}
@media (max-width: 768px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    line-height: 1.25;
    max-height: calc(1.25em * 2); /* 2 rader */
    overflow: hidden;
  }
}

/* PRILLA – större smak-ikoner i chips */
.prilla-chip .prilla-emoji{
  font-size: 18px;      /* från 14px → 18px */
  line-height: 1;
}

.prilla-chip-value{
  gap: 8px;             /* lite mer luft mellan flera emojis */
}

.prilla-chips .prilla-chip:nth-child(1) .prilla-emoji{
  letter-spacing: 1px;
}/* End custom CSS */