/* Galeri teması (ETY-16): antika / vintage galeri, sepetsiz katalog. Mobil öncelikli. */

body:has([data-theme="galeri"]) {
    background: #f5f1ea;
}

[data-theme="galeri"] {
    overflow-x: clip;
    --g-bg: var(--tema-background, #f5f1ea);
    --g-ink: var(--tema-text, #1c1915);
    --g-accent: var(--tema-primary, #7a5c33);
    --g-surface: #fffdf9;
    --g-tint: #ede6da;
    --g-muted: #625a50;
    --g-line: #ddd3c4;
    --g-dark: #16130f;
    --g-dark-2: #241f19;
    --g-on-dark: #f3ede3;
    --g-on-dark-muted: #bdb2a1;
    --g-wa: #0f7a40;
    --g-wa-hover: #0b6233;
    --g-sold: #8c2f24;
    --g-serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
    --g-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --g-container: 1320px;
    --g-gutter: clamp(1rem, 4vw, 2.5rem);
    --g-section: clamp(3rem, 7vw, 6.5rem);
    --g-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --g-topbar-h: 2.25rem;

    background: var(--g-bg);
    color: var(--g-ink);
    font-family: var(--g-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:where([data-theme="galeri"]) *,
:where([data-theme="galeri"]) *::before,
:where([data-theme="galeri"]) *::after {
    box-sizing: border-box;
}

:where([data-theme="galeri"]) a {
    color: inherit;
    text-decoration: none;
}

:where([data-theme="galeri"]) a:hover {
    color: inherit;
}

:where([data-theme="galeri"]) img {
    max-width: 100%;
    display: block;
}

:where([data-theme="galeri"]) ul,
:where([data-theme="galeri"]) ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

:where([data-theme="galeri"]) h1,
:where([data-theme="galeri"]) h2,
:where([data-theme="galeri"]) h3,
:where([data-theme="galeri"]) p,
:where([data-theme="galeri"]) dl,
:where([data-theme="galeri"]) dd {
    margin: 0;
}

:where([data-theme="galeri"]) :focus-visible {
    outline: 2px solid var(--g-accent);
    outline-offset: 3px;
}

.g-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.g-container {
    width: 100%;
    max-width: var(--g-container);
    margin-inline: auto;
    padding-inline: var(--g-gutter);
}

.g-icon {
    flex-shrink: 0;
}

/* ---------- Tipografi ---------- */

.g-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--g-accent);
    margin-bottom: 0.75rem;
}

.g-eyebrow--light {
    color: #e9dcc5;
}

.g-section__title,
.g-page__title,
.g-product__title,
.g-band__title {
    font-family: var(--g-serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.g-section__title {
    font-size: clamp(2rem, 4.2vw, 3rem);
}

.g-page__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.g-lead {
    margin-top: 1rem;
    max-width: 60ch;
    font-size: 1.0625rem;
    color: var(--g-muted);
}

.g-prose {
    color: var(--g-muted);
    max-width: 65ch;
}

.g-prose p + p {
    margin-top: 1em;
}

.g-prose a {
    color: var(--g-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Düğmeler ---------- */

.g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.875rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s var(--g-ease), color 0.2s var(--g-ease), border-color 0.2s var(--g-ease);
}

.g-btn--sm {
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.8125rem;
}

.g-btn--lg {
    min-height: 3.25rem;
    padding: 0.9rem 1.75rem;
    font-size: 0.9375rem;
}

[data-theme="galeri"] .g-btn--wa {
    background: var(--g-wa);
    color: #fff;
}

[data-theme="galeri"] .g-btn--wa:hover {
    background: var(--g-wa-hover);
    color: #fff;
}

[data-theme="galeri"] .g-btn--light {
    background: var(--g-on-dark);
    color: var(--g-dark);
}

[data-theme="galeri"] .g-btn--light:hover {
    background: #fff;
    color: var(--g-dark);
}

[data-theme="galeri"] .g-btn--ghost {
    background: transparent;
    border-color: var(--g-ink);
    color: var(--g-ink);
}

[data-theme="galeri"] .g-btn--ghost:hover {
    background: var(--g-ink);
    color: var(--g-bg);
}

[data-theme="galeri"] .g-btn--outline-light {
    background: transparent;
    border-color: rgba(243, 237, 227, 0.5);
    color: var(--g-on-dark);
}

[data-theme="galeri"] .g-btn--outline-light:hover {
    border-color: var(--g-on-dark);
    color: #fff;
}

.g-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid currentColor;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.g-link-arrow .g-icon {
    transition: transform 0.2s var(--g-ease);
}

.g-link-arrow:hover .g-icon {
    transform: translateX(3px);
}

.g-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

/* ---------- Üst bilgi ---------- */

.g-header {
    position: sticky;
    top: calc(-1 * var(--g-topbar-h));
    z-index: 40;
    background: var(--g-bg);
    border-bottom: 1px solid var(--g-line);
}

.g-topbar {
    background: var(--g-dark);
    color: var(--g-on-dark);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.g-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: var(--g-topbar-h);
}

.g-topbar__text {
    display: none;
    color: var(--g-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.g-topbar__links {
    display: flex;
    gap: 1.25rem;
}

.g-topbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.g-topbar__links a:hover {
    color: #fff;
}

.g-mainbar__inner {
    display: grid;
    grid-template-columns: 2.75rem 1fr auto;
    align-items: center;
    gap: 0.5rem;
    min-height: 4.25rem;
}

.g-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    line-height: 1;
}

.g-logo__img {
    max-height: 3rem;
    width: auto;
}

.g-logo__text {
    font-family: var(--g-serif);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.g-logo__tag {
    margin-top: 0.3rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--g-accent);
}

.g-mainbar .g-mainbar__search,
.g-mainbar .g-mainbar__wa {
    display: none;
}

.g-mainbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.g-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--g-line);
    background: var(--g-surface);
}

.g-search input {
    flex: 1;
    min-width: 0;
    height: 2.75rem;
    padding: 0 0.9rem;
    border: 0;
    background: transparent;
    color: var(--g-ink);
    font-size: 1rem;
}

.g-search input:focus {
    outline: none;
}

.g-search:focus-within {
    border-color: var(--g-ink);
}

.g-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--g-ink);
    cursor: pointer;
}

.g-nav {
    display: none;
    border-top: 1px solid var(--g-line);
}

.g-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: clamp(0.9rem, 1.4vw, 1.6rem);
}

.g-nav__item {
    position: relative;
}

.g-nav__item > a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.95rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
}

.g-nav__item > a:hover,
.g-nav__item > a[aria-current="page"] {
    border-bottom-color: var(--g-ink);
}

.g-nav__sub {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 13rem;
    padding: 0.5rem 0;
    background: var(--g-surface);
    border: 1px solid var(--g-line);
    box-shadow: 0 18px 40px -24px rgba(22, 19, 15, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s var(--g-ease), transform 0.18s var(--g-ease), visibility 0.18s;
}

.g-nav__item:hover > .g-nav__sub,
.g-nav__item:focus-within > .g-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.g-nav__sub a {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
}

.g-nav__sub a:hover,
.g-nav__sub a[aria-current="page"] {
    background: var(--g-tint);
}

@media (min-width: 900px) {
    .g-topbar__inner {
        justify-content: space-between;
    }

    .g-topbar__text {
        display: block;
    }

    .g-mainbar__inner {
        grid-template-columns: 1fr auto 1fr;
        min-height: 5.5rem;
        gap: 2rem;
    }

    .g-mainbar__menu {
        display: none;
    }

    .g-logo {
        grid-column: 2;
        grid-row: 1;
    }

    .g-mainbar .g-mainbar__search {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        max-width: 20rem;
    }

    .g-mainbar__actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .g-mainbar__searchbtn {
        display: none;
    }

    .g-mainbar .g-mainbar__wa {
        display: inline-flex;
    }

    .g-nav {
        display: block;
    }
}

@media (min-width: 900px) and (max-width: 1099px) {
    .g-nav__list {
        column-gap: 1.1rem;
    }

    .g-nav__item > a {
        letter-spacing: 0.08em;
    }
}

/* ---------- Mobil menü ---------- */

.g-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(22rem, 88vw);
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--g-bg);
    color: var(--g-ink);
    font-family: var(--g-sans);
}

