/* Color customization only. Original theme geometry, fonts and assets are retained. */
body.premium-theme {
  --premium-ink: #17211d;
  --premium-deep: #111915;
  --premium-ivory: #f5f2eb;
  --premium-paper: #fffdf8;
  --premium-gold: #d8b56c;
  --premium-gold-hover: #ebcd8e;
  --premium-bronze: #80602c;
  --premium-muted: #5e665f;
}

/* Reuse the theme's semantic color tokens across its existing color schemes. */
body.premium-theme,
body.premium-theme :is(.scheme_default, .scheme_light) {
  --theme-color-bg_color: var(--premium-paper);
  --theme-color-bd_color: #d7d8cc;
  --theme-color-text: var(--premium-muted);
  --theme-color-text_light: #687068;
  --theme-color-text_dark: var(--premium-ink);
  --theme-color-text_dark_blend: #0c1510;
  --theme-color-text_link: var(--premium-bronze);
  --theme-color-text_hover: #58421e;
  --theme-color-text_link2: var(--premium-gold);
  --theme-color-text_hover2: var(--premium-gold-hover);
  --theme-color-text_link3: #315e49;
  --theme-color-text_hover3: #214332;
  --theme-color-alter_bg_color: var(--premium-ivory);
  --theme-color-alter_bg_hover: #ece7dc;
  --theme-color-alter_bd_color: #d7d8cc;
  --theme-color-alter_bd_hover: var(--premium-bronze);
  --theme-color-alter_text: var(--premium-muted);
  --theme-color-alter_light: #687068;
  --theme-color-alter_dark: var(--premium-ink);
  --theme-color-alter_link: var(--premium-bronze);
  --theme-color-alter_hover: #58421e;
  --theme-color-alter_link2: var(--premium-gold);
  --theme-color-alter_hover2: var(--premium-gold-hover);
  --theme-color-alter_link3: #315e49;
  --theme-color-alter_hover3: #214332;
  --theme-color-extra_bg_color: var(--premium-ink);
  --theme-color-extra_bg_hover: var(--premium-deep);
  --theme-color-extra_bd_color: #455048;
  --theme-color-extra_text: #c0c8be;
  --theme-color-extra_light: #c0c8be;
  --theme-color-extra_dark: var(--premium-paper);
  --theme-color-extra_link: var(--premium-gold);
  --theme-color-extra_hover: var(--premium-paper);
  --theme-color-input_text: var(--premium-muted);
  --theme-color-input_light: #687068;
  --theme-color-input_dark: var(--premium-ink);
  --theme-color-input_bd_color: #9a9f91;
  --theme-color-input_bd_hover: var(--premium-bronze);
  --theme-color-inverse_link: #fffdf8;
  --theme-color-inverse_hover: #fffdf8;
  --theme-color-inverse_dark: var(--premium-ink);
  --theme-color-text_link_02: rgba(128, 96, 44, .2);
  --theme-color-text_link2_02: rgba(216, 181, 108, .2);
  --theme-color-text_link2_05: rgba(216, 181, 108, .5);
  --theme-color-text_link2_08: rgba(216, 181, 108, .8);
  --theme-color-text_dark_02: rgba(23, 33, 29, .2);
  --theme-color-bg_color_09: rgba(255, 253, 248, .9);
}

