/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/

/* 1. STÁLÝ BACKGROUND PRO HERO */
.style-hero-bg {
   background-color: #000000 !important;
    /* Horní sytá fialová záře, která nikam neutíká */
}


.container {
    max-width: 100% !important;
    width: 100%!important;
    inline-size: 100px;
    margin: 0;
}

/* 2. ZBYTEK STRÁNKY - ČERNÁ S JEMNÝM FIALOVÝM NÁDECHEM */

/* 3. OPRAVA KARET (Vypadají pak lépe na tom jemném pozadí) */
.card, [data-component-id] .bg-card, [data-component-id] .rounded-2xl {
    background: rgba(10, 5, 20, 0.6) !important;
    border: 1px solid rgba(147, 51, 234, 0.1) !important;
    backdrop-filter: blur(8px);
}

.bg-card\/75 {
  background-color: rgb(16 16 23 / 75%);
  border-radius: 25px;
}

.text-t-primary {
  border-radius: 25px;
}

.btn {
  border-radius: 50px;
}

.choices[data-type*=select-one] .choices__inner {
  border-radius: 25px!important;
}

a {
  border-radius: 25px;
}

.bg-card\/90 {
  border-radius: 22px;
}

.announcement.component {
  border-radius:25px;
}

savewith {
  font-size: 2rem;
  color: white;
}

subtitle {
  font-size: 1.2rem;
  color: white;
}

.hero-wrap {
  display: flex;
  flex-direction: column;   /* ⬅️ NAD SEBOU */
  align-items: center;
  gap: 6px;
}

.hero-title {
  white-space: nowrap;      /* ⬅️ TITLE = jeden řádek */
  font-size: 5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 2px;

  font-size: 14px;
  font-weight: 600;

  color: #ffb7ff;
  background: rgba(255, 0, 255, 0.12);
  border: 1px solid rgba(255, 0, 255, 0.35);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.35);
}

.pill {
  animation: pill-glow 2.4s ease-in-out infinite;
}

@keyframes pill-glow {
  0%   { box-shadow: 0 0 10px rgba(255,0,255,.35); }
  50%  { box-shadow: 0 0 24px rgba(255,0,255,.6); }
  100% { box-shadow: 0 0 10px rgba(255,0,255,.35); }
}

.typewriter {
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffb7ff;
}

button,
[class*="button"],
.btn {
  border-radius: 25px; /* nebo jiná hodnota */
}

/* délku přizpůsob počtu znaků */
.typewriter {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffb7ff;
  animation: 
    typing 3.5s steps(39) forwards,
    deleting 2.5s steps(39) 3.5s forwards,
    typing 3.5s steps(39) 6s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 40ch; }
}

@keyframes deleting {
  from { width: 40ch; }
  to { width: 0; }
}

[class*="border-accent-500"] {
  border-radius: 25px;
  background-color: rgba(255, 216, 255, 0);
}

  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Pro stagger efekt */
  .fade-in:nth-child(1) { transition-delay: 0.05s; }
  .fade-in:nth-child(2) { transition-delay: 0.1s; }
  .fade-in:nth-child(3) { transition-delay: 0.15s; }
  .fade-in:nth-child(4) { transition-delay: 0.2s; }
  .fade-in:nth-child(5) { transition-delay: 0.25s; }
  .fade-in:nth-child(6) { transition-delay: 0.3s; }


  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Stagger efekt pro produkty */
  .fade-in:nth-child(1) { transition-delay: 0.05s; }
  .fade-in:nth-child(2) { transition-delay: 0.1s; }
  .fade-in:nth-child(3) { transition-delay: 0.15s; }
  .fade-in:nth-child(4) { transition-delay: 0.2s; }
  .fade-in:nth-child(5) { transition-delay: 0.25s; }
  .fade-in:nth-child(6) { transition-delay: 0.3s; }
  .fade-in:nth-child(7) { transition-delay: 0.35s; }
  .fade-in:nth-child(8) { transition-delay: 0.4s; }
  .fade-in:nth-child(9) { transition-delay: 0.45s; }
  .fade-in:nth-child(10) { transition-delay: 0.5s; }


/* Shine hover efekt */

/* === Product Card Glow Effect === */
/* Oprava pro animated-bg */
.animated-bg {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: -5 !important; /* Nižší než obsah, ale vyšší než body */
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  
  /* Pokud máte obrázek */
  {% if shop.background_image_url %}
    background-image: url("{{ shop.background_image_url }}") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
  {% endif %}
}

/* Zajistí, že body background je pod animated-bg */
body {
  background-color: rgb({{ global.properties.background_color | hex_to_rgb }}) !important;
  position: relative !important;
  min-height: 100vh !important;
}


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