/* ============================================================
   Soft Herb House — catalog-style theme
   Palette: white / gray / cyan accent; arial stack
   ============================================================ */

:root {
  --shh-accent: #62c7e7;
  --shh-accent-dark: #2fb3dc;
  --shh-ink: #333;
  --shh-secondary: #666;
  --shh-muted: #999;
  --shh-line: #e5e5e5;
  --shh-block: #f5f5f5;
  --shh-overlay: rgba(0, 0, 0, 0.55);
  --shh-rail: #4a4a4a;
  --shh-footer-a: #ffffff;
  --shh-footer-b: #d8eef6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: arial, helvetica, sans-serif;
  font-size: 16px;
  color: var(--shh-ink);
  background: #fff;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header:not(.is-scrolled) {
  background-image: linear-gradient(180deg, rgba(24, 32, 40, 0.45), rgba(24, 32, 40, 0));
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  color: #fff;
  gap: 0.65rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 11px;
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.92;
  margin-top: 2px;
}

.site-header:not(.is-scrolled) .navbar-brand {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled .navbar-brand {
  color: var(--shh-ink);
  text-shadow: none;
}

.footer-brand {
  color: var(--shh-ink);
  gap: 0.65rem;
}

.footer-brand .brand-tag {
  color: var(--shh-muted);
  opacity: 1;
}

.site-header .nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-header.is-scrolled .nav-link {
  color: var(--shh-secondary);
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--shh-accent);
}

.site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

.site-header .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

.site-header.is-scrolled .navbar-toggler {
  border-color: var(--shh-line);
}

.site-header.is-scrolled .navbar-toggler-icon {
  filter: none;
}

@media (max-width: 767.98px) {
  .site-header .navbar-collapse {
    background: #fff;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  }

  .site-header .navbar-collapse .nav-link {
    color: var(--shh-secondary);
  }

  .search-pill {
    margin-top: 0.5rem;
  }
}

.search-pill {
  display: flex;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--shh-line);
}

.search-pill input {
  border: 0;
  outline: none;
  padding: 0.45rem 0.8rem;
  font-size: 13px;
  min-width: 170px;
  color: var(--shh-ink);
}

.search-pill:focus-within {
  box-shadow: 0 0 0 2px var(--shh-accent-dark);
}

.search-pill button {
  border: 0;
  background: var(--shh-accent);
  color: #fff;
  padding: 0 0.7rem;
  display: grid;
  place-items: center;
}

.search-pill button:hover,
.search-pill button:focus {
  background: var(--shh-accent-dark);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: clamp(460px, 52vw, 720px);
  object-fit: cover;
  object-position: center 40%;
}

.hero-panel {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 2rem));
  background: var(--shh-overlay);
  color: #fff;
  padding: 2rem 2.4rem;
}

.hero-panel h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-panel .rule {
  width: 34px;
  height: 2px;
  background: #fff;
  margin: 0.9rem 0;
}

.hero-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  display: block;
}

@media (max-width: 575.98px) {
  .hero-panel {
    top: auto;
    bottom: 16%;
    padding: 1.25rem;
  }

  .hero-panel h1 {
    font-size: 18px;
  }

  .hero-panel p {
    font-size: 13px;
  }
}

/* ---------- Floating rail ---------- */

.side-rail {
  position: fixed;
  right: 14px;
  top: 38%;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-rail a {
  width: 46px;
  height: 46px;
  background: var(--shh-rail);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.side-rail a:hover,
.side-rail a:focus {
  background: var(--shh-accent);
}

@media (max-width: 767.98px) {
  .side-rail {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn-accent {
  display: inline-block;
  background: var(--shh-accent);
  color: #fff;
  border: 0;
  padding: 0.65rem 1.8rem;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--shh-accent-dark);
  color: #fff;
}

.btn-ask {
  display: inline-block;
  background: var(--shh-accent);
  color: #fff;
  font-size: 12px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ask:hover,
.btn-ask:focus {
  background: var(--shh-accent-dark);
  color: #fff;
}

/* ---------- Content sections ---------- */

.section-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--shh-secondary);
  margin-bottom: 1.25rem;
}

.sub-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shh-secondary);
  margin: 1.25rem 0 0.5rem;
}

