﻿/* KONYA PREFABRÄ°K DÃœNYASI â€” public design system */
:root {
  --brand: #f27a1a;
  --brand-dark: #d66308;
  --ink: #181c20;
  --slate: #334155;
  --surface: #f8fafc;
  --radius: 1.25rem;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background: var(--surface);
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; }
a, button, input, select, textarea, summary { outline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(242, 122, 26, 0.72); }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: .65rem;
  background: white;
  color: #0f172a;
  padding: .75rem 1rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.site-brand {
  display: block;
  width: min(190px, 46vw);
  flex: 0 1 auto;
  overflow: hidden;
  border-radius: .65rem;
  background: var(--ink);
}
.site-logo { display: block; width: 100%; height: auto; object-fit: contain; }
#site-header > div { position: relative; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .55rem; }
.site-search-button {
  display: inline-flex;
  min-width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  background: #fff;
  padding: 0 .78rem;
  color: #334155;
  font-size: .8rem;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.site-search-button svg { width: 1.2rem; height: 1.2rem; }
.site-search-button:hover, .site-search-button[aria-expanded="true"] { border-color: #fdba74; background: #fff7ed; color: var(--brand-dark); }
.site-search-button:hover { transform: translateY(-1px); }
.site-search-panel {
  position: absolute;
  top: calc(100% + .7rem);
  right: 1.5rem;
  z-index: 60;
  width: min(39rem, calc(100vw - 2rem));
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: rgba(255,255,255,.98);
  padding: 1rem;
  box-shadow: 0 24px 55px rgba(15,23,42,.2);
  backdrop-filter: blur(16px);
}
.site-search-panel[hidden] { display: none; }
.site-search-panel > p { margin: .65rem .2rem 0; color: #64748b; font-size: .72rem; }
.site-search-form { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: .55rem; }
.site-search-form__icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; color: #64748b; }
.site-search-form__icon svg { width: 1.25rem; height: 1.25rem; }
.site-search-form input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  background: white;
  padding: .78rem .85rem;
  color: #0f172a;
  font-size: .86rem;
}
.site-search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,122,26,.14); outline: 0; }
.site-search-form__submit { border-radius: .7rem; background: var(--brand); padding: .8rem 1.1rem; color: #111827; font-size: .8rem; font-weight: 850; }
.site-search-form__submit:hover { background: #fb923c; }
.site-search-form__close { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border-radius: .65rem; color: #64748b; font-size: 1.45rem; line-height: 1; }
.site-search-form__close:hover { background: #f1f5f9; color: #0f172a; }
.site-nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: .6rem;
  padding: .65rem .5rem;
  transition: color .2s ease, background-color .2s ease;
}
.site-nav-link:hover, .site-nav-link:focus-visible { color: var(--brand-dark); background: #fff7ed; }
.service-dropdown-panel {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  z-index: 55;
  width: 18rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: .55rem;
  box-shadow: var(--shadow);
}
.service-dropdown-panel a {
  display: block;
  border-radius: .6rem;
  padding: .65rem .75rem;
  color: #334155;
}
.service-dropdown-panel a:hover, .service-dropdown-panel a:focus-visible { background: #fff7ed; color: var(--brand-dark); }
.service-dropdown.is-open .service-dropdown-panel { display: block; }

.media-picture { display: block; width: 100%; height: 100%; }
.media-picture.has-error { position: relative; background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
.media-picture.has-error::after { content: "GÃ¶rsel yÃ¼klenemedi"; position: absolute; inset: 0; display: grid; place-items: center; color: #64748b; font-size: .72rem; font-weight: 800; }
.media-image { display: block; max-width: 100%; background: #e2e8f0; }
.media-image.is-broken { opacity: 0; }
.media-placeholder {
  display: flex;
  min-height: 10rem;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #64748b;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
}
.media-placeholder svg { width: 2.25rem; height: 2.25rem; }

.btn-primary, .btn-secondary, .btn-secondary-dark, .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .8rem;
  padding: .82rem 1.2rem;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary { background: var(--brand); color: #111827; box-shadow: 0 10px 22px rgba(242, 122, 26, .22); }
.btn-primary:hover { background: #fb923c; transform: translateY(-2px); }
.btn-secondary { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-secondary-dark { border: 1px solid rgba(255,255,255,.32); background: rgba(15,23,42,.58); color: white; }
.btn-secondary-dark:hover { background: rgba(30,41,59,.9); }
.btn-whatsapp { background: #059669; color: white; }
.btn-whatsapp:hover { background: #047857; }
.text-link { color: #c0560b; font-size: .8rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.back-link { display: inline-flex; margin-bottom: 1rem; color: #fbbf24; font-size: .78rem; font-weight: 800; }
.back-link:hover { text-decoration: underline; }

.hero-slider { position: relative; min-height: clamp(34rem, 70vh, 47rem); overflow: hidden; background: #020617; color: white; }
.hero-slider__track, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .75s cubic-bezier(.2,.8,.2,1), visibility .75s;
}
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide > .media-picture { position: absolute; inset: 0; }
.hero-slide__image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); transition: transform 7s ease; }
.hero-slide.is-active .hero-slide__image { transform: scale(1); }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,6,23,.94) 0%, rgba(2,6,23,.76) 48%, rgba(2,6,23,.22) 100%); }
.hero-slide__content { position: relative; z-index: 2; display: flex; min-height: clamp(34rem, 70vh, 47rem); align-items: center; padding-top: 5rem; padding-bottom: 6.5rem; }
.hero-slide h1, .hero-slide h2 { max-width: 52rem; font-size: clamp(2.35rem, 6vw, 4.8rem); font-weight: 900; line-height: 1.03; letter-spacing: -.045em; }
.hero-slide__summary { max-width: 43rem; color: #dbeafe; font-size: clamp(.98rem, 2vw, 1.15rem); line-height: 1.75; }
.hero-kicker, .eyebrow { color: var(--brand); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker { display: inline-flex; border: 1px solid rgba(251,146,60,.35); border-radius: 999px; background: rgba(249,115,22,.12); padding: .45rem .7rem; color: #fdba74; }
.hero-slider__controls { position: absolute; right: 0; bottom: 2rem; left: 0; z-index: 4; display: flex; align-items: center; gap: .75rem; }
.hero-slider__controls > button { width: 2.55rem; height: 2.55rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(15,23,42,.65); color: white; }
.hero-slider__dots { display: flex; gap: .45rem; }
.hero-slider__dots button { width: .58rem; height: .58rem; border-radius: 999px; background: rgba(255,255,255,.45); transition: width .25s ease, background .25s ease; }
.hero-slider__dots button.is-active { width: 1.8rem; background: var(--brand); }

.benefits-section {
  overflow: hidden;
  background: #f9f9f9;
  padding: clamp(4.5rem, 8vw, 7rem) max(1rem, calc((100vw - 80rem) / 2));
}
.benefits-section__inner { width: 100%; }
.benefits-section__heading { margin: 0 auto clamp(2.7rem, 5vw, 4.25rem); text-align: center; }
.benefits-section__number {
  margin-bottom: .45rem;
  color: #a8a8a8;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .16em;
}
.benefits-section__heading h2 {
  color: #171717;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.benefits-section__heading h2 span { color: var(--brand); }
.benefits-section__heading > p:last-child {
  margin-top: .75rem;
  color: #64748b;
  font-size: clamp(.88rem, 1.4vw, 1rem);
  line-height: 1.65;
}
.benefits-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.benefit-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 18rem;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: .25rem clamp(.8rem, 2vw, 1.8rem) 1.25rem;
  text-align: center;
  isolation: isolate;
}
.benefit-card + .benefit-card { border-left: 1px solid #ececec; }
.benefit-card:focus-visible { outline: 3px solid rgba(242, 122, 26, .52); outline-offset: 5px; }
.benefit-card__icon {
  position: relative;
  display: grid;
  width: 8rem;
  height: 8rem;
  place-items: center;
}
.benefit-card__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 46% 54% 61% 39% / 54% 42% 58% 46%;
  background: #ee8b32;
  opacity: 0;
  transform: translate(-50%, -46%) scale(.5) rotate(10deg);
  transition: opacity .2s ease, transform .22s cubic-bezier(.2,.85,.25,1.25);
}
.benefit-card__icon img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 6.75rem;
  height: 6.2rem;
  object-fit: contain;
  transform: translateY(0);
  transition: transform .22s cubic-bezier(.2,.85,.25,1.2);
}
.benefit-card:hover .benefit-card__icon::before,
.benefit-card:focus-visible .benefit-card__icon::before,
.benefit-card.is-highlighted .benefit-card__icon::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-7deg);
}
.benefit-card:hover .benefit-card__icon img,
.benefit-card:focus-visible .benefit-card__icon img,
.benefit-card.is-highlighted .benefit-card__icon img { transform: translateY(-4px); }
.benefit-card h3 {
  min-height: 2.8em;
  margin-top: .65rem;
  color: #111827;
  font-size: clamp(.78rem, 1.1vw, .94rem);
  font-weight: 800;
  line-height: 1.4;
}
.benefit-card__metric {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .32rem;
  margin-top: .4rem;
  color: #111;
  white-space: nowrap;
}
.benefit-card__metric strong {
  font-size: clamp(2.45rem, 4.2vw, 3.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}
.benefit-card__metric span { font-size: clamp(.98rem, 1.8vw, 1.35rem); font-weight: 850; }

.section-shell { padding: clamp(3.8rem, 8vw, 6.5rem) max(1rem, calc((100vw - 80rem) / 2)); }
.section-heading { max-width: 48rem; margin: 0 auto 2.5rem; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading h2, .split-feature h2, .cta-band h2, .detail-content h2, .form-card h2, .contact-card h2 {
  color: #0f172a;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-heading p:not(.eyebrow) { margin-top: .65rem; color: #64748b; line-height: 1.7; }
.section-heading--dark h2 { color: white; }
.section-heading--dark p:not(.eyebrow) { color: #94a3b8; }
.section-action { margin-top: 2.5rem; text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: var(--radius); background: white; box-shadow: 0 4px 20px rgba(15,23,42,.045); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.content-card:hover { transform: translateY(-5px); border-color: #fed7aa; box-shadow: var(--shadow); }
.content-card--dark { border-color: #334155; background: #111827; }
.content-card--dark h3 a { color: white; }
.content-card--dark p { color: #94a3b8; }
.card-media { display: block; height: 14rem; overflow: hidden; background: #e2e8f0; }
.card-media .media-image { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.content-card:hover .card-media .media-image { transform: scale(1.045); }
.content-card__body { display: flex; min-height: 13rem; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.content-card__body h2, .content-card__body h3 { color: #0f172a; font-size: 1.12rem; font-weight: 850; line-height: 1.35; }
.content-card__body h2 a:hover, .content-card__body h3 a:hover { color: var(--brand-dark); }
.content-card__body > p:not(.card-meta) { margin: .65rem 0 1rem; color: #64748b; font-size: .8rem; line-height: 1.65; }
.content-card__body > .text-link { margin-top: auto; }
.card-meta { margin-bottom: .55rem; color: var(--brand-dark); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.card-actions { display: flex; width: 100%; margin-top: auto; align-items: center; justify-content: space-between; gap: .75rem; }

.category-scroller { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.category-tile { position: relative; min-height: 14rem; overflow: hidden; border-radius: 1rem; background: #0f172a; color: white; box-shadow: 0 8px 24px rgba(15,23,42,.12); }
.category-tile .media-picture { position: absolute; inset: 0; }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,6,23,.9), rgba(2,6,23,.05) 65%); }
.category-tile .media-image { transition: transform .6s ease; }
.category-tile:hover .media-image { transform: scale(1.06); }
.category-tile > span { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; z-index: 2; font-size: .9rem; font-weight: 850; }
.category-scroller--compact { display: flex; margin: 0 -1rem; padding: .4rem 1rem 1.25rem; gap: 1rem; overflow-x: auto; scroll-padding-inline: 1rem; scroll-snap-type: x proximity; }
.category-filter-tile { position: relative; display: flex; min-width: 12rem; min-height: 7rem; flex: 0 0 12rem; overflow: hidden; align-items: flex-end; border: 2px solid transparent; border-radius: 1rem; background: #334155; padding: 1rem; color: #0f172a; scroll-snap-align: start; transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.category-filter-tile .media-picture { position: absolute; inset: 0; }
.category-filter-tile .media-image { transition: transform .4s ease; }
.category-filter-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,6,23,.94), rgba(2,6,23,.12) 78%); }
.category-filter-tile > span { position: relative; z-index: 1; width: 100%; color: white; font-size: clamp(.92rem, 1.35vw, 1rem); font-weight: 850; line-height: 1.3; overflow-wrap: anywhere; text-shadow: 0 1px 3px rgba(2,6,23,.65); }
.category-filter-tile:hover { border-color: #fdba74; box-shadow: 0 10px 24px rgba(15,23,42,.16); transform: translateY(-2px); }
.category-filter-tile:hover .media-image { transform: scale(1.05); }
.category-filter-tile:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,122,26,.22), 0 10px 24px rgba(15,23,42,.16); outline: 0; }
.category-filter-tile.is-active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,122,26,.2), 0 8px 20px rgba(15,23,42,.14); }
.category-filter-tile.is-active > span { color: #ffedd5; }

.split-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: clamp(2rem, 5vw, 5rem); }
.split-feature--reverse .split-feature__content { order: -1; }
.split-feature__media { min-height: 31rem; overflow: hidden; border-radius: 1.5rem; background: #e2e8f0; box-shadow: var(--shadow); }
.split-feature__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.split-feature__content > p:not(.eyebrow), .prose-copy { margin-top: 1rem; color: #475569; font-size: .94rem; line-height: 1.85; }
.lead-text { color: #334155 !important; font-size: 1.05rem !important; font-weight: 700; }
.contact-facts { display: grid; width: 100%; margin: 1.6rem 0; gap: .7rem; }
.contact-facts > div { display: grid; grid-template-columns: 6rem 1fr; border-bottom: 1px solid #e2e8f0; padding-bottom: .7rem; gap: .75rem; }
.contact-facts dt { color: #64748b; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.contact-facts dd { color: #1e293b; font-size: .86rem; font-weight: 700; }

.cta-band { padding: clamp(3.5rem, 8vw, 5.5rem) 1rem; background: radial-gradient(circle at 15% 20%, rgba(242,122,26,.15), transparent 30%), #020617; color: white; }
.cta-band h2 { color: white; }
.cta-band p { max-width: 42rem; margin: 1rem auto 1.7rem; color: #94a3b8; line-height: 1.7; }

.page-hero { padding: clamp(4rem, 9vw, 7rem) 0; background: radial-gradient(circle at 85% 20%, rgba(242,122,26,.18), transparent 28%), #0f172a; color: white; }
.page-hero--compact { padding: 3.5rem 0; }
.page-hero h1 { max-width: 55rem; margin-top: .55rem; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1.06; letter-spacing: -.035em; }
.page-hero p:not(.eyebrow) { max-width: 48rem; margin-top: 1rem; color: #cbd5e1; line-height: 1.7; }

.detail-hero { position: relative; display: flex; min-height: 34rem; overflow: hidden; align-items: flex-end; background: #020617; color: white; }
.detail-hero--short { min-height: 27rem; }
.detail-hero__media, .detail-hero__media .media-picture { position: absolute; inset: 0; }
.detail-hero__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,6,23,.96), rgba(2,6,23,.18) 78%); }
.detail-hero__content { position: relative; z-index: 2; width: 100%; padding-top: 7rem; padding-bottom: 4rem; }
.detail-hero h1 { max-width: 56rem; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.05; }
.detail-hero__content > p:not(.eyebrow) { max-width: 48rem; margin-top: 1rem; color: #cbd5e1; line-height: 1.75; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(17rem, .85fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.detail-content { min-width: 0; }
.detail-content > h2, .detail-content section > h2 { margin: 0 0 1rem; font-size: 1.55rem; }
.detail-content > section { margin-top: 2.4rem; }
.detail-sidebar { position: sticky; top: 7rem; }
.quote-card { display: flex; flex-direction: column; gap: 1rem; border: 1px solid #334155; border-radius: 1.25rem; background: #0f172a; padding: 1.5rem; color: white; box-shadow: var(--shadow); }
.quote-card h2 { color: #fdba74; font-size: 1.2rem; font-weight: 900; }
.quote-card p { color: #cbd5e1; font-size: .82rem; line-height: 1.65; }
.quote-card .text-link { color: #fdba74; }
.info-panel { margin-top: 1.5rem; border: 1px solid #fed7aa; border-radius: 1rem; background: #fff7ed; padding: 1.15rem; color: #7c2d12; font-size: .86rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.check-grid li { display: flex; align-items: flex-start; gap: .6rem; border: 1px solid #e2e8f0; border-radius: .8rem; background: white; padding: .85rem; color: #334155; font-size: .82rem; }
.check-grid li span { color: #059669; font-weight: 900; }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.tag-list span { border-radius: 999px; background: #f1f5f9; padding: .55rem .75rem; color: #334155; font-size: .76rem; font-weight: 750; }
.process-list { display: grid; gap: .8rem; }
.process-list li { display: flex; align-items: flex-start; gap: .85rem; border: 1px solid #e2e8f0; border-radius: .9rem; padding: 1rem; }
.process-list li > span { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: .6rem; background: var(--brand); color: #111827; font-size: .75rem; font-weight: 900; }
.process-list p { padding-top: .35rem; color: #475569; font-size: .84rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.spec-grid > div { border: 1px solid #e2e8f0; border-radius: .85rem; background: #f8fafc; padding: .9rem; }
.spec-grid dt { color: #64748b; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.spec-grid dd { margin-top: .3rem; color: #0f172a; font-size: .88rem; font-weight: 750; }

.product-gallery__main { display: block; width: 100%; height: clamp(22rem, 60vw, 43rem); overflow: hidden; border-radius: 1.25rem; background: #e2e8f0; cursor: zoom-in; }
.product-gallery__thumbs { display: flex; margin-top: .85rem; padding: .15rem .1rem .7rem; gap: .65rem; overflow-x: auto; }
.gallery-thumb { width: 6.5rem; height: 5rem; flex: 0 0 auto; overflow: hidden; border: 2px solid transparent; border-radius: .7rem; background: #e2e8f0; }
.gallery-thumb.is-active { border-color: var(--brand); }
.media-lightbox { width: min(94vw, 78rem); max-width: none; height: min(92vh, 54rem); max-height: none; overflow: visible; border: 0; border-radius: 1rem; background: #020617; padding: 1rem; color: white; }
.media-lightbox::backdrop { background: rgba(2,6,23,.9); backdrop-filter: blur(8px); }
.media-lightbox figure { display: grid; width: 100%; height: 100%; place-items: center; }
.media-lightbox figure img { max-width: 100%; max-height: calc(100% - 2rem); object-fit: contain; }
.media-lightbox figcaption { min-height: 1.5rem; margin-top: .4rem; color: #cbd5e1; font-size: .78rem; text-align: center; }
.media-lightbox__close, .media-lightbox__nav { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(15,23,42,.84); color: white; }
.media-lightbox__close { top: -.8rem; right: -.8rem; width: 2.7rem; height: 2.7rem; font-size: 1.7rem; }
.media-lightbox__nav { top: 50%; width: 3rem; height: 3rem; transform: translateY(-50%); font-size: 1.2rem; }
.media-lightbox__prev { left: .8rem; }
.media-lightbox__next { right: .8rem; }

.article-hero { padding: clamp(4rem, 8vw, 7rem) 0 5rem; background: #0f172a; color: white; }
.article-hero h1 { margin-top: .6rem; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.article-lead { margin-top: 1.1rem; color: #cbd5e1; font-size: 1.05rem; line-height: 1.75; }
.article-meta { margin-top: 1rem; color: #94a3b8; font-size: .75rem; font-weight: 700; }
.article-cover { height: clamp(20rem, 52vw, 40rem); margin-top: -2.5rem; overflow: hidden; border-radius: 1.25rem; }
.article-body { padding-top: 3.5rem; padding-bottom: 5rem; color: #334155; font-size: 1rem; line-height: 1.95; }
.masonry-gallery { columns: 3 18rem; column-gap: 1rem; }
.masonry-gallery__item { position: relative; display: block; width: 100%; margin-bottom: 1rem; overflow: hidden; break-inside: avoid; border-radius: 1rem; background: #e2e8f0; cursor: zoom-in; }
.masonry-gallery__item .media-image { width: 100%; height: auto; transition: transform .5s ease; }
.masonry-gallery__item:hover .media-image { transform: scale(1.03); }
.masonry-gallery__item > span { position: absolute; right: .75rem; bottom: .75rem; left: .75rem; border-radius: .6rem; background: rgba(2,6,23,.78); padding: .55rem .7rem; color: white; font-size: .7rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; gap: clamp(2rem,5vw,4.5rem); }
.contact-visual { height: 20rem; overflow: hidden; border-radius: 1.25rem; background: #e2e8f0; }
.contact-card, .form-card { border: 1px solid #e2e8f0; border-radius: 1.25rem; background: white; padding: clamp(1.4rem,4vw,2rem); box-shadow: 0 8px 30px rgba(15,23,42,.06); }
.contact-card address { margin-top: 1rem; color: #475569; font-size: .84rem; line-height: 1.65; }
.contact-card address a { color: var(--brand-dark); font-weight: 800; }
.contact-card .btn-whatsapp { margin-top: 1.3rem; }
.form-intro { margin: .5rem 0 1.4rem; color: #64748b; font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .form-field > label { color: #334155; font-size: .76rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid #cbd5e1; border-radius: .7rem; background: white; padding: .75rem .85rem; color: #0f172a; font-size: .84rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,122,26,.14); outline: 0; }
.optional { color: #64748b; font-size: .7rem; font-weight: 500; }
.consent-check { display: grid; grid-template-columns: 1.1rem 1fr; align-items: start; gap: .65rem; color: #475569; font-size: .76rem; line-height: 1.55; cursor: pointer; }
.consent-check input { width: 1rem; height: 1rem; margin-top: .15rem; accent-color: var(--brand); }
.form-status { min-height: 1.4rem; border-radius: .65rem; font-size: .78rem; font-weight: 750; }
.form-status.is-success, .form-status.is-error { padding: .7rem .8rem; }
.form-status.is-success { background: #ecfdf5; color: #047857; }
.form-status.is-error { background: #fef2f2; color: #b91c1c; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #334155; border-radius: .8rem; background: rgba(30,41,59,.72); padding: .85rem; }
.consent-option div { display: flex; flex-direction: column; gap: .2rem; }
.consent-option strong { color: white; }
.consent-option span { color: #94a3b8; line-height: 1.45; }
.consent-option input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--brand); }
.selected-context { border-radius: .7rem; background: #fff7ed; padding: .75rem; color: #9a3412; font-size: .8rem; text-transform: capitalize; }
.empty-state { border: 1px dashed #cbd5e1; border-radius: 1.25rem; background: white; padding: 3.5rem 1.5rem; text-align: center; }
.empty-state h2 { color: #0f172a; font-size: 1.25rem; font-weight: 850; }
.empty-state p { margin: .65rem auto 1.5rem; color: #64748b; }

.footer-link { transition: color .2s ease; }
.footer-link:hover, .footer-link:focus-visible { color: #fbbf24; }
.floating-whatsapp {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 38;
  display: none;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: #059669;
  padding: .66rem .95rem .66rem .7rem;
  color: white;
  box-shadow: 0 16px 36px rgba(5,150,105,.35);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px); background: #047857; box-shadow: 0 20px 42px rgba(5,150,105,.45); }
.floating-whatsapp__icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 999px; background: rgba(255,255,255,.15); }
.floating-whatsapp__icon svg { width: 1.55rem; height: 1.55rem; }
.floating-whatsapp > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.floating-whatsapp strong { font-size: .78rem; }
.floating-whatsapp small { margin-top: .25rem; color: #d1fae5; font-size: .62rem; }
.mobile-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; border-top: 1px solid #334155; background: rgba(15,23,42,.96); padding: .65rem; backdrop-filter: blur(12px); }
.mobile-cta a { border-radius: .65rem; padding: .72rem; text-align: center; font-size: .75rem; font-weight: 850; }
.mobile-cta__call { background: var(--brand); color: #111827; }
.mobile-cta__whatsapp { background: #059669; color: white; }

.page-hero--search { padding-bottom: 4.5rem; }
.search-page-form { display: grid; max-width: 46rem; grid-template-columns: minmax(0,1fr) auto; gap: .65rem; margin-top: 1.5rem; }
.search-page-form input { min-width: 0; border: 1px solid rgba(255,255,255,.28); border-radius: .8rem; background: rgba(255,255,255,.98); padding: .9rem 1rem; color: #0f172a; font-size: .9rem; }
.search-page-form button { border-radius: .8rem; background: var(--brand); padding: .9rem 1.35rem; color: #111827; font-size: .84rem; font-weight: 900; }
.search-results { min-height: 28rem; }
.search-results__summary { margin-bottom: 2rem; border: 1px solid #fed7aa; border-radius: .9rem; background: #fff7ed; padding: .9rem 1rem; color: #9a3412; font-size: .84rem; }
.search-result-group + .search-result-group { margin-top: 3.25rem; }
.search-result-group__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #e2e8f0; padding-bottom: .8rem; }
.search-result-group__heading h2 { color: #0f172a; font-size: 1.45rem; font-weight: 900; }
.search-result-group__heading span { color: #64748b; font-size: .75rem; font-weight: 750; }
.search-result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.search-result-card { display: grid; min-width: 0; grid-template-columns: 10rem minmax(0,1fr); overflow: hidden; border: 1px solid #e2e8f0; border-radius: 1rem; background: white; box-shadow: 0 6px 24px rgba(15,23,42,.05); }
.search-result-card__media { min-height: 10rem; overflow: hidden; background: #e2e8f0; }
.search-result-card__body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1rem; }
.search-result-card__body h3 { color: #0f172a; font-size: 1rem; font-weight: 850; line-height: 1.35; }
.search-result-card__body h3 a:hover { color: var(--brand-dark); }
.search-result-card__body > p:not(.card-meta) { display: -webkit-box; overflow: hidden; margin: .45rem 0 .75rem; color: #64748b; font-size: .75rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-result-card__body .text-link { margin-top: auto; }

@media (min-width: 640px) {
  .floating-whatsapp { display: flex; }
}

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .card-grid, .card-grid--services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-scroller { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .benefits-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 2rem; }
  .benefit-card { grid-column: span 2; }
  .benefit-card:nth-child(4) { grid-column: 2 / span 2; }
  .benefit-card:nth-child(5) { grid-column: 4 / span 2; }
  .benefit-card:nth-child(4), .benefit-card:nth-child(5) { border-top: 1px solid #ececec; padding-top: 2rem; }
  .benefit-card:nth-child(4) { border-left: 0; }
}

@media (max-width: 767px) {
  body { padding-bottom: 3.8rem; }
  .site-navigation.is-open {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 1rem 1rem;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .site-navigation .site-nav-link { width: 100%; justify-content: space-between; padding: .75rem; }
  .site-brand { width: min(174px, 46vw); }
  .site-search-panel { right: 0; left: 0; width: auto; border-radius: 0 0 1rem 1rem; }
  .site-search-form { grid-template-columns: minmax(0,1fr) auto auto; }
  .site-search-form__icon { display: none; }
  .service-dropdown-panel { position: static; width: 100%; margin-top: .3rem; border: 0; background: #f8fafc; box-shadow: none; }
  .hero-slide__overlay { background: linear-gradient(0deg, rgba(2,6,23,.96), rgba(2,6,23,.42)); }
  .hero-slide__content { align-items: flex-end; }
  .benefits-section { padding-right: 0; padding-left: 0; }
  .benefits-section__heading { padding-right: 1rem; padding-left: 1rem; }
  .benefits-grid {
    display: flex;
    overflow-x: auto;
    padding: .3rem 1rem 1.25rem;
    scroll-padding-left: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #fdba74 #ececec;
  }
  .benefit-card {
    grid-column: auto;
    min-width: min(72vw, 17rem);
    min-height: 17rem;
    flex: 0 0 min(72vw, 17rem);
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    scroll-snap-align: center;
  }
  .benefit-card:nth-child(4), .benefit-card:nth-child(5) { border-top: 0; padding-top: .25rem; }
  .benefit-card:nth-child(4) { border-left: 1px solid #ececec; }
  .card-grid, .card-grid--services { grid-template-columns: 1fr; }
  .category-scroller { display: flex; margin: 0 -1rem; padding: 0 1rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
  .category-tile { min-width: min(78vw, 19rem); scroll-snap-align: start; }
  .category-scroller--compact { padding-top: .4rem; padding-bottom: 1.25rem; gap: .8rem; }
  .category-filter-tile { min-width: 10.75rem; min-height: 6.5rem; flex-basis: 10.75rem; padding: .9rem; }
  .category-filter-tile > span { font-size: .92rem; }
  .split-feature, .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .split-feature--reverse .split-feature__content { order: initial; }
  .split-feature__media { min-height: 23rem; }
  .detail-sidebar { position: static; }
  .check-grid, .spec-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .product-gallery__main { height: 22rem; }
  .media-lightbox__nav { top: auto; bottom: .8rem; transform: none; }
  .article-cover { border-radius: 0; padding: 0; }
  .search-page-form { grid-template-columns: 1fr; }
  .search-result-list { grid-template-columns: 1fr; }
  .search-result-card { grid-template-columns: 7.5rem minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-slide__image { transform: none !important; }
  .benefit-card__icon::before { opacity: 0 !important; transform: translate(-50%, -50%) scale(1) !important; }
  .benefit-card:hover .benefit-card__icon::before,
  .benefit-card:focus-visible .benefit-card__icon::before { opacity: 1 !important; }
  .benefit-card__icon img { transform: none !important; }
}

/* Konya Prefabrik â€” responsive media and catalogue corrections
 * Loaded after the current stylesheet. Every rule is deliberately scoped to
 * existing components so it can be rolled back by removing this file.
 */

:root {
  --media-radius: 1.1rem;
}

/* Ana sayfadaki sahipliÄŸi doÄŸrulanmamÄ±ÅŸ eski kategori kapaklarÄ± yeniden
 * kullanÄ±lmasÄ±n. Kategori seÃ§im ekranÄ±ndaki doÄŸrulanmÄ±ÅŸ eÅŸlemeler yayÄ±ndadÄ±r. */
.category-tile:has(img[src*="007_nd9xvC5UXHYrtgZ9ivY9"]),
.category-tile:has(img[src*="005_I7jAzYdCLHoH7CpRwWgU"]),
.category-tile:has(img[src*="006_mjPEmkxqn2rmN6xbbz7C"]),
.category-tile:has(img[src*="004_EoA3VMOQXAZeL5OffCLY"]),
.category-tile:has(img[src*="003_B2VOhRUH8OUE8FKGZ17t"]),
.category-tile:has(img[src*="002_8aWpHXBaorCc9FTjM7p4"]),
.category-tile:has(img[src*="009_qt3322YMNH1Y9f0a4djU"]) {
  display: none !important;
}

/* Keep the subject visible: the original overlays were close to opaque. */
.hero-slide__overlay {
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, .72) 0%,
    rgba(2, 6, 23, .48) 46%,
    rgba(2, 6, 23, .06) 100%
  );
}

.detail-hero__overlay {
  background: linear-gradient(
    0deg,
    rgba(2, 6, 23, .76) 0%,
    rgba(2, 6, 23, .34) 50%,
    rgba(2, 6, 23, .08) 100%
  );
}

.detail-hero {
  min-height: clamp(28rem, 50vw, 36rem);
  isolation: isolate;
}

.detail-hero--short {
  min-height: clamp(25rem, 36vw, 31rem);
}

.detail-hero h1 {
  max-width: 58rem;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
}

/* Ä°Ã§ sayfa Ã¼st gÃ¶rselleri Ã§ok farklÄ± oranlarda geliyor. `cover` Ã¶zellikle
 * portre ve 4:3 kaynaklarda yapÄ±nÄ±n yarÄ±sÄ±nÄ± kesiyordu. BulanÄ±klaÅŸtÄ±rÄ±lmÄ±ÅŸ
 * arka katman kutuyu doldururken asÄ±l gÃ¶rsel `contain` ile eksiksiz gÃ¶rÃ¼nÃ¼r. */
.detail-hero__media {
  background: #111827;
}

.detail-hero__media::before {
  position: absolute;
  inset: -1.5rem;
  z-index: 0;
  content: "";
  background: var(--detail-hero-image, none) center / cover no-repeat;
  filter: blur(18px) brightness(.72) saturate(.92);
  transform: scale(1.06);
}

.detail-hero__media .media-picture {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero__media .media-image {
  position: relative;
  z-index: 1;
  width: min(100%, 82rem);
  height: 100%;
  background: transparent !important;
  object-fit: contain !important;
  object-position: center;
}

.detail-hero__content {
  text-shadow: 0 2px 18px rgba(2, 6, 23, .72);
}

/* KaynaÄŸÄ±n oranÄ±nÄ± ortak hero arka katmanÄ±nda da kullan. BÃ¶ylece yedi hizmet
 * sayfasÄ±nda portre/4:3 gÃ¶rsellerin kenarlarÄ±nda siyah bant yerine aynÄ±
 * fotoÄŸrafÄ±n yumuÅŸak bir devamÄ± gÃ¶rÃ¼nÃ¼r; asÄ±l gÃ¶rsel daima net ve tamdÄ±r. */
.detail-hero__media:has(img[src*="001_6MCnGAe8KpyQxtMekwZn"]) {
  --detail-hero-image: image-set(
    url('/uploads/catalog/01_urunler/prefabrik-uygulamasi/001_6MCnGAe8KpyQxtMekwZn.jpg') 1x
  );
}

.detail-hero__media:has(img[src*="001_side-image01"]) {
  --detail-hero-image: url('/uploads/google-photos/eskil-80-m2-prefabrik-ev/09ac09ca1b0f97b4afa455ce25160b071d0aba309c53eca606f1f7fe388edbd6.jpg');
}

.detail-hero__media:has(img[src*="001_gnGv5tqin21RMrthZqDX"]) {
  --detail-hero-image: url('/uploads/catalog/01_urunler/celik-ev-uygulamasi/001_gnGv5tqin21RMrthZqDX.jpg');
}

.detail-hero__media:has(img[src*="001_0chIgi0oj51QcvAzaslE"]) {
  --detail-hero-image: url('/uploads/catalog/02_kategori_kapaklari/001_0chIgi0oj51QcvAzaslE.png');
}

.detail-hero__media:has(img[src*="001_80FppFj6muNQOooak5gu"]) {
  --detail-hero-image: url('/uploads/catalog/01_urunler/guvenlik-kabini-uygulamasi/001_80FppFj6muNQOooak5gu.jpg');
}

.detail-hero__media:has(img[src*="001_xOuELxoiulAEqdK2IHZo"]) {
  --detail-hero-image: url('/uploads/catalog/01_urunler/tekerlerkli-karavan/001_xOuELxoiulAEqdK2IHZo.jpg');
}

/* Tekerlekli konteynerin dikey kaynaÄŸÄ± masaÃ¼stÃ¼nde gereÄŸinden kÃ¼Ã§Ã¼k kalÄ±yordu.
 * AynÄ± firmanÄ±n yatay galeri fotoÄŸrafÄ± yapÄ±yÄ± kesmeden daha bÃ¼yÃ¼k gÃ¶sterir. */
.detail-hero__media:has(img[src*="001_xOuELxoiulAEqdK2IHZo"]) {
  --detail-hero-image: url('/uploads/google-photos/tekerlekli-konteyner-uygulamalari/8c935fd4f091c0c60b67051a8b8e9184f0b2a2d8915edcef19d3fa6354faad6e.jpg');
}

.detail-hero__media:has(img[src*="001_xOuELxoiulAEqdK2IHZo"]) .media-image {
  content: url('/uploads/google-photos/tekerlekli-konteyner-uygulamalari/8c935fd4f091c0c60b67051a8b8e9184f0b2a2d8915edcef19d3fa6354faad6e.jpg');
  width: min(100%, 90rem);
}

.detail-hero__media:has(img[src*="008_D9Do7CUxw4wvREK5qmkx"]) {
  --detail-hero-image: url('/uploads/catalog/02_kategori_kapaklari/008_D9Do7CUxw4wvREK5qmkx.jpg');
}

/* HakkÄ±mÄ±zda sayfasÄ± iÃ§in gerÃ§ek, yatay ve firmaya ait uygulama fotoÄŸrafÄ±. */
.detail-hero--short .detail-hero__media:has(img[src*="001_side-image01"]) {
  --detail-hero-image: url('/uploads/google-photos/eskil-80-m2-prefabrik-ev/09ac09ca1b0f97b4afa455ce25160b071d0aba309c53eca606f1f7fe388edbd6.jpg');
}

.detail-hero--short .detail-hero__media:has(img[src*="001_side-image01"]) .media-image {
  content: url('/uploads/google-photos/eskil-80-m2-prefabrik-ev/09ac09ca1b0f97b4afa455ce25160b071d0aba309c53eca606f1f7fe388edbd6.jpg');
}

/* The Products landing page becomes a large category catalogue. */
.category-filter-rail,
.category-scroller,
.category-scroller--compact,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}

.category-filter-tile,
.category-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: var(--media-radius);
  background: #fff;
  padding: 0;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  flex: none;
}

.category-scroller > .category-filter-tile[href="/urunler"],
.category-scroller--compact > .category-filter-tile[href="/urunler"] {
  display: none;
}

.category-filter-tile .media-picture,
.category-card .media-picture {
  position: relative;
  inset: auto;
  min-height: 0;
  overflow: hidden;
}

.category-filter-tile .media-image,
.category-card .media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal-position, 50% 50%);
}

.category-filter-tile::after,
.category-card::after {
  display: none;
}

.category-filter-tile > span,
.category-card__title {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 1.1rem 1.1rem;
  color: #0f172a;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 850;
  line-height: 1.3;
  text-shadow: none;
}

.category-filter-tile.is-active > span {
  color: #9a3412;
}

/* DoÄŸrulanmÄ±ÅŸ firma fotoÄŸrafÄ± olmayan kategorilerde yabancÄ±/stock gÃ¶rsel
 * yerine sade, markaya ait tipografik bir yÃ¼zey gÃ¶sterilir. */
.category-filter-tile--no-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 16rem;
  background:
    radial-gradient(circle at 78% 22%, rgba(249, 115, 22, .22), transparent 32%),
    linear-gradient(145deg, #fff7ed 0%, #ffffff 48%, #f1f5f9 100%);
}

.category-filter-tile--no-image::before {
  content: "KPD";
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  color: rgba(15, 23, 42, .08);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.category-filter-tile--no-image > span {
  padding-top: 7.5rem;
}

/* Ana sayfa kategori adlarÄ± okunur kalÄ±rken yapÄ± fotoÄŸraflarÄ± karartÄ±lmaz. */
.category-tile::after {
  background: linear-gradient(
    0deg,
    rgba(2, 6, 23, .68) 0%,
    rgba(2, 6, 23, .28) 34%,
    rgba(2, 6, 23, .03) 72%
  );
}

/* One media box cannot crop photos, renders and plans the same way. */
.product-card__media,
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.product-card__media img,
.card-media img,
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-position: var(--focal-position, 50% 50%);
}

[data-media-kind="photo"],
[data-media-kind="render"] {
  object-fit: cover;
}

[data-media-kind="plan"],
.is-plan img,
img[src*="pafta" i],
img[alt*="plan" i] {
  object-fit: contain !important;
  background: #fff;
}

.product-gallery__main {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--media-radius);
  background: #f8fafc;
}

/* Gallery thumbnails must never look lost off-screen. */
.product-gallery__thumbs,
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: .65rem;
  overflow: visible;
}

.product-gallery__thumbs img,
.gallery-thumbnails img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Prevent a fixed mobile action bar from covering the last controls. */
body {
  padding-bottom: env(safe-area-inset-bottom);
}

/* On the unfiltered /urunler page the active â€œTÃ¼m ÃœrÃ¼nlerâ€ marker is kept
 * in the DOM for routing, while the mixed model list stays out of the first
 * decision screen. Selecting a real category removes that active marker. */
main:has(.category-filter-tile[href="/urunler"].is-active)
  > section.section-shell.bg-slate-50.pt-10 {
  display: none;
}

main:has(.category-scroller)
  > section.section-shell.bg-white.pb-8 .section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

@media (max-width: 900px) {
  .category-filter-rail,
  .category-scroller,
  .category-scroller--compact,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final critical visual pass. */
.hero-slide h1,
.hero-slider h1 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.product-gallery__main img[width="4967"][height="7021"] {
  object-fit: contain !important;
  background: #fff;
}

@media (max-width: 640px) {
  .hero-slide h1,
  .hero-slider h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: clamp(30rem, 125vw, 38rem);
  }

  .hero-slide__overlay {
    background: linear-gradient(
      0deg,
      rgba(2, 6, 23, .78) 0%,
      rgba(2, 6, 23, .32) 58%,
      rgba(2, 6, 23, .08) 100%
    );
  }

  .detail-hero,
  .detail-hero--short {
    min-height: 27rem;
  }

  .detail-hero__content {
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .detail-hero__media .media-image {
    width: 100%;
    max-height: 27rem;
  }

  .detail-hero h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .category-filter-rail,
  .category-scroller,
  .category-scroller--compact,
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-filter-tile,
  .category-card {
    aspect-ratio: 16 / 10;
  }

  .product-gallery__main {
    aspect-ratio: 4 / 3;
  }

  .product-gallery__thumbs,
  .gallery-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:has(.mobile-cta),
  body:has(.mobile-sticky-actions) {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }
}

