/* ==========================================================================
   0. FONT GARANTİSİ & ROOT (Değişkenler)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap");

:root {
  --bg-dark: #442430;
  --bg-light: #a96f7f;
  --bg-title: #4d1d32;
  --bg-search: #6d4556;
  --card-bg: #2b1921;
  --accent: #d4a373;
  --text-white: #ffffff;
  --text-gray: #b0a2a7;
  --black: #000000;
  --heading-spacing: 6px;
}

/* ==========================================================================
   1. TEMEL SIFIRLAMA & TİPOGRAFİ
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body,
p,
a,
span,
button,
input,
div,
li,
select,
textarea {
  font-family: "Montserrat", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  color: var(--text-white);
  font-weight: 400;
  font-size: 20px;
}

h1,
h2 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  font-size: 48px;
  padding-top: 48px;
  color: var(--text-white);
  letter-spacing: var(--heading-spacing) !important;
  text-transform: uppercase;
}

h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important;
  color: var(--text-white);
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5%;
}
.page-header {
  background-color: var(--bg-title);
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ==========================================================================
   2. ÜST BAR & HEADER (Navigasyon)
   ========================================================================== */
.top-bar {
  background: var(--black);
  color: var(--text-white);
  text-align: center;
  padding: 10px 0;
  font-size: 0.75rem;
  letter-spacing: 2px;
  position: relative;
}
.close-top-bar {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
}

header {
  padding: 25px 0;
  background-color: var(--bg-dark);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.5px;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--accent);
}

.search-bar {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  transition: all 0.3s ease !important;
  width: 300px !important;
}
.search-bar:focus-within {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) !important;
  width: 350px !important;
}
.search-bar img {
  width: 18px !important;
  opacity: 0.6 !important;
  margin-right: 12px !important;
  transition: all 0.3s ease !important;
}
.search-bar:focus-within img {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}
.search-bar input {
  background: none !important;
  border: none !important;
  font-size: 0.9rem !important;
  outline: none !important;
  width: 100% !important;
}
.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
  transition: opacity 0.3s ease !important;
}
.search-bar:focus-within input::placeholder {
  opacity: 0.7 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.nav-icon:hover {
  transform: translateY(-2px);
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--accent);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--bg-dark);
}
.hamburger {
  display: none;
}

/* Arama Dropdown */
.search-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: 100% !important;
  max-height: 400px !important;
  background: #1a1a1a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  overflow-y: auto !important;
  display: none;
  z-index: 9999 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.search-dropdown.active {
  display: block !important;
  animation: fadeInDown 0.3s ease !important;
}
.search-result-item {
  display: flex !important;
  align-items: center !important;
  padding: 12px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.search-result-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}
.search-result-item img {
  width: 45px !important;
  height: 45px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  margin-right: 15px !important;
}
.search-result-info h4 {
  font-size: 0.9rem !important;
  margin: 0 !important;
}
.search-result-info span {
  font-size: 0.8rem !important;
  color: var(--accent) !important;
}

/* ==========================================================================
   3. BUTONLAR
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-add-to-cart {
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--text-white);
  padding: 16px 60px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  background: #e0e0e0;
  color: var(--black);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-white);
  padding: 12px 35px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.card .btn-secondary.btn-add-to-cart {
    background: transparent !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(212, 175, 55, 0.6) !important; /* Altın çerçeve */
    padding: 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.card .btn-secondary.btn-add-to-cart:hover {
    background: var(--accent) !important;
    color: var(--black) !important;
    border-color: var(--accent) !important;
}

.btn-primary.checkout-btn {
  width: 100% !important;
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 16px !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}
.btn-primary.checkout-btn:hover {
  background-color: #e0e0e0 !important;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1) !important;
}

