/* Peyzaj Ürünleri Fiyat Kataloğu */
:root {
  --leaf-50: #f0fdf4;
  --leaf-100: #dcfce7;
  --leaf-500: #22c55e;
  --leaf-600: #16a34a;
  --leaf-700: #15803d;
  --leaf-800: #166534;
  --forest: #1a4d2e;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* {
  box-sizing: border-box;
}

body.catalog-page {
  margin: 0;
  font-family: var(--font);
  background: #14532d;
  color: #fff;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.625rem 0.75rem;
  position: relative;
  z-index: 1;
}

.cat-logo {
  display: inline-block;
}
.cat-logo img {
  max-height: 140px;
  width: auto;
  display: block;
}

.cat-section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0;
}

.cat-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.25rem;
}

.cat-contacts-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.cat-contacts-row--col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.cat-contacts-row--col2 .cat-contact-pill {
  justify-content: flex-start;
}

.cat-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none !important;
  color: #fff;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cat-contact-pill--col {
  min-width: 0;
}
a.cat-contact-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.cat-contact-icon {
  flex-shrink: 0;
  opacity: 0.9;
  color: #fff;
}

.cat-main { margin-bottom: 3rem; }
.cat-intro { text-align: center; margin-bottom: 0.75rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.75rem;
}

.cat-card {
  background: #fff;
  border-radius: 5px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 2px 12px rgba(20, 83, 45, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.cat-card-title-top {
  width: 100%;
  padding: 0.3rem 0.5rem 0.08rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  font-family: var(--font-serif);
  margin: 0;
}

.cat-card-main {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf-600), var(--leaf-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cat-card:hover {
  box-shadow: 0 12px 36px rgba(20, 83, 45, 0.15);
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.25);
}
.cat-card:hover::before { opacity: 1; }

.cat-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cat-card-body { padding: 0; flex: 0 0 auto; }
.cat-card-content-body {
  font-size: 0.6rem;
  line-height: 1.25;
  color: var(--leaf-800);
  padding-left: 0.08rem;
  padding-right: 0.08rem;
}
.cat-card-content-body p { margin: 0.1em 0; }

.cat-card-maddeler {
  list-style: none;
  margin: 0.35em 0 0.2em 0;
  padding: 0;
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--leaf-800);
}
.cat-card-maddeler li {
  margin-bottom: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.cat-card-maddeler li strong { font-weight: 600; }
.cat-card-madde-icon {
  flex-shrink: 0;
  color: var(--leaf-600);
}

.cat-card-footer {
  padding: 0.35rem 0.5rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cat-card-footer--single {
  align-items: center;
  text-align: center;
}
.cat-card-price-plain {
  font-size: 0.95rem;
  color: #000;
  font-weight: 600;
  line-height: 1.3;
}

.cat-card-media {
  flex: 0 0 120px;
  width: 120px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.cat-card-img-rounded { border-radius: 6px; }
.cat-card:hover .cat-card-img { transform: scale(1.03); }

.cat-whatsapp-cta {
  max-width: 1200px;
  margin: 0 auto 0.25rem;
  padding: 0.75rem 0.5rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  text-align: center;
}
.cat-whatsapp-cta-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.cat-whatsapp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 45%), linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.cat-whatsapp-cta-btn:hover {
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0) 50%), linear-gradient(135deg, #4ade80 0%, #22c55e 45%, #16a34a 100%);
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.7);
  transform: translateY(-1px);
}
.cat-whatsapp-cta-icon { flex-shrink: 0; }

.cat-footer {
  text-align: center;
  padding: 0.5rem 1rem;
  background: #14532d;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
}
.cat-footer p { margin: 0; }
.cat-footer-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
.cat-footer-credit a {
  color: #fff;
  text-decoration: none;
}
.cat-footer-credit a:hover { text-decoration: underline; }

@media (max-width: 639px) {
  .cat-logo img { max-height: 72px; }
  .cat-section-title { font-size: 1.15rem; }
  .cat-contacts { flex-direction: column; align-items: center; }
  .cat-contact-address { width: 100%; text-align: center; }
  .cat-contact-pill { font-size: 0.85rem; padding: 0.5rem 0.85rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .cat-card-media { flex: 0 0 80px; width: 80px; }
  .cat-card-img { max-height: 70px; }
  body.catalog-page { padding-bottom: 60px; }
}

@media (min-width: 640px) {
  .page-wrap { padding: 0 1rem 0.75rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (min-width: 960px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}
