#EdycjaDodatkow,
#overlay {
  position: fixed;
  display: none;
}
body {
  font-family: Montserrat, sans-serif;
  background-color: #212529;
  color: #fff;
}
.btn.top-bar-button {
  color: #fff;
  background: rgba(182, 150, 105, 0.7);
  border: 2px solid rgba(200, 169, 126, 0.6);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.2s, border-color 0.3s;
  font-size: 1.3rem;
  padding: 0.4rem 0.7rem;
}
.btn.top-bar-button:focus,
.btn.top-bar-button:hover {
  color: #fff;
  background: rgba(200, 169, 126, 0.9);
  border-color: #c8a97e;
  transform: translateY(-1px);
}
.add-to-cart,
.dropdown-menu.user-dropdown-custom .dropdown-header,
.price {
  color: #c8a97e;
}
.dropdown-menu.user-dropdown-custom {
  background-color: #2a2f37;
  border: 1px solid rgba(200, 169, 126, 0.4);
}
.dropdown-menu.user-dropdown-custom .dropdown-item {
  color: #f1f1f1;
}
.dropdown-menu.user-dropdown-custom .dropdown-item:hover {
  background-color: rgba(200, 169, 126, 0.2);
  color: #fff;
}
.dropdown-menu.user-dropdown-custom .dropdown-item.text-danger {
  color: #ff7b7b;
}
.hero {
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}
.add-to-cart {
  font-size: 170%;
  cursor: pointer;
}
.add-to-cart:hover {
  color: #b69669;
}
.cart {
  position: fixed;
  background: #212121;
  color: #fff;
  width: 400px;
  max-width: 100%;
  top: 0;
  right: -400px;
  bottom: 0;
  transition: 0.5s;
  display: grid;
  grid-template-rows: 70px 1fr auto auto;
  z-index: 2000;
}
body.activeTabCart .cart {
  right: 0;
}
.cart-header {
  padding: 1.25rem 1rem 0.5rem;
  border-bottom: 1px solid #444;
}
.cart-title {
  color: #c8a97e;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin: 0;
}
.cart .lista {
  overflow: auto;
  padding: 1rem;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a2a2a;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}
.ilosc-input {
  width: 60px;
  background: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
  text-align: center;
  border-radius: 0.25rem;
}
#closeDodatki,
.item-remove {
  background: 0 0;
  cursor: pointer;
}
.item-remove {
  border: none;
  color: #dc3545;
  font-size: 1.25rem;
  padding: 0;
  transition: color 0.2s, transform 0.2s;
  opacity: 0.8;
}
.item-remove:hover {
  color: #ff6b6b;
  transform: scale(1.1);
  opacity: 1;
}
.item-price {
  color: #c8a97e;
  font-weight: 600;
}
.cart-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #444;
  display: flex;
  gap: 0.5rem;
}
.cart-footer button {
  flex: 1;
  font-weight: 600;
  padding: 0.75rem 0;
  border-radius: 0.25rem;
}
.close.btn-outline-light {
  color: #fff;
  border-color: #c8a97e;
}
.pay.btn-warning {
  background: #c8a97e;
  border: none;
  color: #212529;
}

.sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 0;
  font-size: 1.2rem;
  margin: 0;
  border-top: 1px solid #444;
}

.sum span {
  color: #c8a97e;
  font-weight: 700;
  font-size: 1.5rem;
}
#EdycjaDodatkow {
  top: 50%;
  left: 50%;
  width: 50%;
  max-height: 90%;
  transform: translate(-50%, -50%);
  background-color: #2a2f37;
  padding: 2rem;
  border-radius: 10px;
  z-index: 1000;
  color: #f1f1f1;
  overflow-y: auto;
}
#overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
#closeDodatki {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  color: #ccc;
  font-size: 24px;
}
#dodatkiFooter {
  position: sticky;
  bottom: 0;
  background-color: #1c1f24;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #444;
}
#dodajDoKoszyka {
  padding: 10px 20px;
  background-color: #cc984f;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.custom-checkbox {
  appearance: none;
  background-color: #1c1f24;
  border: 2px solid #888;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}
.custom-checkbox:checked {
  background-color: #c8a97e;
  border-color: #ffc107;
}
.alergenydiv {
  color: #e5c07b !important;
  opacity: 0.9;
}
@media (max-width: 768px) {
  #EdycjaDodatkow {
    width: 95vw;
  }
}
