*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #050816 0, #020309 42%, #020204 100%);
  color: #f9fafb;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(7, 9, 16, 0.9);
  border: 1px solid #202432;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.header-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: 0.15s ease-out;
}

.header-nav a:hover {
  border-color: #22c55e;
  color: #bbf7d0;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
}

.hero-main h1 {
  margin: 6px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-main h1 span {
  color: #22c55e;
}

.hero-copy {
  font-size: 14px;
  color: #9ca3af;
  max-width: 420px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #020617;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease-out;
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
}

.hero-meta {
  font-size: 12px;
  color: #9ca3af;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  width: min(360px, 90%);
  border-radius: 999px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.hero-badge img {
  width: 100%;
}

/* PRODUCTS */

.products-section {
  margin-top: 52px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.section-header h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-header p {
  font-size: 13px;
  color: #9ca3af;
  max-width: 380px;
}

.products-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid #1f2937;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.9);
  color: #9ca3af;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid #374151;
}

.product-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  overflow: hidden;
}

.product-logo img {
  width: 100%;
}

.product-info-top {
  margin-top: 20px;
}

.product-type {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.product-name {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.product-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.product-price {
  font-weight: 600;
  color: #f9fafb;
}

.product-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background: #020617;
  overflow: hidden;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 16px;
  cursor: pointer;
}

.qty-control span {
  width: 34px;
  text-align: center;
  font-size: 13px;
}

.btn-add {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 8px 10px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.16s ease-out;
}

.btn-add:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

/* CHECKOUT */

.checkout-section {
  margin-top: 52px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
}

.checkout-card {
  border-radius: 18px;
  background: #020617;
  border: 1px solid #1f2937;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  padding: 16px 16px 18px;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-logo-small {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
}

.checkout-logo-small img {
  width: 100%;
}

.checkout-card-header h3 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.checkout-card-header p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

/* CART */

.cart-items {
  border-radius: 14px;
  border: 1px solid #111827;
  background: #02040c;
  max-height: 260px;
  overflow-y: auto;
}

.cart-empty {
  padding: 14px 16px;
  font-size: 12px;
  color: #9ca3af;
}

.cart-row {
  display: grid;
  grid-template-columns: 1.7fr 0.5fr 0.7fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  border-bottom: 1px solid #111827;
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-name {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-meta {
  font-size: 11px;
  color: #9ca3af;
}

.cart-remove {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
}

.cart-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.cart-footer-label {
  color: #9ca3af;
}

.cart-footer-value {
  font-size: 16px;
  font-weight: 600;
}

.cart-footer-note {
  max-width: 220px;
  color: #6b7280;
}

/* FORM */

.checkout-form {
  margin-top: 4px;
  font-size: 13px;
}

.hidden-field {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12px;
  color: #9ca3af;
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  color: #f9fafb;
  padding: 8px 10px;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 38px;
}

.form-field textarea {
  min-height: 70px;
}

.delivery-note {
  margin-top: 8px;
  font-size: 11px;
  color: #9ca3af;
}

.btn-submit {
  margin-top: 12px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 10px 14px;
  background: #22c55e;
  color: #020617;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: 0.18s ease-out;
}

.btn-submit:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8);
}

.small-print {
  margin-top: 6px;
  font-size: 11px;
  color: #9ca3af;
}

/* FOOTER */

.site-footer {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid #111827;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

.footer-logo {
  margin: 0 auto 8px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
}

.footer-logo img {
  width: 100%;
}

.footer-text {
  margin: 0;
}

.footer-sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6b7280;
}

/* THANK YOU PAGE */

.thankyou-body {
  background: radial-gradient(circle at top, #020617, #02010a 40%, #000 100%);
}

.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.thankyou-card {
  max-width: 420px;
  text-align: center;
  background: #020617;
  border-radius: 20px;
  padding: 24px 22px 26px;
  border: 1px solid #1f2937;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.thankyou-logo {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 14px;
}

.thankyou-logo img {
  width: 100%;
}

.thankyou-card h1 {
  margin: 4px 0 10px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.thankyou-card p {
  font-size: 13px;
  color: #d1d5db;
}

.thankyou-card .btn-primary {
  margin-top: 14px;
}

.thankyou-small {
  margin-top: 10px;
  font-size: 11px;
  color: #9ca3af;
}

/* RESPONSIVE */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .header-nav {
    justify-content: flex-end;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section-header {
    flex-direction: column;
  }

  .cart-row {
    grid-template-columns: 1.7fr 0.5fr 0.7fr;
  }

  .cart-remove {
    grid-column: 1 / -1;
    text-align: right;
  }
}
