/* === GENEL STİLLER VE CSS DEĞİŞKENLERİ (Öncekiyle aynı) === */
:root {
    --rf-primary-color: #F97316; /* Ana Turuncu */
    --rf-primary-hover-color: #EA580C; /* Koyu Turuncu */
    --rf-primary-light-color: #FFF7ED; /* Çok Açık Turuncu */
    --rf-primary-border-color: #FED7AA; /* Açık Turuncu Border */
    --rf-secondary-color: #FB923C; /* İkincil Turuncu */

    --rf-text-dark: #1f2937;
    --rf-text-medium: #4b5563;
    --rf-text-light: #9ca3af;
    --rf-bg-light: #f9fafb;
    --rf-bg-white: #ffffff;
    --rf-border-color: #e5e7eb;
    --rf-border-darker-color: #d1d5db;

    --rf-success-color: #10B981;
    --rf-error-color: #EF4444; /* Kırmızı (Tailwind Red 500) */

    --rf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --rf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --rf-border-radius-sm: 0.25rem; /* 4px */
    --rf-border-radius-md: 0.5rem; /* 8px */
    --rf-border-radius-lg: 0.75rem; /* 12px */

    --rf-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.rf-body { /* Öncekiyle aynı */
    font-family: var(--rf-font-primary); margin: 0; background-color: var(--rf-bg-light); color: var(--rf-text-medium); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.rf-container { /* Öncekiyle aynı */
    width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 15px;
}

/* === SAYFA BAŞLIĞI (Öncekiyle aynı) === */
.rf-page-header { background-color: var(--rf-primary-light-color); padding: 30px 0; margin-bottom: 25px; text-align: center; border-bottom: 1px solid var(--rf-primary-border-color); }
.rf-page-header h1 { font-size: 2rem; color: var(--rf-primary-hover-color); margin-top: 0; margin-bottom: 8px; font-weight: 700; }
.rf-page-header p { font-size: 1rem; color: var(--rf-text-medium); max-width: 650px; margin: 0 auto; }

/* === ANA İÇERİK VE BÖLÜMLER (Öncekiyle aynı) === */
.rf-main-content { padding: 20px 0; }
.rf-section { margin-bottom: 35px; background-color: var(--rf-bg-white); padding: 25px; border-radius: var(--rf-border-radius-lg); box-shadow: var(--rf-shadow-md); }
.rf-section-title { font-size: 1.5rem; color: var(--rf-text-dark); margin-top: 0; margin-bottom: 20px; font-weight: 600; border-bottom: 2px solid var(--rf-primary-color); padding-bottom: 10px; }

/* === YATAY SEÇİM KARTLARI (Öncekiyle aynı) === */
.rf-horizontal-selection-section { }
.rf-slider-container { overflow-x: auto; padding-bottom: 15px; margin-left: -10px; margin-right: -10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--rf-secondary-color) var(--rf-bg-light); }
.rf-slider-container::-webkit-scrollbar { height: 8px; }
.rf-slider-container::-webkit-scrollbar-track { background: var(--rf-bg-light); border-radius: 4px; }
.rf-slider-container::-webkit-scrollbar-thumb { background-color: var(--rf-secondary-color); border-radius: 4px; border: 2px solid var(--rf-bg-light); }
.rf-slider-container::-webkit-scrollbar-thumb:hover { background-color: var(--rf-primary-color); }
.rf-slider-track { display: flex; flex-wrap: nowrap; gap: 16px; padding-left: 10px; padding-right: 10px; }
.rf-item-card { background-color: var(--rf-bg-white); border: 1px solid var(--rf-border-color); border-radius: var(--rf-border-radius-md); overflow: hidden; box-shadow: var(--rf-shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; width: 280px; flex: 0 0 280px; }
.rf-item-card:hover { transform: translateY(-4px); box-shadow: var(--rf-shadow-md); }
.rf-item-card.rf-selected-item-card { border-color: var(--rf-primary-color); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3), var(--rf-shadow-md); }
.rf-item-card-image { width: 100%; height: 160px; background-size: cover; background-position: center; border-bottom: 1px solid var(--rf-border-color); }
.rf-item-card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.rf-item-card-title { font-size: 1.1rem; font-weight: 600; color: var(--rf-text-dark); margin-top: 0; margin-bottom: 8px; }
.rf-item-card-description { font-size: 0.875rem; color: var(--rf-text-medium); margin-bottom: 10px; line-height: 1.4; flex-grow: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.rf-item-card-price { font-size: 1rem; font-weight: 600; color: var(--rf-primary-color); margin-bottom: 12px; }
.rf-item-card-button { width: 100%; margin-top: auto; padding: 9px 15px; font-size: 0.9rem; background-color: var(--rf-secondary-color); color: var(--rf-bg-white); border: none; border-radius: var(--rf-border-radius-sm); cursor: pointer; transition: background-color 0.2s; }
.rf-item-card-button:hover { background-color: var(--rf-primary-color); }
.rf-item-card-button.rf-added-to-cart { background-color: var(--rf-success-color) !important; cursor: default; }
.rf-item-card-button.rf-added-to-cart:hover { background-color: var(--rf-success-color) !important; transform: none; }


/* === FORM DETAYLARI BÖLÜMÜ (Öncekiyle aynı) === */
.rf-form-details-section {}
.rf-grid-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rf-form-group { margin-bottom: 0; }
.rf-form-group-fullwidth { grid-column: 1 / -1; }
.rf-input, .rf-select, .rf-textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--rf-border-darker-color); border-radius: var(--rf-border-radius-md); box-sizing: border-box; font-size: 0.95rem; background-color: var(--rf-bg-white); color: var(--rf-text-dark); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.rf-input::placeholder, .rf-textarea::placeholder { color: var(--rf-text-light); }
.rf-input:focus, .rf-select:focus, .rf-textarea:focus { border-color: var(--rf-primary-color); outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25); }
/* Input Validation Styles */
.rf-input:required:invalid, .rf-textarea:required:invalid {
    border-color: var(--rf-error-color); /* Hatalı zorunlu alanlar için border */
}
.rf-input:focus:invalid { /* Odaklanıldığında hatalı ise */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); /* Hata rengiyle odak gölgesi */
}
.rf-textarea { resize: vertical; min-height: 90px; }
.rf-form-text { display: block; font-size: 0.8rem; color: var(--rf-text-medium); margin-top: 5px; }
.rf-form-group label { display: block; font-weight: 500; color: var(--rf-text-dark); margin-bottom: 6px; font-size: 0.9rem; }