.g-drawer::backdrop {
    background: rgba(22, 19, 15, 0.55);
}

.g-drawer[open] {
    animation: g-drawer-in 0.25s var(--g-ease);
}

@keyframes g-drawer-in {
    from {
        transform: translateX(-100%);
    }
}

.g-drawer__panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 100%;
    padding: 1rem 1.25rem 2rem;
}

.g-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.g-drawer__list > li {
    border-bottom: 1px solid var(--g-line);
}

.g-drawer__list a,
.g-drawer__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3rem;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
}

.g-drawer__list summary::-webkit-details-marker {
    display: none;
}

.g-drawer__list details[open] summary .g-icon {
    transform: rotate(180deg);
}

.g-drawer__list details ul {
    padding: 0 0 0.75rem 1rem;
}

.g-drawer__list details a {
    min-height: 2.5rem;
    color: var(--g-muted);
}

.g-drawer__contact {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
}

/* ---------- Hero ---------- */

.g-hero {
    position: relative;
    display: grid;
    min-height: min(78svh, 46rem);
    overflow: hidden;
    background: var(--g-dark);
    color: var(--g-on-dark);
}

.g-hero__slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s var(--g-ease), visibility 0.9s;
}

.g-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.g-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.g-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 19, 15, 0) 25%, rgba(22, 19, 15, 0.55) 55%, rgba(22, 19, 15, 0.88) 100%);
}

