/* ==========================================================================
   La Peria — vitrin stilleri
   Renk degiskenleri yonetim panelindeki tema editorunden uretilir ve
   sayfa basinda <style> icinde basilir. Buradaki her sey onlarin uzerine kurulu.
   ========================================================================== */

:root {
    --font-display: "Bodoni Moda", "Didot", Georgia, serif;
    --font-ui: "Jost", "Segoe UI", system-ui, sans-serif;

    --fs-xs: 0.78rem;
    --fs-sm: 0.875rem;
    --fs-md: 1.0625rem;
    --fs-lg: clamp(1.15rem, 1.4vw, 1.375rem);
    --fs-xl: clamp(1.55rem, 2.6vw, 2.1rem);
    --fs-2xl: clamp(2rem, 4.2vw, 3.1rem);
    --fs-hero: clamp(2.5rem, 6vw, 4.75rem);

    --gutter: clamp(20px, 5vw, 60px);
    --maxw: 1320px;
    --measure: 62ch;

    --space-section: clamp(64px, 9vw, 132px);

    --accent-soft: color-mix(in srgb, var(--accent) 9%, var(--bg));
    --accent-line: color-mix(in srgb, var(--accent) 38%, transparent);
    --hair: color-mix(in srgb, var(--text) 13%, transparent);
    --overlay: color-mix(in srgb, var(--bg) 88%, transparent);
    --scrim: color-mix(in srgb, #000 78%, transparent);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- temeller */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: var(--fs-md);
    font-weight: 400;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin: 0;
}

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

::selection {
    background: var(--accent);
    color: var(--surface);
}

.wrap {
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--surface);
    padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

.muted { color: var(--muted); }

.measure { max-width: var(--measure); }

/* dantel kenar: urunlerdeki tarak motifinden turetildi, bolum gecislerinde */
.lace {
    height: 12px;
    color: var(--accent);
    opacity: 0.5;
    background-image:
        radial-gradient(circle at 11px 0, transparent 0 10.3px, currentColor 10.3px 11px, transparent 11.1px),
        radial-gradient(circle at 11px 3px, currentColor 0 0.9px, transparent 1px);
    background-size: 22px 12px;
    background-repeat: repeat-x;
}

/* ------------------------------------------------------------------ butonlar */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--bg);
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: transparent; color: var(--accent); }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--hair);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* alti cizili baglanti — cizgi hover'da soldan buyur */
.ulink {
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    font-size: var(--fs-sm);
    letter-spacing: 0.05em;
}
.ulink::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.4s var(--ease);
}
.ulink:hover::after { transform: scaleX(0.35); }

/* -------------------------------------------------------------------- baslik */

.site-head {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-head.is-stuck {
    border-bottom-color: var(--hair);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.site-head__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

/* Marka yazisi kucuk harfe dokunulmadan, genis harf araligiyla dizilir.
   Buyuk harfe cevirmiyoruz: Turkce'de "i" harfi "İ" olur ve marka adi bozulur. */
.mark {
    font-family: var(--font-display);
    font-size: 1.28rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    white-space: nowrap;
}
.mark img {
    max-height: 42px;
    width: auto;
}
/* Logo tek renk ve koyu oldugu icin gece modunda zemine karisir;
   beyaza cevirerek okunur tutuyoruz. */
:root[data-theme="dark"] .mark img { filter: brightness(0) invert(1); opacity: 0.92; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mark img { filter: brightness(0) invert(1); opacity: 0.92; }
}
.mobile-nav .mark img { max-height: 34px; }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 38px);
}
.nav a {
    font-size: var(--fs-sm);
    letter-spacing: 0.03em;
    color: var(--muted);
    transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a.is-current { color: var(--text); }

.head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-btn:hover {
    color: var(--text);
    background: var(--accent-soft);
}
.icon-btn svg { width: 19px; height: 19px; }

.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
}

