/*
 * custom.css
 * ─────────────────────────────────────────────────────────────
 * Write your plain CSS here — no build step required.
 * This file is loaded AFTER Tailwind output so your rules
 * will always win without needing !important.
 *
 * Good use-cases:
 *   • Third-party library overrides (Swiper, etc.)
 *   • CSS animations / keyframes
 *   • Complex selectors Tailwind can't easily express
 *   • Client brand tweaks that don't belong in input.css
 * ─────────────────────────────────────────────────────────────
 */


/* ─── Example: Swiper custom skin ───────────────────────────── */
/*
.swiper-pagination-bullet-active {
  background-color: #2563eb;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2563eb;
}
*/


/* ─── Example: Custom keyframe animation ─────────────────────── */
/*
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}
*/


/* ─── Your styles below ─────────────────────────────────────── */

/* ── Logo Marquee ────────────────────────────────────────────── */
@keyframes logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
#logo-marquee-track {
  animation: logo-scroll 40s linear infinite;
  will-change: transform;
}
#logo-marquee-track:hover {
  animation-play-state: paused;
}
#logo-marquee-track img {
  filter: grayscale(1);
  opacity: 0.55;
}

#mobile-cat-overlay[aria-hidden="true"],
#cat-dropdown[aria-hidden="true"],
#shop-filter-overlay[aria-hidden="true"] {
  visibility: hidden;
}
#mobile-cat-overlay[aria-hidden="false"],
#cat-dropdown[aria-hidden="false"],
#shop-filter-overlay[aria-hidden="false"] {
  visibility: visible;
}

/* ── Shop Page ───────────────────────────────────────────────── */
.shop-product-card {
  min-height: 420px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  display: block;
  padding: 0;
  perspective: 1200px;
  cursor: pointer;
}
.shop-card-inner {
  position: relative;
  min-height: inherit;
  width: 100%;
  height: 100%;
  transition: transform 520ms ease;
  transform-style: preserve-3d;
}
.shop-product-card.is-flipped .shop-card-inner {
  transform: rotateY(180deg);
}
.shop-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #ffffff;
}
.shop-card-front {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}
.shop-card-back {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  transform: rotateY(180deg);
  overflow: hidden;
}
.shop-product-image {
  position: relative;
  min-height: 260px;
  flex: 1;
}
.shop-product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shop-product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.shop-product-body h2 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}
.shop-product-body p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.72px;
}
@media (min-width: 1024px) {
  .shop-product-body {
    align-items: flex-start;
    text-align: left;
  }
}
.shop-product-body p img {
  width: 6px;
  height: 6px;
}
.shop-product-card[hidden] {
  display: none;
}
.shop-card-back-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}
.shop-card-back-scroll::-webkit-scrollbar {
  width: 8px;
}
.shop-card-back-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}
.shop-card-back-scroll::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 999px;
  border: 2px solid #f1f5f9;
}
.shop-detail-divider {
  height: 1px;
  background: #e2e8f0;
  width: 100%;
}
.shop-detail-pill {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #475569;
  font-size: 14px;
  line-height: 19.88px;
  padding: 9px 16px;
}
.shop-detail-pill.is-active {
  background: #e0f0fe;
  border-color: #7ccdfd;
  color: #0b456f;
}
[data-quantity-control] {
  padding: 3px;
}
.shop-detail-delivery {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
}
.shop-detail-delivery.is-active {
  background: #e0f0fe;
  border-color: #7ccdfd;
}
.shop-detail-delivery-icon {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  height: 20px;
  justify-content: center;
  width: 20px;
}
.shop-detail-delivery-icon img {
  display: block;
  height: 20px;
  width: 20px;
}
.shop-detail-button {
  min-height: 51px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 14px 12px;
  font-size: 14px;
  line-height: 22.72px;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .shop-detail-button {
    padding: 14px 16px;
    font-size: 16px;
  }
}
.shop-detail-button-secondary {
  border: 1px solid #e2e8f0;
  color: #383b43;
}
.shop-detail-button-primary {
  background: #0161a3;
  color: #ffffff;
}
.product-tab {
  border: 0;
  border-radius: 999px;
  color: #516278;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.72px;
  min-height: 46px;
  padding: 12px 16px;
}
.product-tab.is-active {
  background: #f6f7f9;
  color: #383b43;
}
.product-tab-panel {
  display: none;
}
.product-tab-panel.is-active {
  display: block;
}
.product-related-section {
  overflow: hidden;
}
.product-related-heading {
  margin-bottom: 24px;
}
.product-related-swiper {
  width: 100%;
}
.product-related-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 433px;
  padding: 20px;
  text-align: center;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.product-related-card:hover {
  background: #f8fafc;
  border-color: #7ccdfd;
}
.product-related-card > span:first-child {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}
.product-related-card > span:first-child img {
  object-fit: contain;
}
.product-related-card > span:nth-child(2) {
  font-size: 16px;
  font-weight: 500;
  line-height: 22.72px;
  text-align: center;
}
.product-related-card > span:last-child {
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  line-height: 22.72px;
}
.product-related-card > span:last-child img {
  height: 6px;
  width: 6px;
}
@media (min-width: 1024px) {
  .product-related-heading {
    margin-bottom: 24px;
  }
  .product-related-swiper {
    margin-left: max(20px, calc((100vw - 1400px) / 2));
    margin-right: 0;
    width: calc(100vw - max(20px, calc((100vw - 1400px) / 2)));
  }
  .product-related-card {
    height: 551px;
    text-align: left;
  }
  .product-related-card > span:nth-child(2) {
    font-size: 20px;
    line-height: 26.4px;
    text-align: left;
  }
  .product-related-card > span:last-child {
    justify-content: flex-start;
  }
}
.product-offer-ticket {
  background: #fff1f2;
  color: #891319;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 17.04px;
  padding: 4px 20px;
  position: relative;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .product-offer-ticket {
    font-size: 14px;
    line-height: 19.88px;
  }
}
.product-offer-ticket::before,
.product-offer-ticket::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.product-offer-ticket::before {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 32' preserveAspectRatio='none'%3E%3Cpath d='M10 16.5L0 0V32L10 16.5Z' fill='white'/%3E%3C/svg%3E");
}
.product-offer-ticket::after {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 32' preserveAspectRatio='none'%3E%3Cpath d='M0 15.5L10 32V0L0 15.5Z' fill='white'/%3E%3C/svg%3E");
}

