/* Homepage Dynamic Blocks Styles */

/* ==================== LOADING STATE ==================== */

#homepage-blocks {
  min-height: 100vh;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  font-family: 'Montserrat', sans-serif;
  color: #666;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==================== VIDEO LOADING SPINNER ==================== */

.video-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 5;
}

/* ==================== VIDEO PLAY OVERLAY ==================== */

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.video-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #1a1a1a;
  font-size: 2rem;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px; /* Optical alignment for play icon */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.video-play-button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .video-play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    padding-left: 4px;
  }
}

/* ==================== HERO BLOCK ==================== */

.hero-block {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-video,
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Focus positioning support */
.hero-video[data-focus="top"],
.hero-image[data-focus="top"] {
  object-position: center top;
}

.hero-video[data-focus="bottom"],
.hero-image[data-focus="bottom"] {
  object-position: center bottom;
}

.hero-video[data-focus="center"],
.hero-image[data-focus="center"] {
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Minimal overlay - just for nav contrast, per wireframe hero is video only */
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  margin-bottom: 4rem;
  max-width: 800px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin: 0 0 2rem;
  letter-spacing: 0.03em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.5; }
}

/* ==================== LINE BANNER BLOCK ==================== */

.line-banner-block {
  position: relative;
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Desktop: 80vh height for prominence */
@media (min-width: 769px) {
  .line-banner-block {
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
  }
}

/* Mobile: aspect ratio for better mobile experience */
@media (max-width: 768px) {
  .line-banner-block {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 500px;
  }
}

.line-banner-video,
.line-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
}

/* Focus positioning support */
.line-banner-video[data-focus="top"],
.line-banner-image[data-focus="top"] {
  object-position: center top;
}

.line-banner-video[data-focus="bottom"],
.line-banner-image[data-focus="bottom"] {
  object-position: center bottom;
}

.line-banner-video[data-focus="center"],
.line-banner-image[data-focus="center"] {
  object-position: center center;
}

.line-banner-block:hover .line-banner-video,
.line-banner-block:hover .line-banner-image {
  transform: scale(1.05);
}

.line-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.line-banner-block:hover .line-banner-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.line-banner-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  z-index: 2;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.line-banner-block:hover .line-banner-content {
  opacity: 1;
  transform: translateY(0);
}

.line-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.line-banner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.02em;
}

.line-banner-arrow {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 2;
  font-size: 2rem;
  color: white;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.line-banner-block:hover .line-banner-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .line-banner-content,
  .line-banner-arrow {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
  }

  .line-banner-content {
    opacity: 1;
    transform: translateY(0);
  }

  .line-banner-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==================== PRODUCTS GRID BLOCK ==================== */

.products-grid-block {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.products-grid-block .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-grid-block .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.products-grid-block .section-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  margin: 0;
  color: #666;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .products-grid-block {
    padding: 4rem 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==================== PRODUCT CARD ==================== */

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 1;
}

/* Bronze palette for all statuses */
.product-badge.prelaunch {
  background: #B8956A; /* warm bronze */
}

.product-badge.soldout {
  background: #8B7355; /* muted bronze */
}

.product-badge.active {
  background: #C9A961; /* gold bronze */
}

.product-card-info {
  text-align: center;
}

.product-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.5rem;
}

.product-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #1a1a1a;
}

.product-card-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: #666;
  margin: 0 0 1rem;
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.product-price .prelaunch-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #2196F3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-price .price-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.product-price .current-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2196F3;
}

.product-price .original-price {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  text-decoration: line-through;
}

/* ==================== TEXT BLOCK ==================== */

.text-block {
  padding: 6rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.text-block-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: #1a1a1a;
}

.text-block-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: #666;
  margin: 0 0 2rem;
}

@media (max-width: 768px) {
  .text-block {
    padding: 4rem 1.5rem;
  }
}

/* ==================== EXPLORE BUTTON ==================== */

.explore-button-container {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.explore-button-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.explore-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1.5rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.explore-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.explore-text {
  display: block;
}

.explore-arrow {
  display: block;
  font-size: 1.5rem;
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 768px) {
  .explore-button-container {
    bottom: 2rem;
  }

  .explore-button {
    padding: 1rem 2rem;
    font-size: 0.75rem;
  }
}

/* ==================== LINES SECTION REVEAL ==================== */

.lines-section-reveal {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
}

.lines-section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.lines-section-reveal .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lines-section-reveal .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.lines-section-reveal .section-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  margin: 0;
  color: #666;
}

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

@media (max-width: 768px) {
  .lines-section-reveal {
    padding: 4rem 1.5rem;
  }

  .lines-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==================== LINE REVEAL CARD ==================== */

.line-reveal-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
}