@media (min-width: 900px) {
    .g-hero__shade {
        background:
            linear-gradient(90deg, rgba(22, 19, 15, 0.72) 0%, rgba(22, 19, 15, 0.35) 45%, rgba(22, 19, 15, 0) 70%),
            linear-gradient(180deg, rgba(22, 19, 15, 0) 55%, rgba(22, 19, 15, 0.55) 100%);
    }
}

.g-hero__content {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 5.5rem;
}

.g-hero__title {
    max-width: 16ch;
    font-family: var(--g-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    color: #fff;
    text-wrap: balance;
}

.g-hero__text {
    max-width: 46ch;
    margin-top: 1rem;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: rgba(243, 237, 227, 0.88);
}

.g-hero .g-btn {
    margin-top: 1.75rem;
}

.g-hero__controls {
    position: absolute;
    left: var(--g-gutter);
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.g-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(243, 237, 227, 0.45);
    border-radius: 50%;
    background: transparent;
    color: var(--g-on-dark);
    cursor: pointer;
}

.g-hero__arrow:hover {
    background: rgba(243, 237, 227, 0.12);
}

.g-hero__pause-icon {
    display: block;
    width: 10px;
    height: 12px;
    border-inline: 3px solid currentColor;
}

.g-hero__pause.is-paused .g-hero__pause-icon {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-inline: 0;
    border-block: 6px solid transparent;
    border-left: 10px solid currentColor;
}

.g-hero__dots {
    display: flex;
    gap: 0.25rem;
}

.g-hero__dot {
    width: 2rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.g-hero__dot::before {
    content: "";
    display: block;
    height: 2px;
    background: rgba(243, 237, 227, 0.4);
    transition: background-color 0.2s;
}

.g-hero__dot.is-active::before {
    background: #fff;
}

@media (max-width: 639px) {
    .g-hero__arrow:not(.g-hero__pause) {
        display: none;
    }

    .g-hero__controls {
        bottom: 0.75rem;
    }
}

/* ---------- Bölümler ---------- */

.g-section {
    padding-block: var(--g-section);
}

.g-section--tint {
    background: var(--g-tint);
}

.g-section__head {
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
}

.g-section__head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.g-section__head--split .g-link-arrow {
    margin-top: 0;
}

/* Kategori kartları */

.g-catgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.g-catcard {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--g-dark-2);
}

.g-catcard__media {
    display: block;
    aspect-ratio: 4 / 5;
}

.g-catcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--g-ease);
}

