:root {
    --primary-color: #f6cc00;
    --primary-dark: #005fa3;
    --secondary-color: #f8a100;
    --secondary-dark: #e09000;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #ffffff;
    --dark-color: #333333;
    --border-color: #dee2e6;
    --text-color: #333333;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --transition-speed: 0.3s;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Opšti stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--gray-100);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: darken(var(--success-color), 10%);
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: darken(var(--danger-color), 10%);
}

/* Header stilovi */
.site-header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background-color: var(--gray-800);
    color: var(--light-color);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    color: var(--gray-300);
}

.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-bar form {
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: var(--font-family);
}

.search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-link {
    position: relative;
    color: var(--gray-800);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-800);
}

.main-navigation {
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 15px;
    color: var(--gray-800);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.menu li a:hover {
    color: var(--primary-color);
}

.menu li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-800);
}

.mobile-search {
    margin-bottom: 20px;
}

.mobile-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--gray-800);
    font-weight: 500;
}

.mobile-contact, .mobile-user-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact a, .mobile-user-actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
}

/* Sadržaj */
.content-wrapper {
    min-height: 60vh;
    padding: 30px 0;
}

/* Footer stilovi */
.site-footer {
    background-color: var(--gray-800);
    color: var(--gray-300);
    padding-top: 50px;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.about-widget p {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-700);
    color: white;
    transition: background-color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.category-list, .info-list {
    list-style-type: none;
}

.category-list li, .info-list li {
    margin-bottom: 10px;
}

.category-list a, .info-list a {
    color: var(--gray-300);
    font-size: 14px;
    transition: color var(--transition-speed);
}

.category-list a:hover, .info-list a:hover {
    color: white;
}



.info-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.info-item svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.info-item a {
    color: var(--gray-300);
}

.info-item a:hover {
    color: white;
}

.newsletter-form h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
}

.newsletter-form form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-family);
}

