/* Global typography and homepage consistency */
:root {
  --sf-primary: #0F766E;
  --sf-primary-dark: #115E59;
  --sf-text: #365a46;
  --sf-muted: #5f846e;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--sf-text);
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #1f5137;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem);
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
}

h3 {
  font-size: clamp(1.05rem, 0.92rem + 0.5vw, 1.2rem);
}

p {
  margin: 0;
  line-height: 1.65;
}

a {
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sf-display-font {
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

body.home-page main {
  scroll-behavior: smooth;
}

body.home-page main > section {
  margin-top: 0;
}

body.home-page .section-subtext {
  color: var(--sf-muted);
  font-size: 0.95rem;
}

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

/* Shared event pages */
.event-page-main {
  overflow: hidden;
  padding-top: 24px;
}

.event-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.event-shell--list {
  max-width: 1200px;
}

.event-page-title {
  margin: 0;
  color: #0f3e39;
  font-size: clamp(2rem, 1.35rem + 2vw, 3rem);
  line-height: 1.2;
}

.event-page-lead {
  margin: 14px 0 0;
  max-width: 860px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.event-section {
  margin-top: 38px;
}

.event-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.event-section-title {
  margin: 0;
  color: #0f3e39;
  font-size: 30px;
}

.event-link-inline {
  color: #115E59;
  font-size: 14px;
  font-weight: 600;
}

.event-link-inline:hover {
  color: #537f2d;
}

.event-hero-wrap {
  margin-top: 30px;
}

.event-hero-card {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.event-hero-image {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.event-coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.event-card:hover {
  border-color: var(--sf-primary);
  box-shadow: 0 14px 30px rgba(34, 76, 17, .12);
}

.event-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.event-store-logo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid #dbe7d0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.event-store-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-store-meta {
  min-width: 0;
}

.event-card-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #115E59;
  font-size: 11px;
  font-weight: 600;
}

.event-card-store-name {
  margin: 2px 0 0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-card-title {
  margin: 0;
  min-height: 56px;
  color: #0f3e39;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.event-card-copy {
  margin: 8px 0 0;
  min-height: 72px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

.event-card-cta {
  margin-top: 16px;
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.event-card-cta--filled {
  background: #0F766E;
  border: 1px solid #0F766E;
  color: #fff;
}

.event-card-cta--filled:hover {
  background: #115E59;
  border-color: #115E59;
  color: #fff;
}

.event-card-cta--outline {
  border: 1px solid #0F766E;
  color: #115E59;
  background: #fff;
}

.event-card-cta--outline:hover {
  background: #F0FDFA;
  color: #537f2d;
}

.event-empty-state {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
}

.event-empty-state--list {
  margin-top: 38px;
}

.event-empty-title {
  margin: 0;
  color: #0f3e39;
  font-size: 28px;
}

.event-empty-copy {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.8;
}

.event-detail-box {
  margin-top: 38px;
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
}

.event-detail-title {
  margin: 0 0 10px;
  color: #0f3e39;
  font-size: 28px;
}

.event-detail-copy {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.event-breadcrumb {
  margin-top: 28px;
  color: #64748b;
  font-size: 14px;
}

.event-breadcrumb-sep {
  margin: 0 4px;
}

.event-breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

.event-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-list-card {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.event-list-card:hover {
  border-color: var(--sf-primary);
  box-shadow: 0 12px 24px rgba(34, 76, 17, .12);
}

.event-list-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #f9fdf5;
  border-bottom: 1px solid #dbe7d0;
  overflow: hidden;
}

.event-list-media-image,
.event-list-media-empty {
  position: absolute;
  inset: 0;
}

.event-list-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-list-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #115E59;
  font-size: 14px;
  font-weight: 600;
}

.event-list-body {
  padding: 20px;
}

.event-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.event-featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #F0FDFA;
  color: #115E59;
  font-size: 11px;
  font-weight: 600;
}

.event-list-title {
  margin: 0;
  min-height: 54px;
  color: #0f3e39;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.event-list-subtitle {
  margin: 8px 0 0;
  min-height: 44px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.event-list-copy {
  margin: 10px 0 0;
  min-height: 72px;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.event-list-cta {
  margin-top: 16px;
  width: auto;
  padding: 0 20px;
}

.event-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.event-products-grid .deals-day-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe7d0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.event-products-grid .deals-day-card:hover {
  border-color: var(--sf-primary);
  box-shadow: 0 16px 28px rgba(34, 76, 17, .12);
  transform: translateY(-2px);
}

.event-products-grid .deals-day-media {
  background: #d7dce5;
  padding: 24px 18px 22px;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-products-grid .deals-day-brand {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid #d8e0ec;
  background: #fff;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.event-products-grid .deals-day-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-products-grid .deals-day-product {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-products-grid .deals-day-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-products-grid .deals-day-body {
  padding: 20px 16px 18px;
  text-align: center;
  position: relative;
}

.event-products-grid .deals-day-discount {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0F766E;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
}

.event-products-grid .deals-day-discount.hot {
  background: #f97316;
}

.event-products-grid .deals-day-title {
  margin: 10px 0 6px;
  color: #0f3e39;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 56px;
}

.event-products-grid .deals-day-by {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}

.event-products-grid .deals-day-price {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.event-products-grid .deals-day-price strong {
  color: #111827;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.event-products-grid .deals-day-price del {
  color: #6b7280;
  font-size: 26px;
  opacity: .62;
}

@media (max-width: 900px) {
  .event-products-grid .deals-day-media {
    min-height: 220px;
    padding: 18px 14px;
  }

  .event-products-grid .deals-day-product {
    width: 150px;
    height: 150px;
  }

  .event-products-grid .deals-day-title {
    font-size: 18px;
    min-height: 50px;
  }

  .event-products-grid .deals-day-price strong {
    font-size: 30px;
  }

  .event-products-grid .deals-day-price del {
    font-size: 22px;
  }
}

@media (max-width: 1200px) {
  .event-coupon-grid,
  .event-list-grid,
  .event-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .event-shell {
    padding: 30px 14px 48px;
  }

  .event-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-section-title,
  .event-empty-title,
  .event-detail-title {
    font-size: 24px;
  }

  .event-coupon-grid,
  .event-list-grid,
  .event-products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-empty-state,
  .event-detail-box {
    padding: 20px;
  }

  .event-products-grid .deals-day-media {
    min-height: 210px;
  }

  .event-products-grid .deals-day-product {
    width: 146px;
    height: 146px;
  }

  .event-products-grid .deals-day-title {
    font-size: 17px;
    min-height: 46px;
  }

  .event-products-grid .deals-day-price strong {
    font-size: 28px;
  }

  .event-products-grid .deals-day-price del {
    font-size: 20px;
  }
}

/* Shared content pages */
.content-page-main {
  overflow: hidden;
  padding-top: 24px;
}

.content-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.content-panel {
  margin-top: 38px;
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
}

.content-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.content-grid-four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.content-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.content-card {
  border: 1px solid #dbe7d0;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
}

.content-card-soft {
  border: 1px solid #dbe7d0;
  border-radius: 18px;
  background: #f9fdf5;
  padding: 24px;
}

.content-block-spaced {
  margin-top: 24px;
}

.content-card-title {
  margin: 0;
  color: #0f3e39;
  font-size: 28px;
}

.content-card-copy {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.8;
}

.content-step-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #115E59;
  font-size: 11px;
  font-weight: 600;
}

.content-step-title {
  margin: 8px 0;
  color: #0f3e39;
  font-size: 22px;
}

.content-step-copy {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.rich-copy h2,
.sf-policy h2,
.sf-legal h2,
.sf-content h2 {
  margin-top: 1.5rem;
  margin-bottom: .6rem;
  font-size: 1.45rem;
  color: #0f3e39;
}

.rich-copy p,
.sf-policy p,
.sf-legal p,
.sf-content p {
  margin-bottom: .9rem;
  color: #334155;
  line-height: 1.85;
}

.rich-copy ul,
.sf-policy ul,
.sf-legal ul,
.sf-content ul {
  margin: .7rem 0 1rem;
  padding-left: 1.2rem;
}

.rich-copy li,
.sf-policy li,
.sf-legal li,
.sf-content li {
  margin-bottom: .5rem;
  color: #334155;
}

.content-link {
  color: #115E59;
  font-weight: 600;
}

.contact-hero {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f5faee 100%);
  padding: 24px;
}

.contact-hero-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #115E59;
  font-size: 12px;
  font-weight: 700;
}

.contact-hero-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-hero-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #eff6e8;
  color: #537f2d;
  font-size: 12px;
  font-weight: 600;
}

.contact-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
}

.contact-card {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
}

.contact-card,
.contact-card * {
  box-sizing: border-box;
}

.contact-section-title {
  margin: 0;
  color: #0f3e39;
  font-size: 24px;
}

.contact-section-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  text-align: left;
}

.contact-alert {
  margin-bottom: 18px;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}

.contact-alert--success {
  border: 1px solid #b9e8dd;
  background: #edfdfa;
  color: #0a5c55;
}

.contact-alert--error {
  border: 1px solid #f2d0d0;
  background: #fff6f6;
  color: #8b2f2f;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-grid > div {
  min-width: 0;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #184f4a;
  font-size: 14px;
  font-weight: 600;
}

.contact-input,
.contact-textarea {
  display: block;
  width: 100%;
  border: 1px solid #dbe7d0;
  border-radius: 12px;
  background: #f9fdf5;
  padding: 10px 14px;
  color: #184f4a;
  outline: none;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #0F766E;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  width: auto;
  padding: 0 24px;
}

.contact-quick-title {
  margin: 0;
  color: #0f3e39;
  font-size: 28px;
}

.contact-support-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-support-item {
  border: 1px solid #dbe7d0;
  border-radius: 12px;
  background: #f9fdf5;
  padding: 10px;
  color: #334155;
  font-size: 13px;
}

.contact-support-item-title {
  margin: 0 0 4px;
  color: #537f2d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}

.contact-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: #334155;
}

.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 8px;
  background: #0F766E;
  flex-shrink: 0;
}

.contact-support-box {
  margin-top: 24px;
  border: 1px solid #dbe7d0;
  border-radius: 16px;
  background: #f9fdf5;
  padding: 16px;
}

.contact-support-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: #115E59;
  font-weight: 600;
}

.contact-support-mail {
  margin-top: 4px;
  display: block;
  color: #475569;
  line-height: 1.7;
}

.auth-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 40px;
}

.auth-panel {
  border: 1px solid #d6ebe7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 82, 75, .10);
  padding: 24px;
}

.auth-title {
  margin: 0;
  color: #0f3e39;
  font-size: 32px;
}

.auth-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.auth-social-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-social-btn {
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.auth-social-btn:hover {
  border-color: #0F766E;
  color: #115E59;
}

.auth-divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-divider-line {
  height: 1px;
  background: #e2e8f0;
  flex: 1;
}

.auth-divider-text {
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #94a3b8;
  font-size: 11px;
}

.u-mt-16 {
  margin-top: 16px;
}

.btn-auto {
  width: auto;
  padding: 0 24px;
}

/* Categories page */
.categories-page-main {
  overflow: hidden;
  padding-top: 24px;
}

.categories-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 52px;
}

.categories-hero {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbee 100%);
}

