/* Onaylanan logo ince ayarları */
.catalog-logo em {
    font-style: normal;
}

.catalog-header .catalog-logo {
    font-size: 34px;
}

@media (max-width: 900px) {
    .catalog-header .catalog-logo {
        font-size: 29px;
    }
}

/* Kategori menüsü (mega menü) */
.catalog-nav { align-self: stretch; align-items: stretch; gap: 0; }
.catalog-nav .nav-item { display: flex; align-items: center; }
.catalog-nav .nav-item__link { display: flex; align-items: center; height: 100%; padding: 0 16px; text-transform: uppercase; letter-spacing: .02em; }
.catalog-nav .nav-item__link::after { right: 16px; left: 16px; bottom: 22px; }
.catalog-nav .nav-item__link--plain { align-self: center; height: auto; }
.mega { display: none; position: absolute; top: 100%; right: 0; left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 30px rgba(0, 0, 0, .06); }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { display: block; }
.mega__inner { max-width: 1440px; margin: auto; padding: 34px 48px 40px; display: flex; gap: 48px; align-items: flex-start; }
.mega__columns { flex: 1; column-count: 4; column-gap: 32px; }
.mega__group { break-inside: avoid; margin-bottom: 26px; display: flex; flex-direction: column; }
.catalog-nav .mega a { padding: 0; text-transform: none; letter-spacing: 0; height: auto; display: block; }
.catalog-nav .mega a::after { display: none; }
.mega__title { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.mega__link { padding: 5px 0 !important; font-size: 14px; font-weight: 400; color: #4a4d49; }
.mega__link:hover, .mega__title:hover { color: var(--green); }
.catalog-nav .mega .mega__image { position: relative; flex: 0 0 400px; height: 327px; overflow: hidden; color: #fff; }
.mega__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega__image::before { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .55)); content: ""; z-index: 1; }
.mega__image span, .mega__image small { position: absolute; left: 20px; right: 20px; z-index: 2; text-align: center; }
.mega__image span { bottom: 44px; font-family: var(--serif); font-size: 24px; }
.mega__image small { bottom: 20px; font-size: 12px; font-weight: 700; text-decoration: underline; }

/* Listeleme */
.product-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.breadcrumb__current { margin: 0 !important; color: var(--ink); }
.catalog-empty { padding: 40px 0; color: #77756e; }

/* Kategori kartı fotoğrafı */
.category-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-card--photo::after { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 0, 0, .55)); content: ""; }
.category-card--photo { color: #fff; }
.category-card--photo > span, .category-card--photo > small { position: relative; z-index: 1; }

/* Ürün galerisi */
.product-detail__gallery { min-width: 0; }
.gallery__main { display: flex; align-items: center; justify-content: center; min-height: 420px; background: #ece8e0; }
.gallery__main img { display: block; max-width: 100%; max-height: 720px; width: auto; height: auto; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gallery__thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); background: #ece8e0; cursor: pointer; }
.gallery__thumbs button:hover, .gallery__thumbs button.is-active { border-color: var(--green); }
.gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Mobil menü: paneller açık liste olarak (ayrıntılı responsive düzen sonra) */
@media (max-width: 900px) {
    .catalog-nav .nav-item { display: block; width: 100%; }
    .catalog-nav .nav-item__link { padding: 10px 0; height: auto; }
    .catalog-nav .nav-item__link::after { display: none; }
    .mega { display: block; position: static; border: 0; box-shadow: none; background: transparent; }
    .mega__inner { padding: 0 0 8px 14px; display: block; }
    .mega__columns { column-count: 1; }
    .mega__group { margin-bottom: 8px; }
    .mega__image { display: none !important; }
}
