/*
Theme Name: Zrihtaj.me Child
Theme URI: https://zrihtaj.me
Description: Child tema za projekt Zrihtaj.me – prilagojeni layouti, ACF elementi, Avada dinamični dizajn in CSS prilagoditve.
Author: Tine Sitar
Author URI: https://zrihtaj.me
Template: Avada
Version: 1.0.0
Text Domain: zrihtajme-child
*/

/****************************************************
 * ZRIHTAJ.ME CUSTOM STYLING (Child Theme)
 * Organized CSS for layout, cards, tables, maps, etc.

 Main color: #a78bfa;
 ****************************************************/


/* ==================================================
   SEARCH FORM
   ================================================== */
option[value="reset-drop-kategorije_storitve"] {
  color: #999;
  font-weight: 500 !important;
}

/* ==================================================
   SELECT DROPDOWNS FONTS
   ================================================== */
select,
.fusion-body select,
.fusion-form select,
.fusion-form-select {
    font-family: 'Figtree', sans-serif !important;
    font-size: 16px !important;
}

/* ==================================================
   CHECKBOX STYLING FORM OBRAZEC REGISTRACIJA PONUDNIKA
   ================================================== */
#checkbox_obrazec {
  margin-top: 0px;
  margin-bottom: 0px;
}

#checkbox_obrazec .fusion-form-checkbox label {
    color: #6f7178 !important;
}

#checkbox_obrazec .fusion-form-checkbox {
  margin-bottom: 0 !important;
}

/* Osnovni checkbox – okvir */
#checkbox_obrazec .fusion-form-checkbox label::before {
    border-color: #6f7178 !important;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

/* Hover – ko NI obkljukano */
#checkbox_obrazec .fusion-form-checkbox:hover label::before {
    border-color: #8b5cf6 !important; /* temnejša vijola za hover */
}

/* Obkljukan checkbox */
#checkbox_obrazec .fusion-form-checkbox input:checked + label::before {
    border-color: #a78bfa !important;
}

/* Hover – ko JE obkljukano */
#checkbox_obrazec .fusion-form-checkbox input:checked + label:hover::before {
    border-color: #8b5cf6 !important;
}

#area_margin_top {
  margin-top: 5px !important;
}

/* ==================================================
   ALERT ICONS
   ================================================== */
.alert-icon {
  margin-right: 10px !important;
  margin-top: 3px !important;
}

.alert-icon i {
  font-size: 26px !important;
}

/* ==================================================
   POSTS CARD
   ================================================== */
.krajcetrt {
  margin-top: -3px !important;
  display: inline-block;
  margin-right: 5px; /* Razmik med kraj in četrt */
}

.delovni_postcard {
  color: red !important;
}


/* ==================================================
   PACKAGES (BADGES)
   ================================================== */
.paket_badge {
  padding: 5px 15px;
  border-radius: 4px;
  border: 1px solid #a78bfa;
}


/* ==================================================
   LAYOUT DESIGN #1 – PONUDBNIK (SINGLE PAGE)
   ================================================== */
.button_galerija_single {
  z-index: 999 !important;
}

.mapa_single_layout_ponudniki {
  z-index: 1 !important;
}

/* Skrij leve kontrole na karti */
#mapa_single_layout_ponudniki .leaflet-control-container .leaflet-top.leaflet-left {
  display: none !important;
}

/* Stil attribution napisa */
#mapa_single_layout_ponudniki .leaflet-control-attribution {
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* Onemogoči pointer na markerju */
.awb-openstreet-map-marker-icon-wrapper[href="#awb-open-oc__8325"] {
  cursor: default;
}

/* Gumb nad mapo (primer: odpri zemljevid) */
.button_nad_mapa {
  position: absolute;
  top: 60%;
  left: 29%;
  z-index: 999999 !important;
}


/* ==================================================
   BADGES POD NASLOVOM (Booking Style)
   ================================================== */
