/*
---------------------------------------------------
Copyright (c) 2025, PANTRY CURE
---------------------------------------------------
*/

body {
  font-size: 17px;
  line-height: 1.6;
}

.text-muted {
  color: #5f6670 !important;
}

section .lead {
  line-height: 1.65;
}

section p,
section li {
  line-height: 1.6;
}

.bg-gradient h1,
.bg-gradient .display-4 {
  letter-spacing: -0.02em;
}

.bg-gradient .cure-sub {
  line-height: 1.2;
}

.bg-gradient p.lead {
  font-size: 1.08rem;
  max-width: 820px !important;
}

.navbar-nav { text-align:center; }

.navbar .nav-item,
.navbar .nav-link {
  font-weight: 500;
  color: #69c;
}

.navbar .nav-item:hover, .navbar .nav-link:hover { color:#595f69; }

#app-remedy input,
#app-remedy select {
  font-size: 1rem;
}

#app-remedy .form-control-lg,
#app-remedy .form-select-lg {
  min-height: 52px;
}

#app-remedy-submit {
  min-height: 54px;
  font-size: 1.05rem;
}

section h3.h4 {
  font-size: 1.25rem;
}

section .bi.fs-1 {
  font-size: 2.25rem !important;
}

.remedy-card .card {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.remedy-card .card-body {
  padding: 1.35rem;
}

.remedy-card .card-title {
  font-size: 1.35rem;
  line-height: 1.18;
}

.remedy-card .card-text {
  font-size: 0.98rem;
}

.remedy-card .card-text.small {
  font-size: 0.88rem;
  line-height: 1.35;
}

.remedy-card .card-text.small .cure-green {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.remedy-card .btn-outline-success {
  font-weight: 600;
  border-width: 1.5px;
}

#premium .card,
section .card {
  border-color: rgba(0, 0, 0, 0.07);
}

section.bg-light a.text-muted {
  color: #45505c !important;
  font-size: 0.98rem;
  line-height: 1.7;
}

section.bg-light a.text-muted:hover {
  color: #198754 !important;
  text-decoration: underline !important;
}

section.bg-light h5 {
  font-size: 1.08rem;
}

.alert .lead {
  font-size: 1rem;
}

.pantry-static-page {
  max-width: 920px;
  color: #263238;
}

.pantry-static-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #76bdb7;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.pantry-static-page > h2:first-of-type {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #93a82b;
  font-weight: 700;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.pantry-static-page h2 {
  color: #76bdb7;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2.35rem;
  margin-bottom: 0.85rem;
}

.pantry-static-page h3 {
  color: #198754;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  font-weight: 800;
  margin-top: 1.45rem;
  margin-bottom: 0.45rem;
}

.pantry-static-page p {
  font-size: 1.07rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.pantry-static-page ul {
  padding-left: 1.35rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.pantry-static-page li {
  font-size: 1.04rem;
  line-height: 1.62;
  margin-bottom: 0.42rem;
}

.pantry-static-page a {
  font-weight: 700;
}

.pantry-static-page .cure-green {
  color: #6f8f1f !important;
}

.pantry-static-page strong.cure-green,
.pantry-static-page li strong.cure-green {
  color: #6f8f1f !important;
}

.pantry-static-page h2:not(:first-of-type) {
  border-top: 1px solid rgba(118, 189, 183, 0.22);
  padding-top: 1.6rem;
}

.pantry-static-page h2 + h3.cure-help {
  margin-top: 1rem;
}

.pantry-static-page h3.cure-help {
  background: rgba(118, 189, 183, 0.09);
  border-left: 4px solid #76bdb7;
  border-radius: 0.4rem;
  padding: 0.65rem 0.85rem;
  color: #198754;
}

.pantry-static-page .pantry-note {
  background: #f6fbfb;
  border: 1px solid rgba(118, 189, 183, 0.25);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
}

.pantry-premium-page #how-premium-works .card {
  min-height: 185px;
}

.pantry-premium-page #how-premium-works .card-body {
  padding: 1.35rem 1rem;
}

.pantry-premium-page #how-premium-works h3 {
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.pantry-premium-page #how-premium-works p {
  font-size: 0.98rem;
  line-height: 1.5;
}

.pantry-static-page #faqAccordion {
  margin-top: 1.5rem;
}

