:root {
  /* Core palette */
  --bg: #120c08;            /* deep midnight */
  --bg2: #0a0705;           /* ultra-dark */
  --brown: #2a1b12;        /* warm base */
  --gold: #d4af37;          /* premium accent */
  --gold-hover: #b5952f;   /* hover shade */
  --cream: #fdfbf7;        /* subtle off-white */
  --muted: #a39588;        /* text secondary */
  --border: rgba(212,175,55,.1);
  --transition: all 0.2s ease;
  --radius: 6px;
  --shadow-lg: 0 10px 30px rgba(0,0,0,.4);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--cream); font-family: 'Inter', sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Utility classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--muted); }

/* Typography */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: .02em; }
.section-title {
  font-size: 2rem;
  margin: 30px 0 24px;
  color: var(--cream);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-block { width: 100%; justify-content: center; }

/* Alerts */
.alert { padding: 12px 20px; margin: 0; text-align: center; border-radius: var(--radius); }
.alert-success { background: rgba(40,180,80,.15); color: #7fdca0; }
.alert-error { background: rgba(220,60,60,.15); color: #ff8888; }

/* Navigation Luxury */
.store-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 12, 8, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }

.luxe-logo { 
  display: flex; align-items: center; gap: 12px; font-size: 1.6rem; 
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2); 
}
.luxe-logo i { color: var(--gold); filter: drop-shadow(0 0 5px rgba(212,175,55,0.4)); }

.main-menu { display: flex; gap: 35px; align-items: center; }
.main-menu a { 
  color: var(--cream); font-size: 0.9rem; font-weight: 500; 
  letter-spacing: 0.5px; opacity: 0.8; transition: 0.3s; 
  position: relative;
}
.main-menu a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: 0.3s;
}
.main-menu a:hover, .main-menu a.active { opacity: 1; color: var(--gold); }
.main-menu a:hover::after, .main-menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-icon-link { color: var(--cream); font-size: 1.2rem; opacity: 0.8; transition: 0.3s; }
.nav-icon-link:hover { opacity: 1; color: var(--gold); transform: translateY(-2px); }

