/**
 * Kingdom Stone — paleta temporal
 * Accent:  #fee67f
 * Gray:    #d1d1d1
 * Cream:   #fffef4
 */
body.ks-kingdom-theme {
    --ks-accent: #fee67f;
    --ks-accent-dark: #e5c96a;
    --ks-gray: #d1d1d1;
    --ks-gray-dark: #a8a8a8;
    --ks-cream: #fffef4;
    --ks-text: #1f1f1f;
    --ks-text-muted: #5c5c5c;

    --rs-theme-orange: #fee67f;
    --rs-theme-medium-yellow: #fee67f;
    --rs-bg-primary: #fffef4;
    --rs-text-primary: #5c5c5c;
    --rs-title-primary: #1f1f1f;
    --rs-border-secondary: rgba(209, 209, 209, 0.85);
    background-color: var(--ks-cream);
}

/* Botones acento — texto oscuro sobre amarillo */
body.ks-kingdom-theme .rs-btn.has-theme-orange,
body.ks-kingdom-theme .rs-btn.has-theme-orange.has-bg {
    background-color: var(--ks-accent) !important;
    color: var(--ks-text) !important;
    border-color: var(--ks-accent) !important;
}

body.ks-kingdom-theme .rs-btn.has-theme-orange:hover {
    background-color: var(--ks-accent-dark) !important;
    filter: none;
}

body.ks-kingdom-theme .rs-btn.has-theme-orange .icon-box svg,
body.ks-kingdom-theme .rs-btn.has-theme-orange .icon-box svg path {
    fill: var(--ks-text) !important;
}

/* Subtítulos y acentos decorativos */
body.ks-kingdom-theme .rs-section-subtitle.has-theme-orange,
body.ks-kingdom-theme .rs-theme-orange,
body.ks-kingdom-theme .has-theme-orange .rs-section-title span.rs-theme-orange {
    color: var(--ks-accent-dark) !important;
}

body.ks-kingdom-theme .rs-section-subtitle.has-theme-orange svg path {
    fill: var(--ks-accent) !important;
}

body.ks-kingdom-theme .rs-footer-copyright.has-theme-orange p,
body.ks-kingdom-theme .rs-footer-widget a:hover {
    color: var(--ks-accent-dark);
}

/* ——— Navbar ——— */
body.ks-kingdom-theme #rs-sticky-header {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

body.ks-kingdom-theme .rs-header-area.rs-header-two.has-theme-orange {
    background-color: var(--ks-cream) !important;
    border-bottom: 1px solid var(--ks-gray) !important;
}

body.ks-kingdom-theme .rs-header-area.rs-header-two.header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    margin: 0;
}

