/* ProductFire - Premium Minimal Design System */
:root {
  --ink: #0F0F0F;
  --punch: #FF2D55;
  --blush: #FFF0F3;
  --surface: #F4F4F4;
  --white: #FFFFFF;
}

body {
  color: var(--ink);
  background: radial-gradient(at top left, #FFF0F3 0%, #ffffff 50%, #F0F0FF 100%);
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent; 
}
::-webkit-scrollbar-thumb {
  background: #E5E5E5; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #CCCCCC; 
}

/* Hide Scrollbar for specific sections */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Typography utilities */
.letter-tight {
  letter-spacing: -0.02em;
}

/* --- BUTTON SYSTEM --- */
.btn-primary {
  background-color: var(--punch);
  color: var(--white);
  border: none;
  border-radius: 10px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms ease, transform 100ms ease;
}
.btn-primary:hover {
  background-color: #E61E44;
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background-color: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms ease, transform 100ms ease;
}
.btn-secondary:hover {
  background-color: #1A1A1A;
}
.btn-secondary:active {
  transform: scale(0.97);
}

.btn-ghost {
  background-color: var(--surface);
  color: var(--ink);
  border: 0.5px solid #E5E5E5;
  border-radius: 10px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms ease, transform 100ms ease;
}
.btn-ghost:hover {
  background-color: #EAEAEA;
}
.btn-ghost:active {
  transform: scale(0.97);
}

.btn-outline {
  background-color: transparent;
  color: var(--punch);
  border: 1.5px solid var(--punch);
  border-radius: 10px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms ease, transform 100ms ease;
}
.btn-outline:hover {
  background-color: var(--blush);
}
.btn-outline:active {
  transform: scale(0.97);
}

/* --- CARD SYSTEM --- */
.card-product {
  background: var(--white);
  border: 1px solid #E5E5E5;
  border-radius: 14px;
  transition: border-color 150ms ease, transform 150ms ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-product:hover {
  border-color: #999999;
  transform: translateY(-2px);
}

.card-animated {
  animation: fadeUp 200ms ease-out forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skeleton Loading Animation */
.skeleton-shimmer {
  background: linear-gradient(90deg, #F4F4F4 25%, #E5E5E5 50%, #F4F4F4 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Form Inputs */
.input-field {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 150ms ease;
}
.input-field:focus {
  outline: none;
  border-color: #CCCCCC;
  background: var(--white);
}

/* Navbar Scroll State */
.nav-scrolled {
  border-bottom: 0.5px solid #E5E5E5;
  background: rgba(255, 255, 255, 0.95);
}

/* Rich Text Styles */
.product-description-html {
  color: #4B5563; /* gray-600 */
  line-height: 1.7;
  font-size: 1.05rem;
}
.product-description-html h1,
.product-description-html h2,
.product-description-html h3,
.product-description-html h4 {
  color: var(--ink);
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.product-description-html h1 { font-size: 2rem; }
.product-description-html h2 { font-size: 1.6rem; }
.product-description-html h3 { font-size: 1.3rem; }
.product-description-html h4 { font-size: 1.15rem; }

.product-description-html p {
  margin-bottom: 1.25rem;
}
.product-description-html strong, 
.product-description-html b {
  color: var(--ink);
  font-weight: 700;
}
.product-description-html em, 
.product-description-html i {
  font-style: italic;
}
.product-description-html ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}
.product-description-html ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}
.product-description-html li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.product-description-html li::marker {
  color: var(--punch); /* slick pink marker! */
}
.product-description-html img,
.product-description-html video {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 2rem auto;
  border: 1px solid #E5E5E5;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.product-description-html iframe {
  max-width: 100%;
  border-radius: 14px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.product-description-html a {
  color: var(--punch);
  text-decoration: none;
  font-weight: 600;
}
.product-description-html a:hover {
  text-decoration: underline;
}
.product-description-html blockquote {
  border-left: 4px solid var(--punch);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6B7280;
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.product-description-html hr {
  border: 0;
  border-top: 1px solid #E5E5E5;
  margin: 2rem 0;
}

/* --- ANIMATED CTA BANNER --- */
.animated-gradient-bg {
  background: linear-gradient(-45deg, #0F0F0F, #2A0845, #FF2D55, #0F0F0F);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floating-shape {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}