﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --gold: #d4af37;
    --gold-hover: #f0c947;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --text-gray: #b8b8b8;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--darker-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#logoTextMode {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#logoImageMode {
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--light-gray);
    font-weight: 300;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 2px;
}

.btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

/* SECTIONS */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--dark-bg);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* PRICING */
#pricing {
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: 0.3s;
}

.price-item:hover {
    background: rgba(212, 175, 55, 0.05);
    padding-left: 2rem;
}

.price-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-amount {
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: opacity;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* TESTIMONIALS */
#testimonials {
    background: var(--dark-bg);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--darker-bg);
    padding: 2.5rem;
    border-left: 3px solid var(--gold);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-bg);
}

.author-info h4 {
    color: var(--white);
    font-size: 1.1rem;
}

.stars {
    color: var(--gold);
    margin-top: 0.3rem;
}

/* APPOINTMENT */
.appointment-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-bg);
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group.full {
    grid-column: 1 / -1;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input-wrapper input {
    width: 100%;
    padding-right: 40px;
    /* Ä°kon iÃ§in boÅŸluk */
}

.phone-status {
    position: absolute;
    right: 12px;
    font-size: 1.1rem;
}

.phone-message {
    display: block;
    margin-top: 5px;
    font-size: 0.82rem;
    min-height: 18px;
}

/* GeÃ§erli numara */
#phone.valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
}

/* GeÃ§ersiz numara */
#phone.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.phone-message.success {
    color: #28a745;
}

.phone-message.error {
    color: #dc3545;
}

.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-input-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.email-status {
    position: absolute;
    right: 12px;
    font-size: 1.1rem;
}

.email-message {
    display: block;
    margin-top: 5px;
    font-size: 0.82rem;
    min-height: 18px;
}

/* GeÃ§erli email */
#email.valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
}

/* GeÃ§ersiz email */
#email.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.email-message.success {
    color: #28a745;
}

.email-message.error {
    color: #dc3545;
}

.email-message.warning {
    color: #f0a500;
}

.quick-messages {
    margin-top: 16px;
    padding: 16px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-top: 2px solid rgba(212, 175, 55, 0.4);
}

.quick-messages-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.quick-messages-title i {
    font-size: 0.7rem;
    opacity: 0.85;
}

.quick-messages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-message-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-gray);
    padding: 7px 14px;
    border-radius: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.quick-message-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.quick-message-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-bg);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* CUSTOM DATEPICKER */
.custom-datepicker {
    position: relative;
}

.datepicker-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-gray);
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.datepicker-trigger:hover,
.custom-datepicker.open .datepicker-trigger {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.datepicker-trigger > i:first-child {
    color: var(--gold);
    font-size: 1rem;
}

#datepickerDisplay {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

#datepickerDisplay.selected {
    color: var(--white);
}

.datepicker-arrow {
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: transform 0.3s;
}

.custom-datepicker.open .datepicker-arrow {
    transform: rotate(180deg);
}

.datepicker-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 500;
    animation: dpFadeIn 0.2s ease;
}

.custom-datepicker.open .datepicker-dropdown {
    display: block;
}

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

.datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.dp-nav-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: 0.2s;
    border-radius: 2px;
}

.dp-nav-btn:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.dp-month-year {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 12px 6px;
    gap: 4px;
}

.datepicker-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 12px 14px;
    gap: 4px;
}

.dp-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border-radius: 2px;
    color: var(--light-gray);
    transition: background 0.15s, color 0.15s;
    border: 1px solid transparent;
}

.dp-day:hover:not(.disabled):not(.selected) {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

.dp-day.today:not(.selected) {
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--gold);
    font-weight: 700;
}

.dp-day.selected {
    background: var(--gold);
    color: var(--dark-bg);
    font-weight: 700;
}

.dp-day.disabled {
    color: #444;
    cursor: not-allowed;
    pointer-events: none;
}