.pantry-static-page #faqAccordion .accordion-item {
  border: 1px solid rgba(118, 189, 183, 0.22);
  border-radius: 0.65rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #fff;
}

.pantry-static-page #faqAccordion h2.accordion-header {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: initial !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  color: inherit !important;
}

.pantry-static-page #faqAccordion .accordion-button {
  padding: 1rem 1.15rem;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 700;
  color: #263238;
  background: #fff;
  box-shadow: none;
}

.pantry-static-page #faqAccordion .accordion-button:not(.collapsed) {
  color: #1f6f63;
  background: #eef9f8;
}

.pantry-static-page #faqAccordion .accordion-button:focus {
  border-color: rgba(118, 189, 183, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(118, 189, 183, 0.18);
}

.pantry-static-page #faqAccordion .accordion-button::after {
  flex-shrink: 0;
}

.pantry-static-page #faqAccordion .accordion-body {
  padding: 1.15rem 1.25rem 1.25rem;
  background: #fff;
}

.pantry-static-page #faqAccordion .accordion-body p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.pantry-static-page #faqAccordion .accordion-body p:last-child,
.pantry-static-page #faqAccordion .accordion-body ul:last-child {
  margin-bottom: 0;
}

.pantry-static-page #faqAccordion .accordion-body ul {
  margin-top: 0.4rem;
  margin-bottom: 0.9rem;
}

.pantry-static-page #faqAccordion .accordion-body li {
  font-size: 1rem;
  line-height: 1.55;
}

.pantry-login-page .pantry-login-info,
.pantry-login-page .pantry-login-card {
  background: #fff;
}

.pantry-login-page .pantry-login-info {
  border: 1px solid rgba(118, 189, 183, 0.2) !important;
}

.pantry-login-page .pantry-login-card {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.pantry-login-page .lead {
  font-size: 1.05rem;
  line-height: 1.65;
}

.pantry-login-page li {
  font-size: 1.02rem;
  line-height: 1.5;
}

.pantry-login-page #login {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.pantry-login-page #login .btn {
  min-height: 50px;
  font-weight: 700;
}

.pantry-remedies-page {
  max-width: 980px;
}

.pantry-remedies-hero .lead {
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.65;
}

.pantry-remedies-hero .text-muted {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.pantry-remedy-section {
  border-top: 1px solid rgba(118, 189, 183, 0.22);
  padding-top: 1.75rem;
}

.pantry-remedy-section h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
}

.pantry-season-badge {
  border: 1px solid rgba(118, 189, 183, 0.28);
  color: #6f8f1f !important;
  background: #f6fbfb !important;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.pantry-remedy-card {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  background: #fff;
  border: 1px solid rgba(118, 189, 183, 0.22);
  border-radius: 0.85rem;
  padding: 1.15rem 1.2rem;
  color: #263238;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

.pantry-remedy-card:hover,
.pantry-remedy-card:focus {
  border-color: rgba(118, 189, 183, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.075);
  transform: translateY(-2px);
}

.pantry-remedy-card .pantry-remedy-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(118, 189, 183, 0.12);
  color: #1f6f63;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pantry-remedy-card h4 {
  color: #198754;
  font-size: 1.14rem;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 0.65rem;
}