/* === FATURA BİLGİLERİ BÖLÜMÜ === */
.rf-billing-info-section {} /* rf-section'dan temel stil alır */
.rf-billing-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--rf-border-color);
}
.rf-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--rf-text-medium);
}
.rf-radio-label input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--rf-primary-color);
    transform: scale(1.1);
}
.rf-billing-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--rf-primary-hover-color);
    margin-top: 0;
    margin-bottom: 15px;
}
.rf-billing-fields {
    display: none; /* Varsayılan olarak gizli */
    animation: rf-fadeIn 0.4s ease-out;
}
.rf-billing-fields.rf-fields-active {
    display: block; /* JavaScript ile gösterilecek */
}
@keyframes rf-fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === SEPET ÖZETİ BÖLÜMÜ (Öncekiyle aynı) === */
.rf-cart-summary-section {}

#rf-cart-items-summary-container { 
  margin-bottom: 20px; 
  border: 1px dashed #ffa500; /* Canlı turuncu */
  padding: 15px; 
  border-radius: var(--rf-border-radius-md); 
  min-height: 50px; 
  background-color: #fff8f0; /* Hafif sıcak arka plan */
}

.rf-empty-cart-text { 
  color: #ff7f50; /* Canlı mercan */
  text-align: center; 
  font-style: italic; 
}

.rf-cart-summary-item { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px 0; 
  border-bottom: 1px solid #ffbf7f; /* Canlı turuncu ton */
  font-size: 1rem; 
  color: #111111; /* Koyu gri */
    font-weight: 900;
}

.rf-cart-summary-item:last-child { 
  border-bottom: none; 
}

.rf-cart-summary-item-name { 
  color: #111111; /* Daha koyu */
  flex-grow: 1; 
  font-weight: 900;
}

