/* Store category landing pages (/store/:slug) — static shell aligned with store home */

.store-category-page {
  background: #f5f8f7;
}

.sc-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(14px, 1.8vw, 24px);
  width: 100%;
  box-sizing: border-box;
}

.sc-back-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sc-bc {
  font-size: 0.88rem;
  color: #64748b;
}

.sc-bc a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.sc-bc a:hover {
  text-decoration: underline;
}

.sc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #c8e3d7;
  background: #fff;
  color: #08764b;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.sc-back:hover {
  background: #e8fff2;
}

.sc-search-dummy {
  width: 100%;
  max-width: 420px;
  margin-bottom: 18px;
}

.sc-search-dummy input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dfe8e4;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  background: #fff;
  color: #64748b;
}

.sc-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: #0f172a;
  font-weight: 800;
  line-height: 1.2;
}

.sc-subtitle {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 0.95rem;
  max-width: 760px;
  line-height: 1.45;
}

.sc-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.sc-trust-item {
  background: #fff;
  border: 1px solid #e0e8e5;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sc-trust-item strong {
  display: block;
  font-size: 0.84rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.sc-trust-item span {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}

.sc-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 24px;
  align-items: start;
}

.sc-main-col {
  min-width: 0;
}

.sc-section-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.sc-section-sub {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 16px;
}

.sc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.sc-card-rel {
  position: relative;
}

.sc-card-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

.sc-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.25;
}

.sc-card .sc-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.sc-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
}

.sc-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.sc-msrp {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.82rem;
}

.sc-price {
  font-weight: 800;
  color: #08764b;
  font-size: 1rem;
}

.sc-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.sc-tag-popular {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  z-index: 1;
}

.sc-link-details {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.sc-link-details:hover {
  text-decoration: underline;
}

.sc-btn {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #c8e3d7;
  background: #fff;
  color: #08764b;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.sc-btn:hover {
  background: #e8fff2;
}

.sc-aside {
  position: sticky;
  top: 12px;
  background: #fff;
  border: 1px solid #e0e8e5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.sc-aside h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #0f172a;
}

.sc-aside-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.sc-aside-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sc-address {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

.sc-address-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.sc-edit {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

.sc-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  margin-bottom: 8px;
  color: #334155;
}

.sc-totals p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 0.84rem;
  color: #475569;
}

.sc-totals .sc-total {
  font-weight: 800;
  font-size: 1.05rem;
  color: #08764b;
  margin-top: 12px;
}

.sc-rewards-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.8rem;
  color: #065f46;
  margin: 12px 0;
  line-height: 1.4;
}

.sc-pay-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #08764b;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
}

.sc-pay-btn:hover {
  filter: brightness(1.05);
}

.sc-foot-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 10px;
  line-height: 1.35;
}

.sc-show-more {
  display: block;
  text-align: center;
  margin: 24px 0 8px;
  color: #64748b;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.sc-show-more:hover {
  color: #0f172a;
}

/* Calorie packs */
.sc-cal-group {
  margin-bottom: 32px;
}

.sc-cal-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.sc-cal-label.c1500 {
  background: #dcfce7;
  color: #166534;
}

.sc-cal-label.c1800 {
  background: #ffedd5;
  color: #9a3412;
}

.sc-cal-label.c2000 {
  background: #ede9fe;
  color: #5b21b6;
}

.sc-mid-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.sc-build-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 260px);
  gap: 20px;
  align-items: start;
}

.sc-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.sc-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.sc-step-card h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #0f172a;
}

.sc-step-card p {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.sc-why {
  background: #fff;
  border: 1px solid #e0e8e5;
  border-radius: 14px;
  padding: 16px;
  font-size: 0.82rem;
  color: #475569;
}

.sc-why h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #0f172a;
}

.sc-why ul {
  margin: 0;
  padding-left: 18px;
}

.sc-notify-bar {
  margin-top: 36px;
  background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.sc-notify-bar p {
  margin: 0;
  font-weight: 700;
  color: #065f46;
  flex: 1 1 200px;
}

.sc-notify-bar form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 280px;
  justify-content: flex-end;
}

.sc-notify-bar input {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
}

/* Calorie packs page — horizontal strip layout (no wrapping rows) */
.sc-search-dummy--cal-wide {
  max-width: min(720px, 100%);
}