.newsletter-form button {
    padding: 0 15px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    background-color: var(--gray-900);
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    z-index: 99;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
        flex-basis: 50%;
    }
    
    .header-actions {
        order: 2;
        flex-basis: 50%;
        justify-content: flex-end;
    }
    
    .search-bar {
        order: 3;
        flex-basis: 100%;
        margin: 15px 0 0;
        max-width: none;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Ostali stilovi za specifične stranice */

/* Homepage */
.hero-slider {
    margin-bottom: 40px;
}

.hero-slide {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 40px;
    max-width: 50%;
}

.hero-title {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color var(--transition-speed);
}

.hero-link:hover {
    background-color: var(--primary-dark);
    color: white;
}

.featured-categories {
    margin-bottom: 50px;
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 28px;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.category-name {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-count {
    color: var(--gray-300);
    font-size: 14px;
}

.featured-products {
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Povećanje slike i poboljšanje prikaza */
.product-card-img {
    height: 260px; /* Povećana visina za veću sliku */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-image {
    position: relative;
    height: 200px;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge-sale {
    background-color: var(--danger-color);
    color: white;
}

.badge-new {
    background-color: var(--success-color);
    color: white;
}

.product-actions {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f8a100;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--gray-800);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--gray-800);
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-regular {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-old {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: line-through;
}

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.cta-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

.latest-posts {
    margin-bottom: 50px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-date {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-title a {
    color: var(--gray-800);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-link:hover {
    color: var(--primary-dark);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.trust-badge {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.badge-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-text {
    font-size: 14px;
    color: var(--gray-700);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 80%;
        padding: 30px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 300px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
}


.product-section {
    margin-bottom: 50px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    position: relative;
}

.product-image-main {
    position: relative;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-main img {
    max-height: 100%;
    object-fit: contain;
}

.zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-speed);
}

.thumb.active {
    border-color: var(--primary-color);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.product-category {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.product-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.product-stock {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--success-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    color: var(--secondary-color);
}

.count {
    font-size: 14px;
    color: var(--gray-600);
}

.product-price {
    margin-bottom: 20px;
}

.price-regular {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-old {
    font-size: 16px;
    color: var(--gray-600);
    text-decoration: line-through;
    margin-left: 10px;
}

.tax-info {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 5px;
}

.product-short-desc {
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 20px;
}

.product-features ul {
    list-style-type: none;
    padding-left: 0;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success-color);
    font-weight: bold;
}

.product-delivery {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--gray-100);
    border-radius: 6px;
}

.product-delivery svg {
    color: var(--success-color);
}

.order-section {
    margin-bottom: 30px;
}

.quantity-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quantity-container label {
    margin-right: 10px;
    font-weight: 500;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
}

.quantity button {
    width: 36px;
    height: 36px;
    background-color: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-family: var(--font-family);
    font-size: 16px;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
}

.order-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.order-now-btn:hover {
    background-color: var(--primary-dark);
}

.order-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-700);
}

.product-meta {
    font-size: 14px;
    color: var(--gray-700);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.product-meta div {
    margin-bottom: 8px;
}

.product-meta a {
    color: var(--primary-color);
}

.product-tabs {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.tab-link {
    padding: 15px 25px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: border-color var(--transition-speed);
}

.tab-link.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.product-description {
    line-height: 1.7;
}

.description-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 20px;
    background-color: var(--gray-100);
    border-radius: 6px;
    text-align: center;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-700);
}

.applications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.application-item {
    padding: 10px 15px;
    background-color: var(--gray-100);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.application-icon {
    font-size: 18px;
}

.package-contents {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.package-list {
    list-style-type: none;
    flex: 1;
}

.package-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.package-image {
    flex: 1;
    max-width: 200px;
}

.testimonials {
    margin-top: 40px;
}

.testimonial {
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
}

.payment-options {
    margin-top: 40px;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 20px;
}

.payment-icon {
    font-size: 24px;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table th, .specifications-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.specifications-table th {
    background-color: var(--gray-100);
    font-weight: 600;
    width: 30%;
}

.reviews-section {
    margin-bottom: 40px;
}

.review {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    color: var(--gray-600);
    font-size: 14px;
}

.review-rating {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.write-review {
    margin-top: 30px;
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.product-info-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-name {
    font-weight: 600;
    font-size: 14px;
}

.buy-now-btn-sticky {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Checkout page styles */
.checkout-header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.checkout-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.security-badge {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--success-color);
}

.security-badge svg {
    margin-right: 5px;
}

.checkout-content {
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--gray-800);
    display: flex;
    align-items: center;
}

.form-title svg {
    margin-right: 10px;
}

.form-section {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-700);
}

.required:after {
    content: "*";
    color: var(--danger-color);
    margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 15px;
    transition: border-color var(--transition-speed);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.15);
}

.order-summary {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 90px;
}

.summary-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.product-list {
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.product-image {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    object-fit: contain;
    background-color: var(--gray-100);
    border-radius: 6px;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
}

.product-quantity {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray-600);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--gray-200);
    font-weight: 700;
    font-size: 18px;
}

.checkout-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    margin-top: 20px;
}

.checkout-btn:hover {
    background-color: var(--primary-dark);
}

.upsell-section {
    margin-top: 20px;
}

.upsell-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--gray-700);
}

.upsell-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.upsell-product {
    min-width: 120px;
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition-speed);
    cursor: pointer;
}

.upsell-product:hover {
    border-color: var(--primary-color);
}

.upsell-product.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 119, 204, 0.05);
}

.upsell-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
}

.upsell-product-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    height: 32px;
    overflow: hidden;
}

.upsell-product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.upsell-add {
    margin-top: 8px;
    color: var(--success-color);
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.upsell-add span {
    position: relative;
    top: -1px;
}

.upsell-product.selected .upsell-add {
    background-color: var(--success-color);
    color: white;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    min-width: 100px;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 119, 204, 0.05);
}

.payment-option svg {
    height: 30px;
    margin-bottom: 8px;
}

.payment-option-title {
    font-size: 14px;
    font-weight: 600;
}

.payment-option-desc {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 5px;
}

.delivery-options {
    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.delivery-option:hover {
    border-color: var(--primary-color);
}

.delivery-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 119, 204, 0.05);
}

.delivery-radio {
    margin-right: 10px;
    margin-top: 3px;
}

.delivery-info {
    flex: 1;
}

.delivery-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.delivery-desc {
    font-size: 13px;
    color: var(--gray-600);
}

.delivery-price {
    font-weight: 600;
    color: var(--primary-color);
}

.trust-elements {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray-700);
}

