/* Shared compact presentation for every product collection page. */

/* Keep collection navigation identical to the homepage navigation. */
.millet-page .topbar { font-size: 13px; }
.millet-page .topbar-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 34px;
  justify-content: center;
  gap: clamp(22px, 8vw, 86px);
}
.millet-page .topbar-item { gap: 9px; }
.millet-page .topbar .icon { width: 19px; height: 19px; }
.millet-page .nav-shell { min-height: 104px; gap: 30px; }
.millet-page .brand { min-width: 300px; }
.millet-page .brand-logo { width: 300px; }
.millet-page .primary-nav { gap: clamp(22px, 4vw, 48px); font-size: 14px; }
.millet-page .primary-nav > a,
.millet-page .primary-nav > .nav-menu-item > .dropdown-toggle { padding: 42px 0 34px; }
.millet-page .primary-nav a.active::after { bottom: 27px; }
.millet-page .nav-tools { min-width: 240px; gap: 20px; }
.millet-page .icon-button { width: 36px; height: 36px; }
.millet-page .nav-tools .icon { width: 19px; height: 19px; }
.millet-page .whatsapp-button { min-height: 44px; padding: 0 20px; font-size: 12px; }

/* Compact collection hero. */
.millet-page .millet-hero { padding: 15px 0 28px; }
.millet-page .millet-breadcrumb { margin-bottom: 11px; font-size: 10px; }
.millet-page .millet-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(26px, 4vw, 50px);
}
.millet-page .millet-eyebrow { gap: 7px; margin-bottom: 8px; font-size: 10px; }
.millet-page .millet-eyebrow::before { width: 22px; }
.millet-page .millet-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: .98; }
.millet-page .millet-hero-copy { margin-top: 13px; font-size: 14px; line-height: 1.55; }
.millet-page .millet-hero-actions { gap: 9px; margin-top: 15px; }
.millet-page .millet-action { min-height: 38px; padding: 0 15px; font-size: 10px; }
.millet-page .millet-facts { gap: 7px; margin-top: 14px; }
.millet-page .millet-facts li { gap: 6px; padding: 6px 9px; font-size: 9px; }
.millet-page .millet-hero-visual { min-height: 315px; }
.millet-page .millet-hero-main {
  right: 36px;
  bottom: 28px;
  border-width: 5px;
  border-radius: 24px 68px 24px 24px;
}
.millet-page .millet-hero-small { border-width: 4px; }
.millet-page .millet-hero-seal {
  top: 14px;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-width: 4px;
  font-size: 8px;
}

/* Compact, scalable product grid. */
.millet-page .millet-products { padding: 22px 0 40px; }
.millet-page .millet-section-heading { gap: 16px; margin-bottom: 12px; }
.millet-page .millet-section-heading .millet-eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: .09em;
}
.millet-page .millet-section-heading .millet-eyebrow::before { width: 18px; }
.millet-page .millet-section-heading h2 {
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.08;
  scroll-margin-top: 110px;
}
.millet-page .millet-section-heading > p { max-width: 430px; font-size: 12px; line-height: 1.5; }
.millet-page .millet-product-grid { gap: 16px; }
.millet-page .millet-card { border-radius: 18px; }
.millet-page .millet-card[hidden] { display: none; }
.millet-page .millet-card-media { aspect-ratio: 1.42 / 1; }
.millet-page .millet-card-badge { top: 10px; left: 10px; padding: 5px 8px; font-size: 8px; }
.millet-page .millet-card-body { padding: 15px; }
.millet-page .millet-card-kicker { margin-bottom: 5px; font-size: 8px; }
.millet-page .millet-card h2 { font-size: 18px; line-height: 1.15; }
.millet-page .millet-card-description {
  min-height: 2.9em;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}
.millet-page .millet-card-purchase { padding-top: 12px; }
.millet-page .millet-pack { font-size: 8px; }
.millet-page .millet-price { font-size: 20px; }
.millet-page .millet-card-actions { gap: 7px; margin-top: 11px; }
.millet-page .millet-card-link { min-height: 36px; padding: 0 9px; border-radius: 9px; font-size: 8px; }
.millet-page .millet-ordering { padding-bottom: 45px; }
.millet-page .millet-order-panel { padding: 30px; border-radius: 20px; }
.millet-page #millet-products-heading { scroll-margin-top: 110px; }

.millet-page .millet-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.millet-page .millet-pagination button {
  min-width: 105px;
  padding: 9px 13px;
  border: 1px solid #c8d5ba;
  border-radius: 999px;
  color: #31520f;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.millet-page .millet-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.millet-page .millet-pagination span {
  color: #405437;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.millet-page .millet-pagination small {
  display: block;
  margin-top: 2px;
  color: #74806b;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .millet-page .nav-shell { min-height: 88px; }
  .millet-page .brand { min-width: 300px; }
  .millet-page .brand-logo { width: 300px; }
  .millet-page .nav-tools { min-width: 0; }
}

@media (max-width: 900px) {
  .millet-page .millet-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .millet-page .millet-hero-visual { min-height: 275px; }
  .millet-page .millet-card:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .millet-page .millet-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }
}

@media (max-width: 740px) {
  .millet-page .topbar { display: block; font-size: 7px; }
  .millet-page .topbar-inner {
    width: calc(100% - 12px);
    min-height: 24px;
    justify-content: space-between;
    gap: 4px;
  }
  .millet-page .topbar-item { gap: 3px; }
  .millet-page .topbar .icon { width: 10px; height: 10px; }
  .millet-page .nav-shell { width: min(calc(100% - 24px), 640px); min-height: 88px; gap: 12px; }
  .millet-page .brand { min-width: 0; }
  .millet-page .brand-logo { width: 218px; }
  .millet-page .nav-tools { gap: 8px; }

  .millet-page .millet-hero { padding: 12px 0 24px; }
  .millet-page .millet-breadcrumb { margin-bottom: 10px; }
  .millet-page .millet-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .millet-page .millet-hero h1 { font-size: clamp(32px, 11vw, 44px); }
  .millet-page .millet-hero-copy { font-size: 13px; line-height: 1.5; }
  .millet-page .millet-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .millet-page .millet-action { width: auto; }
  .millet-page .millet-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .millet-page .millet-hero-visual { min-height: 225px; }
  .millet-page .millet-products { padding: 20px 0 32px; }
  .millet-page .millet-section-heading { gap: 7px; margin-bottom: 11px; }
  .millet-page .millet-section-heading h2 { font-size: 23px; }
  .millet-page .millet-card-media { aspect-ratio: 1.55 / 1; }
}

@media (max-width: 640px) {
  .millet-page .millet-card:last-child,
  .millet-page .millet-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 430px) {
  .millet-page .brand-logo { width: 190px; }
  .millet-page .millet-hero h1 { font-size: clamp(30px, 10vw, 38px); }
  .millet-page .millet-hero-copy { font-size: 12px; line-height: 1.4; }
  .millet-page .millet-action { padding: 0 8px; font-size: 8px; }
  .millet-page .millet-hero-visual { min-height: 165px; }
  .millet-page .millet-pagination { gap: 7px; }
  .millet-page .millet-pagination button { min-width: 84px; padding: 8px; font-size: 8px; }
}

@media (max-width: 360px) {
  .millet-page .topbar { font-size: 6px; }
  .millet-page .topbar-inner { width: calc(100% - 8px); gap: 2px; }
  .millet-page .topbar-item { gap: 2px; }
  .millet-page .topbar .icon { width: 8px; height: 8px; }
}