.g-catcard:hover .g-catcard__media img {
    transform: scale(1.04);
}

.g-catcard__body {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 2.5rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(22, 19, 15, 0.85));
    color: #fff;
}

.g-catcard__name {
    font-family: var(--g-serif);
    font-size: clamp(1.25rem, 2.6vw, 1.625rem);
    font-weight: 500;
    line-height: 1.1;
}

.g-catcard__count {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(243, 237, 227, 0.85);
}

@media (min-width: 900px) {
    .g-catgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Ürün ızgarası ve kart */

.g-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 900px) {
    .g-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .g-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.g-card {
    display: flex;
    flex-direction: column;
}

.g-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--g-dark-2);
}

.g-card__imglink {
    display: block;
    height: 100%;
}

.g-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s var(--g-ease), transform 0.6s var(--g-ease);
}

.g-card__img--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.g-card.is-sold .g-card__img {
    filter: grayscale(0.35);
}

.g-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.g-badge--sold {
    background: var(--g-sold);
    color: #fff;
}

.g-badge--lg {
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
}

.g-card__quick {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border: 0;
    background: rgba(255, 253, 249, 0.94);
    color: var(--g-ink);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.g-card__quick span {
    display: none;
}

@media (hover: hover) and (min-width: 900px) {
    .g-card:hover .g-card__img--hover {
        opacity: 1;
    }

    .g-card:hover .g-card__img:not(.g-card__img--hover):only-child {
        transform: scale(1.03);
    }

    .g-card__quick {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.2s var(--g-ease), transform 0.2s var(--g-ease);
    }

    .g-card__quick span {
        display: inline;
    }

    .g-card:hover .g-card__quick,
    .g-card__quick:focus-visible {
        opacity: 1;
        transform: none;
    }
}

.g-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 0.9rem;
}

.g-card__cat {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--g-accent);
}

.g-card__title {
    margin-top: 0.3rem;
    font-family: var(--g-serif);
    font-size: clamp(1.125rem, 2.2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.2;
}

.g-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.g-card__code {
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--g-muted);
}

.g-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.g-card__price {
    font-size: 0.9375rem;
    font-weight: 600;
}

.g-card__price.is-sold {
    color: var(--g-sold);
}

@media (max-width: 479px) {
    .g-card__foot .g-btn {
        width: 100%;
    }
}

/* Hakkında */

.g-about {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.g-about__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--g-dark-2);
}

.g-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-about__body .g-prose {
    margin-top: 1.25rem;
    font-size: 1.0625rem;
}

@media (min-width: 900px) {
    .g-about {
        grid-template-columns: 5fr 6fr;
    }

    .g-about--noimage {
        grid-template-columns: 1fr;
        max-width: 48rem;
    }
}

/* İletişim şeridi */

.g-band {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--g-dark);
    color: var(--g-on-dark);
}

.g-band__inner {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}

.g-band__title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    color: #fff;
}

.g-band__text {
    margin-top: 0.75rem;
    max-width: 52ch;
    color: var(--g-on-dark-muted);
}

.g-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .g-band__inner {
        grid-template-columns: 1fr auto;
    }
}

/* ---------- Sayfa ve listeleme ---------- */

.g-page {
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.g-page__inner {
    display: grid;
    gap: 2.5rem;
}

.g-page__body .g-prose {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
}

.g-page__body--narrow {
    max-width: 48rem;
}

.g-page__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.g-page__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 900px) {
    .g-page__inner.has-image {
        grid-template-columns: 7fr 5fr;
        align-items: start;
    }
}

.g-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: var(--g-muted);
}

.g-breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--g-line);
}

