/* EUNET: stock pravilo .footer-content { display:none } je uklonjeno — kod side
   summary-ja nema fiksne donje trake koja bi se preklapala sa footerom, pa se
   footer normalno prikazuje. */

.cart-products-scount {
    border: 1px solid #ddd;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 18px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-right: 20px;
    margin-bottom: .5rem;
    display: inline-block;
    text-align: center;
    color: #888;
}

.cart-product {
    overflow: hidden;
}

.cart-product:hover:not(.outofstock) {
    border-color: #9BA0B3;
    cursor: pointer;
}

.cart-product.outofstock:hover {
    cursor: default;
}

.cart-product.outofstock .cart-product-outofstock-badge {
    background: #9BA0B3;
    display: block;
    position: absolute;
    color: #fff;
    top: -25px;
    left: -184px;
    transform: rotate(-45deg);
    padding: 40px 50px 10px;
    text-align: center;
    width: 400px;
    text-transform: uppercase;
    line-height: 15px;
    letter-spacing: 1px;
    word-spacing: 5px;
    font-size: 12px;
    z-index: 20;
}

.cart-product .cart-product-section {
    margin-bottom: -1px;
    padding-bottom: 0;
    display: block;
    height: auto;
    overflow: hidden;
}

.cart-product.outofstock .cart-product-section {
    opacity: .4;
}

.cart-product .cart-product-section ul {
    margin: 0;
}

/* EUNET: stock stil selekcije uklonjen — selekcija je suptilan primary border
   (vidi EUNET sekciju na dnu fajla), pozadina i boje teksta se ne menjaju. */
.cart-product.selected:not(.outofstock) {
    cursor: default;
    transition: all .2s ease;
}





.cart-product .vtip_description.vtip_features {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    z-index: 20;
    background: url(../vtip.png) no-repeat right center;
}

.cart-product-features ul {
    padding-left: 0;
    margin-left: 1rem;
    margin-right: 1rem;
    list-style: none !important;
}

.orderpage .orderpage-couponbox {
    margin: 20px 0;
}

.orderpage .orderpage-summary.orderpage-summary-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    box-shadow: 0px 4px 12px 0px rgba(109, 40, 217, 0.04);
    z-index: 840;
    padding: 10px;
    height: auto;
    background-color: white;
}

.orderpage .orderpage-summary .orderpage-summary-content {
    margin: 5px auto;
}

.orderpage .orderpage-summary:not(.orderpage-summary-sticky) .orderpage-summary-content .orderpage-summary_bcycle {
    margin: 3rem 0 !important;
}

.orderpage .orderpage-summary:not(.orderpage-summary-sticky) .orderpage-summary-content .orderpage-summary_total {
    margin: 3rem 0 !important;
}

.orderpage .orderpage-summary:not(.orderpage-summary-sticky) .orderpage-summary-content .orderpage-summary_submit {
    margin: 3rem auto !important;
    width: 300px;
}

.orderpage .orderpage-summary.orderpage-summary-sticky .orderpage-summary-content .orderpage-summary_bcycle {
    width: 100%;
    margin-right: 40px;
}

.orderpage .orderpage-summary.orderpage-summary-sticky .orderpage-summary-content .orderpage-summary_total {
    width: 100%;
    margin-right: 40px;
}

.orderpage .orderpage-summary.orderpage-summary-sticky .orderpage-summary-content .orderpage-summary_title .cart-products-scount {
    display: none;
}

.orderpage .orderpage-summary.orderpage-summary-sticky .orderpage-summary-content .orderpage-summary_title h3 {
    font-size: 12px;
    color: #9BA0B3;
    margin-bottom: 0px;
    display: block;
    letter-spacing: .45px;
}

.orderpage .orderpage-summary .orderpage-summary-details {
    margin: 5px auto;
}

.orderpage .orderpage-summary .orderpage-summary-details-info {
    margin: 5px auto;
    display: flex;
    flex-direction: row;
}
#texts-config{
    margin-top: 80px;
}
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    z-index: 200;
}

