/* END-style product cards: one link, square photo, second photo on hover, quiet text. */
body .product-card.kpt-end-card {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  color: #1a1a1a;
  text-align: left;
}

body .product-card.kpt-end-card > .kpt-end-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body .product-card.kpt-end-card .kpt-end-media {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eee;
}

body .product-card.kpt-end-card .kpt-end-media > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  /* Packshots keep breathing room and are never cropped; the hover photo fills the square (see .kpt-end-alt). */
  object-fit: contain;
  object-position: center;
  /* White and near-white studio backgrounds take the card grey, so mixed sources read as one set. */
  mix-blend-mode: multiply;
  opacity: 1;
  transform: none;
  transition: none;
  filter: none;
}

body .product-card.kpt-end-card .kpt-end-media > .kpt-end-alt { object-fit: cover; opacity: 0; }
body .product-card.kpt-end-card.is-contain .kpt-end-media > .kpt-end-main { object-fit: contain; }

/* The hover photo loads on the first mouse visit (commerce-store.js adds .alt-ready); until then the packshot stays. */
@media (hover: hover) and (pointer: fine) {
  body .product-card.kpt-end-card.has-alt.alt-ready:hover .kpt-end-media > .kpt-end-alt { opacity: 1; }
  body .product-card.kpt-end-card.has-alt.alt-ready:hover .kpt-end-media > .kpt-end-main { opacity: 0; }
}

body .product-card.kpt-end-card .kpt-end-link:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}

body .product-card.kpt-end-card .kpt-end-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  margin: 0 0 8px;
  padding: 0;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body .product-card.kpt-end-card .kpt-end-label::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: currentColor;
}

body .product-card.kpt-end-card .kpt-end-label.is-sold-out { color: #8a1c1c; }

body .product-card.kpt-end-card .kpt-end-name,
body .product-card.kpt-end-card .kpt-end-color,
body .product-card.kpt-end-card .kpt-end-price {
  display: block;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: .28px;
  text-transform: none;
  overflow-wrap: anywhere;
}

body .product-card.kpt-end-card .kpt-end-name { color: #1a1a1a; }
body .product-card.kpt-end-card .kpt-end-color { color: #767676; }
body .product-card.kpt-end-card .kpt-end-price { margin-top: 4px; color: #1a1a1a; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

@media (max-width: 767px) {
  body .product-card.kpt-end-card .kpt-end-media { margin-bottom: 12px; }
  body .product-card.kpt-end-card .kpt-end-name,
  body .product-card.kpt-end-card .kpt-end-color,
  body .product-card.kpt-end-card .kpt-end-price { font-size: 13px; line-height: 17px; }
}

/* One type hierarchy (2026-10-10): brand like the nav, name semibold, colour quiet, price as heavy as the nav. */
body .product-card.kpt-end-card .kpt-end-label { margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.1px; }
body .product-card.kpt-end-card .kpt-end-name { font-size: 14px; font-weight: 600; line-height: 19px; letter-spacing: 0; color: #1a1a1a; }
body .product-card.kpt-end-card .kpt-end-color { font-size: 13px; font-weight: 400; line-height: 18px; letter-spacing: 0; color: #767676; }
body .product-card.kpt-end-card .kpt-end-price { margin-top: 6px; font-size: 14px; font-weight: 800; line-height: 19px; letter-spacing: 0; }
@media (max-width: 767px) {
  body .product-card.kpt-end-card .kpt-end-label { font-size: 10px; letter-spacing: 1px; }
  body .product-card.kpt-end-card .kpt-end-name, body .product-card.kpt-end-card .kpt-end-price { font-size: 13px; line-height: 18px; }
  body .product-card.kpt-end-card .kpt-end-color { font-size: 12px; line-height: 17px; }
}

/* Favourite heart (2026-10-13, Sneaker Baker ref): white disc on the photo's top-right corner, bordeaux heart filled once saved,
   grows on hover and dips on press; the tooltip names the action. Sibling of .kpt-end-link, so a tap never opens the product. */
body .product-card.kpt-end-card > .kpt-end-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  color: #741e32;
  opacity: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s, box-shadow .2s, transform .15s;
}
body .product-card.kpt-end-card > .kpt-end-fav:disabled { opacity: 1; cursor: pointer; }
body .product-card.kpt-end-card > .kpt-end-fav svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
body .product-card.kpt-end-card > .kpt-end-fav.is-active svg { fill: currentColor; }
body .product-card.kpt-end-card > .kpt-end-fav:active { transform: scale(.92); }
body .product-card.kpt-end-card > .kpt-end-fav:focus-visible { outline: 2px solid #171b1c; outline-offset: 2px; }
body .product-card.kpt-end-card > .kpt-end-fav::after {
  content: "Favorilere ekle";
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: #171b1c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
body .product-card.kpt-end-card > .kpt-end-fav.is-active::after { content: "Favorilerden \e7\131 kar"; }
@media (hover: hover) and (pointer: fine) {
  body .product-card.kpt-end-card > .kpt-end-fav:hover { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); transform: scale(1.08); }
  body .product-card.kpt-end-card > .kpt-end-fav:hover:active { transform: scale(.92); }
  body .product-card.kpt-end-card > .kpt-end-fav:hover::after { opacity: 1; visibility: visible; transition-delay: .35s; }
}
@media (max-width: 767px) {
  body .product-card.kpt-end-card > .kpt-end-fav { top: 6px; right: 6px; width: 40px; height: 40px; }
  body .product-card.kpt-end-card > .kpt-end-fav svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body .product-card.kpt-end-card > .kpt-end-fav { transition: background .2s, box-shadow .2s; }
  body .product-card.kpt-end-card > .kpt-end-fav:hover,
  body .product-card.kpt-end-card > .kpt-end-fav:active { transform: none; }
}

/* Product gallery heart (2026-10-13): the card heart's white disc, bordeaux heart, tooltip and press effect, one size up. */
body .atelier-product-photo .favorite[data-favorite] {
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  color: #741e32;
  opacity: 1;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s, box-shadow .2s, transform .15s;
}
body .atelier-product-photo .favorite[data-favorite]:disabled { opacity: 1; cursor: pointer; }
body .atelier-product-photo .favorite[data-favorite] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
body .atelier-product-photo .favorite[data-favorite].is-active svg { fill: currentColor; }
body .atelier-product-photo .favorite[data-favorite]:active { transform: scale(.92); }
body .atelier-product-photo .favorite[data-favorite]:focus-visible { outline: 2px solid #171b1c; outline-offset: 2px; }
body .atelier-product-photo .favorite[data-favorite]::after {
  content: "Favorilere ekle";
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: #171b1c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
body .atelier-product-photo .favorite[data-favorite].is-active::after { content: "Favorilerden \e7\131 kar"; }
@media (hover: hover) and (pointer: fine) {
  body .atelier-product-photo .favorite[data-favorite]:hover { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); transform: scale(1.08); }
  body .atelier-product-photo .favorite[data-favorite]:hover:active { transform: scale(.92); }
  body .atelier-product-photo .favorite[data-favorite]:hover::after { opacity: 1; visibility: visible; transition-delay: .35s; }
}
@media (max-width: 767px) {
  body .atelier-product-photo .favorite[data-favorite] { top: 10px; right: 10px; width: 40px; height: 40px; }
  body .atelier-product-photo .favorite[data-favorite] svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body .atelier-product-photo .favorite[data-favorite] { transition: background .2s, box-shadow .2s; }
  body .atelier-product-photo .favorite[data-favorite]:hover,
  body .atelier-product-photo .favorite[data-favorite]:active { transform: none; }
}
