* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f6fb;
  color: #222;
}

img {
  width: 100%;
  display: block;
}

button, a {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1400px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}

.header {
  background: transparent;
  border-bottom: 0;
  color: white;
}

.hero-area {
  background-image: linear-gradient(rgba(16, 42, 67, 0.72), rgba(16, 42, 67, 0.72)), url('images/image Nemo19.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid #f59e0b;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.cart-button {
  border: 1px solid #f59e0b;
  background: transparent;
  color: white;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: bold;
  cursor: pointer;
}

.cart-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f59e0b;
  color: #102a43;
}

.floating-cart-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 2px solid white;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  justify-content: center;
  background-image: linear-gradient(rgba(16, 42, 67, 0.5), rgba(16, 42, 67, 0.5)), url('images/image Nemo19.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  font-size: 1.45rem;
  cursor: pointer;
}

.floating-cart-button .cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  margin: 0;
  border: 2px solid white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f59e0b;
  color: #102a43;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.logo p {
  margin: 0;
  color: #d9e2ec;
  font-size: 0.8rem;
}

.button-contact {
  display: inline-block;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
}

.banner {
  background: transparent;
  border-radius: 18px;
  padding: 30px 25px;
  margin: 30px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.mini-title {
  margin: 0 0 6px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.subscribe-message {
  margin: 14px 0 0;
  color: white;
  font-weight: bold;
}

.delivery-message,
.availability-message {
  color: white;
  font-weight: 600;
}

.delivery-message {
  font-size: 1.3rem;
  font-weight: 800;
}

.badge {
  background: white;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.badge p {
  margin: 0;
  color: #666;
}

.badge strong {
  display: block;
  margin-top: 8px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-btn {
  border: 1px solid #dfe3ea;
  background: white;
  color: #222;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}

.category-btn.active {
  background: #1d4ed8;
  color: white;
  border-color: #1d4ed8;
}

.section-title {
  margin: 0 0 18px;
  font-size: 2.4rem;
  font-weight: 800;
}

.orders-notice {
  margin: -8px 0 18px;
  padding: 12px 16px;
  border-left: 4px solid #f59e0b;
  background: #fff7e6;
  color: #8a4b00;
  font-size: 1.3rem;
  font-weight: 800;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
  padding-bottom: 50px;
}

.product-card {
  width: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.product-card img {
  height: 260px;
  object-fit: cover;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-info h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price {
  margin: 0;
  color: #1d4ed8;
  font-weight: bold;
}

.buy-btn {
  border: none;
  background: #eef4ff;
  color: #1d4ed8;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.hidden {
  display: none;
}

.modal-content {
  background: white;
  width: min(420px, 90%);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.modal-content p {
  margin: 0 0 16px;
  color: #333;
  font-weight: 600;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.modal-content input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.btn-cancel,
.btn-cart,
.btn-confirm {
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
}

.btn-cancel {
  background: #f3f4f6;
  color: #333;
}

.btn-cart {
  background: #eef4ff;
  color: #1d4ed8;
}

.btn-confirm {
  background: #1d4ed8;
  color: white;
}

.btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-content {
  max-height: 85vh;
  overflow-y: auto;
}

.cart-empty {
  font-weight: normal;
  color: #666;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f3f6fb;
  border-radius: 10px;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  margin-top: 4px;
  color: #1d4ed8;
  font-size: 0.9rem;
}

.remove-item {
  border: none;
  background: transparent;
  color: #b42318;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .floating-cart-button {
    right: 14px;
    bottom: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  }

  .product-card {
    width: 100%;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .modal-actions {
    flex-direction: column;
  }
}
