/* ============================================================
   SEO & Accessibility Helper Stilleri
   - .visually-hidden: ekranda görünmez ama ekran okuyucu okur
   - .visually-hidden-focusable: odaklanınca görünür olur (H1 için)
   - Share butonları (ürün detay)
   ============================================================ */

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    padding: 14px 22px !important;
    background: var(--color-olive, #4f5d2f) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    text-align: center !important;
    z-index: 9999;
}

/* Skip-to-content link (klavye erişilebilirliği) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 10px 18px;
    background: var(--color-ink, #1a1a1a);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    z-index: 100000;
    border-radius: 0 0 6px 0;
    transition: top .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    color: #fff;
}

/* Sosyal paylaşım butonları (ürün detay) */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 0;
    margin-top: 18px;
    border-top: 1px solid var(--color-line, #e5e7eb);
    border-bottom: 1px solid var(--color-line, #e5e7eb);
}
.share-buttons__label {
    font-size: .82rem;
    color: var(--color-ink-soft, #6b7280);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-right: 4px;
}
.share-buttons__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-size: .9rem;
    color: #fff;
    background: var(--color-ink, #1a1a1a);
    transition: transform .15s ease, background .15s ease;
}
.share-buttons__btn:hover {
    transform: translateY(-2px);
    color: #fff;
}
.share-buttons__btn--wa { background: #25D366; }
.share-buttons__btn--fb { background: #1877F2; }
.share-buttons__btn--x   { background: #000; }
.share-buttons__btn--in  { background: #0A66C2; }
.share-buttons__btn--cp  { background: #4f5d2f; }
.share-buttons__btn--wa:hover { background: #1ebe5d; }
.share-buttons__btn--fb:hover { background: #1565d8; }
.share-buttons__btn--x:hover  { background: #1a1a1a; }
.share-buttons__btn--in:hover { background: #084d92; }
.share-buttons__btn--cp:hover { background: #3f4a26; }
