/* =========================
   Alap reset & tipográfia
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

/* App keret – a teljes tartalomhoz
   (index.html-ben: <body><div class="app-shell"> ... ) */
.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

@media (min-width: 768px) {
  .app-shell {
    padding: 32px 24px 56px;
  }
}

/* =========================
   Fejléc (header + ikonok)
   ========================= */

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  position: static;
  top: auto;
  z-index: 30;
  backdrop-filter: blur(10px);
}

.page-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111827;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 1.6rem;
  }
}

/* Fejléc ikonok konténere */
.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

/* Kosár ikon konténer + számláló */
#cartIconContainer {
  position: relative;
}

#cartIcon {
  height: 40px;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

#cartIcon:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.06);
}

#cartCount {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;

  background-color: #19508F;   /* új kék */
  border: 1.5px solid #ffffff;   /* vékony fehér szegély */

  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

#cartCount.empty {
  background-color: #c5c5c5; /* világosszürke */
  color: #ffffff;
  border: 1.5px solid #ffffff;
}



/* Logó konténer a fejlécben */
.logo-container {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Rugalmas logó kép */
.logo-image {
  width: 100%;
  height: auto;
  max-width: 650px;   /* opcionális felső korlát, hogy ne legyen túl nagy nagy monitoron */
  object-fit: contain;
}


/* Tartalom főcím (ha máshol is használnád a h1-et) */
h2 {
  text-align: center;
  margin: 32px 0 16px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* =========================
   Kontroll panel (méretek)
   ========================= */

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.controls > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.controls label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
}

/* Select mezők */
.controls select {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #f9fafb;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.controls select:focus {
  background: #ffffff;
  border-color: #3c7eff;
  box-shadow: 0 0 0 3px rgba(60, 126, 255, 0.18);
}

/* =========================
   Gombok – globális stílus
   ========================= */

button {
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: #ffffff;
  color: #111827;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.1s ease;
}

button:hover:not(:disabled) {
  background: #f3f4ff;
  border-color: #3c7eff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
  transform: none;
}

/* Primer gomb – kosárba + checkout */
#addToCartBtn,
#checkoutBtn {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  padding: 11px 22px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

#addToCartBtn:hover:not(:disabled),
#checkoutBtn:hover:not(:disabled) {
  background: #1f283d;
  border-color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Clear gomb – szolid */
#clearBtn {
  margin-top: 10px;
  background: transparent;
  color: #dc2626; /* piros */
  border-color: rgba(220, 38, 38, 0.4);
  padding-inline: 18px;
}

#clearBtn:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.08);
  border-color: #dc2626;
  box-shadow: none;
}


/* =========================
   Karkötő előnézet kártya
   ========================= */

#braceletPreviewContainer {
  margin: 0 auto 28px;
  max-width: 440px;
  padding: 26px 22px 22px;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfcff 100%
  );

  border-radius: 24px;

  /* 👇 erősebb, de még elegáns árnyék */
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);

  text-align: center;

  position: relative;
  z-index: 5;

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* ✨ Finom „kiemelés” hoverre – nem gombos */
#braceletPreviewContainer:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.16),
    0 6px 18px rgba(15, 23, 42, 0.08);
}
#braceletPreviewContainer::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 30px;
  background: radial-gradient(
    circle at top,
    rgba(60, 126, 255, 0.12),
    transparent 70%
  );
  z-index: -1;
}




#braceletPrice {
  margin-top: 14px;
  font-family: "Michroma", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 22px;
}

/* Kosárba gomb blokkjának középre igazítása */
#addToCartBtn {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* A környező div-nek már van inline style (text-align:center),
   így itt nem kell extra beállítás. */

/* =========================
   Leírás szűrő gombok
   ========================= */

.description-filters-container {
  text-align: center;
  margin: 24px auto 12px;
  max-width: 620px;
}

.description-filters-label {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.description-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Szűrő gombok: pill stílus */
.description-filters button {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  border: 1px solid #d0d7e2;
  background: #ffffff;
  color: #374151;
  transition: all 0.2s ease;
}

#filterHealth:hover:not(.active) {
  background-color: rgba(76, 175, 130, 0.12);
  border-color: #4caf82;
}