.btn-secondary.continue-shopping {
  width: 100% !important;
  padding: 14px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
.btn-secondary.continue-shopping:hover {
  border-color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.btn-track {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  padding: 16px 60px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* ==========================================================================
   4. GENEL BÖLÜMLER, KARTLAR & HERO
   ========================================================================== */
.hero {
  height: 75vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('/assets/images/banners/hero-background.png') center/cover;
}
.hero-signature-container {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 1100px;
  z-index: 2;
  pointer-events: none;
}
.hero-signature-svg {
  width: 60%;
  height: auto;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  width: 100%;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 30px;
}

section {
  padding: 50px 0;
  text-align: center;
  background-color: var(--bg-dark);
}
section h2 {
  font-size: 48px !important;
  letter-spacing: 6px;
  margin-bottom: 70px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
}
.custom-header-bg {
  width: 100%;
  max-width: 100% !important;
}

.card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 15px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  height: 100% !important;
  animation: fadeInSlide 0.4s ease forwards !important;
}
.card:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}
.card img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin-bottom: 15px !important;
}
.card-info {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.card h3 {
  font-size: 1.2rem !important;
  margin-bottom: 5px !important;
  color: var(--text-white) !important;
}
.card .category {
  font-size: 0.85rem !important;
  color: var(--text-gray) !important;
  margin-bottom: 10px !important;
}
.card .price {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  margin-bottom: 20px !important;
}
.card-image-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.card-image-link img {
  transition: transform 0.5s ease;
}
.card-image-link:hover img {
  transform: scale(1.05);
}
.card a,
.card-info a {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}
.card-info a:hover h3 {
  color: var(--accent);
  transition: color 0.3s ease;
}

.koku-notasi {
  color: var(--text-gray) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  margin-bottom: 12px;
}
.badge-yeni,
.product-badge {
  position: absolute;
  top: 15px;
  background-color: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.badge-yeni {
  right: 15px;
}
.product-badge {
  left: 20px;
  top: 20px;
  padding: 8px 15px;
  font-size: 0.7rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding-bottom: 48px;
}
.t-card {
  background: #311b24;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease;
}
.t-card:hover {
  transform: translateY(-5px);
}
.stars {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.t-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.t-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.7rem !important; /* Daha butik ve zarif bir boyuta çektik */
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-gray);
  opacity: 0.8;
}
.breadcrumb a,
.breadcrumb span {
  font-size: inherit !important; 
}
.breadcrumb a {
  color: var(--text-gray) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  font-weight: 500;
}
.breadcrumb a:hover {
  color: var(--accent) !important;
}
.breadcrumb span,
.breadcrumb::after {
  margin: 0 10px;
  opacity: 0.5;
}

.breadcrumb span:last-child {
  color: var(--text-white);
  font-weight: 700;
  opacity: 1;
}

.shipping-info {
  padding-bottom: 20px;
  font-size: large;
  font-weight: 600;
  color: var(--text-gray);
}



/* ==========================================================================
   5. ÜRÜN DETAY SAYFASI
   ========================================================================== */
.product-flex {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}
.product-gallery {
  flex: 1.3;
  display: flex;
  gap: 30px;
}
.thumbnail-column {
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.thumbnail-column img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
  border: 2px solid transparent;
}
.thumbnail-column img.active,
.thumbnail-column img:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.05);
}
.main-image {
  flex-grow: 1;
  position: relative;
  background-color: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
  max-height: 600px;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s ease;
}

.product-info {
  flex: 1;
  text-align: left;
}
.product-info h1 {
  font-size: 3.5rem !important;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: none;
}
.product-description-short {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 25px;
}
.product-price {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 35px;
}
.product-attributes {
  margin-bottom: 50px;
}
.product-attributes p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.product-attributes span {
  color: var(--text-gray);
  font-weight: 600;
  margin-right: 15px;
}

.purchase-group {
    display: flex;
    gap: 15px; /* Adet seçici ve buton arası boşluk */
    margin-top: 30px;
    align-items: center;
}
.quantity-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* Koyu arka plan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Premium yuvarlatılmış köşeler */
    height: 54px; /* Buton yüksekliğiyle tam eşit */
    overflow: hidden;
    width: 140px;
}

