/**
 * J'allète Landing Page Styles
 * "Lait's be stylish" - Mode responsable, fabrication marocaine
 */

/* =============================================================================
   BASE STYLES
   ============================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =============================================================================
   HANDWRITTEN ACCENTS - Personal, warm touches
   ============================================================================= */

.jal-handwritten {
  font-family: var(--st-font-handwritten);
  font-weight: 600;
  font-size: 1.15em;
  color: var(--st-accent);
  letter-spacing: 0.02em;
}

.jal-handwritten--inline {
  font-size: 1.1em;
  display: inline;
}

.jal-handwritten--light {
  color: inherit;
  opacity: 0.95;
}

/* Hero handwritten is bigger */
.jal-hero__title .jal-handwritten {
  font-size: 1.1em;
  display: inline-block;
  transform: rotate(-2deg);
  position: relative;
}

.jal-hero__title .jal-handwritten::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--jal-rose);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(1deg);
}

.jal-hero__subtitle .jal-handwritten {
  color: var(--st-accent);
}

/* Section titles */
.jal-section__title .jal-handwritten {
  transform: rotate(-1deg);
  display: inline-block;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--st-font-sans);
  font-size: var(--st-text-body);
  line-height: 1.6;
  color: var(--st-text);
  background: var(--st-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =============================================================================
   JAL-NAV
   ============================================================================= */

.jal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.jal-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--st-space-sm) var(--st-space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jal-nav__logo {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--st-text);
  letter-spacing: 0.02em;
}

.jal-nav__logo img {
  height: 32px;
  width: auto;
}

.jal-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--st-space-md);
}

.jal-nav__actions a {
  color: var(--st-text-muted);
  font-weight: 500;
  font-size: var(--st-text-small);
  transition: color var(--st-duration-fast);
}

.jal-nav__actions a:hover {
  color: var(--st-accent);
}

.jal-nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--st-text);
  border-radius: var(--st-radius-md);
  transition: background var(--st-duration-fast);
}

.jal-nav__cart:hover {
  background: var(--st-bg-surface);
}

.jal-nav__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--st-radius-full);
  padding: 0 5px;
}

/* =============================================================================
   JAL-HERO
   ============================================================================= */

/* Hero - Full-bleed immersive style */
.jal-hero-wrapper {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.jal-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.jal-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--st-space-sm);
  max-width: 560px;
  margin-left: clamp(24px, 8vw, 120px);
  background: rgba(255, 251, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--st-space-lg) var(--st-space-lg) var(--st-space-md);
  border-radius: var(--st-radius-lg);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

.jal-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--st-accent);
  color: white;
  font-family: var(--st-font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 4px;
  width: fit-content;
}

.jal-hero__title {
  font-family: var(--st-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--st-text);
  margin-top: var(--st-space-sm);
}

.jal-hero__title em {
  font-style: normal;
  color: var(--st-accent);
}

.jal-hero__subtitle {
  font-size: var(--st-text-body);
  color: var(--st-text-muted);
  line-height: 1.6;
  margin-top: var(--st-space-xs);
}

.jal-hero__cta {
  display: flex;
  gap: var(--st-space-sm);
  flex-wrap: wrap;
  margin-top: var(--st-space-md);
}

.jal-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.jal-hero__image-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.jal-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Subtle gradient overlay for readability */
.jal-hero__image-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 251, 248, 0.3) 0%,
    rgba(255, 251, 248, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

/* =============================================================================
   JAL-TRUST-BAR
   ============================================================================= */

.jal-trust-bar {
  background: #fafafa;
  padding: 20px;
}

.jal-trust-bar__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.jal-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
}

