/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');
@font-face {
  font-family: 'TheSeasons';
  src: url('../fonts/TheSeasons-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BadScript';
  src: url('../fonts/bad-script-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LightHouse';
  src: url('../fonts/lighthouse.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Coronet';
  src: url('../fonts/coronet-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0%;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px 40px;
  min-height: 90px;
  transition: all 0.3s ease;
  overflow: visible;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-links li a,
.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links a:hover {
  opacity: 0.6;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 200px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.shrink {
  min-height: 60px;
  padding: 8px 40px;
}

.navbar.shrink .nav-links li a {
  font-size: 12px;
}

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

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  display: block;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
 .navbar {
    top: 5%;
    gap: 15px;
    padding: 10px 18px;
    justify-content: space-between;
  
  }

  .logo img {
    max-height: 120px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto !important;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    padding: 110px 25px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateX(0);
    pointer-events: auto;
  }
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.product-card {
  text-align: center;
  background: rgba(255,255,255,0.04);
  padding: 20px;
  border-radius: 14px;
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 18px;
  margin-bottom: 20px;
}

.add-to-cart,
.product-card button {
  padding: 12px 24px;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 260px;
  }
}

/* PREMIUM CART PAGE */
body.cart-body {
  margin: 0;
  min-height: 100vh;
  color: #fff !important;
  background:
    linear-gradient(rgba(0,0,0,0.74), rgba(0,0,0,0.88)),
    url('/assets/img/background/arka5.PNG') center/cover fixed no-repeat,
    #050505 !important;
}

.cart-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 170px 24px 90px;
  color: #fff !important;
}

.cart-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.cart-heading {
  text-align: center;
  margin-bottom: 46px;
}

.cart-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.62;
}

.cart-page h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 2px;
}

.cart-subtitle {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.72;
}

#cart-items {
  display: grid;
  gap: 26px;
}

.cart-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cart-product-img {
  display: block;
  width: 190px;
  height: 190px;
  min-width: 190px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.cart-info h3 {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.cart-info p {
  margin: 0;
  font-size: 16px;
  opacity: 0.86;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
}

.quantity-controls span {
  min-width: 24px;
  text-align: center;
  font-size: 17px;
}

.quantity-controls button,
.remove-btn,
.checkout-btn,
.continue-shopping {
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.quantity-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
}

.quantity-controls button:hover,
.remove-btn:hover,
.checkout-btn:hover,
.continue-shopping:hover {
  background: #fff;
  color: #111;
}

.remove-btn,
.continue-shopping {
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 90px rgba(0,0,0,0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cart-footer h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
}

.checkout-btn {
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
}

.empty-cart {
  padding: 36px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.empty-cart p {
  margin: 0 0 22px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .cart-page {
    padding: 145px 18px 70px;
  }

  .cart-item {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .cart-product-img {
    width: 100%;
    height: 280px;
    min-width: 0;
  }

  .cart-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-footer h2 {
    font-size: 25px;
  }
}.cart-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-icon {
  width: 24px;
  height: 24px;
  stroke: white;
  transition: 0.3s ease;
}

.cart-nav-link:hover .cart-icon {
  opacity: 0.6;
}

/* Sepet sayısı */
#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: white;
  color: black;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .nav-links.left {
    display: none !important;
  }
}.cart-mobile {
  display: none;
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
}

.cart-mobile svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

#cart-count-mobile {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  color: black;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SADECE MOBİLDE GÖRÜNÜR */
@media (max-width: 768px) {
  .cart-mobile {
    display: block;
  }

  /* hamburger ile çakışmasın */
  .hamburger {
    right: 20px;
    position: absolute;
  }
}

/* PRODUCT DETAIL - INDEX PAGE */
.product-card {
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
}

.product-detail-section {
  max-width: 1200px;
  margin: 45px auto 0;
  padding: 40px 20px 20px;
  color: #fff;
}

.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-detail-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 22px;
}

.product-detail-info h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0 0 18px;
}

#detailPrice {
  font-size: 26px;
  margin-bottom: 24px;
}

#detailShort {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.88;
}

.product-detail-meta {
  margin: 28px 0;
  opacity: 0.82;
}

.product-detail-meta p {
  margin-bottom: 8px;
}

#detailDescription {
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

.add-cart-btn,
.back-to-products {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.75);
  color: #fff;
  padding: 14px 28px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 999px;
  letter-spacing: 1px;
}

