/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Gradient animation utility */
@keyframes pulse-slow {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

/* iOS Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-button {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Hide scrollbar utility */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Sepete Ekle Laser Hover Effect */
.btn-laser {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  min-width: 140px;
  justify-content: center;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Icon size fix for w-4.5 h-4.5 (Tailwind may not include these) */
.btn-laser svg,
.btn-laser i {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn-laser::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(0, 0, 0, 0.8),
      transparent);
  transform: skewX(-25deg);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  z-index: -1;
  opacity: 0;
}

.btn-laser:hover {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: black !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-laser:hover * {
  color: black !important;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-laser:hover::before {
  opacity: 1;
  animation: laser-sweep 1.2s ease-in-out infinite;
}

@keyframes laser-sweep {
  0% {
    left: -100%;
  }

  100% {
    left: 250%;
  }
}


/* 3D Auto-rotating Triangle */
.perspective-1000 {
  perspective: 1000px;
}

@keyframes spin-y {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.animate-spin-y {
  animation: spin-y 8s linear infinite;
  transform-style: preserve-3d;
}

/* 3D Solid Pyramid */
.pyramid-container {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
}

.pyramid-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  transform-origin: 50% 100%;
}

.pyramid-front { transform: translateZ(60px) rotateX(30deg); }
.pyramid-right { transform: rotateY(90deg) translateZ(60px) rotateX(30deg); }
.pyramid-back  { transform: rotateY(180deg) translateZ(60px) rotateX(30deg); }
.pyramid-left  { transform: rotateY(-90deg) translateZ(60px) rotateX(30deg); }
.pyramid-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  transform-origin: 50% 50%;
  transform: translateY(60px) rotateX(90deg);
}

/* Sepete Ekle Click Animation */
@keyframes btn-pop {
  0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); }
  100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }
}

.btn-clicked {
  animation: btn-pop 0.4s ease-out forwards !important;
  background-color: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.btn-clicked * {
  color: #000 !important;
  text-shadow: none !important;
}

/* ==========================================================================
   PRODUCT DETAILED PAGE (3D COVERFLOW SLIDER & PREMIUM BUY BOX)
   ========================================================================== */

/* Clean text flow for description */
.prose p {
  margin-bottom: 1.25rem;
}
.prose strong {
  font-weight: 600;
}

/* Premium Laser Sweep styling custom applied to Tebex action button inside package-actions.twig */
.package-actions-wrapper button,
.package-actions-wrapper form button,
.package-actions-wrapper input[type="submit"] {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: rgba(255, 255, 255, 1) !important;
  color: #000 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.package-actions-wrapper button:hover,
.package-actions-wrapper form button:hover,
.package-actions-wrapper input[type="submit"]:hover {
  background-color: #000 !important;
  color: #fff !important;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-3px) scale(1.02) !important;
}

.package-actions-wrapper button::before,
.package-actions-wrapper form button::before,
.package-actions-wrapper input[type="submit"]::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent) !important;
  transform: skewX(-25deg) !important;
  z-index: -1 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.package-actions-wrapper button:hover::before,
.package-actions-wrapper form button:hover::before,
.package-actions-wrapper input[type="submit"]:hover::before {
  opacity: 1 !important;
  animation: laser-sweep 1.2s ease-in-out infinite !important;
}

/* Blur active class styling */
#slider-3d-wrapper:hover #slider-prev-btn,
#slider-3d-wrapper:hover #slider-next-btn {
  opacity: 1;
}

#slider-prev-btn, #slider-next-btn {
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#slider-prev-btn:hover, #slider-next-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Premium Markdown & Rich Text Styling inside package description */
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: #fff !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.02em !important;
}
.prose h1 { font-size: 1.75rem !important; }
.prose h2 { font-size: 1.5rem !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; padding-bottom: 0.5rem !important; }
.prose h3 { font-size: 1.25rem !important; }

.prose ul, .prose ol {
  margin-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
.prose ul {
  list-style-type: disc !important;
}
.prose ol {
  list-style-type: decimal !important;
}
.prose li {
  margin-bottom: 0.5rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.prose li strong {
  color: #fff !important;
}
.prose code {
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 0.2rem 0.4rem !important;
  border-radius: 0.375rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.85em !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
.prose pre {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 1.25rem !important;
  border-radius: 0.75rem !important;
  overflow-x: auto !important;
  margin-bottom: 1.5rem !important;
}
.prose pre code {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.8) !important;
}
.prose blockquote {
  border-left: 3px solid rgba(255, 255, 255, 0.3) !important;
  padding-left: 1.25rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-style: italic !important;
  margin: 1.5rem 0 !important;
}
.prose hr {
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 2rem 0 !important;
}
.prose table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 1.5rem !important;
}
.prose th, .prose td {
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  text-align: left !important;
}
.prose th {
  color: #fff !important;
  font-weight: 600 !important;
  background: rgba(255,255,255,0.02) !important;
}
.prose td {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Catalog Card Transition Rules for Smooth Filtering */
.catalog-card {
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease !important;
}

/* ==========================================================================
   CMS PAGES — Terms / About  (cms/page.html)
   ========================================================================== */

.cms-prose {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.975rem;
  line-height: 1.85;
  font-weight: 300;
}

.cms-prose h1,
.cms-prose h2,
.cms-prose h3,
.cms-prose h4,
.cms-prose h5,
.cms-prose h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.25rem;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.cms-prose h1 { font-size: 2rem; }
.cms-prose h2 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cms-prose h3 { font-size: 1.2rem; }
.cms-prose h4 { font-size: 1rem; color: rgba(255,255,255,0.85); }

.cms-prose p {
  margin-bottom: 1.25rem;
}

.cms-prose strong {
  color: #fff;
  font-weight: 600;
}

.cms-prose em {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.cms-prose a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cms-prose a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.cms-prose ul,
.cms-prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.cms-prose ul {
  list-style-type: disc;
}

.cms-prose ol {
  list-style-type: decimal;
}

.cms-prose li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.cms-prose li strong {
  color: #fff;
}

.cms-prose blockquote {
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0.75rem 0.75rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.cms-prose hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 2.5rem 0;
}

.cms-prose code {
  background: rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cms-prose pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.cms-prose pre code {
  background: transparent;
  padding: 0;
  border: none;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
}

.cms-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

.cms-prose th,
.cms-prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.cms-prose th {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.cms-prose td {
  color: rgba(255, 255, 255, 0.65);
}

/* First child top-margin reset */
.cms-prose > *:first-child {
  margin-top: 0 !important;
}

/* Last child bottom-margin reset */
.cms-prose > *:last-child {
  margin-bottom: 0 !important;
}