/* ===== KURV + MINIKURV v1 — 08.11.2026 =====
   Samme sprog som checkout v3: ingen kort, kun haarfine streger.
   Det baerende problem begge steder var, at Magento lagger "ret/fjern"
   i sin EGEN raekke under varen. Paa kurvesiden kostede det 69 px plus
   48 px luft pr. vare, i minikurven ca. 70 px — derfor den svaevende
   skraldespand i hjoernet. Her flyttes handlingerne op til varen med
   grid, saa raekken bliver ca. 40 % kortere.
   -------------------------------------------------------------- */

/* ---------- A. KURVESIDEN ---------- */
body.checkout-cart-index{
  --ab-ink:#020031; --ab-mute:#6b675f; --ab-body:#4a463f;
  --ab-line:#e6e2db; --ab-fieldline:#ddd9d3; --ab-sort:#111;
}

/* A1. ingen kort — hverken om varelisten eller om kvitteringen */
body.checkout-cart-index .cart.table-wrapper,
body.checkout-cart-index .cart-summary,
body.checkout-cart-index .cart-discount{
  background:transparent!important; border:0!important;
  box-shadow:none!important; border-radius:0!important;
}
body.checkout-cart-index .cart-summary{ padding:0 0 0 16px!important; }

/* A2. varelinjen som gitter: billede | tekst | pris | antal | i alt,
       og ret/fjern paa anden raekke lige under varenavnet.
       display:contents loefter cellerne ud af tabellen og ind i gitteret. */
body.checkout-cart-index #shopping-cart-table{ display:block!important; }
body.checkout-cart-index #shopping-cart-table tbody.cart.item{
  display:grid!important;
  grid-template-columns:108px minmax(0,1fr) 86px 118px 86px!important;
  column-gap:20px!important; row-gap:8px!important;
  align-items:start!important;
  padding:26px 0!important; margin:0!important;
  border-bottom:1px solid var(--ab-line)!important;
}
body.checkout-cart-index #shopping-cart-table tbody.cart.item:first-of-type{
  border-top:1px solid var(--ab-line)!important;
}
body.checkout-cart-index #shopping-cart-table tbody.cart.item > tr,
body.checkout-cart-index #shopping-cart-table tbody.cart.item > tr > td.col.item{
  display:contents!important;
}
body.checkout-cart-index #shopping-cart-table tbody.cart.item > tr > td{
  padding:0!important; border:0!important; background:transparent!important;
}
body.checkout-cart-index .cart.table-wrapper .product-item-photo{
  grid-column:1!important; grid-row:1/span 2!important;
  display:block!important; width:108px!important; padding:0!important; margin:0!important;
}
body.checkout-cart-index .cart.table-wrapper .product-item-details{
  grid-column:2!important; grid-row:1!important;
  display:block!important; padding:0!important; width:auto!important;
}
body.checkout-cart-index .cart.table-wrapper td.col.price{
  grid-column:3!important; grid-row:1!important; text-align:right!important;
}
body.checkout-cart-index .cart.table-wrapper td.col.qty{
  grid-column:4!important; grid-row:1!important; text-align:left!important;
}
body.checkout-cart-index .cart.table-wrapper td.col.subtotal{
  grid-column:5!important; grid-row:1!important; text-align:right!important;
}
body.checkout-cart-index .cart.table-wrapper tr.item-actions > td{
  grid-column:2/-1!important; grid-row:2!important;
}

/* A3. billedet uden den hvide ramme omkring sig */
body.checkout-cart-index .cart.table-wrapper .product-image-container{
  width:108px!important; display:block!important; background:transparent!important; border:0!important;
}
body.checkout-cart-index .cart.table-wrapper .product-image-wrapper{
  padding-bottom:125%!important; background:transparent!important;
}
body.checkout-cart-index .cart.table-wrapper .product-image-photo{
  width:108px!important; height:135px!important; object-fit:cover!important;
  background:transparent!important; border:0!important;
}

