:root {
    --radius-main: 8px;
    --saten-gold: #b8860b;
    --saten-dark: #1a1a1a;
    --saten-silk: #f8f5f0;
    color-scheme: light;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item {
    position: relative;
}

.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 0;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.grayscale {
    filter: grayscale(100%);
}

.hover-color:hover {
    filter: grayscale(0%);
}

.transition {
    transition: all 0.5s ease;
}

/* Typography Utilities */
.tracking-tighter { letter-spacing: -0.05em !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.fw-extrabold { font-weight: 800 !important; }
.font-manrope { font-family: 'Manrope', sans-serif !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif !important;
}

/* Global Color Overrides */
.text-primary { color: var(--saten-gold) !important; }
.bg-primary { background-color: var(--saten-gold) !important; }
.btn-primary { 
    background-color: var(--saten-gold) !important; 
    border-color: var(--saten-gold) !important; 
    color: #fff !important;
}
.btn-primary:hover {
    background-color: var(--saten-dark) !important;
    border-color: var(--saten-dark) !important;
}
.btn-outline-primary {
    color: var(--saten-gold) !important;
    border-color: var(--saten-gold) !important;
}
.btn-outline-primary:hover {
    background-color: var(--saten-gold) !important;
    color: #fff !important;
}

.auth-page {
    font-family: 'Manrope', sans-serif;
    background-color: var(--saten-silk);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
}

.auth-page .login-card {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.auth-page .font-manrope {
    font-family: 'Manrope', sans-serif;
}

.app-font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Storefront üye giriş/kayıt sayfaları */
.auth-split-card {
    border-radius: 14px;
}

.auth-split-media {
    min-height: 520px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
        url("https://lh3.googleusercontent.com/aida-public/AB6AXuAZN19LZHjPAr6qmjl1VMWxy2gbstboTlJx6l_oq1DnbxHCAJqLcFp68tJZ5BluRmPBpNsc-jknoyFf5sGjt_4hr2WC4YbZyUCWZnjAEQDKNGCwDvbgy9nuJCgm_CiPd1_OT8C3cGCUfeyMr-vSylsCgrjwHiNf-iZWpSs06TRLfz5QijGYQHDxY9ffJPVXpcpbgJLHtGoBLyfB1jt_GngcfSc442TlU0zj96t3cHZEGdSL6KlMyyEHR8VFYZkrUIpyuNz1XYD9d_A");
    background-size: cover;
    background-position: center;
}

.auth-split-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.auth-split-panel {
    background: #fff;
}

.auth-form-wrap {
    width: 100%;
    max-width: 440px;
}

.auth-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.auth-topbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-topbar-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.auth-confirm-card {
    border-radius: 16px;
}

.auth-confirm-hero {
    position: relative;
    width: 96px;
    height: 96px;
    margin-left: auto;
    margin-right: auto;
}

.auth-confirm-icon {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.auth-confirm-ping {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    opacity: 0.25;
    animation: authPing 1.6s ease-out infinite;
    z-index: 1;
}

@keyframes authPing {
    0% { transform: scale(1); opacity: 0.25; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

.auth-resend-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Ürün kartı resim oranı - tüm temalar için tutarlı */
.urun-ratio,
.urun-ratio-916,
.urun-medya-916 {
    aspect-ratio: 9 / 16;
}

.urun-video-play-badge {
    width: 28px;
    height: 28px;
}

.urun-video-play-icon {
    font-size: 12px;
}

.urun-breadcrumb-xs {
    font-size: 0.75rem;
}

.urun-price-xl {
    font-size: 1.5rem;
}

.urun-label-min-100 {
    min-width: 100px;
    display: inline-block;
}

.urun-related-title {
    font-size: 1.2rem;
}

.urun-related-card {
    min-width: 190px;
    max-width: 190px;
}

.urun-related-product-title {
    font-size: 0.85rem;
}

.urun-related-product-price {
    font-size: 0.9rem;
}

/* Ürünler filtreleri */
.urunler-sticky {
    top: 100px;
    z-index: 1;
}

.urunler-filter-title {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Karşılaştır */
.compare-table th:first-child {
    width: 20%;
}

.compare-product-img {
    max-height: 200px;
}

/* New Modern Filters */
.filter-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-details summary {
    list-style: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.filter-details summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.filter-details[open] summary::after {
    transform: rotate(180deg);
}

.filter-content {
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Range Slider */
.price-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    outline: none;
    margin: 15px 0;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111827;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Color Filter Buttons */
.color-swatch-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.color-swatch-btn:hover {
    transform: scale(1.1);
    border-color: #111;
}

.color-swatch-btn.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px #111;
}

/* Pattern Pill Buttons */
.pattern-pill {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    border: 1px solid transparent;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.pattern-pill:hover, .pattern-pill.active {
    background: #fff;
    border-color: #111827;
    color: #111827;
    text-decoration: none !important;
}

.pattern-pill.is-selected {
    background: #111827;
    border-color: #ffffff;
    color: #ffffff;
}

.pattern-pill.is-selected:hover {
    background: #111827;
    border-color: #ffffff;
    color: #ffffff;
}

/* Checkbox Styling */
.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-checkbox-item:hover {
    color: #111827;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    accent-color: #111827;
}

/* WhatsApp widget (homepage) */
.wa-widget {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
}

.wa-fab {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.wa-fab i {
    font-size: 26px;
}

.wa-panel {
    width: 260px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.wa-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wa-panel__title {
    font-weight: 600;
    font-size: 14px;
}

.wa-panel__close {
    border: 0;
    background: transparent;
    color: #111;
    padding: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.wa-panel__body {
    padding: 12px;
}

.wa-panel__text {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Ürün Açıklama HTML İçerik Stili */
.urun-aciklama-icerik p {
    margin-bottom: 0.75rem;
}

.urun-aciklama-icerik h2,
.urun-aciklama-icerik h3,
.urun-aciklama-icerik h4 {
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.urun-aciklama-icerik ul,
.urun-aciklama-icerik ol {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.urun-aciklama-icerik a {
    color: var(--bs-primary);
}

.urun-aciklama-icerik p:last-child {
    margin-bottom: 0;
}