#filterSpiritual:hover:not(.active) {
  background-color: rgba(155, 107, 211, 0.12);
  border-color: #9b6bd3;
}


#filterGeology:hover:not(.active) {
  background-color: rgba(176, 137, 104, 0.14);
  border-color: #b08968;
}



#filterHealth.active {
  background-color: #4caf82;   /* zöld */
  border-color: #4caf82;
  color: #ffffff;
}

#filterSpiritual.active {
  background-color: #9b6bd3;   /* lila */
  border-color: #9b6bd3;
  color: #ffffff;
}

#filterGeology.active {
  background-color: #b08968;   /* földbarna */
  border-color: #b08968;
  color: #ffffff;
}

.description-filters button.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}



/* =========================
   Ásványlista / gyöngykártyák
   ========================= */

#gemsList{
  display:grid;
  gap:18px;
  justify-content:center;
  margin-top:20px;
  z-index:10;

  grid-template-columns: repeat(4, minmax(170px, 1fr));
}

/* tablet */
@media (max-width: 1024px){
  #gemsList{
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

/* mobil: 2 egymás mellett */
@media (max-width: 640px){
  #gemsList{
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 14px;
  }

  .gem img{
    width: 96px;
    height: 96px;
  }

  .gem .name{
    font-size: 1.35rem; /* a 1.7rem mobilon sok */
  }
}

/* extra kicsi mobil: 1 oszlop */
@media (max-width: 360px){
  #gemsList{
    grid-template-columns: 1fr;
  }
}


/* Gyöngykártya alap */
.gem {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 12px 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease,
    border-color 0.2s ease;
  border: 2px solid transparent;
}

.gem:not(.out-of-stock):hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.15);
}

/* Kép */
.gem img {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 4px auto 10px;
}



/* Ha külön színkódokat használsz: kicsit pasztellesebb stílusban */
.label-orange {
  background-color: #f3a76d;
}
.label-green {
  background-color: #78c69b;
}
.label-blue {
  background-color: #6ca8e2;
}
.label-purple {
  background-color: #ba87d3;
}
.label-brown {
  background-color: #916e4e;
}

/* Név */
.gem .name {
  font-family: "New Amsterdam", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #111827;
}


/* Info sor (készlet + ár blokk) */
.gem .info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.gem .info .stock {
  color: #9ca3af;
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ÁR blokk stílus – Rubik Mono One */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: "Michroma", sans-serif;
  line-height: 1.1;
}


.orig-price {
  font-size: 1rem;
  color: #b91c1c;
  text-decoration: line-through;
  margin-bottom: 4px;
  font-family: "Michroma", sans-serif;
  opacity: 0.7; /* finomabb megjelenés */
}


.discount-price {
  font-size: 1.5rem;
  font-weight: 400;
  color: #4c5d83;
  font-family: "Michroma", sans-serif;
}


/* Leírás blokk – Instrument Serif, nem dőlt */
.gem .description {
  font-family: "Instrument Serif", serif;
  font-size: 1.1rem;
  font-style: normal; /* nem dőlt */
  text-align: left;
  margin-top: 8px;
  color: #4b5563;
  line-height: 1.35;
  max-height: 160px;
  overflow: auto;
}

.gem .description div {
  margin-bottom: 6px;
}

.gem .description div:last-child {
  margin-bottom: 0;
}

/* Címke a kép alatt (label_desc) */
.gem-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1rem;         /* kisebb, hogy arányos maradjon */
  letter-spacing: 0.5px;
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
  text-align: center;
}

/* Elfogyott állapot */
.gem.out-of-stock {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

.gem.out-of-stock:hover {
  transform: none;
  box-shadow: none;
}

/* ELFOGYOTT címke */
.sold-out-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ef4444;
  color: #ffffff;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  z-index: 2;
}

/* =========================
   Kosár sidebar + overlay
   ========================= */

/* Sötétített háttér */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 40;
}

