/* Nejlanın Mutfağı — supplementary styles (Tailwind handles most layout) */
[x-cloak] { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.arv-hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.arv-hero-swiper .swiper-pagination-bullet-active { background: #B8860B; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prose-walnut a { color: #B8860B; }
.prose-walnut h2 { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ---- Global overflow / responsive safety ---- */
html {
    overflow-x: clip;
    max-width: 100%;
}
body.arv-site {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
}
body.arv-site.arv-nav-open {
    overflow: hidden;
}
@media (max-width: 1023px) {
    body.arv-nav-open > header {
        z-index: 90;
    }
    body.arv-nav-open #arv-mobile-nav {
        position: fixed;
        z-index: 80;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        box-sizing: border-box;
        padding-top: 4.75rem;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #fff;
    }
}
.arv-main,
.arv-container,
.arv-section,
header,
footer,
main {
    max-width: 100%;
    min-width: 0;
}
.arv-container {
    width: 100%;
    box-sizing: border-box;
}
img, video, svg, canvas, iframe, embed, object {
    max-width: 100%;
    height: auto;
}
table {
    max-width: 100%;
}
.prose,
.prose-walnut,
article {
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* Prevent animation libraries from causing horizontal scroll */
[data-aos] {
    max-width: 100%;
}

/* Header: never blow past viewport */
header .arv-container > .flex {
    min-width: 0;
}
header .font-display {
    overflow-wrap: anywhere;
}

/* Product / commerce grids */
@media (max-width: 640px) {
    .arv-section {
        padding-left: 0;
        padding-right: 0;
    }
    .arv-section > .arv-container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    .arv-btn-brass,
    .arv-btn-primary,
    .arv-btn-outline,
    .arv-btn-ghost {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
    /* Account tab strip */
    .arv-main .overflow-x-auto {
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
}

@media (max-width: 480px) {
    .nejla-wa-float {
        right: max(.75rem, env(safe-area-inset-right));
        bottom: max(.75rem, env(safe-area-inset-bottom));
    }
    header .font-display {
        font-size: 1rem;
        line-height: 1.25;
    }
}

/* Forms never overflow */
.arv-input,
input.arv-input,
select.arv-input,
textarea.arv-input {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Sanaletki signature */
.arv-signature-bar {
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .28) 100%);
    padding: .7rem 1rem;
    text-align: center;
}
.arv-signature {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: center;
}
.arv-signature__label {
    color: #8a8278;
    font-weight: 500;
}
.arv-signature__link {
    color: #d4a84b;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}
.arv-signature__link:hover {
    color: #fff;
}