.add-cart-btn:hover,
.back-to-products:hover {
  background: #fff;
  color: #000;
}

.back-to-products {
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 30px 0 10px;
  }

  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px;
  }

  .product-detail-image img {
    max-height: 360px;
  }

  .product-detail-info h1 {
    font-size: 32px;
  }

  #detailPrice {
    font-size: 22px;
  }
}


/* PRODUCT CLICK FIX */
.product-card,
.product-card img,
.product-card h3,
.product-card p {
  cursor: pointer;
}

.product-card img {
  pointer-events: none;
}

.product-card button {
  pointer-events: auto;
}
body {
  font-family: 'Inter', Arial, sans-serif;
}

h1, h2, h3,
.product-detail-info h1,
.cart-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 1px;
}

.nav-links li a,
.nav-links a,
button,
.add-to-cart,
.add-cart-btn,
.back-to-products,
.checkout-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

p,
.product-card p,
#detailShort,
#detailDescription,
.cart-subtitle {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
}
.hero-slogan {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 52px !important;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .hero-slogan {
    font-size: 34px !important;
  }
}
.hero-slogan {
  font-family: 'Playfair Display', serif !important;
  font-size: 56px !important;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
@media (max-width: 768px) {
  .hero-slogan {
    font-size: 34px !important;
    line-height: 1.2;
  }
}
.hero-slogan {
  font-family: 'Coronet', serif !important;
  font-size: 64px !important;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .hero-slogan {
    font-size: 36px !important;
  }
}
/* PREMIUM PRICE STYLE */
.product-card p,
#detailPrice {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #f5f1e8;
}

.product-card p::before,
#detailPrice::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(245, 241, 232, 0.65);
  margin: 0 auto 12px;
}

#detailPrice::before {
  margin: 0 0 14px;
}
.product-card p,
#detailPrice {
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.075);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.product-card img {
  transition: transform 0.65s ease, filter 0.65s ease;
}

.product-card:hover img {
  transform: scale(1.045);
  filter: brightness(1.08) contrast(1.05);
}

.product-card h3,
.product-card p {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-card:hover h3 {
  transform: translateY(-2px);
}

.product-card:hover p {
  opacity: 0.9;
}
@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card:hover img {
    transform: none;
    filter: none;
  }
  /* DETAY BAŞLANGIÇ DURUMU */
.product-detail-section.detail-enter {
  animation: productDetailEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

}@keyframes productDetailEnter {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

}


/* PRODUCT DETAIL JS ANIMATION SUPPORT */
#product-detail-section .product-detail-wrapper,
#product-detail-section .product-detail-image,
#product-detail-section .product-detail-info {
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  #product-detail-section .product-detail-wrapper,
  #product-detail-section .product-detail-image,
  #product-detail-section .product-detail-info {
    animation: none !important;
    transition: none !important;
  }
}.product-detail-image img {
  transition: transform 0.6s ease;
}

.product-detail-image:hover img {
  transform: scale(1.04);
}
.add-cart-btn,
.back-to-products {
  position: relative;
  overflow: hidden;
}

.add-cart-btn::after,
.back-to-products::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.add-cart-btn:hover::after,
.back-to-products:hover::after {
  left: 100%;
}
.product-detail-wrapper {
  box-shadow: 0 40px 120px rgba(0,0,0,0.55);
}
/* PREMIUM PRODUCT CARD UPGRADE */
.product-card {
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 70px rgba(0,0,0,0.25);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.16),
    transparent 38%,
    rgba(255,255,255,0.05)
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card img {
  border-radius: 12px;
}