.burger { display: none; }

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--bg);
    padding: 24px var(--gutter) 40px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s;
    overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-bottom: 36px;
}
.mobile-nav a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--hair);
}
.mobile-nav .socials { margin-top: 32px; }

/* ---------------------------------------------------------------------- hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 70px);
    padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}

.hero__text { padding-block: clamp(48px, 9vh, 104px); }

.hero__heading {
    font-size: var(--fs-hero);
    line-height: 0.98;
    margin-bottom: 26px;
    max-width: 12ch;
}

.hero__lede {
    max-width: 44ch;
    color: var(--muted);
    font-size: var(--fs-md);
    margin-bottom: 34px;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 42px;
    font-size: var(--fs-xs);
    color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }

.hero__media {
    position: relative;
    height: clamp(520px, 80vh, 780px);
    overflow: hidden;
    background: var(--accent-soft);
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.hero__tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 9px 16px;
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
    color: var(--muted);
}
.hero__tag strong { font-weight: 500; color: var(--text); }

/* acilisin tek koreografili ani */
@media (prefers-reduced-motion: no-preference) {
    .hero__heading,
    .hero__lede,
    .hero__cta,
    .hero__meta {
        animation: rise 0.9s var(--ease) backwards;
    }
    .hero__lede { animation-delay: 0.1s; }
    .hero__cta { animation-delay: 0.18s; }
    .hero__meta { animation-delay: 0.26s; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
}

/* ------------------------------------------------------------------ bolumler */

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(44px, 6vw, 84px); }

.section-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 52px);
    padding-top: 26px;
}
/* aski ipligi: baslikla ust bolumu birbirine baglayan ince dikey cizgi */
.section-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 18px;
    background: var(--accent-line);
}
.section-head h2 { font-size: var(--fs-xl); }
.section-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: var(--fs-sm);
    max-width: 46ch;
}

/* ------------------------------------------------------------------- kartlar */

.grid {
    display: grid;
    gap: clamp(18px, 2.4vw, 34px) clamp(14px, 1.8vw, 26px);
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

.card { display: block; }

.card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--accent-soft);
    border-radius: var(--radius);
}
.card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s var(--ease);
}
.card__media .alt { opacity: 0; }
.card:hover .card__media .alt { opacity: 1; }

.card__body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
}
.card__name {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    line-height: 1.2;
}
.card:hover .card__name { color: var(--accent); }
.card__note {
    display: block;
    margin-top: 3px;
    font-size: var(--fs-xs);
    color: var(--muted);
}
.card__price {
    font-size: var(--fs-sm);
    white-space: nowrap;
    color: var(--muted);
}

.swatch {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--hair);
    vertical-align: baseline;
    margin-right: 7px;
}

/* Lookbook ritmi: komsu kart askidaki gibi biraz asagida durur.
   transform yerine margin kullaniyoruz; boylece satir yuksekligi artar
   ve kart yazisi alttaki satirin gorseline binmez. */
@media (min-width: 900px) {
    .grid--offset > *:nth-child(even) {
        align-self: start;
        margin-top: clamp(18px, 3vw, 46px);
    }
}

.badge {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--accent);
}

/* ---------------------------------------------------------------- kategoriler */

.cat-card .card__media { aspect-ratio: 4 / 5; }
.cat-card .card__name { font-size: var(--fs-lg); }

/* ------------------------------------------------------------------- hikaye */

.story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}
.story__text h2 { font-size: var(--fs-2xl); margin-bottom: 22px; max-width: 14ch; }
.story__text p { color: var(--muted); max-width: var(--measure); }
.story__media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------- urun listesi */

