/*
Theme Name: Amelie Theme
Theme URI: https://ameliefruits.eu/
Description: Custom child theme for Amelie Theme
Author: Einscube
Author URI: https://einscube.com/
Version: 1.0
Text Domain: startit
Template: startit
*/

/* Single Fruta Styles */

/* Layout */
.fruta-layout {
  display: flex;
  min-height: 100vh;
}

.fruta-hero {
  width: 50%;
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 0;
}

.fruta-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), transparent);
}

.fruta-content {
  width: 50%;
  background: #f6f8f6;
  display: flex;
  flex-direction: column;
}

/* Header */
.fruta-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fruta-back {
  text-decoration: none;
  font-weight: 700;
  color: #6b7280;
}

.fruta-logo {
  font-weight: 800;
}

/* Body */
.fruta-body {
  padding: 3rem;
  max-width: 720px;
  margin: auto;
}

.fruta-tags {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-pink {
  background: #fce7e7;
  color: #9d174d;
}

.tag-green {
  background: #dcfce7;
  color: #166534;
}

.fruta-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  line-height: .9;
}

.fruta-subtitle {
  font-style: italic;
  color: #4f545f;
  margin-top: .5rem;
}

.fruta-description {
  margin-top: 2rem;
  line-height: 1.8;
  color: #333;
}

/* Specs */
.fruta-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  padding: 2rem 0;
  margin: 3rem 0;
}

.spec span {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
}

/* CTA */
.fruta-cta {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: #13ec13;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 700;
  color: #111;
}

.btn-secondary {
  border: 1px solid #d1d5db;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 700;
  color: #111;
}

/* Highlight */
.fruta-highlight {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #fce7e7;
  border-radius: 1rem;
}

/* Footer */
.fruta-footer {
  margin-top: auto;
  padding: 1rem 3rem;
  font-size: .75rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
  .fruta-layout {
    flex-direction: column;
  }

  .fruta-hero,
  .fruta-content {
    width: 100%;
  }

  .fruta-hero {
    height: 50vh;
    position: relative;
  }
}



/* Header */
.qodef-logo-wrapper a{
  height: 80px !important;
}

/* Fruits Catalog Page */
/* Base */
.fruit-catalog {
  background: #fff;
  color: #111;
}

/* HERO */
.fruit-catalog-hero {
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  padding: .3rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  line-height: 1.05;
}

.hero-title span {
  font-style: italic;
  color: #0f49bd;
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #6b7280;
}

/* GRID */
.fruit-grid-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 1rem 8rem;
}

.fruit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4rem 2rem;
}

/* CARD */
.fruit-card {
  text-align: center;
}

.fruit-card-link {
  text-decoration: none;
  color: inherit;
}

.fruit-image-wrapper {
  position: relative;
  background: #f6f6f8;
  border-radius: 1.5rem;
  padding: 2rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  transition: all .4s ease;
}

.fruit-card:hover .fruit-image-wrapper {
  background: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
}

.fruit-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.fruit-card:hover .fruit-image {
  transform: scale(1.05);
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.4));
}

/* OVERLAY */
.fruit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.fruit-card:hover .fruit-overlay {
  opacity: 1;
}

.fruit-overlay p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #0f49bd;
}

/* INFO */
.fruit-info {
  margin-top: 1.5rem;
}

.fruit-name {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

.fruit-subtitle {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-top: .3rem;
}

/* CTA CARD */
.fruit-card-cta {
  background: #0f49bd;
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-inner {
  text-align: center;
  max-width: 300px;
}

.cta-inner h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 1rem 0;
}

.cta-inner p {
  font-size: .9rem;
  opacity: .85;
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  background: #fff;
  color: #0f49bd;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* BOTTOM CTA */
.fruit-bottom-cta {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 5rem 1rem;
  text-align: center;
}

.fruit-bottom-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  font-weight: 700;
}

.feature span {
  display: block;
  font-size: 1.8rem;
  color: #0f49bd;
  margin-bottom: .5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 2rem;
  }
}