.ribbon::after {
    position: absolute;
    z-index: 200;
    content: '';
    display: block;
    border: 5px solid;
    border-color: #2dc76b;
}
.ribbon::before{
    position: absolute;
    z-index: 200;
    content: '';
    display: block;
    border: 5px solid;
    border-color: #2dc76b;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #2dc76b;
    box-shadow: 0px 4px 12px 0px rgba(109, 40, 217, 0.04);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}
.product-out-of-stock{
    position: absolute;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-top-left-radius: .43rem .43rem;
    top: 0;
}
.orderpage-summary-content{
    width: 100% !important;
}
.orderpage-summary-details-info{
    width: 100% !important;
}
.orderpage-summary-details{
    width: 100% !important;
}
.section_summary_side{
    position: sticky;
    top: 0;
    bottom: 0;
}
#orderpage-lastblock{
    height: 0 !important;
}
.orderpage .orderpage-summary.orderpage-summary-sticky{
    position: sticky;
    top: 85px;
    margin-left: 0 !important;
    height: auto;
    width: 100% !important;
    border-radius: 25px;
    padding: 20px !important;
    border: 1px solid #e9ecef;
    overflow: unset !important;
}
.orderpage-summary-content{
    padding-bottom: 20px !important;
}
#promoform{
    padding-bottom: 20px;
    padding-top: 20px;
}
.orderpage-summary-details{
    display: block !important;
}
.orderpage-summary_total{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
}
.cupon-code{
    font-size: 14px;
}
.text-promo{
    padding-right: 5px;
    font-weight: 700;
}
.subtotal-cupon{
    color: #9799A6 !important;
    font-size: 10px;
}

/* ============================================================
   EUNET dodaci — "Web Hosting - Original" orderpage
   ============================================================ */

/* Link "Detaljniji opis servisa je dostupan ovde." ispod izbora paketa */
.eunet-op-descline { color: #4a4a5a; }
.eunet-op-descline a { color: var(--primary); text-decoration: underline; }

/* Fieldset box "Interval plaćanja" — naslov sedi na gornjoj ivici okvira */
.eunet-cycle-box {
    border: 1px solid rgba(0, 4, 21, .18);
    border-radius: 6px;
    padding: 16px 22px 14px;
    background: #fff;
}
.eunet-cycle-box-title {
    width: auto;              /* bootstrap postavlja legend na 100% — vraćamo native izgled */
    padding: 2px 10px;
    margin-bottom: 0;
    font-size: .9rem;
    font-weight: 600;
    color: #000415;
    border: 1px solid rgba(0, 4, 21, .18);
    border-radius: 4px;
    background: #fff;
}
.eunet-cycle-box select { max-width: 320px; }
.eunet-cycle-notes small { color: #6c757d; line-height: 1.45; }
.eunet-cycle-notes a { color: var(--primary); text-decoration: underline; }

/* ============================================================
   EUNET — hero (ljubičasti box) + paketi kao horizontalni redovi
   ============================================================ */

/* Hero: naslov + podnaslov na primary pozadini, ikona u krugu desno */
.eunet-op-hero {
    background: var(--primary);
    border-radius: 10px;
    padding: 22px 28px;
    color: #fff;
}
.eunet-op-hero h1 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}
/* jači selektor + !important — admin CSS ima .section-main h5 { color:#000415 !important }
   koji bi inače ofarbao podnaslov u crno */
.eunet-op-hero h5,
.section-main .eunet-op-hero h5 {
    margin: 0;
    font-size: .95rem;
    font-weight: 400;
    color: #fff !important;
}
.eunet-op-hero-icon {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 3px solid rgba(255, 255, 255, .35);
}
.eunet-op-hero-icon img {
    width: 44px;
    height: 44px;
}

/* Redovi paketa — flex red: ikona | naziv | opis */
.eunet-op-plans {
    gap: 14px;
}
.cart-products .eunet-op-plan.cart-product {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 16px 24px;
    margin-bottom: 0 !important; /* razmak daje gap iz .eunet-op-plans */
}
/* manji hover lift za redove (globalnih -8px je previše za listu) */
.cart-products .eunet-op-plan.cart-product:not(.selected):hover {
    transform: translateY(-2px) !important;
}
/* ikona u beloj kružnici — vidljiva i na selektovanom (ljubičastom) redu */
.eunet-op-plan-icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0px 4px 12px 0px rgba(109, 40, 217, 0.04);
}
.eunet-op-plan-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.eunet-op-plan-name {
    flex: 0 0 140px;
}
.eunet-op-plan-name h4 {
    font-size: 1.15rem;
}
.eunet-op-plan-desc {
    flex: 1 1 auto;
    line-height: 1.55;
    color: #4a4a5a;
}
.eunet-op-plan-intro {
    margin-bottom: 2px;
    color: #343a40;
}
.eunet-op-plan-spec strong {
    font-weight: 700;
}
/* zarez između specifikacija — CSS, pa radi i preko više spec grupa */
.eunet-op-plan-spec + .eunet-op-plan-spec::before {
    content: ", ";
}