.filters {
    border-block: 1px solid var(--hair);
    margin-bottom: clamp(22px, 3vw, 34px);
}
.filters__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-block: 14px;
}
.filters__row + .filters__row { border-top: 1px solid var(--hair); }
.filters__label {
    font-size: var(--fs-xs);
    color: var(--muted);
    min-width: 62px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border: 1px solid var(--hair);
    border-radius: 999px;
    font-size: var(--fs-sm);
    color: var(--muted);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.page-head { padding-top: clamp(34px, 5vw, 62px); }
/* Sayfa basligindan hemen sonra gelen bolum daha az bosluk birakir. */
.page-head + .section { padding-top: clamp(22px, 3vw, 40px); }
.page-head h1 { font-size: var(--fs-2xl); margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: var(--measure); }

.crumbs {
    display: flex;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--muted);
    margin-bottom: 18px;
}
.crumbs a:hover { color: var(--text); }

.empty {
    padding: 70px 0;
    text-align: center;
    color: var(--muted);
}

/* ---------------------------------------------------------------- urun detay */

.product {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 76px);
    padding-top: clamp(20px, 3vw, 40px);
}

.gallery { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }

.gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gallery__thumbs button {
    padding: 0;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    opacity: 0.62;
    transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-active { opacity: 1; border-color: var(--accent); }

/* Stüdyo kareleri 2:3 çekiliyor; ana görseli kırpmadan tam gösteriyoruz. */
.gallery__main {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--accent-soft);
    border-radius: var(--radius);
    cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.product__info { align-self: start; position: sticky; top: 100px; }
.product__code {
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    color: var(--muted);
}
.product__title { font-size: var(--fs-2xl); margin: 8px 0 16px; }
.product__price {
    font-size: var(--fs-lg);
    font-family: var(--font-display);
    margin-bottom: 18px;
}
.product__lede { color: var(--muted); max-width: 46ch; }

.spec {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--hair);
    font-size: var(--fs-sm);
}
.spec dt { color: var(--muted); min-width: 92px; }
.spec dd { margin: 0; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span {
    min-width: 40px;
    padding: 6px 12px;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    text-align: center;
    font-size: var(--fs-sm);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.parts {
    margin-top: 30px;
    border-top: 1px solid var(--hair);
    padding-top: 22px;
}
.parts h2 { font-size: var(--fs-lg); margin-bottom: 14px; }
.parts ul { list-style: none; margin: 0; padding: 0; }
.parts li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hair);
}
.parts li:last-child { border-bottom: 0; }
.parts strong { font-weight: 500; }
.parts p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.parts .num {
    flex: 0 0 auto;
    width: 22px;
    color: var(--accent);
    font-family: var(--font-display);
}

details.fold { border-top: 1px solid var(--hair); }
details.fold summary {
    padding: 16px 0;
    cursor: pointer;
    font-size: var(--fs-sm);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::after { content: "+"; color: var(--muted); font-size: 1.1rem; }
details.fold[open] summary::after { content: "−"; }
details.fold .fold__body { padding-bottom: 18px; font-size: var(--fs-sm); color: var(--muted); }

/* -------------------------------------------------------------------- lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    background: var(--scrim);
    padding: 3vh 3vw;
}
.lightbox.is-open { display: grid; }
.lightbox img {
    max-width: 100%;
    max-height: 94vh;
    object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover,
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }

/* ------------------------------------------------------------------ icerik */

/* Sabit sayfalar. Panelden gorsel yuklendiyse metin sola, gorsel saga gecer;
   yuklenmediyse tek sutun kalir. */
.page-layout { display: grid; }
.page-layout--media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: start;
}

.page-media {
    position: sticky;
    top: 104px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--accent-soft);
}
.page-media img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: var(--measure); }
.prose h2 {
    font-size: var(--fs-xl);
    margin: 2em 0 0.6em;
}
.prose p { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------- formlar */

.form { display: grid; gap: 18px; }
.field label {
    display: block;
    font-size: var(--fs-sm);
    margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field .err { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--accent); }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }

.notice {
    padding: 16px 20px;
    border-left: 2px solid var(--accent);
    background: var(--accent-soft);
    font-size: var(--fs-sm);
    margin-bottom: 26px;
}
.notice__hint {
    margin: 10px 0 14px;
    color: var(--muted);
    max-width: 52ch;
}
.notice .btn { padding: 11px 20px; }