/* Product image gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1280px) {
  .product-gallery {
    display: grid;
    grid-template-columns: 160px 620px;
    gap: 24px;
    align-items: start;
  }
}
.product-main-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 319px;
}
@media (min-width: 768px) {
  .product-main-img { height: 420px; }
}
@media (min-width: 1280px) {
  .product-main-img { height: 720px; width: 620px; order: 2; }
}
.product-thumb-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
}
@media (min-width: 1280px) {
  .product-thumb-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    overflow-x: visible;
    order: 1;
  }
}
.product-thumb-btn {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: white;
  width: 104px;
  height: 104px;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .product-thumb-btn { width: 120px; height: 120px; }
}
@media (min-width: 1280px) {
  .product-thumb-btn { width: 160px; height: 160px; }
}
.product-thumb-btn.is-active {
  border-color: #7ccdfd;
}

/* Offer rows: stacked on mobile, inline on desktop */
.product-offer-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-offer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 1024px) {
  .product-offer-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* Contact info: stacked on mobile, inline on desktop */
.product-contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-contact-divider {
  display: none;
}
@media (min-width: 1024px) {
  .product-contact-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .product-contact-divider {
    display: block;
    flex-shrink: 0;
    height: 16px;
    width: 1px;
    background: #94a3b8;
  }
}
.shop-filter-check {
  width: 16px;
  height: 16px;
  border: 1px solid #b4b5b9;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shop-filter-check img {
  width: 10px;
  height: 10px;
  display: none;
}
.shop-filter-option input:checked + .shop-filter-check {
  border-color: #065386;
}
.shop-filter-option input:checked + .shop-filter-check img {
  display: block;
}
.shop-filter-option-radio .shop-filter-check {
  width: 14px;
  height: 14px;
  border-color: #111827;
  border-radius: 999px;
  position: relative;
}
.shop-filter-option-radio .shop-filter-check img {
  display: none;
}
.shop-filter-option-radio input:checked + .shop-filter-check {
  border-color: #111827;
}
.shop-filter-option-radio input:checked + .shop-filter-check::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #111827;
}
.shop-price-range {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shop-price-fields {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-price-field {
  min-width: 0;
  height: 47px;
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.shop-price-field span {
  color: #94a3b8;
  font-size: 14px;
  line-height: 20px;
}
.shop-price-field input {
  min-width: 0;
  width: 100%;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: right;
  outline: none;
}
.shop-price-field input::-webkit-outer-spin-button,
.shop-price-field input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.shop-price-field input[type="number"] {
  -moz-appearance: textfield;
}
.shop-price-separator {
  color: #111827;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 20px;
}
.shop-price-slider {
  position: relative;
  height: 20px;
}
.shop-price-slider::before,
.shop-price-slider-track {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
}
.shop-price-slider::before {
  background: #bfdbfe;
}
.shop-price-slider-track {
  --price-min: 0%;
  --price-max: 100%;
  background: linear-gradient(
    to right,
    transparent 0,
    transparent var(--price-min),
    #0369a1 var(--price-min),
    #0369a1 var(--price-max),
    transparent var(--price-max),
    transparent 100%
  );
}
.shop-price-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.shop-price-slider input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #0369a1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}
.shop-price-slider input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #0369a1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  pointer-events: auto;
}
.shop-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}
.shop-price-slider input[type="range"]::-moz-range-track {
  height: 8px;
  background: transparent;
}
.shop-filter-view-more {
  align-self: center;
  color: #111827;
  cursor: pointer;
  font-size: 12px;
  line-height: 17px;
  text-decoration: underline;
}
.shop-filter-panel button[aria-expanded="true"] .shop-filter-chevron {
  transform: rotate(180deg);
}
.shop-filter-content[hidden] {
  display: none;
}
.shop-filter-open #shop-filter-overlay {
  pointer-events: auto;
}
.shop-filter-open #shop-filter-backdrop {
  opacity: 1;
}
#shop-filter-drawer {
  transform: translateX(-100%);
}
.shop-filter-open #shop-filter-drawer {
  transform: translateX(0);
}
@media (min-width: 1024px) {
  .shop-product-card {
    min-height: 551px;
  }
  .shop-product-image {
    min-height: 330px;
  }
  .shop-product-body h2 {
    font-size: 20px;
    line-height: 26.4px;
  }
}