.dp-day.closed {
    background: rgba(180, 40, 40, 0.18);
    color: #e06060;
    border-color: rgba(180, 40, 40, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

.dp-day.empty {
    pointer-events: none;
}

label {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

input,
select,
textarea {
    padding: 1rem;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group select,
.form-group input {
    width: 100%;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    min-height: 3.2rem;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* CONTACT */
#contact {
    background: var(--dark-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-details a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}

.contact-details a:hover {
    color: var(--gold);
}

.map-container {
    height: 400px;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%);
}

/* FOOTER */
footer {
    background: var(--darker-bg);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    line-height: 2;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    transition: 0.3s;
    padding: 0;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-gray);
}

.powered-by {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
}

.powered-by a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.powered-by a:hover {
    text-decoration: underline;
}

/* FLOATING BUTTONS */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
    z-index: 999;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.whatsapp-btn {
    bottom: 110px;
    background: #25d366;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        border-bottom: 2px solid var(--gold);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        bottom: 85px;
    }

    #chatWidget {
        right: 20px;
    }

    .chat-trigger {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .quick-message-btn {
        font-size: 0.75rem;
        padding: 6px 11px;
    }

    .quick-messages {
        padding: 12px;
    }
}

/* Ã–DEME MODALI */
.payment-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.payment-overlay.active {
    display: flex;
}

.payment-modal {
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.25);
    max-width: 440px;
    width: 90%;
    padding: 2.5rem 2rem;
    animation: fadeInUp 0.3s ease;
}

.payment-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 159, 110, 0.15);
    border: 2px solid #0E9F6E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
    color: #0E9F6E;
}

.payment-modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.payment-modal-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.payment-question {
    text-align: center;
    margin-bottom: 1.2rem;
}

.payment-question p {
    color: var(--light-gray);
    font-weight: 600;
    font-size: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1.5px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--darker-bg);
}

.payment-option:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.payment-option.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.07);
}

.payment-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pay-now { background: rgba(45, 108, 223, 0.15); color: #5b9fff; }
.pay-later { background: rgba(212, 175, 55, 0.12); color: var(--gold); }

.payment-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-option-info strong {
    color: var(--white);
    font-size: 0.95rem;
}

.payment-option-info span {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.payment-option-check {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.payment-option.selected .payment-option-check {
    background: var(--gold);
    border-color: var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.payment-confirm-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.payment-confirm-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

.payment-confirm-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* KART FORMU */
.card-form {
    display: none;
    margin-top: 1.2rem;
    padding: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255,255,255,0.03);
    animation: fadeInUp 0.25s ease;
}

.card-form.visible { display: block; }

.card-form-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-field-group {
    margin-bottom: 1rem;
}

.card-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.card-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.card-input:focus {
    outline: none;
    border-color: var(--gold);
}

.stripe-card-element {
    padding: 0.75rem 1rem;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: border-color 0.2s;
}

.stripe-card-element.focused {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.card-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    min-height: 1rem;
}

.card-secure-badges {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.card-secure-badges span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-secure-badges i { color: var(--gold); }

/* â”€â”€ SHOP / ÃœRÃœN SLIDER â”€â”€ */
.shop-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
    padding: 8px 4px 12px;
}

.shop-slider::-webkit-scrollbar { display: none; }

.shop-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.shop-nav:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: scale(1.05);
}

/* ÃœrÃ¼n kartÄ± */
.shop-card {
    min-width: 220px;
    max-width: 220px;
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 4px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.shop-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
    transform: translateY(-3px);
}

.shop-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
}

.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--dark-bg);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
}

.shop-card-img-wrap {
    position: relative;
}

.shop-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.shop-card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
}