.jal-trust-bar__icon {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

/* =============================================================================
   JAL-SECTION
   ============================================================================= */

.jal-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.jal-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.jal-section__tag {
  display: inline-block;
  color: var(--st-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.jal-section__title {
  font-family: var(--st-font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--st-text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.jal-section__desc {
  font-size: 16px;
  color: var(--st-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.jal-section__content {
  display: grid;
  gap: 24px;
}

/* =============================================================================
   JAL-PACK-CARD
   ============================================================================= */

.jal-pack-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.jal-pack-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.jal-pack-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: var(--st-text);
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 4px;
}

/* Best offer badge */
.jal-pack-card--featured .jal-pack-card__badge {
  background: var(--st-accent);
}

.jal-pack-card__image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
}

.jal-pack-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jal-pack-card:hover .jal-pack-card__image img {
  transform: scale(1.03);
}

/* Quickview hover overlay */
.jal-pack-card__quickview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 52, 54, 0.6);
  opacity: 0;
  transition: opacity var(--st-duration-fast);
}

.jal-pack-card__quickview span {
  background: white;
  color: var(--st-text);
  font-family: var(--st-font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--st-radius-full);
  transform: translateY(10px);
  transition: transform var(--st-duration-fast);
}

.jal-pack-card:hover .jal-pack-card__quickview {
  opacity: 1;
}

.jal-pack-card:hover .jal-pack-card__quickview span {
  transform: translateY(0);
}

.jal-pack-card__content {
  padding: 24px;
}

.jal-pack-card__title {
  font-family: var(--st-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--st-text);
  margin-bottom: 16px;
}

.jal-pack-card__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.jal-pack-card__pricing {
  margin-bottom: 20px;
}

.jal-pack-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.jal-pack-card__original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.jal-pack-card__price {
  font-family: var(--st-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--st-accent);
}

.jal-pack-card__savings {
  display: inline-block;
  color: #00a67d;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
}

.jal-pack-card__cta {
  display: flex;
}

.jal-pack-card__cta .jal-cta {
  flex: 1;
  justify-content: center;
  background: var(--st-accent);
}

.jal-pack-card__cta .jal-cta:hover {
  background: var(--st-accent-dark);
}

/* =============================================================================
   JAL-PACK-ITEM
   ============================================================================= */

.jal-pack-item {
  display: flex;
  align-items: center;
  gap: var(--st-space-xs);
  font-size: var(--st-text-small);
}

.jal-pack-item__check {
  color: var(--jal-success, #00B894);
  font-weight: 600;
}

.jal-pack-item__text {
  flex: 1;
  color: var(--st-text);
}

.jal-pack-item__price {
  color: var(--st-text-muted);
  font-size: var(--st-text-caption);
}

/* =============================================================================
   JAL-FEATURE
   ============================================================================= */

.jal-feature {
  text-align: center;
  padding: 24px 16px;
}

.jal-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: #f5f5f5;
  border-radius: 12px;
}

.jal-feature__icon img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.jal-feature__title {
  font-family: var(--st-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--st-text);
  margin-bottom: 8px;
}

.jal-feature__desc {
  font-size: 14px;
  color: var(--st-text-muted);
  line-height: 1.6;
}

/* =============================================================================
   JAL-TESTIMONIAL
   ============================================================================= */

.jal-testimonial {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.jal-testimonial__stars {
  color: var(--st-accent);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.jal-testimonial__quote {
  font-size: 15px;
  color: var(--st-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.jal-testimonial__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jal-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.jal-testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jal-testimonial__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jal-testimonial__name {
  font-family: var(--st-font-sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-text);
}

.jal-testimonial__role {
  font-size: 12px;
  color: var(--st-text-muted);
}

/* =============================================================================
   JAL-CTA-SECTION
   ============================================================================= */

.jal-cta-section {
  background: var(--st-text);
  padding: 80px 24px;
}

.jal-cta-section__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.jal-cta-section__title {
  font-family: var(--st-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.jal-cta-section__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

.jal-cta-section__cta .jal-cta {
  background: white;
  color: var(--st-text);
}

.jal-cta-section__cta .jal-cta:hover {
  background: #f5f5f5;
}

/* =============================================================================
   JAL-CTA (Button)
   ============================================================================= */

.jal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--st-text);
  color: white;
  font-family: var(--st-font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.jal-cta:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.jal-cta:active {
  transform: translateY(0);
}

.jal-cta__arrow {
  transition: transform 0.2s ease;
}

.jal-cta:hover .jal-cta__arrow {
  transform: translateX(3px);
}

/* Primary accent variant */
.jal-cta[data-variant="primary"] {
  background: var(--st-accent);
}

.jal-cta[data-variant="primary"]:hover {
  background: var(--st-accent-dark);
}

/* Secondary variant */
.jal-cta[data-variant="secondary"] {
  background: transparent;
  color: var(--st-text);
  border: 1.5px solid var(--st-border);
}

.jal-cta[data-variant="secondary"]:hover {
  border-color: var(--st-text);
  background: transparent;
}

/* Large variant */
.jal-cta[data-size="large"] {
  font-size: 15px;
  padding: 16px 32px;
}

/* Full width */
.jal-cta[data-full] {
  width: 100%;
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.jal-bg-subtle {
  background: #fafafa;
}

/* =============================================================================
   JAL-FOOTER
   ============================================================================= */

.jal-footer {
  background: var(--st-bg-surface);
  border-top: 1px solid var(--st-border);
  padding: var(--st-space-lg) var(--st-space-md) var(--st-space-md);
}

.jal-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--st-space-md);
  margin-bottom: var(--st-space-md);
}

.jal-footer__brand {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--st-text);
}

.jal-footer__tagline {
  font-size: var(--st-text-small);
  color: var(--st-text-muted);
  font-style: italic;
  margin-top: 4px;
}

.jal-footer__links {
  display: flex;
  gap: var(--st-space-md);
}

.jal-footer__links a {
  font-size: var(--st-text-small);
  color: var(--st-text-muted);
  transition: color var(--st-duration-fast);
}

.jal-footer__links a:hover {
  color: var(--st-accent);
}

.jal-footer__social {
  display: flex;
  gap: var(--st-space-sm);
}

.jal-footer__social > div {
  display: flex;
  gap: var(--st-space-sm);
}

.jal-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--st-bg);
  border-radius: var(--st-radius-md);
  color: var(--st-text-muted);
  transition: all var(--st-duration-fast);
}

.jal-footer__social a:hover {
  background: var(--st-accent);
  color: white;
}

.jal-footer__social a img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: all var(--st-duration-fast);
}

.jal-footer__social a:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.jal-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--st-space-md);
  border-top: 1px solid var(--st-border);
}

.jal-footer__copyright {
  font-size: var(--st-text-caption);
  color: var(--st-text-muted);
  text-align: center;
}

/* =============================================================================
   JAL-STICKY-CTA (Mobile)
   ============================================================================= */

.jal-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--st-bg);
  border-top: 1px solid var(--st-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--st-space-sm) var(--st-space-md);
  padding-bottom: calc(var(--st-space-sm) + env(safe-area-inset-bottom, 0));
}

