/* Modern becsúszó kosár – Plantapont */
.gi-side-cart {
  width: min(420px, 100vw);
  padding: 0;
  box-shadow: -8px 0 32px rgba(23, 24, 28, 0.12);
}

.gi-side-cart .gi-cart-inner {
  height: 100%;
  min-height: 0;
}

.pp-side-cart-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
}

.pp-side-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e8ece9;
  flex-shrink: 0;
}

.pp-side-cart-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2e24;
}

.pp-side-cart-sub {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6b7c74;
}

.pp-side-cart-close {
  border: none;
  background: #f0f4f2;
  color: #4b5966;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.pp-side-cart-close:hover {
  background: #e2ebe6;
  color: #1a2e24;
}

.pp-side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  min-height: 0;
}

.pp-side-cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: #6b7c74;
}

.pp-side-cart-link {
  display: inline-block;
  margin-top: 12px;
  color: #2f7d60;
  font-weight: 600;
  text-decoration: none;
}

.pp-side-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-side-cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2ef;
}

.pp-side-cart-item:last-child {
  border-bottom: none;
}

.pp-side-cart-thumb {
  flex: 0 0 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7f6;
  border: 1px solid #e8ece9;
}

.pp-side-cart-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.pp-side-cart-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-side-cart-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2e24;
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pp-side-cart-name:hover {
  color: #2f7d60;
}

.pp-side-cart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.8rem;
  color: #6b7c74;
}

.pp-side-cart-unit {
  font-weight: 600;
  color: #4b5966;
}

.pp-side-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.pp-side-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e6de;
  border-radius: 8px;
  overflow: hidden;
  background: #fafcfb;
}

.pp-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #2f7d60;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.pp-qty-btn:hover {
  background: #e8f7f0;
}

.pp-qty-input {
  width: 52px;
  border: none;
  border-left: 1px solid #d8e6de;
  border-right: 1px solid #d8e6de;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2e24;
  background: #fff;
  padding: 6px 4px;
}

.pp-side-cart-line-total {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2e24;
  white-space: nowrap;
}

.pp-side-cart-remove {
  align-self: flex-start;
  border: none;
  background: none;
  color: #c0392b;
  font-size: 0.78rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.pp-side-cart-footer {
  flex-shrink: 0;
  padding: 14px 20px 20px;
  border-top: 1px solid #e8ece9;
  background: #f8fbf9;
}

.pp-side-cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #4b5966;
  margin-bottom: 6px;
}

.pp-side-cart-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d8e6de;
  font-size: 1rem;
}

.pp-side-cart-total strong {
  font-size: 1.15rem;
  color: #1a2e24;
}

.pp-side-cart-note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #6b7c74;
  line-height: 1.4;
}

.pp-side-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.pp-side-cart-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pp-side-cart-btn-outline {
  background: #fff;
  color: #2f7d60;
  border: 2px solid #5caf90;
}

.pp-side-cart-btn-outline:hover {
  background: #edf8f2;
  color: #1a6444;
}

.pp-side-cart-btn-primary {
  background: linear-gradient(135deg, #5caf90 0%, #2f7d60 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(47, 125, 96, 0.35);
}

.pp-side-cart-btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

@media (max-width: 480px) {
  .gi-side-cart {
    width: 100vw;
  }
}