.quantity-selector .qty-btn {
    background: transparent;
    border: none;
    color: var(--accent); /* Altın rengi detaylar */
    font-size: 1.2rem;
    width: 45px;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector .qty-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.quantity-selector input#productQty {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    width: 50px;
    height: 100%;
    outline: none;
    -moz-appearance: textfield; /* Firefox oklarını gizle */
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart {
    flex: 1; /* Butonun kalan alanı kaplamasını sağlar */
    height: 54px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.qty-btn {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 1.1rem !important;
}
.qty-btn:hover {
  background: #3a3a3a !important;
}
.qty-btn:active {
  background: #4a4a4a !important;
}

.qty-input {
  width: 30px !important;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: bold !important;
  padding: 0 !important;
  appearance: none;
  -moz-appearance: textfield;
  -webkit-appearance: none;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-selector {
  display: flex !important;
  align-items: center !important;
  background: #2a2a2a !important;
  border: 1px solid #444 !important;
  border-radius: 8px !important;
  height: 36px !important;
  width: 100px !important;
  overflow: hidden !important;
}

/* Mum Bakımı */
.mum-bakimi-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.mum-bakimi-text {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 50px;
  line-height: 1.8;
}
.mum-bakimi-images {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.bakim-item {
  flex: 1;
  text-align: center;
}
.bakim-item img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}
.bakim-item span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   6. FORMLAR (Auth, Checkout)
   ========================================================================== */
.auth-section {
  padding: 80px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.auth-card {
  background: var(--card-bg);
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.auth-subtitle {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.auth-form {
  text-align: left;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 8px;
  color: white;
  outline: none;
  transition: 0.3s;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
textarea:focus {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group textarea:-webkit-autofill {
  -webkit-text-fill-color: white !important;
  -webkit-box-shadow: 0 0 0px 1000px #3a222c inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.form-group select option {
  background-color: #111;
  color: #fff;
  padding: 10px;
  font-size: 16px;
}

.auth-footer {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--text-gray);
}
.auth-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* Checkout Layout */
.checkout-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.checkout-forms {
  flex: 2;
}
.order-summary {
  flex: 1;
  position: sticky;
  top: 40px;
}
.summary-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.item-info {
  display: flex;
  gap: 15px;
  align-items: center;
}
.item-info img {
  border-radius: 8px;
  object-fit: cover;
}
.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text-gray);
}
.summary-row.total {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   7. PROFİL SAYFASI
   ========================================================================== */
.profile-page main {
  padding: 50px 20px;
  min-height: 80vh;
}
.profile-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.profile-section {
    margin-bottom: 50px; /* Kuralınız: Max 50px */
    scroll-margin-top: 100px; /* Menüden tıklayınca başlığın header altında ezilmemesi için */
}

.profile-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 30px 0; /* 40px'den 30px'e düşürdük, daha derli toplu oldu */
}

.profile-sidebar {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 15px;
    position: sticky !important; 
    top: 100px !important; /* Header'ın altında kalmaması için bırakılan pay */
    height: fit-content; /* İçeriği kadar yer kaplaması için şart */
}
.user-brief {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.user-brief h3 {
  font-family: "Playfair Display", serif;
  margin: 15px 0 5px;
}
.user-brief p {
  font-size: 0.8rem;
  color: #888;
}

.avatar {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  font-weight: bold;
}

.profile-menu {
  list-style: none;
  padding: 0;
  text-align: left;
}
.profile-menu li {
  margin-bottom: 10px;
}
.profile-menu a,
.profile-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: 0.3s;
}
.profile-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-weight: 600;
  opacity: 1;
}
.profile-menu li.active a {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    opacity: 1;
}

.logout-item {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.logout-item a,
.profile-menu li.logout a {
  color: #ff4d4d !important;
  opacity: 1 !important;
  font-weight: 600;
  background: transparent !important;
}

.profile-content {
  flex: 3;
}
.profile-content h2 {
  padding-top: 0 !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
  display: block !important;
  font-family: "Playfair Display", serif;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
}
.profile-content .profile-section {
    padding-top: 0px !important; /* 50px'den 20px'e düşürerek yukarı taşıdık */
    margin-bottom: 25px;          /* Bölümler arası 50px kuralını koruduk */
}

.info-display {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}
.info-label {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.order-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}
.order-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.order-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.order-label {
  color: var(--text-gray);
  margin-right: 8px;
}
.order-value {
  color: var(--text-white);
  font-weight: 600;
}
.order-body { 
    padding: 25px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.order-details h4 { 
    margin-bottom: 8px; 
    font-size: 1.1rem; 
    color: var(--text-white);
    font-weight: 600;

    /* JİLET DOKUNUŞ: Tek satırda tut ve sığmayana üç nokta koy */
    white-space: nowrap;      /* Metni alt satıra geçirme */
    overflow: hidden;         /* Taşan kısmı gizle */
    text-overflow: ellipsis;  /* Taşan kısma '...' koy */
    max-width: 90%;         /* Butona kadar olan mesafeyi koru */
}
.order-details p {
  font-size: 0.85rem;
  color: var(--text-gray);
}
.order-details {
    flex: 1; /* SİHİRLİ KOD: Kalan tüm boşluğu kaplayıp butonu en sağa yaslar */
    text-align: left;
}
.order-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    align-items: center;
}
.order-btn-wrapper {
    margin-left: auto; /* Garanti olsun diye butonu sağa iter */
}
.order-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}
.status-shipping {
  background: #1a4d1a;
  color: #fff;
}
.status-preparing {
  background: #4d3d1a;
  color: #fff;
}
.status-new { 
    background-color: var(--accent) !important; /* Arka planı altın rengi yaptık */
    color: var(--black) !important;            /* Yazıyı okunabilirlik için siyah yaptık */
    font-weight: 800 !important;               /* Yazıyı daha belirgin kıldık */
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.3); /* Hafif bir ışıltı ekledik */
}

/* ==========================================================================
   8. MODALS & DRAWER (Sepet / Popup / Takip)
   ========================================================================== */
.cart-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px);
  z-index: 999999 !important;
  display: none;
}
.cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 400px !important;
  height: 100vh !important;
  background-color: #1a1a1a !important;
  z-index: 1000000 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
  padding: 0 !important;
}
.cart-drawer.active {
  right: 0 !important;
}

