/*
 * Rizana colours for the storefront, loaded after the theme (style-en/ar.css, style.css).
 * Colours only. Most colours come from the theme's own colour settings (vars.css); this file recolours the few
 * places where the theme hard-codes its old dark grey, blue or green. No layout, size, font or behaviour changes.
 */
:root {
    --rz-cocoa: #311603;
    --rz-pressed: #1D0D02;
    --rz-raised: #4A2F1C;
    --rz-bronze: #7E5F44;
    --rz-cream: #DFC6AE;
    --rz-tint: #F5EDE6;
}

/* Logo: the Rizana logo is wider than the old one, so fix its width instead of letting the column stretch it */
.logo-header img {
    height: auto !important;
    width: 220px !important;
    max-width: none;
    object-fit: contain;
}

@media (max-width: 991px) {
    .logo-header img {
        width: 150px !important;
    }
}

.footer-logo {
    max-height: 140px;
    width: auto;
}

/* Old dark grey (#4a4f54) in the theme */
.header-top .menu-item-has-children .dropdown-menu li a:hover,
.block-minicart .actions a.btn-viewcart,
.footer-copyright.text-center,
.btn-add {
    background: var(--rz-cocoa);
}

/* Main buttons */
.btn-them,
.btn.btn-them {
    background: var(--rz-cocoa);
    border-color: var(--rz-cocoa);
    color: #fff;
}

.btn-them:hover,
.btn-them:focus {
    background: var(--rz-raised);
    border-color: var(--rz-raised);
    color: #fff;
}

/* Categories dropdown */
.header-menu .header-nav .submenu.dropdown-menu {
    background: #fff !important;
}

.header-menu .header-nav .submenu.dropdown-menu li a {
    color: var(--rz-cocoa) !important;
    background: transparent !important;
}

.header-menu .header-nav .submenu.dropdown-menu li a:hover {
    background: var(--rz-tint) !important;
    color: var(--rz-cocoa) !important;
}

/* Product card icons */
.product-grid .social li a {
    color: var(--rz-cocoa);
}

.product-grid .social li a:hover {
    color: #fff;
    background-color: var(--rz-cocoa);
}

.product-grid .social li a:before,
.product-grid .social li a:after {
    background-color: var(--rz-cocoa);
}

/* Pagination and slider dots */
.pagination .page-item.active .page-link,
.pagination .active > a,
.pagination .active > span {
    background-color: var(--rz-cocoa);
    border-color: var(--rz-cocoa);
    color: #fff;
}

.owl-dots button.owl-dot {
    background: var(--rz-cream) !important;
}

.owl-dots button.owl-dot.active {
    background: var(--rz-cocoa) !important;
}

/* Price filter (was jQuery UI blue) */
.custom-slider-range-price .ui-slider-range {
    background: var(--rz-cocoa) !important;
}

.custom-slider-range-price .ui-slider-handle {
    border-color: var(--rz-cocoa) !important;
    background: #fff !important;
}
