:root{
  --product-bg:#f6f6f4;
  --product-surface:#fff;
  --product-text:#101114;
  --product-muted:#6f7279;
  --product-line:rgba(16,17,20,.10);
  --product-red:#ee3631;
  --product-dark:#111214;
  --product-radius:24px;
}

.productPage{
  min-height:70vh;
  background:
    linear-gradient(rgba(17,18,20,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(17,18,20,.025) 1px,transparent 1px),
    var(--product-bg);
  background-size:38px 38px;
}

.productHero{
  padding:42px 0 78px;
}

.productBreadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:30px;
  color:#878a91;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.productBreadcrumb a{transition:color .2s ease}
.productBreadcrumb a:hover{color:var(--product-red)}
.productBreadcrumb span[aria-current="page"]{color:#474a50}

.productLayout{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:clamp(34px,5vw,76px);
  align-items:start;
}

.productGallery{
  min-width:0;
}

.productMediaStage{
  position:relative;
  display:grid;
  place-items:center;
  min-height:560px;
  overflow:hidden;
  border:1px solid var(--product-line);
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 46%,rgba(238,54,49,.055),transparent 31%),
    linear-gradient(rgba(17,18,20,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(17,18,20,.035) 1px,transparent 1px),
    #fff;
  background-size:auto,30px 30px,30px 30px,auto;
}

.productMainImage{
  display:block;
  width:min(88%,760px);
  max-height:590px;
  object-fit:contain;
  filter:drop-shadow(0 25px 38px rgba(17,18,20,.08));
  cursor:zoom-in;
  transition:opacity .2s ease,transform .3s cubic-bezier(.2,.8,.2,1),filter .25s ease;
}
.productMediaStage:hover .productMainImage{transform:scale(1.012)}
.productMainImage.isArchived{filter:grayscale(1) opacity(.64)}
.productMainImage.isMissing{opacity:0}

.productMediaStage.isMissing::after{
  content:"Ürün görseli hazırlanıyor";
  position:absolute;
  color:#94979e;
  font-size:13px;
  font-weight:700;
}

.productScaleBadge,
.productStatusBadge{
  position:absolute;
  z-index:2;
  top:18px;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(17,18,20,.09);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  color:#313338;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.productScaleBadge{left:18px}
.productStatusBadge{right:18px;color:#8a3c00;background:rgba(255,249,235,.94)}
.productStatusBadge.isNew{color:#a51411;background:rgba(255,245,244,.95)}

.productThumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
.productThumbs::-webkit-scrollbar{display:none}
.productThumb{
  width:88px;
  height:74px;
  flex:0 0 auto;
  padding:7px;
  border:1px solid var(--product-line);
  border-radius:14px;
  background:#fff;
  object-fit:contain;
  cursor:pointer;
  scroll-snap-align:start;
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.productThumb:hover,.productThumb.isActive{
  border-color:rgba(238,54,49,.58);
  box-shadow:0 8px 20px rgba(17,18,20,.06);
  transform:translateY(-1px);
}

.productInfo{
  position:sticky;
  top:112px;
  padding-top:6px;
}
.productEyebrow{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:14px;
  color:var(--product-red);
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.productEyebrow::before{content:"";width:20px;height:2px;background:currentColor}
.productInfo h1{
  max-width:650px;
  margin:0;
  color:var(--product-text);
  font-size:clamp(38px,4.6vw,66px);
  line-height:.98;
  letter-spacing:-.055em;
}
.productLead{
  margin:22px 0 0;
  max-width:590px;
  color:#666970;
  font-size:15px;
  line-height:1.75;
}
.productPriceBlock{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-top:24px;
  padding:18px 0 17px;
  border-top:1px solid var(--product-line);
  border-bottom:1px solid var(--product-line);
}
.productPriceBlock span{
  color:#8f9298;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.productPriceBlock strong{
  color:var(--product-text);
  font-size:clamp(28px,3vw,38px);
  line-height:.9;
  font-weight:900;
  letter-spacing:-.05em;
  font-variant-numeric:tabular-nums;
}

.productMetaGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin-top:30px;
  overflow:hidden;
  border:1px solid var(--product-line);
  border-radius:18px;
  background:var(--product-line);
}
.productMetaItem{padding:16px;background:rgba(255,255,255,.96)}
.productMetaItem span{display:block;margin-bottom:6px;color:#999ca2;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.productMetaItem strong{display:block;color:#202226;font-size:13px;line-height:1.45}

.productActions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin-top:18px;
}
.productPrimaryAction,
.productCartAction,
.productMinorAction{
  min-height:52px;
  border:0;
  border-radius:14px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.productPrimaryAction{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 18px;
  background:var(--product-red);
  color:#fff;
}
.productPrimaryAction:hover{background:#d92f2b;transform:translateY(-1px)}
.productCartAction{
  display:grid;
  place-items:center;
  width:54px;
  color:#fff;
  background:var(--product-dark);
}
.productCartAction svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.productCartAction:hover{background:#292b2f;transform:translateY(-1px)}
.productCartAction:disabled,.productPrimaryAction.isDisabled{opacity:.45;pointer-events:none}

.productSecondaryActions{display:flex;gap:10px;margin-top:10px}
.productMinorAction{
  min-height:44px;
  padding:0 14px;
  border:1px solid var(--product-line);
  background:rgba(255,255,255,.72);
  color:#575a61;
}
.productMinorAction:hover{border-color:rgba(17,18,20,.22);color:#111214;background:#fff}

.productArchiveNote{
  margin-top:14px;
  padding:13px 14px;
  border:1px solid rgba(181,108,0,.2);
  border-radius:13px;
  background:#fff9ed;
  color:#865108;
  font-size:12px;
  line-height:1.6;
}

.productPrevNext{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:22px;
}
.productNavLink{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
  padding:13px 14px;
  border-top:1px solid var(--product-line);
  color:#686b72;
  transition:color .2s ease,border-color .2s ease;
}
.productNavLink:last-child{text-align:right}
.productNavLink span{font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#a0a2a7}
.productNavLink strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.productNavLink:hover{color:var(--product-red);border-color:rgba(238,54,49,.5)}

.productEditorial{
  padding:82px 0;
  border-top:1px solid var(--product-line);
  background:#fff;
}
.productEditorialGrid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:clamp(36px,7vw,110px);
  align-items:start;
}
.productSectionKicker{display:block;margin-bottom:13px;color:var(--product-red);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.productEditorial h2,.relatedHead h2{margin:0;color:#111214;font-size:clamp(30px,4vw,48px);line-height:1.04;letter-spacing:-.045em}
.productEditorialCopy{color:#666970;font-size:14px;line-height:1.85}
.productEditorialCopy p{margin:0 0 16px}
.productFacts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}
.productFact{padding:16px;border:1px solid var(--product-line);border-radius:16px;background:#fafafa}
.productFact strong{display:block;margin-bottom:6px;color:#111214;font-size:12px}
.productFact span{color:#85888f;font-size:11px;line-height:1.5}

.relatedProducts{padding:78px 0 92px;background:var(--product-bg)}
.relatedHead{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:26px}
.relatedHead a{color:#74777e;font-size:12px;font-weight:800}.relatedHead a:hover{color:var(--product-red)}
.relatedGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.relatedCard{display:block;min-width:0}
.relatedMedia{position:relative;display:grid;place-items:center;aspect-ratio:1.16/1;overflow:hidden;border:1px solid var(--product-line);border-radius:18px;background:#fff}
.relatedMedia img{width:86%;height:86%;object-fit:contain;transition:transform .3s ease}
.relatedCard:hover .relatedMedia img{transform:scale(1.035)}
.relatedCardMeta{padding:12px 3px 0}
.relatedCardMeta span{display:block;margin-bottom:5px;color:var(--product-red);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.relatedCardMeta strong{display:block;overflow:hidden;color:#24262a;font-size:13px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.relatedPrice{display:block;margin-top:6px;color:#111214;font-size:12px;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums}

.productLightbox{
  position:fixed;
  inset:0;
  z-index:2147483600;
  display:none;
  place-items:center;
  padding:22px;
  background:rgba(6,7,10,.92);
  backdrop-filter:blur(8px);
}
.productLightbox.isOpen{display:grid}
.productLightbox img{max-width:94vw;max-height:91vh;object-fit:contain}
.productLightboxClose{position:absolute;top:18px;right:18px;width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:22px;cursor:pointer}

@media(max-width:980px){
  .productHero{padding-top:28px}
  .productLayout{grid-template-columns:1fr;gap:32px}
  .productInfo{position:static;padding:0}
  .productMediaStage{min-height:500px}
  .productEditorialGrid{grid-template-columns:1fr;gap:28px}
  .relatedGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  .productHero{padding:22px 0 54px}
  .productBreadcrumb{margin-bottom:20px;font-size:11px}
  .productMediaStage{min-height:0;aspect-ratio:1/1;border-radius:20px}
  .productMainImage{width:92%;max-height:none}
  .productScaleBadge,.productStatusBadge{top:12px;min-height:30px;padding:0 10px;font-size:9px}
  .productScaleBadge{left:12px}.productStatusBadge{right:12px}
  .productThumb{width:76px;height:64px}
  .productInfo h1{font-size:clamp(36px,12vw,50px)}
  .productLead{font-size:14px}
  .productMetaGrid{grid-template-columns:1fr 1fr}
  .productActions{grid-template-columns:1fr 52px}
  .productSecondaryActions{display:grid;grid-template-columns:1fr 1fr}
  .productPrevNext{grid-template-columns:1fr}
  .productNavLink:last-child{text-align:left}
  .productEditorial,.relatedProducts{padding:58px 0}
  .productFacts{grid-template-columns:1fr}
  .relatedHead{align-items:start;flex-direction:column}
  .relatedGrid{grid-template-columns:1fr 1fr;gap:10px}
  .relatedMedia{border-radius:14px}
}
.srOnly{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.productTitleSuffix{display:block;margin-top:10px;color:#999ca3;font-size:.22em;font-weight:850;letter-spacing:.12em;line-height:1.1;text-transform:uppercase}
.productMinorAction{display:inline-flex;align-items:center;justify-content:center;text-align:center}
