.ss-page, .ss-page {
  --ss-green: #15803d;
  --ss-green-deep: #14532d;
  --ss-red: #dc2626;
  --ss-kraft: #c4a574;
  --ss-cream: #f6efe4;
}

.ss-ribbon, .ss-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ss-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgb(220 38 38 / 0.28);
}

.ss-hero-card {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(165deg, #fff 0%, var(--ss-cream) 100%);
  border: 1px solid rgb(196 165 116 / 0.35);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgb(28 25 23 / 0.08);
}

@media (min-width: 1024px) {
  .ss-hero-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.ss-poster-wrap {
  position: relative;
  background: #3f2e1f;
  min-height: 280px;
}

.ss-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ss-order {
  padding: 1.5rem 1.35rem 1.75rem;
}

@media (min-width: 1024px) {
  .ss-order {
    padding: 2rem 2rem 2.1rem;
  }
}

.ss-kicker {
  color: var(--ss-green);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.ss-title {
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 900;
  line-height: 1.55;
  color: #1c1917;
}

.ss-lead {
  margin: 0 0 1.15rem;
  color: #57534e;
  line-height: 1.9;
  font-size: 0.95rem;
}

.ss-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.ss-highlight {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ss-green-deep);
  background: rgb(21 128 61 / 0.08);
  border: 1px solid rgb(21 128 61 / 0.14);
  border-radius: 0.85rem;
  padding: 0.5rem 0.65rem;
}

.ss-highlight .mi {
  font-size: 1rem;
  color: var(--ss-green);
}

.ss-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ss-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e7e5e4;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

.ss-qty button {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: #f5f5f4;
  color: #1c1917;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.ss-qty button:hover {
  background: #e7e5e4;
}

.ss-qty input {
  width: 3.4rem;
  height: 2.75rem;
  border: 0;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  background: #fff;
  color: #1c1917;
}

.ss-tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.ss-tier {
  border: 1px solid #e7e5e4;
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.45rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #44403c;
  cursor: pointer;
  transition: 0.15s ease;
}

.ss-tier:hover,
.ss-tier.is-selected,
.ss-tier.is-selected {
  border-color: var(--ss-green);
  background: rgb(21 128 61 / 0.08);
  color: var(--ss-green-deep);
  box-shadow: 0 0 0 3px rgb(21 128 61 / 0.12);
}

.ss-summary {
  background: #14532d;
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.05rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
}

.ss-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.92;
}

.ss-summary__row + .ss-summary__row {
  margin-top: 0.4rem;
}

.ss-summary__total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.ss-summary__total b {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fecaca;
}

.ss-save {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #b91c1c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.ss-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: 0.15s ease;
}

.ss-btn--primary {
  background: var(--ss-green);
  color: #fff;
}

.ss-btn--primary:hover {
  background: #166534;
}

.ss-btn--ghost {
  background: #fff;
  color: #14532d;
  border: 1px solid rgb(21 128 61 / 0.35);
}

.ss-table-wrap {
  margin-top: 2rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e7e5e4;
  overflow: hidden;
}

.ss-table-head {
  background: var(--ss-red);
  color: #fff;
  text-align: center;
  font-weight: 900;
  padding: 0.85rem 1rem;
}

.ss-table {
  width: 100%;
  border-collapse: collapse;
}

.ss-table th,
.ss-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f5f5f4;
  text-align: right;
  font-size: 0.9rem;
}

.ss-table th {
  background: #fafaf9;
  color: #57534e;
  font-weight: 700;
}

.ss-table td strong {
  color: var(--ss-red);
  font-size: 1rem;
}

.ss-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .ss-trust {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ss-trust article {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1.15rem;
  padding: 1rem 0.85rem;
  text-align: center;
}

.ss-trust .mi {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(21 128 61 / 0.1);
  color: var(--ss-green);
  margin-bottom: 0.55rem;
}

.ss-trust p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.7;
  color: #44403c;
}

