* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0f1115;
  color: white;
  overflow-x: hidden;
}


/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;

  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 12px 7%;

  background: rgba(15, 17, 21, 0.97);

  border-bottom: 1px solid #292c33;

  backdrop-filter: blur(10px);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  white-space: nowrap;
}

.logo span {
  color: #ff7a00;
}


/* NAVBAR */

.navbar {
  display: flex;

  align-items: center;

  gap: 25px;
}

.navbar a {
  color: #d5d7dc;

  text-decoration: none;

  font-size: 14px;

  transition: 0.2s;
}

.navbar a:hover {
  color: #ff7a00;
}


/* CARRELLO BUTTON */

.cart-button {
  display: flex;

  align-items: center;

  gap: 8px;

  border: none;

  background: #ff7a00;

  color: white;

  padding: 10px 16px;

  border-radius: 10px;

  cursor: pointer;

  font-weight: bold;

  white-space: nowrap;
}

.cart-button b {
  background: white;

  color: #ff7a00;

  min-width: 22px;

  height: 22px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  font-size: 12px;
}


/* HERO */

.hero {
  min-height: 520px;

  display: flex;

  align-items: center;

  padding: 80px 7%;

  background:
    radial-gradient(
      circle at 70% 40%,
      rgba(255, 122, 0, 0.25),
      transparent 35%
    ),
    #0f1115;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-block;

  padding: 8px 14px;

  border-radius: 50px;

  background: rgba(255, 122, 0, 0.15);

  color: #ff7a00;

  font-size: 13px;

  font-weight: bold;

  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(45px, 7vw, 80px);

  line-height: 1;

  margin-bottom: 25px;
}

.hero h1 span {
  color: #ff7a00;
}

.hero p {
  max-width: 550px;

  color: #a9adb5;

  font-size: 18px;

  line-height: 1.6;

  margin-bottom: 30px;
}

.hero-button {
  border: none;

  background: #ff7a00;

  color: white;

  padding: 15px 28px;

  border-radius: 10px;

  font-size: 16px;

  font-weight: bold;

  cursor: pointer;

  transition: 0.2s;
}

.hero-button:hover {
  transform: translateY(-2px);
}


/* SECTIONS */

.menu-section {
  padding: 80px 7%;
}

.equipment-section {
  background: #121419;
}

.section-title {
  margin-bottom: 35px;
}

.section-title p {
  color: #ff7a00;

  font-size: 13px;

  font-weight: bold;

  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 36px;
}


/* CATEGORIES */

.categories {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  margin-bottom: 35px;
}

.category {
  padding: 10px 18px;

  border-radius: 50px;

  border: 1px solid #30343d;

  background: #181b21;

  color: white;

  cursor: pointer;

  transition: 0.2s;
}

.category:hover {
  border-color: #ff7a00;
}

.category.active {
  background: #ff7a00;

  border-color: #ff7a00;
}


/* PRODUCTS */

.products-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 20px;
}

.product-card {
  background: #181b21;

  border: 1px solid #292c33;

  border-radius: 16px;

  overflow: hidden;

  transition: 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);

  border-color: #ff7a00;
}

.product-image {
  height: 170px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #22252c;

  font-size: 75px;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 20px;

  margin-bottom: 8px;
}

.product-info p {
  color: #999da6;

  line-height: 1.5;

  font-size: 14px;

  min-height: 42px;
}

.product-bottom {
  margin-top: 20px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.product-bottom strong {
  color: #ff7a00;

  font-size: 19px;
}

.product-bottom button {
  width: 38px;

  height: 38px;

  border: none;

  border-radius: 10px;

  background: #ff7a00;

  color: white;

  font-size: 22px;

  cursor: pointer;
}


/* CART OVERLAY */

.cart-overlay {
  position: fixed;

  inset: 0;

  z-index: 200;

  background: rgba(0, 0, 0, 0.7);

  visibility: hidden;

  opacity: 0;

  transition: 0.3s;
}

.cart-overlay.open {
  visibility: visible;

  opacity: 1;
}

.cart {
  position: absolute;

  right: 0;

  top: 0;

  height: 100%;

  width: min(450px, 100%);

  background: #15171c;

  padding: 25px;

  overflow-y: auto;

  transform: translateX(100%);

  transition: 0.3s;
}

.cart-overlay.open .cart {
  transform: translateX(0);
}


/* CART HEADER */

.cart-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;
}

.cart-header button {
  background: none;

  border: none;

  color: white;

  font-size: 22px;

  cursor: pointer;
}


/* CART ITEMS */

.cart-items {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.empty-cart {
  color: #888;

  text-align: center;

  padding: 30px 0;
}

.cart-item {
  background: #20232a;

  padding: 14px;

  border-radius: 10px;
}

.cart-item-top {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  margin-bottom: 10px;
}

.cart-item-name {
  font-weight: bold;
}

.cart-item-category {
  color: #999da6;

  font-size: 12px;

  margin-top: 3px;
}

.cart-item-price {
  color: #ff7a00;

  white-space: nowrap;
}

.cart-controls {
  display: flex;

  align-items: center;

  gap: 10px;
}

.cart-controls button {
  width: 28px;

  height: 28px;

  border: none;

  border-radius: 6px;

  background: #30343d;

  color: white;

  cursor: pointer;
}


/* TOTAL */

.cart-total {
  display: flex;

  justify-content: space-between;

  padding: 20px 0;

  margin-top: 20px;

  border-top: 1px solid #30343d;

  border-bottom: 1px solid #30343d;

  font-size: 20px;
}

.cart-total strong {
  color: #ff7a00;
}


/* FORM */

.order-form {
  margin-top: 25px;
}

.order-form h3 {
  margin-bottom: 15px;
}

.order-form input,
.order-form textarea {
  width: 100%;

  background: #20232a;

  border: 1px solid #30343d;

  border-radius: 9px;

  color: white;

  padding: 13px;

  margin-bottom: 10px;

  outline: none;

  font-family: inherit;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: #ff7a00;
}

.order-form textarea {
  height: 90px;

  resize: none;
}

.order-button {
  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 10px;

  background: #ff7a00;

  color: white;

  font-size: 15px;

  font-weight: bold;

  cursor: pointer;
}

.order-button:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

#order-status {
  text-align: center;

  margin-top: 15px;

  font-size: 14px;
}


/* FOOTER */

footer {
  padding: 50px 7%;

  text-align: center;

  border-top: 1px solid #292c33;

  color: #858992;
}

.footer-logo {
  color: white;

  font-size: 20px;

  font-weight: bold;

  margin-bottom: 10px;
}

footer small {
  display: block;

  margin-top: 15px;
}


/* MOBILE */

@media (max-width: 800px) {

  .header {
    flex-wrap: wrap;

    padding: 15px 20px;
  }

  .navbar {
    order: 3;

    width: 100%;

    justify-content: center;

    gap: 15px;
  }

  .navbar a {
    font-size: 13px;
  }

  .hero {
    padding: 70px 20px;
  }

  .menu-section {
    padding: 60px 20px;
  }

}


@media (max-width: 600px) {

  .hero h1 {
    font-size: 48px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cart-button {
    padding: 9px 12px;
  }

}