/* User Dropdown */
.user-dropdown { position: relative; cursor: pointer; }
.user-trigger { 
  display: flex; align-items: center; gap: 8px; font-size: 0.9rem; 
  color: var(--cream); font-weight: 500; padding: 8px 12px; 
  border-radius: 30px; border: 1px solid rgba(212, 175, 55, 0.2);
  transition: 0.3s;
}
.user-trigger:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.05); }
.dropdown-content {
  position: absolute; top: 130%; right: 0; width: 200px;
  background: #1a1512; border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px; padding: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  display: none; flex-direction: column; z-index: 1001;
}
.user-dropdown:hover .dropdown-content { display: flex; animation: slideUp 0.3s ease; }
.dropdown-content a { 
  padding: 10px 15px; font-size: 0.85rem; color: var(--muted); 
  border-radius: 8px; transition: 0.2s; display: flex; align-items: center; gap: 10px;
}
.dropdown-content a:hover { color: var(--gold); background: rgba(212, 175, 55, 0.05); }
.dropdown-content a.logout:hover { color: #e74c3c; background: rgba(231, 76, 60, 0.05); }

/* Mobile Hamburger */
.luxe-hamburger { width: 25px; height: 18px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.luxe-hamburger span { width: 100%; height: 2px; background: var(--gold); border-radius: 2px; transition: 0.3s; }

/* Mobile Overlay */
.mobile-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #0a0705; z-index: 2000; padding: 30px;
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.open { transform: translateX(0); }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.close-menu { font-size: 1.8rem; color: var(--gold); cursor: pointer; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav-links a { font-size: 1.4rem; color: var(--cream); font-family: 'Playfair Display', serif; }
.mobile-nav-links a:hover { color: var(--gold); padding-left: 10px; transition: 0.3s; }

@media (max-width: 992px) {
  .main-menu { display: none; }
  .luxe-hamburger { display: flex; }
}

/* Hero */
.hero {
  padding: 80px 0;
  background: radial-gradient(ellipse at top, rgba(212,175,55,.1) 0%, transparent 60%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.badge-gold {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-title {
  font-size: 4rem;
  line-height: 1.05;
  margin: 24px 0;
  color: var(--cream);
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold), #f3e5ab, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

/* Ultra Luxury Badges */
.luxury-badges { 
  display: flex; gap: 20px; margin-top: 60px; 
  max-width: 650px; /* Hizalamayı sabitlemek için */
}
.badge-item {
  flex: 1; /* Hepsini eşit genişlikte yapar */
  display: flex; align-items: center; gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 20px;
  border-radius: 15px; /* Daha modern bir dikdörtgenimsi yapı */
  border: 1px solid rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  min-width: 0; /* İçerik taşmasını önler */
}
.badge-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}
.badge-icon {
  width: 45px; height: 45px;
  background: linear-gradient(135deg, var(--gold), #f3e5ab);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.badge-info { display: flex; flex-direction: column; }
.badge-value { 
  font-family: 'Playfair Display', serif; font-size: 1.6rem; 
  font-weight: 700; color: var(--gold); line-height: 1.2; 
}
.badge-label { 
  font-size: 0.75rem; color: var(--muted); 
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600; 
}

@media (max-width: 1100px) {
  .luxury-badges { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 600px) {
  .badge-item { width: 100%; justify-content: flex-start; }
}
.product-orb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold);
}
.product-orb-content i {
  font-size: 5rem;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}
.product-orb-content h3 {
  font-size: 2.2rem;
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.product-orb-content p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* Features Luxury Grid */
.features { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(212,175,55,0.03), transparent); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { 
  text-align: center; padding: 40px 30px; 
  background: rgba(255, 255, 255, 0.015); 
  border: 1px solid rgba(212, 175, 55, 0.08); 
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  opacity: 0; transition: 0.4s;
}
.feature:hover { 
  transform: translateY(-10px); 
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.05);
}
.feature:hover::before { opacity: 1; }

.feature i { 
  font-size: 2.8rem; color: var(--gold); margin-bottom: 20px; display: block;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
  transition: 0.4s;
}
.feature:hover i { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); }

.feature h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--cream); font-family: 'Playfair Display', serif; }
.feature p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Product listings */
.featured-products, .latest-blog, .page-section { padding: 60px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 24px; }
.product-card {
  background: linear-gradient(180deg, #1a110a, #150d08);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: .3s;
  display: block;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.product-img {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a1b12, #1a110a);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 3rem; margin-bottom: 14px; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--cream); }
.product-price { color: var(--gold); font-size: 1.3rem; font-weight: 700; font-family: 'Playfair Display', serif; margin-top: 10px; }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-main-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a110a, #2a1b12);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 6rem; overflow: hidden;
}
.pd-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 14px; }
.pd-thumbs img { aspect-ratio: 1; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
.pd-info h1 { font-size: 2.5rem; margin: 8px 0 16px; }
.pd-price { font-size: 2rem; color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 700; margin: 20px 0; }
.pd-form select, .pd-form input { width: 100%; padding: 12px; background: #1a110a; border: 1px solid var(--border); color: var(--cream); border-radius: var(--radius); margin-bottom: 10px; }
.pd-actions { display: flex; gap: 10px; align-items: center; }
.pd-actions input { width: 80px; }
.pd-tabs { margin-top: 30px; }
.pd-tabs details { border-top: 1px solid var(--border); padding: 14px 0; }
.pd-tabs summary { cursor: pointer; font-weight: 600; color: var(--gold); }
.pd-tabs details div { padding-top: 10px; color: var(--muted); }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.02); border-radius: 10px; overflow: hidden; }
.data-table th, .data-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--border); color: var(--gold); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table a { color: var(--gold); }

/* Cart / Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.ck-form input:not([type="radio"]):not([type="checkbox"]), .ck-form textarea, .ck-form select {
  width: 100%; padding: 12px; background: #1a110a; border: 1px solid var(--border); color: var(--cream); border-radius: var(--radius); margin-bottom: 10px;
}
.ck-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-form .row > *:only-child { grid-column: span 2; }
.ck-summary { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 24px; height: fit-content; }
.ck-summary ul { list-style: none; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ck-summary li { padding: 6px 0; font-size: .9rem; color: var(--muted); }
.ck-summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.ck-summary .total { border-top: 1px solid var(--gold); padding-top: 12px; margin-top: 12px; font-size: 1.3rem; color: var(--gold); }

/* Auth Forms */
.narrow { max-width: 520px; margin: 0 auto; }
.auth-form {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form input, .auth-form textarea, .auth-form select {
  padding: 12px;
  background: #1a110a;
  border: 1px solid var(--border);
  color: var(--cream);
  border-radius: var(--radius);
  width: 100%;
}

/* Profile Layout */
.profile-grid { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
@media (max-width: 768px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-menu { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.profile-menu a { padding: 12px 16px; border-radius: var(--radius); color: var(--cream); }
.profile-menu a.active, .profile-menu a:hover { background: rgba(212,175,55,.1); color: var(--gold); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.blog-card { background: rgba(255,255,255,.03); border: 1px solid var(--border); padding: 24px; border-radius: 14px; transition: var(--transition); }
.blog-card:hover { border-color: var(--gold); }
.blog-card h3 { margin: 8px 0; color: var(--cream); }
.blog-card p { color: var(--muted); }

/* FAQ */
.faq-item { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 16px; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item div { margin-top: 12px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid p { margin-bottom: 12px; color: var(--muted); }
.contact-grid i { color: var(--gold); margin-right: 8px; }

/* Messages */
.messages { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.msg { padding: 14px; border-radius: 10px; background: rgba(255,255,255,.04); }
.msg.admin { border-left: 3px solid var(--gold); }
.msg.customer { border-left: 3px solid #6488f0; }

/* Footer */
.store-footer {
  background: linear-gradient(180deg, #0a0705, #000);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.6rem; margin-bottom: 14px; }
.store-footer p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.store-footer h4 { color: var(--gold); margin-bottom: 18px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; }
.store-footer ul { list-style: none; }
.store-footer li { padding: 6px 0; }
.store-footer a { color: var(--muted); font-size: .9rem; transition: var(--transition); }
.store-footer a:hover { color: var(--gold); padding-left: 3px; }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); transition: var(--transition); }
.socials a:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); transform: translateY(-2px); }

/* Newsletter Form in Footer */
.newsletter-form {
  margin-top: 18px;
  display: flex;
  position: relative;
  max-width: 300px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 36px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold-hover);
}

/* Bottom Footer Styling */
.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.06);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.5px;
}
/* End of Styles */

/* Auth Page Styles */
.auth-page { padding: 80px 0; background: radial-gradient(circle at center, #1a1512 0%, #120c08 100%); }
.auth-grid { display: grid; grid-template-columns: 1fr 0.1fr 1fr; gap: 50px; align-items: start; max-width: 1000px; margin: 0 auto; }
.auth-box { background: rgba(255,255,255,0.02); border: 1px solid rgba(212,175,55,0.1); padding: 40px; border-radius: 15px; backdrop-filter: blur(10px); animation: fadeInUp 0.8s ease forwards; }
.auth-divider { display: flex; align-items: center; justify-content: center; position: relative; }
.auth-divider::before { content: ""; position: absolute; height: 100%; width: 1px; background: rgba(212,175,55,0.1); }
.auth-divider span { background: #120c08; padding: 10px; color: var(--gold); font-size: 0.7rem; z-index: 1; border: 1px solid rgba(212,175,55,0.1); border-radius: 50%; }

.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; color: var(--cream); font-size: 0.85rem; margin-bottom: 8px; }
.auth-form .input { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(212,175,55,0.2); color: #fff; padding: 12px 15px; border-radius: 8px; transition: 0.3s; }
.auth-form .input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 10px rgba(212,175,55,0.1); }
.auth-form .form-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 0.8rem; }
.forgot-link { color: var(--gold); text-decoration: none; }
.kvkk-check { font-size: 0.75rem; color: #888; }
.kvkk-check a { color: var(--gold); }

@media (max-width: 850px) {
    .auth-grid { grid-template-columns: 1fr; gap: 30px; }
    .auth-divider { height: 50px; }
    .auth-divider::before { width: 100%; height: 1px; }
}

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

.txt-gold { color: var(--gold); }
.txt-cream { color: var(--cream); }

/* Luxury Design System Additions */
.glass-nav {
  background: rgba(18, 12, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.gold-gradient-text {
  background: linear-gradient(to right, #d4af37, #f3e5ab, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.product-shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

@keyframes slideUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

/* ── Luxury Slider Image Frame ── */
.product-orb-container {
  width: 400px;
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dış altın gradient çerçeve */
.product-orb-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px 20px 40px 20px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.9) 0%,
    rgba(255, 215, 80, 0.4) 25%,
    rgba(180, 140, 30, 0.2) 50%,
    rgba(255, 215, 80, 0.5) 75%,
    rgba(212, 175, 55, 0.9) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* İç cam kartı — görsel tam doldurma, kıvrımlı köşeler */
.product-orb-container .orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 38px 18px 38px 18px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 215, 80, 0.12),
    inset 0 0 60px rgba(212, 175, 55, 0.06);
}

/* Üst parlama şeridi — görselin üzerinde */
.product-orb-container .orb-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(255, 215, 80, 0.08) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  border-radius: 38px 18px 0 0;
}

/* Alt altın ışıma overlay */
.product-orb-container .orb-inner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  border-radius: 0 0 38px 18px;
}

/* Dış parlama ışıması */
.product-orb-container:hover {
  transform: translateY(-8px);
}

.product-orb-container:hover::before {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 80, 1) 0%,
    rgba(212, 175, 55, 0.6) 25%,
    rgba(180, 140, 30, 0.3) 50%,
    rgba(255, 215, 80, 0.7) 75%,
    rgba(212, 175, 55, 1) 100%
  );
  animation: borderShimmer 2s linear infinite;
}

@keyframes borderShimmer {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(15deg) brightness(1.3); }
  100% { filter: hue-rotate(0deg) brightness(1); }
}

.product-orb-container:hover .orb-inner {
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 215, 80, 0.2),
    inset 0 0 80px rgba(212, 175, 55, 0.1);
}

/* Görsel çerçeveyi tam doldurur, köşeler orb-inner'dan kıvrılır */
.slider-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.product-orb-container:hover .slider-product-img {
  transform: scale(1.04);
}

/* Premium Cart & Checkout Page Enhancements */
.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-product-img {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-product-info {
  display: flex;
  flex-direction: column;
}
.cart-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.cart-qty-input {
  width: 70px;
  padding: 8px;
  background: #1a110a;
  border: 1px solid var(--border);
  color: var(--cream);
  border-radius: var(--radius);
  text-align: center;
  outline: none;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
}
.cart-qty-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,0.15);
}
.btn-delete {
  color: #e74c3c !important;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.btn-delete:hover {
  color: #c0392b !important;
  transform: scale(1.05);
}
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 30px;
  background: linear-gradient(135deg, #1a110a, #150d08);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
@media (max-width: 600px) {
  .cart-summary {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    text-align: center;
  }
}

/* Premium Payment Selector Card Styles */
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 25px;
}
.payment-method-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.payment-method-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.03);
}
.payment-method-card.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.payment-method-card input[type="radio"] {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  accent-color: var(--gold) !important;
  cursor: pointer;
}
.payment-method-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
}
.payment-method-card span i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* Order & Ticket Status Badges */
.status-badge, .ticket-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bg-blue-100, .badge-blue { background: rgba(52, 152, 219, 0.1) !important; color: #3498db !important; border: 1px solid rgba(52, 152, 219, 0.2); }
.bg-yellow-100, .badge-yellow { background: rgba(241, 196, 15, 0.1) !important; color: #f1c40f !important; border: 1px solid rgba(241, 196, 15, 0.2); }
.bg-purple-100, .badge-purple { background: rgba(155, 89, 182, 0.1) !important; color: #9b59b6 !important; border: 1px solid rgba(155, 89, 182, 0.2); }
.bg-indigo-100 { background: rgba(63, 81, 181, 0.1) !important; color: #3f51b5 !important; border: 1px solid rgba(63, 81, 181, 0.2); }
.bg-green-100, .badge-green { background: rgba(46, 204, 113, 0.1) !important; color: #2ecc71 !important; border: 1px solid rgba(46, 204, 113, 0.2); }
.bg-red-100, .badge-red { background: rgba(231, 76, 60, 0.1) !important; color: #e74c3c !important; border: 1px solid rgba(231, 76, 60, 0.2); }
.bg-orange-100, .badge-orange { background: rgba(230, 126, 34, 0.1) !important; color: #e67e22 !important; border: 1px solid rgba(230, 126, 34, 0.2); }
.bg-gray-100, .badge-gray { background: rgba(149, 165, 166, 0.1) !important; color: #95a5a6 !important; border: 1px solid rgba(149, 165, 166, 0.2); }

/* Premium Chat Balloon Styling */
.messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.msg {
  max-width: 80%;
  padding: 16px 20px;
  border-radius: 16px;
  position: relative;
  line-height: 1.5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.msg p {
  margin: 0;
  font-size: 0.95rem;
}
.msg small {
  align-self: flex-end;
  font-size: 0.75rem;
  opacity: 0.6;
}
.msg.customer {
  align-self: flex-end;
  background: linear-gradient(135deg, #2a1b12, #1f140d);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom-right-radius: 4px;
}
.msg.customer strong {
  color: var(--gold);
}
.msg.admin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
}
.msg.admin strong {
  color: var(--cream);
}

/* Premium Order Detail Card Styles */
.order-details-card {
  background: linear-gradient(135deg, #1a110a, #150d08);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.order-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.order-header-row h3 {
  font-size: 1.4rem;
  color: var(--cream);
}
.cargo-info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 20px;
}
.cargo-info-box i {
  color: var(--gold);
  font-size: 1.4rem;
}
.order-footer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}
