:root {
  --font-heading: 'Cormorant Garamond', serif;
  --font-subheading: 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400; /* Manrope Regular */
  color: #5A5A5A;
  background-color: #fdfbf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Standart Başlık ve Alt Başlık Font Kuralları */
h1, h2, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600; /* Cormorant Garamond SemiBold (Ana Başlıklar) */
}

h3, h4, h5, h6, .font-subheading {
  font-family: var(--font-subheading);
  font-weight: 500; /* Manrope Medium (Alt Başlıklar) */
}

.font-body, .font-sans {
  font-family: var(--font-body);
  font-weight: 400; /* Manrope Regular (İçerik) */
}

.font-serif {
  font-family: var(--font-heading);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===== Ürün Kategorisi Hero Tasarımı ===== */
.font-script {
  font-family: 'Kaushan Script', cursive;
  font-weight: 400;
}

.cat-hero-title {
  font-family: 'Kaushan Script', cursive !important;
  font-weight: 400 !important;
  line-height: 1.05;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.cat-hero-ribbon {
  display: inline-block;
  background: #C62828;
  color: #fff;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 1.1rem;
  transform: rotate(-3deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 6%, 2% 0, 98% 4%, 100% 10%, 99% 92%, 100% 100%, 3% 96%, 0 90%);
}

.cat-hero-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.cat-hero-desc {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cat-hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 46px;
  z-index: 5;
  pointer-events: none;
}

.cat-hero-wave path {
  fill: #fdfbf7;
}

/* ===== Ürün Kartı (kategori sayfaları) ===== */
.pc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.14);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.pc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px -18px rgba(0, 0, 0, 0.25);
}

.pc-stage {
  position: relative;
  height: clamp(13rem, 30vw, 19rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 62%, #ffffff 0%, #fcf9f2 55%, #f4eee0 100%);
}

.pc-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-card:hover .pc-scene {
  transform: scale(1.05);
}

.pc-ing {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.22));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-ing-1 { width: 50%; left: -9%;  bottom: 4%;  transform: rotate(-7deg); }
.pc-ing-2 { width: 46%; right: -8%; bottom: 20%; transform: rotate(8deg); }
.pc-ing-3 { width: 28%; left: 6%;   top: 5%;     transform: rotate(16deg); }

.pc-card:hover .pc-ing-1 { transform: translate(-10px, -6px) rotate(-11deg) scale(1.05); }
.pc-card:hover .pc-ing-2 { transform: translate(10px, -8px) rotate(12deg) scale(1.05); }
.pc-card:hover .pc-ing-3 { transform: translate(-4px, 6px) rotate(24deg) scale(1.08); }

.pc-product {
  position: relative;
  z-index: 2;
  max-height: 86%;
  max-width: 60%;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-card:hover .pc-product { transform: scale(1.07) translateY(-4px); }

.pc-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
  text-align: center;
}

.pc-name {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.pc-card:hover .pc-name { color: #556B2F; }

.pc-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #7a7a7a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-weight {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #556B2F;
  background: rgba(85, 107, 47, 0.1);
  border-radius: 999px;
}

.pc-btn-wrap {
  margin-top: auto;
  padding-top: 1.1rem;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: #1a1a1a;
  border-radius: 999px;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.pc-btn-arrow {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.3s ease;
}

.pc-card:hover .pc-btn { background: #C62828; }
.pc-card:hover .pc-btn-arrow { transform: translateX(4px); }