/* Entegrasyon katmanı: sayfa şablonlarının kullandığı ve app.css'te olmayan sınıflar + istenen ayarlar.
   (Yükleme sırası app.css'ten önce olduğu için ezilmesi gereken kurallarda "body" ile özgüllük artırıldı.) */

/* KATALOG YOĞUNLUĞU (kullanıcı isteği): küçük kartlar, ekranda çok ürün */
body{--max:1400px}
body .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem .7rem}
@media (min-width:480px){body .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:768px){body .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1000px){body .product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1.3rem .85rem}}
@media (min-width:1200px){body .product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (min-width:1400px){body .product-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
body .product-grid .product-card{gap:.45rem}
body .product-grid .product-card__media{border-radius:10px}
body .product-grid .product-card__media img{padding:6%}
body .product-grid .product-card__body{gap:.22rem}
body .product-grid .product-card__code{font-size:.625rem}
body .product-grid .product-card__title{font-size:.8125rem;line-height:1.28;font-weight:500}
body .product-grid .product-card__dims,body .product-grid .product-card__meta{font-size:.6875rem}
body .product-grid .product-card__dims .icon{width:11px;height:11px}
body .product-grid .badge{font-size:.625rem;padding:.12rem .4rem}
body .product-grid .color-chip{font-size:.6875rem}
body .product-grid .product-card__actions{margin-block-start:.25rem}
body .product-grid .product-card__actions .btn{padding:.32rem .6rem;font-size:.6875rem;min-height:0;gap:.25rem}
body .product-grid .product-card__actions .btn .icon{width:12px;height:12px}
.product-card__dims{display:flex;align-items:center;gap:.3rem;color:var(--muted);font-variant-numeric:tabular-nums}
.product-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .45rem}

/* İnce hero şeridi */
body .hero{padding-block:clamp(1.25rem,.8rem + 1.6vw,2.25rem) .5rem}
body .hero .display{font-size:clamp(1.75rem,1.2rem + 2.2vw,2.75rem);line-height:1.08;margin-block:.6rem .7rem;max-width:22ch}
body .hero .lead{font-size:.9375rem;max-width:62ch;margin:0}
body .hero__ctas{margin-block:1rem .9rem}
body .hero__ctas .btn{padding:.7rem 1.1rem;font-size:.875rem}
body .hero__trust{font-size:.75rem}
@media (max-width:899px){body .hero__visual{display:none}}
@media (min-width:900px){body .hero__inner{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:2rem;align-items:center}body .hero__visual{max-width:300px;width:100%;margin-inline:auto}}

/* Koleksiyonlar: tek sırada küçük kutular */
body .collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
@media (min-width:900px){body .collection-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:.75rem}}
body .collection-grid .collection-card{gap:.35rem}
body .collection-grid .collection-card__media{border-radius:10px;aspect-ratio:1}
body .collection-grid .collection-card__body{padding:0;display:block}
body .collection-grid .collection-card__body .h3{font:600 .75rem/1.25 var(--font-sans);margin:0}
body .collection-grid .collection-card__body .muted{font-size:.6875rem}
body .collection-grid .collection-card__body .icon,body .collection-grid .collection-card__arrow{display:none}
body .section-head{margin-block-end:.9rem}
body .section-head .h2{font-size:clamp(1.25rem,1rem + 1vw,1.75rem)}
.home-collections{padding-block:.75rem 1rem}
.catalog-home{padding-block-start:.5rem}

/* Renk etiketi */
.color-chip{display:inline-flex;align-items:center;gap:.4rem;font-size:.8125rem;color:var(--ink-2)}
.color-chip--sm{font-size:.75rem;color:var(--muted)}

/* Sonsuz kaydırma */
.infinite-sentinel{display:flex;justify-content:center;align-items:center;gap:.7rem;padding:2.2rem 0;color:var(--muted);font-size:.875rem}
.infinite-sentinel__spinner{width:18px;height:18px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--clay);animation:mt-spin .8s linear infinite}
@keyframes mt-spin{to{rotate:360deg}}