.jal-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--st-space-md);
}

.jal-sticky-cta__info {
  display: flex;
  flex-direction: column;
}

.jal-sticky-cta__label {
  font-size: var(--st-text-caption);
  color: var(--st-text-muted);
}

.jal-sticky-cta__price {
  font-family: var(--st-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--st-accent);
}

.jal-sticky-cta__button {
  flex: 1;
  max-width: 200px;
}

.jal-sticky-cta__button .jal-cta {
  width: 100%;
}

/* =============================================================================
   JAL-CART (Drawer)
   ============================================================================= */

.jal-cart {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.jal-cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.jal-cart__drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--st-bg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--st-shadow-lg);
}

.jal-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--st-space-md);
  border-bottom: 1px solid var(--st-border);
}

.jal-cart__title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-h3);
  font-weight: 600;
  color: var(--st-text);
}

.jal-cart__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-text-muted);
  border-radius: var(--st-radius-md);
  transition: all var(--st-duration-fast);
}

.jal-cart__close:hover {
  background: var(--st-bg-surface);
  color: var(--st-text);
}

.jal-cart__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--st-space-md);
}

.jal-cart__item {
  display: flex;
  align-items: center;
  gap: var(--st-space-sm);
  padding: var(--st-space-sm);
  background: var(--st-bg-surface);
  border-radius: var(--st-radius-md);
  margin-bottom: var(--st-space-sm);
}

