/**
 * LUNARA - prilagodjeni stilovi sajta.
 *
 * Ovde dodaj CSS bez <style> tagova.
 * Stilovi se ucitavaju na svim javnim stranicama, ukljucujuci
 * Elementor pregled stranice, ali ne u WordPress admin interfejsu.
 *
 * Predlozeni redosled:
 * 1. Promenljive (boje, fontovi, razmaci)
 * 2. Header i footer
 * 3. Sekcije i komponente
 * 4. WooCommerce / checkout
 * 5. Prikaz na tabletu i telefonu
 */

/* Dodaj CSS ispod ove linije. */
html, body {
    max-width: 100vw;
    overflow-x: clip !important;
}


.heading-text-italic-effect :is(em) {
font-style: italic;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--gold-bright) 100%);
	background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-title :is(em) {
	    font-style: italic;
    background: linear-gradient(135deg, var(--gold-deep) 0%, var(--burgundy) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ===== SEKCIJA: pozadina ===== */
.products {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,115,51,0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(232,184,176,0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--night-3) 0%, var(--night) 100%);
	
  color: var(--c-white); /* Umesto --star */
  position: relative;
  overflow: hidden;
}

/* zvezdice preko pozadine */
.products::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(253,249,243,0.4), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(253,249,243,0.3), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(232,184,176,0.45), transparent),
    radial-gradient(1px 1px at 90% 30%, rgba(253,249,243,0.3), transparent),
    radial-gradient(1.5px 1.5px at 25% 50%, rgba(184,115,51,0.4), transparent);
}

/* Kontejner sirina (iz tvog sistema) */
.fib-container {
    max-width: var(--fib-container-width);
    margin: 0 auto;
    padding: 0 var(--fib-space-md);
}

/* ===== FILTERI ===== */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--fib-space-2xl);
    flex-wrap: wrap;
}
.filter-chip {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15); /* Blag okvir kao na slici */
    color: var(--c-white);
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 13px; /* Malo krupnije za bolju čitljivost */
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body), sans-serif;
}

/* Hover na neaktivnim dugmićima */
.filter-chip:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

/* AKTIVNO DUGME (Kao na tvojoj slici) */
.filter-chip.active {
    background: var(--gold); /* Tvoja narandžasto-zlatna varijabla */
    border-color: var(--gold);
    color: var(--c-white);
    box-shadow: 0 8px 24px rgba(212, 144, 86, 0.35); /* Zlatni odsjaj */
}
/* ===== GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* ===== KARTICA ===== */
.product {
  background: rgba(253,249,243,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232,184,176,0.15);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  transition: all .35s;
  position: relative;
  border-radius: var(--Radius-m);
  color: var(--c-white);
}
.product:hover {
  transform: translateY(-6px);
  background: rgba(253,249,243,0.07);
  border-color: rgba(232,184,176,0.35);
  box-shadow: 0 24px 60px rgba(15,18,38,0.4);
}
.product.featured {
  background: linear-gradient(180deg, rgba(184,115,51,0.18) 0%, rgba(232,184,176,0.06) 100%);
  border: 1.5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(184,115,51,0.22);
}

/* ===== BADGE ===== */
.product-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--c-white);
  padding: 8px 22px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(184,115,51,0.5);
}

/* Ostali elementi prate tvoj originalni CSS... */
.product-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(232,184,176,0.18) 0%, rgba(184,115,51,0.10) 100%);
  border: 1px solid rgba(232,184,176,0.30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--burgundy-light); font-size: 28px;
  font-family: var(--font-primary), serif;
}
.product.featured .product-icon {
  background: linear-gradient(135deg, rgba(184,115,51,0.30) 0%, rgba(232,184,176,0.15) 100%);
  border-color: var(--gold); color: var(--gold-bright);
}
.product-name {
  font-family: var(--font-primary), serif;
  font-size: 30px; font-weight: 500; color: var(--c-white);
  margin-bottom: 6px; line-height: 1.2; letter-spacing: -0.01em;
}
.product-tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--burgundy-light); margin-bottom: 20px; font-weight: 600;
}
.product-desc {
  font-size: 14px; color: rgba(253,249,243,0.78);
  line-height: 1.7; margin-bottom: 22px;
}
.product ul {
  list-style: none; margin-bottom: 28px; padding-left: 0;
  border-top: 1px dashed rgba(232,184,176,0.15); padding-top: 18px;
}
.product ul li {
  font-size: 13px; color: rgba(253,249,243,0.75); padding: 7px 0;
  padding-left: 22px; position: relative;
  border-bottom: 1px solid rgba(232,184,176,0.08);
}
.product ul li:last-child { border: none; }
.product ul li::before {
  content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 9px;
}
.product-price {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid rgba(232,184,176,0.18);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 20px;
}
.product-price .old { font-size: 14px; color: rgba(253,249,243,0.4); text-decoration: line-through; }
.product-price .now {
  font-family: var(--font-primary), serif;
  font-size: 32px; color: var(--c-white); font-weight: 500;
}
.product-price .save {
  background: var(--burgundy); color: var(--ink);
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
}
.product-cta {
  background: rgba(253,249,243,0.08); color: var(--c-white);
  padding: 16px; text-align: center; text-decoration: none;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  border-radius: var(--radius-pill); transition: all .3s; display: block;
  border: 1px solid rgba(232,184,176,0.25);
}
.product-cta:hover {
  background: rgba(232,184,176,0.15);
  border-color: var(--burgundy-light); transform: translateY(-1px);
}
.product.featured .product-cta {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(184,115,51,0.35);
}
.product.featured .product-cta:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  box-shadow: 0 14px 34px rgba(184,115,51,0.5); transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media(max-width: 991px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 767px) {
  .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}






