/* =============================================
   SHOW STUDIOS by Emmanuel
   Premium E-Commerce — Vibrant Wellness Palette
   ============================================= */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --bg-deep: #FFFBF0;
  --bg-dark: #F5EFE0;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(255, 0, 110, 0.15);

  --text-primary: #4A4A4A;
  --text-secondary: #6B6B6B;
  --text-muted: #9CA3AF;

  --accent-blue: #FF006E;
  --accent-gold: #FF7B00;
  --accent-glow: rgba(255, 0, 110, 0.25);
  --accent-gold-glow: rgba(255, 123, 0, 0.2);

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) var(--bg-deep);
}

html::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

html::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 3px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button {
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 0, 110, 0.3);
  background: rgba(255, 0, 110, 0.05);
  box-shadow: 0 0 10px rgba(255, 0, 110, 0.1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}

body.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
  background: transparent;
}

body.cursor-hover .cursor-glow {
  width: 55px;
  height: 55px;
  border: 1.5px solid var(--accent-gold);
  background: rgba(255, 123, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.2);
}

/* ---------- HEADER ---------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.main-header.scrolled {
  background: rgba(255, 251, 240, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 0, 110, 0.12);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  padding-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent-blue);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 251, 240, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-links a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--accent-blue);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255, 0, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255, 123, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(255, 251, 240, 0.8) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-80px) translateX(30px);
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-accent {
  display: block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual / 3D Object */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-3d-object {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: heroFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.hero-product-img.fade-out {
  opacity: 0;
  transform: scale(0.85) rotate(-5deg);
  filter: blur(8px);
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.hero-orbit {
  position: absolute;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.hero-orbit-1 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit-2 {
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 30s;
  animation-direction: reverse;
  border-color: rgba(255, 0, 110, 0.12);
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-glow-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 12px rgba(255, 0, 110, 0.15);
}

.btn-primary:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 0, 110, 0.2);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 0, 110, 0.08);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.7rem;
}

.btn i,
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- SECTION COMMON ---------- */
.section-drops,
.section-category,
.section-mugs {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- GLASSMORPHISM CARD ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-card:hover {
  border-color: rgba(255, 0, 110, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(255, 0, 110, 0.08);
}

/* ---------- INFINITE CAROUSEL ---------- */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: carouselScroll 30s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.carousel-loader {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-blue);
  animation: pulseGlow 2s ease-in-out infinite;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.carousel-item {
  flex-shrink: 0;
  width: 280px;
}

.carousel-item .product-card {
  height: 100%;
}

/* ---------- PRODUCT CARDS ---------- */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-dark);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

.glass-card:hover .product-img-wrap img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.05);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
}

.product-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.product-info .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- SECTION ALTERNATION ---------- */
.section-alt {
  background: rgba(245, 239, 225, 0.5);
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 80% 50%, rgba(255, 0, 110, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.section-kids::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 50%, rgba(255, 0, 110, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- MUG GALLERY ---------- */
.section-mugs {
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(245, 239, 225, 0.8) 50%, var(--bg-deep) 100%);
}

.mug-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mug-card {
  display: flex;
  flex-direction: column;
}

.mug-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-dark);
}

.mug-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mug-card:hover .mug-img-wrap img {
  transform: scale(1.08);
}

.mug-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  filter: blur(25px);
  opacity: 0;
  transition: opacity var(--transition);
}

.mug-card:hover .mug-glow {
  opacity: 0.6;
}

.mug-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mug-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.mug-info .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ---------- FOOTER ---------- */
.main-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 0, 110, 0.12);
  background: rgba(245, 239, 225, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand .brand-name {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.footer-brand .brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 0, 110, 0.15);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- SCROLL REVEAL ANIMATION ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 3D TILT (via JS — base styles) ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- RESPONSIVE: MOBILE FIRST ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mug-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-3d-object {
    width: 280px;
    height: 280px;
  }

  .hero-product-img {
    width: 200px;
    height: 200px;
  }

  .hero-orbit-1 {
    width: 240px;
    height: 240px;
  }

  .hero-orbit-2 {
    width: 280px;
    height: 280px;
  }

  .hero-glow-ring {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .mug-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-drops,
  .section-category,
  .section-mugs {
    padding: 4rem 0;
  }

  .carousel-item {
    width: 220px;
  }

  /* Hide custom cursor on touch devices */
  .cursor-dot,
  .cursor-glow {
    display: none;
  }

  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-3d-object {
    width: 220px;
    height: 220px;
  }

  .hero-product-img {
    width: 160px;
    height: 160px;
  }

  .hero-orbit-1 {
    width: 190px;
    height: 190px;
  }

  .hero-orbit-2 {
    width: 220px;
    height: 220px;
  }

  .hero-glow-ring {
    width: 180px;
    height: 180px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .mug-showcase {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.72rem;
  }

  .footer-links {
    gap: 1rem;
  }
}

/* ---------- DYNAMIC STORE REFINEMENTS ---------- */
.loading-state {
  width: 100%;
  padding: 4rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  animation: pulseOpacity 2s infinite ease-in-out;
  grid-column: 1 / -1;
}

@keyframes pulseOpacity {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

#dynamic-drops {
  min-height: 400px;
}

/* ---------- PRODUCT DETAIL MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.modal-content {
  background: #FFFBF0;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
  display: flex;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 0, 110, 0.15);
  color: #4A4A4A;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: 0.35s ease;
}

.modal-close:hover {
  background: #FF006E;
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.modal-image-container {
  background: #F5EFE0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 3rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #4A4A4A;
}

.modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FF006E;
  text-transform: uppercase;
}

.modal-title {
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.1;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FF7B00;
}

.modal-description {
  font-size: 0.95rem;
  color: #6B6B6B;
  line-height: 1.6;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.option-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #9CA3AF;
}

.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 0, 110, 0.15);
  background: white;
  font-weight: 600;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #ddd;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-dot.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px #FF006E;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #2e7d32;
  font-weight: 600;
}

#paypal-button-container-modal {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .modal-content {
    max-height: 95vh;
    height: 90vh;
    flex-direction: column;
    display: flex;
  }

  .modal-image-container {
    height: 30vh;
    min-height: 200px;
    flex-shrink: 0;
  }

  .modal-details {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
  }
}