.jal-cart__item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--st-radius-sm);
  overflow: hidden;
  background: var(--jal-rose-light);
}

.jal-cart__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jal-cart__item-info {
  flex: 1;
}

.jal-cart__item-title {
  font-family: var(--st-font-display);
  font-size: var(--st-text-body);
  font-weight: 600;
  color: var(--st-text);
}

.jal-cart__item-price {
  font-size: var(--st-text-small);
  color: var(--st-accent);
  font-weight: 600;
}

.jal-cart__item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-text-muted);
  border-radius: var(--st-radius-sm);
  transition: all var(--st-duration-fast);
}

.jal-cart__item-remove:hover {
  background: var(--jal-rose-light);
  color: var(--st-accent);
}

.jal-cart__empty {
  text-align: center;
  padding: var(--st-space-xl) var(--st-space-md);
  color: var(--st-text-muted);
}

.jal-cart__footer {
  padding: var(--st-space-md);
  border-top: 1px solid var(--st-border);
}

.jal-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--st-space-md);
  font-family: var(--st-font-display);
  font-size: var(--st-text-h3);
  font-weight: 600;
  color: var(--st-text);
}

.jal-cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--st-space-xs);
  width: 100%;
  background: var(--st-accent);
  color: white;
  font-family: var(--st-font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: var(--st-space-sm) var(--st-space-md);
  border-radius: var(--st-radius-md);
  transition: all var(--st-duration-fast);
}

.jal-cart__checkout:hover {
  background: var(--st-accent-light);
}

/* Cart transitions */
.jal-cart--entering .jal-cart__overlay {
  animation: fadeIn var(--st-duration-medium) var(--st-ease-out);
}

.jal-cart--entering .jal-cart__drawer {
  animation: slideInRight var(--st-duration-medium) var(--st-ease-out);
}

.jal-cart--leaving .jal-cart__overlay {
  animation: fadeOut var(--st-duration-fast) var(--st-ease-out);
}

.jal-cart--leaving .jal-cart__drawer {
  animation: slideOutRight var(--st-duration-fast) var(--st-ease-out);
}

/* =============================================================================
   JAL-LIGHTBOX
   ============================================================================= */

.jal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--st-space-md);
}

.jal-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.jal-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jal-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.7;
  transition: opacity var(--st-duration-fast);
  cursor: pointer;
}

.jal-lightbox__close:hover {
  opacity: 1;
}

/* =============================================================================
   JAL-QUICKVIEW - Product Modal (the new hotness!)
   ============================================================================= */

.jal-quickview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  max-height: 90vh;
  background: var(--st-bg);
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.jal-quickview__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--st-radius-full);
  color: var(--st-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all var(--st-duration-fast);
}

.jal-quickview__close:hover {
  background: var(--st-bg-surface);
  transform: scale(1.05);
}

.jal-quickview__image {
  position: relative;
  background: var(--st-bg-surface);
}

.jal-quickview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jal-quickview__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--st-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: 6px;
}

.jal-quickview__info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.jal-quickview__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jal-quickview__tag {
  font-family: var(--st-font-handwritten);
  font-size: 1.1rem;
  color: var(--st-accent);
}

.jal-quickview__title {
  font-family: var(--st-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--st-text);
  letter-spacing: -0.02em;
}

.jal-quickview__includes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jal-quickview__includes-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jal-quickview__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jal-quickview__items li {
  font-size: 15px;
  color: var(--st-text);
  padding: 8px 12px;
  background: var(--st-bg-surface);
  border-radius: 8px;
}

