/* ==========================================================================
   FlagsExpo redesign V1 (Figma) — Homepage sections
   Loaded after Css/default.css and Design/css/fx-redesign.css (shares its
   :root custom properties --v2-navy/--v2-red/--v2-font/--v2-font-display).
   ========================================================================== */

.v2-hero, .v2-section, .v2-banner250, .v2-madebyhand,
.v2-hero *, .v2-section *, .v2-banner250 *, .v2-madebyhand * {
  box-sizing: border-box;
  font-family: var(--v2-font);
}

.v2-eyebrow {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #71091a;
}
.v2-section-title {
  margin: 0; font-family: var(--v2-font-display); font-weight: 400; font-size: 40px; line-height: 1; color: #021433;
}
.v2-section-title em { font-style: italic; }
.v2-center { text-align: center; width: 100%; }

.v2-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 28px; font-size: 15px; font-weight: 600; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; border: none; cursor: pointer;
}
.v2-btn-red { background: var(--v2-red-dark); color: #fff; }
.v2-btn-navy { background: var(--v2-navy); color: #fff; }
.v2-btn-white { background: #fff; color: #000; width: 100%; }
.v2-btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }

.v2-section { padding: 64px 80px; }

.v2-section-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 48px; flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.v2-hero { display: flex; gap: 8px; }
.v2-hero-left {
  flex: 1 1 57%; min-height: 710px; position: relative; padding: 72px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  background-image: linear-gradient(100deg, rgba(0,0,0,0.75) 15%, rgba(0,0,0,0.1) 60%), url('../img/hero-left-photo.png');
  background-size: cover; background-position: center;
}
.v2-hero-left-eyebrow {
  display: flex; align-items: center; gap: 12px; color: #e2bd58; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
.v2-hero-dot { width: 6px; height: 6px; border-radius: 50%; background: #e2bd58; }
.v2-hero-left-content { max-width: 620px; }
.v2-hero-title { font-family: var(--v2-font-display); font-weight: 300; font-size: 72px; line-height: 0.98; color: #fff; margin: 0 0 40px 0; }
.v2-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.v2-hero-right { flex: 1 1 43%; display: flex; flex-direction: column; gap: 8px; }
.v2-hero-tile {
  flex: 1 1 0; min-height: 351px; position: relative; display: flex; align-items: center; padding: 40px;
  background-size: cover; background-position: center;
}
.v2-hero-tile:nth-child(1) { background-image: linear-gradient(90deg, rgba(0,0,0,0.75) 25%, rgba(0,0,0,0) 80%), url('../img/hero-topright-photo.png'); }
.v2-hero-tile:nth-child(2) { background-image: linear-gradient(90deg, rgba(0,0,0,0.75) 25%, rgba(0,0,0,0) 80%), url('../img/hero-bottomright-photo.png'); }
.v2-hero-tile-content { max-width: 320px; display: flex; flex-direction: column; gap: 20px; }
.v2-hero-tile-title { font-family: var(--v2-font-display); font-weight: 300; font-size: 40px; line-height: 1; color: #fff; margin: 0; }
.v2-hero-tile-title em { font-style: italic; }
.v2-hero-tile-copy { margin: 0; font-size: 14px; line-height: 1.6; color: #fff; }

/* ---------- Product carousels ---------- */
.v2-carousel-wrap { position: relative; }
.v2-carousel { overflow: hidden; }
.v2-carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
}
.v2-carousel-track::-webkit-scrollbar { display: none; }
.v2-carousel-nav { display: flex; gap: 6px; justify-content: flex-end; margin-top: 24px; }
.v2-carousel-prev, .v2-carousel-next {
  width: 48px; height: 48px; background: #f0f0f0; border: none; cursor: pointer;
  font-size: 22px; color: var(--v2-navy); display: flex; align-items: center; justify-content: center;
}
.v2-carousel-next { background: #f4f4f4; }
.v2-carousel-prev:hover, .v2-carousel-next:hover { background: var(--v2-navy); color: #fff; }

.v2-carousel-track .v2-pl-card { flex: 0 0 296px; scroll-snap-align: start; }

/* ---------- Shop by Category ---------- */
.v2-category-row { display: flex; gap: 8px; margin: 0 -80px; }
.v2-category-tile {
  flex: 1 1 0; min-width: 0; height: 380px; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 32px;
  background-size: cover; background-position: center; text-decoration: none;
  background-color: #d9d9d9;
}
.v2-category-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.7) 90%);
}
.v2-category-eyebrow, .v2-category-name { position: relative; display: block; }
.v2-category-eyebrow { color: #e2bd58; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.v2-category-name { color: #fff; font-family: var(--v2-font-display); font-weight: 600; font-size: 26px; }

/* ---------- Our Loyal Customers ---------- */
.v2-loyalcustomers { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.v2-logos-row-wrap { position: relative; width: 100%; }
.v2-logos-row-wrap::before, .v2-logos-row-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.v2-logos-row-wrap::before { left: 0; background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
.v2-logos-row-wrap::after { right: 0; background: linear-gradient(to left, #fff, rgba(255,255,255,0)); }
.v2-logos-row {
  display: flex; align-items: center; gap: 40px; flex-wrap: nowrap; justify-content: center;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.v2-logos-row::-webkit-scrollbar { display: none; }
.v2-logos-row img { height: 64px; width: 64px; object-fit: contain; flex-shrink: 0; }

/* ---------- 250th banner ---------- */
.v2-banner250 {
  background: #001845;
  display: flex; align-items: stretch;
}
.v2-banner250-content { flex: 0 0 55%; padding: 96px 80px; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.v2-banner250-image { flex: 0 0 45%; }
.v2-banner250-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-banner250-title { font-family: var(--v2-font-display); font-weight: 300; font-size: 64px; line-height: 1; color: #fff; margin: 0; }
.v2-banner250-title em { font-style: italic; color: #dec716; }
.v2-banner250-copy { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.v2-banner250-meta { margin: 0; font-family: var(--v2-font-display); font-weight: 700; font-size: 16px; color: #fff; }
.v2-banner250-meta span { color: #dec716; }

/* ---------- Made by hand ---------- */
.v2-madebyhand { padding: 64px 80px; }
.v2-madebyhand-header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 48px; }
.v2-madebyhand-title { font-family: var(--v2-font-display); font-weight: 400; font-size: 56px; line-height: 1.1; color: #021433; margin: 0; }
.v2-madebyhand-body { display: flex; gap: 64px; align-items: stretch; }
.v2-madebyhand-photo { flex: 1 1 65%; min-height: 420px; overflow: hidden; }
.v2-madebyhand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-madebyhand-stats { flex: 1 1 35%; display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.v2-stat { display: flex; flex-direction: column; gap: 8px; }
.v2-stat .v2-eyebrow { color: #e2bd58; }
.v2-stat-value { margin: 0; font-family: var(--v2-font-display); font-weight: 400; font-size: 28px; color: #000; }

/* ---------- Guides & tools ---------- */
.v2-guides-row { display: flex; gap: 16px; }
.v2-guide-card {
  flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid #efefef; padding: 16px;
  display: flex; flex-direction: column; gap: 16px; text-decoration: none;
}
.v2-guide-photo { height: 280px; background: #d9d9d9; overflow: hidden; }
.v2-guide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-guide-kicker { margin: 0; font-size: 13px; text-transform: uppercase; color: var(--v2-red-dark); }
.v2-guide-title { margin: 0; font-family: var(--v2-font-display); font-weight: 500; font-size: 20px; color: #000; line-height: 1.2; }
.v2-guide-copy { margin: 0; font-size: 14px; line-height: 1.5; color: #6b6b6b; }
.v2-guide-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.v2-guide-readmore { font-family: var(--v2-font-display); font-size: 16px; color: #000; text-decoration: underline; }

/* ---------- Testimonials ---------- */
.v2-testimonials-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.v2-testimonials-title { margin: 0; font-family: var(--v2-font-display); font-weight: 400; font-size: 56px; line-height: 0.96; color: #021433; }
.v2-carousel-wrap-bleed { margin: 0 -80px; }
.v2-carousel-wrap-bleed .v2-carousel-track { padding-left: 80px; padding-right: 80px; }
.v2-carousel-wrap-bleed .v2-carousel-nav { padding-right: 80px; }
.v2-tcard {
  flex: 0 0 320px; scroll-snap-align: start; background: #f9f9f9; display: flex; flex-direction: column;
}
.v2-tcard-photo { height: 180px; background: #d9d9d9; overflow: hidden; }
.v2-tcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-tcard-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.v2-tcard-stars { color: #e2bd58; letter-spacing: 2px; }
.v2-tcard-quote { margin: 0; font-family: var(--v2-font-display); font-size: 17px; line-height: 1.3; color: #021433; }
.v2-tcard-author { display: flex; align-items: center; gap: 16px; }
.v2-tcard-name { margin: 0; font-family: var(--v2-font-display); font-size: 16px; color: #021433; }
.v2-tcard-meta { margin: 0; font-size: 13px; color: #6d7383; }
.v2-verified { color: #00b831; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .v2-section { padding: 48px 40px; }
  .v2-category-row { margin: 0 -40px; }
  .v2-carousel-wrap-bleed { margin: 0 -40px; }
  .v2-carousel-wrap-bleed .v2-carousel-track { padding-left: 40px; padding-right: 40px; }
  .v2-carousel-wrap-bleed .v2-carousel-nav { padding-right: 40px; }
  .v2-hero-left, .v2-madebyhand { padding-left: 40px; padding-right: 40px; }
  .v2-banner250 { padding: 64px 40px; }
  .v2-hero-title { font-size: 56px; }
  .v2-section-title { font-size: 32px; }
  .v2-testimonials-title { font-size: 44px; }
  .v2-madebyhand-title { font-size: 42px; }
  .v2-banner250-title { font-size: 48px; }
}

@media (max-width: 1023px) {
  .v2-section { padding: 40px 20px; }
  .v2-category-row { margin: 0 -20px; }
  .v2-carousel-wrap-bleed { margin: 0 -20px; }
  .v2-carousel-wrap-bleed .v2-carousel-track { padding-left: 20px; padding-right: 20px; }
  .v2-carousel-wrap-bleed .v2-carousel-nav { padding-right: 20px; }
  .v2-hero-left, .v2-madebyhand { padding: 40px 20px; }
  .v2-banner250 { padding: 48px 20px; flex-direction: column; }
  .v2-banner250-content { flex: none; max-width: none; }
  .v2-banner250-image { flex: none; min-height: 220px; order: 2; }

  .v2-hero { flex-direction: column; }
  .v2-hero-left { min-height: 480px; }
  .v2-hero-right { flex-direction: row; }
  .v2-hero-tile { min-height: 260px; }

  .v2-category-row { flex-wrap: wrap; }
  .v2-category-tile { flex: 1 1 45%; height: 280px; }

  .v2-madebyhand-body { flex-direction: column; }
  .v2-madebyhand-photo { min-height: 300px; }

  .v2-guides-row { flex-direction: column; }

  .v2-section-header { margin-bottom: 32px; }
  .v2-testimonials-header { margin-bottom: 32px; }
}

@media (max-width: 640px) {
  .v2-hero-right { flex-direction: column; }
  .v2-hero-title { font-size: 40px; }
  .v2-hero-tile-title { font-size: 32px; }

  .v2-section-title { font-size: 26px; }
  .v2-testimonials-title { font-size: 32px; }
  .v2-testimonials-header { flex-direction: column; align-items: flex-start; }
  .v2-section-header { flex-direction: column; align-items: flex-start; }
  .v2-btn { width: 100%; }
  .v2-hero-ctas { flex-direction: column; }
  .v2-hero-ctas .v2-btn { width: 100%; }

  .v2-category-tile { flex: 1 1 100%; height: 220px; }

  .v2-madebyhand-title { font-size: 32px; }
  .v2-banner250-title { font-size: 36px; }

  .v2-tcard { flex-basis: 280px; }

  .v2-logos-row { gap: 24px; }
  .v2-logos-row img { height: 44px; width: 44px; }
}