/* Kosár panel */
#cartSidebar {
  position: fixed;
  top: 0;
  right: -360px; /* animációhoz */
  width: 360px;
  max-width: 86%;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -8px 0 22px rgba(15, 23, 42, 0.25);
  padding: 16px 18px 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 50;
  border-radius: 18px 0 0 18px;
  font-family: "Michroma", sans-serif;
}

#cartSidebar.active {
  right: 0;
}

/* Bezáró gomb a kosárban */
#closeCartBtn {
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  padding: 4px 8px;
  cursor: pointer;
  color: #6b7280;
  box-shadow: none;
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
}

#closeCartBtn:hover {
  background: #f3f4ff;
  color: #111827;
}

/* Kosár cím */
#cartSidebar h2 {
  margin: 6px 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

/* Kosár lista */
#cartList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Kosár elem */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* Gyöngy előnézet a kosárban */
.cart-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 4px;
}

.cart-preview img {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

/* Info doboz a kosár elemben */
.cart-item-info {
  background-color: #eef2ff;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #374151;
}

/* Ár a kosár elemben */
.cart-item .price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

/* Kosárban a törlés gomb – danger stílus */
.cart-item button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 14px;
  background-color: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item button:hover:not(:disabled) {
  background-color: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

/* Checkout gomb a panel alján */
#checkoutBtn {
  width: 100%;
  margin-top: 16px;
}

/* =========================
   Reszponzív finomhangolás
   ========================= */

@media (max-width: 640px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-icons {
    align-self: flex-end;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .controls > div {
    width: 100%;
  }

  #braceletPreviewContainer {
    max-width: 100%;
  }
}

.baltom-hero {
  background-image: url("images/baltomineral-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin-bottom: 24px;
  padding: 16px 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* Világos olvasási zóna a háttér fölött */
.baltom-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.90) 35%,
    rgba(255, 255, 255, 0.60) 60%,
    rgba(255, 255, 255, 0.10) 85%,
    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
}


.baltom-content {
  text-align: center;
  max-width: 720px;

  /* 🔒 EZ VÉDI MEG A SZÖVEGET */
  overflow-x: hidden;
  position: relative;
   z-index: 1;
}

.baltom-content p {
  text-shadow:
    0 1px 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 0.95);
}


.baltom-content h1 {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 6px 0; /* 👈 kisebb alatta, nincs felette */
  color: #111827;
}



.baltom-content p {
  font-family: "Instrument Serif", serif;
  font-size: 1.3rem;
  line-height: 1.5;
  
  margin: 0; /* 👈 nincs extra tér alatta */
  color: #4b5563;
}

/* =========================
   Treatment / "Mire jó?" blokk
   ========================= */

.treatment-container {
  margin: 0 auto 24px;
  padding: 18px 18px 20px;

  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);

  text-align: center;        /* 👈 szöveg középre */
}



.treatment-container p {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  color: #4b5563;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

.treatment-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: #4b5563;
  margin-bottom: 14px;
  text-align: center;
}


.treatment-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.treatment-container select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #f9fafb;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.treatment-container select:focus {
  background: #ffffff;
  border-color: #3c7eff;
  box-shadow: 0 0 0 3px rgba(60, 126, 255, 0.18);
}

/* =========================
   Treatment – select + gomb egy sorban
   ========================= */




.treatment-row select {
  flex: 1;
}

/* Ajánlott karkötő gomb – másodlagos akció */
#recommendBraceletBtn {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  padding: 11px 22px;

   display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#recommendBraceletBtn:hover {
  background: #1f283d;
  border-color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-working {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transform: scale(1);
  }
}

button.loading { 
  animation: pulse-working 1.4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.85;
  position: relative;
  overflow: hidden;
}
button.loading::before {
  content: "⚡";
  margin-right: 8px;
  display: inline-block;
  animation: bolt-flicker 1.4s ease-in-out infinite;
}
@keyframes bolt-flicker {
  0%   { opacity: 0.6; transform: translateY(0); }
  50%  { opacity: 1;   transform: translateY(-1px); }
  100% { opacity: 0.6; transform: translateY(0); }
}
button.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  animation: shimmer-slide 1.6s linear infinite;
}
@keyframes shimmer-slide {
  0% {
    left: -120%;
  }
  100% {
    left: 120%;
  }
}



