@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700&display=swap");

a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 1.5rem;
}
a:hover {
  color: #0077ff;
}
body {
  font-family: "Baloo 2", Arial, sans-serif;
  font-size: 1.3rem;
  background: #f8f5e3;
  margin: 0;
  color: #222;
}
header {
  background: #f8f5e3;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav a {
  margin-right: 1.2rem;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.2s;
}
nav a:last-child {
  margin-right: 0;
}
nav a:hover {
  color: #0077ff;
}
main {
  max-width: none;
  margin: 0;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.product-list {
  list-style: none;
  padding: 0;
}
.product-list li {
  margin: 1.2rem 0;
  font-size: 1.3rem;
  background: #f7faff;
  border-radius: 8px;
  overflow: hidden;
}
.product-list li:hover {
  background: #eaf2ff;
}
button {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #7a4c00;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 167, 81, 0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.5px;
}
button:hover {
  background: linear-gradient(90deg, #ffa751 0%, #ffe259 100%);
  color: #a85c00;
  box-shadow: 0 4px 16px rgba(255, 167, 81, 0.18);
  transform: scale(1.04);
}
input[type="text"] {
  padding: 0.5rem 0.8rem;
  border: 1px solid #cfd8e3;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  background: #f9fbfd;
  transition: border 0.2s;
}
input[type="text"]:focus {
  border: 1.5px solid #0077ff;
  outline: none;
}
.order-list {
  list-style: none;
  padding: 0;
}
.order-list li {
  margin: 0.7rem 0;
  font-size: 1.1rem;
  background: #f7faff;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
}
.logo-img,
.basket-img {
  transition: transform 0.22s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.logo-img:hover,
.basket-img:hover {
  transform: rotate(-3deg) scale(1.04);
  cursor: pointer;
}
.logo-img {
  height: 300px;
  margin-right: 1rem;
  vertical-align: middle;
  display: inline-block;
}
.basket-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
.basket-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.products-text {
  display: block;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.basket-img {
  height: 300px;
  vertical-align: middle;
  display: block;
}
.products-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.product-link {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
}
.product-link:hover {
  color: #0077ff;
}
.product-desc {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 1.2rem;
  font-style: italic;
}
#successMsg {
  color: green;
}
.header-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
}
.product-li-link {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.product-li-link:hover {
  background: #eaf2ff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.emoji-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0 0;
}
.emoji-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background: #fff;
  /* border: 5px solid #111; */
  border-radius: 18px;
  font-size: 4rem;
  text-decoration: none;
  transition: box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.emoji-box:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: scale(1.07);
}
.content-box {
  width: 530px; /* or use calc(3 * 150px + 2 * 2.5rem) */
  margin: 3rem auto 0 auto; /* center horizontally, same top margin as emoji-list */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.basket-indicator {
  position: absolute;
  bottom: 4rem;
  right: 3rem;
  background: #e53935;
  color: #fff;
  border: 2.5px solid #111;
  border-radius: 50%;
  min-width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.18);
  z-index: 2;
  pointer-events: none;
}
.basket-emoji {
  font-size: 2.5rem;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.5rem;
}
#basketList li {
  background: none !important;
}
.cart-buttons-row {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}
.cart-action-btn,
.cart-buttons-row button {
  background: #e53935;
  color: #fff;
  border: 2.5px solid #111;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.5px;
}
.cart-action-btn:hover,
.cart-buttons-row button:hover {
  background: #b71c1c;
  color: #fff;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.22);
  transform: scale(1.04);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #cfd8e3;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: #0077ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.1);
}

body footer {
  font-size: 1.1rem;
  color: #d4c9a8;
}

footer a {
  font-size: 1.1rem;
  color: #d4c9a8;
}

.products-text {
  text-align: center;
}

.basket-link {
  position: relative;
}

footer {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 2rem;
  padding: 1rem;
}

footer a {
  text-decoration: none;
}

.content-box {
  text-align: center;
}

.emoji-display {
  font-size: 4rem;
}

.button-container {
  margin-top: 1.2rem;
}

#successMsg {
  display: none;
  color: green;
  margin-top: 1rem;
}
