
/* GAYA – nowy layout koszyka 1:1 do makiety */

body.woocommerce-cart,
body.woocommerce-cart .site {
    background: #FAFAFA !important;
}

.gaya-cart {
    max-width: 1280px;
    margin: 60px auto 80px;
    padding: 0 20px;
    font-size: 14px;
}

.gaya-cart__header {
    margin-bottom: 32px;
}

.gaya-cart__title {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.72px;
    color: #2e2e2e;
}

.gaya-cart__subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.gaya-cart__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 400px;
    gap: 40px;
}

.gaya-cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gaya-cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    padding: 25px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.1);
}

.gaya-cart-item__image-box {
    width: 172px;
    height: 172px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.gaya-cart-item__image-box img {
    max-width: 140px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gaya-cart-item__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 176px;
}

.gaya-cart-item__header {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gaya-cart-item__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.18px;
}

.gaya-cart-item__title a {
    color: #0a0a0a;
    text-decoration: none;
}

.gaya-cart-item__title a:hover {
    text-decoration: underline;
}

.gaya-cart-item__variant {
    margin-top: 0;
    font-size: 16px;
    font-weight: 400;
    color: #737373;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

.gaya-cart-item__price {
    font-weight: 400;
    white-space: nowrap;
    text-align: right;
}

.gaya-cart-item__price-old {
    text-decoration: line-through;
    color: #919191;
    font-size: 18px;
    margin-right: 8px;
}

.gaya-cart-item__price-current {
    font-size: 18px;
    color: #0a0a0a;
}

.gaya-cart-item__price-sub {
    display: block;
    font-size: 14px;
    color: #0a0a0a;
    margin-top: 2px;
    letter-spacing: -0.44px;
}

.gaya-cart-item__footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gaya-cart-item__qty {
    flex: 0 0 auto;
}

.gaya-cart-item__subtotal {
    margin-left: auto;
    font-weight: 400;
    text-align: right;
}

.gaya-cart-item__remove {
    margin-top: 0;
}

.woocommerce .gaya-cart-item .gaya-cart-item__remove-link,
.woocommerce .gaya-cart-item a.remove.gaya-cart-item__remove-link {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: none !important;
    font-size: 12px !important;
    font-weight: 400;
    color: #a1a1a1 !important;
    text-decoration: none !important;
    line-height: 16px;
    white-space: nowrap;
}

.woocommerce .gaya-cart-item .gaya-cart-item__remove-link:hover,
.woocommerce .gaya-cart-item a.remove.gaya-cart-item__remove-link:hover {
    color: #555 !important;
    background: none !important;
}

.gaya-cart__total-inline {
    display: none;
}

.gaya-cart__actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gaya-cart__coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gaya-cart__coupon .input-text {
    min-width: 200px;
}

.gaya-cart__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.gaya-cart__summary-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
}

.gaya-cart-totals {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px 24px 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}

.gaya-cart-totals__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.gaya-cart-totals__row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.gaya-cart-totals__label {
    color: #666;
}

.gaya-cart-totals__value {
    font-weight: 500;
}

.gaya-cart-totals__value--bold {
    font-size: 18px;
    font-weight: 700;
}

.gaya-cart-totals__points {
    margin: 8px 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F1FFF4;
    border: 1px solid #C6EFD0;
}

.gaya-cart-totals__points-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.gaya-cart-totals__value-sub {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    color: #2c7a3f;
}

.gaya-cart-totals__points-actions {
    margin-top: 4px;
}

.gaya-cart-totals__points-input {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.gaya-cart-totals__points-input input[type="number"] {
    width: 80px;
}

.gaya-cart-totals__discount {
    margin-bottom: 14px;
}

.gaya-cart-totals__discount .input-text {
    width: 100%;
}

.gaya-cart-totals__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.gaya-cart-totals__checkout .checkout-button {
    width: 100%;
    border-radius: 999px;
    background: #000;
    padding: 14px 18px;
    font-weight: 600;
}

.gaya-cart-totals__badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.gaya-cart-totals__badge::before {
    content: "• ";
}

.gaya-cross-sells {
    max-width: 1160px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.gaya-cross-sells__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.gaya-cross-sells__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.gaya-cross-sells__item {
    text-align: center;
}

/* === Pusty koszyk === */
.gaya-cart--empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.gaya-cart-empty {
    text-align: center;
    max-width: 400px;
}

.gaya-cart-empty__icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.gaya-cart-empty__title {
    font-size: 24px;
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 8px;
    letter-spacing: -0.24px;
}

.gaya-cart-empty__text {
    font-size: 15px;
    color: #737373;
    margin: 0 0 28px;
    line-height: 22px;
}

.gaya-cart-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: 34px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.15s ease;
}

.gaya-cart-empty__btn:hover {
    opacity: 0.85;
    color: #fff;
}

@media (max-width: 960px) {
    .gaya-cart__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gaya-cart__summary {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .gaya-cart-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .gaya-cart-item__image-box {
        width: 120px;
        height: 120px;
    }

    .gaya-cart-item__image-box img {
        max-width: 100px;
        max-height: 110px;
    }

    .gaya-cart-item__content {
        min-height: auto;
    }

    .gaya-cart {
        margin-top: 32px;
    }
}

/* === POPRAWKI 1:1 DO MAKIETY === */

/* Ukryj legacy przyciski Woo (nie ma ich w makiecie) */
.gaya-cart__buttons--hidden {
    display: none;
}

/* Karta – border-radius z Figma */
.gaya-cart-item {
    border-radius: 16px;
}

/* Ilość – trzy oddzielne kółka: minus, liczba, plus */
.gaya-cart-item__qty .quantity {
    display: inline-flex !important;
    align-items: center;
    gap: 16px;
    border: none !important;
    border-radius: 0;
    overflow: visible;
    width: auto !important;
    max-width: fit-content;
}

.gaya-cart-item__qty .qty {
    border: none !important;
    width: 32px !important;
    min-width: 32px;
    max-width: 32px;
    flex: 0 0 32px;
    text-align: center;
    padding: 0 !important;
    font-size: 16px;
    font-weight: 400;
    background: transparent !important;
    color: #0a0a0a;
    letter-spacing: -0.3125px;
    -moz-appearance: textfield;
}
.gaya-cart-item__qty .qty::-webkit-inner-spin-button,
.gaya-cart-item__qty .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gaya-cart-item__qty .quantity label {
    display: none !important;
}

/* Okrągłe przyciski +/- jak w makiecie Figma */
.gaya-qty-btn {
    border-radius: 999px;
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    color: #111111;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.gaya-qty-btn:hover {
    border-color: #111111;
}

/* Usuń kapsułkowe obramowanie po staremu */
.gaya-cart-item__qty .quantity::before,
.gaya-cart-item__qty .quantity::after {
    display: none;
}

/* Prawy panel – tytuł w .gaya-summary-card__title */

/* Niebieskie Woo przyciski pod listą – na wszelki wypadek */
.woocommerce-cart .gaya-cart__actions .button {
    border-radius: 8px;
}
/* ==== PRAWY PANEL – 1:1 Z MAKIETY ==== */

.gaya-summary-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 14px;
}

.gaya-summary-card__title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 32px;
    letter-spacing: -0.24px;
    color: #0a0a0a;
}

.gaya-summary-card__divider {
    height: 1px;
    background: #EDEDED;
    margin-bottom: 16px;
}

.gaya-summary-card__divider--spaced {
    margin: 18px 0;
}

.gaya-summary-card__rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gaya-summary-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.gaya-summary-card__label {
    color: #525252;
    letter-spacing: -0.14px;
}

.gaya-summary-card__value {
    font-weight: 400;
    color: #0a0a0a;
    letter-spacing: -0.14px;
}

/* Blok EkoPunktów */

.gaya-summary-card__points {
    margin-top: 14px;
    padding: 16px;
    border-radius: 10px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gaya-summary-card__points-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00a63e;
    font-weight: 600;
}

.gaya-summary-card__points-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #00a63e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.gaya-summary-card__points-right {
    text-align: right;
}