.ss-faq details {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}

.ss-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.ss-faq p {
  margin: 0.65rem 0 0;
  color: #57534e;
  line-height: 1.85;
  font-size: 0.92rem;
}

.ss-listing-grid {
  display: grid;
  gap: 1.25rem;
}

.ss-listing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ss-listing-grid {
    grid-template-columns: 1fr;
    max-width: 52rem;
  }
}

.ss-listing-card {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgb(196 165 116 / 0.35);
  box-shadow: 0 18px 40px rgb(28 25 23 / 0.07);
  text-decoration: none;
  color: inherit;
}

.ss-listing-card {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgb(196 165 116 / 0.35);
  box-shadow: 0 18px 40px rgb(28 25 23 / 0.07);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .ss-listing-card {
    grid-template-columns: 280px 1fr;
  }
}

.ss-listing-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.ss-listing-body, .ss-listing-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

html.dark .ss-hero-card,
html.dark .ss-hero-card,
html.dark .ss-table-wrap,
html.dark .ss-trust article,
html.dark .ss-faq details,
html.dark .ss-listing-card {
  background: #18181b;
  border-color: #3f3f46;
}

html.dark .ss-title,
html.dark .ss-trust p,
html.dark .ss-faq summary {
  color: #fafafa;
}

html.dark .ss-lead,
html.dark .ss-faq p,
html.dark .ss-table th {
  color: #a1a1aa;
}

html.dark .ss-qty,
html.dark .ss-tier,
html.dark .ss-btn--ghost {
  background: #27272a;
  border-color: #3f3f46;
  color: #fafafa;
}

html.dark .ss-qty button,
html.dark .ss-qty input,
html.dark .ss-table th {
  background: #27272a;
  color: #fafafa;
}

html.dark .ss-highlight {
  background: rgb(74 222 128 / 0.08);
  color: #bbf7d0;
}

@media (max-width: 640px) {
  .ss-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ss-actions {
    grid-template-columns: 1fr;
  }

  .ss-table th:nth-child(3),
  .ss-table td:nth-child(3) {
    display: none;
  }
}

/* Homepage teaser — compact cards for index.html */
.ss-home-section {
  max-width: 72rem;
}

.ss-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.ss-home-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #dc2626;
}

.ss-home-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.5;
}

.ss-home-all {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #15803d;
  text-decoration: none;
  white-space: nowrap;
}

.ss-home-all:hover {
  text-decoration: underline;
}

.ss-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ss-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .ss-home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ss-home-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(254 202 202 / 0.85);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgb(120 80 20 / 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ss-home-card:hover {
  transform: translateY(-3px);
  border-color: rgb(248 113 113 / 0.65);
  box-shadow: 0 14px 28px rgb(120 80 20 / 0.1);
}

.ss-home-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #faf7f2;
}

.ss-home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ss-home-card__badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.4;
}

.ss-home-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem 0.75rem;
}

.ss-home-card__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.ss-home-card:hover .ss-home-card__name {
  color: #15803d;
}

.ss-home-card__meta {
  margin: 0;
  font-size: 0.68rem;
  color: #78716c;
  line-height: 1.5;
}

.ss-home-card__price {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
  line-height: 1.5;
}

.ss-home-card__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
}

html.dark .ss-home-card {
  background: #18181b;
  border-color: rgb(127 29 29 / 0.55);
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.22);
}

html.dark .ss-home-card:hover {
  border-color: rgb(185 28 28 / 0.65);
}

html.dark .ss-home-card__media {
  background: #27272a;
}

html.dark .ss-home-title {
  color: #fafafa;
}

html.dark .ss-home-card__meta {
  color: #a1a1aa;
}

html.dark .ss-home-card__price {
  color: #fbbf24;
}

html.dark .ss-home-all,
html.dark .ss-home-card__cta {
  color: #4ade80;
}

html.dark .ss-home-card:hover .ss-home-card__name {
  color: #4ade80;
}
