:root {
    --red: #bc1823; --black: #0a0a0a; --white: #ffffff;
    --bg-gray: #f5f5f5; --bg-light: #fafafa;
    --text-main: #111111; --text-muted: #666666;
    --line: 1px solid #dcdcdc; --line-dark: 1px solid #111111;
}

* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0 !important; }
body { font-family: 'Manrope', sans-serif; background: var(--bg-gray); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

/* --- DUGMAD I PILLS (UNIFICIRANO) --- */
.sharp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; border: var(--line-dark); background: var(--white); color: var(--text-main); }
.sharp-pill.red { background: var(--red); color: var(--white); border-color: var(--red); }
.sharp-pill.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; border: none; background: var(--white); color: var(--black); cursor: pointer; transition: 0.3s; box-shadow: inset 0 0 0 1px var(--black); }
.btn:hover { background: var(--black); color: var(--white); }
.btn.primary { background: var(--red); color: var(--white); box-shadow: none; }
.btn.primary:hover { background: #901119; }
.btn.dark { background: var(--black); color: var(--white); box-shadow: none; }
.btn.dark:hover { background: #222; }

/* --- HEADER --- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--white); border-bottom: var(--line); }
.header-top { border-bottom: var(--line); padding: 8px 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); background: var(--bg-light); }
.header-top i { color: var(--red); margin-right: 5px; font-size: 14px; vertical-align: middle; }
.header-main { padding: 15px 0; }
.nav-links a { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
.nav-links a:hover { color: var(--red); }
.mobile-menu-toggle { display: none; background: transparent; border: none; font-size: 32px; color: var(--text-main); cursor: pointer; z-index: 1002; }

/* --- HERO --- */
.hero { margin-top: 100px; min-height: calc(100vh - 100px); height: calc(100dvh - 100px); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); width: 100%; }
.hero-content h1 { font-size: 5rem; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -2px; margin-bottom: 20px; }
.hero-text { font-size: 16px; color: #ccc; max-width: 600px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 15px; }

/* --- PARTNERI --- */
.partners-section { background: var(--white); padding: 40px 0; border-bottom: var(--line); }
.partners-grid { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; }
.partners-label { font-size: 11px; font-weight: 800; color: var(--text-muted); letter-spacing: 2px; white-space: nowrap; }
.partner-logo-img { height: 45px; width: auto; max-width: 13%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: 0.4s; }
.partner-logo-img:hover { filter: grayscale(0%) opacity(1); transform: translateY(-2px); }

/* --- BOXED LAYOUT (GLAVNI OKVIRI) --- */
.boxed-section { margin-top: 60px; margin-bottom: 60px; }
.boxed-wrapper { background: var(--white); border: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.boxed-header { padding: 40px 60px; border-bottom: var(--line); display: flex; justify-content: space-between; align-items: flex-end; }
.sub-label { font-size: 12px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.boxed-header h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -1px; }

/* --- KATALOG & FILTERI --- */
.catalog-filters { display: flex; gap: 10px; padding: 20px 60px; border-bottom: var(--line); background: var(--bg-light); flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; border: 1px solid var(--text-muted); background: transparent; color: var(--text-muted); cursor: pointer; transition: 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--black); color: white; border-color: var(--black); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.product-card { border-right: var(--line); border-bottom: var(--line); display: flex; flex-direction: column; }
.product-card:nth-child(4n) { border-right: none; }
.product-image { height: 300px; background: var(--black); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); opacity: 1; }
.product-tags { position: absolute; top: 15px; left: 15px; z-index: 2; }
.product-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.product-content h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.product-content p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

/* --- KONFIGURATOR STUDIO --- */
.config-grid { display: flex; flex-direction: row; width: 100%; }
.config-ui { width: 40%; padding: 60px; border-right: var(--line); display: flex; flex-direction: column; }
.config-visual { width: 60%; background-color: #e0e0e0; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; transition: 0.5s ease; min-height: 600px; overflow: hidden; touch-action: none; }
.control-block { margin-bottom: 20px; }
.control-block h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; color: var(--text-main); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-btn { padding: 12px; border: var(--line); font-size: 11px; font-weight: 800; text-transform: uppercase; cursor: pointer; background: white; transition: 0.2s; }
.opt-btn.active { background: var(--black); color: white; border-color: var(--black); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 40px; height: 40px; border: var(--line-dark); cursor: pointer; }
.swatch.active { border: 2px solid var(--red); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Blueprint specifikacija */
.blueprint-live-spec { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.95); padding: 15px; border: var(--line-dark); font-size: 11px; z-index: 5; min-width: 250px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); pointer-events: none; }
.spec-title { font-weight: 800; border-bottom: 2px solid var(--red); padding-bottom: 5px; margin-bottom: 10px; }
.spec-line { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dotted #ccc; margin-bottom: 5px; padding-bottom: 3px; }
.spec-line strong { color: var(--red); }

/* --- DINAMIČKI PROIZVODI (VIŠE INSTANCI) --- */
.visualizer-product-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; /* ZNATNO SMANJENA POČETNA ŠIRINA */
    min-width: 60px; 
    height: auto;
    z-index: 10;
    cursor: grab;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.visualizer-product-wrapper.active-element { border: 2px dashed var(--red); z-index: 11; }
.visualizer-product-wrapper:active { cursor: grabbing; }

.visualizer-product-img {
    width: 100%;
    height: auto; /* ZADRŽAVA PROPORCIJE SLIKE */
    display: block;
    pointer-events: none; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* Dugmići za brisanje i širenje */
.delete-instance-btn { position: absolute; top: -12px; right: -12px; background: var(--red); color: white; border: none; border-radius: 50%; width: 24px; height: 24px; font-size: 12px; font-weight: bold; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 12; line-height: 1; padding: 0; }
.visualizer-product-wrapper.active-element .delete-instance-btn { display: flex; }

.resize-handle { position: absolute; bottom: -6px; right: -6px; width: 18px; height: 18px; background: var(--black); border: 2px solid white; border-radius: 50%; cursor: se-resize; display: none; z-index: 12; }
.visualizer-product-wrapper.active-element .resize-handle { display: block; }

/* Dugmići za brisanje i širenje */
.delete-instance-btn { position: absolute; top: -12px; right: -12px; background: var(--red); color: white; border: none; border-radius: 50%; width: 24px; height: 24px; font-size: 12px; font-weight: bold; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 12; }
.visualizer-product-wrapper.active-element .delete-instance-btn { display: flex; }
.resize-handle { position: absolute; bottom: -5px; right: -5px; width: 15px; height: 15px; background: var(--black); border: 2px solid white; border-radius: 50%; cursor: se-resize; display: none; z-index: 12; }
.visualizer-product-wrapper.active-element .resize-handle { display: block; }

/* Dugme za dodavanje novog prozora */
#add-product-btn { margin-bottom: 15px; width: 100%; border-style: dashed; background: var(--bg-light); color: var(--black); box-shadow: none;}
#add-product-btn:hover { background: var(--black); color: var(--white); border-style: solid; }

/* Upload Dugme */
.upload-btn-wrapper { margin-top: 10px; width: 100%; }

/* --- FOOTER --- */
.pre-footer { background: var(--red); color: var(--white); padding: 80px 0; text-align: center; }
footer { background: var(--black); color: var(--white); width: 100%; padding: 80px 0 30px 0; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: #555; }
.footer-col a { font-size: 13px; color: #888; display: block; margin-bottom: 12px; transition: 0.2s; }
.footer-col a:hover { color: var(--white); padding-left: 8px; border-left: 2px solid var(--red); }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #555; letter-spacing: 1px; display: flex; justify-content: space-between; }

/* --- CHAT WIDGET --- */
.chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; width: 300px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: var(--line-dark); }
.chat-header { background: var(--red); color: var(--white); padding: 15px; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.chat-body { background: var(--white); padding: 20px; border-top: var(--line-dark); display: none; }
.chat-input { width: 100%; border: var(--line); padding: 10px; margin-bottom: 10px; font-family: inherit; font-size: 12px; resize: none; }
/* --- SINGLE PRODUCT PAGE --- */
.single-grid { display: grid; grid-template-columns: 1fr 1fr; }
/* FIX ZA POZICIJU SLIKE (Gura sliku ka gore) */
.single-image-wrap { 
    background-color: var(--bg-light); 
    border-right: var(--line); 
    position: relative; 
    display: flex; 
    align-items: flex-start; /* OVO JE KLJUČNO: Gura sliku na vrh umesto na sredinu */
    justify-content: center; 
    padding: 100px 60px 60px 60px; /* Povećan gornji padding da se lepo poravna sa tekstom */
    min-height: 500px; 
}
/* FIX ZA SLIKU (Forisrana širina) */
.main-product-img { width: 100%; max-width: 450px; height: auto; max-height: 600px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); }

.single-info-wrap { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.single-title { font-size: 3rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.single-content { font-size: 14px; color: var(--text-muted); margin-bottom: 40px; }
.single-content p { margin-bottom: 15px; }

/* FIX ZA SPECIFIKACIJE (Lijevo-Desno layout) */
.single-specs { border-top: var(--line); padding-top: 25px; margin-top: 20px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dotted #ccc; font-size: 13px; }
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-muted); font-weight: 600; display: flex; align-items: center; }
.spec-label i { color: var(--red); margin-right: 8px; font-size: 16px; }
.spec-value { font-weight: 800; color: var(--text-main); text-align: right; }

/* WP Paginacija Stilizacija */
.catalog-pagination .page-numbers { display: inline-block; padding: 10px 15px; border: var(--line-dark); font-size: 12px; font-weight: 800; margin: 0 5px; color: var(--text-main); transition: 0.2s; }
.catalog-pagination .page-numbers.current, .catalog-pagination .page-numbers:hover { background: var(--black); color: var(--white); }

/* WP Paginacija Stilizacija */
.catalog-pagination .page-numbers { display: inline-block; padding: 10px 15px; border: var(--line-dark); font-size: 12px; font-weight: 800; margin: 0 5px; color: var(--text-main); transition: 0.2s; }
.catalog-pagination .page-numbers.current, .catalog-pagination .page-numbers:hover { background: var(--black); color: var(--white); }

/* =========================================
   EKSKLUZIVNA VRATA (CUSTOM PAGE STYLES)
   ========================================= */

/* 4 Glavna Stuba */
.features-4-col { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--red); }
.feature-box { padding: 40px 30px; border-right: var(--line); text-align: center; }
.feature-box:last-child { border-right: none; }
.feature-box i { font-size: 42px; color: var(--red); margin-bottom: 20px; }
.feature-box h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; color: var(--text-main); }
.feature-box p { font-size: 13px; color: var(--text-muted); }

/* Tehnički Grid (Presek profila) */
.tech-split-grid { display: grid; grid-template-columns: 1fr 1fr; }

/* Galerija Vrata */
.door-gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery-item { height: 400px; border-right: var(--line); position: relative; overflow: hidden; background: var(--black); }
.gallery-item:last-child { border-right: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.5s ease, opacity 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); opacity: 1; }

/* --- REFERENCE (PORTFOLIO) --- */
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); }
.ref-card { border-right: var(--line); border-bottom: var(--line); display: block; overflow: hidden; }
.ref-card:nth-child(3n) { border-right: none; }
.ref-image { height: 280px; position: relative; overflow: hidden; background: var(--black); }
.ref-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: 0.5s ease; }
.ref-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; }
.ref-card:hover .ref-image img { transform: scale(1.05); }
.ref-card:hover .ref-overlay { opacity: 1; }
.ref-content { padding: 30px; background: var(--white); transition: 0.3s; }
.ref-location { font-size: 11px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.ref-content h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; color: var(--black); }