/* 1. POZADINA CELE KASE I FONT INTER */
.woocommerce {
    background-color: #FAF5EC !important;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif !important;
}

form.woocommerce-checkout {
    max-width: 800px;
    margin: 0 auto;
    background: transparent !important;
}

/* 2. UBIJANJE WOOCOMMERCE KOLONA */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. SAKRIVANJE VIŠKOVA (Opciono tekst, Woo tabela) */
.woocommerce-checkout .optional { display: none !important; }
.woocommerce-checkout #order_review_heading { display: none !important; }
.woocommerce-checkout-review-order-table { display: none !important; }

/* 4. ZAMENA NASLOVA U CORMORANT GARAMOND */
.woocommerce-checkout h3 { 
    font-size: 0 !important; 
    margin-bottom: 25px; 
    padding-bottom: 12px; 
    border-bottom: 1px solid rgba(212, 144, 86, 0.3) !important; 
}
.woocommerce-billing-fields h3::before { 
    content: "Tvoji podaci za rođenje"; 
    font-size: 28px; 
    font-family: 'Cormorant Garamond', serif !important; 
    color: #1a1530 !important; 
    display: block; 
}
.woocommerce-additional-fields h3::before { 
    content: "Pitanje za astrologa"; 
    font-size: 28px; 
    font-family: 'Cormorant Garamond', serif !important; 
    color: #1a1530 !important; 
    display: block; 
}

/* 5. MREŽA ZA POLJA (FLEXBOX) */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}
.woocommerce-checkout .form-row {
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 10px) !important;
    float: none !important;
}
.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    float: none !important;
}

/* 6. LABELE (IMENA POLJA) */
.woocommerce-checkout label { 
    font-size: 12px !important; 
    font-weight: 600 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.1em !important; 
    color: #4a4560 !important;
    margin-bottom: 8px !important; 
    display: block !important; 
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-checkout label abbr { color: #c0392b !important; text-decoration: none !important; font-weight: bold; }

/* 7. INPUT POLJA (BELA, CRNA SLOVA) */
.woocommerce-checkout input.input-text, 
.woocommerce-checkout textarea.input-text, 
.woocommerce-checkout input[type="date"],
.woocommerce-checkout input[type="time"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="email"] {
    width: 100% !important; 
    padding: 15px 18px !important;
    border: 1px solid rgba(26, 21, 48, 0.15) !important;
    border-radius: 12px !important; 
    background: #FFFFFF !important;
    font-size: 15px !important; 
    color: #1a1530 !important; 
    min-height: 52px !important; 
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}
.woocommerce-checkout textarea.input-text { min-height: 90px !important; resize: vertical !important; }
.woocommerce-checkout input:focus, 
.woocommerce-checkout textarea:focus {
    border-color: #d49056 !important;
    box-shadow: 0 0 0 2px rgba(212, 144, 86, 0.2) !important;
}

/* 8. PLATNI BLOK */
#payment { 
    background: transparent !important; 
    margin-top: 40px !important; 
    padding: 0 !important;
}
#payment ul.payment_methods { 
    border-bottom: 1px solid rgba(26, 21, 48, 0.1) !important; 
    padding-bottom: 20px !important; 
}
#payment div.payment_box { 
    background: rgba(26, 21, 48, 0.05) !important; 
    color: #4a4560 !important; 
    border-radius: 10px !important; 
    font-family: 'Inter', sans-serif !important;
}

/* 9. DUGME ZA NARUČIVANJE (PRAVI GRADIENT) */
.woocommerce-checkout button#place_order {
    background: linear-gradient(135deg, #b87333 0%, #d49056 100%) !important;
    color: #FFFFFF !important; 
    width: 100% !important; 
    padding: 18px 30px !important; 
    font-size: 15px !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.15em !important; 
    border-radius: 100px !important; 
    border: none !important;
    cursor: pointer !important; 
    margin-top: 30px !important; 
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.3) !important;
}
.woocommerce-checkout button#place_order:hover { 
    transform: translateY(-2px) !important; 
    box-shadow: 0 12px 25px rgba(184, 115, 51, 0.45) !important; 
}

/* Responzivnost */
@media (max-width: 576px) {
    .woocommerce { padding: 30px 15px; }
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last { width: 100% !important; }
}

#order_comments_field {
	width:100%;
}
.woocommerce-additional-fields {
	margin-top:40px;
}

/* ==========================================
   STICKY HEADER (OSNOVNO STANJE)
========================================== */
.elementor-location-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important; /* Mora biti visok z-index da uvek bude preko svega */
    width: 100%;
    /* Tranzicija da prelazak u sticky bude lagan i elegantan */
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease !important;
}

/* ==========================================
   KAD SE SKROLUJE (STICKY + BLUR STANJE)
========================================== */
.elementor-location-header.is-scrolled {
    /* Tvoja --night boja (#1a1f3a) sa 85% providnosti da bi se video blur */
    background-color: rgba(26, 31, 58, 0.85) !important; 
    
    /* Zamućenje pozadine iza headera */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    /* Senka ispod headera da ga odvoji od sadržaja */
    box-shadow: 0 10px 30px rgba(15, 18, 38, 0.25) !important;
}