/* A4. typografi: navnet foerst, enhedsprisen daempet, linjetotalen taeller */
body.checkout-cart-index .cart.table-wrapper .product-item-name{
  margin:0 0 6px!important; font-size:15px!important; line-height:1.4!important; font-weight:400!important;
}
body.checkout-cart-index .cart.table-wrapper .product-item-name a{
  font-size:15px!important; font-weight:400!important; color:var(--ab-ink)!important; text-decoration:none!important;
}
body.checkout-cart-index .cart.table-wrapper .item-options{ margin:0!important; }
body.checkout-cart-index .cart.table-wrapper .item-options dd{
  font-size:13px!important; color:var(--ab-mute)!important; margin:0!important; line-height:1.5!important;
}
body.checkout-cart-index .cart.table-wrapper .col.price .price{
  font-size:13px!important; font-weight:400!important; color:var(--ab-mute)!important;
}
body.checkout-cart-index .cart.table-wrapper .col.subtotal .price{
  font-size:15px!important; font-weight:400!important; color:var(--ab-ink)!important;
}

/* A5. ret/fjern: side om side under varen, i brandfarve (var Magento-blaa) */
body.checkout-cart-index .cart.table-wrapper tr.item-actions .actions-toolbar,
body.checkout-cart-index .cart.table-wrapper tr.item-actions td > div{
  display:flex!important; gap:22px!important; justify-content:flex-start!important;
  margin:0!important; text-align:left!important;
}
body.checkout-cart-index .cart.table-wrapper tr.item-actions .actions-toolbar > *{
  margin:0!important; float:none!important;
}
body.checkout-cart-index .cart.table-wrapper .action-delete,
body.checkout-cart-index .cart.table-wrapper .action-edit,
body.checkout-cart-index .cart.table-wrapper .action.action-delete{
  color:var(--ab-mute)!important; font-size:13px!important; transition:color .15s!important;
}
body.checkout-cart-index .cart.table-wrapper .action-delete:hover,
body.checkout-cart-index .cart.table-wrapper .action-edit:hover,
body.checkout-cart-index .cart.table-wrapper .action.action-delete:hover{
  color:var(--ab-ink)!important;
}

/* A6. antals-vaelger som streg, ikke kasse — som felterne i checkout */
body.checkout-cart-index .cart.table-wrapper .field.qty,
body.checkout-cart-index .cart.table-wrapper .control.qty{ margin:0!important; }
body.checkout-cart-index .cart.table-wrapper .input-text.qty{
  border:0!important; border-bottom:1px solid var(--ab-fieldline)!important;
  background:transparent!important; border-radius:0!important; box-shadow:none!important;
  height:34px!important; width:44px!important; padding:0!important;
  text-align:center!important; font-size:15px!important; color:var(--ab-ink)!important;
}
body.checkout-cart-index .cart.table-wrapper .input-text.qty:focus{
  border-bottom-color:var(--ab-ink)!important; outline:none!important;
}
body.checkout-cart-index .cart.table-wrapper .qty-btn{
  background:transparent!important; border:0!important; color:var(--ab-mute)!important;
  box-shadow:none!important; transition:color .15s!important;
}
body.checkout-cart-index .cart.table-wrapper .qty-btn:hover{ color:var(--ab-ink)!important; }

/* A7. kvitteringen: total og knap foerst, fragtberegneren nederst.
       Den fyldte 464 px oeverst og skubbede baade total og knap under folden. */
body.checkout-cart-index .cart-summary{ display:flex!important; flex-direction:column!important; }
body.checkout-cart-index .cart-summary > .summary.title{ order:1!important; }
body.checkout-cart-index .cart-summary > .cart-totals{ order:2!important; }
body.checkout-cart-index .cart-summary > .checkout-methods-items{ order:3!important; }
body.checkout-cart-index .cart-summary > .block.shipping{ order:4!important; }

