/* ============================================================
   LETRA BUTİK — ORTAK STİLLER (letra-common.css)
   Tüm sayfalara dahil edilir
============================================================ */

:root {
    --gold: #c5a059;
    --dark: #121212;
    --light-grey: #f8f9fa;
    --border-color: #eaeaea;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body { font-family: 'Montserrat', sans-serif; background: #fff; color: var(--dark); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .brand-font { font-family: 'Tenor Sans', sans-serif; text-transform: uppercase; letter-spacing: 2px; }

/* PRELOADER */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: 0.5s; }

/* TOP PROMO */
.top-promo { background: var(--dark); color: #fff; font-size: 11px; padding: 12px 0; font-weight: 500; letter-spacing: 1px; }

/* NAVBAR */
.navbar { background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); padding: 20px 0; border-bottom: 1px solid var(--border-color); z-index: 1100; }
.navbar-brand { font-size: 2.2rem; font-weight: bold; transition: var(--transition); text-decoration: none; color: var(--dark); }
.nav-icon-link { text-decoration: none; }

/* NAV BADGE */
.nav-icon-btn { position: relative; cursor: pointer; text-decoration: none; color: var(--dark); display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; }
.nav-badge { position: absolute; top: -6px; right: -8px; background: var(--gold); color: #fff; font-size: 9px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1; transition: var(--transition); }
.nav-badge.zero { background: #ccc; }
.nav-badge.bump { animation: badgeBump 0.3s ease; }
@keyframes badgeBump { 0%{transform:scale(1)} 50%{transform:scale(1.4)} 100%{transform:scale(1)} }

/* TOAST */
.letra-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 14px 28px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 2px; z-index: 999999; opacity: 0; pointer-events: none; transition: all 0.35s ease; white-space: nowrap; }
.letra-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.letra-toast.toast-gold { background: var(--gold); }

/* CART DRAWER */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 3000; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw; height: 100%; background: #fff; z-index: 3001; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: -8px 0 40px rgba(0,0,0,0.12); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 24px 28px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.cart-header h5 { font-family: 'Tenor Sans', sans-serif; font-size: 15px; letter-spacing: 3px; margin: 0; text-transform: uppercase; }
.cart-close-btn { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 0; line-height: 1; }
.cart-page-link { font-size: 10px; color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }
.cart-page-link:hover { color: var(--dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-color); animation: slideInItem 0.3s ease; }
@keyframes slideInItem { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
.cart-item-img { width: 80px; height: 106px; object-fit: cover; background: var(--light-grey); flex-shrink: 0; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item-cat { font-size: 9px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.cart-item-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin: 4px 0; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--dark); }
.cart-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--border-color); background: none; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-weight: 600; }
.qty-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.qty-display { font-size: 13px; font-weight: 600; min-width: 20px; text-align: center; }
.remove-item-btn { background: none; border: none; color: #ccc; cursor: pointer; font-size: 15px; margin-left: auto; padding: 0; transition: 0.2s; }
.remove-item-btn:hover { color: #e03e3e; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: #aaa; gap: 14px; }
.cart-empty i { font-size: 48px; opacity: 0.3; }
.cart-empty p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.cart-footer { padding: 24px 28px; border-top: 1px solid var(--border-color); background: #fafafa; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-subtotal span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #777; }
.cart-subtotal .total-price { font-size: 18px; font-weight: 700; font-family: 'Tenor Sans', sans-serif; }
.cart-checkout-btn { display: block; width: 100%; padding: 16px; background: var(--dark); color: #fff; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.cart-checkout-btn:hover { background: var(--gold); color: #fff; }
.cart-note { font-size: 10px; color: #aaa; text-align: center; margin-top: 10px; letter-spacing: 0.5px; }

/* WISHLIST DRAWER */
.wishlist-drawer { position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw; height: 100%; background: #fff; z-index: 3001; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: -8px 0 40px rgba(0,0,0,0.12); }
.wishlist-drawer.open { right: 0; }
.wishlist-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-color); animation: slideInItem 0.3s ease; }
.wishlist-item-img { width: 80px; height: 106px; object-fit: cover; background: var(--light-grey); flex-shrink: 0; }
.wishlist-item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.wishlist-move-cart { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--dark); color: #fff; border: none; padding: 8px 14px; cursor: pointer; transition: 0.2s; margin-top: 8px; align-self: flex-start; }
.wishlist-move-cart:hover { background: var(--gold); }
.remove-wishlist-btn { background: none; border: none; color: #ccc; cursor: pointer; font-size: 15px; padding: 0; transition: 0.2s; }
.remove-wishlist-btn:hover { color: #e03e3e; }
.wishlist-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: #aaa; gap: 14px; }
.wishlist-empty i { font-size: 48px; opacity: 0.3; color: #e03e3e; }
.wishlist-empty p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* CARD WISHLIST BUTTON */
.card-wishlist-btn { position: absolute; top: 10px; right: 10px; z-index: 20; width: 34px; height: 34px; background: rgba(255,255,255,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.card-wishlist-btn:hover { transform: scale(1.1); }
.card-wishlist-btn .bi-heart { color: #aaa; font-size: 14px; }
.card-wishlist-btn .bi-heart-fill { color: #e03e3e; font-size: 14px; display: none; }
.card-wishlist-btn.active .bi-heart { display: none; }
.card-wishlist-btn.active .bi-heart-fill { display: block; }
.card-wishlist-btn.active { background: #fff5f5; }

/* FOOTER */
footer { background: #2a2a2a; color: #fff; padding: 60px 0 30px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { font-family: 'Tenor Sans', sans-serif; font-size: 1.8rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 1px; line-height: 1.8; }
.footer-col h6 { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 12px; letter-spacing: 0.5px; transition: color 0.2s; display: inline-block; }
.footer-links-list a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: rgba(255,255,255,0.65); font-size: 12px; line-height: 1.6; }
.footer-contact-item i { color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 28px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.5px; }
.footer-payment-badge { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 1px; }

/* ÖDEME LOGOLARI */
.footer-payment-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 0; }
.footer-payment-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.45); text-transform: uppercase; white-space: nowrap; }
.footer-payment-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.payment-logo { height: 26px; width: 46px; border-radius: 4px; opacity: 0.8; transition: opacity 0.2s; }
.payment-logo:hover { opacity: 1; }
.payment-logo-text { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); padding: 5px 10px; border-radius: 4px; white-space: nowrap; height: 26px; display: flex; align-items: center; }

/* RESPONSIVE */
@media (max-width: 991px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .navbar-brand { font-size: 1.6rem; }
    .cart-drawer, .wishlist-drawer { width: 100vw; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 576px) {
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-payment-row { flex-direction: column; align-items: flex-start; }
}