:root {
    --irenfix-gold: #c58a16;
    --irenfix-gold-dark: #8f5e00;
    --irenfix-gold-soft: #f6ead0;
    --irenfix-charcoal: #2d2f33;
    --irenfix-charcoal-soft: #45484e;
    --irenfix-silver: #a7a9ad;
    --irenfix-silver-light: #e2e3e5;
    --irenfix-canvas: #f8f7f4;
    --bs-primary: #b97b0c;
    --bs-primary-rgb: 185, 123, 12;
    --bs-link-color: #9b6708;
    --bs-link-hover-color: #714b04;
}

::selection {
    background: rgba(var(--bs-primary-rgb), 0.22);
    color: var(--irenfix-charcoal);
}

body {
    color: var(--irenfix-charcoal);
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(var(--bs-primary-rgb), 0.07),
            transparent 24rem
        ),
        var(--irenfix-canvas);
}

a {
    color: var(--bs-link-color);
}

a:hover {
    color: var(--bs-link-hover-color);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--irenfix-gold);
    --bs-btn-border-color: var(--irenfix-gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--irenfix-gold-dark);
    --bs-btn-hover-border-color: var(--irenfix-gold-dark);
    --bs-btn-focus-shadow-rgb: 185, 123, 12;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--irenfix-gold-dark);
    --bs-btn-active-border-color: var(--irenfix-gold-dark);
    --bs-btn-disabled-bg: var(--irenfix-silver);
    --bs-btn-disabled-border-color: var(--irenfix-silver);
}

.btn-outline-primary {
    --bs-btn-color: var(--irenfix-gold-dark);
    --bs-btn-border-color: var(--irenfix-gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--irenfix-gold);
    --bs-btn-hover-border-color: var(--irenfix-gold);
    --bs-btn-focus-shadow-rgb: 185, 123, 12;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--irenfix-gold-dark);
    --bs-btn-active-border-color: var(--irenfix-gold-dark);
}

.btn-soft-primary {
    color: var(--irenfix-gold-dark);
    background: var(--irenfix-gold-soft);
    border-color: rgba(var(--bs-primary-rgb), 0.2);
}

.btn-soft-primary:hover,
.btn-soft-primary:focus {
    color: #fff;
    background: var(--irenfix-gold);
    border-color: var(--irenfix-gold);
}

.text-primary,
.link-primary {
    color: var(--irenfix-gold-dark) !important;
}

.bg-primary {
    background-color: var(--irenfix-gold) !important;
}

.bg-soft-primary {
    color: var(--irenfix-gold-dark) !important;
    background-color: var(--irenfix-gold-soft) !important;
}

.border-primary {
    border-color: var(--irenfix-gold) !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.62);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.13);
}

.form-check-input:checked {
    background-color: var(--irenfix-gold);
    border-color: var(--irenfix-gold);
}

.card {
    border-color: rgba(45, 47, 51, 0.1);
    box-shadow: 0 0.45rem 1.35rem rgba(45, 47, 51, 0.055);
}

.card-header {
    background:
        linear-gradient(
            90deg,
            rgba(var(--bs-primary-rgb), 0.08),
            rgba(167, 169, 173, 0.06)
        );
    border-bottom-color: rgba(45, 47, 51, 0.09);
}

.table > thead {
    color: var(--irenfix-charcoal);
    background: linear-gradient(
        90deg,
        rgba(var(--bs-primary-rgb), 0.09),
        rgba(167, 169, 173, 0.1)
    );
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.nav-tabs .nav-link.active {
    color: var(--irenfix-gold-dark);
}

.nav-tabs .nav-link.active {
    border-color:
        transparent
        transparent
        var(--irenfix-gold);
}

.dropdown-item.active,
.dropdown-item:active,
.list-group-item.active {
    color: #fff;
    background-color: var(--irenfix-gold);
    border-color: var(--irenfix-gold);
}

.page-item.active .page-link,
.pagination .active > .page-link {
    color: #fff;
    background-color: var(--irenfix-gold);
    border-color: var(--irenfix-gold);
}

.page-link {
    color: var(--irenfix-gold-dark);
}

.progress-bar {
    background-color: var(--irenfix-gold);
}

.irenfix-fixed-header {
    background-color: #fff;
    background-image: none;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.3);
    box-shadow: 0 0.35rem 1.2rem rgba(45, 47, 51, 0.09);
    opacity: 1;
    backdrop-filter: none;
}

.irenfix-header-top,
.irenfix-header-navigation {
    background-color: #fff;
    background-image: none;
}

.irenfix-search-form {
    background: linear-gradient(
        90deg,
        rgba(167, 169, 173, 0.13),
        rgba(var(--bs-primary-rgb), 0.07)
    );
    border-color: rgba(45, 47, 51, 0.07);
}

.irenfix-header-action-button,
.irenfix-mobile-menu-button {
    border-color: rgba(var(--bs-primary-rgb), 0.28);
}

.irenfix-main-category-item:hover,
.irenfix-main-category-item.active {
    color: var(--irenfix-gold-dark);
    background: #fff;
    border-right-color: var(--irenfix-gold);
}