.categories-title {
  margin: 0;
  color: #0f3e39;
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.22;
}

.categories-lead {
  margin: 12px 0 0;
  max-width: 860px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.categories-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.categories-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #F0FDFA;
  color: #537f2d;
  font-size: 13px;
  font-weight: 600;
}

.categories-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  border: 1px solid #dbe7d0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.category-card:hover {
  border-color: var(--sf-primary);
  box-shadow: 0 12px 24px rgba(34, 76, 17, .12);
  transform: translateY(-2px);
}

.category-media {
  display: block;
  border-bottom: 1px solid #e6edf5;
  background: #f8fbff;
  padding: 12px 0;
}

.category-media-frame {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #dde6f2;
  background: #fff;
}

.category-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.category-card:hover .category-media-image {
  transform: scale(1.03);
}

.category-body {
  padding: 16px;
}

.category-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #115E59;
  font-size: 11px;
  font-weight: 600;
}

.category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.category-name {
  margin: 0;
  color: #0f3e39;
  font-size: 21px;
  line-height: 1.3;
}

.category-count {
  flex-shrink: 0;
  color: #64748b;
  font-size: 12px;
}

.category-summary {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 72px;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid #d3dde9;
  background: #fff;
  padding: 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
}

.category-tag:hover {
  border-color: #0F766E;
  background: #F0FDFA;
  color: #537f2d;
}