.pantry-remedy-card p {
  color: #5f6670;
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.pantry-remedy-link {
  margin-top: auto;
  color: #0d6efd;
  font-weight: 800;
  font-size: 0.95rem;
}

.pantry-remedy-card:hover .pantry-remedy-link,
.pantry-remedy-card:focus .pantry-remedy-link {
  color: #198754;
}

.pantry-remedy-detail-page {
  max-width: 920px;
}

.pantry-remedy-detail-hero {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.pantry-remedy-detail-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.14;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.pantry-remedy-season {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(118, 189, 183, 0.12);
  color: #1f6f63;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pantry-ingredient-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pantry-ingredient-chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(149, 163, 54, 0.28);
  border-radius: 999px;
  background: #fbfcf2;
  color: #6f8f1f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.pantry-remedy-summary {
  font-size: 1.04rem;
  line-height: 1.65;
}

.pantry-remedy-content-card {
  background: #fff;
  border: 1px solid rgba(118, 189, 183, 0.22);
  border-radius: 0.95rem;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.04);
}

.pantry-remedy-content-card h2,
.pantry-remedy-content-card h3,
.pantry-remedy-content-card h4 {
  color: #76bdb7;
  font-weight: 800;
  line-height: 1.22;
  margin-top: 1.55rem;
  margin-bottom: 0.7rem;
}

.pantry-remedy-content-card h2:first-child,
.pantry-remedy-content-card h3:first-child,
.pantry-remedy-content-card h4:first-child {
  margin-top: 0;
}

.pantry-remedy-content-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.pantry-remedy-content-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.pantry-remedy-content-card h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.pantry-remedy-content-card p {
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pantry-remedy-content-card ul,
.pantry-remedy-content-card ol {
  margin-top: 0.5rem;
  margin-bottom: 1.1rem;
  padding-left: 1.35rem;
}

.pantry-remedy-content-card li {
  font-size: 1.03rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.pantry-remedy-content-card strong {
  color: #263238;
}

.pantry-remedy-content-card p strong:first-child {
  color: #198754;
}


@media (max-width: 767px) {
  body {
    font-size: 18px;
  }

  .bg-gradient .display-4 {
    font-size: 2.05rem;
  }

  .bg-gradient .display-6 {
    font-size: 1.35rem;
  }

  .navbar .nav-item,
  .navbar .nav-link {
    display: block;
    padding: 0.35rem 0;
  }

  .remedy-card .card-title {
    font-size: 1.45rem;
  }

  section {
    scroll-margin-top: 1rem;
  }

  .pantry-static-page {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .pantry-static-page p,
  .pantry-static-page li {
    font-size: 1.03rem;
    line-height: 1.65;
  }

  .pantry-static-page h2 {
    margin-top: 2rem;
  }

  .pantry-static-page ul {
    padding-left: 1.15rem;
  }

  .pantry-premium-page #how-premium-works .col-sm-6 {
    margin-bottom: 1rem;
  }

  .pantry-support-page #app-contact .input-group {
    display: block;
  }

  .pantry-support-page #app-contact .input-group-text {
    display: block;
    width: 100% !important;
    border-radius: 0.5rem 0.5rem 0 0;
    text-align: left !important;
    font-weight: 700;
    background: #f6fbfb;
  }

  .pantry-support-page #app-contact .form-control {
    width: 100%;
    border-radius: 0 0 0.5rem 0.5rem;
    min-height: 46px;
  }

  .pantry-support-page #app-contact textarea.form-control {
    min-height: 140px;
  }

  .pantry-support-page #app-contact label.error {
    display: block;
    text-align: left;
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
  }

  .pantry-support-page #app-contact-submit {
    min-height: 50px;
    font-weight: 700;
  }

  .pantry-login-page .pantry-login-info {
    text-align: left;
  }

  .pantry-remedy-card {
    min-height: auto;
    padding: 1rem;
  }

  .pantry-remedy-card h4 {
    font-size: 1.08rem;
  }

  .pantry-remedies-page .d-flex {
    align-items: flex-start !important;
  }

  .pantry-remedy-content-card {
    padding: 1.15rem;
    border-radius: 0.75rem;
  }

  .pantry-remedy-detail-hero h1 {
    font-size: 1.75rem;
  }

  .pantry-ingredient-chips {
    justify-content: flex-start;
  }

  .pantry-ingredient-chips span {
    font-size: 0.9rem;
  }

}