/* Desktop aspect ratio 16:9 */
@media (min-width: 769px) {
  .line-reveal-card {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 300px;
  }
}

/* Mobile aspect ratio 4:3 */
@media (max-width: 768px) {
  .line-reveal-card {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 250px;
  }
}

.line-reveal-video,
.line-reveal-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
}

.line-reveal-card:hover .line-reveal-video,
.line-reveal-card:hover .line-reveal-image {
  transform: scale(1.05);
}

.line-reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.line-reveal-card:hover .line-reveal-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.line-reveal-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  color: white;
}

.line-reveal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.line-reveal-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.02em;
}

.line-reveal-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  font-size: 2rem;
  color: white;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.line-reveal-card:hover .line-reveal-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .line-reveal-content,
  .line-reveal-arrow {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  .line-reveal-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==================== VIDEO DARKENING ON REVEAL ==================== */

.hero-block.revealing .hero-overlay,
.line-banner-block.revealing .line-banner-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s ease;
}

/* ==================== LINES BANNER SECTION ==================== */

.lines-banner-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (max-width: 768px) {
  .lines-banner-section {
    height: 85vh;
    min-height: 400px;
  }
}

.lines-banner-video,
.lines-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.lines-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.lines-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.lines-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: white;
}

.lines-banner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin: 0 0 2rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

/* ==================== ATELIER BANNER SECTION ==================== */

.atelier-banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (max-width: 768px) {
  .atelier-banner-section {
    height: 100vh;
    min-height: 500px;
  }
}

.atelier-banner-video,
.atelier-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.atelier-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.atelier-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.atelier-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: white;
}

.atelier-banner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin: 0 0 2rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

/* ==================== BANNER BUTTONS OVERRIDE ==================== */
/* Ensure consistent button styling on all banners */

.lines-banner-section .btn,
.atelier-banner-section .btn,
.hero-block .btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid white;
  background: transparent;
  color: white;
  transition: all 0.3s ease;
}

.lines-banner-section .btn:hover,
.atelier-banner-section .btn:hover,
.hero-block .btn:hover {
  background: white;
  color: #1a1a1a;
}

/* ==================== CAPSULES SECTION ==================== */

.capsules-section {
  padding: 2rem 0;
  max-width: 100%;
  margin: 0 auto;
  background: #fafafa;
  overflow: hidden;
}

@media (max-width: 768px) {
  .capsules-section {
    padding: 1.5rem 0;
  }
}

.capsules-section .section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.capsules-section .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #1a1a1a;
}

.capsules-section .section-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
  color: #666;
  letter-spacing: 0.02em;
}

.capsules-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 0 2rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.capsules-grid::after {
  content: '';
  flex: 0 0 1px;
}

.capsules-grid::-webkit-scrollbar {
  height: 4px;
}

.capsules-grid::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 2px;
}

.capsules-grid::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 2px;
}

.capsules-grid .capsule-card {
  flex: 0 0 calc(28% - 1rem);
  min-width: 260px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .capsules-grid {
    gap: 1rem;
    padding: 0 1.5rem 1rem;
    scrollbar-width: none;
  }

  .capsules-grid::-webkit-scrollbar {
    display: none;
  }

  .capsules-grid .capsule-card {
    flex: 0 0 75vw;
    min-width: unset;
    max-width: 280px;
  }
}

/* ==================== CAPSULE CARD ==================== */

.capsule-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.capsule-card:hover {
  transform: translateY(-4px);
}

.capsule-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.capsule-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.capsule-image--main {
  opacity: 1;
}

.capsule-image--secondary {
  opacity: 0;
}

/* Hover: show secondary image */
.capsule-card[data-has-secondary="true"]:hover .capsule-image--main {
  opacity: 0;
}

.capsule-card[data-has-secondary="true"]:hover .capsule-image--secondary {
  opacity: 1;
}

/* Fallback zoom if no secondary image */
.capsule-card:not([data-has-secondary="true"]):hover .capsule-image--main {
  transform: scale(1.05);
}

/* Status badge - minimalist style */
.capsule-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  backdrop-filter: blur(4px);
}

/* Bronze palette for capsule badges */
.capsule-badge--prelaunch {
  background: #B8956A;
  color: #fff;
}

.capsule-badge--active {
  background: #C9A961;
  color: #fff;
}

.capsule-badge--soldout {
  background: #8B7355;
  color: #fff;
}

.capsule-badge--archived {
  background: #7A6B50;
  color: #fff;
}

/* Card info */
.capsule-card-info {
  text-align: center;
}

.capsule-line {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.25rem;
}

.capsule-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .capsule-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }

  .capsule-name {
    font-size: 1rem;
  }
}

