/* === Shared Drop Page Styles === */
/* Loaded by individual drop pages via <link slot="head"> */

/* Body text override for drop pages */
.body-text {
  margin-top: 1.25rem;
}

/* Drop hero */
.drop-hero {
  padding: 8rem 2.5rem 4rem;
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
}

/* Hero entrance animation */
.drop-identity,
.drop-hero h1,
.drop-subtitle,
.attribution,
.artisan-count {
  opacity: 0;
  transform: translateY(20px);
  animation: dropHeroIn 0.75s var(--ease-out) forwards;
}

.drop-identity { animation-delay: 0s; }
.drop-hero h1 { animation-delay: 0.06s; }
.drop-subtitle { animation-delay: 0.12s; }
.attribution { animation-delay: 0.18s; }
.artisan-count { animation-delay: 0.22s; }

@keyframes dropHeroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drop-hero-inner {
  display: flex;
  flex-direction: column;
}

.drop-hero-text {
  display: flex;
  flex-direction: column;
}

.drop-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.drop-num {
  color: var(--accent);
}

.drop-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.drop-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: none;
}

.attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  animation: dropHeroIn 0.75s var(--ease-out) 0.18s forwards, attributionTrack 0.9s var(--ease-out) 0.18s forwards;
}

@keyframes attributionTrack {
  from { letter-spacing: 0.15em; }
  to { letter-spacing: 0.08em; }
}

.artisan-count {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: 0.375rem;
}

/* Visual */
.visual-section {
  padding-top: 0;
}

.product-gallery.single {
  margin-top: 0;
}

.gallery-frame {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-dark);
  aspect-ratio: 16 / 10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.gallery-frame:hover .gallery-img {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.visual-notice {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  max-width: none;
  line-height: 1.7;
}

/* Spec card */
.spec-card {
  margin-top: 2.5rem;
}

.spec-card h3 {
  margin-bottom: 1.25rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spec-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-value {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Price summary */
.price-summary {
  margin-top: 1.75rem;
  padding: 1.5rem 2rem;
}

.price-range {
  font-size: 1rem;
  color: var(--text);
  max-width: none;
}

.price-philosophy {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  max-width: none;
}

.artisan-status {
  font-style: italic;
  color: var(--text-dim) !important;
}

/* Artisan grid */
.artisan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.artisan-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 1.5rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.artisan-card:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.artisan-card-header h3 {
  font-size: 1rem;
}

.artisan-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  max-width: none;
}

.artisan-craft {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
  max-width: none;
}

/* Artisan pricing — estimated price display */
.artisan-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.artisan-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  max-width: none;
}

.artisan-price.pending {
  font-weight: 400;
}

.artisan-price-date {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  max-width: none;
}

.artisan-lead-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: none;
}

/* Cost breakdown */
.cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cost-heading {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  max-width: none;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cost-line:last-child {
  border-bottom: none;
}

.cost-line-total {
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.cost-line-zero {
  border-top: 2px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.625rem;
}

.pending {
  color: var(--text-dim);
  font-style: italic;
}

.zero {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  animation: zeroPulse 4s ease-in-out infinite;
}

@keyframes zeroPulse {
  0%, 100% { color: var(--accent); }
  50% { color: #0f7d42; }
}

.cost-note {
  font-size: 0.8125rem;
  color: var(--accent);
  max-width: none;
}

/* CTAs */
.artisan-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.artisan-ctas .btn {
  transition: all 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}

.artisan-card:hover .artisan-ctas .btn:not(.btn-placeholder) {
  transform: translateY(-1px);
}

.btn-placeholder {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.tier-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  max-width: none;
}

.commission-note {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.65;
  max-width: none;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 50ch;
}

.product-footer {
  border-top: 1px solid var(--border);
}

.tip-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.page-nav {
  padding-top: 1rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--border);
}

/* Country selector */
.country-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.country-label {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.country-select {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
}

/* Estimate block */
.estimate-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px dashed var(--border);
  padding-top: 0.75rem;
}

.estimate-inline-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 0.5rem;
  max-width: none;
}

.price-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: normal;
}

/* Visual placeholder (concept art pages) */
.visual-placeholder {
  margin-top: 0.5rem;
}

.concept-frame {
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 2rem;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0, 0, 0, 0.018) 8px,
    rgba(0, 0, 0, 0.018) 16px
  );
}

.concept-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  margin-bottom: 1rem;
  max-width: none;
}

.concept-art {
  text-align: center;
}

.ascii-concept {
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-muted);
  display: inline-block;
  text-align: left;
}

.concept-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: none;
}

/* Gallery frame enhanced hover */
.gallery-frame {
  transition: box-shadow 0.6s var(--ease-out);
}

.gallery-frame:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

/* Tip section enhanced */
.tip-section .body-text {
  font-style: italic;
  color: var(--text-dim);
}

/* Product footer refined */
.product-footer .body-text {
  font-size: 0.8125rem;
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 768px) {
  .drop-hero {
    padding: 5rem 1.75rem 3rem;
  }
}

@media (max-width: 480px) {
  .drop-hero {
    padding: 4rem 1.25rem 2.5rem;
  }

  .gallery-frame {
    aspect-ratio: 4 / 3;
  }
}
