/* L'nueve Coffee — homepage (Onyx-inspired, 100% Costa Rica) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --lnueve-forest: #0c2418;
  --lnueve-leaf: #1f6b4a;
  --lnueve-leaf-deep: #145239;
  --lnueve-ink: #152018;
  --lnueve-muted: #5c6b60;
  --lnueve-sand: #d7c4a3;
  --lnueve-white: #fbfdfb;
  --lnueve-display: 'Cormorant Garamond', Georgia, serif;
  --lnueve-sans: 'Figtree', 'Segoe UI', sans-serif;
}

body.common-home {
  font-family: var(--lnueve-sans);
  color: var(--lnueve-ink);
  background: #fff;
}

body.common-home #top {
  background: rgba(8, 22, 15, 0.94);
  border-bottom: 0;
  margin-bottom: 0;
  min-height: 34px;
}

body.common-home #top .btn-link,
body.common-home #top-links li,
body.common-home #top-links a {
  color: rgba(251, 253, 251, 0.78);
  text-shadow: none;
  font-size: 12px;
}

body.common-home #top .btn-link:hover,
body.common-home #top-links a:hover {
  color: var(--lnueve-sand);
}

body.common-home header {
  background: var(--lnueve-forest);
  padding: 10px 0 6px;
  border-bottom: 0;
}

body.common-home #logo {
  margin: 0;
}

body.common-home #logo img {
  max-height: 64px;
  width: auto;
  background: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

body.information-information #logo img {
  max-height: 64px;
  width: auto;
  background: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

body.common-home #search {
  margin-bottom: 0;
  opacity: 0.85;
}

body.common-home #search .input-lg {
  border: 1px solid rgba(232, 239, 233, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--lnueve-white);
  box-shadow: none;
  height: 36px;
}

body.common-home #search .input-lg::placeholder {
  color: rgba(251, 253, 251, 0.45);
}

body.common-home #search .btn-lg {
  background: transparent;
  border: 1px solid rgba(215, 196, 163, 0.35);
  color: var(--lnueve-sand);
  text-shadow: none;
  padding: 8px 18px;
}

body.common-home #cart {
  margin-bottom: 0;
}

body.common-home #cart > .btn {
  background: transparent;
  border: 1px solid rgba(215, 196, 163, 0.4);
  color: var(--lnueve-sand);
  text-shadow: none;
  padding: 8px 14px;
}

body.common-home #menu {
  background: rgba(8, 22, 15, 0.98);
  background-image: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  min-height: 44px;
  width: 100%;
}

body.common-home #menu > .container {
  max-width: 1140px;
}

body.common-home #menu .nav > li > a {
  font-family: var(--lnueve-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.9);
}

body.common-home .swiper-viewport,
body.common-home .swiper-pager,
body.common-home .swiper-pagination {
  display: none !important;
}

.lnueve-home {
  overflow: hidden;
}

/* —— Hero (centered, immersive) —— */
.lnueve-hero {
  position: relative;
  min-height: calc(100vh - 150px);
  max-height: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--lnueve-white);
  background-color: var(--lnueve-forest);
  background-image:
    linear-gradient(180deg, rgba(8, 22, 15, 0.35) 0%, rgba(8, 22, 15, 0.45) 45%, rgba(8, 22, 15, 0.82) 100%),
    var(--lnueve-hero-image);
  background-size: cover;
  background-position: center 30%;
}

.lnueve-hero__inner--center {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 88px;
  animation: lnueve-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lnueve-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lnueve-sand);
  margin: 0 0 18px;
}

.lnueve-hero__brand {
  font-family: var(--lnueve-display);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}

.lnueve-hero__brand span {
  display: block;
  font-size: 0.38em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.12em;
}

.lnueve-hero__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto 28px;
  color: rgba(251, 253, 251, 0.9);
}

.lnueve-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lnueve-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lnueve-link-cta:hover {
  color: var(--lnueve-sand) !important;
  border-bottom-color: var(--lnueve-sand);
  transform: translateX(3px);
}

.lnueve-link-cta--light {
  color: var(--lnueve-sand) !important;
  border-bottom-color: rgba(215, 196, 163, 0.55);
}

.lnueve-link-cta--light:hover {
  color: #fff !important;
  border-bottom-color: #fff;
}

.lnueve-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  padding-bottom: 18px;
}

.lnueve-hero__scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 14px;
  background: rgba(215, 196, 163, 0.9);
  transform: translateX(-50%);
  animation: lnueve-pulse 2.2s ease-in-out infinite;
}

/* —— Collections (Costa Rica analogue to origin countries) —— */
.lnueve-collections {
  background: #fff;
  padding: clamp(56px, 8vw, 96px) 0 24px;
}

.lnueve-collections__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.lnueve-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lnueve-sand);
  margin: 0 0 12px;
}

.lnueve-kicker--dark {
  color: var(--lnueve-leaf);
}