.gaya-summary-card__points-value {
    display: block;
    color: #00a63e;
    font-weight: 600;
}

.gaya-summary-card__points-money {
    display: block;
    font-size: 12px;
    color: #00a63e;
}

/* Pola "Wykorzystaj ekopunkty" / "Kod rabatowy" */

.gaya-summary-card__field {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gaya-summary-card__field .gaya-summary-card__label {
    flex: 0 0 auto;
}

.gaya-summary-card__input {
    flex: 0 0 170px;
    text-align: right;
}

.gaya-summary-card__input input[type="text"],
.gaya-summary-card__input input[type="number"] {
    width: 100%;
    border-radius: 8px;
    background: #f3f3f5;
    border: 1px solid transparent;
    padding: 6px 10px;
    font-size: 13px;
    color: #0a0a0a;
    letter-spacing: -0.14px;
}

.gaya-summary-card__input input::placeholder {
    color: #717182;
}

.gaya-summary-card__input--with-btn {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gaya-summary-card__input--with-btn input[type="text"] {
    flex: 1;
    min-width: 0;
}

.gaya-coupon-apply-btn {
    flex: 0 0 auto;
    background: #0a0a0a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.13px;
    box-shadow: none !important;
}

.gaya-coupon-apply-btn:hover {
    background: #333 !important;
}

.gaya-summary-card__field:has(.gaya-coupon-msg) {
    flex-wrap: wrap;
}
.gaya-coupon-msg {
    display: none;
    flex: 0 0 100%;
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    font-family: 'Aspekta', sans-serif;
    letter-spacing: -0.13px;
}
.gaya-coupon-msg.is-success {
    background: #e8f5e9;
    color: #2e7d32;
}
.gaya-coupon-msg.is-error {
    background: #fbe9e7;
    color: #c62828;
}

/* Applied coupons */
.gaya-applied-coupons {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gaya-applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f3f3f5;
    border-radius: 8px;
    padding: 8px 12px;
}
.gaya-applied-coupon__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: -0.13px;
}
.gaya-applied-coupon__code {
    font-weight: 600;
    color: #0a0a0a;
}
.gaya-applied-coupon__discount {
    color: #2e7d32;
    font-weight: 500;
}
.gaya-applied-coupon__remove {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0e0e0;
    color: #555;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.15s;
}
.gaya-applied-coupon__remove:hover {
    background: #c62828;
    color: #fff;
}

/* Checkout styles moved to gaya-checkout.css */

body.woocommerce-checkout {
    background: #FAFAFA;
}

.gaya-checkout {
    max-width: 1290px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

/* === GAYA – darmowa dostawa: pasek progresu (koszyk / checkout summary) === */
.gaya-summary-card__free{
  margin: 14px 0 8px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.06);
}
.gaya-summary-card__free-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  margin-bottom:8px;
}
.gaya-summary-card__free-title{
  font-weight:600;
  font-size:13px;
}
.gaya-summary-card__free-meta{
  font-size:12px;
  opacity:.7;
}
.gaya-summary-card__free-bar{
  height:10px;
  border-radius:999px;
  background: rgba(0,0,0,.06);
  overflow:hidden;
}
.gaya-summary-card__free-fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
}
.gaya-summary-card__free-bar.is-red .gaya-summary-card__free-fill{ background:#ff4d4d; }
.gaya-summary-card__free-bar.is-green .gaya-summary-card__free-fill{ background:#26b36b; }
.gaya-summary-card__free-note{
  margin-top:8px;
  font-size:12px;
  opacity:.85;
}

/* === GAYA – ikony w badge'ach pod przyciskiem === */
.gaya-summary-card__badges{
  display:flex;
  gap:38px;
  margin-top:12px;
  margin-bottom:16px;
  align-items: center;
}
.gaya-summary-card__checkout{
    margin: 16px 0;
}
.gaya-summary-card__checkout-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 34px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.15px;
    white-space: nowrap;
    width: 100%;
    transition: opacity 0.15s ease;
}
.gaya-summary-card__checkout-btn:hover{
    opacity: 0.85;
    color: #fff;
}
.gaya-summary-card__badge{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:#6b6b6b;
}
.gaya-summary-card__badge-icon{
  width:18px;
  height:18px;
  display:inline-block;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  flex:0 0 18px;
}
.gaya-summary-card__badge-icon--box{
  background-image: url('../img/paczka.png');
}
.gaya-summary-card__badge-icon--clock{
  background-image: url('../img/zegar.png');
}

/* === GAYA – tooltip EkoPunkty === */
.gaya-summary-card__points{
  position:relative;
}
.gaya-summary-card__points-icon{
  cursor:pointer;
  background:transparent;
  border:none;
  padding:0;
  margin:0;
  width:18px;
  height:18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #00a63e;
  outline:none;
}
.gaya-summary-card__points-icon img{
  width:12px;
  height:12px;
  display:block;
}
.gaya-summary-card__points-tooltip{
  position:absolute;
  left:12px;
  top:100%;
  margin-top:8px;
  width:min(280px, calc(100% - 24px));
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:12px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display:none;
  z-index:50;
}
.gaya-summary-card__points-tooltip.is-open{ display:block; }
.gaya-summary-card__points-tooltipTitle{
  font-weight:600;
  font-size:13px;
  margin-bottom:10px;
}
.gaya-summary-card__points-tooltipRow{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#444;
  margin-top:8px;
  float: left !important;
}
.gaya-summary-card__points-tooltipRow img{
  width:16px;
  height:16px;
  display:block;
}

/* =========================
   GAYA – Refill block (1:1)
   ========================= */

section.gaya-refill{
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
}

section.gaya-refill[aria-label]{
  padding: 0;
}

.gaya-refill__list{
  display: grid;
  gap: 0;
}

/* pojedynczy wiersz */
.gaya-refill-item{
  padding: 17px 17px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.gaya-refill-item:last-child{ border-bottom: 0; }

/* górny pasek: checkbox + pill */
.gaya-refill-item__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* lewa strona headera: checkbox + label */
.gaya-refill-item__headLeft{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #2e2e2e;
  letter-spacing: -0.15px;
  cursor: pointer;
}

/* checkbox (w label) */
.gaya-refill-item__headLeft input[type="checkbox"]{
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: #000;
}

/* pill po prawej */
.gaya-refill-item__badge{
  display:inline-flex;
  align-items:center;
  padding: 4px 12px;
  border-radius: 38px;
  background: #2e2e2e;
  color:#fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* body = grid jak na makiecie */
.gaya-refill-item__body{
  display:flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px 17px;
}

/* obrazek */
.gaya-refill-item__img{
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 80px;
}
.gaya-refill-item__img img{
  max-width: 60px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  display:block;
}

/* tytuł + opis */
.gaya-refill-item__meta{
  min-width: 0;
  flex: 1 1 auto;
}
.gaya-refill-item__name{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #2e2e2e;
  letter-spacing: -0.44px;
}
.gaya-refill-item__sub{
  font-size: 14px;
  font-weight: 350;
  line-height: 1.2;
  color: #737373;
  margin-top: 2px;
}

/* ilość (środek) */
.gaya-refill-item__qtyText{
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #6c6c6c;
  white-space: nowrap;
  letter-spacing: -0.3125px;
}

/* cena (prawa kolumna) */
.gaya-refill-item__price{
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  color: #2e2e2e;
  white-space: nowrap;
  letter-spacing: -0.3125px;
}

/* Mobile 1 kolumna jak na makiecie */
@media (max-width: 640px){
  .gaya-refill-item__body{
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "thumb meta"
      "qty price";
    align-items: start;
  }
  .gaya-refill-item__thumb,
  .gaya-refill-item__body img{ width:56px; height:56px; border-radius: 12px; }

  .gaya-refill-item__meta{ grid-area: meta; }
  .gaya-refill-item__qty{
    grid-area: qty;
    text-align:left;
    margin-top: 8px;
  }
  .gaya-refill-item__price{
    grid-area: price;
    text-align:right;
    margin-top: 8px;
  }
}

/* jeśli Twój HTML nie ma klas meta/title/sub/qty/price – mapowanie fallback po strukturze */
.gaya-refill-item__body .gaya-refill-item__meta,
.gaya-refill-item__body .meta{ }

/* ===============================================
   MOBILE ≤768px — edge-to-edge + poprawki layoutu
   Nie zmienia nic na desktopie.
   =============================================== */
@media (max-width: 768px) {

  /* --- Wrapper: pełna szerokość --- */
  .gaya-cart {
    padding: 0;
    margin: 20px 0 40px;
  }
  .gaya-cart__header {
    padding: 0 16px;
    margin-bottom: 16px;
  }
  .gaya-cart__title {
    font-size: 26px;
  }
  .gaya-cart__grid {
    gap: 12px;
  }

  /* --- Produkty: edge-to-edge, 2-kolumny (obraz + treść) --- */
  .gaya-cart-items {
    gap: 0;
  }
  .gaya-cart-item {
    grid-template-columns: 90px minmax(0, 1fr);
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 16px;
    gap: 14px;
  }
  .gaya-cart-item + .gaya-cart-item {
    border-top: none;
  }
  .gaya-cart-item__image-box {
    width: 90px;
    height: 90px;
    border-radius: 10px;
  }
  .gaya-cart-item__image-box img {
    max-width: 70px;
    max-height: 80px;
  }
  .gaya-cart-item__content {
    min-height: auto;
    gap: 8px;
  }
  .gaya-cart-item__title {
    font-size: 15px;
    line-height: 20px;
  }
  .gaya-cart-item__variant {
    font-size: 13px;
    line-height: 18px;
  }
  .gaya-cart-item__footer {
    gap: 10px;
    flex-wrap: wrap;
  }
  .gaya-qty-btn {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .gaya-cart-item__qty .quantity {
    gap: 10px;
  }
  .gaya-cart-item__qty .qty {
    width: 24px !important;
    min-width: 24px;
    max-width: 24px;
    flex: 0 0 24px;
    font-size: 14px;
  }
  .gaya-cart-item__price-current,
  .gaya-cart-item__price-old {
    font-size: 15px;
  }
  .gaya-cart-item__price-sub {
    font-size: 12px;
  }

  /* --- Refill / uzupełnienia: edge-to-edge --- */
  section.gaya-refill {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-top: 0;
  }
  .gaya-refill-item {
    padding: 12px 16px 0;
  }
  .gaya-refill-item__head {
    gap: 6px;
    margin-bottom: 6px;
  }
  .gaya-refill-item__headLeft {
    font-size: 11px;
    gap: 6px;
  }
  .gaya-refill-item__headLeft input[type="checkbox"] {
    width: 15px;
    height: 15px;
  }
  .gaya-refill-item__badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .gaya-refill-item__body {
    display: flex;
    gap: 10px;
    padding: 0 0 12px;
  }
  .gaya-refill-item__img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 8px;
  }
  .gaya-refill-item__img img {
    max-width: 42px;
    max-height: 48px;
  }
  .gaya-refill-item__name {
    font-size: 13px;
  }
  .gaya-refill-item__sub {
    font-size: 12px;
  }
  .gaya-refill-item__qtyText {
    font-size: 12px;
  }
  .gaya-refill-item__price {
    font-size: 14px;
    flex: 0 0 auto;
  }

  /* --- Summary card: edge-to-edge --- */
  .gaya-summary-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 20px 16px 24px;
  }
  .gaya-cart-totals {
    box-shadow: none;
  }
  .gaya-summary-card__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  /* Rows */
  .gaya-summary-card__rows {
    gap: 8px;
  }
  .gaya-summary-card__row {
    font-size: 14px;
  }

  /* Free shipping bar */
  .gaya-summary-card__free {
    border-radius: 10px;
    padding: 10px 12px 8px;
    margin: 12px 0 6px;
  }
  .gaya-summary-card__free-title {
    font-size: 12px;
  }
  .gaya-summary-card__free-meta {
    font-size: 11px;
  }
  .gaya-summary-card__free-note {
    font-size: 11px;
  }

  /* EkoPunkty */
  .gaya-summary-card__points {
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
  }
  .gaya-summary-card__points-left {
    font-size: 13px;
    gap: 5px;
  }
  .gaya-summary-card__points-value {
    font-size: 14px;
  }
  .gaya-summary-card__points-money {
    font-size: 11px;
  }
  .gaya-summary-card__points-tooltip {
    left: 0;
    right: 0;
    width: auto;
  }

  /* Pola: label nad inputem, full width */
  .gaya-summary-card__field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 12px;
  }
  .gaya-summary-card__label {
    font-size: 13px;
  }
  .gaya-summary-card__input {
    flex: 1 1 auto;
  }
  .gaya-summary-card__input input[type="text"],
  .gaya-summary-card__input input[type="number"] {
    width: 100%;
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 10px;
  }
  .gaya-coupon-apply-btn {
    padding: 11px 18px;
    font-size: 13px;
    border-radius: 10px;
  }

  /* Applied coupons */
  .gaya-applied-coupon {
    padding: 10px 12px;
  }
  .gaya-applied-coupon__info {
    font-size: 13px;
  }

  /* Total */
  .gaya-summary-card__divider--spaced {
    margin: 14px 0;
  }

  /* Checkout button — wyższy na mobile */
  .gaya-summary-card__checkout {
    margin: 14px 0;
  }
  .gaya-summary-card__checkout-btn {
    height: 52px;
    font-size: 15px;
    border-radius: 28px;
  }

  /* Badges */
  .gaya-summary-card__badges {
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .gaya-summary-card__badge {
    font-size: 11px;
    gap: 8px;
  }

  /* Payment icons */
  .gaya-summary-card__payments {
    margin-top: 4px;
  }
  .gaya-summary-card__payments-label {
    font-size: 12px;
  }
}
