
/* Top bar: bright white links/icons for red background */
.header-top.cp-topbar-bright-white,
.header-top.cp-topbar-bright-white * {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.header-top.cp-topbar-bright-white a,
.header-top.cp-topbar-bright-white .nav-link,
.header-top.cp-topbar-bright-white i,
.header-top.cp-topbar-bright-white span {
    color: #ffffff !important;
    opacity: 1 !important;
}

.header-top.cp-topbar-bright-white a:hover,
.header-top.cp-topbar-bright-white a:focus {
    color: #ffffff !important;
    opacity: 0.92 !important;
}

.header-top.cp-topbar-bright-white .social-icons li a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Footer (Apollo style) */
.cp-footer {
    background: var(--apollo-secondary, #2f3b52);
    color: rgba(255, 255, 255, 0.85);
}

.cp-footer__title {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.cp-footer__title-link {
    color: #ffffff !important;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cp-footer__title-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
}

.cp-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-footer__list li {
    margin-bottom: 8px;
}

.cp-footer__list a,
.cp-footer__block a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
}

.cp-footer__list a:hover,
.cp-footer__block a:hover {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: underline;
}

.cp-footer__block {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.35rem;
}

.cp-footer__block > i,
.cp-footer__title-link > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--apollo-primary, #dc3545);
    color: #fff !important;
    font-size: 12px;
    margin-right: .35rem;
    vertical-align: middle;
    box-shadow: 0 4px 10px rgba(var(--apollo-primary-rgb, 220, 53, 69), .3);
}

.cp-footer__social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.cp-footer__social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.cp-footer__social a:hover {
    border-color: var(--apollo-primary, #dc3545);
    background: var(--apollo-primary, #dc3545);
    color: #ffffff !important;
}

.cp-footer__input {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

.cp-footer__input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.cp-footer__input:focus {
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.cp-footer__textarea {
    resize: vertical;
}

.cp-footer__submit {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.08);
}

.cp-footer__bottom-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Homepage hero carousel: red pagination dots */
.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot span {
    background: rgba(var(--apollo-primary-rgb), 0.45);
}

.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot.active span,
.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot:hover span {
    background-color: var(--apollo-primary) !important;
}

/* Product category / subcategory listing — red text links & hovers */
.cp-product-listing-page .breadcrumb a {
    color: var(--apollo-primary) !important;
}
.cp-product-listing-page .breadcrumb a:hover,
.cp-product-listing-page .breadcrumb a:focus {
    color: var(--apollo-primary-dark) !important;
}

.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link {
    color: var(--apollo-primary) !important;
}
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link:before {
    color: var(--apollo-primary) !important;
    opacity: 0.85 !important;
}
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link:hover,
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link:focus {
    color: #fff !important;
    background-color: var(--apollo-primary) !important;
}
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link:hover:before,
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link:focus:before {
    color: #fff !important;
}
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link.active {
    color: #fff !important;
    background-color: var(--apollo-primary-dark) !important;
}
.cp-product-listing-page aside.sidebar ul.nav-list li a.nav-link.active:before {
    color: #fff !important;
}

.cp-product-listing-page .cp-category-product-card h2 a {
    color: var(--apollo-primary) !important;
}
.cp-product-listing-page .cp-category-product-card h2 a:hover,
.cp-product-listing-page .cp-category-product-card h2 a:focus {
    color: var(--apollo-primary-dark) !important;
}

.cp-product-listing-page .cp-category-product-card a.btn.btn-light.border {
    color: var(--apollo-primary) !important;
    border-color: #eeb8be !important;
}
.cp-product-listing-page .cp-category-product-card a.btn.btn-light.border:hover,
.cp-product-listing-page .cp-category-product-card a.btn.btn-light.border:focus {
    color: #fff !important;
    background-color: var(--apollo-primary) !important;
    border-color: var(--apollo-primary) !important;
}

/* Mobile header logo */
@media (max-width: 575.98px) {
  #header .header-logo img,
  #header .cp-header-logo-img {
    width: auto !important;
    max-width: 140px;
    height: auto !important;
  }
}

/* ——— Site-wide pagination (Apollo red) ——— */
.pagination {
    gap: .2rem;
    flex-wrap: wrap;
}
.pagination .page-item .page-link {
    color: var(--apollo-primary) !important;
    border-color: #f0c4c9 !important;
    background: #fff !important;
    border-radius: 8px !important;
    margin: 0 2px;
    min-width: 2.25rem;
    text-align: center;
    font-weight: 600;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
    color: #fff !important;
    background: var(--apollo-primary) !important;
    border-color: var(--apollo-primary) !important;
    box-shadow: 0 6px 14px rgba(var(--apollo-primary-rgb), .28);
    z-index: 2;
}
.pagination .page-item.active .page-link {
    color: #fff !important;
    background: var(--apollo-primary) !important;
    border-color: var(--apollo-primary) !important;
    box-shadow: 0 8px 18px rgba(var(--apollo-primary-rgb), .32);
}
.pagination .page-item.disabled .page-link {
    color: #adb5bd !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
    box-shadow: none !important;
}
/* Laravel default simple/bootstrap views sometimes use <span> */
.pagination > li > a,
.pagination > li > span {
    color: var(--apollo-primary);
    border-color: #f0c4c9;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background-color: var(--apollo-primary) !important;
    border-color: var(--apollo-primary) !important;
    color: #fff !important;
}

/* ——— Global theme remaps (primary from Website Settings) ——— */
html .scroll-to-top {
    background: var(--apollo-primary) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 8px 22px rgba(var(--apollo-primary-rgb), 0.35) !important;
}
html .scroll-to-top:hover {
    background: var(--apollo-primary-dark) !important;
    opacity: 1;
}

.owl-carousel .owl-dots .owl-dot span {
    background: rgba(var(--apollo-primary-rgb), 0.4) !important;
}
.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background-color: var(--apollo-primary) !important;
}

.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot span {
    background: rgba(var(--apollo-primary-rgb), 0.45) !important;
}
.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot.active span,
.homepage-carousel-red-dots.owl-carousel .owl-dots .owl-dot:hover span {
    background-color: var(--apollo-primary) !important;
}

/* Homepage About Us — MORE + category pills follow primary */
.cp-home-about__more {
    background: var(--apollo-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(var(--apollo-primary-rgb), .28);
}
.cp-home-about__more:hover,
.cp-home-about__more:focus {
    background: var(--apollo-primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(var(--apollo-primary-rgb), .38);
}
.cp-home-about__pill {
    color: #1a2433 !important;
}
.cp-home-about__pill:hover,
.cp-home-about__pill:focus {
    background: var(--apollo-primary) !important;
    border-color: var(--apollo-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(var(--apollo-primary-rgb), .28);
}
.cp-home-about__line {
    background: var(--apollo-primary) !important;
}

/* Header menu hover / active underline → primary */
@media (min-width: 992px) {
    #header .header-nav.header-nav-line nav > ul > li:hover > a:before,
    #header .header-nav.header-nav-line nav > ul > li.open > a:before,
    #header .header-nav.header-nav-line nav > ul > li.accessibility-open > a:before,
    #header .header-nav.header-nav-line nav > ul:not(:hover) > li > a.active:before,
    #header .header-nav.header-nav-line.header-nav-bottom-line nav > ul > li:hover > a:before,
    #header .header-nav.header-nav-line.header-nav-bottom-line nav > ul > li.open > a:before,
    #header .header-nav.header-nav-line.header-nav-bottom-line nav > ul > li > a.active:before,
    #header .header-nav.header-nav-line.header-nav-bottom-line.header-nav-bottom-line-effect-1 nav > ul > li:hover > a:before,
    #header .header-nav.header-nav-line.header-nav-bottom-line.header-nav-bottom-line-effect-1 nav > ul > li > a.active:before {
        background: var(--apollo-primary) !important;
        background-color: var(--apollo-primary) !important;
    }

    #header .header-nav-main nav > ul > li.dropdown.open > a:before,
    #header .header-nav-main nav > ul > li.dropdown:hover > a:before {
        border-bottom-color: var(--apollo-primary) !important;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
        border-top-color: var(--apollo-primary) !important;
    }
}