.content-section p {
  color: var(--shh-secondary);
  line-height: 1.8;
}

.content-section p strong {
  color: var(--shh-ink);
}

.dot-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.dot-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--shh-secondary);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.dot-list li::before {
  content: "\25CF";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.8em;
  color: var(--shh-accent);
}

.dot-list ul {
  list-style: none;
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

.dot-list ul li {
  color: var(--shh-muted);
}

.dot-list ul li::before {
  content: "\25CB";
  color: var(--shh-muted);
}

/* ---------- Breadcrumb ---------- */

.breadcrumb-bar {
  border-top: 1px solid var(--shh-line);
  border-bottom: 1px solid var(--shh-line);
  padding: 0.7rem 0;
  font-size: 13px;
  color: var(--shh-muted);
}

.breadcrumb-bar a {
  color: var(--shh-muted);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: var(--shh-accent-dark);
}

/* ---------- Side box (categories / notes header) ---------- */

.side-box__head {
  background: var(--shh-accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.7rem 1rem;
  font-size: 15px;
}

.side-box__list {
  background: var(--shh-block);
  border: 1px solid #ececec;
  border-top: 0;
}

.side-box__list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #ececec;
  padding: 0.55rem 1rem;
  font-size: 14px;
  color: var(--shh-secondary);
  cursor: pointer;
}

.side-box__list button:last-child {
  border-bottom: 0;
}

.side-box__list button.active,
.side-box__list button:hover,
.side-box__list button:focus {
  color: var(--shh-accent-dark);
  background: #fff;
}

@media (max-width: 767.98px) {
  .side-box__list {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ececec;
  }

  .side-box__list button {
    width: auto;
    border: 0;
    padding: 0.45rem 0.8rem;
  }
}

/* ---------- Product table ---------- */

.product-table-wrap {
  overflow-x: auto;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.product-table th {
  background: var(--shh-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.product-table th:first-child {
  width: 52px;
}

.product-table td {
  border: 1px solid var(--shh-line);
  padding: 0.6rem 0.8rem;
  color: var(--shh-secondary);
  vertical-align: middle;
}

.product-table td img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  background: #fff;
  display: block;
  border: 1px solid var(--shh-line);
}

.product-spec {
  display: block;
  margin-top: 0.25rem;
  font-size: 12px;
  font-weight: 400;
  color: var(--shh-muted);
  line-height: 1.45;
}

.product-name {
  color: var(--shh-accent-dark);
  font-weight: 700;
}

/* ---------- Product notes ---------- */

.note-card {
  background: var(--shh-block);
  padding: 1.1rem 1.2rem;
}

.note-card + .note-card {
  margin-top: 1rem;
}

.note-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--shh-secondary);
}

.note-card p {
  font-size: 13px;
  color: var(--shh-muted);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Footer ---------- */

.site-footer {
  background: linear-gradient(180deg, var(--shh-footer-a) 0%, var(--shh-footer-b) 100%);
}

.site-footer h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--shh-secondary);
}

.site-footer p,
.site-footer li {
  font-size: 13px;
  color: var(--shh-secondary);
}

.site-footer a {
  color: var(--shh-secondary);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--shh-accent-dark);
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-keywords {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
  font-size: 12px;
  color: var(--shh-muted);
}

/* ---------- Disclaimer page ---------- */

.page-narrow {
  max-width: 46rem;
  margin: 0 auto;
  padding: 7rem 1rem 4.5rem;
}

.page-narrow h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--shh-secondary);
}

.page-narrow .disclaimer-updated {
  color: var(--shh-muted);
  font-size: 13px;
}

.page-narrow h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--shh-secondary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-narrow p {
  color: var(--shh-secondary);
  line-height: 1.8;
  font-size: 14px;
}

.page-narrow a {
  color: var(--shh-accent-dark);
}