body.checkout-cart-index .cart-summary .summary.title{
  font-size:12px!important; letter-spacing:.16em!important; font-weight:400!important;
  padding:0 0 12px!important; margin:0 0 22px!important;
  border-bottom:1px solid var(--ab-line)!important;
}
body.checkout-cart-index .cart-summary .totals .price,
body.checkout-cart-index .cart-summary .totals .mark{
  font-size:14px!important; font-weight:400!important; color:var(--ab-body)!important;
}
body.checkout-cart-index .cart-summary .grand.totals .mark{
  font-size:12px!important; letter-spacing:.1em!important; color:var(--ab-mute)!important;
}
body.checkout-cart-index .cart-summary .grand.totals .price{
  font-size:18px!important; font-weight:400!important; color:var(--ab-ink)!important;
}
body.checkout-cart-index .checkout-methods-items{ margin:28px 0 0!important; padding:0!important; }
body.checkout-cart-index .checkout-methods-items .action.primary.checkout{
  background:var(--ab-sort)!important; color:#fff!important; border:0!important; border-radius:0!important;
  width:100%!important; min-height:58px!important;
  font-size:13px!important; font-weight:400!important; letter-spacing:.18em!important;
}
body.checkout-cart-index .cart-summary > .block.shipping{
  margin:40px 0 0!important; padding:24px 0 0!important;
  border-top:1px solid var(--ab-line)!important;
}