.trust-item svg {
    margin-right: 8px;
    color: var(--primary-color);
}

.guarantee-item {
    border: 1px solid var(--success-color);
    background-color: rgba(40, 167, 69, 0.05);
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--success-color);
    font-weight: 600;
}

.guarantee-item svg {
    color: var(--success-color);
}

.money-back-guarantee {
    background-color: #e8f7ee;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.guarantee-icon {
    color: #28a745;
    font-size: 24px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-text {
    color: #155724;
    font-weight: 600;
    font-size: 16px;
}

.guarantee-tagline {
    font-weight: normal;
    font-size: 14px;
    color: #666;
    margin-top: 3px;
}

.money-back-banner {
    background: linear-gradient(145deg, #e8f7ee 0%, #d1f0dd 100%);
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);
    position: relative;
}

.money-back-banner::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff9800;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.guarantee-icon {
    background: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.guarantee-icon svg {
    color: #28a745;
}

.guarantee-content {
    flex: 1;
}

.guarantee-title {
    font-weight: 700;
    font-size: 18px;
    color: #155724;
    margin-bottom: 5px;
}

.guarantee-desc {
    color: #2c6b42;
    font-size: 14px;
}

/* Cart page styles */
.cart-page {
    margin-bottom: 50px;
}

.cart-header {
    margin-bottom: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cart-table th {
    background-color: var(--gray-100);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: var(--gray-100);
    border-radius: 6px;
}

.cart-product-name {
    font-weight: 500;
}

.cart-quantity {
    width: 100px;
}

.cart-remove {
    color: var(--gray-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.cart-remove:hover {
    color: var(--danger-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.cart-coupon {
    display: flex;
    gap: 10px;
}

.cart-coupon input {
    width: 200px;
}

.cart-summary {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.cart-totals {
    margin-bottom: 20px;
}

.cart-totals-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--gray-800);
}

/* Category page styles */
.category-header {
    margin-bottom: 30px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.category-description {
    color: var(--gray-700);
    margin-bottom: 20px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.filter-options {
    display: flex;
    gap: 20px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-option label {
    margin-bottom: 0;
}

.sort-options {
    position: relative;
}

.sort-select {
    padding-right: 30px;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat;
    background-position: right 5px center;
    background-size: 16px;
}

.product-grid {
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.pagination a {
    background-color: var(--light-color);
    color: var(--gray-800);
    box-shadow: var(--box-shadow);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-current {
    background-color: var(--primary-color);
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-prev, .page-next {
    width: auto !important;
    padding: 0 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .product-image-main {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .package-contents {
        flex-direction: column;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .checkout-content {
        padding: 20px 0;
    }
    
    .checkout-form {
        padding: 20px;
    }
    
    .upsell-products {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .upsell-product {
        min-width: calc(50% - 10px);
    }
    
    .trust-elements {
        justify-content: center;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-coupon {
        width: 100%;
    }
    
    .cart-coupon input {
        flex: 1;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-select {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-thumbnails {
        justify-content: center;
    }
    
    .order-info {
        grid-template-columns: 1fr;
    }
}



.main-navigation {
    margin-bottom: 0; /* Uklanja donju marginu */
    border-bottom: none; /* Uklanja donju ivicu */
}

.content-wrapper {
    min-height: 60vh;
    padding-top: 0; /* Uklanja gornji padding */
    padding-bottom: 30px;
}

/* Poboljšanje prikaza product layout-a */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start; /* Poboljšava poravnanje elemenata */
}

/* Poboljšanje product gallery sekcije */
.product-gallery {
    position: sticky; /* Sticky pozicija za gallery pri scrollovanju */
    top: 20px;
}

.product-image-main {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    height: 450px; /* Veća visina za bolji prikaz */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap; /* Omogućava prelom u novi red na mobilnim uređajima */
    gap: 10px;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Poboljšanje stilova za informacije o proizvodu */
.product-info {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--gray-800);
    line-height: 1.3;
}

.product-stock {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--success-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.price-regular {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
}

.price-old {
    font-size: 18px;
    color: var(--gray-600);
    text-decoration: line-through;
    margin-left: 12px;
}

.tax-info {
    width: 100%;
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 8px;
}

/* Poboljšani stilovi za količinu i dugme za dodavanje u korpu */
.quantity-container {
    margin-bottom: 20px;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    margin-top: 8px;
}

.quantity button {
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s ease;
}

.quantity button:hover {
    background-color: var(--gray-200);
}

.quantity input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
}

.order-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-now-btn:hover {
    background-color: var(--primary-dark);
}

/* Poboljšanje tabova proizvoda */
.product-tabs {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 40px;
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

.tab-link {
    padding: 15px 25px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    color: var(--gray-700);
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Poboljšan responsive dizajn */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .product-image-main {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-image-main {
        height: 350px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .price-regular {
        font-size: 24px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .tab-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
}


.breadcrumbs {
    padding: 15px 0;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray-600);
}

.breadcrumb-list li a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--gray-400);
    border-right: 1px solid var(--gray-400);
    transform: rotate(45deg);
    margin: 0 10px;
}

.breadcrumb-list li.active {
    color: var(--gray-800);
    font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .breadcrumbs {
        padding: 10px 0;
        margin-bottom: 20px;
    }
    
    .breadcrumb-list li {
        font-size: 12px;
    }
    
    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 6px;
        width: 4px;
        height: 4px;
    }
}


/* Footer Styles */
.site-footer {
    background-color: #2d2d2d;
    color: #a9a9a9;
    padding-top: 50px;
    margin-top: auto;
}

.footer-main {
    padding-bottom: 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.widget-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #f6cc00;
}

.widget-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a9a9a9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Popravka poravnanja kontakt informacija */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 0 !important;
    line-height: 1.4;
}

.contact-item svg {
    flex-shrink: 0;
    margin-right: 12px;
    color: #f6cc00;
    width: 16px;
    height: 16px;
    position: relative;
    top: 0;
}

.contact-item span {
    display: inline-block;
}

/* Dodatno poravnanje ikona (ako je potrebno) */
.contact-item svg.icon-map {
    top: 1px;
}

.contact-item svg.icon-phone {
    top: 0;
}

.contact-item svg.icon-email {
    top: 0;
}

.footer-bottom {
    background-color: #222222;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.copyright {
    margin: 0;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #f6cc00;
    color: white;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive styles */
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}




/* Recommended Products Section */
.recommended-products {
    padding: 60px 0;
    background-color: #f4f4f4;
    margin-bottom: 0;
}

.recommended-products .section-title {
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    color: #333;
}

.recommended-products .section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #f6cc00;
}

@media (max-width: 768px) {
    .recommended-products {
        padding: 40px 0;
    }
    
    .recommended-products .section-title {
        font-size: 24px;
    }
}



/* Poboljšanje sadržajnog dela kartice */
.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: white;
}

.product-card-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-card-title a:hover {
    color: #f6cc00;
}

/* Stilizovanje cene */
.product-card-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card-price-regular {
    font-size: 18px;
    font-weight: bold;
    color: #f6cc00;
}

.card-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

/* Poboljšanje dugmeta za detalje */
.product-card-button {
    width: 100%;
    padding: 12px 10px;
    background-color: #f6cc00;
    color: white;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: block;
}

.product-card-button:hover {
    background-color: #005fa3;
    color: white;
}

/* Naslov sekcije preporučenih proizvoda */
.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    color: #333;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #f6cc00;
}

/* Poboljšanje grida za preporučene proizvode */
.recommended-products {
    padding: 60px 0;
    background-color: #f4f4f4;
    margin-bottom: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Responzivnost */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card-img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 320px;
        margin: 0 auto;
    }
    
    .product-card-img {
        height: 200px;
    }
}

.remove-product-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.remove-product-btn:hover {
    color: #bd2130;
}

.remove-product-btn svg {
    width: 14px;
    height: 14px;
}


.product-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.checkout-page .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.checkout-page .quantity-btn {
    width: 28px;
    height: 28px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-page .quantity-btn:hover {
    background-color: #e9ecef;
}

.checkout-page .quantity-input {
    width: 36px;
    height: 28px;
    border: none;
    text-align: center;
    font-size: 14px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    -moz-appearance: textfield;
}

.checkout-page .quantity-input::-webkit-outer-spin-button,
.checkout-page .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/* Price Match Button Styles */
.price-match-info-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--success-color);
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.price-match-info-btn:hover {
    color: var(--success-color);
    opacity: 0.8;
}

.price-match-info-btn svg {
    color: var(--success-color);
}

/* Modal Styles */
#priceMatchInfoModal .modal-content,
#priceMatchRequestModal .modal-content {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

#priceMatchInfoModal .modal-header,
#priceMatchRequestModal .modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 15px;
}

#priceMatchInfoModal .modal-body,
#priceMatchRequestModal .modal-body {
    padding: 25px;
}

.price-match-details ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.price-match-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed);
}

.price-match-btn:hover {
    background-color: darken(var(--success-color), 10%);
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.file-upload-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-file-label {
    display: block;
    padding: 10px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background-color: var(--gray-100);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Navigacija */
#main-navigation {
    background-color: var(--dark-color);
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu li.active a {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    #main-navigation {
        display: none;
    }
    
    #mobile-nav .nav-menu {
        flex-direction: column;
    }
    
    #mobile-nav .nav-menu li {
        width: 100%;
    }
    
    #mobile-nav .nav-menu li a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 20px;
    }
}




/* Navigacija - stilovi za desktop */
nav {
    background-color: var(--dark-color);
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu li.active a {
    background-color: var(--primary-color);
}

/* Stilovi za mobilnu navigaciju */
@media (max-width: 768px) {
    #mobile-nav {
        /* Mobilna navigacija */
    }
    
    #mobile-nav .nav-menu {
        flex-direction: column;
    }
    
    #mobile-nav .nav-menu li {
        width: 100%;
    }
    
    #mobile-nav .nav-menu li a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 20px;
    }
}




/* Header styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.logo h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #333333;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: #333333;
}

.cart-icon {
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-800);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Navigation */
.main-navigation {
    background-color: var(--gray-900);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu li.active a {
    background-color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--gray-900);
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-navigation.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu li.active a {
    background-color: var(--primary-color);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu li a {
        padding: 15px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .contact-button span {
        display: none;
    }
    
    .contact-button {
        padding: 10px;
    }
    
    .logo img {
        max-height: 50px;
    }
}


/* Direktni stilovi za mobilni meni */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #1f2937;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-navigation.active {
    right: 0;
    display: block !important;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.menu-overlay.active {
    display: block;
}

body.no-scroll {
    overflow: hidden;
}


/* Header contact info styles */
.header-contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.location-info, .phone-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info img, .phone-info img {
    width: 24px;
    height: 24px;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
}

.phone-numbers span {
    color: #333;
    font-size: 14px;
    line-height: 1.2;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-contact-info {
        display: none; /* Hide on mobile or */
        /* Alternative: flex-direction: column; align-items: flex-start; */
    }
}



/* Mobile navbar styles - only affects mobile views */
@media (max-width: 768px) {
    /* Main container for mobile navbar */
    .mobile-navbar-container {
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: relative;
    }
    
    /* Yellow top line/bar */
    .mobile-navbar-top {
        background-color: #f6cc00;
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* White content area */
    .mobile-navbar-content {
        background-color: white;
        padding: 15px;
    }
    
    /* Logo sizing */
    .mobile-logo img {
        height: 40px;
        width: auto;
    }
    
    /* Menu and cart buttons group */
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    /* Cart styling */
    .mobile-cart {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .mobile-cart .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background-color: white;
        color: #333;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
    }
    
    /* Menu button styling */
    .menu-toggle {
        background: none;
        border: none;
        color: #333;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        cursor: pointer;
        padding: 0;
    }
    
    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #333;
        margin: 4px 0;
    }
    
    /* Price match banner styling */
    .price-match-mobile {
        background-color: #f8fcff;
        text-align: center;
        padding: 15px;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .saznajte-vise-btn {
        background-color: #4caf50;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 4px;
        margin-top: 10px;
        display: inline-block;
        text-decoration: none;
        font-weight: 500;
    }
}



/* Poboljšanja za desktop navigaciju */
@media (min-width: 769px) {
    /* Glavni navigacioni kontejner */
    .main-navigation {
        background: linear-gradient(to right, #333, #444);
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Lista navigacije */
    .nav-menu {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
    }
    
    /* Stavke navigacije */
    .nav-menu li {
        position: relative;
        flex: 1;
        text-align: center;
    }
    
    /* Linkovi u navigaciji */
    .nav-menu li a {
        display: block;
        color: white;
        padding: 16px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.5px;
        border-bottom: 3px solid transparent;
    }
    
    /* Hover efekat */
    .nav-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-bottom: 3px solid #f6cc00;
    }
    
    /* Aktivna stavka */
    .nav-menu li.active a {
        background-color: rgba(255, 255, 255, 0.15);
        border-bottom: 3px solid #f6cc00;
        color: #f6cc00;
    }
}


/* Popravka navigacije - konzistentna visina i border */
.main-navigation {
    background-color: #333333; /* tamna pozadina */
    border-bottom: none; /* uklonjen donji border navigacije */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 50px; /* fiksna visina za ceo navbar */
}

.nav-menu li {
    position: relative;
    height: 100%; /* puna visina */
    display: flex;
    align-items: stretch;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    color: white;
    padding: 0 20px; /* samo horizontalni padding */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 100%; /* puna visina */
    position: relative; /* za pozicioniranje donje linije */
    border-bottom: 3px solid transparent; /* transparentni border za sve tabove */
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #f6cc00; /* žuta linija na hover */
}

.nav-menu li.active a {
    border-bottom-color: #f6cc00; /* žuta linija za aktivni tab */
    background-color: rgba(255, 255, 255, 0.15); /* malo svetlija pozadina za aktivni tab */
}



/* Poboljšani stilovi za kategorijske kartice */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-image {
    height: 200px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.category-count {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.category-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f6cc00;
    font-weight: 500;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.category-card:hover .category-link {
    gap: 10px;
}

/* Responzivni dizajn */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-image {
        height: 180px;
    }
}


/* Kompletno redizajniran CSS za kategorijske kartice */
.categories-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Kontejner za sliku - fiksne visine */
.category-image-wrapper {
    width: 100%;
    height: 180px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

/* Stil za samu sliku */
.category-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Ovo je ključno za prikaz cele slike */
    transition: transform 0.3s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

/* Sadržaj kartice */
.category-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: white;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
}

.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.category-count {
    font-size: 13px;
    color: #777;
}

.category-link {
    color: #f6cc00;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.category-card:hover .category-link {
    gap: 8px;
}

/* Responsivnost */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-image-wrapper {
        height: 160px;
    }
}

/* Stilovi za kategorije proizvoda - slično prikazu proizvoda */
.categories-section {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-image {
    height: 200px;
    background-color: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-info {
    padding: 15px;
    flex-grow: 1;
}

.category-type {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.category-name {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.category-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f6cc00;
    color: #333;
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.category-button:hover {
    background-color: #e6b900;
}

.category-button svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-button svg {
    transform: translateX(3px);
}

/* Responsivnost */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}


/* Stilovi za kategorije proizvoda - od ivice do ivice */
.categories-section {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-image {
    width: 100%;
    height: 200px;
    background-color: #f9f9f9;
    overflow: hidden; /* Osigurava da slika ne prelazi okvir */
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prikazuje celu sliku unutar prostora */
    display: block; /* Uklanja neželjene razmake */
}

.category-info {
    padding: 15px;
    text-align: center;
}

.category-name {
    font-size: 20px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.category-count {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.category-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f6cc00;
    color: #333;
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Dugme je uvek na dnu */
}

.category-button:hover {
    background-color: #e6b900;
}

.category-button svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-button svg {
    transform: translateX(3px);
}

/* Responsivnost */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}


/* CSS za kartice proizvoda */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.product-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f44336;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #f9f9f9;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.4;
    height: 44px; /* Ograničava naziv na 2 reda */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
    color: #333;
}

.product-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-top: auto;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.price-old {
    font-size: 14px;
    color: #777;
    text-decoration: line-through;
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    background-color: #f6cc00;
    color: #333;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    pointer-events: none; /* Sprečava hvatanje klika na dugme, omogućava da link iznad hvata klik */
    margin-top: auto;
}

.product-card:hover .btn-view svg {
    transform: translateX(3px);
    transition: transform 0.3s;
}

/* Responzivnost */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Dodatni prostor za dugme VIDI VIŠE */
.product-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    background-color: #f6cc00;
    color: #333;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    pointer-events: none;
    margin-top: auto;
    margin-bottom: 10px; /* Dodato da bi se napravio prostor ispod dugmeta */
}

/* Poboljšana kartica proizvoda */
.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px; /* Dodatni padding na dnu kartice */
}

/* Alternativno, možete dodati padding dole na celu sekciju detalja */
.product-details {
    padding: 15px 15px 20px; /* Povećan donji padding */
}


/* Rešenje za prostor ispod dugmeta VIDI VIŠE */
.product-card .btn-view {
    margin-bottom: 15px !important;
}

.product-card .product-details {
    padding-bottom: 20px !important;
}

.product-card {
    padding-bottom: 15px !important;
}


/* Rešenje za prostor ispod dugmeta VIDI VIŠE */
.product-card {
    padding-bottom: 15px !important;
}

.product-details {
    padding-bottom: 20px !important;
}

.btn-view {
    margin-bottom: 15px !important;
}

.category-btn-view {
    margin-bottom: 15px !important;
}

.product-card .product-details .btn-view {
    margin-bottom: 15px !important;
}

.product-card {
    padding-bottom: 30px !important;
}


.catalog-loading-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 119, 204, 0.3);
    border-radius: 50%;
    border-top-color: #f6cc00;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* Stilovi za poruku o učitavanju kataloga */
.catalog-loading-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(246, 204, 0, 0.3);
    border-radius: 50%;
    border-top-color: #f6cc00;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 16px;
    color: #333;
    margin: 0;
}



Evo kako možete redizajnirati deo prikaza porudžbine da izgleda modernije i da se reši problem prelamanja cene:
htmlCopy<div class="order-summary">
    <h3 class="summary-title">Vaša porudžbina</h3>
    
    <div class="product-list">
        <?php foreach ($cart_items as $item): ?>
        <div class="product-item" data-product-id="<?php echo $item['id']; ?>">
            <div class="product-image-container">
                <img src="<?php echo $item['image']; ?>" alt="<?php echo $item['name']; ?>" class="product-image">
            </div>
            <div class="product-details">
                <div class="product-name"><?php echo $item['name']; ?></div>
                <div class="product-price-row">
                    <div class="quantity-wrapper">
                        <div class="quantity">
                            <button type="button" class="quantity-btn minus-btn">-</button>
                            <input type="number" class="quantity-input" value="<?php echo $item['quantity']; ?>" min="1" max="10" readonly>
                            <button type="button" class="quantity-btn plus-btn">+</button>
                        </div>
                    </div>
                    <div class="price-wrapper">
                        <div class="product-price" data-unit-price="<?php echo $item['price']; ?>"><?php echo $item['formatted_subtotal']; ?></div>
                    </div>
                </div>
                <?php if (count($cart_items) > 1): ?>
                <button type="button" class="remove-product-btn" data-product-id="<?php echo $item['id']; ?>">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <line x1="18" y1="6" x2="6" y2="18"></line>
                        <line x1="6" y1="6" x2="18" y2="18"></line>
                    </svg>
                    Ukloni
                </button>
                <?php endif; ?>
            </div>
        </div>
        <?php endforeach; ?>
    </div>
Dodajte sledeći CSS u vaš stylesheet ili unutar <style> tagova u <head> delu dokumenta:
cssCopy/* Poboljšan dizajn za sekciju porudžbine */
.order-summary {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 30px;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.product-image-container {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid #eee;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.quantity-wrapper {
    flex-shrink: 0;
}

.quantity {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    width: fit-content;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-wrapper {
    text-align: right;
}

.product-price {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.remove-product-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f44336;
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.remove-product-btn:hover {
    opacity: 1;
}

/* Stilizacija za preporučene dodatke */
.upsell-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.upsell-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.upsell-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.upsell-product {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.upsell-product:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.upsell-product.selected {
    border-color: #4CAF50;
}

.upsell-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.upsell-product-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.upsell-product-price {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.upsell-add {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f6cc00;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.upsell-product.selected .upsell-add {
    background-color: #4CAF50;
    color: #fff;
}

/* Totali i ostalo */
.summary-totals {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-weight: 700;
    color: #333;
    font-size: 18px;
}

/* Responzivni dizajn za mobilne uređaje */
@media (max-width: 767px) {
    .checkout-grid {
        display: block; /* Umesto grid prikaza, koristimo block za mobilne uređaje */
    }
    
    .product-item {
        flex-direction: column; /* Vertikalni raspored slika i detalja proizvoda */
    }
    
    .product-image-container {
        width: 100%;
        height: 150px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .product-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .price-wrapper {
        text-align: left;
        width: 100%;
    }
    
    .upsell-products {
        grid-template-columns: repeat(2, 1fr); /* Dva proizvoda u redu na mobitelima */
    }
    
    .upsell-product-name {
        height: auto;
        max-height: 40px;
    }
    
    .order-summary {
        margin-top: 20px;
    }
    
    .delivery-options,
    .payment-options {
        flex-direction: column;
    }
    
    .delivery-option,
    .payment-option {
        margin-bottom: 10px;
    }
    
    /* Popravka forme na malim ekranima */
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    
    .checkout-header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    /* Fiksiranje veličine kontejnera za mobilne uređaje */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: auto;
    }
    
    /* Osiguravanje da mobilni layout funkcioniše */
    body {
        min-width: 320px;
    }
}

/* Extra mali ekrani */
@media (max-width: 480px) {
    .upsell-products {
        grid-template-columns: 1fr; /* Jedan proizvod u redu na veoma malim ekranima */
    }
    
    .summary-line,
    .total-line {
        font-size: 14px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    /* Bolja ergonomija za dugmad na malim ekranima */
    .quantity-btn {
        width: 36px;
        height: 36px;
    }
    
    .quantity-input {
        width: 36px;
        height: 36px;
    }
}


/* Poboljšanje prikaza preporučenih proizvoda na mobilnim uređajima */
@media (max-width: 767px) {
    /* Veće slike za preporučene dodatke */
    .upsell-product {
        padding: 15px 15px 30px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .upsell-product img {
        width: auto;
        height: auto;
        max-width: 90%;
        max-height: 120px;
        margin-bottom: 15px;
    }
    
    /* Bolje centriranje imena i cene */
    .upsell-product-name {
        text-align: center;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.4;
        height: auto;
        max-height: none;
    }
    
    .upsell-product-price {
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 20px;
    }
    
    /* Veće dugme za dodavanje */
    .upsell-add {
        width: 30px;
        height: 30px;
        bottom: -15px;
        font-size: 18px;
    }
    
    /* Bolje organizovanje preporučenih proizvoda */
    .upsell-products {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 10px;
    }
    
    /* Styling ivica i pozadine */
    .upsell-product {
        border: 1px solid #eee;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
}

@media (max-width: 767px) {
    /* Poboljšanje glavnog proizvoda u korpi */
    .product-item {
        display: flex;
        flex-direction: column;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-bottom: 20px;
        overflow: hidden;
    }
    
    .product-image-container {
        width: 100%;
        height: auto;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
    }
    
    .product-image {
        width: auto;
        height: auto;
        max-width: 90%;
        max-height: 180px; 
        object-fit: contain;
    }
    
    .product-details {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .product-name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .product-quantity-controls {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    
    .quantity {
        margin: 0 auto;
    }
    
    .product-price {
        font-weight: 700;
        font-size: 18px;
        color: #333;
        margin-top: 5px;
    }
}


/* Poboljšane kartice kategorija */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.category-image {
    height: 240px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.category-count {
    display: inline-block;
    background-color: #f6f6f6;
    color: #666;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.category-button {
    background-color: #f6cc00;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.category-button:hover {
    background-color: #e6b900;
    color: #333;
}

.category-button svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-button svg {
    transform: translateX(4px);
}

/* Responzivnost */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-image {
        height: 200px;
    }
}

/* Improved Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.category-image {
    height: 220px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.category-count {
    display: inline-block;
    background-color: #f6f6f6;
    color: #666;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 15px;
    width: fit-content;
}

.category-button {
    background-color: #f6cc00;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.category-button:hover {
    background-color: #e6b900;
    color: #333;
}

.category-button svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-button svg {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-image {
        height: 180px;
    }
}


