/* Székelykosár v0.13.6 – cache-busted cart layout hotfix */
.cart-page .cart-table {
  width: 100%;
  border-top: 1px solid var(--line, #e5e7df);
}
.cart-page .cart-head,
.cart-page .cart-row {
  display: grid !important;
  grid-template-columns: minmax(260px, 2fr) minmax(100px, .72fr) minmax(150px, .95fr) minmax(105px, .72fr) 42px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 16px;
}
.cart-page .cart-head {
  min-height: 46px;
  color: var(--muted, #788078);
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid var(--line, #e5e7df);
}
.cart-page .cart-row {
  min-height: 110px;
  border-bottom: 1px solid var(--line, #e5e7df);
  transition: opacity .18s ease, background .18s ease;
}
.cart-page .cart-row > * { min-width: 0; }
.cart-page .cart-product {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.cart-page .cart-product-image {
  display: grid !important;
  place-items: center;
  flex: 0 0 82px !important;
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  border: 1px solid var(--line, #e5e7df);
  border-radius: 9px;
  background: #f7f6f0;
  color: var(--olive, #7f8b5b);
}
.cart-page .cart-product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 5px;
  object-fit: contain !important;
}
.cart-page .cart-product-image span { font: 32px Georgia, serif; }
.cart-page .cart-product-info { min-width: 0; }
.cart-page .cart-product-info strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}
.cart-page .cart-product-info small {
  display: block;
  margin-top: 4px;
  color: var(--muted, #788078);
  font-size: 10px;
}
.cart-page .cart-unit-price,
.cart-page .cart-line-total {
  display: block;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cart-page .cart-line-total { font-weight: 700; }
.cart-page .cart-quantity-cell {
  display: flex !important;
  align-items: center;
  min-width: 0;
}
.cart-page .cart-qty-control {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid #dce0d7;
  border-radius: 8px;
  background: #fff;
}
.cart-page .cart-qty-button {
  display: inline-grid !important;
  flex: 0 0 34px !important;
  place-items: center;
  width: 34px !important;
  min-width: 34px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f6f0;
  color: var(--green, #314c3c);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cart-page .cart-qty-button:hover { background: #e9ede5; }
.cart-page .cart-qty-control input {
  display: block !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  border: 0 !important;
  border-right: 1px solid var(--line, #e5e7df) !important;
  border-left: 1px solid var(--line, #e5e7df) !important;
  border-radius: 0 !important;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #25332b);
  background: #fff;
  appearance: textfield;
  -moz-appearance: textfield;
}
.cart-page .cart-qty-control input::-webkit-outer-spin-button,
.cart-page .cart-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-page .cart-remove {
  display: grid !important;
  flex: 0 0 34px !important;
  place-items: center;
  justify-self: end;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--line, #e5e7df) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #8b5a4d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cart-page .cart-remove:hover {
  border-color: #d9b9ae !important;
  background: #fff5f1 !important;
}
.cart-page .cart-row.is-updating { opacity: .58; background: #fafaf6; }
.cart-page .cart-row button:disabled,
.cart-page .cart-row input:disabled { cursor: wait; }
.cart-page .cart-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line, #e5e7df);
}
.cart-page .cart-status { color: var(--muted, #788078); font-size: 11px; }
.cart-page .cart-status.is-success { color: var(--green2, #49664f); }
.cart-page .cart-status.is-error { color: #9a3d2d; }
.js .cart-page .cart-manual-update { display: none !important; }
.cart-page .cart-summary { max-width: 430px; margin: 25px 0 0 auto; padding-top: 4px; text-align: right; }
.cart-page .cart-summary .cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line, #e5e7df);
  font-size: 15px;
}
.cart-page .cart-summary .cart-subtotal-row strong {
  color: var(--green, #314c3c);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}
.cart-page .cart-checkout-note { margin: 18px 0 20px; line-height: 1.5; }
.cart-page .cart-checkout-button { min-width: 220px; }
.cart-page .cart-content[hidden],
.cart-page .cart-empty-state[hidden] { display: none !important; }

@media (max-width: 900px) and (min-width: 761px) {
  .cart-page .cart-head,
  .cart-page .cart-row {
    grid-template-columns: minmax(210px, 1.7fr) minmax(85px, .65fr) minmax(135px, .9fr) minmax(90px, .65fr) 38px;
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .cart-page .cart-product-image {
    flex-basis: 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
}
@media (max-width: 760px) {
  .cart-page .cart-head { display: none !important; }
  .cart-page .cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 16px 8px;
  }
  .cart-page .cart-product { grid-column: 1 / -1; grid-row: 1; gap: 11px; }
  .cart-page .cart-product-image {
    flex-basis: 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
  .cart-page .cart-product-info strong { font-size: 13px; }
  .cart-page .cart-unit-price { grid-column: 1; grid-row: 2; align-self: center; }
  .cart-page .cart-quantity-cell { grid-column: 2; grid-row: 2; justify-self: end; }
  .cart-page .cart-line-total { grid-column: 1; grid-row: 3; align-self: center; }
  .cart-page .cart-remove { grid-column: 2; grid-row: 3; justify-self: end; }
  .cart-page .cart-unit-price::before,
  .cart-page .cart-quantity-cell::before,
  .cart-page .cart-line-total::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted, #788078);
    content: attr(data-label);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .cart-page .cart-qty-button { flex-basis: 32px !important; width: 32px !important; min-width: 32px !important; }
  .cart-page .cart-qty-control input { flex-basis: 42px !important; width: 42px !important; min-width: 42px !important; max-width: 42px !important; }
  .cart-page .cart-form-footer { align-items: flex-start; flex-direction: column; padding: 12px 4px; }
  .cart-page .cart-summary { max-width: none; margin: 20px 0 0; text-align: left; }
  .cart-page .cart-summary .cart-subtotal-row { font-size: 14px; }
  .cart-page .cart-checkout-button { width: 100%; }
}

/* v0.18.0 – free-shipping progress panel in the cart */
.cart-page .cart-free-shipping{width:100%;max-width:430px;margin:0 0 16px auto}
.cart-page .cart-free-shipping .free-shipping-message{margin:0 0 9px;font-size:13px;font-weight:700}
.cart-page .cart-free-shipping .free-shipping-track{height:9px;overflow:hidden;border-radius:99px;background:#e1e8dc}
.cart-page .cart-free-shipping .free-shipping-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#7b966f,#31543e);transition:width .2s ease}
@media(max-width:650px){.cart-page .cart-free-shipping{max-width:none}}