.cart-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 20px 25px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: #1a1a1a !important;
  min-height: 70px !important;
}
.cart-header h3 {
  margin: 0 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  flex: 1 !important;
}

.cart-items {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 20px !important;
}
.cart-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 15px !important;
  padding: 15px 0 !important;
}
.cart-item img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

.item-details {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}
.item-details h4 {
  margin: 0 0 5px 0 !important;
  font-size: 1.1rem !important;
  color: #fff !important;
}
.item-details p {
  margin: 0 0 10px 0 !important;
  font-size: 0.85rem !important;
  color: #aaa !important;
}
.item-price-qty {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 10px !important;
  width: 100% !important;
}

.qty-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #333 !important;
  border-radius: 20px !important;
  padding: 5px 10px !important;
  width: 90px !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.qty-controls span {
  font-size: 14px !important;
  font-weight: 600 !important;
  min-width: 20px !important;
  text-align: center !important;
}
.qty-controls button {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 18px !important;
  cursor: pointer !important;
  width: 25px !important;
  height: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.cart-footer {
  padding: 25px !important;
  background: #222 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.subtotal {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  font-size: 1.1rem !important;
}

.close-cart {
  position: relative !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 30px !important;
  height: 30px !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.close-cart span {
  position: absolute !important;
  width: 20px !important;
  height: 2px !important;
  background-color: var(--accent) !important;
  border-radius: 2px !important;
  transition: 0.3s;
}
.close-cart span:nth-child(1) {
  transform: rotate(45deg) !important;
}
.close-cart span:nth-child(2) {
  transform: rotate(-45deg) !important;
}
.close-cart:hover span {
  background-color: #fff !important;
}

/* Modals (Profil ve Takip Popup) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.modal-content {
  background-color: #1a1a1a;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid var(--accent);
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  position: relative;
  color: white;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}
.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}
.close-modal:hover {
  color: #fff;
}

.stepper {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
}
.stepper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.step {
  z-index: 2;
  text-align: center;
  width: 25%;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #444;
}
.step.active .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  color: #000;
  font-weight: bold;
}
.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.5;
}
.step.active .step-label {
  opacity: 1;
  color: var(--accent);
}

/* Sipariş Takip Form */
.track-container {
  max-width: 500px;
  margin: 80px auto;
  padding: 50px 40px;
  background: #111;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.track-input-group {
  margin-bottom: 25px;
  text-align: left;
}
.track-input-group label {
  display: block;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}
.track-input-group input {
  width: 100%;
  padding: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.track-input-group input:focus {
  border-color: var(--accent);
  background: #222;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
#orderResult {
  display: none;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #222;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
  background-color: var(--black) !important;
  padding: 80px 0 40px 0;
  margin-top: 0 !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  text-align: left;
}
.footer-col h4 {
  margin-bottom: 25px;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.footer-col ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: 0.3s;
}
.footer-col ul li a:hover {
  color: var(--text-white);
}
.payment-icons {
  margin-top: 50px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  opacity: 0.8;
}

/* ==========================================================================
   10. ANIMATIONS
   ========================================================================== */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   11. MEDIA QUERIES (Mobil Uyumluluk)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .product-flex {
    flex-direction: column;
    gap: 50px;
  }
  .product-gallery {
    flex-direction: column-reverse;
    gap: 15px;
  }
  .thumbnail-column {
    flex-direction: row;
    width: 100%;
  }
  .product-info h1 {
    font-size: 2.5rem !important;
  }
  .purchase-group {
    flex-direction: column;
    gap: 15px;
  }
  .add-to-cart {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checkout-flex {
    flex-direction: column;
  }
  .order-summary {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {

  .legal-content {
        padding: 30px 20px;
    }

  .profile-layout {
    flex-direction: column;
  }
  .search-bar {
    width: 100% !important;
    margin: 15px 0 !important;
  }
  .search-bar:focus-within {
    width: 100% !important;
  }
  .item-price-qty {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 15px !important;
  }
  .cart-drawer {
    width: 100% !important;
  }

  /* Hamburger Menü Düzeni (Kesinlikle Korundu) */
  .hamburger {
    display: block !important;
    position: relative !important;
    width: 30px !important;
    height: 24px !important;
    z-index: 999999 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 0 0 15px !important;
    flex-shrink: 0 !important;
    outline: none !important;
  }
  .hamburger span {
    display: block !important;
    position: absolute !important;
    width: 30px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    left: 0 !important;
    transition: 0.3s ease-in-out !important;
    font-size: 0 !important;
  }
  .hamburger span:nth-child(1) {
    top: 0px !important;
  }
  .hamburger span:nth-child(2) {
    top: 11px !important;
  }
  .hamburger span:nth-child(3) {
    top: 22px !important;
  }
  .hamburger.is-active span:nth-child(1) {
    top: 11px !important;
    transform: rotate(45deg) !important;
    background-color: var(--accent) !important;
  }
  .hamburger.is-active span:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(15px) !important;
  }
  .hamburger.is-active span:nth-child(3) {
    top: 11px !important;
    transform: rotate(-45deg) !important;
    background-color: var(--accent) !important;
  }

  .nav-links {
    gap: 10px !important; /* Birbirine çok yapışmaması için hafif nefes payı */
    position: fixed !important;
    top: 0 !important;
    right: -100vw !important;
    width: 50% !important; /* Daha tok durması için bir tık genişlettik */
    height: 100vh !important;
    background-color: var(--bg-dark) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important; 
    padding-bottom: 80px !important; /* En alttan makul bir boşluk bırakır */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important; /* Çok ince şık bir çizgi */
    z-index: 99990 !important;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Daha akıcı premium geçiş */
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .nav-links.mobile-active {
    right: 0 !important;
  }
  .nav-links li {
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
  }
  .nav-links li a {
    font-size: 1.1rem !important; /* Okunabilirlik için bir tık büyütüldü */
    letter-spacing: 1px !important;
    font-weight: 400 !important;
    color: var(--text-white) !important;
    display: block !important; /* Tıklama alanını genişletir */
    padding: 15px 20px !important;
  }

  html body h1,
  html body h2,
  html body .koleksiyon-baslik,
  html body section h2,
  html body .hero-content h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    letter-spacing: 2px !important;
    padding-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    word-wrap: break-word !important;
  }
  html body .split-bg-section h2 {
    font-size: 22px !important;
    padding: 40px 10px !important;
    background: transparent !important;
  }

  html body .btn-primary,
  html body .btn-secondary,
  html body .add-to-cart,
  html body button:not(.qty-btn) {
    width: 100% !important;
    display: block !important;
    padding: 15px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    margin: 10px 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }
  html body .hero-subtitle {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }

  html body nav {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding-bottom: 15px !important;
  }
  html body .logo {
    order: 1 !important;
  }
  html body .nav-actions {
    order: 2 !important;
  }
  html body .search-bar {
    order: 3 !important;
    width: 100% !important;
    margin-top: 15px !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    box-sizing: border-box !important;
    display: flex !important;
  }
  html body .search-bar input {
    width: 100% !important;
    font-size: 14px !important;
  }

  /* ==========================================================================
     CONTACT & ABOUT RESPONSIVE DOKUNUŞLARI
     ========================================================================== */
  
  /* İletişim Sayfası */
  .contact-layout {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .contact-info {
    text-align: center !important;
  }
  .contact-info h2 {
    text-align: center !important;
    font-size: 2rem !important;
  }
  .name-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Hakkımızda Sayfası */
  .about-hero h1 {
    font-size: 2.2rem !important;
    padding-top: 0 !important;
  }
  .about-flex {
    flex-direction: column !important;
    gap: 40px !important;
    text-align: center !important;
  }
  .about-flex h2 {
    text-align: center !important;
    font-size: 2rem !important;
  }
  .why-mumie-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Ortak Alanlar */
  main.container {
    padding: 60px 20px !important;
  }
}

/* ==========================================================================
   13. & 14. ADMIN PANEL (KAPSÜLLENMİŞ - ÇAKIŞMA KORUMALI)
   ========================================================================== */

/* Giriş Ekranı (Zaten ID ile korumalı) */
#login-screen { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: var(--bg-dark); 
    display: none; align-items: center; justify-content: center; z-index: 100000; 
}
#login-screen .login-box { 
    background: var(--card-bg); padding: 40px; border-radius: 15px; 
    border: 1px solid rgba(255, 255, 255, 0.1); width: 350px; text-align: center; 
}

/* Ana Panel ve İçerikleri (SADECE #admin-panel İÇİNDE GEÇERLİDİR) */
#admin-panel { 
    display: none; background: #0f0f0f; min-height: 100vh; color: var(--text-white); 
}
#admin-panel .admin-wrapper { display: flex; min-height: 100vh; }
#admin-panel .sidebar { 
    width: 260px; background: var(--black); padding: 30px 20px; 
    border-right: 1px solid rgba(255,255,255,0.05); position: fixed; height: 100vh; 
}
#admin-panel .nav-item { 
    padding: 15px; margin-bottom: 10px; cursor: pointer; border-radius: 8px; 
    transition: 0.3s; color: rgba(255,255,255,0.6); display: flex; align-items: center; 
    gap: 10px; font-weight: 500; font-size: 0.9rem;
}
#admin-panel .nav-item:hover, 
#admin-panel .nav-item.active { background: rgba(212, 175, 55, 0.1); color: var(--accent); }
#admin-panel .main-content { margin-left: 260px; flex: 1; padding: 40px; height: 100vh; overflow-y: auto; }
#admin-panel .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
#admin-panel .stat-box { 
    background: linear-gradient(145deg, var(--card-bg), #1a0f14); padding: 20px; 
    border-radius: 12px; border-left: 3px solid var(--accent); 
}
#admin-panel .admin-card { 
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); 
    border-radius: 15px; padding: 25px; margin-bottom: 25px; text-align: left; 
}
#admin-panel .admin-card h3 { margin-bottom: 20px; color: var(--accent); font-size: 1.2rem; }

