/* ===========================
   GLOBAL
=========================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; color: #333; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }
p { font-family: 'Montserrat', sans-serif !important; font-size: 15.5px !important; line-height: 1.5; }


/* ===========================
   NAVBAR
=========================== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar { padding: 12px 0; }
.main-logo { max-height: 60px; }
.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #333 !important;
    padding: 8px 16px !important;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: #e30613 !important; }

/* Mega menu */
.mega-menu {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 24px 0;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 0;
}
.mega-col { padding: 0 20px; border-right: 1px solid #f0f0f0; }
.mega-col:last-child { border-right: none; }
.mega-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #e30613 !important;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mega-list { list-style: none; padding: 0; }
.mega-list li { margin-bottom: 6px; }
.mega-list li a {
    font-size: 13px;
    color: #555;
    transition: color 0.2s;
}
.mega-list li a:hover { color: #e30613; }

/* ===========================
   HERO VIDEO
=========================== */
.hero-video {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* ===========================
   CATEGORIES SECTION
=========================== */
.categories-section { padding: 40px 0; background: #f8f8f8; }
.category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    min-height: 80px;
    transition: all 0.25s;
    width: 100%;
}
.category-card:hover {
    background: #e30613;
    border-color: #e30613;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227,6,19,0.25);
}

/* ===========================
   BANNERS SECTION
=========================== */
.banners-section { padding: 60px 0; }
.banner-item {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}
.banner-item:last-child { border-bottom: none; }
.banner-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.banner-subtitle {
    font-size: 16px;
    color: #e30613;
    font-weight: 500;
    margin-bottom: 12px;
}
.btn-opširnije {
    display: inline-block;
    background: #e30613;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: background 0.2s;
}
.btn-opširnije:hover { background: #b8000f; }

/* ===========================
   PAGE SECTION
=========================== */
.page-section { padding: 60px 0; }
.page-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e30613;
    display: inline-block;
}
.page-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 28px 0 12px;
}

/* ===========================
   CONTACT
=========================== */
.contact-info { list-style: none; padding: 0; }
.contact-info li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}
.contact-info li i { color: #e30613; margin-right: 8px; }
.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.contact-form .form-control:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 2px rgba(227,6,19,0.1);
}
.btn-submit {
    display: inline-block;
    background: #e30613;
    color: #fff !important;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background: #b8000f; }

/* ===========================
   PRODUCTS GRID
=========================== */
.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s;
    height: 100%;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-no-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
}
.product-card-body { padding: 16px; }
.product-card-body h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}
.btn-product {
    display: inline-block;
    background: #333;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-product:hover { background: #e30613; }

/* ===========================
   PRODUCT DETAIL
=========================== */
.product-main-img {
    border-radius: 6px;
    border: 1px solid #eee;
    width: 100%;
}
.specs-table th {
    width: 40%;
    font-weight: 600;
    color: #555;
}

/* ===========================
   BRANDS
=========================== */
.brand-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 24px;
    height: 100%;
    transition: box-shadow 0.25s;
}
.brand-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.brand-card h4 {
    color: #e30613;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: #222;
    color: #ccc;
    padding: 48px 0 0;
    margin-top: 60px;
}
.site-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li {
    padding: 5px 0;
    font-size: 14px;
    color: #aaa;
}
.footer-links li a { color: #aaa; transition: color 0.2s; }
.footer-links li a:hover { color: #e30613; }
.footer-links li i { color: #e30613; margin-right: 6px; }
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 32px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13px; color: #888; }
.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { font-size: 13px; color: #888; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #e30613; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .hero-video { height: 250px; }
    .mega-menu { width: 100%; transform: none; left: 0; }
    .banner-item { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Fix banner visibility */
.banner-item {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.banner-content h2 { color: #222 !important; }
.banner-content p { color: #555 !important; }
.banner-subtitle { color: #e30613 !important; }

/* Fix categories visibility */
.categories-section { background: #f0f0f0; padding: 40px 0; }
.category-card { 
    background: #fff; 
    color: #333 !important; 
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 6px;
    font-weight: 600;
    min-height: 80px;
    text-align: center;
    transition: all 0.25s;
}
.category-card:hover {
    background: #e30613 !important;
    color: #fff !important;
    border-color: #e30613;
}

/* ===========================
   NAVBAR - ispravka boje
=========================== */
.site-header {
    background: #2c3e50 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
    color: #e30613 !important;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===========================
   BANNERS - 2x2 grid
=========================== */
.banners-section { padding: 0; margin-top: 0; }
.banner-block { padding: 0; }
.banner-inner {
    position: relative;
    overflow: hidden;
    height: 380px;
    background: #1a252f;
}
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.banner-block:hover .banner-img {
    transform: scale(1.05);
    opacity: 0.35;
}
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 36px;
    color: #fff;
}
.banner-overlay h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.banner-overlay .banner-subtitle {
    font-size: 14px;
    color: #e30613;
    font-weight: 600;
    margin-bottom: 8px;
}
.banner-overlay .banner-text {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.banner-overlay .btn-opširnije {
    background: #e30613;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s;
}
.banner-overlay .btn-opširnije:hover { background: #b8000f; }

@media (max-width: 768px) {
    .banner-inner { height: 280px; }
    .banner-overlay { padding: 20px; }
    .banner-overlay h2 { font-size: 20px; }
}

/* ===========================
   BANNERS - 4x1 (jedna ispod druge)
=========================== */
.banners-section { padding: 40px 0; }
.banner-block { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
.banner-inner {
    position: relative;
    overflow: hidden;
    height: auto !important;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.banner-img {
    width: 300px !important;
    height: 220px !important;
    object-fit: cover;
    opacity: 1 !important;
    flex-shrink: 0;
    border-radius: 4px;
}
.banner-overlay {
    position: static !important;
    padding: 0 0 0 36px !important;
    color: #333 !important;
}
.banner-overlay h2 { color: #222 !important; font-size: 24px; }
.banner-overlay .banner-subtitle { color: #e30613 !important; }
.banner-overlay .banner-text {
    color: #555 !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}
.banner-block:hover .banner-img {
    transform: none !important;
    opacity: 1 !important;
}

/* ===========================
   BANNERS - 4 kolone kao original
=========================== */
.banners-section {
    padding: 60px 0;
    background: #fff;
}
.banner-col {
    padding: 20px 24px;
    border-right: 1px solid #eee;
}
.banner-col:last-child { border-right: none; }
.banner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.banner-icon {
    margin-bottom: 20px;
}
.banner-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
}
.banner-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.banner-subtitle-top {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.banner-divider {
    width: 100%;
    border-top: 1px solid #ddd;
    margin: 12px 0 16px;
}
.banner-text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}
.btn-banner {
    display: inline-block;
    background: #f0f0f0;
    color: #333 !important;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}
.btn-banner:hover {
    background: #e30613;
    color: #fff !important;
}

@media (max-width: 768px) {
    .banner-col { border-right: none; border-bottom: 1px solid #eee; margin-bottom: 20px; }
}

/* ===========================
   BANNERS - poravnanje dugmića
=========================== */
.banner-col {
    display: flex;
}
.banner-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
}
.banner-text {
    flex-grow: 1 !important;
    margin-bottom: 24px !important;
}
.btn-banner {
    margin-top: auto;
    align-self: flex-start;
}

/* ===========================
   BANNERS - poravnanje linija
=========================== */
.banner-title {
    min-height: 56px;
}
.banner-subtitle-top {
    min-height: 48px;
}

/* ===========================
   SUBCATEGORY GRID
=========================== */
.subcategory-card {
    display: block;
    text-align: center;
    color: #333;
    transition: color 0.2s;
}
.subcategory-card:hover { color: #e30613; }
.subcategory-img-wrap {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    /* height: 130px; */
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.subcategory-card:hover .subcategory-img-wrap {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #e30613;
}
.subcategory-img-wrap img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.subcategory-card p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Naslov kategorije */
.page-section h1 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    padding-bottom: 12px;
    border-bottom: 3px solid #e30613;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   MEGA MENU
=========================== */
.mega-dropdown { position: static !important; }

.mega-menu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    padding: 24px 0 !important;
    background: #fff !important;
    margin-top: 0 !important;
}

.mega-col {
    padding: 0 20px;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
}
.mega-col:last-child { border-right: none; }

.mega-parent-link {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e30613 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-decoration: none;
}
.mega-parent-link:hover {
    color: #b8000f !important;
    text-decoration: none;
}

.mega-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-sub-list li {
    margin-bottom: 6px;
}
.mega-sub-list li a {
    font-size: 13px;
    color: #444 !important;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 2px 0;
}
.mega-sub-list li a:hover {
    color: #e30613 !important;
    text-decoration: none;
}

/* Navbar mora biti relative da mega menu radi */
.navbar {
    position: relative !important;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ===========================
   MEGA MENU FIX
=========================== */
.navbar { position: relative !important; }
.mega-dropdown { position: static !important; }
.mega-menu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    top: 100% !important;
}
.mega-menu .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.mega-menu .row {
    flex-wrap: nowrap;
}

/* ===========================
   MEGA MENU FINAL FIX
=========================== */
.site-header .navbar {
    position: relative !important;
}
.mega-dropdown {
    position: static !important;
}
.mega-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    top: auto !important;
    border-top: 3px solid #e30613 !important;
}
.mega-menu .container-fluid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 30px;
}
.mega-menu .row {
    flex-wrap: wrap !important;
    justify-content: flex-start;
}
.mega-col {
    flex: 1 1 0;
    min-width: 150px;
    max-width: 250px;
    padding: 0 15px !important;
    border-right: 1px solid #f0f0f0 !important;
}
.mega-col:last-child {
    border-right: none !important;
}

/* ===========================
   MEGA MENU RESET I FINAL
=========================== */
.navbar { position: static !important; }
.mega-dropdown { position: static !important; }

.dropdown-menu.mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 1140px !important;
    max-width: 98vw !important;
    margin: 0 !important;
    padding: 24px !important;
    border: none !important;
    border-top: 3px solid #e30613 !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    background: #fff !important;
}

.dropdown-menu.mega-menu .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.dropdown-menu.mega-menu .mega-col {
    flex: 1 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    border-right: 1px solid #eee !important;
}

.dropdown-menu.mega-menu .mega-col:last-child {
    border-right: none !important;
}

/* Navbar mora biti relative za absolute pozicioniranje */
.navbar.navbar-expand-lg {
    position: relative !important;
}

/* ===========================
   MEGA MENU SA SLIKAMA
=========================== */
.navbar.navbar-expand-lg { position: relative !important; }
.mega-dropdown { position: static !important; }

.dropdown-menu.mega-menu {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 900px !important;
    max-width: 98vw !important;
    top: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
    background: #fff !important;
    max-height: 80vh;
    overflow-y: auto;
}

.mega-inner {
    padding: 24px 28px;
}

.mega-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.mega-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mega-section-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    /* color: #e30613 !important; */
    color: #2c6fad !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-decoration: none;
    border-bottom: 1px solid #2c6fad;
    padding-bottom: 1px;
    display: inline-block;
}
.mega-section-title:hover {
    color: #1a5a96 !important;
    text-decoration: none;
}

.mega-section-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mega-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-decoration: none !important;
    color: #333 !important;
    transition: color 0.2s;
}
.mega-item:hover { color: #e30613 !important; }
.mega-item:hover .mega-item-img {
    /* border-color: #e30613; */
    border-color: #37c6ff;
    /* box-shadow: 0 2px 8px rgba(227,6,19,0.15); */
    box-shadow: 0 2px 8px rgba(0, 124, 173, 0.45);
}

.mega-item-img {
    width: 100%;
    height: 80px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 6px;
}
.mega-item-img img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}
.mega-item-no-img {
    background: #f5f5f5;
}

.mega-item span {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
    color: #444;
}
.mega-item:hover span { color: #e30613; }

/* ===========================
   MEGA MENU - širi i veće slike
=========================== */
.dropdown-menu.mega-menu {
    width: 1100px !important;
    max-width: 96vw !important;
}
.mega-section-items {
    gap: 12px !important;
}
.mega-item {
    width: 140px !important;
}
.mega-item-img {
    height: 100px !important;
    padding: 10px !important;
}
.mega-item-img img {
    max-height: 76px !important;
}
.mega-item span {
    font-size: 13px !important;
}

/* ===========================
   MEGA MENU - maksimalna širina
=========================== */
.dropdown-menu.mega-menu {
    width: 1200px !important;
    max-width: 98vw !important;
    max-height: 90vh !important;
}
.mega-section-items {
    gap: 16px !important;
}
.mega-item {
    width: 160px !important;
}
.mega-item-img {
    height: 120px !important;
    padding: 12px !important;
}
.mega-item-img img {
    max-height: 90px !important;
}
.mega-item span {
    font-size: 13px !important;
    margin-top: 4px !important;
}

/* ===========================
   PRODUCT CARD - novi stil
=========================== */
.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.product-card-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}
.product-card-img img {
    max-width: 100%;
    max-height: 168px;
    object-fit: contain;
}
.product-no-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
}
.product-card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card-body h5 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}
.btn-detaljnije {
    display: block;
    text-align: center;
    background: #e8e8e8;
    color: #333 !important;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.btn-detaljnije:hover {
    background: #2c3e50;
    color: #fff !important;
    text-decoration: none;
}

/* ===========================
   PAGINATOR
=========================== */
.pagination .page-link {
    color: #333;
    border-color: #ddd;
    padding: 8px 14px;
}
.pagination .page-item.active .page-link {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}
.pagination .page-link:hover {
    background: #e30613;
    border-color: #e30613;
    color: #fff;
}

/* ===========================
   BREADCRUMB
=========================== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 8px;
    font-size: 13px;
}
.breadcrumb-item a { color: #e30613; }
.breadcrumb-item.active { color: #888; }
.breadcrumb-item + .breadcrumb-item::before { color: #aaa; }

/* ===========================
   SIDEBAR
=========================== */
.sidebar-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    /* margin-bottom: 20px; */
}
.sidebar-title {
    background: #2c3e50;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 12px 16px;
}
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-parent { border-bottom: 1px solid #f0f0f0; }
.sidebar-parent:last-child { border-bottom: none; }
.sidebar-parent-link {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-parent-link:hover,
.sidebar-parent-link.active { color: #e30613; text-decoration: none; }
.sidebar-child-list {
    list-style: none;
    padding: 0 0 8px 16px;
    margin: 0;
    background: #fafafa;
}
.sidebar-child-list li a {
    display: block;
    padding: 5px 8px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-child-list li a:hover,
.sidebar-child-list li a.active { color: #e30613; }

/* ===========================
   PRODUCT CARD - bela pozadina
=========================== */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background: #fff;
    transition: box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.75); }

.product-card-name {
    display: block;
    padding: 12px 14px 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    min-height: 52px;
}
.product-card-name:hover { color: #e30613; text-decoration: none; }

.product-card-img-link { display: block; }
.product-card-img {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.product-card-img img {
    max-width: 100%;
    max-height: 156px;
    object-fit: contain;
}

.product-card-body { padding: 12px; }

.btn-detaljnije {
    display: block;
    text-align: center;
    background: #e8e8e8;
    color: #333 !important;
    padding: 9px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none !important;
}
.btn-detaljnije:hover {
    background: #2c3e50;
    color: #fff !important;
}

/* Sort i header */
.products-header { margin-bottom: 16px; }
.products-breadcrumb-inline {
    font-size: 13px;
    color: #666;
}
.products-breadcrumb-inline a { color: #e30613; }
.sort-select {
    width: 180px !important;
    font-size: 13px;
    border-color: #ddd;
}

/* ===========================
   PRODUCT DETAIL
=========================== */
.product-detail-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 32px;
}
.product-main-img-wrap {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
    margin-bottom: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-main-img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    cursor: zoom-in;
}
.product-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.product-thumb:hover { border-color: #e30613; }

.product-detail-name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.product-detail-tip {
    font-size: 18px;
    font-weight: 600;
    color: #2c6fad;
    margin-bottom: 16px;
}
.product-detail-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

/* Tabovi */
.product-tabs .nav-tabs { border-bottom: 2px solid #dee2e6; }
.product-tabs .nav-link {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
}
.product-tabs .nav-link.active {
    color: #2c6fad;
    border-bottom: 2px solid #2c6fad;
    background: transparent;
}
.product-tab-content {
    padding: 16px 0;
}
.specs-table { font-size: 14px; }
.spec-key {
    font-weight: 600;
    color: #444;
    width: 40%;
    border-top: none;
    padding: 8px 12px;
}
.spec-val {
    color: #555;
    border-top: none;
    padding: 8px 12px;
}
.specs-table tr:first-child td { border-top: none; }
.doc-link { color: #2c6fad; }
.doc-link:hover { color: #e30613; }

/* Kontakt box */
.product-contact-box {
    background: #f8f9fa;
    border-top: 3px solid #2c6fad;
    border-radius: 4px;
    padding: 28px 32px;
    text-align: center;
}
.product-contact-box h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2c6fad;
    margin-bottom: 20px;
}
.product-contact-box .form-control {
    border-radius: 3px;
    font-size: 14px;
}
.product-contact-box a { color: #2c6fad; }

/* Product thumb active */
.product-thumb.active {
    border-color: #e30613 !important;
    box-shadow: 0 0 0 2px rgba(227,6,19,0.2);
}

/* ===========================
   PRODUCT DETAIL - kontakt dugme
=========================== */
.btn-contact-toggle {
    display: inline-block;
    background: #2c6fad;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-contact-toggle:hover { background: #1a5a96; }

.product-contact-form {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
}
.product-contact-form .form-control {
    font-size: 14px;
    border-radius: 3px;
}
.contact-phone {
    font-size: 14px;
    color: #555;
}
.contact-phone a { color: #2c6fad; }

/* ===========================
   PRODUCT DETAIL - final
=========================== */
.pd-name {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}
.pd-tip {
    font-size: 20px;
    font-weight: 600;
    color: #2c6fad;
    margin-bottom: 16px;
}
.pd-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 16px;
}
.pd-tabs .nav-tabs { border-bottom: 1px solid #dee2e6; }
.pd-tabs .nav-link {
    font-size: 14px;
    color: #555;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
}
.pd-tabs .nav-link.active {
    color: #2c6fad;
    border-bottom: 2px solid #2c6fad;
    background: transparent;
}
.pd-tab-content { padding: 16px 0; }
.pd-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.pd-specs-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.pd-specs-list li:last-child { border-bottom: none; }
.pd-doc-link { color: #2c6fad; }
.pd-doc-link:hover { color: #e30613; }

/* Kontakt box */
.pd-contact-box {
    background: #f8f9fa;
    border-top: 3px solid #2c6fad;
    padding: 32px;
    text-align: center;
}
.pd-contact-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2c6fad;
    margin-bottom: 24px;
}
.pd-contact-phone {
    font-size: 14px;
    color: #555;
    margin: 12px 0;
}
.pd-contact-phone a { color: #2c6fad; font-weight: 600; }

/* ===========================
   PRODUCT DETAIL - identično originalu
=========================== */
.pd-breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 13px;
}
.pd-breadcrumb a { color: #555; }
.pd-breadcrumb .breadcrumb-item.active { color: #888; }
.pd-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #aaa; }

.pd-h1 {
    font-size: 22px;
    font-weight: 400;
    color: #222;
    margin-bottom: 2px;
}

.pd-main-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.pd-img-col {
    border-right: 1px solid #e0e0e0;
    padding: 20px;
}
.pd-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.pd-main-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    cursor: zoom-in;
}
.pd-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pd-thumb:hover,
.pd-thumb.active { border-color: #2c6fad; }

.pd-info-col { padding: 24px; }

.pd-desc-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Nav tabovi */
.pd-nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
}
.pd-nav-tabs .nav-link {
    font-size: 14px;
    color: #555;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 18px;
    border-radius: 0;
}
.pd-nav-tabs .nav-link.active {
    color: #2c6fad;
    border-bottom: 2px solid #2c6fad;
    background: transparent;
    font-weight: 600;
}
.pd-tab-body { padding-top: 12px; }

.pd-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.pd-spec-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.pd-spec-list li:last-child { border-bottom: none; }
.pd-doc-link { color: #2c6fad; font-size: 13px; }
.pd-doc-link:hover { color: #e30613; }

/* Kontakt */
.pd-contact-box {
    background: #f8f9fa;
    border-top: 3px solid #2c6fad;
    padding: 28px 20px;
    text-align: center;
}
.pd-contact-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2c6fad;
    margin-bottom: 20px;
}
.pd-contact-phone {
    font-size: 13px;
    color: #555;
    margin: 10px 0;
}
.pd-contact-phone a { color: #2c6fad; font-weight: 600; }

/* ===========================
   PRODUCT DETAIL - kontakt dugme
=========================== */
.pd-contact-section { border-top: 1px solid #e0e0e0; }

.pd-contact-btn-wrap {
    text-align: center;
    padding: 16px 0;
    background: #f8f9fa;
    border-top: 3px solid #2c6fad;
}

.pd-contact-btn {
    background: transparent;
    border: none;
    color: #2c6fad;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 8px 24px;
    transition: color 0.2s;
}
.pd-contact-btn:hover { color: #e30613; }

.pd-contact-form-wrap {
    background: #f8f9fa;
    padding: 28px 20px;
    border-top: 1px solid #e0e0e0;
}
.pd-contact-inner { }
.pd-contact-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2c6fad;
    text-align: center;
    margin-bottom: 20px;
}
.pd-contact-phone {
    font-size: 13px;
    color: #555;
    margin: 10px 0;
}
.pd-contact-phone a { color: #2c6fad; font-weight: 600; }

/* PD naziv sa crvenom linijom */
.pd-h1 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #222 !important;
    border-bottom: 2px solid #e30613;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* PD naslov - puna sirina */
.pd-h1 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #222 !important;
    border-bottom: 2px solid #e30613 !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Detaljnije dugme - puna sirina */
.btn-detaljnije {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* Detaljnije dugme - puna sirina FINAL */
.product-card-body {
    padding: 0 !important;
}
.btn-detaljnije {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

/* ===========================
   MEGA MENU - ogranicena visina + sirina 1100px
=========================== */
.mega-menu {
    width: 1100px !important;
    max-height: calc(4 * 90px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* ===========================
   MEGA MENU - FINAL
=========================== */
.mega-menu {
    width: 1100px !important;
    max-height: calc(4 * 160px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px !important;
}

.mega-section-items {
    display: flex !important;
    flex-wrap: wrap !important;
}

.mega-item {
    width: calc(100% / 6) !important;
    box-sizing: border-box !important;
    padding: 6px !important;
    text-align: center !important;
}

.mega-item-img {
    width: 100% !important;
    height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* border: 1px solid #eee !important; */
    border: 1px solid #bbb !important;
    border-radius: 4px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.mega-item-img img {
    max-width: 100% !important;
    max-height: 90px !important;
    object-fit: contain !important;
}

.mega-item span {
    display: block !important;
    font-size: 11px !important;
    margin-top: 4px !important;
    color: #444 !important;
}

/* MEGA MENU - sirina za 6 slika */
.mega-menu {
    width: 1200px !important;
    /* width: 1300px !important; */
}

/* ===========================
   MEGA MENU - KONACNI FIX
=========================== */
.dropdown-menu.mega-menu {
    width: 1140px !important;
    max-width: 98vw !important;
    /* max-height: calc(4 * 155px) !important; */
    max-height: calc(4 * 175px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px 20px !important;
}

.mega-section-items {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 -4px !important;
}

.mega-item {
    width: calc(100% / 6) !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.mega-item-img {
    width: 100% !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

.mega-item-img img {
    max-width: 100% !important;
    max-height: 80px !important;
    object-fit: contain !important;
}

.mega-item span {
    display: block !important;
    font-size: 14px !important;
    margin-top: 4px !important;
    color: #444 !important;
    line-height: 1.3 !important;
}

/* MEGA MENU - 1200px */
.dropdown-menu.mega-menu {
    width: 1300px !important;
}

/* ===========================
   BRANDS PAGE
=========================== */
.brands-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e30613;
    display: inline-block;
}

.brand-card-new {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}
.brand-card-new:hover { color: #e30613; text-decoration: none; }

.brand-img-wrap {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    background: #fff;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.brand-card-new:hover .brand-img-wrap {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #e30613;
}
.brand-img-wrap img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
}

/* Kontakt dugme - bez okvira */
.pd-contact-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #2c6fad !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    padding: 8px 24px !important;
    transition: color 0.2s !important;
}
.pd-contact-btn:hover,
.pd-contact-btn:focus,
.pd-contact-btn:active {
    color: #e30613 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Ukloni okvir oko button-a */
.pd-contact-btn,
.pd-contact-btn:focus,
.pd-contact-btn:active,
.pd-contact-btn:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* ===========================
   NAV SEARCH
=========================== */
.nav-search-form { margin-left: 16px; }
.nav-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}
.nav-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    width: 200px;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.6); }
.nav-search-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 6px 10px;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-search-btn:hover { color: #e30613; }

/* Search title */
.search-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #e30613;
    padding-bottom: 10px;
    margin-bottom: 0;
}

/* Mega menu - treci nivo */
.mega-sub-items {
    list-style: none;
    padding: 4px 0 0 0;
    margin: 0;
    width: 100%;
    text-align: left;
}
.mega-sub-items li a {
    font-size: 11px;
    color: #666 !important;
    display: block;
    padding: 2px 0;
    transition: color 0.2s;
}
.mega-sub-items li a:hover { color: #e30613 !important; }

/* Sidebar - treci nivo */
.sidebar-grandchild-list {
    list-style: none;
    padding: 0 0 4px 24px;
    margin: 0;
    background: #f5f5f5;
}
.sidebar-grandchild-list li a {
    display: block;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-grandchild-list li a:hover,
.sidebar-grandchild-list li a.active { color: #e30613; }

/* Sidebar treci nivo - vece uvlacenje */
.sidebar-grandchild-list {
    padding-left: 32px !important;
    background: #f0f0f0 !important;
}
.sidebar-grandchild-list li a {
    font-size: 12px !important;
    color: #777 !important;
    padding: 4px 8px !important;
}

/* Sidebar - collapse treci nivo */
.sidebar-grandchild-list.collapsed {
    display: none;
}
.sidebar-toggle-2 {
    float: right;
    font-size: 12px;
    color: #aaa;
}

/* Grandchild - sakriveno po defaultu, JS kontrolise */
.sidebar-grandchild-list {
    display: none;
}
.sidebar-grandchild-list.open {
    display: block;
}

/* Spec lista - tackice uvucene, bez linije */
.pd-spec-list li ul {
    padding-left: 20px !important;
    margin: 4px 0 0 0 !important;
    list-style: disc !important;
}
.pd-spec-list li ul li {
    border-bottom: none !important;
    padding: 2px 0 !important;
    font-weight: normal !important;
}
.pd-spec-list li ul li strong {
    font-weight: normal !important;
}

/* Fancybox - ukloni outline na slici */
/* .pd-main-img:focus,
.pd-img-wrap a:focus,
.pd-img-wrap a {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
} */

/* Fancybox - ukloni crni okvir */
/* .pd-img-wrap a:focus,
.pd-img-wrap a:active,
.pd-img-wrap a:visited {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
}
.pd-main-img {
    outline: none !important;
} */

/* Brendovi na O nama stranici */
.brands-about-grid {
    margin: 24px 0;
}
.brand-about-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.brand-about-item:last-child { border-bottom: none; }
.brand-about-logo {
    width: 80px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    padding: 8px;
    background: #fff;
}
.brand-about-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-about-initial {
    font-size: 28px;
    font-weight: 700;
    color: #e30613;
    line-height: 1;
}
.brand-about-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}


/* Brand logo veci */
.brand-about-logo {
    width: 120px !important;
    height: 75px !important;
}

/* O nama - plava pozadina */
.page-section {
    background: #f0f4f8;
}


/* Ukloni belinu iznad footera */
.site-footer {
    margin-top: 0 !important;
}



/* Product card - zoom slika na hover */
.product-card {
    overflow: hidden;
}
.product-card img {
    transition: transform 0.3s ease;
}
.product-card:hover img {
    transform: scale(1.1);
}
/* Product card slika - veca visina */
.product-card-img {
    height: 266px !important;
}
.product-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Product card slika - kvadratna kao original */
.product-card-img {
    height: 220px !important;
    padding: 16px !important;
}

/* Product card slika - FINAL override */
.product-card-img {
    height: 266px !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    overflow: hidden !important;
}
.product-card-img img {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Product card - slika bez paddinga, puna sirina */
.product-card-img {
    padding: 0 !important;
    height: 266px !important;
}
.product-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Product card - ujednacena visina */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.product-card-body {
    margin-top: auto !important;
}

/* Product card body - bez visine */
.product-card-body {
    padding: 0 !important;
}
.btn-detaljnije {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
}

/* Product card - fix belina ispod detaljnije */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}
.product-card-body {
    padding: 0 !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

/* Product card naziv - fiksna visina 2 reda */
.product-card-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 48px !important;
    max-height: 48px !important;
}

/* Mobile - dva proizvoda u redu */
@media (max-width: 767px) {
    .product-card-name {
        font-size: 13px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }
    .product-card-img {
        height: 160px !important;
    }
}

/* Thumbnail slike - bela pozadina */
.pd-thumb {
    background: #fff !important;
}

/* Glavna slika - bela pozadina sa okvirom */
.pd-img-wrap {
    background: #fff !important;
    border: 1px solid #ddd !important;
}

/* Sidebar - child lista sakrivena po defaultu */
.sidebar-child-list {
    display: none;
}
.sidebar-parent.open > .sidebar-child-list {
    display: block;
}


/* Mobile - dva proizvoda u redu */
@media (max-width: 767px) {
    .col-6.col-sm-6.col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
/* Mobile - naziv proizvoda veci prostor */
@media (max-width: 767px) {
    .product-card-name {
        min-height: 56px !important;
        max-height: 56px !important;
        font-size: 12px !important;
        padding: 6px 8px !important;
    }
    .product-card-img {
        height: 160px !important;
    }
}

/* Mobile - sakrij sidebar */
@media (max-width: 767px) {
    .col-md-3.col-lg-3 {
        display: none !important;
    }
    .col-md-9.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile back dugme */
.mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f4f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2332;
    text-decoration: none;
}
.mobile-back-btn:hover {
    background: #e30613;
    color: #fff;
    border-color: #e30613;
    text-decoration: none;
}
.mobile-back-btn i {
    font-size: 11px;
}

/* Mobile - sakrij mega menu, prikaži samo link */
/* @media (max-width: 767px) {
    .mega-menu {
        display: none !important;
    }
    .mega-dropdown .nav-link {
        pointer-events: auto !important;
    }
} */

/* Proizvodi stranica - kategorije */
.products-category-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.products-cat-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e30613;
    display: inline-block;
}
.products-cat-title a {
    color: #1a2332;
    text-decoration: none;
}
.products-cat-title a:hover { color: #e30613; }

/* Sidebar brendovi filter */
.sidebar-brand-link {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-brand-link:hover, .sidebar-brand-link.active {
    color: #e30613;
    font-weight: 600;
    text-decoration: none;
}
.sidebar-reset-btn {
    font-size: 12px;
    color: #999;
    padding: 4px 12px;
    text-decoration: none;
}
.sidebar-reset-btn:hover { color: #e30613; text-decoration: none; }

/* Sidebar brendovi checkbox */
.sidebar-brand-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}
.sidebar-brand-label:hover { color: #e30613; }
.sidebar-brand-label input { cursor: pointer; }
.sidebar-brand-label input:checked + span,
.sidebar-brand-label:has(input:checked) { color: #e30613; font-weight: 600; }

/* Breadcrumb - strelicasti stil */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}
.breadcrumb-item {
    display: flex !important;
    align-items: center !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: none !important;
}
.breadcrumb-item a,
.breadcrumb-item.active {
    display: inline-block;
    padding: 6px 16px 6px 24px;
    background: #fff;
    border: 1px solid #333;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    position: relative;
    margin-right: -1px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}
.breadcrumb-item:first-child a {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    padding-left: 12px;
}
.breadcrumb-item a:hover {
    background: #e30613;
    color: #fff;
    border-color: #e30613;
    text-decoration: none;
}
.breadcrumb-item.active {
    background: #e30613 !important;
    color: #fff !important;
    border-color: #e30613 !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

/* Breadcrumb - fix strelice i boja */
.breadcrumb-item a,
.breadcrumb-item.active {
    background: #fff !important;
    border: 1px solid #333 !important;
    color: #333 !important;
    position: relative !important;
}
.breadcrumb-item a::after,
.breadcrumb-item.active::after {
    content: '' !important;
    position: absolute !important;
    right: -11px !important;
    top: -1px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 17px solid transparent !important;
    border-bottom: 17px solid transparent !important;
    border-left: 11px solid #333 !important;
    z-index: 2 !important;
    clip-path: none !important;
}
.breadcrumb-item a::before,
.breadcrumb-item.active::before {
    content: '' !important;
    position: absolute !important;
    right: -9px !important;
    top: -1px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 17px solid transparent !important;
    border-bottom: 17px solid transparent !important;
    border-left: 11px solid #fff !important;
    z-index: 3 !important;
    clip-path: none !important;
}
.breadcrumb-item.active {
    background: #2c3e50 !important;
    color: #fff !important;
    border-color: #2c3e50 !important;
}
.breadcrumb-item.active::before {
    border-left-color: #2c3e50 !important;
}
.breadcrumb-item a:hover {
    background: #2c3e50 !important;
    color: #fff !important;
    border-color: #2c3e50 !important;
}
.breadcrumb-item a:hover::before {
    border-left-color: #2c3e50 !important;
}

/* Breadcrumb - siva pozadina bez okvira */
.breadcrumb-item a,
.breadcrumb-item.active {
    background: #c8c8c8 !important;
    border: none !important;
    color: #333 !important;
}
.breadcrumb-item a::after,
.breadcrumb-item.active::after {
    border-left-color: #e8e8e8 !important;
}
.breadcrumb-item a::before,
.breadcrumb-item.active::before {
    border-left-color: #e8e8e8 !important;
}
.breadcrumb-item.active {
    background: #2c3e50 !important;
    color: #fff !important;
}
.breadcrumb-item.active::after {
    border-left-color: #2c3e50 !important;
}
.breadcrumb-item.active::before {
    border-left-color: #2c3e50 !important;
}
.breadcrumb-item a:hover {
    background: #2c3e50 !important;
    color: #fff !important;
}
.breadcrumb-item a:hover::after {
    border-left-color: #2c3e50 !important;
}
.breadcrumb-item a:hover::before {
    border-left-color: #2c3e50 !important;
}

/* Breadcrumb - home ikonica */
.breadcrumb-item:first-child a::after {
    content: '' !important;
}

/* Mobile - sakrij breadcrumb */
@media (max-width: 767px) {
    nav[aria-label="breadcrumb"] {
        display: none !important;
    }
}

/* Filter group collapsible */
.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #2c3e50;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.filter-group-header:hover { background: #3d5166; }
.filter-arrow { transition: transform 0.2s; font-size: 11px; }
.filter-group.collapsed .filter-arrow { transform: rotate(180deg); }
.filter-group.collapsed .filter-group-body { display: none; }

/* Aktivni filteri tagovi */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    background: #2c3e50;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-tag:hover { background: #e30613; }
.filter-clear-all {
    font-size: 12px;
    color: #e30613;
    text-decoration: none;
    font-weight: 600;
}
.filter-clear-all:hover { text-decoration: underline; color: #e30613; }

/* Sidebar filter label - ne moze se selektovati tekst */
.sidebar-brand-label {
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Filteri - default collapsed */
.filter-group .filter-group-body {
    display: none;
}
.filter-group.open .filter-group-body {
    display: block;
}
.filter-group .filter-arrow {
    transform: rotate(180deg);
}
.filter-group.open .filter-arrow {
    transform: rotate(0deg);
}

/* Mobile filteri modal */
@media (max-width: 767px) {
    .filters-mobile-btn {
        flex: 1;
        padding: 10px 16px;
        background: #fff;
        border: 1px solid #ddd;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }
    .filters-mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }
    .filters-mobile-overlay.open {
        display: block;
    }
    .filters-mobile-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 90%;
        max-width: 380px;
        height: 100%;
        background: #fff;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .filters-mobile-overlay.open .filters-mobile-panel {
        transform: translateX(0);
    }
    .filters-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
        font-weight: 700;
    }
    .filters-mobile-close {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #333;
    }
    .filters-mobile-body {
        flex: 1;
        overflow-y: auto;
        padding: 8px 0;
    }
    .filters-mobile-footer {
        padding: 16px 20px;
        border-top: 1px solid #eee;
        display: flex;
        gap: 12px;
    }
    .filters-mobile-footer .btn-clear {
        flex: 1;
        padding: 12px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
    .filters-mobile-footer .btn-show {
        flex: 1;
        padding: 12px;
        background: #2c3e50;
        color: #fff;
        border: none;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
}

/* Desktop - sakrij mobile filtere */
@media (min-width: 768px) {
    .filters-mobile-btn,
    #mobileFiltersOverlay {
        display: none !important;
    }
}

/* Mobile - sakrij desktop sidebar */
@media (max-width: 767px) {
    .col-md-3.col-lg-3 {
        display: none !important;
    }
    .col-md-9.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile - sakrij desktop sort select */
@media (max-width: 767px) {
    .sort-select {
        display: none !important;
    }
}

/* Mobile header */
@media (max-width: 991px) {
    .navbar-brand.mx-auto {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .navbar-toggler {
        border: none !important;
        padding: 4px 8px !important;
    }
}

/* Mobile breadcrumb - samo prvi i poslednji */
@media (max-width: 767px) {
    .breadcrumb-item:not(:first-child):not(:last-child) {
        display: none !important;
    }
    .breadcrumb-item:first-child::after {
        content: ' › ••• › ';
        color: #999;
        font-size: 12px;
    }
}

/* Desktop - logo levo */
@media (min-width: 992px) {
    .navbar-brand.mx-auto {
        position: static !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* Mobile - logo u sredini */
@media (max-width: 991px) {
    .navbar .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .navbar .container {
        position: relative !important;
    }
}

/* Mobile navbar */
@media (max-width: 991px) {
    .navbar-mobile-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .navbar-brand-mobile {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .nav-search-mobile {
        font-size: 20px;
        padding: 4px 8px;
    }
    .navbar-toggler {
        border: none !important;
        padding: 4px 8px !important;
        z-index: 1;
    }
}

/* Mobile search bar */
.mobile-search-bar {
    background: #1a2332;
    padding: 10px 16px;
}
.mobile-search-wrap {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.mobile-search-input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
}
.mobile-search-btn {
    background: #e30613;
    border: none;
    color: #fff;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
}

/* Mobile slide-in menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}
.mobile-menu-overlay.open {
    display: block;
}
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transform: translateX(-100%);
    /* transition: transform 0.4s ease; */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(0);
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #1a2332;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.mobile-menu-item {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #1a2332;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-item:hover {
    background: #f8f9fa;
    color: #e30613;
    text-decoration: none;
}

/* Mobile menu - smooth animacija */
.mobile-menu-overlay {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open {
    visibility: visible;
    opacity: 1;
}
.mobile-menu-panel {
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mobile-menu-overlay.open .mobile-menu-panel {
    transform: translateX(0);
}

/* Mobile - logo u sredini */
@media (max-width: 991px) {
    .navbar-brand-mobile {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Mobile - logo centriran FINAL */
@media (max-width: 991px) {
    .site-header .navbar .navbar-brand-mobile {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
    .site-header .navbar .container {
        position: relative !important;
    }
}

/* Navbar container */
.navbar-container {
    display: flex;
    align-items: center;
}

/* Mobile - logo u sredini */
@media (max-width: 991px) {
    .navbar-container {
        position: relative;
        justify-content: space-between;
    }
    .navbar-container .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
    .navbar-right-placeholder {
        width: 40px;
    }
}

/* Desktop - logo levo */
@media (min-width: 992px) {
    .navbar-container .navbar-brand {
        position: static !important;
        transform: none !important;
        margin-right: auto !important;
    }
}

/* Mobile - manji padding za page-section */
@media (max-width: 767px) {
    .page-section {
        padding: 16px 0 !important;
    }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2332;
    color: #fff;
    z-index: 9999;
    padding: 16px 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    flex: 1;
}
.cookie-text a {
    color: #e30613;
    text-decoration: underline;
}
.cookie-btns {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}
.cookie-btn-accept {
    background: #e30613;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn-accept:hover { background: #b8000f; }
.cookie-btn-info {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-decoration: none;
}
.cookie-btn-info:hover { color: #fff; text-decoration: none; }

@media (max-width: 767px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Cookie modal */
.cookie-btn-settings {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.8);
    padding: 10px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn-settings:hover {
    border-color: #fff;
    color: #fff;
}
.cookie-btn-necessary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.8);
    padding: 10px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn-necessary:hover { border-color: #fff; color: #fff; }
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 560px;
    border-radius: 4px;
    overflow: hidden;
}
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #1a2332;
    color: #fff;
}
.cookie-modal-header h5 { margin: 0; font-size: 16px; }
.cookie-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.cookie-modal-body { padding: 16px 24px; }
.cookie-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}
.cookie-item:last-child { border-bottom: none; }
.cookie-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.cookie-item-header p {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
}
.cookie-toggle-disabled {
    font-size: 11px;
    color: #28a745;
    font-weight: 700;
    white-space: nowrap;
}
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}
.cookie-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.cookie-switch input:checked + .cookie-switch-slider { background: #e30613; }
.cookie-switch input:checked + .cookie-switch-slider:before { transform: translateX(22px); }
.cookie-modal-footer {
    padding: 16px 24px;
    background: #f8f9fa;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Logo manji za desktop */
@media (min-width: 992px) {
    .main-logo {
        max-height: 45px !important;
    }
}

/* Korpa */
.cart-table td { vertical-align: middle; }
.cart-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.cart-summary h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e30613;
}

/* Cena na stranici proizvoda */
.pd-price {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
}
.pd-price-amount { color: #e30613; }
.pd-price-currency { font-size: 16px; color: #666; }

/* Navbar dropdown - ne menja visinu headera */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 0 !important;
}
.navbar .nav-item.dropdown {
    position: relative !important;
}

/* Navbar dva reda */
@media (min-width: 992px) {
    .navbar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .nav-search-input {
        width: 280px;
    }
}

/* Navbar dva reda - search sirok */
@media (min-width: 992px) {
    .navbar-container {
        flex-wrap: wrap !important;
    }
    .nav-search-input {
        width: 100% !important;
    }
}

/* Navbar - meni u visini loga */
@media (min-width: 992px) {
    .navbar-container > .d-none.d-lg-flex {
        align-self: stretch;
    }
    .navbar-container > .d-none.d-lg-flex > .d-flex:first-child {
        flex: 1;
        align-items: center;
    }
}

/* Opis proizvoda - indent za liste */
.pd-desc-text ul,
.pd-desc-text ol {
    padding-left: 24px !important;
    margin-bottom: 12px;
}
.pd-desc-text li {
    margin-bottom: 4px;
}

/* Quill veličine teksta u prikazu */
.pd-desc-text .ql-size-small { font-size: 0.75em; }
.pd-desc-text .ql-size-large { font-size: 1.5em; }
.pd-desc-text .ql-size-huge { font-size: 2em; }

/* Quill fontovi */
/* .ql-font-arial { font-family: Arial, sans-serif; }
.ql-font-georgia { font-family: Georgia, serif; }
.ql-font-tahoma { font-family: Tahoma, sans-serif; }
.ql-font-verdana { font-family: Verdana, sans-serif; }
.ql-font-courier { font-family: 'Courier New', monospace; } */

/* Quill fontovi u prikazu proizvoda */
/* .pd-desc-text .ql-font-arial { font-family: Arial, sans-serif; }
.pd-desc-text .ql-font-georgia { font-family: Georgia, serif; }
.pd-desc-text .ql-font-tahoma { font-family: Tahoma, sans-serif; }
.pd-desc-text .ql-font-verdana { font-family: Verdana, sans-serif; }
.pd-desc-text .ql-font-courier { font-family: 'Courier New', monospace; } */

/* Quill font dropdown nazivi */
/* .ql-font-arial::before { content: "Arial"; font-family: Arial; }
.ql-font-georgia::before { content: "Georgia"; font-family: Georgia; }
.ql-font-tahoma::before { content: "Tahoma"; font-family: Tahoma; }
.ql-font-verdana::before { content: "Verdana"; font-family: Verdana; }
.ql-font-courier::before { content: "Courier"; font-family: 'Courier New'; }
.ql-picker.ql-font .ql-picker-label[data-value="arial"]::before { content: "Arial"; }
.ql-picker.ql-font .ql-picker-label[data-value="georgia"]::before { content: "Georgia"; }
.ql-picker.ql-font .ql-picker-label[data-value="tahoma"]::before { content: "Tahoma"; }
.ql-picker.ql-font .ql-picker-label[data-value="verdana"]::before { content: "Verdana"; }
.ql-picker.ql-font .ql-picker-label[data-value="courier"]::before { content: "Courier"; }
.ql-picker.ql-font .ql-picker-item[data-value="arial"]::before { content: "Arial"; font-family: Arial; }
.ql-picker.ql-font .ql-picker-item[data-value="georgia"]::before { content: "Georgia"; font-family: Georgia; }
.ql-picker.ql-font .ql-picker-item[data-value="tahoma"]::before { content: "Tahoma"; font-family: Tahoma; }
.ql-picker.ql-font .ql-picker-item[data-value="verdana"]::before { content: "Verdana"; font-family: Verdana; }
.ql-picker.ql-font .ql-picker-item[data-value="courier"]::before { content: "Courier"; font-family: 'Courier New'; } */

/* Dashboard stat kartice - ista visina */
/* .stat-card {
    height: 100% !important;
    min-height: 100px;
} */
.col-md-3.mb-4 {
    display: flex;
    flex-direction: column;
}
.col-md-3.mb-4 .stat-card {
    flex: 1;
}

/* Dashboard - ista visina kartica u redu */
.admin-content .row.align-items-stretch > [class*="col-"] {
    display: flex;
}
.admin-content .row.align-items-stretch .stat-card {
    width: 100%;
}

/* Dashboard stat kartice - FINAL fix */
.admin-content .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
.admin-content .row > .col-md-3 {
    display: flex !important;
}
.admin-content .row > .col-md-3 > a,
.admin-content .row > .col-md-3 > .stat-card {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}
.admin-content .row > .col-md-3 > a > .stat-card {
    width: 100% !important;
}

/* Onemogući hover na touch uređajima */
@media (hover: none) {
    .product-card:hover,
    .product-card:hover .product-card-img img,
    .subcategory-card:hover {
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }
}



/* Blog kartice - uniformna visina */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-card .card-footer {
    margin-top: auto;
}

            /* .blog-card .card-title {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                min-height: 48px;
            } */

.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}




/* Blog kartice */
/* .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-img {
    width: 100%;
    height: 200px;
    background: #f0f2f5;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px 4px 0 0;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card .card-body {
    flex: 1;
}
.blog-card .card-footer {
    margin-top: auto;
}
.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}
.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-img {
    overflow: hidden !important;
} */