.g-breadcrumb a:hover {
    color: var(--g-ink);
    text-decoration: underline;
}

.g-breadcrumb [aria-current] {
    color: var(--g-ink);
}

.g-listing {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.g-listing__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--g-line);
}

.g-listing__count {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--g-muted);
}

.g-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.g-sort select {
    height: 2.75rem;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid var(--g-line);
    border-radius: 0;
    background: var(--g-surface);
    color: var(--g-ink);
    font-size: 0.9375rem;
}

.g-chips {
    display: flex;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.g-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 1rem;
    border: 1px solid var(--g-line);
    font-size: 0.875rem;
    white-space: nowrap;
}

.g-chips a:hover {
    border-color: var(--g-ink);
}

.g-chips a[aria-current="page"] {
    background: var(--g-ink);
    border-color: var(--g-ink);
    color: var(--g-bg);
}

.g-listing .g-grid {
    margin-top: 2rem;
}

.g-pager {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.g-pager .pagination {
    display: flex;
    gap: 0.25rem;
}

.g-pager .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--g-line);
    border-radius: 0 !important;
    background: transparent;
    color: var(--g-ink);
}

.g-pager .page-item.active .page-link {
    background: var(--g-ink);
    border-color: var(--g-ink);
    color: var(--g-bg);
}

.g-empty {
    margin-top: 2rem;
    padding: clamp(2rem, 6vw, 4rem) 1.5rem;
    border: 1px solid var(--g-line);
    text-align: center;
}

.g-empty h1,
.g-empty h2 {
    font-family: var(--g-serif);
    font-size: 1.75rem;
    font-weight: 500;
}

.g-empty p {
    max-width: 44ch;
    margin: 0.75rem auto 1.5rem;
    color: var(--g-muted);
}

/* ---------- Ürün detayı ---------- */

.g-product {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.g-product__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 4rem);
}

@media (min-width: 900px) {
    .g-product__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: start;
    }

    .g-product__info {
        position: sticky;
        top: 8.5rem;
    }
}

.g-gallery__main {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--g-dark-2);
}

.g-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.g-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.g-gallery__thumbs button {
    flex: 0 0 4.5rem;
    padding: 0;
    border: 1px solid transparent;
    background: var(--g-dark-2);
    cursor: pointer;
    opacity: 0.7;
}

.g-gallery__thumbs button[aria-current="true"] {
    border-color: var(--g-ink);
    opacity: 1;
}

.g-gallery__thumbs img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.g-product__title {
    font-size: clamp(2rem, 4.4vw, 3rem);
}

.g-product__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 0.9rem;
    font-size: 0.875rem;
    color: var(--g-muted);
}

.g-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--g-wa);
    font-weight: 600;
}

.g-status::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}

.g-status.is-sold {
    color: var(--g-sold);
}

.g-product__price {
    margin-top: 1.5rem;
    font-family: var(--g-serif);
    font-size: 1.75rem;
    font-weight: 600;
}

.g-product__price.is-sold {
    color: var(--g-sold);
    font-size: 1.375rem;
}

.g-product__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.g-product__cta .g-btn--wa {
    flex: 1 1 16rem;
}

.g-product__note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-left: 2px solid var(--g-accent);
    background: var(--g-tint);
    font-size: 0.875rem;
    color: var(--g-muted);
}

.g-product__subtitle {
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--g-accent);
}

.g-specs > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--g-line);
    font-size: 0.9375rem;
}

.g-specs > div:first-child {
    border-top: 1px solid var(--g-line);
}

.g-specs dt {
    font-weight: 400;
    color: var(--g-muted);
}

.g-specs dd {
    font-weight: 500;
}

.g-ctabar {
    display: none;
}

@media (max-width: 899px) {
    .g-ctabar {
        position: fixed;
        inset: auto 0 0;
        z-index: 30;
        display: block;
        padding: 0.75rem var(--g-gutter) calc(0.75rem + env(safe-area-inset-bottom));
        background: rgba(245, 241, 234, 0.96);
        border-top: 1px solid var(--g-line);
    }

    .g-ctabar .g-btn {
        width: 100%;
    }

    body:has(.g-ctabar) .g-wafloat {
        display: none;
    }

    body:has(.g-ctabar) .g-footer {
        padding-bottom: 5.5rem;
    }
}