.ugodnosti-scroll-desktop {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  gap: 12px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* Skrij scrollbar */
.ugodnosti-scroll-desktop::-webkit-scrollbar {
  display: none;
}

/* Posamezen badge */
.ugodnost-badge-desktop {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  width: auto !important;
}

/* Razmik na desnem robu */
.ugodnost-badge-desktop:last-of-type {
  margin-right: 12px !important;
}


/* ==================================================
   DELOVNI ČAS – STATUS VRSTICA
   ================================================== */
.delovni-cas-status {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.delovni-cas-status .ura-ikona {
  color: rgba(17, 17, 17, 0.7);
  margin-right: 6px;
  font-size: 14px;
}

.delovni-cas-status .text-status {
  margin-right: 5px;
}

.delovni-cas-status .text-status.text-odprto {
  color: rgb(14, 139, 37);
  font-weight: 500;
}

.delovni-cas-status .text-status.text-zaprto {
  color: #ee4b2b;
  font-weight: 500;
}

.delovni-cas-status .text-info {
  color: rgba(17, 17, 17, 0.7);
  font-weight: 400;
}


/* ==================================================
   DELOVNI ČAS – TABELA
   ================================================== */
.delovni-cas-tabela {
  font-family: 'Figtree', sans-serif;
  width: auto;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.3;
}

.delovni-cas-tabela td {
  padding: 2px 10px 2px 0;
  color: rgba(17, 17, 17, 0.7);
}

.delovni-cas-tabela td:first-child {
  min-width: 90px;
  font-weight: 400;
}

/* Poudari vrstico 'Danes' */
.delovni-cas-tabela tr:has(td:first-child strong) td {
  font-weight: 600;
  color: #170e0b;
}

/* Wrapper za celoten blok */
.delovni-cas-block {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: #665d56;
}

.delovni-cas-title {
  font-size: 16px;
  font-weight: 500;
}

.delovni-cas-wrapper {
  font-size: 14px;
}

.delovni-cas.danes,
.delovni-cas.jutri {
  line-height: 1.48;
  margin-left: 1%;
  font-weight: 400;
}

.delovni-cas::before {
  margin-right: 3px;
}


/* ==================================================
   CENIK STORITEV
   ================================================== */
.cenik {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-top: 0;
}

.cenik tr {
  background: #fff;
  border-radius: 10px;
}

.cenik th {
  font-weight: 600;
  font-size: 14px;
  padding: 5px 8px;
  text-align: left;
  color: #211b31;
  border-bottom: 2px solid #eee;
}

/* Header vrstice */
.cenik thead tr {
  background: transparent;
}

.cenik td {
  padding: 6px 8px;
  font-size: 14px;
  color: #2d2d2d;
}

/* Cena desno poravnana in vijolična */
.cenik td:last-child {
  text-align: left;
  font-weight: 500;
  color: #a78bfa;
  width: 28%;
}

/* Hover efekt vrstice */
.cenik tbody tr:hover {
  background: #f8f4ff;
}

/* Popravek paddinga znotraj Avada accordionov */
.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-body {
  padding-top: 0 !important;
}

/* Radius border na toggle cenik */
.toggle-cenik-pon .fusion-panel.fusion-toggle-boxed-mode,
.ugodnost-badge .fusion-column-wrapper {
  border-radius: 4px !important;
  border-color: #e8e5e7 !important;
}

.cenik1-toggle, .cenik2-toggle {
  margin-bottom: 12px !important;
}


/* ==================================================
   MOBILE – HORIZONTAL SWIPE BADGES
   ================================================== */
.ugodnosti-scroll {
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  gap: 12px;
  padding: 0 30px !important;
  -webkit-overflow-scrolling: touch;
}

.ugodnost-badge {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  width: auto !important;
  margin-right: 8px !important;
}

/* Popravek overflow v Fusion containerju */
.fusion-flex-container.ugodnosti-scroll {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Skrij scrollbar */
.fusion-flex-container.ugodnosti-scroll::-webkit-scrollbar {
  display: none !important;
}


/* ==================================================
   OFFCANVAS – STREETMAP
   ================================================== */
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  position: absolute !important;
  bottom: 9px !important;
}

/* Gumb za zapiranje offcanvas */
#awb-oc-8567 .off-canvas-close {
  background-color: #f3f1ef;
  color: rgba(17, 17, 17, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

#awb-oc-8567 .off-canvas-close:hover {
  background: #a78bfa;
  color: #fff;
}

/* ==================================================
   AMELIA BOOKING FORM TEXT COLORS
   ================================================== */
/* Amelia – global color fix for all subsites */
.am-fs__congrats-info span:first-child {
    color: #8b5cf6 !important; /* ali tvoja svetla vijola */
    font-weight: 600;
}

/* ==================================================
   OFFCANVAS – AMELIA BOOKING FORM REZERVACIJE
   ================================================== */
#awb-oc-9056 .awb-off-canvas {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.11 ),
        0 4px 10px rgba(0, 0, 0, 0.09) !important;
    border-radius: 16px !important;
}


/* ==================================================
   FORM TEXTAREA COUNTER
   ================================================== */


/* ==================================================
   RESPONSIVE STYLES (max-width: 768px)
   ================================================== */
@media (max-width: 768px) {

  /* Popravek paddinga glavnega containera */
  #main {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .booking_width_layouts {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Cenik mobilna prilagoditev */
  .cenik th,
  .cenik td {
    font-size: 14px;
    padding: 10px;
  }

  .cenik td {
    padding: 3px 8px !important;
  }

  .fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-body {
    padding-top: 0 !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  /* Gumb nad mapo – centrirano */
  .button_nad_mapa {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999 !important;
  }

  .mobile_ponudik_maps {
    position: absolute !important;
  }

  /* Mobilni scroll badge */
  .ugodnosti-scroll {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    gap: 12px;
    padding: 0 30px !important;
    -webkit-overflow-scrolling: touch;
  }

  .ugodnosti-scroll::-webkit-scrollbar {
    display: none;
  }

  .ugodnost-badge {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    width: auto !important;
    margin-right: 8px !important;
  }
  
}
