/* Kalorimetre Teknolojileri POLİMETER product photo edition - actual product photographs from linked sources.
   Dark watch-ad editorial direction: champagne mattes, thin engraved frames, restrained motion. */

.hero-photo-frame {
  z-index: 1;
  position: relative;
  display: grid;
  place-items: center;
  width: min(84%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 38% 26%, #faf8ee 0%, #e9e2d2 48%, #c6b89e 100%);
  border: 1px solid rgba(245,217,164,.72);
  box-shadow: 0 0 0 7px rgba(226,191,122,.05),0 0 0 8px rgba(230,201,146,.18),0 35px 95px #000b,0 0 115px #c5a46f2b,inset 0 0 35px #836c4b65;
  animation: hero-float 6s ease-in-out infinite alternate;
  isolation: isolate;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 43%, transparent 49%,#92734616 72%,#443b2c70 100%),
             linear-gradient(128deg,#fff7e25c,transparent 33%,transparent 66%,#58452730);
  box-shadow: inset 0 0 0 1px #ffffff5e,inset 0 0 28px #a0835680;
}

.hero-photo-frame .hero-machine {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  animation: none;
  transform: none;
  mix-blend-mode: multiply;
  filter: contrast(1.05) saturate(.72) sepia(.09);
}

.hero-photo-credit {
  z-index: 2;
  position: absolute;
  bottom: 17%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  font-size: 8px;
  letter-spacing: .25em;
  color: #ecdbc0;
  text-shadow: 0 1px 10px #000c;
  background: #111918dc;
  padding: 10px 13px;
  border: 1px solid #ddba8155;
}

.hero-visual .hero-visual-text {
  color: #f5e6c8bb;
  text-shadow: 0 2px 25px #000;
}

/* Gallery: photographs styled as champagne-lit luxury product stills rather than illustrations. */

.product-view {
  background: radial-gradient(ellipse 70% 90% at 50% 70%,#26302d 0%,#101717 74%,#0c1213 100%);
}

.product-art {
  padding: 49px 14px 25px;
  isolation: isolate;
}

.product-art::after {
  display: none;
}

.product-art .photo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 42% 23%,#f6f3eb,#e8e1d3 65%,#c9bba5);
  border: 1px solid #d6bf8b94;
  box-shadow: inset 0 0 22px #9b805d55,0 12px 28px #0305056b,0 0 0 1px #ddc28c1a;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
}

.photo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 10px solid transparent;
  border-image: linear-gradient(140deg,#f5eaca18,#b6985c1c,#5d50341b) 1;
}

.product-art .photo-stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  filter: contrast(1.06) saturate(.77) sepia(.07);
  mix-blend-mode: multiply;
  transform: scale(1.015);
  transition: transform .8s var(--ease),filter .8s ease;
}

.product-card:hover .photo-stage img {
  transform: scale(1.105);
  filter: contrast(1.10) saturate(.88) sepia(.05);
}

.product-art-share .photo-stage img {
  transform: scale(1.65);
}

.product-card:hover .product-art-share .photo-stage img {
  transform: scale(1.78);
}

.product-art .photo-model {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 24px;
  right: 24px;
  display: block;
  color: #242722;
  font-size: 8px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .12em;
  background: #f8f5ebe0;
  padding: 7px 9px;
  border-left: 2px solid #ad8a4a;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-view-label {
  left: 24px;
  right: 24px;
  bottom: 65px;
  color: #18201d;
  background: #e9d9b7ed;
  font-weight: 800;
  padding: 8px 11px;
  letter-spacing: .13em;
}

.product-view-label span {
  color: #624a26;
}

.modal-photo-stage {
  position: relative;
  width: min(95%, 470px);
  aspect-ratio: 1;
  overflow: hidden;
  background: radial-gradient(ellipse at 35% 25%,#faf5ea 0,#e5dece 65%,#bfb095);
  border: 1px solid #d7b8829b;
  box-shadow: 0 14px 55px #0008,inset 0 0 35px #6b584e44;
}

.modal-art .modal-photo-stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(.78) sepia(.1);
}

.modal-photo-label {
  position: absolute;
  bottom: 37px;
  left: 25px;
  color: #f4e8cd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  background: #101818df;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  max-width: 85%;
}

.image-fallback {
  display: none;
  position: absolute;
  inset: 10%;
  z-index: 4;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #514b3e;
  font-size: 10px;
  line-height: 2;
  letter-spacing: .15em;
  font-weight: 700;
  padding: 20px;
}

.image-missing img {
  opacity: 0 !important;
}

.image-missing .image-fallback {
  display: flex;
}

.thirdparty-credit {
  border-top: 1px solid #dfbf8b28;
  color: #8b938e;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .01em;
  padding: 12px 0 30px;
  text-align: left;
}

@media (max-width: 1100px) {
  .hero-photo-frame {
    width: min(88%,540px);
  }
  .product-art {
    padding: 45px 11px 23px;
  }
  .product-art .photo-model {
    left: 19px;
    right: 19px;
    bottom: 27px;
    letter-spacing: .06em;
  }
}

@media (max-width: 760px) {
  .hero-photo-frame {
    width: min(81%,390px);
  }
  .hero-photo-credit {
    bottom: 12%;
    font-size: 7px;
    padding: 8px;
    letter-spacing: .14em;
  }
  .product-art {
    padding: 42px 9px 14px;
  }
  .product-art .photo-model {
    font-size: 7px;
    left: 14px;
    right: 14px;
    bottom: 17px;
    padding: 5px 6px;
  }
  .modal-photo-stage {
    width: min(94%,340px);
  }
  .modal-photo-label {
    font-size: 7px;
    bottom: 13px;
    left: 15px;
    padding: 8px;
  }
  .thirdparty-credit {
    font-size: 9px;
    padding-bottom: 22px;
  }
}

@media (max-width: 460px) {
  .hero-photo-frame {
    width: min(82%,330px);
  }
  .hero-photo-credit {
    font-size: 6px;
    bottom: 11%;
    white-space: normal;
    width: max-content;
    max-width: 94%;
  }
  .product-art {
    padding: 40px 7px 10px;
  }
  .product-art .photo-model {
    font-size: 6px;
    left: 11px;
    right: 11px;
    bottom: 13px;
    letter-spacing: 0;
  }
  .product-view-label {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-photo-frame {
    animation: none;
  }
}

/* Polimeter collection: elegant champagne lightboxes for actual product photos. */

.hero-photo-frame {
  background: radial-gradient(circle at 40% 30%,#fbf8ed,#e9e1d0 65%,#b8a487);
}

.hero-photo-frame .hero-machine {
  object-fit: contain;
  transform: scale(.94);
  mix-blend-mode: multiply;
  filter: contrast(1.05) saturate(.83);
}

.product-art .photo-stage {
  background: radial-gradient(ellipse at 38% 29%,#fbf9f3,#e8e0d3 73%,#c7b79b);
}

.product-art .photo-stage img {
  object-fit: contain;
  transform: scale(.98);
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(.78);
}

.product-card:hover .photo-stage img {
  transform: scale(1.065);
  filter: contrast(1.11) saturate(.88);
}

.product-art-share .photo-stage img, .product-card:hover .product-art-share .photo-stage img {
  transform: scale(1.0);
}

.modal-art .modal-photo-stage img {
  object-fit: contain;
}

.photo-model {
  font-family: "Manrope",sans-serif;
}

@media (max-width:460px) {
  .product-art .photo-stage img {
    transform: scale(.95);
  }
  .product-card:hover .photo-stage img {
    transform: scale(1.025);
  }
}

/* Paged collection: one row, with the same footprint for every product group. */
.collection-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px 26px; }
.collection-toolbar .filter-list { gap: clamp(16px, 2.2vw, 36px); align-items: center; }

.collection-carousel { position: relative; margin-inline: 20px; }
.collection-step { position: absolute; z-index: 5; top: 195px; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #bda06a40; background: #10171770; color: #d8bd8ec9; font: 300 26px/1 sans-serif; transition: background .25s, border-color .25s; }
.collection-next { right: -54px; }
.collection-prev { left: -54px; }
.collection-step:hover:not(:disabled) { background: #d5b27812; border-color: #bda06a80; }
.collection-step:disabled { opacity: .25; cursor: default; }
.collection-step:focus-visible { outline: 2px solid var(--goldlight); outline-offset: 4px; }

.water-filters { display: flex; gap: 24px; margin-left: auto; }
.collection-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: minmax(0,1fr); height: 575px; gap: 17px; overflow-x: auto; overflow-y: hidden; padding-top: 8px; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #a88c59 #101717; }
#product-grid.five-products { grid-template-columns: repeat(5,minmax(0,1fr)); }
#product-grid .product-card { scroll-snap-align: start; }
#product-grid .product-card[hidden] { display: none; }
#product-grid .product-view { height: 375px; }
#product-grid .product-details { padding: 20px 2px 15px; }
#product-grid .product-title-row { min-height: 76px; margin-top: 8px; align-items: flex-start; }
#product-grid .product-title-row h3 { font-size: clamp(20px,1.6vw,26px); }
#product-grid .product-details p { margin-top: 5px; }
#product-grid .product-art .photo-stage img { object-fit: contain; object-position: center; padding: 17px 12px 45px; transform: none; }
#product-grid .product-card:hover .photo-stage img { transform: scale(1.035); }
@media (max-width: 1350px) {
  .collection-prev { left: -50px; }
  .collection-next { right: -50px; }
}
@media (max-width: 1200px) {
  .collection-toolbar { column-gap: 20px; }
  .collection-step { top: 185px; width: 34px; height: 34px; }
  .collection-prev { left: -44px; }
  .collection-next { right: -44px; }
  .water-filters { gap: 17px; }
  #product-grid, #product-grid.five-products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 31%); grid-template-rows: minmax(0,1fr); height: 555px; }
  #product-grid .product-view { height: 355px; }
}
@media (max-width: 760px) {
  .collection-toolbar { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; overflow: visible; }
  .collection-toolbar .filter-list { min-width: 0; gap: 17px; overflow-x: auto; scrollbar-width: none; }

  .collection-carousel { margin-inline: 24px; }
  .collection-step { top: 163px; width: 30px; height: 30px; font-size: 23px; }
  .collection-prev { left: -38px; }
  .collection-next { right: -38px; }

  .water-filters { grid-column: 1 / -1; margin-left: 0; gap: 24px; }
  .water-filters .filter { padding-bottom: 14px; }
  #product-grid, #product-grid.five-products { grid-auto-columns: min(82%, 330px); grid-template-rows: minmax(0,1fr); height: 510px; gap: 15px; }
  #product-grid .product-view { height: 310px; }
  #product-grid .product-title-row { min-height: 65px; }
  #product-grid .product-title-row h3 { font-size: 23px; }
  #product-grid .product-type { font-size: 8px; }
  #product-grid .product-art { padding: 42px 11px 20px; }
  #product-grid .product-art .photo-model { font-size: 8px; bottom: 24px; left: 19px; right: 19px; }
}