/* Selektovan red: BEZ ljubičastog switcha pozadine i belog teksta — bela pozadina
   i crn tekst ostaju, selekciju označava samo suptilan primary border + blaga senka.
   Globalna pravila (.cart-products .cart-product.selected) su !important, pa ih
   gazimo jačim selektorom (dodatna .eunet-op-plan klasa) + !important. */
.cart-products .eunet-op-plan.cart-product.selected {
    background: #fff !important;
    border: 1px solid rgba(109, 40, 217, .55) !important;
    box-shadow: 0px 4px 12px 0px rgba(109, 40, 217, 0.04) !important;
    transform: none !important;
}
.cart-products .eunet-op-plan.cart-product.selected h4 {
    color: #000415 !important;
}

/* mobil: naziv pored ikone, opis u novom redu */
@media (max-width: 767.98px) {
    .cart-products .eunet-op-plan.cart-product {
        flex-wrap: wrap;
        gap: 12px;
    }
    .eunet-op-plan-name { flex: 1 1 auto; }
    .eunet-op-plan-desc { flex: 1 1 100%; }
}

/* ============================================================
   EUNET — tipografija side summary boxa
   Stock koristi h1/h3/h5 skale predviđene za donju traku preko celog
   ekrana; u uskom bočnom boxu deluju predimenzionirano. Svodimo na
   skalu konzistentnu sa ostatkom strane (osnovni tekst .9rem).
   ============================================================ */

/* Naslov "Rezime korpe" */
.orderpage .orderpage-summary > h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem !important;
}

/* Detalji (tabela: proizvod, naknada, ciklus) */
.orderpage .orderpage-summary .orderpage-summary-details {
    font-size: .9rem;
}
.orderpage .orderpage-summary .orderpage-summary-details td {
    padding: 2px 0;
}

/* Sadržaj summary-ja — osnovna veličina, h-elementi je preciziraju ispod */
.orderpage .orderpage-summary .orderpage-summary-content {
    font-size: .9rem;
}

/* "Ukupno ponavljajuće:" — sekundarna informacija, ne naslov */
.orderpage .orderpage-summary .orderpage-summary-content h5 {
    font-size: .9rem;
    font-weight: 400;
    margin: 0;
}

/* "Ukupno do danas:" — jasan label, ali ne h3 skala */
.orderpage .orderpage-summary .orderpage-summary_total h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Red "Ukupno do danas": label i cena u istoj liniji — markup ima align-items-end,
   a .h1 klasa nosi donju marginu pa cena "lebdi" iznad labela */
.orderpage .orderpage-summary .orderpage-summary_total {
    align-items: center !important;
}

/* Iznos — bez naglašavanja: ista veličina, visina linije i crna boja kao label
   (color !important jer tema za .text-primary koristi !important) */
.orderpage .orderpage-summary .orderpage-summary_total .text-primary.h1 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #000415 !important;
}
