﻿:root { --dark: #2c2c2c; --gold: #b8860b; --light: #faf9f6; }
        *:not(.fas):not(.far):not(.fab):not(.fal):not(.fa) { font-family: 'Open Sans', sans-serif !important; }
        body { font-family: 'Open Sans', sans-serif !important; background: var(--light); color: var(--dark); font-size: 18px; }
        h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif !important; }
        .btn, label, .form-control, input, select, textarea, .breadcrumb, .alert, .card { font-family: 'Open Sans', sans-serif !important; }
        .c-header { background: var(--dark); padding: 0; position: sticky; top: 0; z-index: 1000; }
        .c-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
        .c-logo { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 2.2rem; text-decoration: none; white-space: nowrap; }
        .c-logo:hover { color: #d4a017; text-decoration: none; }
        .c-logo span { font-size: 1.2rem; display: block; color: rgba(255,255,255,0.6); font-family: 'Open Sans', sans-serif; letter-spacing: 2px; text-transform: uppercase; }
        .c-nav { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
        .c-nav > li > a { color: #fff; text-decoration: none; padding: 8px 18px; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; border-bottom: 2px solid transparent; display: block; }
        .c-nav > li > a:hover, .c-nav > li > a.active { color: var(--gold); border-bottom-color: var(--gold); }
        .c-nav > li { position: relative; }
        .c-nav .dropdown-menu-custom { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border-top: 2px solid var(--gold); z-index: 100; padding: 8px 0; }
        .c-nav > li:hover .dropdown-menu-custom { display: block; }
        .c-nav .dropdown-menu-custom a { display: block; padding: 8px 20px; color: var(--dark); font-size: 1.25rem; text-decoration: none; transition: 0.2s; }
        .c-nav .dropdown-menu-custom a:hover { background: var(--light); color: var(--gold); padding-left: 25px; }
        .c-header-right { display: flex; align-items: center; gap: 15px; }
        .c-header-right a { color: rgba(255,255,255,0.8); font-size: 1.2rem; transition: 0.3s; }
        .c-header-right a:hover { color: var(--gold); text-decoration: none; }
        .c-search-form { display: flex; }
        .c-search-form input { border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; padding: 6px 12px; font-size: 1.25rem; border-radius: 3px 0 0 3px; width: 180px; }
        .c-search-form input::placeholder { color: rgba(255,255,255,0.5); }
        .c-search-form button { background: var(--gold); border: none; color: #fff; padding: 6px 12px; border-radius: 0 3px 3px 0; cursor: pointer; }
        .c-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; }
        @media (max-width: 991px) {
            .c-menu-toggle { display: block; }
            .c-nav-wrapper { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 10px 15px; z-index: 999; }
            .c-nav-wrapper.open { display: block; }
            .c-nav { flex-direction: column; }
            .c-nav > li > a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
            .c-search-form input { width: 120px; }
        }

        /* Breadcrumb */
        .c-breadcrumb { background: #fff; padding: 12px 0; border-bottom: 1px solid #eee; }
        .c-breadcrumb a { color: var(--gold); text-decoration: none; font-size: 0.85rem; }
        .c-breadcrumb a:hover { text-decoration: underline; }
        .c-breadcrumb span { color: #888; font-size: 0.85rem; }
        .c-breadcrumb .sep { color: #ccc; margin: 0 8px; }

        /* Page title */
        .c-page-header { padding: 30px 0; text-align: center; }
        .c-page-header h1 { font-size: 2.2rem; margin-bottom: 5px; }
        .c-page-header .line { width: 60px; height: 2px; background: var(--gold); margin: 0 auto; }

        /* Product cards */
        .c-product { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s; margin-bottom: 25px; }
        .c-product:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
        .c-product img { width: 100%; height: 160px; object-fit: contain; background: #f8f5f0; padding: 15px; }
        .c-product-body { padding: 15px; }
        .c-product-body h4 { font-size: 1.25rem; margin-bottom: 5px; }
        .c-product-body h4 a { color: var(--dark); text-decoration: none; }
        .c-product-body h4 a:hover { color: var(--gold); }
        .c-product-body .price { color: var(--gold); font-weight: 700; font-size: 1.25rem; }
        .c-product-body .desc { font-size: 1.25rem; color: #888; margin-bottom: 8px; }
        .btn-gold { background: var(--gold); color: #fff; border: none; padding: 8px 18px; font-size: 1.25rem; letter-spacing: 1px; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; }
        .btn-gold:hover { background: #d4a017; color: #fff; text-decoration: none; }
        .btn-gold-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 8px 18px; font-size: 1.25rem; letter-spacing: 1px; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; }
        .btn-gold-outline:hover { background: var(--gold); color: #fff; text-decoration: none; }

        /* Sidebar filter */
        .c-sidebar h5 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
        .c-sidebar ul { list-style: none; padding: 0; }
        .c-sidebar ul li a { display: block; padding: 6px 0; color: #555; font-size: 1.25rem; text-decoration: none; transition: 0.2s; }
        .c-sidebar ul li a:hover { color: var(--gold); padding-left: 5px; }
        .c-sidebar ul li a.active { color: var(--gold); font-weight: 600; }

        /* Footer */
        .c-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
        .c-footer h5 { color: var(--gold); font-size: 1.25rem; margin-bottom: 15px; }
        .c-footer a { color: rgba(255,255,255,0.6); transition: 0.3s; }
        .c-footer a:hover { color: var(--gold); text-decoration: none; }
        .c-footer ul { list-style: none; padding: 0; }
        .c-footer ul li { margin-bottom: 6px; font-size: 1.25rem; }
        .c-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 30px; text-align: center; font-size: 1.25rem; }
        .c-footer .payment-methods span { display: inline-block; margin: 0 5px; padding: 4px 10px; background: rgba(255,255,255,0.1); border-radius: 3px; font-size: 1.2rem; }

        /* Product card hover */
        .product-card { transition: box-shadow 0.2s, border-color 0.2s; }
        .product-card:hover { border-color: var(--gold) !important; box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important; }

        /* Subcategory cards */
        .c-cat-card { color: var(--dark); border: 1px solid #e8e8e8; box-shadow: none; transition: all 0.2s; height: 100%; overflow: hidden; border-radius: 6px; background: #fff; text-decoration: none; display: block; }
        .c-cat-card:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,0.08); color: var(--gold); }
        .c-cat-card .card-img-top { width: 100%; height: 120px; object-fit: contain; display: block; padding: 10px; background: #fff; }
        .c-cat-card .card-body { padding: 8px 10px 10px; text-align: center; background: #fff; border-top: 1px solid #f0f0f0; }
        .c-cat-card .card-title { font-size: 0.8rem; font-weight: 600; margin-bottom: 0; color: inherit; }
        /* Fix: wishlist button inside product card - override absolute positioning from wishlist.css */
        .product-card .c-wishlist-btn {
            position: static !important;
            width: 32px !important;
            height: 32px !important;
            border-radius: 3px !important;
            border: 1px solid #ddd !important;
            padding: 0 !important;
            box-shadow: none !important;
            font-size: 0.9rem;
            background: #fff !important;
            color: #888 !important;
        }
        .product-card .c-wishlist-btn:hover { color: #b8860b !important; border-color: #b8860b !important; transform: none; }
        .product-card .c-wishlist-btn.active { color: #e74c3c !important; }

        /* Fix: number input - hide browser spinners */
        .product-card input[type=number] { -moz-appearance: textfield; }
        .product-card input[type=number]::-webkit-outer-spin-button,
        .product-card input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

        /* Zoom efekat na sliku pri hoveru */
        .product-card .product-card-img {
            transition: transform 0.35s ease;
        }
        .product-card:hover .product-card-img {
            transform: scale(1.08);
        }

        /* Ukloni focus/active highlight na subcategory karticama */
        .c-cat-card:focus,
        .c-cat-card:active,
        .c-cat-card:focus-visible,
        .c-cat-card:focus-within {
            outline: none !important;
            box-shadow: none !important;
            border-color: #e8e8e8 !important;
        }