.category-tag--muted {
  border-style: dashed;
  color: #6b7280;
}

.category-tag--more {
  border-color: #c9d9b6;
  color: #537f2d;
  background: #f7fbee;
}

.category-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: #0F766E;
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
}

.category-cta:hover {
  background: #115E59;
  color: #fff;
}

.category-link {
  color: #537f2d;
  font-size: 13px;
  font-weight: 600;
}

.category-link:hover {
  color: #3f6222;
  text-decoration: underline;
}

.categories-empty {
  margin-top: 18px;
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
}

.categories-empty h2 {
  margin: 0;
  color: #0f3e39;
  font-size: 28px;
}

.categories-empty p {
  margin: 8px 0 0;
  color: #334155;
}

.categories-empty .event-card-cta {
  margin-top: 16px;
}

/* DealsDasher-like categories layout */
.dd-categories-main {
  background:
    radial-gradient(circle at 12% 0%, rgba(15,118,110, .12), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(91, 125, 242, .10), transparent 34%),
    #f8fafc;
  padding: 16px 0 34px;
}

.dd-categories-shell {
  width: min(1400px, calc(100% - 28px));
  margin: 0 auto;
}

.dd-categories-heading {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: .01em;
}

.dd-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.dd-category-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.dd-category-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #0F766E, #6fa93a);
  opacity: 0;
  transition: opacity .22s ease;
}

