/* =========================================================================
   N-EXTRAS – Elementor Widget Styles
   Add-on services grid (fotomatón, DJ, álbumes, etc.), optionally grouped
   by category, displayed below the service packages section.
   ========================================================================= */

.n-extras {
  --vf-reveal-distance: 24px;
  --vf-reveal-duration: 0.82s;
  --vf-reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 100%;
  background: var(--vf-color-bg, #fff);
  overflow: hidden;
}

.n-extras__inner {
  width: min(100%, var(--vf-max-width, 1500px));
  margin: 0 auto;
  padding: 0 var(--vf-section-gutter, clamp(1.5rem, 3vw, 4rem));
}

.n-extras__header {
  max-width: 48rem;
  margin: 0 auto clamp(2.75rem, 5vw, 4.5rem);
  text-align: center;
}

.n-extras__eyebrow {
  display: inline-block;
  margin-bottom: var(--vf-section-eyebrow-gap, 1.25rem);
  font-family: var(--vf-font-body, 'Montserrat', sans-serif);
  font-size: var(--vf-section-eyebrow-size, clamp(0.65rem, 0.9vw, 0.8rem));
  letter-spacing: var(--vf-tracking-wider, 0.25em);
  text-transform: uppercase;
  color: #8f755f;
}

.n-extras__heading {
  margin: 0 0 var(--vf-section-heading-gap, 1.5rem);
  font-family: var(--vf-font-heading, 'Cormorant Garamond', serif);
  font-size: var(--vf-section-heading-size, clamp(2rem, 3.8vw, 3.9rem));
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: var(--vf-section-heading-tracking, 0.12em);
  text-transform: uppercase;
  color: var(--vf-color-primary, #1a1a1a);
}

.n-extras__intro {
  margin: 0;
  font-family: var(--vf-font-body, 'Montserrat', sans-serif);
  font-size: var(--vf-section-copy-size, clamp(0.92rem, 1.1vw, 1rem));
  line-height: var(--vf-section-copy-line-height, 1.85);
  color: #4e4138;
}

.n-extras__group {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.n-extras__group:last-child {
  margin-bottom: 0;
}

.n-extras__grid {
  --nextras-grid-columns: 2;
  display: grid;
  grid-template-columns: repeat(var(--nextras-grid-columns), minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: start;
}

.n-extras__card {
  min-width: 0;
  background: var(--vf-color-bg-alt, #f9f8f6);
  border: 1px solid rgba(26, 26, 26, 0.1);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}

.n-extras__card-title {
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  font-family: var(--vf-font-body, 'Montserrat', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f755f;
}

.n-extras__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.n-extras__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  font-family: var(--vf-font-body, 'Montserrat', sans-serif);
}

.n-extras__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.n-extras__item-name {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4e4138;
}

.n-extras__item-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.n-extras__eyebrow,
.n-extras__heading,
.n-extras__intro {
  opacity: 0;
  transform: translate3d(0, var(--vf-reveal-distance), 0);
  transition:
    opacity var(--vf-reveal-duration) var(--vf-reveal-ease),
    transform var(--vf-reveal-duration) var(--vf-reveal-ease);
  will-change: opacity, transform;
}

.n-extras.is-visible .n-extras__eyebrow,
.n-extras.is-visible .n-extras__heading,
.n-extras.is-visible .n-extras__intro {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.n-extras.is-visible .n-extras__eyebrow {
  transition-delay: 0.05s;
}

.n-extras.is-visible .n-extras__heading {
  transition-delay: 0.15s;
}

.n-extras.is-visible .n-extras__intro {
  transition-delay: 0.25s;
}

@media (max-width: 1024px) {
  .n-extras__grid {
    --nextras-grid-columns: 2;
  }
}

@media (max-width: 600px) {
  .n-extras__grid {
    --nextras-grid-columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .n-extras__eyebrow,
  .n-extras__heading,
  .n-extras__intro,
  .n-extras__card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.elementor-editor-active .n-extras__eyebrow,
.elementor-editor-active .n-extras__heading,
.elementor-editor-active .n-extras__intro {
  opacity: 1;
  transform: none;
}