/* Mobilon egymás alá */
@media (max-width: 480px) {
  .treatment-row {
    flex-direction: column;
  }

  #recommendBraceletBtn {
    width: 100%;
  }
}

#recommendBraceletBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================
   Ajánlott karkötő – eredmény
   ========================= */

/* =========================
   Ajánlott karkötő – ásványok (finomított)
   ========================= */

.recommended-gems-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
}

.recommended-gem {
  text-align: center;
}

.recommended-gem-name {
  font-family: "New Amsterdam", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #111827;
}

.recommended-gem img {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

/* =========================
   Treatment – hibaüzenet
   ========================= */

.treatment-container .treatment-error {
  margin-top: 18px;              /* 👈 kis térköz felül */
  font-size: 1.05rem;            /* 👈 nagyobb szöveg */
  font-weight: 600;
  color: #dc2626;                /* 👈 erős, de nem rikító piros */
  line-height: 1.45;
  text-align: center;
}

/* =========================
   Gyöngy kártya spinner
   ========================= */

.gem.loading {
  pointer-events: none;
  opacity: 0.6;
}

.gem .spinner {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  z-index: 5;
}

.gem .spinner::after {
  content: "";
  width: 36px;
  height: 36px;
  border: 4px solid #c7d2fe;
  border-top-color: #3c7eff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   Karkötő canvas spinner
   ========================= */

#braceletPreviewContainer.loading {
  position: relative;
  pointer-events: none;
}

#braceletPreviewContainer.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px;
  border: 4px solid #c7d2fe;
  border-top-color: #3c7eff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  z-index: 6;
}
#braceletPreviewContainer button {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.hero-image-rotator {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.hero-image-rotator img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: opacity 0.6s ease;
}


/* =========================
   Hero futószalag
   ========================= */

.hero-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  position: relative;

  /* 👇 SZÉLEK HALVÁNYÍTÁSA */
  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%
  );
}

.hero-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: hero-scroll 40s linear infinite;
  will-change: transform;
}


.hero-marquee-track img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  flex-shrink: 0;
}

/* Lassú, elegáns jobbról balra mozgás */
@keyframes hero-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobilon kicsit kisebb képek */
@media (max-width: 480px) {
  .hero-marquee-track {
    animation-duration: 80s;
  }

  .hero-marquee-track img {
    width: 196px;
    height: 196px;
  }
}

/* =========================
   Footer
   ========================= */

.site-footer {
  margin-top: 48px;
  padding: 28px 16px 36px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.04);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;

  font-size: 0.85rem;
  color: #4b5563;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}

.footer-info strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #111827;
}

.footer-link {
  color: #3c7eff;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Mobil elrendezés */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 18px;
  }
}

.treatment-error {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  font-size: 1.05rem;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.45;
  text-align: center;
}

/* =========================
   Treatment – alternatív lehetőség
   ========================= */

.treatment-alternative {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;

  background: rgba(245, 200, 90, 0.22);   /* 👈 finom sárga */
  border: 1px solid rgba(245, 200, 90, 0.55);

  text-align: center;
}

.treatment-alternative p {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #7a4b00;
  line-height: 1.4;
}

/* gomb sor ebben a blokkban */
.treatment-alternative .alt-size-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Alternatív gyöngyméret gombok
   ========================= */

.treatment-alternative button {
  background-color: rgba(76, 175, 130, 0.18); /* világos zöld */
  border-color: #4caf82;                     /* sötétebb zöld */
  color: #1f3d2b;
  font-weight: 600;
}

.treatment-alternative button:hover {
  background-color: #4caf82;   /* erősebb zöld hoveren */
  border-color: #4caf82;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(76, 175, 130, 0.35);
}

/* =========================
   PATH PICKER (grafit / füstszürke – prémium, nem tech)
   ========================= */

.path-picker{
  margin: 0 auto 18px;
  padding: 16px 18px 14px;
  

  text-align:center;
  max-width: 900px;
}