/* Dark surfaces: header, offering section, footer and interactive panels. */
body.premium-theme :is(
  .scheme_dark, .scheme_dark_alter, .top_panel .scheme_light,
  .elementor-element-75de706, .search_wrap, .sc_layouts_panel,
  .sc_layouts_panel .scheme_light, .sc_layouts_panel .scheme_default
) {
  --theme-color-bg_color: var(--premium-deep);
  --theme-color-bd_color: #3e4a40;
  --theme-color-text: #c0c8be;
  --theme-color-text_light: #b6c0b3;
  --theme-color-text_dark: var(--premium-paper);
  --theme-color-text_dark_blend: #ffffff;
  --theme-color-text_link: var(--premium-gold);
  --theme-color-text_hover: var(--premium-gold-hover);
  --theme-color-text_link2: var(--premium-gold);
  --theme-color-text_hover2: var(--premium-gold-hover);
  --theme-color-alter_bg_color: #1f2b24;
  --theme-color-alter_bg_hover: #29372d;
  --theme-color-alter_bd_color: #3e4a40;
  --theme-color-alter_bd_hover: var(--premium-gold);
  --theme-color-alter_text: #c0c8be;
  --theme-color-alter_light: #b6c0b3;
  --theme-color-alter_dark: var(--premium-paper);
  --theme-color-alter_link: var(--premium-gold);
  --theme-color-alter_hover: var(--premium-gold-hover);
  --theme-color-alter_link2: var(--premium-gold);
  --theme-color-alter_hover2: var(--premium-gold-hover);
  --theme-color-input_text: #c0c8be;
  --theme-color-input_light: #b6c0b3;
  --theme-color-input_dark: var(--premium-paper);
  --theme-color-input_bd_color: #70816e;
  --theme-color-input_bd_hover: var(--premium-gold);
  --theme-color-inverse_link: var(--premium-paper);
  --theme-color-bg_color_0: rgba(17, 25, 21, 0);
  --theme-color-bg_color_07: rgba(17, 25, 21, .7);
  --theme-color-bg_color_08: rgba(17, 25, 21, .8);
  --theme-color-bg_color_09: rgba(17, 25, 21, .95);
  --theme-color-text_dark_02: rgba(255, 253, 248, .2);
  --theme-color-text_dark_05: rgba(255, 253, 248, .5);
  color: var(--theme-color-text);
}

body.premium-theme .top_panel .sc_layouts_row,
body.premium-theme :is(.footer_wrap, .search_wrap, .sc_layouts_panel, .menu_mobile_inner),
body.premium-theme :is(.footer_wrap, .sc_layouts_panel) .elementor-section {
  background-color: var(--premium-deep) !important;
}
body.premium-theme :is(.top_panel, .sc_layouts_panel) .logo_image {
  filter: brightness(0) invert(1);
}
body.premium-theme .sc_layouts_menu_nav > li > a,
body.premium-theme .top_panel :is(.search_submit, .sc_layouts_item_icon, .sc_layouts_cart_icon) {
  color: var(--premium-paper) !important;
}
body.premium-theme .sc_layouts_menu_nav > li:is(:hover, .current-menu-item, .current-menu-ancestor) > a {
  color: var(--premium-gold) !important;
}
body.premium-theme .sc_layouts_cart_items_short {
  background-color: var(--premium-gold);
  color: var(--premium-deep);
}