.shop-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.shop-card-desc {
    font-size: 0.78rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.shop-card-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.shop-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.shop-price-old {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.shop-card-stock {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
}

.shop-card-stock.out { color: #ef4444; }
.shop-card-stock.low { color: #f59e0b; }

.shop-card-footer {
    padding: 0 1rem 1rem;
}

.shop-add-btn {
    width: 100%;
    padding: 0.65rem;
    background: transparent;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.shop-add-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--dark-bg);
}

.shop-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.shop-add-btn.in-cart {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
}

/* â”€â”€ SEPET FAB BUTONU â”€â”€ */
.cart-fab {
    position: fixed;
    bottom: 190px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 998;
}

.cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.55);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

/* â”€â”€ SEPET SIDEBAR â”€â”€ */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
}

.cart-overlay.active { display: block; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    max-width: 92vw;
    height: 100%;
    background: var(--dark-bg);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-close:hover { color: var(--white); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
}

.cart-empty i { font-size: 2.5rem; opacity: 0.3; }

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.cart-item-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--gold);
    overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 2px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.cart-qty-btn:hover { background: rgba(212, 175, 55, 0.25); }

.cart-qty-num {
    min-width: 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.cart-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.cart-total-row strong {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
}

.cart-payment-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.cart-payment-note i { color: var(--gold); margin-top: 1px; flex-shrink: 0; }

.cart-checkout-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-checkout-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

/* â”€â”€ (auth kaldÄ±rÄ±ldÄ±) â”€â”€ */

/* LOADING ANIMATION */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── KUPON ── */
.coupon-section {
    margin: 1rem 0 0.5rem;
}

.coupon-input-wrap {
    display: flex;
    gap: 0;
}

.coupon-input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: var(--darker-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-right: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: border-color 0.2s;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--gold);
}

.coupon-apply-btn {
    padding: 0 1.2rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.coupon-apply-btn:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.coupon-result {
    margin-top: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-result.success {
    background: rgba(14, 159, 110, 0.1);
    border: 1px solid rgba(14, 159, 110, 0.3);
    color: #0E9F6E;
}

.coupon-result.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.coupon-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.coupon-remove-btn:hover { opacity: 1; }

/* ── FORM İÇİ ÜRÜN SEÇİMİ ── */
.form-products {
    margin: 1.5rem 0 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: 2px solid rgba(212, 175, 55, 0.4);
    padding: 1.2rem 1.2rem 1rem;
    background: rgba(212, 175, 55, 0.03);
}

.form-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
}

.form-products-header small {
    text-transform: none;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0;
    margin-left: 4px;
}

.form-cart-badge {
    background: var(--gold);
    color: var(--dark-bg);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.form-products-slider-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-products-slider-wrap .shop-slider { flex: 1; }

.form-products-slider-wrap .shop-nav {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.form-cart-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.form-cart-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.form-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
}

.form-cart-item-name {
    flex: 1;
    color: var(--light-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-cart-item-qty { display: flex; align-items: center; gap: 5px; }

.form-qty-btn {
    width: 22px;
    height: 22px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.form-qty-btn:hover { background: rgba(212, 175, 55, 0.25); }

.form-qty-num {
    min-width: 16px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
}

.form-cart-item-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}

.form-cart-total {
    text-align: right;
    font-size: 0.85rem;
    color: var(--light-gray);
}

.form-cart-total strong { color: var(--gold); font-size: 1rem; }

/* ── CANLI DESTEK CHAT WIDGET ─────────────────────────── */
#chatWidget {
  position: fixed;
  bottom: 190px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #e8c547);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(201,162,39,0.45);
  color: #1a1a1a;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(201,162,39,0.6); }

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
}

.chat-window {
  display: none;
  flex-direction: column;
  width: 340px;
  height: 480px;
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  overflow: hidden;
  margin-bottom: 12px;
  animation: chatSlideIn 0.25s ease;
}
.chat-window.open { display: flex; }

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

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg,#c9a227,#e8c547);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1a1a1a; font-size: 1rem;
}
.chat-title { font-weight: 700; font-size: 0.95rem; color: #f0f0f0; }
.chat-status { font-size: 0.75rem; color: #4ade80; }
.chat-close {
  background: none; border: none; color: #888; cursor: pointer;
  font-size: 1.1rem; padding: 4px 6px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.chat-close:hover { color: #f0f0f0; background: #2a2a2a; }

/* İsim giriş ekranı */
.chat-name-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 14px;
}
.chat-welcome { text-align: center; }
.chat-welcome h3 { color: #f0f0f0; margin: 0 0 6px; font-size: 1.2rem; }
.chat-welcome p  { color: #888; font-size: 0.88rem; margin: 0; }

.chat-name-input {
  width: 100%;
  padding: 11px 14px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  color: #f0f0f0;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.chat-name-input:focus { border-color: #c9a227; }
.chat-name-input::placeholder { color: #555; }

.chat-start-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#c9a227,#e8c547);
  border: none;
  border-radius: 10px;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
.chat-start-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Mesajlar ekranı */
.chat-messages-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.chat-msg {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}
.chat-msg.customer {
  align-self: flex-end;
  background: linear-gradient(135deg,#c9a227,#e8c547);
  color: #1a1a1a;
  border-bottom-right-radius: 4px;
}
.chat-msg.admin {
  align-self: flex-start;
  background: #2a2a2a;
  color: #f0f0f0;
  border-bottom-left-radius: 4px;
}
.chat-msg-time {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 3px;
  display: block;
}

.chat-typing {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #888;
  font-size: 0.8rem;
}
.typing-dot {
  width: 6px; height: 6px;
  background: #888;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #2a2a2a;
  background: #141414;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 10px 13px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 22px;
  color: #f0f0f0;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: #c9a227; }
.chat-input::placeholder { color: #555; }

.chat-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg,#c9a227,#e8c547);
  border: none;
  color: #1a1a1a;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.15s;
}
.chat-send-btn:hover { opacity: 0.88; transform: scale(1.05); }

.chat-empty {
  text-align: center;
  color: #555;
  font-size: 0.85rem;
  margin: auto;
  padding: 20px;
}

.chat-ended-note {
  align-self: center;
  max-width: 90%;
  text-align: center;
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 6px 0;
}