/* ---------- B. MINIKURVEN (gaelder alle sider) ---------- */
body #minicart-content-wrapper .minicart-items li.product-item > .product{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) auto!important;
  column-gap:14px!important; align-items:start!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product-item-photo{
  grid-column:1!important; grid-row:1!important;
  width:68px!important; padding:0!important; margin:0!important; display:block!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product-item-details{
  grid-column:2!important; grid-row:1!important; padding:0!important; margin:0!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product.actions{
  grid-column:3!important; grid-row:1!important;
  display:flex!important; gap:10px!important; align-items:center!important;
  width:auto!important; margin:0!important; padding:0!important; float:none!important;
}
body .minicart-items li.product-item{
  padding:16px 0!important; margin:0!important;
  border-bottom:1px solid #e6e2db!important;
}
body .minicart-items li.product-item:last-child{ border-bottom:0!important; }

body .minicart-items .product-item-name{ margin:0 0 4px!important; font-weight:400!important; }
body .minicart-items .product-item-name a{
  font-size:14px!important; font-weight:400!important; color:#020031!important;
  text-decoration:none!important; line-height:1.4!important;
}
body .minicart-items .product.options .content{ font-size:12px!important; color:#6b675f!important; }
body .minicart-items .product.options dt,
body .minicart-items .product.options dd{ font-size:12px!important; color:#6b675f!important; }
body .minicart-items .product-item-pricing .price{
  font-size:14px!important; font-weight:400!important; color:#020031!important;
}
body .minicart-items .details-qty{ margin:8px 0 0!important; }
body .minicart-items .details-qty .label{
  font-size:11px!important; letter-spacing:.1em!important; color:#6b675f!important;
}
body .minicart-items .item-qty{
  border:0!important; border-bottom:1px solid #ddd9d3!important; background:transparent!important;
  border-radius:0!important; box-shadow:none!important;
  height:30px!important; width:42px!important; padding:0!important;
  text-align:center!important; font-size:14px!important; color:#020031!important;
}
body .minicart-items .item-qty:focus{ border-bottom-color:#020031!important; outline:none!important; }
body .minicart-items .product.actions .action.delete,
body .minicart-items .product.actions .action.edit{
  color:#6b675f!important; transition:color .15s!important;
}
body .minicart-items .product.actions .action.delete:hover,
body .minicart-items .product.actions .action.edit:hover{ color:#020031!important; }

/* ---------- C. RETTELSER EFTER FOERSTE GENNEMSYN ---------- */

/* C1. fjern-linket stod yderst til hoejre, fordi vaerktoejslinjen er
       space-between med en tom gaveindpaknings-div som foerste barn.
       ID i selektoren, ellers taber den til temaets egen regel. */
body.checkout-cart-index #shopping-cart-table tr.item-actions .actions-toolbar{
  display:flex!important; justify-content:flex-start!important;
  gap:22px!important; margin:0!important;
}
body.checkout-cart-index #shopping-cart-table .gift-options-cart-item:empty{ display:none!important; }

/* C2. totalens etiket skal laese som etiket, ikke som spaerret overskrift */
body.checkout-cart-index .cart-summary .grand.totals .mark{
  font-size:13px!important; letter-spacing:normal!important; font-weight:400!important;
  color:var(--ab-mute)!important;
}

/* C3. fragtberegneren har selv en streg i sin titel — ikke to oven i hinanden */
body.checkout-cart-index .cart-summary > .block.shipping{
  border-top:0!important; margin:32px 0 0!important; padding:0!important;
}

/* C4. den egentlige aarsag til den svaevende skraldespand:
       a.action-delete er position:absolute; right:0 i temaet.
       Saa laenge den er det, er justify-content ligegyldig. */
body.checkout-cart-index #shopping-cart-table tr.item-actions .action-delete,
body.checkout-cart-index #shopping-cart-table tr.item-actions .action-edit{
  position:static!important; right:auto!important; left:auto!important; top:auto!important;
}
body.checkout-cart-index #shopping-cart-table tr.item-actions .actions-toolbar{ gap:0!important; }
body.checkout-cart-index #shopping-cart-table tr.item-actions .actions-toolbar > a{
  margin-right:22px!important;
}

/* ---------- D. LAERT AF HANSEN (08.11.2026) ----------
   Tre ting de goer roligere end os:
   1) EEN talkolonne, ikke to. Vi viste baade enhedspris og linjetotal
      hoejrestillet — for qty 1 er det samme tal to gange.
      Nu: linjetotalen staar hoejre, enhedsprisen daempet nede ved antallet.
   2) Handlingen er et ORD ("remove"), ikke en bleg skraldespand.
   3) Antal, pris og fjern staar paa EEN linje under varen,
      saa raekken bliver lav og venstrestillet.
   -------------------------------------------------------------- */
@media (min-width:768px){
  body.checkout-cart-index #shopping-cart-table tbody.cart.item{
    grid-template-columns:108px auto auto minmax(0,1fr) auto!important;
    row-gap:14px!important;
  }
  body.checkout-cart-index #shopping-cart-table .product-item-details{
    grid-column:2/5!important; grid-row:1!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.subtotal{
    grid-column:5!important; grid-row:1!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.qty{
    grid-column:2!important; grid-row:2!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.price{
    grid-column:3!important; grid-row:2!important;
    align-self:center!important; text-align:left!important;
  }
  body.checkout-cart-index #shopping-cart-table tr.item-actions > td{
    grid-column:4!important; grid-row:2!important; align-self:center!important;
  }
}

/* D2. "fjern" som ord i stedet for det blege ikon.
       Teksten findes allerede i markup'en som skaermlaeser-tekst
       og er oversat pr. butik — den foldes bare ud. */
body.checkout-cart-index #shopping-cart-table .action-delete::before,
body.checkout-cart-index #shopping-cart-table .action-delete::after{ display:none!important; content:none!important; }
body.checkout-cart-index #shopping-cart-table .action-delete{
  width:auto!important; height:auto!important; overflow:visible!important;
  text-decoration:none!important; border-bottom:1px solid transparent!important;
}
body.checkout-cart-index #shopping-cart-table .action-delete > span{
  position:static!important; width:auto!important; height:auto!important;
  margin:0!important; padding:0!important; border:0!important;
  clip:auto!important; clip-path:none!important; overflow:visible!important;
  white-space:nowrap!important; display:inline!important;
  font-size:12px!important; letter-spacing:.06em!important; line-height:1!important;
}
body.checkout-cart-index #shopping-cart-table .action-delete:hover{
  border-bottom-color:var(--ab-ink)!important;
}