.jal-quickview__pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(135deg, var(--jal-rose-ultra-light) 0%, var(--jal-rose-light) 100%);
  border-radius: var(--st-radius-md);
}

.jal-quickview__prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.jal-quickview__original {
  font-size: 16px;
  color: var(--st-text-muted);
  text-decoration: line-through;
}

.jal-quickview__price {
  font-family: var(--st-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--st-accent);
}

.jal-quickview__savings {
  font-family: var(--st-font-handwritten);
  font-size: 1.1rem;
  color: var(--jal-success);
}

.jal-quickview__sizes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jal-quickview__sizes-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text-muted);
}

.jal-quickview__size-options {
  display: flex;
  gap: 8px;
}

.jal-quickview__size {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--st-border);
  border-radius: var(--st-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text);
  background: white;
  transition: all var(--st-duration-fast);
}

.jal-quickview__size:hover {
  border-color: var(--st-accent);
  color: var(--st-accent);
}

.jal-quickview__size--active {
  background: var(--st-accent);
  border-color: var(--st-accent);
  color: white;
}

.jal-quickview__cta {
  background: var(--st-accent);
  margin-top: 4px;
}

.jal-quickview__cta:hover {
  background: var(--st-accent-dark);
}

.jal-quickview__trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--st-border);
  font-size: 12px;
  color: var(--st-text-muted);
}

.jal-quickview__note {
  text-align: center;
  font-size: 15px;
  color: var(--st-accent);
}

/* Quickview transitions */
.jal-lightbox--entering .jal-quickview {
  animation: slideUp var(--st-duration-medium) var(--st-ease-out);
}

.jal-lightbox--leaving .jal-quickview {
  animation: slideDown var(--st-duration-fast) var(--st-ease-out);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
}

/* Quickview responsive */
@media (max-width: 768px) {
  .jal-quickview {
    grid-template-columns: 1fr;
    max-height: 95vh;
    margin: 16px;
    border-radius: var(--st-radius-md);
  }

  .jal-quickview__image {
    max-height: 280px;
  }

  .jal-quickview__info {
    padding: 24px;
  }

  .jal-quickview__title {
    font-size: 1.4rem;
  }

  .jal-quickview__trust {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Lightbox transitions */
.jal-lightbox--entering .jal-lightbox__overlay {
  animation: fadeIn var(--st-duration-medium) var(--st-ease-out);
}

.jal-lightbox--leaving .jal-lightbox__overlay {
  animation: fadeOut var(--st-duration-fast) var(--st-ease-out);
}

/* =============================================================================
   LAYOUT HELPERS
   ============================================================================= */

.jal-grid {
  display: grid;
  gap: var(--st-space-md);
}

.jal-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.jal-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.jal-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.jal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--st-space-md);
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes slideOutRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .jal-hero-wrapper {
    min-height: 100vh;
  }

  .jal-hero {
    height: 100vh;
    align-items: flex-end;
    padding-bottom: var(--st-space-lg);
  }

  .jal-hero__content {
    max-width: calc(100% - 32px);
    margin: 0 16px;
  }

  .jal-hero__image img {
    object-position: center top;
  }

  .jal-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .jal-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .jal-footer__links,
  .jal-footer__social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .jal-hero__title {
    font-size: var(--st-text-h1);
  }

  .jal-grid--2,
  .jal-grid--3,
  .jal-grid--4 {
    grid-template-columns: 1fr;
  }

  .jal-sticky-cta {
    display: block;
  }

  /* Add bottom padding to body for sticky CTA */
  body {
    padding-bottom: 80px;
  }

  .jal-trust-bar__inner {
    flex-direction: column;
    gap: var(--st-space-sm);
  }
}

@media (max-width: 480px) {
  .jal-nav__actions a:not(.jal-nav__cart) {
    display: none;
  }

  .jal-hero {
    padding-left: var(--st-space-sm);
    padding-right: var(--st-space-sm);
  }

  .jal-section {
    padding-left: var(--st-space-sm);
    padding-right: var(--st-space-sm);
  }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