/* --- SINGLE REFERENCA --- */
.ref-single-split { display: grid; grid-template-columns: 2fr 1fr; }
.ref-main-content { padding: 60px; border-right: var(--line); }
.ref-sidebar { padding: 60px; background: var(--bg-light); }
.ref-specs-box { background: var(--white); border: var(--line); padding: 30px; }
.spec-lbl { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }

/* =========================================
   O NAMA - FULL TIMELINE
   ========================================= */
.full-history-timeline {
    padding: 60px;
    background: var(--white);
}
.history-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
}
.history-year {
    width: 150px;
    padding: 30px 40px 30px 0;
    font-size: 2.5rem;
    font-weight: 800;
    color: #e0e0e0;
    text-align: right;
    line-height: 1;
    letter-spacing: -1px;
    transition: 0.3s;
}
.history-content {
    flex-grow: 1;
    padding: 35px 0 40px 40px;
    border-left: 2px solid var(--line);
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    transition: 0.3s;
}
/* Tačkica na liniji */
.history-content::before {
    content: '';
    position: absolute;
    top: 42px;
    left: -7px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: 0.3s;
}
/* Hover efekat za svaki red - Inženjerski fokus */
.history-row:hover .history-year {
    color: var(--black);
    transform: scale(1.05) translateX(-5px);
}
.history-row:hover .history-content {
    border-left-color: var(--black);
    color: var(--text-main);
}
.history-row:hover .history-content::before {
    border-color: var(--red);
    background: var(--red);
}
/* =========================================
   FAQ (ČESTA PITANJA) STILOVI
   ========================================= */