/* D3. mobil: billede til venstre, pris til hoejre, antal og fjern under.
       🪤 Magentos egen mobil-CSS saetter .product-item-photo til
       position:absolute (sammen med padding-left:100px paa .col.item).
       I et gitter betyder det at billedet falder HELT ud af raekken —
       maalt 08.11.2026: kolonnen var tom. Skal tvinges til static. */
@media (max-width:767px){
  body.checkout-cart-index #shopping-cart-table tbody.cart.item{
    grid-template-columns:84px minmax(0,1fr) auto!important;
    column-gap:16px!important; row-gap:10px!important; padding:20px 0!important;
  }
  body.checkout-cart-index #shopping-cart-table .product-item-photo{
    position:static!important; float:none!important;
    grid-column:1!important; grid-row:1/span 2!important;
    width:84px!important; padding:0!important; margin:0!important;
  }
  body.checkout-cart-index #shopping-cart-table .product-image-container,
  body.checkout-cart-index #shopping-cart-table .product-image-wrapper{ width:84px!important; }
  body.checkout-cart-index #shopping-cart-table .product-image-photo{
    width:84px!important; height:105px!important;
  }
  body.checkout-cart-index #shopping-cart-table .product-item-details{
    grid-column:2!important; grid-row:1!important; padding:0!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.subtotal{
    grid-column:3!important; grid-row:1!important; text-align:right!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.price{ display:none!important; }
  body.checkout-cart-index #shopping-cart-table td.col.qty{
    grid-column:2!important; grid-row:2!important;
  }
  body.checkout-cart-index #shopping-cart-table tr.item-actions > td{
    grid-column:3!important; grid-row:2!important; text-align:right!important;
    align-self:center!important;
  }
  body.checkout-cart-index #shopping-cart-table tr.item-actions .actions-toolbar{
    justify-content:flex-end!important;
  }
  body.checkout-cart-index #shopping-cart-table tr.item-actions .actions-toolbar > a{
    margin-right:0!important;
  }
  body.checkout-cart-index .cart-summary{ padding:0!important; }
}

/* B2. minus/plus i minikurven (knapperne indsaettes af ab-minicart-qty.js) */
body .minicart-items .details-qty.ab-qty{
  display:inline-flex!important; align-items:center!important; gap:2px!important;
}
body .minicart-items .details-qty.ab-qty > .label{ display:none!important; }
body .minicart-items .ab-qty-btn{
  background:transparent!important; border:0!important; box-shadow:none!important;
  padding:0!important; width:28px!important; height:30px!important; line-height:1!important;
  font-size:15px!important; color:#6b675f!important; cursor:pointer!important;
  transition:color .15s!important;
}
body .minicart-items .ab-qty-btn:hover{ color:#020031!important; }

/* B3. samme regler igen, men med #minicart-content-wrapper i selektoren.
       Temaet styrer minikurven gennem det ID, og et ID slaar et hvilket
       som helst antal klasser — ogsaa med !important. (Maalt 08.11.2026:
       .product stod stadig flex, og .product.actions float:right.) */
body #minicart-content-wrapper .minicart-items li.product-item > .product{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) auto!important;
  column-gap:14px!important; align-items:start!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product-item-photo{
  grid-column:1!important; grid-row:1!important;
  width:68px!important; padding:0!important; margin:0!important; display:block!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product-item-details{
  grid-column:2!important; grid-row:1!important; padding:0!important; margin:0!important;
}
body #minicart-content-wrapper .minicart-items li.product-item > .product > .product.actions{
  grid-column:3!important; grid-row:1!important;
  display:flex!important; gap:10px!important; align-items:center!important;
  float:none!important; width:auto!important; margin:0!important; padding:0!important;
}
/* farve/stoerrelse paa EEN linje, ikke etiket og vaerdi i hver sin */
body #minicart-content-wrapper .minicart-items .product.options dl{
  display:block!important; margin:0!important;
}
body #minicart-content-wrapper .minicart-items .product.options dt,
body #minicart-content-wrapper .minicart-items .product.options dd{
  display:inline!important; margin:0!important; font-size:12px!important; color:#6b675f!important;
}
body #minicart-content-wrapper .minicart-items .product.options dd::after{
  content:"\A"; white-space:pre;
}
body #minicart-content-wrapper .minicart-items .product.options .content{ margin:0!important; }