/* Liste başlığı ve araç çubuğu */
.catalog-head{padding-block:clamp(1.5rem,1rem + 2vw,3rem) 1rem}
.catalog-head .lead{max-width:68ch}
.chips{margin-block-start:1.25rem}
.field--inline{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem}
.field--inline .field__label{margin:0;color:var(--muted)}
body .catalog__toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;padding-block:.9rem;margin-block-end:1.5rem;border-block:1px solid var(--line)}
.catalog__toolbar .select{min-width:11rem}
.catalog-home .section-head{margin-block-end:1.5rem}

/* Koleksiyon kartları ızgarası */
.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
@media (min-width:640px){.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1200px){.collection-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
body .collection-grid .collection-card__body .h3{font-size:.9375rem;margin:0}

/* Adımlar */
.steps--4{display:grid;gap:.85rem}
@media (min-width:900px){.steps--4{grid-template-columns:repeat(4,minmax(0,1fr))}}
body .steps--compact .step{display:flex;gap:.8rem;align-items:flex-start;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
body .steps--compact .step .h3{font-size:.9375rem;margin:0 0 .15rem}
body .steps--compact .step p{margin:0;font-size:.8125rem}
.section--tight{padding-block:clamp(.5rem,.25rem + 1vw,1.25rem)}

/* Ürün sayfası */
.product__grid{display:grid;gap:clamp(1.5rem,1rem + 3vw,4rem);align-items:start}
@media (min-width:900px){.product__grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.product__gallery{position:sticky;inset-block-start:var(--sticky-top)}}
.gallery__thumb{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--tile);padding:4px;cursor:pointer;width:84px;aspect-ratio:1}
.gallery__thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.gallery__thumb.is-active{border-color:var(--ink)}
.keyfacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-block:1.5rem}
.keyfacts>div{padding:.8rem .95rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper)}
.keyfacts dt{font:500 .6875rem/1.2 var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.keyfacts dd{margin:.3rem 0 0;font-weight:600;font-variant-numeric:tabular-nums}
.variants__title{margin:0 0 .6rem;font-weight:600;font-size:.875rem}
.product__note{display:flex;gap:.5rem;align-items:center;font-size:.8125rem}
.product__note .icon{width:15px;height:15px;flex:none}
.link-copy{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.link-copy:hover{background:var(--sand);color:var(--ink)}
.link-copy .icon{width:15px;height:15px}

/* Koyu bölümlerde tablo, bölünmüş düzen, tik listesi */
.split{align-items:center}
.tick-list{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.7rem}
.tick-list li{display:flex;gap:.7rem;align-items:flex-start}
.tick-list .icon{width:20px;height:20px;flex:none;color:var(--clay)}
.cta-band__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem 2rem}
.narrow{max-width:760px}

/* Teklif sayfası */
.quote{display:grid;gap:clamp(1.5rem,1rem + 2vw,3rem);align-items:start;margin-block-start:1.5rem}
@media (min-width:900px){.quote{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.quote__form{position:sticky;inset-block-start:var(--sticky-top)}}
.quote__tools{margin-block-start:1.25rem}
body .quote__form.card{padding:clamp(1.1rem,.8rem + 1.2vw,1.75rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}

/* WhatsApp: kendi rengi (#25D366), sağ altta yuvarlak ikon */
body .whatsapp-fab{background:#25D366;color:#fff;box-shadow:0 10px 28px rgba(18,140,126,.35)}
body .whatsapp-fab:hover{background:#1FB955;color:#fff}
body .whatsapp-fab .icon{color:#fff}
body .btn--whatsapp{background:#25D366;border-color:#25D366;color:#0B2E1A}
body .btn--whatsapp:hover{background:#1FB955;border-color:#1FB955;color:#06210f}
/* Liste sayfası başlığı: ince */
body .catalog-head{padding-block:1.1rem .25rem}
body .catalog-head .h1{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.4rem);margin-block:.35rem .45rem}
body .catalog-head .lead{font-size:.9rem}
body .catalog-head .chips{margin-block-start:.8rem;gap:.4rem}
body .catalog-head .chip{font-size:.75rem;padding:.3rem .65rem}
body .catalog__toolbar{padding-block:.6rem;margin-block-end:1rem}
/* Ana sayfa: bölümler arası boşlukları daralt, ürünler ilk ekrana yaklaşsın */
body .hero{padding-block-end:0}
body .hero__trust{margin-block-start:.4rem}
body .section.home-collections{padding-block:1.25rem .5rem}
body .section.catalog-home{padding-block:1rem 3rem}
body .home-collections .section-head,body .catalog-home .section-head{flex-wrap:nowrap;align-items:baseline}
body .home-collections .section-head .h2,body .catalog-home .section-head .h2{margin-inline-end:auto}
body .collection-grid .collection-card__body::after,body .collection-grid .collection-card__body::before{display:none}
@media (min-width:900px){body .hero__visual{max-width:260px}}
/* Footer imza: Nexova Studio */
.site-footer__credit{display:inline-flex;align-items:center;gap:.7rem;color:rgba(247,244,239,.55);font-size:.75rem;letter-spacing:.02em;text-decoration:none}
.site-footer__credit img{height:38px;width:auto;opacity:.95;transition:opacity .2s}
.site-footer__credit:hover,.site-footer__credit:focus-visible{color:rgba(247,244,239,.85)}
.site-footer__credit:hover img{opacity:1}
/* Footer: daha kompakt (kullanıcı isteği) */
body .site-footer{padding-block:clamp(2rem,1.4rem + 2vw,3rem) 1.25rem;font-size:.875rem}
body .site-footer__word{display:none}
body .site-footer__top{gap:2rem}
body .site-footer__brand{gap:.85rem}
body .site-footer__grid{gap:1.5rem 1.25rem}
body .site-footer h2{margin-block-end:.65rem}
body .site-footer__grid ul{gap:.4rem}
body .site-footer__contact{gap:.4rem}
body .site-footer__bottom{margin-block-start:1.75rem;padding-block-start:1rem;font-size:.75rem}
body .site-footer .plate-rings{width:min(720px,110vw);bottom:-60%}
body .site-footer__credit{border-radius:8px;padding:.2rem .35rem}
body .site-footer__credit:focus-visible{outline:1px solid rgba(247,244,239,.35);outline-offset:2px}
body .site-footer__credit:focus:not(:focus-visible){outline:none}
/* WhatsApp butonu footer imzasını örtmesin */
body .site-footer__bottom{padding-inline-end:4.75rem}
@media (max-width:639px){body .site-footer{padding-block-end:5.5rem}body .site-footer__bottom{padding-inline-end:0}}
/* Çerez bilgilendirme şeridi (sol alt, WhatsApp butonuyla çakışmaz) */
.cookie-note{position:fixed;z-index:80;inset-inline-start:16px;inset-block-end:16px;max-width:430px;display:flex;align-items:center;gap:.85rem;padding:.75rem .85rem .75rem 1rem;border-radius:12px;background:var(--ink);color:#DCE2E6;font-size:.8125rem;line-height:1.45;box-shadow:0 18px 40px -16px rgba(15,27,36,.55)}
.cookie-note[hidden]{display:none}
.cookie-note p{margin:0}
.cookie-note a{color:#fff;text-decoration:underline}
.cookie-note .btn{flex:none}
@media (max-width:639px){.cookie-note{inset-inline:12px 84px;max-width:none}}
/* Eşit kartlar: aynı satırdaki kartlar aynı boy, butonlar en altta hizalı */
body .product-grid{align-items:stretch}
body .product-grid .product-card{height:100%}
body .product-grid .product-card__body{flex:1 1 auto;display:flex;flex-direction:column}
body .product-grid .product-card__title{min-height:calc(2em * 1.28);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .product-grid .product-card__dims{min-height:1.45em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .product-grid .product-card__dims span{overflow:hidden;text-overflow:ellipsis}
body .product-grid .product-card__meta{min-height:1.6em;flex-wrap:nowrap;overflow:hidden}
body .product-grid .color-chip{min-width:0;overflow:hidden}
body .product-grid .color-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .product-grid .badge--case{flex:none;white-space:nowrap}
body .product-grid .product-card__actions{margin-block-start:auto;padding-block-start:.45rem}
body .product-grid .product-card__actions .btn{width:100%;justify-content:center}
