/* RESAI | E-jagoda — global frontend tweaks (site-wide). */

/* Skrij znesek/ceno ob ikoni košarice v glavi (ostane ikona + števec). */
.ct-cart-item .ct-label { display: none !important; }

/* Klikabilna cela kartica (prekrivni link, brez vpliva na postavitev). */
.rrei-cardlink-wrap, .rrei-cardlink-wrap > .elementor-widget-container { position: static !important; margin: 0 !important; }
.rrei-card-overlay { position: absolute; inset: 0; z-index: 5; display: block; }

/* Prisili 5 stolpcev za WooCommerce loop (razred ej-cols-5 na Shortcode widget). */
.ej-cols-5 ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) { .ej-cols-5 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 600px)  { .ej-cols-5 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Slider paginacija (Swiper): aktivna pika podaljsana v pill + mehka animacija. Barve ostanejo privzete. */
.elementor .swiper-pagination-bullet { transition: width .35s cubic-bezier(.4, 0, .2, 1), border-radius .35s ease; }
.elementor .swiper-pagination-bullet-active { width: 22px !important; border-radius: 6px !important; }


/* Full-bleed desno: levi rob poravnan s kontejnerjem, desni sega do roba zaslona. Dodaj razred 'ej-bleed-right' na Loop Carousel widget (Advanced > CSS Classes). */
.ej-bleed-right { width: calc(100% + (100vw - 100%) / 2) !important; max-width: none !important; align-self: flex-start !important; }


/* Podmeni menijske postavke 3124 - zgornji odmik. */
#menu-item-3124 ul.sub-menu { padding-top: 20px; }


/* ===== Footer redizajn (po referenci): temno modro ozadje + zeleni poudarki ===== */
:root { --ej-footer-bg: #13293f; --ej-green: #A6CE38; --ej-footer-link: #c7d2df; }

/* Ozadje celega footerja (vse vrstice enotno) */
.ct-footer, .ct-footer > div { background-color: var(--ej-footer-bg) !important; }

/* Naslovi stolpcev = prva postavka menija -> zelena, uppercase, brez klika */
.ct-footer .footer-menu-inline ul.menu > li:first-child,
.ct-footer .footer-menu-inline ul.menu > li:first-child > a { color: var(--ej-green) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ct-footer .footer-menu-inline ul.menu > li:first-child > a { pointer-events: none; cursor: default; }

/* Menijske povezave */
.ct-footer .footer-menu-inline ul.menu > li:not(:first-child) > a { color: var(--ej-footer-link) !important; }
.ct-footer .footer-menu-inline ul.menu > li:not(:first-child) > a:hover { color: var(--ej-green) !important; }

/* Kontakt stolpec */
.ct-footer .ct-contact-info a { color: var(--ej-footer-link) !important; }
.ct-footer .ct-contact-info a:hover { color: var(--ej-green) !important; }
/* naslov firme (prva postavka) zelen bold */
.ct-footer .ct-contact-info li:first-child { color: var(--ej-green) !important; font-weight: 700; }
/* zelene pike pred kontaktnimi vrsticami (razen prve in zadnje) */
.ct-footer .ct-contact-info li:not(:first-child):not(:last-child) { position: relative; padding-left: 18px; color: var(--ej-footer-link); }
.ct-footer .ct-contact-info li:not(:first-child):not(:last-child)::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--ej-green); }

/* zadnja postavka (Pošljite povpraševanje) = zeleni outline gumb */
.ct-footer .ct-contact-info li:last-child a { display: inline-block; border: 1px solid var(--ej-green); color: var(--ej-green) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 12px 26px; border-radius: 6px; margin-top: 10px; transition: background .2s, color .2s; }
.ct-footer .ct-contact-info li:last-child a:hover { background: var(--ej-green); color: var(--ej-footer-bg) !important; }

/* Spodnja vrstica (copyright) poravnaj levo + svetlejši tekst */
.ct-footer .ct-footer-copyright { color: var(--ej-footer-link); }
.ct-footer .ct-footer-copyright a { color: var(--ej-footer-link) !important; }
.ct-footer .ct-footer-copyright a:hover { color: var(--ej-green) !important; }
