@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  --accent: linear-gradient(to bottom right, #8446db, #7313a0);
  --dark-accent: linear-gradient(to bottom right, #703cb9, #621088);
  --light-bg: linear-gradient(to bottom right, #211d25, #2d2935);
  --input-bg: linear-gradient(to bottom right, #35313f, #332e3b);
  --dark-bg: linear-gradient(to bottom right, #231e26, #19161b);
  --darkest-bg: linear-gradient(to bottom right, #11111a, #15131a);
  --main-text: #ffffff;
  --dark-text: #6b647d;
  --border-main: #4f495c;
}
.button img {
  padding-left: 4px;
}

.button {
  padding: 12px 20px;
  background: var(--accent);
  border-radius: 12px;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--main-text);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 300;
  font-size: 15px;
  position: relative;
  box-shadow: #00000055 0px 0px 0px;
}

.button.button-fullwidth {
  width: 100%;
}

.button:hover {
  transform: scale(1.05);
  background: var(--dark-accent);
  box-shadow: #00000055 5px 10px 10px;
}

.button.button.button-fullwidth:hover {
  transform: scale(1);
  background: var(--dark-accent);
  box-shadow: #00000055 0 0 0;
}
.button.selected {
  background-color: #2ecc71;
  color: white;
  border-color: #2ecc71;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 0;
  overflow-x: hidden;
  width: 100%;
}

header {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 96px;
  justify-content: center;
  align-items: center;
  background-image: url(/img/heading.png);
  background-size: cover;
  background-position: bottom;
  gap: 32px;
}
header img.logo {
  width: min(60%, 1200px);
}

section.products {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 96px;
  justify-content: start;
  align-items: center;
  background: var(--dark-bg);
  gap: 64px;
}
section.products .titles {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 32px;
}
section.products .titles h1 {
  font-weight: 800;
  text-align: center;
  font-size: 96px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
section.products .titles p {
  color: var(--dark-text);
  font-size: 24px;
  text-align: center;
}
section.products .product-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
}
section.products .product-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  border-radius: 12px;
  border: var(--border-main) solid 1px;
  width: 300px;
  position: relative;
  box-shadow: #00000025 5px 10px 15px;
  transition: 0.5s;
}
.product-card.popular {
  position: relative; /* aby tag šel absolutně nad kartu */
}

.product-card.popular .tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f74a2c, #fc5788);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  z-index: 10;
  text-transform: uppercase;
}

section.products .product-card:hover {
  transform: translateY(-5px);
  box-shadow: #00000025 7px 15px 20px;
}
section.products .product-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}
section.products .product-card .properties {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 0 0 12px 12px;
  gap: 32px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
section.products .product-card .properties .container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 16px;
}
section.products .product-card .properties .container h5 {
  color: #fff;
  font-weight: 500;
  font-size: 24px;
}
section.products .product-card .properties .container p small {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-text);
}
section.products .product-card .properties .price {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 2px;
}
section.products .product-card .properties .price h5 {
  font-size: 24px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
section.products .product-card .properties .price h6 {
  font-size: 16px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

section.finish-order {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 64px;
  background: var(--dark-bg);
  padding: 96px;
}
section.finish-order .titles {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 32px;
}
section.finish-order .titles h1 {
  font-weight: 800;
  text-align: center;
  font-size: 96px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
section.finish-order .titles p {
  color: var(--dark-text);
  font-size: 24px;
  text-align: center;
}
section.finish-order form {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  border-radius: 12px;
  border: var(--border-main) solid 1px;
  width: 700px;
  position: relative;
  box-shadow: #00000025 5px 10px 15px;
  background: var(--light-bg);
  gap: 32px;
  padding: 32px;
  position: relative;
}
section.finish-order form .titles {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 10px;
}
section.finish-order form .titles h5 {
  color: #fff;
  font-weight: 500;
  font-size: 24px;
}
section.finish-order form .titles p small {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-text);
}
section.finish-order form .input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
section.finish-order form .input-group label {
  font-weight: 500;
  font-size: 15px;
  color: var(--main-text);
}
section.finish-order form .input-group input {
  font-size: 15px;
  background: var(--input-bg);
  color: var(--main-text);
  padding: 12px 20px;
  border-radius: 12px;
  outline: none;
  border: 1px solid var(--border-main);
}

footer {
  display: flex;
  background: var(--darkest-bg);
  width: 100%;
  flex-direction: row;
  padding: 96px;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
}
footer img {
  width: 172px;
}
footer p {
  color: var(--dark-text);
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}
footer .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  gap: 8px;
}
footer .links a {
  color: var(--dark-text);
  font-weight: 400;
}

.notification-container {
  position: fixed;
  top: 0;
  right: 0;
  margin: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(450px, 70vw);
  z-index: 1000;
}

.notification {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  justify-content: start;
  align-items: start;
  padding: 24px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.enter {
  opacity: 0;
  transform: translateY(-20px);
}

.notification.hide {
  opacity: 0;
  transform: translateY(-20px);
}

.notification.green {
  background-color: #289b2836;
  border: 1px solid #49bd4955;
}
.notification.red {
  background-color: #9b282836;
  border: 1px solid #bd494955;
}
.notification.yellow {
  background-color: #999b2836;
  border: 1px solid #b5bd4955;
}

.notification .close-button {
  position: absolute;
  top: 0;
  right: 0;
  margin: 16px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: #fff !important;
}
.notification h5 {
  color: #fff;
  font-weight: 300;
  font-size: 24px;
}
.notification p {
  color: #fff;
  font-weight: 200;
  font-size: 15px;
}

@media (max-width: 1024px) {
  header,
  section,
  footer {
    padding-inline: 32px !important;
    padding-block: 48px !important;
  }
  header h1,
  section h1,
  footer h1 {
    font-size: 64px !important;
  }
  header > .titles > p,
  section > .titles > p,
  footer > .titles > p {
    font-size: 20px !important;
    font-weight: 400;
  }
  header img.logo {
    width: min(600px, 85%);
  }
  section.finish-order form {
    width: 100%;
  }
  footer {
    flex-direction: column;
    gap: 32px;
  }
  footer .links {
    align-items: center;
  }
}

@media (max-width: 823px) {
  header,
  section,
  footer {
    padding-inline: 16px !important;
    padding-block: 48px !important;
  }
  header h1,
  section h1,
  footer h1 {
    font-size: 48px !important;
  }
  section.products .product-card {
    width: max(300px, 85%);
  }
}
@media (max-width: 410px) {
  .button {
    font-size: 12px;
  }
  .button img {
    padding-left: 8px;
    height: 25px;
    width: 25px;
  }
}