body.ks-kingdom-theme .rs-header-area.rs-header-two.rs-sticky-header,
body.ks-kingdom-theme .rs-header-area.rs-header-two.rs-sticky-header.active {
    background-color: var(--ks-cream) !important;
    box-shadow: 0 4px 20px rgba(31, 31, 31, 0.08);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.ks-kingdom-theme main {
    padding-top: 88px;
}

@media only screen and (max-width: 991px) {
    body.ks-kingdom-theme main {
        padding-top: 76px;
    }
}

body.ks-kingdom-theme .rs-header-area.has-theme-orange .main-menu li a {
    color: var(--ks-text) !important;
    font-weight: 500;
}

body.ks-kingdom-theme .rs-header-area.has-theme-orange .main-menu li a:hover,
body.ks-kingdom-theme .rs-header-area.has-theme-orange .main-menu ul li.active > a,
body.ks-kingdom-theme .rs-header-area.has-theme-orange .main-menu ul li a.active {
    color: var(--ks-accent-dark) !important;
}

body.ks-kingdom-theme .rs-header-two .rs-header-left::before,
body.ks-kingdom-theme .rs-header-two .rs-header-call::before {
    background: var(--ks-gray) !important;
    opacity: 1;
}

body.ks-kingdom-theme .rs-header-two .rs-header-call h6,
body.ks-kingdom-theme .rs-header-two .rs-header-call h6 a {
    color: var(--ks-text) !important;
}

body.ks-kingdom-theme .rs-header-two .rs-header-call.has-theme-orange h6 a:hover {
    color: var(--ks-accent-dark) !important;
}

body.ks-kingdom-theme .rs-header-two .sidebar-toggle .bar-icon svg path {
    fill: var(--ks-text) !important;
}

body.ks-kingdom-theme .ks-locale-switcher .ks-locale-link {
    color: var(--ks-text-muted) !important;
}

body.ks-kingdom-theme .ks-locale-switcher .ks-locale-link:hover,
body.ks-kingdom-theme .ks-locale-switcher .ks-locale-link.is-active {
    color: var(--ks-accent-dark) !important;
}

body.ks-kingdom-theme .ks-locale-switcher .ks-locale-sep {
    color: var(--ks-gray-dark) !important;
}

body.ks-kingdom-theme .ks-locale-switcher--dark .ks-locale-link {
    color: var(--ks-text-muted) !important;
}

body.ks-kingdom-theme .ks-locale-switcher--dark .ks-locale-link:hover,
body.ks-kingdom-theme .ks-locale-switcher--dark .ks-locale-link.is-active {
    color: var(--ks-accent-dark) !important;
}

/* Menú lateral (offcanvas) */
body.ks-kingdom-theme .offcanvas-area {
    background: var(--ks-cream);
}

body.ks-kingdom-theme .offcanvas-area .offcanvas-title-meta,
body.ks-kingdom-theme .offcanvas-area .offcanvas-about p,
body.ks-kingdom-theme .offcanvas-area .offcanvas-contact-text,
body.ks-kingdom-theme .offcanvas-area .offcanvas-contact-text a {
    color: var(--ks-text);
}

body.ks-kingdom-theme .offcanvas-area .offcanvas-close-icon .offcanvas-m-line {
    background: var(--ks-text);
}

body.ks-kingdom-theme .offcanvas-area .rs-offcanvas-menu a:hover {
    color: var(--ks-accent-dark);
}

/* Menú móvil (meanmenu) */

body.ks-kingdom-theme .mean-container .mean-nav {
    background: var(--ks-cream);
}

body.ks-kingdom-theme .mean-container .mean-nav ul li a {
    color: var(--ks-text) !important;
    border-color: var(--ks-gray) !important;
}

body.ks-kingdom-theme .mean-container .mean-nav ul li a:hover,
body.ks-kingdom-theme .mean-container .mean-nav ul li.active > a {
    color: var(--ks-accent-dark) !important;
    background: rgba(254, 230, 127, 0.25) !important;
}

/* Secciones — fondo crema / gris */
body.ks-kingdom-theme .rs-about-area.section-space,
body.ks-kingdom-theme .ks-catalog-section.rs-about-area {
    background-color: var(--ks-cream);
}

body.ks-kingdom-theme .ks-catalog-section.primary-bg.has-theme-orange {
    background-color: var(--ks-gray) !important;
}

body.ks-kingdom-theme .ks-catalog-section.primary-bg .rs-section-title.has-white,
body.ks-kingdom-theme .ks-catalog-section.primary-bg .descrip.has-white {
    color: var(--ks-text) !important;
}

body.ks-kingdom-theme .rs-services-two.section-space-top.primary-bg {
    background-color: var(--ks-gray) !important;
}

body.ks-kingdom-theme .rs-cta-five,
body.ks-kingdom-theme .rs-cta-area.rs-cta-two {
    background-color: var(--ks-cream);
}

body.ks-kingdom-theme .rs-footer-area.has-theme-orange {
    background-color: var(--ks-text);
}

body.ks-kingdom-theme .rs-footer-area .rs-footer-widget-title,
body.ks-kingdom-theme .rs-footer-area .rs-footer-widget-description,
body.ks-kingdom-theme .rs-footer-area a {
    color: rgba(255, 254, 244, 0.9);
}

/* Filtros y tarjetas catálogo */
body.ks-kingdom-theme .ks-catalog-filters {
    background: #fff;
    border-color: var(--ks-gray);
}

body.ks-kingdom-theme .ks-catalog-filters .form-control,
body.ks-kingdom-theme .ks-catalog-filters .ks-select-trigger {
    background-color: var(--ks-cream);
    border-color: var(--ks-gray);
}

body.ks-kingdom-theme .ks-catalog-filters .form-control:focus,
body.ks-kingdom-theme .ks-catalog-filters .ks-select-trigger:hover,
body.ks-kingdom-theme .ks-catalog-filters .ks-select-trigger.is-open {
    border-color: var(--ks-accent-dark);
    box-shadow: 0 0 0 0.15rem rgba(254, 230, 127, 0.45);
}

body.ks-kingdom-theme .ks-catalog-card {
    background: #fff;
    border-color: var(--ks-gray);
}

body.ks-kingdom-theme .ks-catalog-card-title:hover,
body.ks-kingdom-theme .ks-btn-outline:hover,
body.ks-kingdom-theme .ks-branch-meta a:hover,
body.ks-kingdom-theme .ks-product-breadcrumb a:hover {
    color: var(--ks-accent-dark);
}

body.ks-kingdom-theme .ks-btn-outline:hover {
    border-color: var(--ks-accent);
}

body.ks-kingdom-theme .ks-catalog-card-actions .ks-select-option.is-active,
body.ks-kingdom-theme .ks-catalog-filters .ks-select-option.is-active {
    background: rgba(254, 230, 127, 0.35) !important;
    color: var(--ks-text);
}

body.ks-kingdom-theme .ks-pagination .page-item.active .page-link {
    background-color: var(--ks-accent);
    border-color: var(--ks-accent-dark);
    color: var(--ks-text);
}

body.ks-kingdom-theme .ks-branch-card {
    background: #fff;
    border-color: var(--ks-gray);
}

body.ks-kingdom-theme .ks-product-thumb.active {
    border-color: var(--ks-accent);
}

body.ks-kingdom-theme .ks-product-detail {
    background-color: var(--ks-cream);
}

/* CTA strip */
body.ks-kingdom-theme .rs-cta-five .rs-cta-wrapper {
    background-color: var(--ks-gray);
    border: 1px solid var(--ks-gray-dark);
}

body.ks-kingdom-theme .rs-cta-five .rs-cta-title,
body.ks-kingdom-theme .rs-cta-five .rs-cta-call a,
body.ks-kingdom-theme .rs-cta-five .rs-cta-text,
body.ks-kingdom-theme .rs-cta-five .rs-cta-designation {
    color: #000 !important;
}

body.ks-kingdom-theme .rs-cta-five .rs-cta-call a::before {
    background: #000;
}

body.ks-kingdom-theme .rs-cta-five .rs-cta-call a:hover {
    color: #000 !important;
}

body.ks-kingdom-theme .rs-cta-five .rs-cta-item:not(:last-child) {
    border-inline-end-color: rgba(0, 0, 0, 0.12);
}

/* Back to top */
body.ks-kingdom-theme .backtotop-wrap {
    background: var(--ks-accent);
    color: var(--ks-text);
}

/* Swiper / paginación banner */
body.ks-kingdom-theme .rs-pagination.has-theme-orange .swiper-pagination-bullet-active {
    background: var(--ks-accent) !important;
}

body.ks-kingdom-theme .rs-swiper-btn.has-light-orange {
    background: var(--ks-accent) !important;
    color: var(--ks-text) !important;
}