.dd-category-link {
  display: block;
  color: inherit;
}

.dd-category-card:hover {
  border-color: #cfe2bc;
  box-shadow: 0 12px 24px rgba(34, 76, 17, .15);
  transform: translateY(-3px);
}

.dd-category-card:hover::before {
  opacity: 1;
}

.dd-category-image-wrap {
  background: linear-gradient(180deg, #f7fbff 0%, #f1f5f9 100%);
  min-height: 144px;
  padding: 14px 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-category-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 1px solid #d2dde9;
  object-fit: cover;
  display: block;
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .08);
  transition: transform .22s ease;
}

.dd-category-card:hover .dd-category-image {
  transform: scale(1.04);
}

.dd-category-meta {
  border-top: 1px solid #eef2f7;
  background: #ffffff;
  padding: 11px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
}

.dd-category-name {
  color: #0f172a;
  font-size: 14px;
  text-transform: capitalize;
  line-height: 1.35;
}

.dd-category-count {
  color: #5f6f86;
  font-size: 12px;
}

.dd-categories-empty {
  border: 1px solid #dbe7d0;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
}

.dd-categories-empty h2 {
  margin: 0;
  color: #0f3e39;
  font-size: 28px;
}

.dd-categories-empty p {
  margin: 8px 0 0;
  color: #334155;
}

.dd-categories-empty .event-card-cta {
  margin-top: 16px;
}

@media (max-width: 1200px) {
  .dd-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .content-grid-two,
  .content-grid-four,
  .content-grid-three {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .auth-social-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dd-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .content-shell {
    padding: 30px 14px 48px;
  }

  .content-panel,
  .content-card,
  .content-card-soft,
  .auth-panel {
    padding: 20px;
  }

  .content-card-title {
    font-size: 24px;
  }

  .contact-hero {
    padding: 20px;
  }

  .categories-shell {
    padding: 12px 12px 40px;
  }

  .categories-hero,
  .categories-empty {
    padding: 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .dd-categories-main {
    padding: 14px 0 24px;
  }

  .dd-categories-shell {
    width: calc(100% - 16px);
  }

  .dd-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dd-category-image-wrap {
    padding: 10px 6px 6px;
  }

  .dd-category-image {
    width: 120px;
    height: 120px;
  }
}