/* B4. .product.actions ligger INDE i .product-item-details — ikke som
       soeskende til billedet, som jeg foerst antog. Derfor ramte
       barn-selektoren aldrig. Den laegges i stedet nederst til hoejre
       i tekstblokken, saa den staar paa linje med antals-vaelgeren. */
body #minicart-content-wrapper .minicart-items .product-item-details{
  position:relative!important; padding-right:40px!important;
}
body #minicart-content-wrapper .minicart-items .product-item-details > .product.actions{
  position:absolute!important; right:0!important; bottom:0!important; top:auto!important;
  float:none!important; margin:0!important; padding:0!important; width:auto!important;
  display:flex!important; gap:10px!important; align-items:center!important;
}

/* B5. mellemrum efter "farba:" — display:inline aad linjeskiftet */
body #minicart-content-wrapper .minicart-items .product.options dd{ margin-left:4px!important; }

/* ---------- E. STREGERNE (08.11.2026) ----------
   Maalt: de var ikke ens. Varelinjerne stod i #e6e2db, men temaets
   egne linjer i kvitteringen stod i #cccccc, og stregen over totalen
   var 2 px. Antals-feltet havde desuden en streg OVENOVER, ikke kun
   under. Alt saettes til samme haarfine 1 px. */
body.checkout-cart-index .cart-summary .title,
body.checkout-cart-index .cart-summary .cart-totals,
body.checkout-cart-index .cart-summary th.mark,
body.checkout-cart-index .cart-summary td.amount,
body.checkout-cart-index .cart-summary tr.totals,
body.checkout-cart-index .cart-summary tr.grand.totals{
  border-top-width:1px!important; border-bottom-width:1px!important;
  border-top-color:var(--ab-line)!important; border-bottom-color:var(--ab-line)!important;
}
body.checkout-cart-index .cart-summary tr.grand.totals,
body.checkout-cart-index .cart-summary tr.grand.totals th,
body.checkout-cart-index .cart-summary tr.grand.totals td{
  border-top-width:1px!important; border-top-color:var(--ab-line)!important;
}
/* antals-feltet: kun stregen under */
body.checkout-cart-index .cart.table-wrapper .input-text.qty{
  border-top:0!important; border-left:0!important; border-right:0!important;
}

/* E2. stregerne en tand lettere — og paa retina fysisk halve.
       0.5px rammer kun skaerme med 2x, hvor det giver en aegte
       haarlinje; paa 1x-skaerme ville det runde til ingenting,
       derfor er det pakket i en media-forespoergsel. */
body.checkout-cart-index{ --ab-line:#ece9e4!important; }

@media (-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi){
  body.checkout-cart-index #shopping-cart-table tbody.cart.item,
  body.checkout-cart-index #shopping-cart-table tbody.cart.item:first-of-type,
  body.checkout-cart-index .cart-summary .title,
  body.checkout-cart-index .cart-summary .cart-totals,
  body.checkout-cart-index .cart-summary th.mark,
  body.checkout-cart-index .cart-summary td.amount,
  body.checkout-cart-index .cart-summary tr.totals,
  body.checkout-cart-index .cart-summary tr.grand.totals,
  body.checkout-cart-index .cart-summary tr.grand.totals th,
  body.checkout-cart-index .cart-summary tr.grand.totals td,
  body #minicart-content-wrapper .minicart-items li.product-item,
  body #minicart-content-wrapper .subtotal,
  body #minicart-content-wrapper .block-content > .actions{
    border-top-width:0.5px!important; border-bottom-width:0.5px!important;
  }
}
/* minikurvens skillelinjer samme tone */
body #minicart-content-wrapper .minicart-items li.product-item{
  border-bottom-color:#ece9e4!important;
}