.faq-item {
    border-bottom: var(--line);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-summary {
    padding: 25px 0;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    list-style: none; /* Uklanja defaultnu strelicu */
    transition: 0.3s ease;
}
/* Uklanja strelicu u Safari/Chrome browserima */
.faq-summary::-webkit-details-marker {
    display: none; 
}
.faq-summary:hover {
    color: var(--red);
}
.faq-icon {
    font-size: 24px;
    color: var(--red);
    transition: transform 0.3s ease;
}
/* Kada je <details> otvoren, rotiraj ikonicu za 45 stepeni da postane 'X' */
details[open] .faq-icon {
    transform: rotate(45deg);
}
.faq-content {
    padding-bottom: 25px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    animation: fadeInDown 0.3s ease-in-out;
}

/* Sitna animacija za lagano spuštanje teksta */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* --- PREMIUM LISTE SA KVAČICAMA (Servis, Okov, Ekskluzivna Vrata) --- */
.exclusive-features {
    list-style: none; /* Uklanja ružne crne tačkice */
    padding: 0;
    margin: 0;
}
.exclusive-features li {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
}
.exclusive-features li i {
    color: var(--red);
    font-size: 20px;
    margin-right: 15px;
}
/* =========================================
   CONTACT FORM 7 CUSTOM STYLING
   ========================================= */
.mrpvc-cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.mrpvc-cf7-wrapper input[type="text"],
.mrpvc-cf7-wrapper input[type="email"],
.mrpvc-cf7-wrapper input[type="tel"],
.mrpvc-cf7-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.mrpvc-cf7-wrapper input:focus,
.mrpvc-cf7-wrapper textarea:focus {
    border-color: var(--red);
}

.mrpvc-cf7-wrapper input[type="submit"] {
    width: 100%;
    padding: 18px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
    display: block;
}

.mrpvc-cf7-wrapper input[type="submit"]:hover {
    background: var(--black);
}

/* Stil za validacione poruke (Error/Success) */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: 2px solid transparent !important;
    text-align: center;
}