/* --- YENİ GÖRSEL YÜKLEME ALANLARI (UI DÜZELTME) --- */
/* Masaüstünde 3 sütun düzenini koruyoruz */
#admin-panel .admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 15px; }

#admin-panel .file-upload-wrapper {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.1); /* Jilet gibi dashed kenarlık */
    border-radius: 8px;
    min-height: 120px; /* UI Düzeltme: Yüksekliği artırıp içeriği rahatlattık */
    display: flex;
    flex-direction: column;
    justify-content: center; /* UI Düzeltme: İçeriği dikeyde ortaladık */
    align-items: center; /* UI Düzeltme: İçeriği yatayda ortaladık */
    text-align: center; /* UI Düzeltme: Metni ortaladık */
    transition: all 0.3s ease;
    cursor: pointer;
}
#admin-panel .file-upload-wrapper:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.05); }

#admin-panel .file-upload-wrapper input[type="file"] { 
    color: var(--text-gray); font-size: 0.8rem; width: 100%; cursor: pointer; 
    text-align: center; /* UI Düzeltme: Metni ortaladık */
    display: inline-block; /* UI Düzeltme: Ortalamak için */
}
#admin-panel .file-upload-wrapper label {
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--text-white);
    font-weight: 500;
}
#admin-panel .file-upload-wrapper small { 
    display: block; margin-top: auto; /* UI Düzeltme: Kutunun alt kısmına hizala */
    color: rgba(255, 255, 255, 0.4); font-style: italic; font-size: 0.7rem; 
    width: 100%; /* UI Düzeltme: Metnin kutu içinde kalmasını sağla */
    overflow: hidden; /* Taşmayı önle */
    text-overflow: ellipsis; /* Çok uzunsa üç nokta koy */
    white-space: nowrap; /* Tek satırda tut */
}