/* Elementor's page-specific colors otherwise take priority over scheme tokens. */
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-c6bf3b5 {
  background-color: var(--premium-ivory);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-5b929da {
  color: var(--premium-muted);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-fd174ff > .elementor-widget-container {
  background-color: var(--premium-gold);
}
body.premium-theme .elementor-element-fd174ff .elementor-heading-title {
  color: var(--premium-ink);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-75de706 {
  background-color: var(--premium-deep);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-0876d5e {
  background-image: linear-gradient(90deg, var(--premium-paper) 35.5%, var(--premium-ivory) 0%);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-0876d5e > .elementor-background-overlay {
  background-color: var(--premium-ivory);
}
body.premium-theme .sc_item_subtitle {
  color: var(--theme-color-text_link);
}
body.premium-theme .sc_skills_total {
  color: #c6cbbe !important;
}
body.premium-theme .elementor-heading-title span[style*="A0A0A0"] {
  color: var(--premium-bronze) !important;
}

/* Gold fill with dark text stays legible in every button state. */
body.premium-theme .sc_button:not(.sc_button_simple),
body.premium-theme rs-layer[data-type="button"] {
  background-color: var(--premium-gold) !important;
  border-color: var(--premium-gold) !important;
  color: var(--premium-deep) !important;
}
body.premium-theme .sc_button:not(.sc_button_simple):hover,
body.premium-theme rs-layer[data-type="button"]:hover {
  background-color: var(--premium-gold-hover) !important;
  border-color: var(--premium-gold-hover) !important;
  color: var(--premium-deep) !important;
}
body.premium-theme .sc_button .sc_button_title {
  color: inherit;
}
body.premium-theme a.rs-layer[data-type="button"] {
  background-color: rgba(17, 25, 21, .48) !important;
  border-color: var(--premium-paper) !important;
  color: var(--premium-paper) !important;
}
body.premium-theme a.rs-layer[data-type="button"]:hover {
  background-color: var(--premium-paper) !important;
  color: var(--premium-deep) !important;
}
body.premium-theme rs-progress,
body.premium-theme rs-progress :is(.sldr-nav-current, .sldr-nav-total) {
  color: var(--premium-paper) !important;
}
body.premium-theme rs-progress { background: rgba(255, 253, 248, .45) !important; }
body.premium-theme rs-progress-bar { background: var(--premium-gold) !important; }
body.premium-theme .sc_icons_creative .sc_icons_item:hover .sc_icons_icon {
  color: var(--premium-deep);
}
body.premium-theme .elementor-element-75de706 .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
  border-color: #879184;
  background-color: transparent;
  opacity: 1;
}
body.premium-theme .sc_services_fashion .sc_services_item_title {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}
body.premium-theme :is(.footer_wrap, .menu_mobile, .sc_layouts_panel) .social_icon {
  border-color: #71816e !important;
  color: var(--premium-paper);
}
body.premium-theme :is(.footer_wrap, .menu_mobile, .sc_layouts_panel) .social_item:hover .social_icon {
  background-color: var(--premium-gold);
  border-color: var(--premium-gold) !important;
  color: var(--premium-deep);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-view-stacked .elementor-icon {
  background-color: var(--premium-gold);
  color: var(--premium-deep);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-view-stacked .elementor-icon svg {
  fill: var(--premium-deep);
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-view-stacked .elementor-icon:hover {
  background-color: var(--premium-gold-hover);
}

/* Tint the original transparent decorative assets with CSS masks. */
body.premium-theme #gym-homepage .elementor-41022 :is(.elementor-element-c7f1265, .elementor-element-75de706, .elementor-element-ab6f60d) {
  background-image: none;
}
body.premium-theme #gym-homepage .elementor-41022 :is(.elementor-element-c7f1265, .elementor-element-75de706, .elementor-element-ab6f60d)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--premium-gold);
  opacity: .35;
  mask: url('/theme/wp-content/uploads/2023/11/bg-dec-elements-1.png') 100% 2% / 11vw auto no-repeat;
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-ab6f60d::before {
  mask-image: url('/theme/wp-content/uploads/2023/11/bg-dec-elements-2.png');
  mask-position: 0% 0%;
}
body.premium-theme #gym-homepage .elementor-41022 :is(.elementor-element-c7f1265, .elementor-element-ab6f60d) > .elementor-background-overlay {
  background-image: none;
  background-color: var(--premium-gold);
  opacity: .35;
  mask: url('/theme/wp-content/uploads/2023/11/bg-dec-elements-2.png') 0% 88% / 11vw auto no-repeat;
}
body.premium-theme #gym-homepage .elementor-41022 .elementor-element-ab6f60d > .elementor-background-overlay {
  mask-image: url('/theme/wp-content/uploads/2023/11/bg-dec-elements-1.png');
  mask-position: 100% 96%;
}
body.premium-theme .trx_addons_scroll_to_top {
  background-color: var(--premium-ink);
  color: var(--premium-gold);
}
body.premium-theme :is(a, button, [tabindex="0"]):focus-visible {
  outline: 3px solid var(--premium-bronze);
  outline-offset: 5px;
}
body.premium-theme :is(.top_panel, .menu_mobile, .footer_wrap, .search_wrap, .sc_layouts_panel) :is(a, button, input, [tabindex="0"]):focus-visible {
  outline-color: var(--premium-gold);
}
body.premium-theme ::selection {
  background: var(--premium-gold);
  color: var(--premium-deep);
}
@media (max-width: 767px) {
  body.premium-theme #gym-homepage .elementor-41022 :is(.elementor-element-c7f1265, .elementor-element-75de706, .elementor-element-ab6f60d)::before {
    display: none;
  }
}
