body {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  background-color: #f0f9ff;
  color: #333;
  margin: 0;
  padding: 0;
  padding-top: 70px;
}

.cart-page {
  max-width: 1100px;
  margin: 8rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  min-height: 50vh;
  position: relative;
}
.cart-page h2.empty {
  position: absolute;
  top: 50%;
  right: 45%;
  color: #708aff;
}
.confirmation-message {
  position: absolute;
  top: 50%;
  right: 40%;
}
.confirmation-message p {
  margin-top: 10px;
  margin-left: 45px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.cart-item img {
  width: 150px;
  height: auto;
  border-radius: 10px;
}

.cart-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #222;
}

.cart-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #444;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.qtyadd-btn,
.qtyminus-btn {
  width: 35px;
  height: 35px;
  font-size: 1.3rem;
  background-color: #dbeafe;
  color: #1e3a8a;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.qty-btn:hover {
  background-color: #bfdbfe;
}

.qty-number {
  width: 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

.remove-btn {
  margin-left: auto;
  background-color: #f87171;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.remove-btn:hover {
  background-color: #ef4444;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1rem 2rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

.checkout-btn {
  background-color: #34d399;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: 0.3s;
  margin-top: 1rem;
  position: absolute;
  bottom: -90px;
  right: 20px;
}

.checkout-btn:hover {
  background-color: #10b981;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

header {
  background-color: #f9f9f9;
  padding: 15px 65px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  z-index: 1000;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
h1.logoName {
  font-size: 30px;
  font-weight: bold;
  color: #708aff;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.logo span {
  color: #708aff;
  font-size: 12px;
  font-weight: bold;
  font-family: Georgia, "Times New Roman", Times, serif;
}
header .search input {
  margin-left: 5px;
  padding-left: 3;
  width: 170px;
  transition: width 0.3s;
  border: 1px solid #ccc;
  padding: 10px 30px;
  border-radius: 10px;
}
header .search {
  position: relative;
}
header .search::before {
  font-family: var(--fa-style-family-classic);
  content: "\f002";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--grey-color);
}
header .search input:focus {
  width: 200px;
  outline: none;
}
nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  align-items: center;
}

nav a {
  color: #708aff;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  font-family: "IBM Plex Mono Regular";
}
nav a:hover {
  color: #5a7de0;
  border-bottom: 1px solid;
}
/* End Header */

/* Start Footer */
footer {
  background-color: #708aff;
  color: white;
  padding: 40px 40px 20px 40px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  font-size: 24px;
}
.footer-section p {
  color: #dddada;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section ul li a {
  color: #dddada;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: 10px;
}
.footer-section ul li a:hover {
  color: white;
}
.social {
  display: flex;
  gap: 15px;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4a5568;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social a:hover {
  background-color: white;
  color: black;
  transform: translateY(-2px);
}
.email-input {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.email-input input {
  padding: 8px 12px;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  caret-color: #dddada;
}
.email-input input::placeholder {
  color: #dddada;
}
.email-input .subscribe {
  border: none;
  padding: 5px 50px;
  background-color: white;
  color: #708aff;
  font-weight: bold;
  border-radius: 5px;
  margin-left: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.email-input .subscribe:hover {
  background-color: #d8d8d8;
}
.bottom {
  border-top: 1px solid #dddada;
  padding-top: 15px;
  text-align: center;
  color: #dddada;
}
/* End Footer */