/* ── Insights Swiper: hide overflow ──────────────────────────── */
.insights-swiper {
  overflow: visible;
}
@media (max-width: 767.98px) {
  .insights-swiper .swiper-slide {
    width: 320px !important;
  }
}

/* ── Home Photo Strip Swiper ─────────────────────────────────── */
.home-photo-swiper {
  height: 320px;
}
.home-photo-swiper .swiper-slide {
  height: 320px;
}
@media (max-width: 1023.98px) {
  .home-photo-swiper .swiper-slide {
    width: 320px !important;
  }
}
@media (min-width: 1024px) {
  .home-photo-swiper {
    height: 464px;
  }
  .home-photo-swiper .swiper-slide {
    height: 464px;
  }
}

/* ── Scrollbar hide utility ──────────────────────────────────── */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ── Hero & CTA arrow icon offset ───────────────────────────── */
.bg-white\/24 {
  background-color: rgba(255, 255, 255, 0.24);
}

/* ── Contact form checkbox ──────────────────────────────────── */
#contact-urgent + div {
  background-color: #ffffff;
  border-color: #b4b5b9;
}
#contact-urgent + div svg {
  opacity: 0;
}
#contact-urgent:checked + div {
  background-color: #ffffff;
  border-color: #065386;
}
#contact-urgent:checked + div svg {
  opacity: 1;
}

/* ── FAQ Tab States ──────────────────────────────────────────── */
.faq-tab[data-active="true"] {
  background-color: #e0f0fe;
  border: 1px solid #7ccdfd;
  color: #0b456f;
}
.faq-tab[data-active="false"] {
  color: #475569;
}
.faq-tab[data-active="false"]:hover {
  background-color: #f1f5f9;
}

/* ── FAQ Accordion Animation ─────────────────────────────────── */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}
.faq-chevron {
  transition: transform 250ms ease;
}

/* ── Base img override for fixed-height containers ──────────── */
.blog-card-img-wrap img {
  height: 100%;
}