/* Giriş Formu ve Diğer Admin Öğeleri */
#admin-panel .grid-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
#admin-panel .full-width { grid-column: span 3; }
#admin-panel .checkbox-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; grid-column: span 3; margin-top: 10px; }
#admin-panel .status-card { 
    background: rgba(255,255,255,0.02); padding: 15px 20px; border-radius: 10px; 
    display: flex; align-items: center; justify-content: space-between; cursor: pointer; 
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; font-size: 0.85rem;
}
#admin-panel .status-card:hover { border-color: var(--accent); background: rgba(212, 175, 55, 0.05); }
#admin-panel .status-card input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
#admin-panel .admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
#admin-panel .admin-table th { text-align: left; color: rgba(255,255,255,0.4); font-size: 0.75rem; padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
#admin-panel .admin-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem; }
#admin-panel .btn-action { border: none; color: var(--black); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.7rem; font-weight: 600; }

/* Admin Modal */
#orderModal.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.85); display: none; align-items: center; 
    justify-content: center; z-index: 100001; 
}
#orderModal .modal-content { 
    background: #1a1a1a; width: 90%; max-width: 600px; border-radius: 15px; 
    border: 1px solid var(--accent); padding: 30px; position: relative; 
    max-height: 90vh; overflow-y: auto;
}
#orderModal .modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 20px; }
#orderModal .detail-row { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
#orderModal .detail-row label { display: block; font-size: 0.7rem; color: var(--accent); text-transform: uppercase; }
#orderModal .close-btn { font-size: 2rem; color: #666; cursor: pointer; transition: 0.3s; }
#orderModal .close-btn:hover { color: var(--accent); }

