:root {
  --orange: #ff8700;
  --orange-soft: #fff3de;
  --gold: #d5a21e;
  --gold-soft: #f5d46b;
  --green: #6fbd38;
  --green-bright: #a8ff65;
  --green-dark: #07391f;
  --black: #101010;
  --white: #ffffff;
  --cream: #fff6df;
  --soft: #f5f7ec;
  --line: #d7e3ca;
  --muted: #5d6657;
  --shadow: 0 20px 48px rgba(16, 16, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  align-items: center;
  background: var(--white);
  border-top: 8px solid var(--green);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 16, 16, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 0;
  padding: 15px clamp(16px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 290px;
}

.aplgo-logo {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.logo-leaves {
  display: grid;
  height: 42px;
  position: relative;
  width: 46px;
}

.logo-leaves i {
  background: linear-gradient(135deg, #17451c, var(--green));
  border-radius: 100% 0;
  display: block;
  position: absolute;
}

.logo-leaves i:nth-child(1) {
  height: 25px;
  left: 4px;
  top: 12px;
  transform: rotate(-42deg);
  width: 18px;
}

.logo-leaves i:nth-child(2) {
  height: 32px;
  left: 18px;
  top: 4px;
  transform: rotate(20deg);
  width: 19px;
}

.logo-leaves i:nth-child(3) {
  height: 23px;
  left: 25px;
  top: 19px;
  transform: rotate(46deg);
  width: 17px;
}

.aplgo-logo strong {
  color: #2c6d2f;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.aplgo-logo strong span {
  color: var(--gold);
  font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 900;
}

.brand-copy small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.main-nav a {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  padding: 10px 12px;
}

.main-nav a:hover {
  background: var(--soft);
  color: var(--black);
}

.hero {
  align-items: center;
  background:
    linear-gradient(110deg, rgba(16, 16, 16, 0.92), rgba(7, 57, 31, 0.92) 58%, rgba(111, 189, 56, 0.72)),
    radial-gradient(circle at 80% 8%, rgba(168, 255, 101, 0.36), transparent 28%);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(240px, 340px);
  min-height: calc(100vh - 91px);
  padding: clamp(36px, 6vw, 86px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1 {
  color: var(--cream);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
  max-width: 980px;
}

h2 {
  font-size: clamp(31px, 4.3vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-lede {
  color: var(--green-bright);
  font-size: clamp(20px, 2.4vw, 29px);
  font-weight: 900;
  line-height: 1.22;
  max-width: 740px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  max-width: 620px;
}

.hero-actions,
.join-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  min-width: 154px;
  padding: 13px 18px;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--green-bright);
}

.btn-secondary {
  background: var(--green);
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--green-bright);
}

.hero-image {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  aspect-ratio: 4 / 5;
  background: var(--soft);
  object-fit: contain;
  width: 100%;
}

.phone-video-card {
  align-items: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.phone-frame {
  background: #080808;
  border: 10px solid #080808;
  border-radius: 34px;
  box-shadow: 0 24px 50px rgba(23, 23, 23, 0.22);
  max-width: 260px;
  padding: 18px 8px 10px;
  position: relative;
  width: min(76vw, 260px);
}

.phone-speaker {
  background: #2c2c2c;
  border-radius: 999px;
  height: 5px;
  left: 50%;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  width: 58px;
}

.phone-frame video {
  aspect-ratio: 9 / 16;
  background: var(--black);
  border-radius: 22px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.watch-large-btn {
  min-width: 190px;
}

.video-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 100;
}

.video-modal.hidden {
  display: none;
}

.video-modal-panel {
  background: var(--black);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  max-width: 980px;
  padding: 14px;
  width: min(96vw, 980px);
}

.video-modal-panel video {
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: 6px;
  display: block;
  max-height: 78vh;
  object-fit: contain;
  width: 100%;
}

.video-close {
  background: var(--white);
  border: 0;
  border-radius: 8px;
  color: var(--black);
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: 900;
  margin: 0 0 10px auto;
  padding: 10px 14px;
}

.section {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.about-section {
  background: var(--white);
}

.about-section h2 {
  color: var(--green-dark);
}

.about-story {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin-bottom: 28px;
}

.about-copy {
  color: var(--muted);
  font-size: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.why-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 6px solid var(--green);
  box-shadow: var(--shadow);
  color: var(--black);
  padding: clamp(20px, 3vw, 28px);
}

.why-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.why-card ul {
  display: grid;
  gap: 10px;
  font-weight: 800;
  margin: 0;
  padding-left: 20px;
}

.business-strip {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(290px, 1.05fr) minmax(290px, 0.95fr);
}

.business-strip img,
.training-image,
.collections-poster,
.contact-card,
.collection-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.business-strip img {
  background: var(--soft);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.business-copy {
  background: linear-gradient(145deg, var(--green-dark), #0a1c12);
  border: 1px solid rgba(168, 255, 101, 0.4);
  border-radius: 8px;
  color: var(--white);
  padding: clamp(22px, 4vw, 34px);
}

.business-copy h3 {
  color: var(--gold);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

.business-copy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0;
  padding: 0;
}

.business-copy li {
  border-left: 4px solid var(--green-bright);
  padding-left: 13px;
}

.business-copy strong,
.business-copy span {
  display: block;
}

.business-copy span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.vision {
  color: var(--cream);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 0;
  text-transform: uppercase;
}

.about-close {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 8px solid var(--green);
  border-radius: 8px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 28px);
}

.about-close p {
  color: var(--muted);
  font-size: 18px;
}

.about-close strong,
.about-close span {
  display: block;
}

.about-close strong {
  color: var(--green-dark);
  font-size: 20px;
  margin-top: 8px;
}

.about-close span {
  color: var(--green-dark);
  font-weight: 900;
  margin-top: 10px;
}

.products-section {
  background:
    linear-gradient(rgba(5, 13, 8, 0.92), rgba(5, 13, 8, 0.92)),
    radial-gradient(circle at 18% 18%, rgba(111, 189, 56, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(168, 255, 101, 0.2), transparent 24%);
  color: var(--white);
}

.products-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.products-section h2 {
  color: var(--gold-soft);
  font-family: "Roboto Slab", Georgia, serif;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-card {
  background: rgba(6, 10, 6, 0.72);
  border: 2px solid var(--green-bright);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  position: relative;
}

.collection-card.selected-product {
  background: rgba(168, 255, 101, 0.16);
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(245, 212, 107, 0.22), var(--shadow);
}

.collection-card.selected-product .btn-card {
  background: var(--gold-soft);
  color: var(--black);
}


.product-picker {
  margin-bottom: 16px;
  position: relative;
}

.product-picker::after {
  background: rgba(37, 95, 45, 0.88);
  border-radius: 6px;
  bottom: 12px;
  color: var(--white);
  content: "Tap a flavour";
  font-size: 12px;
  font-weight: 900;
  left: 12px;
  padding: 6px 9px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
}

.product-picker:has(.selected-flavour)::after {
  background: var(--gold-soft);
  color: var(--black);
  content: "Selected";
}

.product-picker .collection-photo {
  margin-bottom: 0;
}

.product-picker button {
  align-items: center;
  background: rgba(16, 16, 16, 0.02);
  border: 2px solid transparent;
  color: transparent;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 0;
  padding: 0;
  position: absolute;
}

.product-picker button:hover,
.product-picker button:focus-visible,
.product-picker button.selected-flavour {
  background: rgba(245, 212, 107, 0.2);
  border-color: var(--gold-soft);
  box-shadow: inset 0 0 0 999px rgba(245, 212, 107, 0.08);
  color: var(--black);
  outline: 0;
}

.product-picker button.selected-flavour::after {
  background: var(--gold-soft);
  border-radius: 999px;
  bottom: 8px;
  color: var(--black);
  content: attr(data-select-flavour);
  padding: 6px 10px;
  position: absolute;
}

.daily-picker button {
  height: 33.333%;
  width: 33.333%;
}

.daily-picker button:nth-of-type(1),
.daily-picker button:nth-of-type(2),
.daily-picker button:nth-of-type(3) {
  top: 0;
}

.daily-picker button:nth-of-type(4),
.daily-picker button:nth-of-type(5),
.daily-picker button:nth-of-type(6) {
  top: 33.333%;
}

.daily-picker button:nth-of-type(7),
.daily-picker button:nth-of-type(8),
.daily-picker button:nth-of-type(9) {
  top: 66.666%;
}

.daily-picker button:nth-of-type(1),
.daily-picker button:nth-of-type(4),
.daily-picker button:nth-of-type(7) {
  left: 0;
}

.daily-picker button:nth-of-type(2),
.daily-picker button:nth-of-type(5),
.daily-picker button:nth-of-type(8) {
  left: 33.333%;
}

.daily-picker button:nth-of-type(3),
.daily-picker button:nth-of-type(6),
.daily-picker button:nth-of-type(9) {
  left: 66.666%;
}

.premium-picker button {
  height: 50%;
  width: 33.333%;
}

.premium-picker button:nth-of-type(1),
.premium-picker button:nth-of-type(2),
.premium-picker button:nth-of-type(3) {
  top: 0;
}

.premium-picker button:nth-of-type(4),
.premium-picker button:nth-of-type(5),
.premium-picker button:nth-of-type(6) {
  top: 50%;
}

.premium-picker button:nth-of-type(1),
.premium-picker button:nth-of-type(4) {
  left: 0;
}

.premium-picker button:nth-of-type(2),
.premium-picker button:nth-of-type(5) {
  left: 33.333%;
}

.premium-picker button:nth-of-type(3),
.premium-picker button:nth-of-type(6) {
  left: 66.666%;
}

.elite-picker button {
  height: 50%;
  width: 50%;
}

.elite-picker button:nth-of-type(1),
.elite-picker button:nth-of-type(2) {
  top: 0;
}

.elite-picker button:nth-of-type(3),
.elite-picker button:nth-of-type(4) {
  top: 50%;
}

.elite-picker button:nth-of-type(1),
.elite-picker button:nth-of-type(3) {
  left: 0;
}

.elite-picker button:nth-of-type(2),
.elite-picker button:nth-of-type(4) {
  left: 50%;
}

.pft-picker button {
  inset: 0;
}

.collection-card::before,
.collection-card::after {
  border-color: var(--green-bright);
  border-style: solid;
  content: "";
  height: 24px;
  position: absolute;
  top: 11px;
  width: 24px;
}

.collection-card::before {
  border-width: 2px 0 0 2px;
  left: 11px;
}

.collection-card::after {
  border-width: 2px 2px 0 0;
  right: 11px;
}

.collection-title {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.collection-title h3 {
  color: var(--green-bright);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 28px;
  margin: 0;
  text-transform: uppercase;
}

.collection-title span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pft-card p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  min-height: 48px;
  margin-bottom: 22px;
}

.price-grid {
  align-items: baseline;
  display: grid;
  gap: 6px 14px;
  grid-template-columns: 1fr auto;
  margin: auto 0 18px;
}

.price-grid span {
  color: var(--gold-soft);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.price-grid strong {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.btn-card {
  background: var(--green);
  color: var(--black);
  width: 100%;
}

.btn-card:hover {
  background: var(--green-bright);
  color: var(--black);
}

.collections-poster {
  background: var(--black);
  border: 1px solid rgba(168, 255, 101, 0.38);
  margin: 26px 0 0;
}

.collections-poster img {
  width: 100%;
}

.collections-poster figcaption {
  color: var(--green-bright);
  font-weight: 900;
  padding: 14px 18px 18px;
  text-align: center;
}

.vat-note {
  background: rgba(168, 255, 101, 0.1);
  border: 1px solid rgba(168, 255, 101, 0.38);
  border-radius: 8px;
  color: var(--green-bright);
  font-weight: 900;
  margin: 26px 0 0;
  padding: 16px 18px;
  text-align: center;
}

.ingredient-note {
  background: rgba(168, 255, 101, 0.1);
  border: 1px solid rgba(168, 255, 101, 0.38);
  border-radius: 8px;
  color: var(--green-bright);
  font-size: 18px;
  font-weight: 900;
  margin: 16px 0 0;
  padding: 16px 18px;
  text-align: center;
}

.medical-note {
  background: var(--black);
  border-left: 8px solid var(--green);
  border-radius: 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  margin: 26px 0 0;
  padding: 18px 20px;
}

.join-section {
  align-items: center;
  background: linear-gradient(135deg, var(--cream), var(--white));
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr) minmax(300px, 0.9fr);
}

.join-copy h2 {
  color: var(--green-dark);
}

.join-copy p {
  color: var(--muted);
  font-size: 18px;
}

.join-card-list {
  display: grid;
  gap: 12px;
}

.join-card-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.08);
  padding: 16px;
}

.join-card-list strong,
.join-card-list span {
  display: block;
}

.join-card-list strong {
  color: var(--green-dark);
  font-size: 18px;
}

.join-card-list span {
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.training-image {
  margin: 0;
}

.training-image img {
  aspect-ratio: 16 / 10;
  height: 100%;
  background: var(--soft);
  object-fit: contain;
  width: 100%;
}

.contact-section {
  align-items: center;
  background: var(--soft);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.contact-copy h2,
.contact-copy .eyebrow,
.contact-copy p {
  color: var(--black);
}

.contact-copy p {
  font-size: 18px;
  font-weight: 700;
}

.delivery-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 8px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.08);
  margin-top: 22px;
  padding: 18px;
}

.delivery-note strong,
.delivery-note span {
  display: block;
}

.delivery-note strong {
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}

.delivery-note span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card {
  background: var(--white);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-card a:not(.btn) {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  padding: 14px 16px;
}

.contact-card span {
  color: var(--green-dark);
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.site-footer {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.admin-section {
  background: var(--soft);
}

.admin-section h1 {
  color: var(--green-dark);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  margin-bottom: 18px;
}

.admin-login,
.panel,
.metric,
.admin-toolbar {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login {
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 430px) auto;
  max-width: 720px;
  padding: clamp(18px, 3vw, 28px);
}

.dashboard {
  display: grid;
  gap: 18px;
}

.hidden {
  display: none;
}

.admin-toolbar {
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px;
}

.admin-toolbar strong,
.admin-toolbar span {
  display: block;
}

.admin-toolbar span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-actions,
.panel-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metric-grid,
.performance-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
}

.metric {
  padding: 18px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric strong {
  color: var(--green-dark);
  display: block;
  font-size: 30px;
  font-weight: 900;
  margin-top: 5px;
}

.admin-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: clamp(18px, 3vw, 28px);
}

.panel h3 {
  color: var(--green-dark);
}

.panel-note {
  color: var(--muted);
  font-weight: 700;
}

.stack-form {
  display: grid;
  gap: 13px;
}

label {
  color: var(--green-dark);
  display: grid;
  font-size: 14px;
  font-weight: 900;
  gap: 7px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--black);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-message {
  color: var(--green-dark);
  font-weight: 900;
  margin: 0;
}

.mini-list,
.stock-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-list article,
.stock-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.mini-list strong,
.mini-list span,
.stock-item strong,
.stock-item span {
  display: block;
}

.mini-list span,
.stock-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stock-item {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 110px 150px 100px;
}

.stock-toggle {
  align-items: center;
  display: flex;
  gap: 8px;
}

.stock-toggle input {
  min-height: 18px;
  width: 18px;
}

.sold-out-text {
  color: #b00020;
  font-weight: 900;
}

.in-stock-text {
  color: var(--green-dark);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

td strong {
  color: var(--black);
}

@media (max-width: 1120px) {
  .hero,
  .business-strip,
  .about-story,
  .join-section,
  .contact-section,
  .admin-panels {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }


  .product-grid {
    grid-template-columns: 1fr;
  }

  .price-grid strong {
    font-size: 22px;
  }

  .admin-login,
  .metric-grid,
  .stock-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-copy {
    display: none;
  }

  .aplgo-logo strong {
    font-size: 29px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 8px 9px;
  }

  h1 {
    font-size: 39px;
  }

  .collection-card {
    padding: 20px 16px;
  }
}