.path-title{
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 600;
  color:#111827;
}

.path-sub{
  margin: 0 0 12px 0;
  font-size: .9rem;
  color:#6b7280;
  line-height: 1.35;
}

.path-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
}

/* ✅ gombok: alapból is "kiemeltek", de grafitos prémium stílusban */
.path-btn{
  position: relative;
  overflow: hidden;

  flex: 1;
  min-width: 260px;
  max-width: 420px;

  /* nálad a button globál stílus már ad alapot, mi csak finomítunk */
  border-radius: 999px;
  padding: 12px 16px;

  /* középre igazított szöveg (te ezt szeretnéd) */
  text-align: center;

    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;

  background: #ffffff;

  /* grafit keret + „készenléti” halo */
  border: 1px solid #9ca3af; /* füstszürke */
  box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.18);

  /* hogy a hover ne „ugráljon” a globál button hover transform miatt */
  transform: none;
}

/* hover: picit feszesebb, de nem rikító */
.path-btn:hover{
  border-color: #6b7280; /* sötétebb grafit */
  box-shadow: 0 0 0 5px rgba(156, 163, 175, 0.22);
  background: #ffffff;
}

/* ugyanaz maradjon (nem akarsz "kijelölve marad" hatást) */
.path-btn.is-selected{
  background: #ffffff;
  border-color: #9ca3af;
  box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.18);
}

/* hint */
.path-hint{
  display:block;
  margin-top: 4px;
    font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: .82rem;
  color:#6b7280;
  font-weight: 500;
}

/* mobil: full width, marad a pill forma */
@media(max-width:640px){
  .path-actions{ gap: 8px; }
  .path-btn{
    min-width: 100%;
    text-align: center;
  }
}

/* finom sheen (grafit) – elegáns, nem “CTA villogás” */
.path-btn::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-120%;
  width:60%;
  height:180%;
  transform: rotate(18deg);
  background: linear-gradient(
    120deg,
    transparent,
    rgba(156, 163, 175, 0.12),
    transparent
  );
  opacity: .85;
  pointer-events:none;
  animation: path-sheen 6s ease-in-out infinite;
}

@keyframes path-sheen{
  0%, 65% { left:-120%; }
  100%    { left:120%; }
}

/* ha mégis rajta maradna az is-selected valahol, csak minimálisan legyen erősebb */
.path-btn.is-selected::after{
  background: linear-gradient(
    120deg,
    transparent,
    rgba(156, 163, 175, 0.18),
    transparent
  );
}

/* =========================
   Sticky header scroll offset (maradhat)
   ========================= */

.ui-focus{
  outline: 0;
  box-shadow: 0 0 0 4px rgba(60,126,255,.18);
  border-radius: 16px;
  transition: box-shadow .25s ease;
}

:root{
  --sticky-offset: 0px; /* induló érték, általában jó */
}

html{
  scroll-padding-top: var(--sticky-offset);
}

.treatment-container,
.description-filters-container,
#gemsList{
  scroll-margin-top: var(--sticky-offset);
}

/* Scroll to top gomb (csak mobil) */
.scroll-top-btn{
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  background: #ffffff;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  z-index: 60;

  display: none;         /* alapból rejtve */
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}

.scroll-top-btn.is-visible{
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

/* csak mobilon engedjük */
@media (min-width: 769px){
  .scroll-top-btn{
    display: none !important;
  }
}

/* ===== MOBILOS BALTOMINERAL HERO HÁTTÉR ===== */
@media (max-width: 640px) {
  .baltom-hero {
    background-image: url("images/baltomineral-bg-mobile.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .baltom-hero::before {
    background: radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 38%,
      rgba(255, 255, 255, 0.78) 58%,
      rgba(255, 255, 255, 0.42) 76%,
      rgba(255, 255, 255, 0.08) 94%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .baltom-content p {
    text-shadow:
      0 1px 5px rgba(255, 255, 255, 1),
      0 0 14px rgba(255, 255, 255, 1),
      0 0 24px rgba(255, 255, 255, 1),
      0 0 34px rgba(255, 255, 255, 0.95);
  }
}