.sc-page-calorie-packs .sc-trust-row--strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  margin-bottom: 28px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sc-page-calorie-packs .sc-trust-item--strip {
  flex: 1 0 168px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
}

.sc-page-calorie-packs .sc-trust-item--strip .sc-trust-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-page-calorie-packs .sc-trust-copy strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}

.sc-page-calorie-packs .sc-trust-copy span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.sc-page-calorie-packs .sc-cal-trust-mid .sc-trust-item--strip {
  align-items: center;
}

.sc-page-calorie-packs .sc-cal-trust-mid {
  margin-bottom: 28px;
}

.sc-cal-strip {
  margin: 0 0 8px;
  width: 100%;
}

.sc-cal-clusters {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sc-cal-cluster {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sc-cal-cluster-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
}

.sc-page-calorie-packs .sc-cal-card {
  flex: 0 0 212px;
  width: 212px;
  box-sizing: border-box;
  padding: 16px;
}

.sc-page-calorie-packs .sc-cal-card .sc-card-img {
  aspect-ratio: 16 / 11;
}

.sc-page-calorie-packs .sc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sc-page-calorie-packs .sc-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 0.8rem;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 6px;
}

.sc-page-calorie-packs .sc-checklist li:last-child {
  margin-bottom: 0;
}

.sc-page-calorie-packs .sc-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #22c55e;
  box-shadow: inset 0 0 0 2px #fff;
}

.sc-page-calorie-packs .sc-checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.38em;
  width: 5px;
  height: 3px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

.sc-page-calorie-packs .sc-btn-coming-soon {
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border: 2px solid #08764b;
  background: #fff;
  color: #08764b;
  font-weight: 800;
}

.sc-page-calorie-packs .sc-btn-coming-soon:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.sc-page-calorie-packs .sc-btn-coming-soon:hover {
  background: #fff;
}

.sc-build-grid--cal {
  align-items: stretch;
}

.sc-build-grid--cal > .sc-cal-step-flow {
  min-width: 0;
}

.sc-cal-step-flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sc-cal-step-flow .sc-step-card {
  flex: 1 1 0;
  min-width: 148px;
  max-width: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.sc-cal-step-flow .sc-step-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.sc-cal-step-flow .sc-step-card p {
  font-size: 0.78rem;
  flex: 1 1 auto;
}

.sc-step-arrow {
  flex: 0 0 auto;
  align-self: center;
  color: #cbd5e1;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  padding: 0 2px;
  user-select: none;
}

.sc-step-mock {
  height: 86px;
  border-radius: 12px;
  margin-bottom: 4px;
  border: 1px solid #e2e8f0;
}

.sc-step-mock--plan {
  background: linear-gradient(145deg, #f0fdf4, #ecfdf5);
  border-color: #bbf7d0;
}

.sc-step-mock--review {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}

.sc-step-mock--list {
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  border-color: #fde68a;
}

.sc-step-mock--box {
  background: linear-gradient(145deg, #faf5ff, #f3e8ff);
  border-color: #e9d5ff;
}

.sc-why--cal .sc-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-why--cal .sc-why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.sc-why--cal .sc-why-list li:last-child {
  margin-bottom: 0;
}

.sc-why-ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  box-shadow: 0 2px 8px rgba(8, 118, 75, 0.1);
}

.sc-notify-bar--cal {
  flex-wrap: nowrap;
}

.sc-notify-bar--cal form {
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.sc-notify-bar--cal .sc-notify-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 260px;
  min-width: 0;
}

.sc-notify-bar--cal .sc-notify-left p {
  margin: 0;
}

.sc-notify-ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(8, 118, 75, 0.12);
}

.sc-notify-submit {
  width: auto;
  min-width: 118px;
  margin-top: 0;
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 10px;
}

.sc-notify-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* Indian groceries */
.sc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.sc-chip {
  text-align: center;
  width: 80px;
}

.sc-chip-circle {
  width: 52px;
  height: 52px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
}

.sc-chip span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
  display: block;
}

.sc-coming {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 4px 0;
}

.sc-protein-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.sc-protein-brand {
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
}

.sc-fbt {
  font-size: 0.82rem;
}

.sc-fbt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sc-fbt-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.sc-muted {
  color: #64748b;
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .sc-layout {
    grid-template-columns: 1fr;
  }

  .sc-aside {
    position: static;
  }

  .sc-build-grid {
    grid-template-columns: 1fr;
  }
}