.rf-cart-summary-item-price { 
  font-weight: 900; 
  color: #e04e00; /* Parlak turuncu-kırmızı */
  margin-left: 15px; 
  white-space: nowrap;
}

.rf-cart-remove-item-button { 
  background-color: transparent; 
  color: #ff2400; /* Canlı kırmızı */
  border: none; 
  padding: 5px 8px; 
  margin-left: 10px; 
  cursor: pointer; 
  font-weight: bold; 
  font-size: 1.1rem; 
  line-height: 1; 
  border-radius: var(--rf-border-radius-sm); 
  transition: background-color 0.3s ease;
}

.rf-cart-remove-item-button:hover { 
  background-color: rgba(255, 36, 0, 0.15); /* Canlı kırmızı hover */
}

.rf-discount-section { 
  margin-top: 20px; 
  display: flex; 
  gap: 10px; 
  align-items: center; 
  margin-bottom: 15px;
}

.rf-discount-section .rf-input { 
  flex-grow: 1; 
  margin-bottom: 0; 
  border: 2px solid #ff7f50; /* Canlı mercan */
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.rf-discount-section .rf-input:focus {
  border-color: #ff4500; /* Parlak turuncu-kırmızı focus */
  outline: none;
}

.rf-apply-coupon-button { 
  background-color: #ff7f50; /* Canlı mercan */
  color: #fff; 
  padding: 10px 16px; 
  font-size: 1rem; 
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.6);
}

.rf-apply-coupon-button:hover { 
  background-color: #ff4500; /* Parlak turuncu-kırmızı hover */
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.8);
}

.rf-cart-total { 
  margin-top: 15px; 
  font-size: 1.35rem; 
  font-weight: 700; 
  text-align: right; 
  color: #333333; /* Koyu gri */
}

.rf-cart-total span { 
  color: #ff4500; /* Parlak turuncu-kırmızı */
  font-size: 1.5rem; 
  font-weight: 800;
}

/* === GÖNDERİM BUTONU (Öncekiyle aynı) === */
.rf-submit-wrapper { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rf-border-color); }
.rf-button-large { background-color: #ff7f50; padding: 12px 30px; font-size: 1.1rem; }
.rf-button-large:hover { 
  background-color: #ff4500; /* Parlak turuncu-kırmızı hover */
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.8);
}

/* === MODAL STİLLERİ (Öncekiyle aynı) === */
.rf-modal { display: none; position: fixed; z-index: 1050; left: 0; top: 0; width: 100%; height: 100%; overflow-y: auto; background-color: rgba(31, 41, 55, 0.85); padding: 30px 15px; box-sizing: border-box; }
.rf-modal-content { background-color: var(--rf-bg-white); margin: 0 auto; padding: 25px 30px; border: none; width: 100%; max-width: 580px; border-radius: var(--rf-border-radius-lg); position: relative; box-shadow: var(--rf-shadow-lg); animation: rf-modalOpen 0.3s ease-out; }
.rf-modal-close { color: var(--rf-text-light); position: absolute; top: 15px; right: 20px; font-size: 2rem; font-weight: bold; line-height: 1; transition: color 0.2s; }
.rf-modal-close:hover, .rf-modal-close:focus { color: var(--rf-text-dark); text-decoration: none; cursor: pointer; }
.rf-modal-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--rf-border-radius-md); margin-bottom: 20px; border: 1px solid var(--rf-border-color); }
.rf-modal-content h2#rf-modal-item-title { font-size: 1.6rem; margin-top: 0; margin-bottom: 15px; color: var(--rf-text-dark); font-weight: 600; }
.rf-modal-description-text { font-size: 0.95rem; color: var(--rf-text-medium); margin-bottom: 18px; line-height: 1.7; }
#rf-modal-item-includes { margin-bottom: 18px; font-size: 0.9rem; }
#rf-modal-item-includes h4 { font-size: 1rem; font-weight: 600; color: var(--rf-text-dark); margin-bottom: 8px; }
#rf-modal-item-includes ul { list-style: disc; padding-left: 20px; margin: 0; color: var(--rf-text-medium); }
#rf-modal-item-includes ul li { margin-bottom: 5px; }
.rf-modal-price-text { font-size: 1.4rem; margin-bottom: 20px; font-weight: 600; color: var(--rf-primary-color); }
.rf-modal-price-text span { font-weight: 700; }
#rf-modal-add-to-cart-button { width: 100%; }