/* B6. rammen under billedet i minikurven.
       a.product-item-photo stod 68x120 MED en 1 px kant, mens billedet
       kun er 85 px hoejt — resten var en tom kasse med streg om.
       Hoejden er arvet fra den gamle 120x150-thumbnail. */
body #minicart-content-wrapper .minicart-items .product-item-photo{
  height:auto!important; min-height:0!important; max-height:none!important;
  border:0!important; background:transparent!important; line-height:0!important;
}
body #minicart-content-wrapper .minicart-items .product-image-container,
body #minicart-content-wrapper .minicart-items .product-image-wrapper{
  height:auto!important; min-height:0!important; border:0!important;
  background:transparent!important; padding-bottom:0!important; display:block!important;
}
body #minicart-content-wrapper .minicart-items .product-image-photo{
  position:static!important; width:68px!important; height:85px!important;
  object-fit:cover!important; border:0!important; background:transparent!important;
  display:block!important;
}
/* samme hygiejne paa kurvesiden */
body.checkout-cart-index .cart.table-wrapper .product-item-photo{
  height:auto!important; min-height:0!important; border:0!important;
  background:transparent!important; line-height:0!important;
}
body.checkout-cart-index .cart.table-wrapper .product-image-wrapper{
  padding-bottom:0!important; height:auto!important;
}
body.checkout-cart-index .cart.table-wrapper .product-image-photo{
  position:static!important; display:block!important;
}

/* D4. mobil, to rettelser maalt 08.11.2026:
   - linjetotalen blev klippet (cellen 34 px, prisen 49 px). Det lange
     varenavn gav kolonne 2 en stor min-content; min-width:0 slipper den.
   - kvitteringen laa FOER varelisten i DOM'en, saa man saa
     "gaa til betaling" foer man havde set hvad man koeber. */
@media (max-width:767px){
  body.checkout-cart-index #shopping-cart-table .product-item-details{
    min-width:0!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.subtotal,
  body.checkout-cart-index #shopping-cart-table td.col.subtotal .price{
    white-space:nowrap!important;
  }
  body.checkout-cart-index .cart-container{
    display:flex!important; flex-direction:column!important;
  }
  body.checkout-cart-index .cart-container > .form-cart{ order:1!important; }
  body.checkout-cart-index .cart-container > .cart-discount{ order:2!important; }
  body.checkout-cart-index .cart-container > .cart-summary{ order:3!important; margin-top:32px!important; }
}

/* D5. kolonne 3 ville ikke vokse til prisens bredde (34 px mod 49 px
       noedvendige), saa eurotegnet blev klippet. Fast bredde i stedet. */
@media (max-width:767px){
  body.checkout-cart-index #shopping-cart-table tbody.cart.item{
    grid-template-columns:84px minmax(0,1fr) 74px!important;
  }
  body.checkout-cart-index #shopping-cart-table td.col.subtotal{
    width:auto!important; max-width:none!important; min-width:0!important;
  }
}

/* A8. minikurven skjules PAA kurvesiden.
       Jesper 08.11.2026: forvirrende at ikonet staar aktivt med et antal,
       mens man kigger paa praecis den samme kurv. Paa checkout beholdes
       derimod kurv-linket — der ER man gaaet videre fra kurven. */
body.checkout-cart-index .page-header .minicart-wrapper{ display:none!important; }

/* A9. den tomme kurv stod stadig i en hvid kasse — samme kort-look som
       varelisten havde. Den skal vaere lige saa flad som resten. */
body.checkout-cart-index .cart-empty,
body.checkout-cart-index .cart-container .cart-empty{
  background:transparent!important; border:0!important; box-shadow:none!important;
  border-radius:0!important; padding:48px 0!important; text-align:left!important;
}
body.checkout-cart-index .cart-empty p{ font-size:15px!important; color:var(--ab-body)!important; }
body.checkout-cart-index .cart-empty a{ color:var(--ab-ink)!important; text-decoration:underline!important; }
