/* EduPassion Cart 0.1.5 — scoped to the cart page and .epc-cart */
body.woocommerce-cart .site-content .ast-container{max-width:1260px;width:100%}
body.woocommerce-cart .site-content .content-area{width:100%;max-width:100%;float:none}
body.woocommerce-cart .site-content .widget-area{display:none}
body.woocommerce-cart .site-content .entry-header{display:none}
body.woocommerce-cart .site-content .entry-content{max-width:none}
body.woocommerce-cart .epc-cart,
body.woocommerce-cart .epc-cart *{box-sizing:border-box}
.epc-cart{--epc-teal:#266570;--epc-ink:#25363b;--epc-muted:#6a7e81;--epc-border:#e2eae7;--epc-soft:#f6f9f8;color:var(--epc-ink);font-family:Nunito,Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5;max-width:1216px;margin:0 auto;padding:22px 12px 82px}
.epc-cart p{margin:0}.epc-cart a{text-decoration:none}.epc-cart a:hover{text-decoration:none}.epc-cart button,.epc-cart input{font:inherit}.epc-cart button{cursor:pointer}.epc-cart :is(a,button,input,summary):focus-visible{outline:3px solid #83b2ab;outline-offset:3px}
.epc-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#849492;font-size:12px;margin-bottom:32px}.epc-breadcrumb a{color:#768c89}.epc-breadcrumb a:hover{color:var(--epc-teal)}
.epc-eyebrow{color:var(--epc-teal);font-weight:900;font-size:11px;letter-spacing:1.5px;margin-bottom:10px!important}.epc-intro{display:flex;align-items:end;justify-content:space-between;gap:24px}.epc-intro h1{color:var(--epc-ink);font-size:45px;font-weight:950;line-height:1.17;letter-spacing:-1.6px;margin:0 0 11px}.epc-intro>div>p:last-child{font-size:14px;color:var(--epc-muted);line-height:1.7}.epc-safe{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#edf4f0;color:#618074;border-radius:40px;border:1px solid #deebe4;padding:9px 14px;font-size:11px;font-weight:800}
.epc-steps{display:flex;align-items:center;gap:14px;margin:29px 0}.epc-steps>span{display:inline-flex;align-items:center;gap:9px;color:#91a09d;font-size:12px;font-weight:800}.epc-steps>span b{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;border-radius:50%;background:#edf1ee;color:#8a9995;font-size:12px}.epc-steps>span.epc-current{color:var(--epc-teal)}.epc-steps>span.epc-current b{background:var(--epc-teal);color:#fff}.epc-steps>i{height:1px;width:60px;background:#dce8e2}
.epc-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(305px,1fr);gap:23px;align-items:start}.epc-items-panel,.epc-summary{background:#fff;border:1px solid var(--epc-border);border-radius:20px;box-shadow:0 14px 40px rgba(28,66,65,.05)}.epc-items-panel{overflow:hidden}
.epc-items-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 25px 19px;border-bottom:1px solid #edf0ed}.epc-items-header h2,.epc-summary h2{color:var(--epc-ink);font-size:19px;line-height:1.3;font-weight:900;margin:0}.epc-items-header p{font-size:12px;color:var(--epc-muted);margin-top:4px}.epc-items-count{white-space:nowrap;border-radius:40px;padding:6px 12px;background:#edf5f2;color:var(--epc-teal);font-size:11px;font-weight:850}
.epc-items-list{padding:0 25px}.epc-item{display:grid;grid-template-columns:114px minmax(0,1fr) 115px;gap:18px;align-items:center;padding:24px 0;border-bottom:1px solid #edf1ed}.epc-item:last-child{border-bottom:0}.epc-item-image{height:91px;width:114px;display:flex;align-items:center;justify-content:center;border:1px solid #edf1ed;background:#f7f9f7;border-radius:13px;overflow:hidden;padding:5px}.epc-item-image img{object-fit:contain;width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0}.epc-item-info{min-width:0}.epc-item-name{display:block;color:var(--epc-ink)!important;font-size:15px;font-weight:900;line-height:1.45}.epc-item-name:hover{color:var(--epc-teal)!important}.epc-digital{display:block;color:#3d806f;font-size:11px;font-weight:750;margin-top:9px}.epc-remove-form{display:block;margin:9px 0 0!important}.epc-remove{background:transparent!important;border:0!important;padding:0!important;color:#92a29e!important;font-size:11px!important;font-weight:750!important;line-height:1.5!important;box-shadow:none!important}.epc-remove:hover{color:#b15252!important}.epc-item-price{text-align:right;white-space:nowrap;font-size:16px;font-weight:900;color:var(--epc-ink)}.epc-item-price .amount{font-weight:900}
.epc-items-footer{border-top:1px solid #edf0ed;padding:18px 25px;display:flex;align-items:center;justify-content:space-between;gap:18px}.epc-items-footer a{color:var(--epc-teal)!important;font-size:12px;font-weight:850}.epc-items-footer a:hover{text-decoration:underline}.epc-items-footer>span{font-size:11px;color:#92a09a}
.epc-summary-column{position:sticky;top:114px;min-width:0}.epc-summary{padding:24px}.epc-summary h2{font-size:20px;margin-bottom:23px}.epc-summary-line{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin:0 0 14px;font-size:13px}.epc-summary-line>span{color:var(--epc-muted)}.epc-summary-line strong{font-weight:850;font-size:13px;color:var(--epc-ink);text-align:right}.epc-summary-line.epc-discount strong{color:#387c60}.epc-summary-line.epc-discount form{display:inline;margin:0}.epc-summary-line.epc-discount button{padding:0;background:none!important;border:0!important;color:var(--epc-teal)!important;font-size:11px!important;text-decoration:underline}.epc-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:20px;border-top:1px solid #e7ede8;padding-top:18px;margin-bottom:19px}.epc-summary-total>span{font-size:15px;font-weight:850}.epc-summary-total>strong{font-size:27px;font-weight:950;letter-spacing:-.6px;text-align:right;line-height:1.1}.epc-summary-total .amount{font-size:inherit;font-weight:inherit}
.epc-cart .epc-cta{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:51px;border-radius:12px;background:var(--epc-teal)!important;color:#fff!important;font-size:13.5px!important;font-weight:900!important;padding:12px 16px;text-align:center;border:0;box-shadow:0 8px 20px rgba(38,101,112,.12)}.epc-cart .epc-cta:hover{background:#1f515a!important;color:#fff!important}.epc-cart .epc-cta.epc-disabled{opacity:.45;cursor:not-allowed}
.epc-payment-info{text-align:center;color:#81938d;margin-top:14px;font-size:11px}.epc-coupon{margin-top:18px;border-top:1px solid #edf1ed;padding-top:15px}.epc-coupon summary{list-style:none;cursor:pointer;color:#537473;font-size:12px;font-weight:850;display:flex;justify-content:space-between;align-items:center}.epc-coupon summary::-webkit-details-marker{display:none}.epc-coupon summary:after{content:'⌄';font-size:18px}.epc-coupon[open] summary:after{transform:rotate(180deg)}.epc-coupon form{display:flex;gap:8px;margin:12px 0 0}.epc-coupon input{flex:1;min-width:0;width:100%;padding:10px;border:1px solid #d7e2dd;border-radius:9px;background:#fff;color:var(--epc-ink);font-size:12px}.epc-coupon button{border:1px solid #c6dcd5!important;border-radius:9px!important;background:#f2f8f5!important;color:var(--epc-teal)!important;padding:9px 11px!important;font-size:11px!important;font-weight:850!important}
.epc-info{display:grid;gap:10px;margin-top:16px}.epc-info>div{border:1px solid #deebe4;background:#eaf4f0;border-radius:13px;padding:14px 15px}.epc-info strong{display:block;font-size:12px;font-weight:850;color:#36695f}.epc-info span{display:block;color:#6e8680;font-size:11px;line-height:1.5;margin-top:4px}
.epc-empty{text-align:center;padding:50px 20px 56px}.epc-empty-icon{width:76px;height:76px;margin:0 auto 15px;display:grid;place-items:center;background:#eaf4f1;border-radius:22px;font-size:33px}.epc-empty h3{font-size:19px;margin:0 0 8px}.epc-empty p{font-size:13px;color:var(--epc-muted);margin:0 auto 20px;max-width:350px}.epc-cart .epc-empty-cta{max-width:235px;margin:auto}
.epc-cart .woocommerce-notices-wrapper{margin-bottom:20px}.epc-cart :is(.woocommerce-message,.woocommerce-error,.woocommerce-info){border-radius:12px;margin:0 0 15px!important;box-shadow:none;font-size:13px}.epc-cart .woocommerce-error li{line-height:1.6}
@media(max-width:980px){.epc-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:15px}.epc-items-list{padding:0 17px}.epc-item{grid-template-columns:85px minmax(0,1fr);gap:14px}.epc-item-image{width:85px;height:85px}.epc-item-price{grid-column:2;text-align:left;margin-top:-7px}.epc-items-header{padding:20px}.epc-summary{padding:20px}}
@media(max-width:760px){.epc-cart{padding:16px 8px 54px}.epc-layout{grid-template-columns:1fr;gap:17px}.epc-summary-column{position:static}.epc-intro h1{font-size:38px}.epc-steps{margin:24px 0}.epc-steps>i{width:24px}.epc-intro{align-items:start}.epc-safe{display:none}.epc-info{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.epc-intro h1{font-size:34px}.epc-breadcrumb{margin-bottom:23px}.epc-steps{gap:7px}.epc-steps>span{font-size:10px;gap:6px}.epc-steps>span b{height:24px;width:24px;font-size:10px}.epc-steps>i{width:15px}.epc-steps>span:last-child{display:none}.epc-items-header{padding:18px;align-items:start}.epc-items-header h2{font-size:17px}.epc-items-header p{font-size:11px}.epc-items-list{padding:0 14px}.epc-item{grid-template-columns:78px minmax(0,1fr);gap:12px;padding:17px 0}.epc-item-image{height:78px;width:78px}.epc-item-name{font-size:13px}.epc-digital{font-size:10px;margin-top:6px}.epc-item-price{font-size:14px}.epc-items-footer{padding:16px 18px}.epc-items-footer>span{display:none}.epc-summary{padding:20px}.epc-summary-total>strong{font-size:25px}.epc-info{grid-template-columns:1fr}}

/* 0.1.1 — same shared header as EduPassion Shop and Homepage. */
body.woocommerce-cart.epc-shared-header-page #masthead {display:none!important}
body.woocommerce-cart.epc-shared-header-page .epc-header-wrap {position:sticky;top:0;z-index:900;width:100%;background:#fff}
body.woocommerce-cart.epc-shared-header-page .epc-header-wrap>.eph-custom-header {position:relative!important;top:auto!important}
@media(min-width:783px){body.admin-bar.woocommerce-cart.epc-shared-header-page .epc-header-wrap{top:32px}}
@media(max-width:782px){body.admin-bar.woocommerce-cart.epc-shared-header-page .epc-header-wrap{top:46px}}

/* Product rows: image | name and price together | prominent remove button.
   Deliberately stronger than Astra's WooCommerce cart selectors. */
body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr) 170px!important;
  gap:18px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:21px 0!important;
  float:none!important;
  clear:both!important;
  text-align:left!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {
  display:flex!important;
  width:104px!important;
  height:104px!important;
  min-width:0!important;
  max-width:104px!important;
  margin:0!important;
  padding:6px!important;
  align-items:center!important;
  justify-content:center!important;
  float:none!important;
  grid-column:1;
}
body.woocommerce-cart .epc-cart .epc-item-image img {
  display:block!important;
  position:static!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  margin:0!important;
  float:none!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  float:none!important;
  text-align:left!important;
  grid-column:2;
}
body.woocommerce-cart .epc-cart .epc-item-name {
  display:block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:left!important;
}
body.woocommerce-cart .epc-cart .epc-item-info > .epc-item-price {
  display:block!important;
  position:static!important;
  width:auto!important;
  margin:9px 0 0!important;
  padding:0!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.3!important;
  white-space:normal!important;
  text-align:left!important;
  float:none!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
  display:block!important;
  grid-column:3;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  border:1px solid #e7b9b9!important;
  border-radius:11px!important;
  background:#fff7f7!important;
  color:#a53f43!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:850!important;
  text-align:center!important;
  text-transform:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove:hover,
body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove:focus-visible {
  border-color:#bb6164!important;
  background:#fce9e9!important;
  color:#922e32!important;
}
@media(max-width:980px){
 body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {grid-template-columns:84px minmax(0,1fr)!important;gap:12px!important}
 body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {width:84px!important;height:84px!important;max-width:84px!important}
 body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {grid-column:2;grid-row:2;width:max-content!important;max-width:100%!important}
 body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {padding:9px 16px!important;min-height:42px!important}
}
@media(max-width:480px){
 body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {grid-template-columns:77px minmax(0,1fr)!important;gap:10px!important;padding:17px 0!important}
 body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {width:77px!important;height:77px!important;max-width:77px!important}
 body.woocommerce-cart .epc-cart .epc-item-name {font-size:13px!important}
 body.woocommerce-cart .epc-cart .epc-item-info > .epc-item-price {font-size:16px!important;margin-top:6px!important}
 body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {grid-column:2;grid-row:2;width:100%!important}
 body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {width:100%!important}
}


/* 0.1.2: Full-bleed, full-height image on the RIGHT edge of each product bar.
   Explicit grid areas prevent Astra/WooCommerce rules from forcing elements to a second row.
   These rules intentionally follow 0.1.1 for CSS cascade precedence. */
body.woocommerce-cart .epc-cart .epc-items-list {
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:20px 22px!important;
  margin:0!important;
}
body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
  display:grid!important;
  grid-template-areas:'details remove photo'!important;
  grid-template-columns:minmax(0,1fr) 146px 146px!important;
  grid-template-rows:minmax(146px,auto)!important;
  align-items:stretch!important;
  gap:0!important;
  position:relative!important;
  min-width:0!important;
  width:100%!important;
  min-height:146px!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #e4ebe8!important;
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:0 3px 12px rgba(38,101,112,.035)!important;
  float:none!important;
  clear:both!important;
  text-align:left!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
  grid-area:details!important;
  grid-column:auto!important;
  grid-row:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:18px 14px 18px 20px!important;
}
body.woocommerce-cart .epc-cart .epc-item-info > .epc-item-price {
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1.3!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
  grid-area:remove!important;
  grid-column:auto!important;
  grid-row:auto!important;
  align-self:center!important;
  justify-self:stretch!important;
  display:block!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:0 10px!important;
  margin:0!important;
}
body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
  width:100%!important;
  min-height:44px!important;
  padding:10px 7px!important;
  white-space:normal!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {
  grid-area:photo!important;
  grid-column:auto!important;
  grid-row:auto!important;
  position:relative!important;
  justify-self:stretch!important;
  align-self:stretch!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0 15px 15px 0!important;
  overflow:hidden!important;
  background:#f3f7f6!important;
  float:none!important;
}
body.woocommerce-cart .epc-cart .epc-item-image > img,
body.woocommerce-cart .epc-cart .epc-item-image > picture,
body.woocommerce-cart .epc-cart .epc-item-image picture > img {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:0 15px 15px 0!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important;
  float:none!important;
}
@media (max-width:1100px) and (min-width:761px) {
  body.woocommerce-cart .epc-cart .epc-items-list {padding:15px!important;gap:10px!important}
  body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
    grid-template-areas:'details photo' 'remove photo'!important;
    grid-template-columns:minmax(0,1fr) 126px!important;
    grid-template-rows:minmax(74px,1fr) auto!important;
    min-height:134px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {padding:12px 10px 3px 14px!important;justify-content:end!important}
  body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {padding:7px 12px 12px 14px!important;justify-self:start!important;width:100%!important}
  body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {width:100%!important;min-height:35px!important;padding:7px!important;font-size:11px!important}
}
@media (max-width:760px) {
  body.woocommerce-cart .epc-cart .epc-items-list {padding:12px!important;gap:10px!important}
  body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
    grid-template-areas:'details photo' 'remove photo'!important;
    grid-template-columns:minmax(0,1fr) min(31vw,136px)!important;
    grid-template-rows:minmax(79px,1fr) auto!important;
    min-height:144px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
    padding:15px 12px 2px 15px!important;
    justify-content:center!important;
    gap:5px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
    padding:5px 12px 13px 15px!important;
    justify-self:stretch!important;
    width:100%!important;
  }
  body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
    width:100%!important;
    min-height:34px!important;
    padding:7px 5px!important;
    font-size:10.5px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item-name {font-size:13px!important;line-height:1.3!important}
  body.woocommerce-cart .epc-cart .epc-item-info > .epc-item-price {font-size:15px!important}
}


/* 0.1.3: Uklad zgodny z makieta uzytkownika (obraz LEWO, nazwa+cena SRODEK,
   przycisk usuwania PRAWO). Miniatura wypelnia caly wiersz i jest zaokraglona
   na prawej krawedzi. Ta sekcja nadpisuje dawny eksperymentalny uklad 0.1.2. */
body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
  grid-template-areas:'photo details remove'!important;
  grid-template-columns:minmax(180px,45%) minmax(0,1fr) 155px!important;
  grid-template-rows:minmax(188px,auto)!important;
  min-height:188px!important;
  height:auto!important;
  align-items:stretch!important;
  padding:0!important;
  gap:0!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {
  grid-area:photo!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  min-width:0!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
  border-radius:0 15px 15px 0!important;
  position:relative!important;
}
body.woocommerce-cart .epc-cart .epc-item-image > img,
body.woocommerce-cart .epc-cart .epc-item-image > picture,
body.woocommerce-cart .epc-cart .epc-item-image picture > img {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  border-radius:0 15px 15px 0!important;
  padding:0!important;
  margin:0!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
  grid-area:details!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:stretch!important;
  justify-content:center!important;
  padding:18px 12px 18px 24px!important;
  gap:12px!important;
}
body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
  grid-area:remove!important;
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:stretch!important;
  padding:0 18px 0 5px!important;
  margin:0!important;
  width:100%!important;
}
body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
  width:100%!important;
  min-height:45px!important;
  padding:10px 8px!important;
  font-size:11px!important;
  white-space:normal!important;
}
@media (max-width:1100px) {
  body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
    grid-template-areas:'photo details' 'photo remove'!important;
    grid-template-columns:minmax(0,43%) minmax(0,1fr)!important;
    grid-template-rows:minmax(95px,1fr) auto!important;
    min-height:166px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {
    grid-column:1!important;
    grid-row:1 / 3!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
    grid-column:2!important;
    grid-row:1!important;
    justify-content:end!important;
    padding:16px 12px 4px 16px!important;
    gap:7px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
    grid-column:2!important;
    grid-row:2!important;
    align-self:start!important;
    justify-self:start!important;
    padding:10px 12px 15px 16px!important;
    width:100%!important;
  }
  body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
    min-height:38px!important;
    width:100%!important;
  }
}
@media (max-width:480px) {
  body.woocommerce-cart .epc-cart .epc-items-list {padding:11px!important;gap:10px!important}
  body.woocommerce-cart .epc-cart .epc-items-list > .epc-item {
    grid-template-columns:minmax(0,40%) minmax(0,1fr)!important;
    min-height:150px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-item-info {
    padding:12px 10px 1px 12px!important;
    gap:6px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item > .epc-remove-form {
    padding:8px 10px 12px 12px!important;
  }
  body.woocommerce-cart .epc-cart .epc-remove-form > .epc-remove {
    min-height:35px!important;
    font-size:10px!important;
    padding:7px 4px!important;
  }
  body.woocommerce-cart .epc-cart .epc-item-name {font-size:12px!important;line-height:1.35!important}
  body.woocommerce-cart .epc-cart .epc-item-info > .epc-item-price {font-size:15px!important}
}


/* 0.1.4 — proporcje oryginalnej fotografii i czysty nagłówek koszyka. */
/* Używamy oryginalnej proporcji 3:2: ani góra, ani dół zdjęcia nie są obcinane.
   Węższy/wysoki kafelek może mieć niewielki pas neutralnego tła po bokach. */
body.woocommerce-cart .epc-cart .epc-item > .epc-item-image {
  background:#f4f7f6!important;
  border-radius:0 15px 15px 0!important;
}
body.woocommerce-cart .epc-cart .epc-item-image > img,
body.woocommerce-cart .epc-cart .epc-item-image > picture,
body.woocommerce-cart .epc-cart .epc-item-image picture > img {
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:0!important;
}
/* Zostawiamy tylko wspólny nagłówek EduPassion. Nie wyłączamy breadcrumbs
   globalnie w motywie i nie dotykamy innych stron sklepu. */
body.woocommerce-cart.epc-shared-header-page #ast-fixed-header,
body.woocommerce-cart.epc-shared-header-page .ast-sticky-header-placeholder,
body.woocommerce-cart.epc-shared-header-page #masthead,
body.woocommerce-cart.epc-shared-header-page .site-header {
  display:none!important;
}
body.woocommerce-cart.epc-shared-header-page .epc-header-wrap {
  z-index:1000!important;
  isolation:isolate;
}
body.woocommerce-cart .ast-breadcrumbs-wrapper,
body.woocommerce-cart .ast-breadcrumbs,
body.woocommerce-cart .ast-breadcrumbs-header,
body.woocommerce-cart .ast-page-header-wrap,
body.woocommerce-cart .woocommerce-breadcrumb,
body.woocommerce-cart .epc-breadcrumb {
  display:none!important;
}
/* Zapobiega pustej belce lub odstępowi pod podmienionym nagłówkiem Astry. */
body.woocommerce-cart.epc-shared-header-page #page {
  margin-top:0!important;
  padding-top:0!important;
}

/* 0.1.8 — desktop: the cart title must not slip under the shared sticky header.
   We add space inside the cart content, without moving the shared header itself. */
@media (min-width: 761px) {
  body.woocommerce-cart.epc-shared-header-page .epc-cart {
    padding-top: 80px!important;
  }
}
