body {
    background: #f4f7fb;
    color: #182032;
    overflow-x: hidden;
}

#fixed-contact-buttons {
    display: none !important;
}

.header .header-inner .get-quote .btn {
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}

.breadcrumbs {
    padding: 54px 0;
    background-position: center 38%;
}

.breadcrumbs.overlay:before {
    background: linear-gradient(110deg, rgba(10, 37, 71, 0.9), rgba(26, 118, 209, 0.72));
    opacity: 1;
}

.breadcrumbs .bread-inner {
    position: relative;
}

.breadcrumbs h1 {
    max-width: 980px;
    margin: 0 auto;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 700;
    text-transform: none;
}

.breadcrumbs .bread-list {
    margin-top: 16px;
}

.product-detail-page {
    padding: 36px 0 0;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(390px, 5fr);
    column-gap: 30px;
    align-items: flex-start;
    row-gap: 28px;
}

.product-gallery-column,
.product-info-column,
.product-description-column {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
}

.product-gallery-column {
    grid-column: 1;
    grid-row: 1;
}

.product-info-column {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.product-description-column {
    grid-column: 1;
    grid-row: 2;
}

.product-gallery-card,
.product-info-card,
.product-description-card,
.product-video-card {
    background: #fff;
    border: 1px solid rgba(24, 32, 50, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(16, 45, 86, 0.1);
}

.product-gallery-card {
    position: relative;
    padding: 14px;
}

.product-media-label {
    position: absolute;
    left: 28px;
    top: 28px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(16, 24, 39, 0.76);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

#racunarGalerija {
    overflow: hidden;
    border-radius: 7px;
    background: #101827;
}

#racunarGalerija .carousel-inner img {
    height: 560px;
    max-height: 70vh;
    object-fit: cover;
    cursor: zoom-in;
}

#racunarGalerija .carousel-control-prev,
#racunarGalerija .carousel-control-next {
    width: 54px;
    opacity: 1;
}

#racunarGalerija .carousel-control-prev-icon,
#racunarGalerija .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(16, 24, 39, 0.72);
    background-size: 48%;
}

.racunar-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.racunar-thumbnails img {
    width: 100%;
    height: 86px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid #e4eaf3;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.racunar-thumbnail:hover {
    transform: translateY(-2px);
    border-color: #8bbdf0;
    box-shadow: 0 8px 18px rgba(26, 118, 209, 0.18);
}

.racunar-thumbnail.active {
    border: 3px solid #1a76d1;
    box-shadow: 0 0 0 3px rgba(26, 118, 209, 0.16);
}

.product-info-card {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    padding: 28px;
}

.product-eyebrow,
.section-kicker {
    margin-bottom: 10px;
    color: #1a76d1;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.product-title {
    margin-bottom: 16px;
    color: #172033;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
}

.product-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1b4c84;
    font-size: 12px;
    font-weight: 700;
}

.product-trust-row i {
    color: #1a76d1;
}

#specifikacije-racunara .racunar-specs {
    order: 5;
    margin-bottom: 18px;
    padding: 0;
    border: 1px solid #e2ebf6;
    border-radius: 8px;
    background: #fbfdff;
    box-shadow: none;
    overflow: hidden;
}

.specs-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2ebf6;
    background: #f1f7ff;
    color: #172033;
    font-weight: 800;
}

.spec-table {
    display: grid;
    gap: 3px;
    padding: 3px;
    background: #dfe8f4;
}

.spec-row {
    display: grid;
    grid-template-columns: minmax(150px, 40%) minmax(0, 1fr);
    gap: 3px;
}

.spec-label,
.spec-value {
    min-width: 0;
    padding: 13px 16px;
    font-size: 14.5px;
    line-height: 1.45;
}

.spec-label {
    display: flex;
    align-items: center;
    background: #e5e9ef;
    color: #1b2738;
    font-weight: 800;
}

.spec-value {
    background: #f8fafc;
    color: #172033;
    font-weight: 500;
}

#specifikacije-racunara .racunar-specs > em {
    display: block;
    padding: 16px 18px;
}

.racunar-price {
    order: 3;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #111827, #1f4f82);
    color: #fff !important;
    box-shadow: none;
    font-size: 18px;
}

.racunar-price.text-danger {
    color: #fff !important;
}