.wpcf7-mail-sent-ok { border-color: #4CAF50 !important; color: #4CAF50; }
.wpcf7-validation-errors { border-color: var(--red) !important; color: var(--red); }

/* =========================================
   PERFEKTAN MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card:nth-child(4n) { border-right: var(--line); }
    .product-card:nth-child(2n) { border-right: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hide-on-mobile, .header-top { display: none !important; }
    .mobile-menu-toggle { display: block !important; position: relative; z-index: 1005; background: transparent; border: none; font-size: 32px; cursor: pointer;}
    .nav-links { position: fixed; top: 0; left: -100%; width: 100%; height: 100dvh; background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.3s ease; z-index: 1001; }
    .nav-links.active { left: 0; }
    .nav-links ul { flex-direction: column; gap: 30px; text-align: center; padding: 0; }
    .nav-links a { font-size: 20px; }

    .container { padding: 0 15px; }
    
    .hero { margin-top: 75px; min-height: 80dvh; padding: 50px 0; align-items: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; justify-items: center; }
    .partners-label { grid-column: 1 / -1; text-align: center; margin: 0; }
    .partner-logo-img { max-width: 100%; height: 30px; }

    .boxed-section { margin-top: 30px; margin-bottom: 30px; }
    .boxed-header { padding: 25px 20px; flex-direction: column; align-items: flex-start; gap: 15px; }
    .boxed-header h2 { font-size: 2rem; line-height: 1.1; }
    
    .product-grid { grid-template-columns: 1fr !important; }
    .product-card { border-right: none !important; }
    
    /* --- FIX ZA FILTERE NA MOBILNOM --- */
    .catalog-filters { 
        padding: 15px 20px; 
        display: grid; 
        grid-template-columns: 1fr 1fr; /* Dve jednake kolone */
        gap: 10px; 
    }
    .filter-btn { 
        padding: 12px; 
        font-size: 11px; 
        width: 100%; 
        border-color: #ddd;
    }
    /* Svi sistemi dugme na mobilnom postaje crveno */
    .filter-btn.active {
        background: var(--red);
        color: var(--white);
        border-color: var(--red);
    }

    /* --- KONFIGURATOR MOBILE FIX --- */
    .config-grid { flex-direction: column; }
    .config-ui { width: 100%; padding: 25px 20px; border-right: none; border-bottom: var(--line); }
    .options-grid { gap: 5px; }
    .opt-btn { padding: 10px; font-size: 10px; }
    
    .config-visual { width: 100%; min-height: 400px; padding: 0; flex-direction: column; justify-content: flex-start; }
    .blueprint-live-spec { position: relative !important; top: 0 !important; left: 0 !important; width: 100%; margin-bottom: 20px; border: none; border-bottom: var(--line-dark); }
    .visualizer-product-wrapper { width: 18%; } 

    /* --- FIX ZA PRE-FOOTER CTA NA MOBILNOM --- */
    .pre-footer h2 {
        font-size: 1.8rem !important; /* Smanjen font */
        letter-spacing: normal !important; /* Uklonjen dodatni razmak između slova/reči */
        line-height: 1.3;
        margin-bottom: 20px !important;
    }

    .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
    .footer-col { border-bottom: 1px solid #222; padding-bottom: 20px; }
    .footer-col:last-child { border-bottom: none; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    
    .chat-widget { width: calc(100% - 30px); bottom: 15px; right: 15px; }

    /* Single Product Mobile */
    .single-grid { grid-template-columns: 1fr; }
    .single-image-wrap { border-right: none; border-bottom: var(--line); padding: 40px 20px; min-height: 350px; }
    .single-info-wrap { padding: 40px 20px; }
    .single-title { font-size: 2.2rem; }

    /* Ekskluzivna Vrata Mobile Fix */
    .features-4-col { grid-template-columns: 1fr; }
    .feature-box { border-right: none; border-bottom: var(--line); padding: 30px 20px; }
    .tech-split-grid, .design-grid { grid-template-columns: 1fr !important; }
    .tech-split-content { padding: 40px 20px !important; }
    .tech-split-images { flex-direction: column; padding: 20px !important; }
    .tech-split-images img { max-width: 100%; height: auto; }
    .door-gallery { grid-template-columns: repeat(2, 1fr); } 
    .gallery-item { height: 250px; border-bottom: var(--line); }
    .gallery-item:nth-child(2n) { border-right: none; }

    /* Reference Mobile */
    .reference-grid { grid-template-columns: 1fr; }
    .ref-card { border-right: none !important; }
    .ref-single-split { grid-template-columns: 1fr; }
    .ref-main-content, .ref-sidebar { padding: 30px 20px; border-right: none; }

    /* O Nama Timeline Mobile */
    .full-history-timeline { padding: 30px 20px !important; }
    .history-row { flex-direction: column; margin-bottom: 20px; }
    .history-year { width: 100%; padding: 0 0 10px 0; text-align: left; font-size: 2rem; color: var(--red); }
    .history-content { padding: 15px 0 15px 20px; border-left: 2px solid var(--red); }
    .history-content::before { top: 20px; left: -7px; }

    /* FAQ Mobile */
    .faq-container { padding: 30px 20px !important; }
    .faq-summary { font-size: 15px; padding: 20px 0; gap: 15px; }
    .faq-icon { font-size: 20px; flex-shrink: 0; }
}