/* ==========================================================================
   RUSTEC™ E-COMMERCE NATIVE CART & CHECKOUT STYLES (HALLOWEEN + INPOST)
   ========================================================================== */

/* Pływający przycisk koszyka w navbarze */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid #ff6b00;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cart-btn:hover {
  background: #ff6b00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}
.cart-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 12px;
  padding: 2px 7px;
  line-height: 1;
}

/* Tło modalu / Drawer overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Wysuwany koszyk (Slide-out Drawer) */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #0f1523;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
}
.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
}
.cart-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: 0.5px;
}
.cart-close-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.cart-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Pasek darmowej dostawy InPost */
.free-shipping-bar {
  background: rgba(255, 107, 0, 0.08);
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
  padding: 12px 20px;
  font-size: 0.86rem;
  color: #d1d5db;
}
.free-shipping-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.free-shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b00, #10b981);
  width: 0%;
  transition: width 0.4s ease;
}

/* Lista produktów w koszyku */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cart-item-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-price { color: #ff6b00; font-weight: 700; font-size: 0.95rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.2s;
}
.qty-btn:hover { background: #ff6b00; border-color: #ff6b00; }
.qty-val { font-size: 0.92rem; font-weight: 700; min-width: 22px; text-align: center; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  font-size: 1.2rem;
}
.cart-item-remove:hover { color: #f87171; }

/* Sekcja Kodu Rabatowego w Koszyku */
.cart-promo-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin: 12px 20px;
}
.cart-promo-row {
  display: flex;
  gap: 8px;
}
.cart-promo-input {
  flex: 1;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.cart-promo-input:focus {
  outline: none;
  border-color: #ff6b00;
}
.cart-promo-btn {
  background: #ff6b00;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-promo-btn:hover { background: #ea580c; }
.cart-promo-msg {
  font-size: 0.82rem;
  margin-top: 6px;
  line-height: 1.35;
}
.cart-promo-msg.success { color: #10b981; font-weight: 600; }
.cart-promo-msg.error { color: #ef4444; font-weight: 500; }

/* Stopka koszyka */
.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d121d;
}
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 6px;
}
.cart-summary-line.discount {
  color: #10b981;
  font-weight: 700;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.cart-total-label { font-size: 1.05rem; font-weight: 700; color: #fff; }
.cart-total-val { font-size: 1.45rem; font-weight: 800; color: #ff6b00; }

.cart-checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 14px;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}
.cart-checkout-btn:hover {
  background: linear-gradient(135deg, #ff8a3d, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

/* ==========================================================================
   ONE-STEP CHECKOUT MODAL (INPOST + SZYBKI ZAKUP)
   ========================================================================== */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 680px;
  max-height: 90vh;
  background: #111827;
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 12px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}
.checkout-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.checkout-header {
  padding: 18px 24px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-badge-guest {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: sans-serif;
  font-weight: 600;
}
.checkout-body {
  overflow-y: auto;
  padding: 24px;
}

.checkout-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.12rem;
  color: #ff6b00;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-section-title:first-of-type { margin-top: 0; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
}
.form-control {
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: #ff6b00;
}

/* Plakietka InPost Mobile App */
.inpost-app-badge {
  background: #fff8e6;
  border: 1px solid #ffcc00;
  color: #1f2937;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.83rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.inpost-app-badge strong { color: #000; }

/* Radio pills do wyboru dostawy i płatności */
.radio-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-pill {
  flex: 1;
  min-width: 140px;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.radio-pill:hover {
  background: #283344;
}
.radio-pill.active {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.14);
}
.radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio-pill strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.radio-pill span {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Paczkomat lookup button */
.paczkomat-row {
  display: flex;
  gap: 8px;
}
.paczkomat-map-btn {
  background: #ffcc00;
  color: #111827;
  border: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.paczkomat-map-btn:hover { background: #e6b800; }

/* BLIK input */
.blik-input-wrap {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  text-align: center;
}
.blik-code-input {
  letter-spacing: 6px;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 800;
  width: 190px;
  margin: 6px auto;
  display: block;
}

/* Podsumowanie i przycisk */
.checkout-summary-box {
  background: #0d121d;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}
.checkout-error-box {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.submit-order-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
  transition: all 0.25s;
}
.submit-order-btn:hover {
  background: linear-gradient(135deg, #ff8a3d, #ea580c);
  transform: translateY(-2px);
}
.submit-order-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Sukces */
.order-success-box {
  text-align: center;
  padding: 30px 10px;
}
.success-icon {
  width: 60px;
  height: 60px;
  color: #10b981;
  margin: 0 auto 16px;
}

@media (max-width: 640px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-drawer { max-width: 100%; }
}

/* Style aliases and helpers */
.cart-drawer-header { composes: cart-header; }
.cart-drawer-header, .checkout-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
}
.cart-drawer-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: 0.5px;
}
.cart-drawer-close, .checkout-modal-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}
.cart-drawer-close:hover, .checkout-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d121d;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #9ca3af;
  margin-bottom: 8px;
}
.checkout-modal-body {
  overflow-y: auto;
  padding: 24px;
}
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .checkout-form-grid { grid-template-columns: 1fr; }
}
.btn-inpost-geo {
  background: #ffcc00;
  color: #111827;
  border: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-inpost-geo:hover {
  background: #e6b800;
  transform: translateY(-1px);
}
.checkout-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.cart-promo-input-wrap {
  display: flex;
  gap: 8px;
}
.radio-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.radio-pill {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   DEDICATED STORE SECTION (OFICJALNY SKLEP INTERNETOWY)
   ========================================================================== */
.shop-section-highlight {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.12) 0%, rgba(15, 23, 42, 0.95) 70%);
  border-top: 2px solid rgba(255, 107, 0, 0.4);
  border-bottom: 2px solid rgba(255, 107, 0, 0.4);
  padding: 60px 0 80px;
}
.shop-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}
.shop-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0 40px;
}
.shop-trust-item {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.shop-trust-item:hover {
  transform: translateY(-3px);
  border-color: #ff6b00;
}
.shop-trust-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}
.shop-trust-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.shop-trust-desc {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* Karty produktowe w sekcji Sklep */
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.product-shop-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.product-shop-card:hover {
  border-color: #ff6b00;
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(255, 107, 0, 0.22);
}
.product-shop-card.featured {
  border: 2px solid #ff6b00;
  background: linear-gradient(180deg, rgba(255, 107, 0, 0.08) 0%, #111827 40%);
  transform: scale(1.02);
  z-index: 2;
}
.product-shop-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.product-shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.product-shop-badge.promo {
  background: linear-gradient(135deg, #ff3300, #ff6600);
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.9); }
}
.product-shop-img-wrap {
  width: 100%;
  height: 330px;
  background: radial-gradient(circle at 50% 55%, rgba(255, 107, 0, 0.16) 0%, rgba(17, 24, 39, 0.95) 75%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.product-shop-img {
  width: auto;
  max-width: 90%;
  height: 100%;
  max-height: 275px;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.85));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-shop-card:hover .product-shop-img {
  transform: scale(1.06) translateY(-4px);
}
.product-shop-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #111827;
}
.product-shop-capacity {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.25;
}
.product-shop-subtitle {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 12px;
  line-height: 1.35;
}
.product-shop-price-row {
  margin: auto 0 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.product-shop-price-old {
  font-size: 0.92rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 8px;
}
.product-shop-price-now {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ff6b00;
  line-height: 1.05;
}
.product-shop-price-tax {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 2px;
}
.product-shop-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-shop-add {
  background: linear-gradient(135deg, #ff6b00, #ea580c);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}
.btn-shop-add:hover {
  background: linear-gradient(135deg, #ff8533, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

/* PŁYWAJĄCY PRZYCISK KOSZYKA (FLOATING CART PILL) */
.floating-cart-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #ff6b00 0%, #d9480f 100%);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
  cursor: pointer;
  z-index: 9995;
  transition: all 0.25s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}
.floating-cart-pill:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.7);
  color: #fff;
}
.floating-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.floating-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid #ff6b00;
}

/* Wyróżniony link w menu nawigacji */
.nav-link-shop-btn {
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid #ff6b00;
  color: #ffaa66 !important;
  padding: 6px 14px !important;
  border-radius: 20px;
  font-weight: 800 !important;
  transition: all 0.2s !important;
}
.nav-link-shop-btn:hover {
  background: #ff6b00 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .shop-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-products-grid { grid-template-columns: 1fr; }
  .product-shop-card.featured { transform: none; }
  .product-shop-card.featured:hover { transform: translateY(-4px); }
  .floating-cart-pill {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .product-shop-img-wrap {
    height: 290px;
    padding: 24px 16px 14px;
  }
  .product-shop-img {
    max-height: 245px;
  }
  .floating-cart-pill {
    bottom: 78px;
    right: 14px;
    padding: 9px 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 576px) {
  .shop-trust-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   INPOST PACZKOMAT PICKER MODAL & GEOWIDGET OVERRIDES
   ========================================================================== */
.inpost-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}
.inpost-picker-overlay.active {
  display: flex !important;
}
.inpost-picker-modal {
  background: #0f131a;
  border: 1px solid #ffc400;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 196, 0, 0.25);
  border-radius: 14px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #e2e8f0;
}
.inpost-picker-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #181d26 0%, #12151c 100%);
  border-bottom: 1px solid rgba(255, 196, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inpost-picker-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}
.inpost-picker-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.inpost-picker-close:hover {
  color: #ffffff;
}
.inpost-picker-search-bar {
  padding: 14px 20px;
  background: #141822;
  border-bottom: 1px solid #1f2533;
}
.inpost-picker-input-group {
  display: flex;
  gap: 8px;
}
.inpost-picker-input {
  flex: 1;
  background: #090b0f;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.95rem;
}
.inpost-picker-input:focus {
  outline: none;
  border-color: #ffc400;
  box-shadow: 0 0 10px rgba(255, 196, 0, 0.3);
}
.inpost-picker-search-btn {
  background: #ffc400;
  color: #0b0d11;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.inpost-picker-search-btn:hover {
  background: #ffb700;
}
.inpost-picker-quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.inpost-picker-tag {
  background: rgba(255, 196, 0, 0.1);
  border: 1px solid rgba(255, 196, 0, 0.25);
  color: #ffc400;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.inpost-picker-tag:hover {
  background: #ffc400;
  color: #000;
}
.inpost-picker-results {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  max-height: 420px;
}
.inpost-point-card {
  background: #151922;
  border: 1px solid #262e3d;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.inpost-point-card:hover {
  border-color: #ffc400;
  background: #191e2b;
}
.inpost-point-name {
  font-weight: 800;
  color: #ffc400;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inpost-point-addr {
  color: #f1f5f9;
  font-size: 0.9rem;
  margin-top: 2px;
}
.inpost-point-desc {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 3px;
}
.inpost-point-select-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.inpost-point-select-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}
.inpost-point-map-link {
  color: #60a5fa;
  font-size: 0.8rem;
  text-decoration: underline;
  margin-top: 4px;
  display: inline-block;
}
.inpost-picker-footer {
  padding: 12px 20px;
  background: #10131a;
  border-top: 1px solid #1f2533;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .inpost-picker-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .inpost-picker-modal {
    max-height: 94vh !important;
    border-radius: 16px 16px 0 0 !important;
    border-bottom: none !important;
  }
  .inpost-picker-header {
    padding: 12px 16px !important;
  }
  .inpost-picker-title {
    font-size: 1rem !important;
  }
  .inpost-picker-search-bar {
    padding: 10px 14px !important;
  }
  .inpost-picker-quick-tags {
    gap: 5px !important;
    margin-top: 8px !important;
  }
  .inpost-picker-results {
    max-height: 52vh !important;
    min-height: 180px !important;
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  .inpost-point-card {
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .inpost-point-select-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
    font-size: 0.95rem !important;
  }
  .inpost-picker-footer {
    padding: 10px 14px !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}


/* Gwarancja zamknięcia i wyrazisty przycisk X w oficjalnym oknie InPost Geowidget */
#widget-modal, .widget-modal, .easypack-modal {
  z-index: 100050 !important;
}
#widget-modal .close, 
.widget-modal .close, 
.easypack-modal .close,
[class*="widget-modal"] [class*="close"] {
  position: absolute !important;
  top: 10px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  background: #ff6b00 !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 34px !important;
  text-align: center !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  z-index: 100060 !important;
  opacity: 1 !important;
  display: block !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  text-decoration: none !important;
}
#widget-modal .close:hover,
.widget-modal .close:hover {
  background: #ff8533 !important;
  transform: scale(1.08) !important;
}

@media (max-width: 768px) {
  #widget-modal, .widget-modal, .easypack-modal {
    width: 96vw !important;
    max-width: 96vw !important;
    left: 2vw !important;
    right: 2vw !important;
    top: 2vh !important;
    bottom: 2vh !important;
    margin: 0 !important;
    height: 96vh !important;
    max-height: 96vh !important;
    position: fixed !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85) !important;
  }
  #widget-modal iframe, .widget-modal iframe, .easypack-modal iframe {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border: none !important;
  }
}


/* ==========================================================================
   RUSTEC LOGISTICS & PACKAGING PLAN (BEZPIECZNE PAKIETY TRANSPORTOWE)
   ========================================================================== */
.packaging-plan-bar {
  background: #141822;
  border: 1px solid rgba(255, 102, 0, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.packaging-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.packaging-plan-title {
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.packaging-plan-badge {
  background: rgba(255, 102, 0, 0.2);
  border: 1px solid #ff6600;
  color: #ffaa66;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}
.packaging-plan-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 8px;
}
.packaging-progress {
  height: 6px;
  background: #232a38;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}
.packaging-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6600 0%, #10b981 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}
.packaging-plan-hint {
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  padding: 5px 8px;
  border-radius: 4px;
}
.packaging-checkout-box {
  background: #11151f;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  font-size: 0.85rem;
}
.packaging-box-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #2d3748;
}
.packaging-box-item:last-child {
  border-bottom: none;
}

/* ==========================================================================
   PŁYWAJĄCY PRZYCISK POWROTU NA GÓRĘ (BACK TO TOP)
   Gwarantowana widoczność nad koszykiem i brak kolizji
   ========================================================================== */
.back-to-top {
  position: fixed !important;
  bottom: 88px !important;
  right: 28px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(18, 22, 30, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 2px solid #ff6b00 !important;
  color: #ff6b00 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 107, 0, 0.35) !important;
}

.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.back-to-top:hover {
  background: #ff6b00 !important;
  color: #fff !important;
  border-color: #ff8533 !important;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.75) !important;
  transform: translateY(-4px) scale(1.08) !important;
}

.back-to-top svg {
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 140px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
  }
}
