/* Faces this component uses are declared here on purpose: the build
   prefixes each @font-face family and rewrites the usages to match, and a
   component that uses a family it does not declare gets no rewrite — the
   name resolves to nothing and the text falls back silently.
   latin-ext is what carries İ Ğ ğ Ş ş; latin carries ı. Both are required. */

/* Anton 400 — latin-ext */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3K9-C8CSKlvPfE.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Anton 400 — latin */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/anton/v27/1Ptgg87LROyAm3Kz-C8CSKlv.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geist Mono 400 — latin-ext */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geistmono/v6/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeE9KK5a5Cl4PuCTfNjENg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist Mono 400 — latin */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geistmono/v6/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeE9KK5U5Cl4PuCTfNg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geist 400 — latin-ext */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOMIlJna6VEdtaiLqoA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Geist 400 — latin */
@font-face {
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOMImpna6VEdtaiL.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Çok satanlar ────────────────────────────────────────────
 * A heading inside the page's width limit, and a scroller that is not — the
 * track runs to the screen's own edge so the last card is cut rather than
 * ending in a margin. A card ending in a margin reads as the end of the row.
 */

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best, .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best * {
  box-sizing: border-box;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best {
  width: 100%;
  padding: 48px 0 8px;
  background: #0b0b0b;
  color: #ece9e2;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__headtext {
  min-width: 0;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__eyebrow {
  margin-bottom: 10px;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7c7c78;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__title {
  margin: 0;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Anton', Impact, 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 34px;
  /* 1.16 — uppercase Turkish carries about 1.14em of ink in this face. */
  line-height: 1.16;
  text-transform: uppercase;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__all {
  flex: none;
  padding-bottom: 4px;
  border-bottom: 1px solid #2a2a2a;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7c7c78;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

.cc_pfQKlERh3P_KFOcpgkRFQ a.dh-best__all:hover {
  color: #ece9e2;
  border-bottom-color: #2b45ff;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__all--unset {
  opacity: 0.6;
}

/* ─── The track ───────────────────────────────────────────────
 * proximity, not mandatory: mandatory fights a flick that means "show me the
 * rest of the row" by dragging it back to the nearest card.
 */
.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Lines the first card up with the heading above it, and leaves the same
     inset after the last one so the row does not end flush against the edge. */
  padding: 0 20px 20px;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__track::-webkit-scrollbar {
  display: none;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__card {
  flex: none;
  /* 150px puts about two and a third cards on a 390px screen — the third is the
     part that says the row moves. Slightly narrower than the portrait version
     was, because a square card is already shorter and a wider one would make
     the row read as two big tiles rather than as a run. */
  width: 150px;
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__frame {
  position: relative;
  display: block;
  /* Square, not 3:4. The catalogue is shot square, so a portrait frame was
     cropping every photograph to make a shape the source does not have — and
     the band is shorter for it, which is what a row between two full sections
     wants to be. */
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
  /* The catalogue is shot on white, so the frame is white and the garment sits
     in its own ground rather than being cut out or multiplied onto ink. */
  background: #eceae5;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.cc_pfQKlERh3P_KFOcpgkRFQ a.dh-best__card:hover .dh-best__img {
  transform: scale(1.03);
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__card.is-sold .dh-best__img {
  opacity: 0.45;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__sold {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 5px 8px;
  border-radius: 3px;
  background: #0d0d0c;
  color: #ece9e2;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__brand {
  display: block;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7c7c78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__name {
  display: block;
  margin-top: 6px;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Anton', Impact, 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.16;
  text-transform: uppercase;
  /* Two lines, then clipped: a long garment name must not make one card taller
     than the rest of the row. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* The old price before the new one, quieter, never the same weight as the
   number being asked for. */
.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__was {
  font-size: 11px;
  color: #7c7c78;
  text-decoration: line-through;
}

@media (min-width: 768px) {
  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best {
    padding: 72px 0 8px;
  }

  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__title {
    font-size: 48px;
  }

  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__card {
    width: 190px;
  }

  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__name {
    font-size: 18px;
  }

  /* The heading is capped at 1240 and centred; the track is not, so without a
     matching inset the first card would not line up under it on a wide screen.
     max() keeps the 20px edge until the viewport is wider than the cap. */
  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__track {
    gap: 14px;
    padding: 0 max(20px, calc((100vw - 1240px) / 2 + 20px)) 24px;
  }
}

@media (min-width: 1440px) {
  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__title {
    font-size: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__img, .cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__all {
    transition: none;
  }
}

/* The empty state, which is what the editor sees before any product is
   chosen. Plates rather than nothing: a section that draws nothing cannot be
   selected on the canvas, so its own fields become unreachable. */
.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__card--empty .dh-best__frame {
  background: #141414;
  border: 1px dashed #2a2a2a;
}

.cc_pfQKlERh3P_KFOcpgkRFQ .dh-best__placeholder {
  display: block;
  font-family: 'cc_pfQKlERh3P_KFOcpgkRFQ_Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a4a48;
}
