
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #090909;
  color: #f5f5f5;
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font: inherit;
}

.topbar {
  background: #eee;
  color: #111;
  text-align: center;
  padding: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

header {
  height: 80px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #292929;
  position: sticky;
  top: 0;
  background: #090909;
  z-index: 5;
}

.logo {
  font: 700 25px 'Space Grotesk';
  letter-spacing: -1.5px;
}

.logo span {
  color: #888;
}

nav {
  display: flex;
  gap: 30px;
  color: #aaa;
  font-size: 12px;
}

nav a:hover {
  color: white;
}

.cart-button {
  background: transparent;
  border: 1px solid #555;
  color: white;
  padding: 10px 15px;
}

.cart-button span {
  margin-left: 7px;
  background: white;
  color: black;
  border-radius: 50%;
  padding: 3px 7px;
}

.hero {
  min-height: 570px;
  padding: 80px 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  color: #888;
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

h1, h2 {
  font-family: 'Space Grotesk';
  letter-spacing: -3px;
}

h1 {
  font-size: clamp(45px, 6vw, 75px);
  line-height: 1.05;
}

h1 span, h2 span {
  color: #777;
}

.description {
  color: #999;
  font-size: 13px;
  line-height: 1.8;
  max-width: 380px;
  margin: 25px 0;
}

.main-button {
  display: inline-block;
  background: #eee;
  color: #111;
  padding: 16px 22px;
  font-size: 11px;
  font-weight: bold;
  transition: .2s;
}

.main-button:hover {
  background: #ccc;
  transform: translateY(-3px);
}

.hero-decoration {
  height: 350px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #292929, #090909 70%);
}

.circle {
  width: 270px;
  height: 270px;
  border: 1px solid #555;
  border-radius: 50%;
  position: absolute;
}

.big-letter {
  font: 700 240px 'Space Grotesk';
  color: #eee;
  opacity: .9;
}

.decoration-text {
  position: absolute;
  right: 10px;
  top: 15px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #888;
}

.shop {
  padding: 90px 9%;
  border-top: 1px solid #292929;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: 45px;
}

.search input {
  background: transparent;
  color: white;
  border: 1px solid #444;
  padding: 13px 16px;
  width: 230px;
  outline: none;
}

.search input:focus {
  border-color: white;
}

.empty-shop {
  min-height: 260px;
  margin-top: 35px;
  border: 1px solid #292929;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.empty-icon {
  font-size: 35px;
  color: #888;
  margin-bottom: 15px;
}

.empty-shop h3 {
  font: 600 20px 'Space Grotesk';
}

.empty-shop p {
  color: #777;
  font-size: 12px;
  margin-top: 10px;
}

.about {
  padding: 90px 9%;
  background: #eee;
  color: #111;
}

.about .eyebrow {
  color: #666;
}

.about h2 {
  margin-bottom: 25px;
}

.about h2 span {
  color: #888;
}

.about > p:last-child {
  max-width: 450px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.contact {
  padding: 90px 9%;
}

.contact p:last-child {
  color: #888;
  font-size: 12px;
  margin-top: 15px;
}

footer {
  padding: 30px 9%;
  border-top: 1px solid #292929;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

footer p, footer a:last-child {
  font-size: 10px;
  color: #777;
}

/* Kosár panel */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 9;
  display: none;
}

.cart-overlay.show {
  display: block;
}

.cart-panel {
  position: fixed;
  z-index: 10;
  right: 0;
  top: 0;
  height: 100%;
  width: min(400px, 100%);
  background: #111;
  padding: 25px;
  transform: translateX(100%);
  transition: .3s;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.close-button {
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid #555;
  color: white;
  font-size: 22px;
}

.cart-content {
  padding-top: 25px;
  color: #888;
  font-size: 12px;
}

@media(max-width:700px) {
  header {
    padding: 0 5%;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 7%;
  }

  .hero-decoration {
    height: 280px;
  }

  .big-letter {
    font-size: 190px;
  }

  .circle {
    width: 220px;
    height: 220px;
  }

  .shop, .contact {
    padding: 65px 7%;
  }

  .section-heading {
    display: block;
  }

  .search {
    margin-top: 20px;
  }

  .search input {
    width: 100%;
  }

  .about {
    padding: 65px 7%;
  }

  footer {
    padding: 25px 7%;
    flex-wrap: wrap;
  }
}
