/* ═══════════════════════════════════════
   FONT — SwatchCTWeb (from Swatch CDN, exact URLs from source)
═══════════════════════════════════════ */
@font-face {
  font-display: swap;
  font-family: 'SwatchCTWeb';
  src: url('https://www.swatch.com/on/demandware.static/Sites-swarp-ASIA-Site/-/default/dw0d505b44/fonts/swatch_ct_regular-webfont.woff') format('woff'),
       url('https://www.swatch.com/on/demandware.static/Sites-swarp-ASIA-Site/-/default/dw3e9d4fb5/fonts/swatch_ct_regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #000;
  /* Exact Swatch font stack from source — SwatchCTWeb first, Arial fallback */
  font-family: "SwatchCTWeb", "Arial", "FreeSans", sans-serif;
  font-size: 1rem;          /* 16px base — matches Swatch source */
  font-weight: normal;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ═══════════════════════════════════════
   SITE HEADER — 1920×227 full-width banner
═══════════════════════════════════════ */
.site-header {
  width: 100%;
  line-height: 0;
}

.site-header img {
  width: 100%;
  height: auto;
  max-width: 1920px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   TEXT BLOCKS  (b-text_linkv2 equivalent)
   Mobile:  padding-top: 20px  padding-bottom: 20px
   Desktop: padding-top: 60px  padding-bottom: 60px
═══════════════════════════════════════ */
.text-block {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 24px;
}

.text-block__inner {
  width: 100%;
  max-width: 700px;   /* matches .m-desktop-direction_center max-width: 700px from source */
  text-align: center;
}

/* Headline — cascade as it lands on the element in the Swatch source:
   1. h2 { font-size: 28px; font-weight: normal; line-height: 1.2; margin: 0 }
   2. .b-text_linkv2-title { font-size: 1.75rem; margin-bottom: 16px }
   3. element style { color: #000000; text-align: center }
   Result: 1.75rem (28px at 16px base), normal weight, line-height 1.2  */
.text-block__title {
  font-size: 1.75rem;        /* = 28px — .b-text_linkv2-title overrides h2's 28px (same value) */
  font-weight: normal;       /* h2 reset from bold → normal */
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #000000;
  text-align: center;
  font-family: "SwatchCTWeb", "Arial", "FreeSans", sans-serif;
}

.text-block__description {
  color: #000000;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  font-family: "SwatchCTWeb", "Arial", "FreeSans", sans-serif;
  font-weight: normal;
}

/* Restore UA paragraph margins that our reset zeroed out */
.text-block__description p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

/* Collapse double margin between adjacent paragraphs */
.text-block__description p + p {
  margin-block-start: 0;
}

/* Notice block has larger top spacing */
.text-block--notice {
  padding-top: 50px;
  padding-bottom: 20px;
}

.text-block--notice .text-block__description p:first-child {
  margin-bottom: 12px;
}

/* Section title block */
.text-block--section-title {
  padding-top: 20px;
  padding-bottom: 0;
}

/* Description block below section title */
.text-block--description {
  padding-top: 10px;
  padding-bottom: 20px;
}

/* ═══════════════════════════════════════
   HERO BANNER — full-width watch image
═══════════════════════════════════════ */
.hero-banner {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-banner img {
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════
   FLOATING TRANSLATE BUTTON
═══════════════════════════════════════ */
.btn-translate {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e8789a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  transition: transform 0.18s ease;
  z-index: 20;
}

.btn-translate:hover {
  transform: scale(1.08);
}

/* ═══════════════════════════════════════
   PRODUCT GRID  (2-col desktop, 1-col mobile)
   padding-top: 20px / desktop: 20px
   padding-bottom: 15px / desktop: 45px... but
   source says 20px/15px mobile, 45px/45px desktop
═══════════════════════════════════════ */
.product-grid-section {
  padding: 20px 0 15px;
  background: #fff;
}

.product-grid-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-grid-title {
  font-size: 1.25rem;
  font-weight: normal;
  color: #000;
  margin-bottom: 20px;
  text-align: left;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.product-card__info {
  padding: 12px 4px 8px;
}

.product-card__name {
  font-size: 20px;
  font-weight: normal;
  color: #000;
  line-height: 1.2;
}

.product-grid__note {
  font-size: 12px;
  color: #000;
  text-align: center;
  margin-top: 20px;
  padding: 0 8px;
}

/* ═══════════════════════════════════════
   CONTENT CARD  ("Wear it your way")
   image left, text right on desktop
═══════════════════════════════════════ */
.content-card {
  display: flex;
  flex-direction: column;
  padding: 30px 20px 0;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}

.content-card__image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.content-card__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.content-card__title {
  font-size: 1.75rem;
  font-weight: normal;
  color: #000;
  line-height: 1.2;
}

.content-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

.content-card__cta {
  display: inline-block;
  padding: 12px 28px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.05em;
  border: 2px solid #000;
  border-radius: 2px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s ease;
}

.content-card__cta:hover {
  background: #333;
}

/* ═══════════════════════════════════════
   INFO CARDS  (4-col desktop, 1.35-col mobile scroll)
   padding-top: 20px / desktop: 45px
   padding-bottom: 15px / desktop: 45px
═══════════════════════════════════════ */
.info-cards-section {
  padding: 20px 20px 15px;
  background: #fff;
}

.info-cards-grid {
  display: flex;
  gap: 25px;
  max-width: 1320px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: stretch;   /* all cards same height */
}

.info-cards-grid::-webkit-scrollbar {
  display: none;
}

.info-card {
  flex: 0 0 calc(25% - 19px);
  min-width: 220px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;  /* let body grow and push button down */
}

.info-card__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.info-card__body {
  padding: 12px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;                 /* fill remaining card height */
}

.info-card__title {
  font-size: 1rem;
  font-weight: normal;
  color: #000;
  line-height: 1.2;
}

.info-card__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #000;
  flex: 1;                 /* pushes button to bottom */
}

.info-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background-color: #000000;
  color: #ffffff;
  font-family: "SwatchCTWeb", "Arial", "FreeSans", sans-serif;
  font-size: 0.8125rem;      /* ~13px — matches screenshot label size */
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.18s ease;
  white-space: nowrap;
}

.info-card__link:hover {
  background-color: #333333;
}

/* Hide the arrow wrapper — buttons have no arrow */
.info-card__link .btn-arrow-wrap {
  display: none;
}

/* ═══════════════════════════════════════
   BACK-TO-TOP
═══════════════════════════════════════ */
.btn-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #2e2e2e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease,
              background-color 0.18s ease;
  z-index: 200;
}

.btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-top:hover {
  background-color: #111;
}

/* ═══════════════════════════════════════
   RESPONSIVE — DESKTOP
   Matches Swatch breakpoint exactly
═══════════════════════════════════════ */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1200px) {

  .text-block        { padding: 60px 40px; }
  .text-block--hero  { padding-top: 60px; padding-bottom: 60px; }
  .text-block--notice       { padding-top: 60px; padding-bottom: 60px; }
  .text-block--section-title { padding-top: 60px; padding-bottom: 0; }
  .text-block--description  { padding-top: 10px; padding-bottom: 60px; }

  .text-block__title { font-size: 2.25rem; }

  .product-grid-section { padding: 45px 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 25px; }

  .content-card {
    flex-direction: row;
    padding: 30px 40px 40px;
    align-items: center;
    gap: 48px;
    max-width: 1320px;
    margin: 0 auto;
  }
  .content-card__title { font-size: 2.25rem; }

  .info-cards-section { padding: 45px 40px; }
  .info-cards-grid { overflow-x: visible; flex-wrap: nowrap; align-items: stretch; }
  .info-card { flex: 1 1 0; min-width: 0; }

  .btn-translate { top: 28px; right: 28px; width: 36px; height: 36px; }
}

/* ═══════════════════════════════════════
   TABLET PORTRAIT  (768px – 1199px)
═══════════════════════════════════════ */
@media (max-width: 1199px) and (orientation: portrait) {

  .text-block        { padding: 32px 24px; }
  .text-block--notice { padding-top: 40px; padding-bottom: 24px; }
  .text-block__title { font-size: 1.75rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .content-card { flex-direction: column; padding: 28px 24px; gap: 24px; }
  .content-card__title { font-size: 1.75rem; }
  .content-card__cta { align-self: flex-start; }

  /* scrollable row, show ~1.7 cards */
  .info-cards-grid { overflow-x: auto; }
  .info-card { flex: 0 0 calc(55vw - 24px); min-width: 260px; }
}

/* ═══════════════════════════════════════
   MOBILE  (≤ 767px)
═══════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Text blocks ── */
  .text-block        { padding: 24px 16px; }
  .text-block--hero  { padding-top: 24px; padding-bottom: 24px; }
  .text-block--notice       { padding-top: 32px; padding-bottom: 20px; }
  .text-block--section-title { padding-top: 24px; padding-bottom: 0; }
  .text-block--description  { padding-top: 8px; padding-bottom: 24px; }

  .text-block__inner { max-width: 100%; }
  .text-block__title { font-size: 1.375rem; margin-bottom: 12px; }
  .text-block__description { font-size: 0.9375rem; line-height: 1.55; }

  /* ── Header banner ── */
  .site-header img { width: 100%; }

  /* ── Translate btn ── */
  .btn-translate {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  .btn-translate svg { width: 15px; height: 15px; }

  /* ── Product grid — single column ── */
  .product-grid-section { padding: 20px 0 16px; }
  .product-grid-container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-grid-title { font-size: 1.125rem; margin-bottom: 16px; }
  .product-card__name { font-size: 1rem; }
  .product-grid__note { font-size: 0.75rem; margin-top: 16px; }

  /* ── Content card — stacked ── */
  .content-card {
    flex-direction: column;
    padding: 24px 16px 28px;
    gap: 20px;
    max-width: 100%;
  }
  .content-card__image { width: 100%; }
  .content-card__body  { text-align: left; gap: 14px; }
  .content-card__title { font-size: 1.375rem; }
  .content-card__text  { font-size: 0.9375rem; line-height: 1.55; }
  .content-card__cta   {
    width: 100%;
    text-align: center;
    align-self: stretch;
    padding: 14px 20px;
    font-size: 0.875rem;
  }

  /* ── Info cards — full-width single column ── */
  .info-cards-section { padding: 20px 16px 24px; }
  .info-cards-grid {
    flex-direction: column;
    overflow-x: visible;
    gap: 20px;
    align-items: stretch;
  }
  .info-card {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }
  .info-card__body  { padding: 12px 0 8px; gap: 10px; }
  .info-card__title { font-size: 1rem; }
  .info-card__text  { font-size: 0.875rem; }
  .info-card__link  {
    width: 100%;
    text-align: center;
    align-self: stretch;
    justify-content: center;
    padding: 14px 16px;
  }

  /* ── Back-to-top ── */
  .btn-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ═══════════════════════════════════════
   SMALL MOBILE  (≤ 390px)
═══════════════════════════════════════ */
@media (max-width: 390px) {
  .text-block__title { font-size: 1.2rem; }
  .content-card__title { font-size: 1.2rem; }
  .product-grid-container { padding: 0 12px; }
  .info-cards-section { padding: 16px 12px 20px; }
}