/* Admin Panel Mobil Responsive Ayarları */
@media (max-width: 992px) {
    #admin-panel .admin-wrapper { flex-direction: column; }
    #admin-panel .sidebar { 
        position: relative; width: 100%; height: auto; padding: 20px; 
        border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); 
        display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px;
    }
    #admin-panel .sidebar h2 { width: 100%; margin-bottom: 15px !important; margin-top: 0 !important; }
    #admin-panel .nav-item { margin: 0 !important; flex: 1; justify-content: center; font-size: 0.8rem; padding: 10px; text-align: center; }
    #admin-panel .main-content { margin-left: 0; padding: 15px; height: auto; overflow-y: visible; }
    #admin-panel .stats-grid { 
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    #admin-panel .stat-box { padding: 15px 10px !important; text-align: center !important; }
    #admin-panel .stat-box h2 { font-size: 1.2rem !important; padding-top: 5px !important; }
    #admin-panel .stat-box small { font-size: 0.65rem !important; display: block; white-space: nowrap; }
    
    #admin-panel .grid-form { display: flex !important; flex-direction: column !important; gap: 15px !important; }
    
    /* Mobil İçin Görsel Grid Düzenlemesi (UI Düzeltme) */
    #admin-panel .admin-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    
    #admin-panel .grid-form div[style*="display: grid"] { grid-template-columns: 1fr !important; gap: 15px !important; }
    #admin-panel .full-width { grid-column: span 1; }
    #admin-panel .checkbox-container { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    #admin-panel .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
    #admin-panel .admin-card { padding: 15px; }
}

