/* ── Shop by category (bento) ── */
.category-bento {
  background: #fff;
  padding: 32px 0 48px;
}

.category-bento__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 16px;
}

.category-bento-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f3f3;
  color: #111;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.category-bento-card:hover {
  opacity: 0.95;
}

.category-bento-card--featured {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.category-bento-card--featured .category-bento-card__media {
  position: absolute;
  inset: 0;
  padding: 20px;
}

.category-bento-card--featured .category-bento-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.category-bento-card--featured .category-bento-card__content {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  max-width: min(200px, 48%);
  text-align: left;
}

.category-bento-card--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 0;
}

.category-bento-card--reverse .category-bento-card__media {
  order: 2;
}

.category-bento-card--reverse .category-bento-card__content {
  order: 1;
}

.category-bento-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100%;
  background: transparent;
}

.category-bento-card--row .category-bento-card__media {
  padding: 14px;
}

.category-bento-card--row .category-bento-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.category-bento-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 16px 20px;
}

.category-bento-card__tag {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}

.category-bento-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  color: #111;
  margin: 0;
}

.category-bento-card__cta {
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #111;
  margin-top: 2px;
}

/* ── Shop by category (grid) ── */
.shop-categories {
  background: #fff;
  padding: 48px 0 64px;
}

.shop-categories__title {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 36px;
}

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.shop-category-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8ecf1;
}

.shop-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.shop-category-card:hover img {
  transform: scale(1.04);
}

.shop-category-card__label {
  position: absolute;
  bottom: 12px;
  left: 0;
  background: #fff;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  max-width: 85%;
}

/* ── Testimonials ── */
.testimonials {
  background: #fff;
  padding: 56px 0 64px;
}

.testimonials__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9d3b16;
  margin-bottom: 10px;
}

.testimonials__title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 40px;
}

.testimonials-swiper {
  padding-bottom: 8px;
}

.testimonial-card {
  background: #eef0ec;
  border-radius: 8px;
  padding: 40px 36px 36px;
  text-align: center;
  height: auto;
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonials__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dde3ec;
  background: #fff;
  color: #6b7a8d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.testimonials__arrow svg {
  width: 18px;
  height: 18px;
}

.testimonials__arrow:hover {
  background: #f0f2f5;
  color: #1a2b4a;
}

.testimonials__pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  gap: 6px;
}

.testimonials__pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: #d0d5dc;
  opacity: 1;
  margin: 0 !important;
}

.testimonials__pagination .swiper-pagination-bullet-active {
  background: #4caf50;
}

.testimonial-card__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 16px;
  color: #f5a623;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-card__heading {
  font-size: 18px;
  font-weight: 600;
  color: #1a2b4a;
  margin-bottom: 14px;
}

.testimonial-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6577;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  display: block;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a2b4a;
}

/* ── CTA banner ── */
.cta-banner {
  padding: 0;
  background: #fff;
}

.cta-banner__brush {
  position: relative;
  background-color: var(--color-coral, #9d3b16);
  padding: 64px 0;
}

.cta-banner__brush::before,
.cta-banner__brush::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 42px;
  background-color: var(--color-coral, #9d3b16);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.cta-banner__brush::before {
  top: 0;
  background-image: url(../images/middle_background1.svg);
}

.cta-banner__brush::after {
  bottom: 0;
  background-image: url(../images/middle_background1.svg);
  transform: rotate(180deg);
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.cta-banner__title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.cta-banner__text {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.5;
}

.cta-banner__btn {
  display: inline-block;
  background: var(--color-navy-dark, #081628);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.cta-banner__btn:hover {
  background: var(--color-navy, #0c1f3f);
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .shop-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .category-bento__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .category-bento-card--featured {
    grid-row: auto;
    min-height: 240px;
  }

  .category-bento-card--featured .category-bento-card__media img {
    max-width: 70%;
    max-height: 80%;
  }

  .category-bento-card--featured .category-bento-card__content {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .category-bento-card--row {
    grid-template-columns: 1fr;
  }

  .category-bento-card--row .category-bento-card__content {
    order: 1;
  }

  .category-bento-card--row .category-bento-card__media {
    order: 2;
    min-height: 150px;
  }

  .category-bento-card--row .category-bento-card__media img {
    max-width: 55%;
    max-height: 130px;
  }

  .category-bento-card__content {
    padding: 8px 10px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .shop-categories {
    padding: 40px 0 48px;
  }

  .shop-categories__title {
    margin-bottom: 28px;
  }

  .shop-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .shop-category-card__label {
    padding: 12px 16px;
    font-size: 13px;
  }

  .category-bento {
    padding: 28px 0 40px;
  }

  .testimonials {
    padding: 40px 0 48px;
  }

  .testimonials-swiper {
    padding-bottom: 4px;
  }

  .testimonial-card {
    padding: 32px 24px 28px;
  }

  .cta-banner__brush {
    padding: 48px 0;
  }
}