/* Uyari kutusu: tema rengine bagli olmayan, her paletle calisan bir kirmizi. */
.notice--error {
    border-left: 2px solid #C0392B;
    background: color-mix(in srgb, #C0392B 15%, var(--surface));
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
    color: var(--muted);
    border-color: var(--hair);
}
.btn:disabled:hover { background: transparent; color: var(--muted); }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--hair);
    font-size: var(--fs-sm);
}
.contact-list span { display: block; color: var(--muted); font-size: var(--fs-xs); margin-bottom: 3px; }

/* -------------------------------------------------------------------- sosyal */

.socials { display: flex; gap: 8px; }
.socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--hair);
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; }

/* ------------------------------------------------- yuzen whatsapp dugmesi */

/* Marka rengi bilerek korundu: yesil daire her sitede ayni anlama geliyor.
   z-index 45 -> yapiskan basligin (40) ustunde, mobil menu (50) ve
   buyutulmus gorselin (80) altinda kalir. */
.wa-fab {
    position: fixed;
    right: clamp(16px, 2.5vw, 26px);
    bottom: clamp(16px, 2.5vw, 26px);
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 13px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), gap 0.3s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26); }
.wa-fab svg { flex: 0 0 auto; width: 30px; height: 30px; }

.wa-fab__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
    transition: max-width 0.34s var(--ease);
}
/* Yazi yalnizca fare olan genis ekranlarda acilir; dokunmatikte daire kalir. */
@media (hover: hover) and (min-width: 760px) {
    .wa-fab:hover,
    .wa-fab:focus-visible { gap: 10px; }

    .wa-fab:hover .wa-fab__label,
    .wa-fab:focus-visible .wa-fab__label { max-width: 210px; }
}

/* ---------------------------------------------------------------------- alt */

.site-foot { margin-top: var(--space-section); }

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 4vw, 56px);
    padding-block: clamp(44px, 6vw, 74px);
}
.foot-grid h3 {
    font-family: var(--font-ui);
    font-size: var(--fs-xs);
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li {
    margin-bottom: 9px;
    font-size: var(--fs-sm);
    color: var(--muted);
}
.foot-grid li a {
    color: var(--muted);
    transition: color 0.2s var(--ease);
}
.foot-grid li a:hover { color: var(--text); }
.foot-brand p {
    color: var(--muted);
    font-size: var(--fs-sm);
    max-width: 34ch;
    margin: 16px 0 22px;
}

.foot-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 22px;
    border-top: 1px solid var(--hair);
    font-size: var(--fs-xs);
    color: var(--muted);
}
.foot-bottom nav { display: flex; gap: 18px; }
.foot-bottom a:hover { color: var(--text); }

/* ----------------------------------------------------------------- duyarli */

@media (max-width: 1040px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .product { grid-template-columns: 1fr; }
    .product__info { position: static; }
}

@media (max-width: 900px) {
    .nav { display: none; }
    .burger { display: grid; }

    .hero {
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 0;
    }
    .hero__media {
        height: auto;
        aspect-ratio: 4 / 5;
        order: -1;
    }
    .hero__text { padding: 38px var(--gutter) 0; }
    .hero__tag { display: none; }

    .story { grid-template-columns: 1fr; }
    .story__media { order: -1; aspect-ratio: 4 / 3; }

    .page-layout--media { grid-template-columns: 1fr; gap: 28px; }
    .page-media {
        position: static;
        order: -1;
        aspect-ratio: 4 / 3;
    }

    .contact-grid { grid-template-columns: 1fr; }

    .gallery { grid-template-columns: 1fr; }
    .gallery__thumbs {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        order: 2;
    }
    .gallery__thumbs::-webkit-scrollbar { display: none; }
    .gallery__thumbs button { flex: 0 0 66px; }
}

@media (max-width: 620px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(min(155px, 100%), 1fr)); }
    .field--half { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