/* ---------- İletişim sayfası ---------- */

.g-contact {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .g-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .g-contact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.g-contact__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1.75rem;
    background: var(--g-surface);
    border: 1px solid var(--g-line);
}

.g-contact__card h2 {
    font-family: var(--g-serif);
    font-size: 1.625rem;
    font-weight: 500;
}

.g-contact__card p {
    color: var(--g-muted);
}

.g-contact__card a:not(.g-btn) {
    color: var(--g-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.g-contact__card--wa {
    border-color: var(--g-wa);
}

.g-contact__card--wa > .g-icon {
    color: var(--g-wa);
}

.g-contact__card .g-btn {
    margin-top: auto;
}

/* ---------- Alt bilgi ---------- */

.g-footer {
    background: var(--g-dark);
    color: var(--g-on-dark-muted);
    font-size: 0.9375rem;
}

.g-footer__grid {
    display: grid;
    gap: 2.5rem;
    padding-block: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 640px) {
    .g-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .g-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.3fr;
    }
}

.g-footer__logo {
    margin-bottom: 1rem;
    font-family: var(--g-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--g-on-dark);
}

.g-footer__brand p:not(.g-footer__logo) {
    max-width: 40ch;
}

.g-footer__title {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--g-on-dark);
}

.g-footer__list li + li {
    margin-top: 0.5rem;
}

.g-footer__list a:hover {
    color: #fff;
}

.g-footer__contact li,
.g-footer__contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.g-footer__contact .g-icon {
    margin-top: 0.2rem;
}

.g-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(243, 237, 227, 0.14);
    font-size: 0.8125rem;
}

.g-wafloat {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 3.5rem;
    height: 3.5rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--g-wa);
    color: #fff;
    box-shadow: 0 10px 28px -10px rgba(22, 19, 15, 0.6);
    transition: background-color 0.2s;
}

[data-theme="galeri"] .g-wafloat:hover {
    background: var(--g-wa-hover);
    color: #fff;
}

.g-wafloat__label {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (min-width: 900px) {
    .g-wafloat__label {
        display: inline;
    }
}

/* ---------- Hızlı görünüm ---------- */

.g-quickview {
    width: min(60rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 0;
    background: var(--g-bg);
    color: var(--g-ink);
    font-family: var(--g-sans);
}

.g-quickview::backdrop {
    background: rgba(22, 19, 15, 0.6);
}

.g-quickview__inner {
    position: relative;
    display: grid;
}

.g-quickview__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    background: rgba(245, 241, 234, 0.9);
}

.g-quickview__media {
    background: var(--g-dark-2);
}

.g-quickview__media > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 60dvh;
    object-fit: contain;
}

.g-quickview__thumbs {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
}

.g-quickview__thumbs button {
    width: 3.5rem;
    padding: 0;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
}

.g-quickview__thumbs button[aria-current="true"] {
    border-color: var(--g-on-dark);
}

.g-quickview__thumbs img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.g-quickview__body {
    padding: 1.5rem;
}

.g-quickview__body .g-product__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.g-quickview__body .g-product__price {
    margin-top: 0.75rem;
    font-size: 1.375rem;
}

.g-quickview__body .g-specs {
    margin-top: 1.25rem;
}

.g-quickview__excerpt {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--g-muted);
}

@media (min-width: 760px) {
    .g-quickview__inner {
        grid-template-columns: 1fr 1fr;
    }

    .g-quickview__media > img {
        max-height: none;
    }

    .g-quickview__body {
        padding: 2.5rem 2rem;
    }
}

body.g-locked {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    [data-theme="galeri"] *,
    [data-theme="galeri"] *::before,
    [data-theme="galeri"] *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