.product-card h3 {
  margin-top: 18px;
  font-size: 25px;
  font-weight: 400;
}

.product-card p {
  margin-top: 10px;
}
.product-card button,
.add-to-cart {
  border-radius: 999px;
  padding: 12px 26px;
  transition: 0.35s ease;
}

.product-card button:hover,
.add-to-cart:hover {
  background: #fff;
  color: #000;
}
@media (max-width: 768px) {
  .product-card {
    box-shadow: 0 14px 45px rgba(0,0,0,0.28);
  }

  .product-card::before {
    display: none;
  }
}
/* STRONG PREMIUM PRODUCT CARD */
.product-card {
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 28px !important;
  padding: 18px 18px 28px !important;
  box-shadow: 0 35px 100px rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.product-card img {
  border-radius: 22px !important;
  height: 340px !important;
  box-shadow: 0 22px 55px rgba(0,0,0,0.38);
}

.product-card h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.product-card p {
  font-size: 19px !important;
  letter-spacing: 2.5px !important;
  margin-bottom: 24px !important;
}

.product-card button,
.product-card .add-to-cart {
  border-radius: 999px !important;
  padding: 13px 30px !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
}
/* Product detail visibility is controlled by index.html JavaScript. */
#product-detail-section {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* =========================================================
   STOK / SATILDI SISTEMI - index-sepet-stok-sistemi.html uyumu
   Urun kartlarinda odeme linki yoktur; sadece Sepete Ekle vardir.
   Stok 0 oldugunda kart blur olur, SATILDI yazisi gorunur.
========================================================= */
.product-card {
  position: relative !important;
  overflow: hidden !important;
}

.sold-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  background: rgba(0, 0, 0, 0.34);
  z-index: 20;
  pointer-events: none;
  border-radius: 28px;
}

.product-card.sold .sold-overlay {
  display: flex !important;
}

.product-card.sold img,
.product-card.sold:hover img {
  filter: blur(5px) brightness(0.55) !important;
  transform: none !important;
}

.product-card.sold button,
.product-card.sold .add-to-cart,
.product-card.sold .add-cart-btn {
  opacity: 0.45 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.72) !important;
}

.product-card.sold:hover {
  transform: none !important;
}

.product-card.sold::before {
  opacity: 0 !important;
}

.sold-detail-button,
.sold-detail-button:hover {
  opacity: 0.45 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.72) !important;
}

.product-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .sold-overlay {
    font-size: 22px;
    letter-spacing: 3px;
  }
}
.product-card.sold img {
  filter: blur(5px) brightness(0.55) !important;
}

.sold-overlay {
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 340px;
  border-radius: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: white;
  font-size: 30px;
  letter-spacing: 4px;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}

.product-card.sold .sold-overlay {
  display: flex;
}

.product-card.sold button {
  opacity: 0.45;
  pointer-events: none;
}


/* FIREBASE STOK / SATILDI FINAL OVERRIDE */
.product-card.sold {
  position: relative !important;
  overflow: hidden !important;
}

.product-card.sold img {
  filter: blur(5px) brightness(0.48) !important;
  transform: none !important;
}

.product-card.sold:hover img {
  filter: blur(5px) brightness(0.48) !important;
  transform: none !important;
}

.product-card .sold-overlay {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: 18px !important;
  height: 340px !important;
  border-radius: 22px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999 !important;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  letter-spacing: 5px !important;
  background: rgba(0,0,0,.42) !important;
  pointer-events: none !important;
}

.product-card.sold .sold-overlay {
  display: flex !important;
}

.product-card.sold button {
  opacity: .45 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

@media (max-width: 768px) {
  .product-card .sold-overlay {
    height: 260px !important;
  }
}