/* === FOOTER (Öncekiyle aynı) === */
.rf-page-footer { background-color: var(--rf-text-dark); color: var(--rf-text-light); padding: 25px 0; margin-top: 40px; text-align: center; font-size: 0.9rem; }

/* === RESPONSIVE AYARLAMALAR (Öncekiyle aynı, gerekirse güncellenir) === */
@media (max-width: 992px) {
    .rf-grid-form-fields { grid-template-columns: 1fr; }
    .rf-form-group-fullwidth { grid-column: auto; }
    .rf-billing-info-section .rf-grid-form-fields { grid-template-columns: 1fr; } /* Fatura için de tek sütun */
}
@media (max-width: 768px) {
    .rf-container { width: 95%; padding: 0 10px; }
    .rf-page-header { padding: 20px 0; }
    .rf-page-header h1 { font-size: 1.75rem; }
    .rf-page-header p { font-size: 0.9rem; }
    .rf-section { padding: 20px; margin-bottom: 25px; }
    .rf-section-title { font-size: 1.25rem; }
    .rf-item-card { width: 240px; flex: 0 0 240px; }
    .rf-slider-container { margin-left: -5px; margin-right: -5px; }
    .rf-slider-track { padding-left: 5px; padding-right: 5px; }
    .rf-modal-content { padding: 20px; max-width: 90%; }
    .rf-modal-content h2#rf-modal-item-title { font-size: 1.4rem; }
    .rf-billing-type-selector { flex-direction: column; gap: 10px; align-items: flex-start;}
}

.rf-time-slots { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 10px;
    color: #ff7f50;
}
.rf-time-slot-btn { 
    padding: 10px 15px; 
    border: 1px solid #ccc; 
    border-radius: 5px;
    background: #ff7f50; 
    cursor: pointer; 
    transition: all 0.2s ease-in-out;
}
.rf-time-slot-btn:hover { 
  background-color: #ff4500; /* Parlak turuncu-kırmızı hover */
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.8);
}
.rf-time-slot-btn:disabled { 
    background: #f1f1f1; 
    color: #aaa; 
    cursor: not-allowed;
    border-color: #e0e0e0;
}
.rf-time-slot-btn.selected { 
    border-color: #007bff; 
    background-color: #007bff; 
    color: white; 
    font-weight: bold;
}

/* ============================================= */
/* === YATAY KAYAN REKLAM BANDI STİLLERİ === */
/* ============================================= */

/* Ana Kapsayıcı Div */
.scrolling-text-container {
    background-color: #ff4500; /* Arka plan rengi (Turuncu-Kırmızı) */
    color: #ffffff;           /* Yazı rengi */
    padding: 12px 0;          /* Dikey iç boşluk */
    overflow: hidden;         /* Dışarı taşan yazıları gizle (en önemli kısım) */
    white-space: nowrap;      /* Yazıların alt satıra inmesini engelle */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Hafif bir gölge */
    font-size: 16px;          /* Yazı boyutu */
    font-weight: bold;
}

/* Kayan Yazıyı Tutan İç Div */
.scrolling-text {
    display: inline-block; /* Tek bir satır gibi davranmasını sağlar */
    padding-left: 100%;    /* Animasyonun ekranın sağından başlamasını sağlar */
    color: #ffffff;  
    /* Animasyon tanımı */
    animation: scroll-left 25s linear infinite;
}

/* Her bir reklam metni arasındaki boşluk */
.scrolling-text span {
    color: #ffffff;  
    margin-right: 50px; /* Metinler arası boşluk */
}

/* Farenin üzerine gelindiğinde animasyonu durdur (isteğe bağlı) */
.scrolling-text-container:hover .scrolling-text {
    animation-play-state: paused;
    color: #ffffff;  
}


/* Kayan Yazı Animasyonu (@keyframes) */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Genişliğinin %100'ü kadar sola kaydır */
    }
}

/* === Iyzico Overlay Stilleri === */
.iyzipay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* Diğer tüm elementlerin üzerinde olmasını sağlar */
    display: none; /* Iyzico tarafından görünür hale getirilecektir */
}