:root {
  --bg: #071015;
  --card: #101e22;
  --green: #9bc72c;
  --green2: #b6df48;
  --cream: #f5f1e8;
  --text: #f7f7f2;
  --muted: #aeb9b3;
  --line: rgba(255, 255, 255, .1);
  --danger: #d65d5d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 85% 5%, rgba(155, 199, 44, .1), transparent 30%),
    radial-gradient(circle at 10% 50%, rgba(106, 50, 29, .09), transparent 32%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 16, 21, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
}

.logo {
  width: 72px;
  height: 62px;
  object-fit: contain;
  border-radius: 10px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex: 1;
}

.nav a {
  color: #c9d1cc;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.cart-icon {
  min-width: 56px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff09;
  font-weight: 800;
}

.cart-icon span {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #17200c;
  border-radius: 50%;
  font-size: 11px;
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 25px;
}

/* HERO */
.hero {
  padding: 75px 0 85px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 45px;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero h1,
.page-head h1,
.section-head h2,
.about-section h2,
.cta h2,
.category-card h2,
.category-card h3,
.checkout-box h2,
.empty-cart h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1 {
  max-width: 720px;
  margin: 15px 0 22px;
  font-size: clamp(45px, 6vw, 75px);
  line-height: .98;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero p,
.page-head p,
.section-head p,
.about-section p,
.cta p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p {
  max-width: 630px;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.btn {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  font-weight: 900;
  transition: .2s;
}

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

.btn-primary {
  background: var(--green);
  color: #152008;
  box-shadow: 0 12px 30px #9bc72c29;
}

.btn-primary:hover {
  background: var(--green2);
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--green);
}

.btn-light {
  background: #fff;
  color: #111;
}

.btn-danger {
  background: #d65d5d14;
  color: #f29b9b;
  border: 1px solid #d65d5d40;
  margin-top: 10px;
}

.full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfd8d3;
  background: #ffffff09;
  font-size: 12px;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(440px, 90%);
  position: relative;
  z-index: 1;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: #9bc72c21;
  filter: blur(80px);
}

/* SECTIONS */
.section {
  padding: 85px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head h2,
.about-section h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 10px 0;
}

.section-head:not(.center) {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.category-card {
  padding: 35px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at 85% 20%, #9bc72c21, transparent 30%),
    linear-gradient(145deg, #142328, #101e22);
  transition: .25s;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #9bc72c73;
  box-shadow: var(--shadow);
}

.category-icon {
  font-size: 55px;
  margin-bottom: auto;
}

.category-card > span,
.product-category {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.category-card h2 {
  font-size: 32px;
}

.category-card h3 {
  font-size: 26px;
}

.category-card p {
  color: var(--muted);
}

.category-card small,
.text-link {
  color: var(--green);
  font-weight: 900;
}

/* PRODUCTS */
.featured {
  background: #ffffff05;
  border-block: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, #142328, #0d181b);
  transition: .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #9bc72c66;
  box-shadow: var(--shadow);
}

.product-image {
  height: 230px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #6a321da6, transparent 60%), #0a1114;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  display: none;
  font-size: 75px;
}

.product-image.no-image .product-placeholder {
  display: block;
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  margin: 7px 0;
  font-size: 19px;
}

.product-body p {
  min-height: 43px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 17px;
}

.product-bottom small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.product-bottom strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  margin-top: 2px;
}

.btn-small {
  min-height: 39px;
  padding: 9px 12px;
  font-size: 12px;
  background: var(--green);
  color: #142008;
}

/* ABOUT */
.about-section {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 70px;
}

.about-logo {
  text-align: center;
}

.about-logo img {
  width: min(360px, 100%);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-section p {
  max-width: 650px;
  font-size: 17px;
  margin-bottom: 28px;
}

/* CTA */
.cta {
  padding: 75px 0;
}

.cta-box {
  padding: 45px;
  border: 1px solid #9bc72c40;
  border-radius: 24px;
  background: linear-gradient(120deg, #19271b, #111b1e);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* FOOTER */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner strong {
  display: block;
  color: var(--cream);
  letter-spacing: .15em;
}

.footer-inner span {
  display: block;
  color: var(--green);
  font-size: 9px;
  letter-spacing: .12em;
}

.footer-inner a {
  color: var(--green);
}

/* PAGE / GENERIC */
.page {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 70vh;
}

.page-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-head h1 {
  font-size: clamp(42px, 5vw, 65px);
  margin: 12px 0;
}

.page-head p {
  font-size: 17px;
}

/* CART / CHECKOUT */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 20px;
  align-items: start;
}

.cart-box,
.checkout-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #111f23, #0c171a);
}

.cart-box {
  padding: 5px 22px;
}

.checkout-box {
  padding: 25px;
  position: sticky;
  top: 100px;
}

.checkout-box h2 {
  margin-top: 0;
  font-size: 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.summary-row strong {
  color: var(--cream);
}

.summary-row.total {
  font-size: 20px;
  border-bottom: 0;
}

.summary-row.total strong {
  color: var(--green);
}

.form-group {
  margin-top: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1417;
  color: #fff;
  padding: 12px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
}

.continue {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 90px;
  height: 90px;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #172427;
  font-size: 35px;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.cart-item-info h3 {
  margin: 5px 0;
  font-size: 17px;
}

.cart-item-info small {
  color: var(--muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: #fff;
}

.item-total {
  color: var(--green);
  white-space: nowrap;
}

.remove {
  border: 0;
  background: transparent;
  color: #d88787;
  font-size: 11px;
}

.empty-cart {
  padding: 70px 20px;
  text-align: center;
}

.empty-cart > div {
  font-size: 60px;
}

.empty-cart p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translate(-50%, 25px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: #111;
  font-weight: 900;
  font-size: 13px;
  transition: .25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo {
    width: min(360px, 75%);
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-box {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo {
    width: 62px;
    height: 54px;
  }

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 68px;
    padding: 15px;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #0b171a;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 45px;
  }

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

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 250px;
  }

  .section-head:not(.center) {
    align-items: start;
  }

  .cta-box {
    display: block;
    padding: 30px;
  }

  .cta-box .btn {
    width: 100%;
    margin-top: 15px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-item-image {
    width: 70px;
    height: 70px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 39px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-tags span {
    width: 100%;
    text-align: center;
  }
}