.racunar-price strong {
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.racunar-price s {
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.racunar-price:not(.text-muted) {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
}

.racunar-price + .racunar-price {
    margin-top: 8px;
}

.racunar-price .badge {
    border-radius: 999px;
    padding: 7px 10px;
    background: #26c281;
    color: #fff;
}

.product-contact-panel {
    order: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.product-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 10px;
    border-radius: 7px;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(16, 24, 39, 0.12);
}

.product-contact-button:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.product-contact-button.viber {
    background: #6d5be8;
}

.product-contact-button.whatsapp {
    background: #22b85f;
}

.product-contact-button.call {
    background: #1a76d1;
}

.product-video-card,
#specifikacije-racunara .mt-4 {
    margin-top: 18px !important;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(24, 32, 50, 0.08);
    box-shadow: 0 18px 45px rgba(16, 45, 86, 0.1);
}

#specifikacije-racunara .mt-4 h5 {
    margin-bottom: 12px;
    color: #172033;
    font-weight: 800;
}

.product-description-card {
    margin-top: 32px;
    padding: 30px;
}

.product-description-card h2 {
    margin-bottom: 16px;
    color: #172033;
    font-size: 26px;
    font-weight: 800;
}

.racunar-description {
    max-width: 900px;
    color: #26364d;
    font-size: 16px;
    line-height: 1.75;
}

.racunar-description p {
    margin-bottom: 12px;
    color: #26364d;
    font-size: 16px;
    line-height: 1.75;
}

.product-bottom-cta {
    margin: 18px 0 44px;
}

.product-bottom-cta .col-12 {
    justify-content: center;
}

#imageModal {
    padding: 0 !important;
}

#imageModal .modal-backdrop,
.modal-backdrop.show {
    opacity: 0.78;
}

#imageModal .modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
}

#imageModal .modal-content {
    background: rgba(8, 13, 24, 0.18) !important;
}

#imageModal .modal-body {
    padding: 28px 78px !important;
}

#modalCarousel,
#modalCarousel .carousel-inner,
#modalCarousel .carousel-item {
    height: 100%;
}

#modalCarousel .carousel-item {
    align-items: center;
    justify-content: center;
}

#modalCarousel .carousel-item.active {
    display: flex;
}

.modal-img {
    width: auto;
    max-width: min(1480px, calc(100vw - 156px));
    max-height: calc(100vh - 76px);
    object-fit: contain;
    border-radius: 8px;
    background: #0f172a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.modal-close-btn {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1065;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.76) !important;
    color: #fff !important;
    font-size: 34px;
    line-height: 1;
    font-weight: 300;
    opacity: 1;
    text-shadow: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    background: #1a76d1;
    color: #fff !important;
    opacity: 1;
    transform: translateY(-1px);
}

#modalCarousel .carousel-control-prev,
#modalCarousel .carousel-control-next {
    width: 78px;
    opacity: 1;
}

#modalCarousel .carousel-control-prev-icon,
#modalCarousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.68);
    background-size: 42%;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

#modalCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#modalCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #1a76d1;
    transform: scale(1.06);
}

@media (max-width: 991.98px) {
    .product-detail-shell {
        display: flex;
    }

    .product-gallery-column,
    .product-info-column,
    .product-description-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-info-card {
        position: static;
    }

    #racunarGalerija .carousel-inner img {
        height: 460px;
    }
}

@media (max-width: 767.98px) {
    .breadcrumbs {
        padding: 48px 0;
    }

    .breadcrumbs h1 {
        font-size: 25px;
    }

    .breadcrumbs .bread-list {
        display: none;
    }

    .product-detail-page {
        padding-top: 28px;
    }

    .product-gallery-card,
    .product-info-card,
    .product-description-card {
        padding: 14px;
        border-radius: 7px;
    }

    #racunarGalerija .carousel-inner img {
        height: 330px;
        max-height: none;
    }

    .product-title {
        font-size: 22px;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0;
        border-bottom: 3px solid #dfe8f4;
    }

    .spec-row:last-child {
        border-bottom: 0;
    }

    .spec-label,
    .spec-value {
        padding: 11px 13px;
        font-size: 14px;
    }

    .racunar-price:not(.text-muted) {
        font-size: 30px;
    }

    .product-contact-panel {
        grid-template-columns: 1fr;
    }

    .product-contact-button {
        justify-content: flex-start;
        padding-left: 18px;
    }

    .racunar-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .racunar-thumbnails img {
        height: 74px;
    }

    .product-bottom-cta {
        display: none;
    }

    #imageModal .modal-body {
        padding: 18px 18px !important;
    }

    .modal-img {
        max-width: calc(100vw - 36px);
        max-height: calc(100vh - 96px);
    }

    .modal-close-btn {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    #modalCarousel .carousel-control-prev,
    #modalCarousel .carousel-control-next {
        width: 54px;
    }

    #modalCarousel .carousel-control-prev-icon,
    #modalCarousel .carousel-control-next-icon {
        width: 42px;
        height: 42px;
    }
}