.lnueve-collections__intro h2,
.lnueve-shop__intro h2 {
  font-family: var(--lnueve-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  color: var(--lnueve-ink);
  margin: 0 0 12px;
  line-height: 1.1;
}

.lnueve-collections__intro p,
.lnueve-shop__intro p {
  color: var(--lnueve-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.lnueve-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.lnueve-collection {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 22, 15, 0.15) 0%, rgba(8, 22, 15, 0.82) 100%),
    var(--lnueve-collection-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lnueve-collection:hover {
  transform: translateY(-4px);
}

.lnueve-collection__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lnueve-sand);
  margin-bottom: 8px;
}

.lnueve-collection__title {
  font-family: var(--lnueve-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
}

.lnueve-collection__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  max-width: 28ch;
}

.lnueve-collection__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  align-self: flex-start;
  padding-bottom: 3px;
}

/* —— Origin —— */
.lnueve-origin {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  margin-top: 48px;
  background: var(--lnueve-forest);
  color: var(--lnueve-white);
}

.lnueve-origin__media {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.lnueve-origin__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px);
}

.lnueve-origin__copy h2 {
  font-family: var(--lnueve-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
}

.lnueve-origin__copy p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(251, 253, 251, 0.88);
  max-width: 34rem;
  margin: 0 0 28px;
}

.lnueve-origin.is-inview .lnueve-origin__copy,
.lnueve-origin.is-inview .lnueve-origin__media {
  animation: lnueve-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lnueve-origin.is-inview .lnueve-origin__media {
  animation-delay: 0.08s;
}

/* —— Featured shop —— */
.lnueve-shop {
  padding: clamp(56px, 8vw, 96px) 0 32px;
  background: #fff;
}

.lnueve-shop__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

body.common-home #common-home #content {
  min-height: 0;
  padding: 0;
}

body.common-home #common-home #content > h3 {
  display: none;
}

body.common-home #common-home .product-layout {
  margin-bottom: 28px;
}

body.common-home #common-home .product-thumb {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 12px;
  overflow: visible;
}

body.common-home #common-home .product-thumb .image {
  background: #f3f6f3;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.common-home #common-home .product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.common-home #common-home .product-thumb:hover .image img {
  transform: scale(1.05);
}

body.common-home #common-home .product-thumb .caption {
  min-height: 0;
  padding: 0;
  text-align: left;
}

body.common-home #common-home .product-thumb .caption h4 {
  font-family: var(--lnueve-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}

body.common-home #common-home .product-thumb .caption h4 a {
  color: var(--lnueve-ink);
}

body.common-home #common-home .product-thumb .caption h4 a:hover {
  color: var(--lnueve-leaf);
}

body.common-home #common-home .product-thumb .caption > p:not(.price) {
  color: var(--lnueve-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.common-home #common-home .product-thumb .price {
  color: var(--lnueve-ink);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

body.common-home #common-home .product-thumb .price-old {
  color: #8a958d;
  font-weight: 500;
}

body.common-home #common-home .product-thumb .price-tax {
  display: none;
}

body.common-home #common-home .product-thumb .button-group {
  border: 0;
  background: transparent;
  overflow: visible;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

body.common-home #common-home .product-thumb .button-group button {
  background: var(--lnueve-forest);
  border: 0;
  color: #fff;
  width: auto;
  flex: 1;
  min-height: 42px;
  border-radius: 0;
  font-family: var(--lnueve-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.common-home #common-home .product-thumb .button-group button + button {
  border-left: 0;
  flex: 0 0 42px;
  background: transparent;
  color: var(--lnueve-forest);
  border: 1px solid rgba(12, 36, 24, 0.2);
}

body.common-home #common-home .product-thumb .button-group button:hover {
  background: var(--lnueve-leaf);
  color: #fff;
}

body.common-home #common-home .product-thumb .button-group button + button:hover {
  background: rgba(12, 36, 24, 0.05);
  color: var(--lnueve-forest);
}

/* —— Closing —— */
.lnueve-closing {
  margin: 24px 0 0;
  padding: clamp(64px, 10vw, 110px) 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 22, 15, 0.55), rgba(8, 22, 15, 0.88)),
    var(--lnueve-closing-image);
  background-size: cover;
  background-position: center;
  color: var(--lnueve-white);
}

.lnueve-closing h2 {
  font-family: var(--lnueve-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}

.lnueve-closing p {
  max-width: 30rem;
  margin: 0 auto 28px;
  color: rgba(251, 253, 251, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
}

body.common-home footer {
  margin-top: 0;
  background: #08160f;
  border-top: 1px solid rgba(215, 196, 163, 0.12);
}

body.common-home footer h5 {
  font-family: var(--lnueve-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@keyframes lnueve-rise {
  from {
    opacity: 0.25;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lnueve-pulse {
  0%,
  100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-50%) scaleY(0.65);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .lnueve-collections__grid {
    grid-template-columns: 1fr;
  }

  .lnueve-collection {
    min-height: 320px;
  }

  .lnueve-origin {
    grid-template-columns: 1fr;
  }

  .lnueve-origin__media {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .lnueve-hero {
    min-height: 78vh;
  }

  .lnueve-hero__inner--center {
    padding: 48px 20px 72px;
  }

  body.common-home #logo img {
    max-height: 48px;
  }

  body.common-home #search {
    display: none;
  }

  body.common-home #common-home .product-thumb .button-group button span {
    display: inline !important;
  }
}
