/* Tuds Homepage / Shopfront */
.tuds-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  border-radius: 12px;
  padding: 60px 30px;
  text-align: center;
  margin-bottom: 30px;
}
.tuds-hero-inner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.tuds-tagline {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 25px;
}
.tuds-cta {
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 600;
}
.tuds-features {
  margin-bottom: 30px;
}
.tuds-feature-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  text-align: center;
}
.tuds-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.tuds-depts {
  margin-bottom: 30px;
}
.tuds-depts h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  text-align: center;
}
/* Card body rules live with the bento grid below. */
.tuds-payments {
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.tuds-payments h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.tuds-pay-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 8px;
  height: 100%;
}
.tuds-pay-card i {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #198754;
}
.tuds-pay-card strong {
  display: block;
}
.tuds-pay-card span {
  font-size: 0.8rem;
  color: #6c757d;
}
.tuds-pay-note {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Wave 1: static hero with photo slots + dual CTAs */
.tuds-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.tuds-hero-copy {
  flex: 1 1 55%;
}

.tuds-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tuds-hero-ctas .btn-outline-light {
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
}

.tuds-hero-photos {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tuds-hero-photos img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tuds-hero-photos img:first-child {
  grid-row: span 2;
  align-self: center;
}

@media (max-width: 767px) {
  .tuds-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .tuds-hero-ctas {
    justify-content: center;
  }
  .tuds-hero-photos {
    width: 100%;
    max-width: 420px;
  }
}

/* Departments: uniform thumbnail cards, zero-orphan grid.
   7 tiles: first spans 2 -> mobile rows 2/2/2/2, desktop rows 4/4. */
.tuds-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .tuds-bento {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tuds-dept-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: box-shadow 0.15s, transform 0.15s;
}

.tuds-dept-wide {
  grid-column: span 2;
}

.tuds-dept-img {
  display: block;
  /* Fixed height (not aspect-ratio): the wide tile spans 2 columns but
     keeps the same image height, so both rows measure identical. */
  height: 150px;
  overflow: hidden;
  background: #f1f3f5;
}

@media (max-width: 767px) {
  .tuds-dept-img {
    height: 120px;
  }
}

.tuds-dept-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tuds-dept-text {
  padding: 12px 12px 4px;
}

.tuds-dept-text h3 {
  font-size: 0.95rem;
  margin: 0 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.tuds-dept-text p {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tuds-dept-arrow {
  align-self: flex-end;
  padding: 0 12px 10px;
  font-size: 1.2rem;
  color: #0d6efd;
  transition: transform 0.15s;
}

.tuds-dept-card:hover {
  text-decoration: none;
  border-color: #0d6efd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.tuds-dept-card:hover .tuds-dept-arrow {
  transform: translateX(4px);
}

/* Wave 1: trust bar */
.tuds-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
}

.tuds-trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tuds-trust-item i {
  font-size: 1.6rem;
  color: #0f3460;
}

.tuds-trust-item strong {
  display: block;
  font-size: 0.9rem;
}

.tuds-trust-item span {
  font-size: 0.8rem;
  color: #495057;
}

@media (max-width: 767px) {
  .tuds-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Wave 1: testimonials */
.tuds-testimonials {
  margin-bottom: 30px;
}

.tuds-testimonials h2,
.tuds-features h2 {
  text-align: center;
  margin-bottom: 16px;
}

.tuds-quote {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  margin: 0;
}

.tuds-stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.tuds-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: #495057;
}

/* Wave 1: newsletter */
.tuds-newsletter {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
  border-radius: 12px;
  padding: 36px 24px;
  margin-bottom: 30px;
}

.tuds-newsletter p {
  opacity: 0.85;
}

.tuds-newsletter form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.tuds-newsletter form .btn {
  flex: none;
  white-space: nowrap;
}

.tuds-newsletter-msg {
  min-height: 1.4em;
  margin-top: 10px;
  font-weight: 600;
}

@media (max-width: 575px) {
  .tuds-newsletter form {
    flex-direction: column;
  }
}

/* Refinement: one spacing scale + one heading voice for the whole scroll.
   Sections: 40px apart desktop / 28px mobile. Bands alternate white/neutral
   so each section reads without hard borders. */
.tuds-hero,
.tuds-depts,
.tuds-trust,
.tuds-features,
.tuds-testimonials,
.tuds-newsletter,
.tuds-payments {
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .tuds-hero,
  .tuds-depts,
  .tuds-trust,
  .tuds-features,
  .tuds-testimonials,
  .tuds-newsletter,
  .tuds-payments {
    margin-bottom: 28px;
  }
}

.tuds-depts > h2,
.tuds-features > h2,
.tuds-testimonials > h2,
.tuds-payments > h2 {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
  color: #0f3460;
}

.tuds-testimonials {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px 20px;
}

/* Trust strip: one cohesive row with dividers, scrolls on small screens. */
.tuds-trust {
  align-items: stretch;
}

.tuds-trust-item + .tuds-trust-item {
  border-left: 1px solid #dee2e6;
  padding-left: 12px;
}

@media (max-width: 767px) {
  .tuds-trust {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    grid-template-columns: none;
  }
  .tuds-trust-item {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }
}