.irenfix-view-all-link,
.irenfix-view-all-link:hover,
.irenfix-subcategory-title:hover {
    color: var(--irenfix-gold-dark);
}

.irenfix-subcategory-title::before {
    background: var(--irenfix-gold);
}

.irenfix-header-logo {
    width: 78px;
    height: 70px;
    margin-inline-start: 1rem;
    overflow: hidden;
    border-radius: 0.8rem;
    background: var(--irenfix-canvas);
}

.irenfix-header-logo img {
    width: 78px !important;
    min-width: 78px;
    max-width: none !important;
    height: 78px !important;
    object-fit: cover;
    transform: scale(1.08);
}

.navbar-brand {
    width: 74px;
    height: 68px;
    margin-inline-start: 1rem;
    margin-inline-end: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0.8rem;
    background: var(--irenfix-canvas);
}

.navbar-brand-logo {
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    height: 74px !important;
    object-fit: cover;
    transform: scale(1.08);
}

.navbar-vertical .nav-link.active,
.navbar-vertical .nav-link:hover {
    color: var(--irenfix-gold-dark);
    background: linear-gradient(
        90deg,
        rgba(var(--bs-primary-rgb), 0.13),
        rgba(167, 169, 173, 0.08)
    );
}

.text-cap {
    color: var(--irenfix-silver);
}

footer {
    color: #f8f9fa;
    background:
        linear-gradient(
            125deg,
            var(--irenfix-charcoal) 0%,
            #202226 65%,
            #3b3425 100%
        );
    border-top-color: var(--irenfix-gold) !important;
}

.irenfix-footer-inner {
    padding-inline: clamp(1rem, 3vw, 3rem);
}

.irenfix-site-footer h5 {
    position: relative;
    padding-bottom: 0.7rem;
    font-size: 0.95rem;
}

.irenfix-site-footer h5::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    border-radius: 2rem;
    background: var(--irenfix-gold);
    content: "";
}

footer h5,
footer .h5 {
    color: #fff;
}

footer .text-muted,
footer .text-secondary,
footer .link-sm {
    color: var(--irenfix-silver-light) !important;
}

footer a:hover {
    color: #e7b54e !important;
}

.irenfix-footer-logo {
    display: inline-flex;
    width: 150px !important;
    height: 150px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.4);
    border-radius: 1rem;
    background: var(--irenfix-canvas);
}

.irenfix-footer-logo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transform: scale(1.08);
}

.irenfix-enamad-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    min-height: 110px;
    padding: 0.65rem;
    overflow: hidden;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.45);
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.2);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.irenfix-enamad-badge:hover {
    border-color: rgba(231, 181, 78, 0.9);
    transform: translateY(-3px);
}

.irenfix-enamad-column {
    margin-inline-start: auto;
}

.irenfix-enamad-badge img {
    display: block;
    width: 100%;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}

.irenfix-invoice-logo {
    width: 52px;
    height: 52px;
    border: 1px solid var(--irenfix-silver);
    border-radius: 0.65rem;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .irenfix-header-logo {
        width: 58px;
        height: 54px;
        margin-inline-start: 0.5rem;
    }

    .irenfix-header-logo img {
        width: 58px !important;
        min-width: 58px;
        height: 58px !important;
    }

    .navbar-brand {
        width: 58px;
        height: 54px;
        margin-inline-start: 0.5rem;
    }

    .navbar-brand-logo {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        height: 58px !important;
    }

    .irenfix-footer-inner {
        padding-inline: 0.85rem;
    }

    .irenfix-footer-main {
        display: grid;
        margin-inline: 0;
        padding-block: 1.5rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .irenfix-footer-main > div {
        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.045);
    }

    .irenfix-footer-brand-column {
        grid-column: 1 / -1;
    }

    .irenfix-footer-brand-column > .d-flex {
        align-items: center !important;
        text-align: center;
    }

    .irenfix-footer-logo {
        width: 108px !important;
        height: 108px;
        margin-bottom: 0.85rem !important;
    }

    .irenfix-footer-logo img {
        width: 108px;
        height: 108px;
    }

    .irenfix-footer-main > div:last-child:nth-child(even) {
        grid-column: 1 / -1;
    }

    .irenfix-site-footer h5 {
        margin-bottom: 0.75rem !important;
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .irenfix-site-footer .list-py-1 {
        margin-bottom: 0;
    }

    .irenfix-site-footer .link-sm {
        font-size: 0.75rem;
        line-height: 1.7;
    }

    .irenfix-enamad-column {
        margin-inline-start: 0;
    }

    .irenfix-enamad-badge {
        width: 88px;
        min-height: 88px;
        padding: 0.45rem;
    }

    .irenfix-enamad-badge img {
        max-width: 74px;
        max-height: 74px;
    }

    .irenfix-footer-bottom {
        gap: 0.8rem;
        padding-block: 1.2rem !important;
        text-align: center;
    }

    .irenfix-footer-bottom > div {
        margin-bottom: 0 !important;
    }

    .irenfix-footer-bottom .list-inline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
        margin-bottom: 0;
    }

    .irenfix-footer-bottom .list-inline-item {
        margin: 0;
    }
}
