/* Homepage - Hero overlaps under fixed header */
[data-page="home"] main > *:first-child {
  padding-top: 0;
  margin-top: -90px;
}

[data-page="home"] .hero {
  padding-top: 90px;
}

/* Homepage - Traditional hero with background image + wave design */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream) url('https://shop.lasermumuk.co.uk/wp-content/uploads/2026/03/Untitled-design-25.png') center bottom / cover no-repeat;
  background-attachment: fixed;
  overflow: visible;
}

@media (max-width: 767px) {
  .hero {
    background-attachment: scroll;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 44rem;
  padding: var(--space-xl) var(--space-md);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 0 2px rgba(0, 0, 0, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 24px rgba(0, 0, 0, 0.7),
    0 8px 48px rgba(0, 0, 0, 0.5);
}

.hero-title-accent {
  display: block;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-top: 0.15em;
  opacity: 0.98;
}

.hero-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.98);
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content .btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  box-shadow: var(--shadow-md);
}

.hero-content .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(255, 90, 95, 0.4);
}

/* Wave dividers */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 2;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 2px);
  height: 80px;
  animation: wave-motion 12s ease-in-out infinite;
}

.wave-hero {
  bottom: -1px;
}

.wave-hero svg {
  height: 100px;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0) scaleX(1); }
  50% { transform: translateX(-2%) scaleX(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .wave svg { animation: none; }
}

/* Sections - modern layout */
.categories {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.categories-inner {
  max-width: 1100px;
}

.categories-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.categories-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin: 0 0 var(--space-sm);
}

.categories .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.categories .section-title::after {
  display: none;
}

.categories .section-subtitle {
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.featured {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream-dark) 100%);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.5rem);
  margin: 0 0 var(--space-sm);
  text-align: center;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--color-charcoal-light);
  font-size: 1rem;
  margin: 0 0 var(--space-xl);
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin: var(--space-md) auto 0;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-terracotta-light));
  border-radius: var(--radius-full);
}

/* Category tiles - premium card design */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 200px;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  text-align: left;
  box-shadow: 0 4px 32px rgba(60, 60, 60, 0.06), 0 0 0 1px rgba(60, 60, 60, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-terracotta-light));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-tile-beads::after {
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.06) 0%, transparent 60%);
}

.category-tile-prints::after {
  background: linear-gradient(135deg, rgba(8, 126, 139, 0.06) 0%, transparent 60%);
}

.category-tile-laser::after {
  background: linear-gradient(135deg, rgba(60, 60, 60, 0.04) 0%, transparent 60%);
}

.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.category-tile:hover {
  box-shadow: 0 20px 48px rgba(60, 60, 60, 0.1), 0 0 0 1px rgba(255, 90, 95, 0.15);
  transform: translateY(-6px);
}

.category-tile:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.category-tile:hover::after {
  opacity: 1;
}

.category-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.12) 0%, rgba(255, 90, 95, 0.05) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-tile-prints .category-icon-wrap {
  background: linear-gradient(135deg, rgba(8, 126, 139, 0.12) 0%, rgba(8, 126, 139, 0.05) 100%);
}

.category-tile-laser .category-icon-wrap {
  background: linear-gradient(135deg, rgba(60, 60, 60, 0.1) 0%, rgba(60, 60, 60, 0.04) 100%);
}

.category-tile:hover .category-icon-wrap {
  transform: scale(1.05);
}

.category-icon {
  color: var(--color-terracotta);
  display: block;
}

.category-tile-prints .category-icon {
  color: var(--color-teal);
}

.category-tile-laser .category-icon {
  color: var(--color-charcoal);
}

.category-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}

.category-tile:hover .category-name {
  color: var(--color-terracotta);
}

.category-tile-prints:hover .category-name {
  color: var(--color-teal);
}

.category-desc {
  font-size: 0.9375rem;
  color: var(--color-charcoal-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.category-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-terracotta);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.category-tile-prints .category-arrow {
  color: var(--color-teal);
}

.category-tile:hover .category-arrow {
  gap: 0.6rem;
  color: var(--color-terracotta-light);
}

.category-tile-prints:hover .category-arrow {
  color: var(--color-teal);
}

.category-arrow svg {
  flex-shrink: 0;
}

/* Featured products - modern cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 768px) {
  .hero { min-height: 75vh; }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}

.section-cta {
  text-align: center;
  margin: var(--space-xl) 0 0;
}

.section-cta .btn-primary:hover {
  transform: translateY(-2px);
}

/* Featured product cards - modern style */
.featured .product-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(60, 60, 60, 0.05);
  box-shadow: 0 4px 24px rgba(60, 60, 60, 0.05);
}

.featured .product-card:hover {
  box-shadow: 0 16px 48px rgba(60, 60, 60, 0.08);
}

.featured .product-card-image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.featured .product-card-body {
  padding: var(--space-md) var(--space-lg);
}