/* ==========================================================================
   15. HUKUKİ SAYFALAR (Sözleşmeler, Politikalar vs.)
   ========================================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.legal-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.legal-content h3 {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
}
.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ==========================================================================
   16. SIKÇA SORULAN SORULAR (FAQ)
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Tıklandığında/Açıldığında kartın etrafı aydınlansın */
.faq-item[open] {
    border-color: rgba(212, 163, 115, 0.3); /* Accent renginin saydam hali */
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    position: relative;
    list-style: none; /* Varsayılan oku gizler */
    user-select: none;
    transition: color 0.3s ease;
}

/* Webkit tarayıcılarında varsayılan oku gizlemek için ekstra güvenlik */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent);
}

/* Sağ tarafa özel "+" ikonu ekleme */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* Soru açıldığında "+" ikonu "x" (veya eksi) olsun */
.faq-item[open] .faq-question::after {
    content: '−'; /* Eksi işareti */
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px solid transparent;
    animation: fadeInDown 0.3s ease-in-out;
}

/* Menü "Yakında" Badge Tasarımı */
.badge-soon {
    background: rgba(212, 175, 55, 0.15); /* Hafif altın şeffaflığı */
    color: var(--accent); /* Altın rengi */
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    letter-spacing: 0.5px;
    border: 0.5px solid rgba(212, 175, 55, 0.3);
    vertical-align: middle;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover durumunda parlaması için */
li:hover .badge-soon {
    background: var(--accent);
    color: var(--black);
}

.nav-links li a:has(.badge-soon) {
    cursor: default;
    opacity: 0.8;
}

/* Toast Bildirim Sistemi */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(26, 26, 26, 0.95);
    color: var(--text-white);
    padding: 16px 24px;
    border-left: 3px solid var(--accent); /* Altın rengi şerit */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.4s ease forwards;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
    animation: slideOutRight 0.4s ease forwards;
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ==========================================================================
   17. FORM UYUMLULUĞU (Appearance Standard)
   ========================================================================== */
select, 
input[type="number"], 
input[type="date"],
.qty-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* ==========================================================================
   18. TESTIMONIAL SLIDER (JİLET RESPONSIVE)
   ========================================================================== */
.testimonial-slider-container {
    position: relative !important;
    overflow: hidden !important; 
    padding: 40px 0 !important;
    width: 100% !important;
}

.testimonial-track {
    display: flex !important;
    gap: 20px !important;
    transition: transform 0.5s ease-in-out !important;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(28.5% - 20px) !important; 
    max-width: calc(28.5% - 20px) !important;
    min-width: unset !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 25px !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
}

/* OK BUTONU: Kartın boyuna göre değil, container'a göre hizalanır */
.slider-arrow {
    /* Konumlandırma */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 100;

    /* Boyut ve Şekil (İstediğiniz 20x20 ölçüleri) */
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Tam yuvarlak yapar */
    
    /* İçerik Hizalama */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Görsel Stil */
    background-color: var(--accent);
    color: var(--black);
    border: none;
    cursor: pointer;
    font-size: 10px; /* Küçük ok işareti için */
    line-height: 1;
    
    /* Etkileşim */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background-color: var();
    transform: translateY(-50%) scale(1.1);
}

/* MOBİL MÜDAHALE */
@media (max-width: 768px) {
    .testimonial-card {
        /* Mobilde tam ekran (%100) yerine %85 vererek yandaki kartın ucunu gösteriyoruz */
        flex: 0 0 calc(85% - 20px) !important; 
        max-width: calc(85% - 20px) !important;
        min-width: unset !important;
    }
    .slider-arrow {
        right: 5px;
        width: 20px;
        height: 20px;
    }
    
    html body button.slider-arrow {
        width: 30px !important; /* Mobilde parmakla basılabilmesi için 20 yerine 30px idealdir */
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important; /* Dev çubuk yerine TAM YUVARLAK yapar */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        right: 10px !important; /* Kenara şıkça yaslar */
    }
}