/* ── Contact section image ───────────────────────────────────── */
.contact-section-img {
  min-height: 300px;
  margin-left: -1rem;
  margin-right: -1rem;
}
@media (min-width: 640px) {
  .contact-section-img {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}
@media (min-width: 1024px) {
  .contact-section-img {
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ── Section 4: reorder image/text on desktop ───────────────── */
@media (min-width: 1024px) {
  .section4-image { order: -1; }
}

/* ── Recent blogs desktop grid ───────────────────────────────── */
.recent-blogs-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .recent-blogs-desktop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* ── Featured secondary cards — explicit heights ─────────────── */
.blog-featured-side-card {
  min-height: 240px;
  height: 240px;
}
@media (min-width: 1024px) {
  .blog-featured-side-card {
    min-height: 285px;
    height: 285px;
  }
}

/* ── Blog Post Card ──────────────────────────────────────────── */
.blog-card {
 
  overflow: hidden;
 
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease;
  text-decoration: none;
}


.blog-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-card-date {
  font-size: 14px;
  line-height: 19.88px;
  color: #475569;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 22.72px;
  color: #0f172a;
  transition: color 200ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover .blog-card-title {
  color: #0161a3;
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 19.88px;
  color: #334155;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid #0f172a;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: #0f172a;
  white-space: nowrap;
  align-self: flex-end;
  flex-shrink: 0;
  transition: background-color 150ms ease, color 150ms ease;
}
.blog-read-more:hover {
  background-color: #0f172a;
  color: #ffffff;
}
.blog-read-more:hover svg path {
  stroke: #ffffff;
}

/* ── Blog Pagination ─────────────────────────────────────────── */
.blog-pagination-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 16px;
}
.blog-pagination-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 14px;
  line-height: 19.88px;
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  transition: color 150ms ease;
  border-radius: 8px;
}
.blog-pagination-nav:hover:not(:disabled) {
  color: #0f172a;
  background-color: #f1f5f9;
}
.blog-pagination-nav:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}
.blog-page-nums {
  display: flex;
  align-items: center;
  gap: 16px;
}
.blog-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 19.88px;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  transition: background-color 150ms ease, color 150ms ease;
  color: #0f172a;
}
.blog-page-num.active {
  background-color: #0161a3;
  color: #ffffff;
}
.blog-page-num:not(.active):hover {
  background-color: #f1f5f9;
}

/* ── About: Image Collage ────────────────────────────────────── */
.about-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 694 / 1015;
}
.about-collage-mobile {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 508;
}
.about-collage-block {
  position: absolute;
}

/* ── About: Feature Cards Icon Container ─────────────────────── */
.feature-icon-wrap {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── About: Features Section Decorative Ellipse ──────────────── */
.features-section {
  position: relative;
  overflow: hidden;
}
.features-section::after {
  content: '';
  position: absolute;
  bottom: -1200px;
  left: -600px;
  width: 2834px;
  height: 2834px;
  border-radius: 50%;
  background: rgba(219, 234, 254, 0.25);
  pointer-events: none;
  z-index: 0;
}

/* ── About: Testimonials Section ─────────────────────────────── */
.testimonials-section {
  background: radial-gradient(ellipse at 50% 10%, rgba(255, 243, 237, 0.85) 0%, rgba(255, 255, 255, 1) 65%);
}
.testimonials-rows-wrap {
  position: relative;
}
.testimonials-overflow {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 4px 0;
}

/* Row 1: scrolls left */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Row 2: scrolls right (reverse) */
@keyframes marquee-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonials-animate {
  animation: marquee 50s linear infinite;
}
.testimonials-animate-reverse {
  animation: marquee-reverse 50s linear infinite;
}

/* Pause on hover */
.testimonials-overflow:hover .testimonials-animate,
.testimonials-overflow:hover .testimonials-animate-reverse {
  animation-play-state: paused;
}

/* Gradient edge fades */
.testimonials-fade-left,
.testimonials-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
@media (min-width: 768px) {
  .testimonials-fade-left,
  .testimonials-fade-right { width: 160px; }
}
@media (min-width: 1280px) {
  .testimonials-fade-left,
  .testimonials-fade-right { width: 324px; }
}
.testimonials-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.testimonials-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* ── About: Testimonial Card ─────────────────────────────────── */
.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  height: auto;
  min-height: 220px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1280px) {
  .testimonial-card {
    width: 472px;
    min-height: 260px;
  }
}
