/* The Wear Wave — homepage lower sections (demo-matched) */

.tw-section { width: 100%; background: #fff; color: #212529; }
.tw-container { max-width: 1440px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; }

/* JUST IN */
.tw-justin { padding: 72px 0 48px; text-align: center; }
.tw-section__title {
  margin: 0 0 10px;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #212529;
}
.tw-section__title--sm { font-size: 22px; }
.tw-section__link {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tw-product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}
.tw-product { margin: 0; }
.tw-product__media {
  display: block;
  overflow: hidden;
  background: #f3f3f3;
}
.tw-product__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.tw-product__meta { padding-top: 12px; }
.tw-product__brand {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #888;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tw-product__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}
.tw-product__title a {
  color: #212529;
  text-decoration: none;
}
.tw-product__price {
  font-size: 13px;
  color: #212529;
}

/* Perks / benefits */
.tw-perks { padding: 24px 0 40px; }
.tw-perks__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.tw-perk {
  text-align: left;
  padding: 8px 8px 8px 0;
}
.tw-perk--card {
  background: #f5f5f5;
  padding: 28px 24px;
}
.tw-perk__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tw-perk__icon {
  display: block;
  width: 88px !important;
  max-width: 88px !important;
  height: auto !important;
  flex: 0 0 auto;
  margin: 0 0 14px;
}
.tw-perk--card .tw-perk__icon { margin: 0; width: 100px !important; max-width: 100px !important; }
.tw-perk__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tw-perk__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #6c757d;
  font-weight: 300;
}
.tw-perk__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Newsletter */
.tw-newsletter { padding: 48px 0 28px; text-align: center; }
.tw-newsletter__text {
  margin: 10px auto 24px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.55;
  color: #6c757d;
  font-weight: 300;
}
.tw-newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid #ced4da;
  background: #fff;
}
.tw-newsletter__form input[type="email"] {
  flex: 1;
  border: 0;
  outline: none;
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  background: transparent;
  color: #212529;
}
.tw-newsletter__form button {
  border: 0;
  background: transparent;
  height: 48px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #212529;
  cursor: pointer;
  white-space: nowrap;
}

/* Follow us */
.tw-follow { padding: 18px 0 56px; }
.tw-follow__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.tw-follow__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tw-follow__rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: #212529;
}
.tw-follow__icons { display: flex; gap: 10px; }
.tw-social {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
}
.tw-social svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}
.tw-social--fb { background: #3b5998; }
.tw-social--ig { background: #262626; }
.tw-social--pin { background: #bd081c; }

/* Footer Elementor social SVGs (in case theme CSS is missing) */
.elementor-social-icon svg.e-font-icon-svg,
.elementor-social-icon .e-font-icon-svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .tw-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tw-perks__grid { grid-template-columns: 1fr; }
  .tw-perk--card .tw-perk__inner { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .tw-container { padding: 0 16px; }
  .tw-justin { padding: 48px 0 32px; }
  .tw-section__title { font-size: 22px; }
  .tw-perk__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
