/* === Base Layout === */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
}

/* Global overflow fix */
body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .btn {
    width: auto;
    min-width: 140px;
    padding: 10px 18px;
    font-size: 14px;
  }
}



@media (max-width: 768px) {
  .cart-table {
    display: block;
    overflow-x: auto;
  }
}


.remove-link {
  color: #dc3545;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
}
.remove-link:hover {
  background: #f8d7da;
}



.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cart-table {
  width: 100%;
  table-layout: fixed; 
  word-wrap: break-word;
}
.cart-table td,
.cart-table th {
  overflow: hidden;
  text-overflow: ellipsis;
}


.nav-container,
.nav-links,
.products-area,
.footer-container {
  flex-wrap: wrap;
  overflow-x: hidden;
}


.cart-table th,
.cart-table td {
  background: #fff;
  padding: 18px;
  font-size: 15px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

.cart-table th {
  font-size: 16px;
  background-color: #f3f3f3;
  font-weight: bold;
}

.cart-table td:first-child {
  text-align: left;
}

.cart-table td img {
  width: 70px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.product-name {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: #888;
}


.cart-table input[type="number"] {
  width: 60px;
  padding: 6px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}


.btn {
  background-color: #28a745;
  color: white;
  padding: 10px 16px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 140px;
  height: auto;
  text-align: center;
  display: inline-block;
}

.btn:hover {
  background-color: #1e7e34;
}

.btn.danger {
  background-color: #dc3545;
}

.btn.danger:hover {
  background-color: #b21f2d;
}


.cart-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.total-section {
  font-size: 18px;
  font-weight: bold;
  text-align: right;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .cart-table th, .cart-table td {
    font-size: 13px;
    padding: 12px;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .cart-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}


.new-footer {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #333;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: green;
}

.footer-column i {
  margin-right: 8px;
  color: limegreen;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.footer-bottom p {
  margin: 0;
  color: #666;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  margin: 0 10px;
  display: inline-block;
}

.footer-socials i {
  font-size: 20px;
  color: #444;
  transition: color 0.3s ease;
}

.footer-socials i:hover {
  color: green;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #25D366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
  display: block;
  filter: invert(1); 
}

.whatsapp-float:hover {
  transform: scale(1.1);
}



@media (max-width: 768px) {
  .cart-buttons .btn {
    width: auto;
    min-width: 140px;
    padding: 10px 18px;
    font-size: 14px;
  }
}
