/* OWN WooCommerce single product page background */
body.single-product #main-container {
    background-color: #000000 !important;
}

/* WCFM marketplace page - remove white outer background */
body.page-id-5491,
body.page-id-5491 #main-container,
body.page-id-5491 #main,
body.page-id-5491 .site-main,
body.page-id-5491 .elementor-location-single {
    background: #000000 !important;
}

/* WCFM form/content panels */
body.page-id-5491 #wcfm-main-contentainer,
body.page-id-5491 .wcfm-container,
body.page-id-5491 .wcfm-content,
body.page-id-5491 .wcfm-tabWrap,
body.page-id-5491 .wcfm-content-panel {
    background: #000000 !important;
    color: #EBE6CF !important;
}

/* WCFM My Store Label field */
#wcfm_my_store_label {
    background: #111111 !important;
    color: #EBE6CF !important;
    border: 1px solid #9b7a2f !important;
}

#wcfm_my_store_label:focus {
    background: #111111 !important;
    color: #EBE6CF !important;
    border-color: #EBE6CF !important;
    box-shadow: none !important;
}

/* Force WCFM text fields to OWN dark styling */
#wcfm-main-contentainer input[type="text"].wcfm-text,
#wcfm-main-contentainer input[type="email"].wcfm-text,
#wcfm-main-contentainer input[type="password"].wcfm-text,
#wcfm-main-contentainer input[type="number"].wcfm-text {
    background-color: #111111 !important;
    color: #EBE6CF !important;
    -webkit-text-fill-color: #EBE6CF !important;
    border: 1px solid #9b7a2f !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* WCFM main collapsible content area */
#wcfm-main-contentainer .wcfm-collapse,
#wcfm-main-contentainer .wcfm-collapse-content {
    background-color: #000000 !important;
    color: #EBE6CF !important;
}

/* WCFM - Sold By Template dropdown */
#wcfm-main-contentainer select#vendor_sold_by_template.wcfm-select {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #EBE6CF !important;
    -webkit-text-fill-color: #EBE6CF !important;
    border: 1px solid #9b7a2f !important;
    box-shadow: none !important;
}

/* WCFM - all select dropdowns */
#wcfm-main-contentainer select.wcfm-select {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #EBE6CF !important;
    -webkit-text-fill-color: #EBE6CF !important;
    border: 1px solid #9b7a2f !important;
    box-shadow: none !important;
}

#wcfm-main-contentainer select.wcfm-select option {
    background: #111111 !important;
    color: #EBE6CF !important;
}

/* WooCommerce product category hero */
body.tax-product_cat .hero-section {
    background: #000000 !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
}

/* Category title */
body.tax-product_cat .hero-section .entry-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.tax-product_cat .hero-section .page-title,
body.tax-product_cat .hero-section h1 {
    color: #EBE6CF !important;
    margin: 0 !important;
}

/* WooCommerce category archive main background */
body.tax-product_cat main#main.site-main.hfeed {
    background: #151513 !important;
}

/* Inner archive container */
body.tax-product_cat main#main.site-main.hfeed > .ct-container {
    background: #151513 !important;
}

/* WooCommerce product category hero - compact */
body.tax-product_cat .hero-section {
    background: #000000 !important;
    padding: 12px 0 !important;
    min-height: 90px !important;
    height: auto !important;
}

body.tax-product_cat .hero-section .entry-header {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

body.tax-product_cat .hero-section h1,
body.tax-product_cat .hero-section .page-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #EBE6CF !important;
}

/* WCFM editor - dark styling */

/* Top toolbar wrappers */
#wcfm-main-contentainer .mce-top-part,
#wcfm-main-contentainer .mce-toolbar-grp,
#wcfm-main-contentainer .mce-toolbar,
#wcfm-main-contentainer .mce-container-body {
    background: #000000 !important;
    border-color: #907630 !important;
}

/* Editor area */
#wcfm-main-contentainer .mce-edit-area,
#wcfm-main-contentainer .mce-edit-area iframe {
    background: #000000 !important;
}

/* TinyMCE buttons */
#wcfm-main-contentainer .mce-btn,
#wcfm-main-contentainer .mce-btn button {
    background: #111111 !important;
    color: #EBE6CF !important;
}

/* Dropdowns such as Paragraph */
#wcfm-main-contentainer .mce-listbox,
#wcfm-main-contentainer .mce-listbox button {
    background: #111111 !important;
    color: #EBE6CF !important;
}

/* WCFM editor - dark styling */

/* Top toolbar wrappers */
#wcfm-main-contentainer .mce-top-part,
#wcfm-main-contentainer .mce-toolbar-grp,
#wcfm-main-contentainer .mce-toolbar,
#wcfm-main-contentainer .mce-container-body {
    background: #000000 !important;
    border-color: #907630 !important;
}

/* Editor area */
#wcfm-main-contentainer .mce-edit-area,
#wcfm-main-contentainer .mce-edit-area iframe {
    background: #000000 !important;
}

/* TinyMCE buttons */
#wcfm-main-contentainer .mce-btn,
#wcfm-main-contentainer .mce-btn button {
    background: #111111 !important;
    color: #EBE6CF !important;
}

/* Dropdowns such as Paragraph */
#wcfm-main-contentainer .mce-listbox,
#wcfm-main-contentainer .mce-listbox button {
    background: #111111 !important;
    color: #EBE6CF !important;
}

/* OWN WooCommerce product archive buttons */
body.woocommerce ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
    color: #EBE6CF !important;
    background-color: #907630 !important;
}

/* Hover */
body.woocommerce ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover {
    color: #EBE6CF !important;
    background-color: #000000 !important;
}

/* MINI CART CTA TEXT */
.ct-cart-content .woocommerce-mini-cart__buttons a,
.ct-cart-content .button,
.ct-cart-content .wc-forward {
    color: #EBE6CF !important;
    text-transform: uppercase !important;
}

/* OWN ARCHIVE VIEW CART CTA */
.ct-woo-card-actions a.added_to_cart.wc-forward {
    color: #EBE6CF !important;
    text-transform: uppercase !important;
}

/* OWN ARCHIVE CTA CAPS */
.ct-woo-card-actions a.button,
.ct-woo-card-actions a.added_to_cart.wc-forward {
    text-transform: uppercase !important;
}

/* OWN CART PAGE BACKGROUND */
body.woocommerce-cart,
body.woocommerce-cart #main,
body.woocommerce-cart .site-main,
body.woocommerce-cart .ct-container-full {
    background-color: #171717 !important;
}

/* OWN CART PAGE CTA STYLE */
body.woocommerce-cart .button,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart button[name="apply_coupon"],
body.woocommerce-cart button[name="update_cart"] {
    color: #EBE6CF !important;
    text-transform: uppercase !important;
}

/* OWN CART NOTICE BACKGROUND */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message {
    background-color: #171717 !important;
    color: #EBE6CF !important;
}

body.woocommerce-cart .woocommerce-message a {
    color: #EBE6CF !important;
    text-transform: uppercase !important;
}

/* OWN CART QUANTITY CONTROL */
body.woocommerce-cart .quantity,
body.woocommerce-cart .quantity .ct-increase,
body.woocommerce-cart .quantity .ct-decrease,
body.woocommerce-cart .quantity input.qty {
    background-color: #000000 !important;
    color: #EBE6CF !important;
}

/* OWN CART COUPON FIELD */
body.woocommerce-cart input#coupon_code {
    background-color: #000000 !important;
    color: #EBE6CF !important;
    border-color: #907630 !important;
}

/* OWN PRODUCT VARIATION TEXT */
.single-product table.variations,
.single-product table.variations th,
.single-product table.variations td,
.single-product table.variations label,
.single-product table.variations .label,
.single-product table.variations .value {
    color: #EBE6CF !important;
}

/* HIDE OWN PRODUCT PAGE ACCORDION HEADERS */
.single-product .own-accordion__header {
    display: none !important;
}

/* OWN WooCommerce My Account styling */

.woocommerce-account,
.woocommerce-account .site-main,
.woocommerce-account .ct-container,
.woocommerce-account .entry-content,
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce-MyAccount-content {
    background-color: #111111 !important;
    color: #EBE6CF !important;
}

/* Headings and body text */
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-account h4,
.woocommerce-account p,
.woocommerce-account label,
.woocommerce-account strong {
    color: #EBE6CF !important;
}

/* Links */
.woocommerce-account a {
    color: #907630 !important;
}

.woocommerce-account a:hover {
    color: #EBE6CF !important;
}

/* Left account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation li {
    background-color: #000000 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: #EBE6CF !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: #907630 !important;
}

/* Form fields */
.woocommerce-account input,
.woocommerce-account select,
.woocommerce-account textarea {
    background-color: #000000 !important;
    color: #EBE6CF !important;
    border-color: #907630 !important;
}

/* Buttons */
.woocommerce-account button,
.woocommerce-account .button {
    background-color: #907630 !important;
    color: #EBE6CF !important;
    border-color: #907630 !important;
}

.woocommerce-account button:hover,
.woocommerce-account .button:hover {
    background-color: #000000 !important;
    color: #EBE6CF !important;
}

/* OWN HEADER — force full black background, including far left/right boxes */
#header,
#header .ct-sticky-container,
#header [data-row],
#header [data-row] > div,
#header .ct-container,
#header .ct-container-fluid {
    background-color: #000000 !important;
}

/* Remove any light background showing from row edges/pseudo-elements */
#header [data-row]::before,
#header [data-row]::after,
#header .ct-container::before,
#header .ct-container::after {
    background-color: #000000 !important;
}

/* Header text and icons — normal state */
#header a,
#header .ct-label,
#header .ct-icon,
#header svg {
    color: #EBE6CF !important;
}

/* Menu text specifically */
#header .menu-item > a {
    color: #EBE6CF !important;
}

/* Hover state */
#header a:hover,
#header .menu-item > a:hover,
#header .ct-header-account:hover,
#header .ct-header-cart:hover {
    color: #D6C087 !important;
}

/* SVG/icon hover */
#header a:hover svg,
#header .ct-header-account:hover svg,
#header .ct-header-cart:hover svg {
    color: #D6C087 !important;
}

/* OWN HEADER SEARCH - extended search bar style */

#header .ct-header-search {
    width: 420px !important;
    height: 42px !important;
    border: 1px solid #EBE6CF !important;
    border-radius: 24px !important;
    background: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
}

/* Search icon */
#header .ct-header-search svg {
    color: #EBE6CF !important;
    fill: currentColor !important;
}

/* Add placeholder text visually */
#header .ct-header-search::before {
    content: "Search...";
    color: #EBE6CF !important;
    font-size: 15px;
    font-family: Georgia, serif;
    margin-right: auto;
    opacity: 0.8;
}

/* Hover */
#header .ct-header-search:hover {
    border-color: #D6C087 !important;
}

#header .ct-header-search:hover svg,
#header .ct-header-search:hover::before {
    color: #D6C087 !important;
}

/* OWN SEARCH OVERLAY */

#search-modal,
#search-modal .ct-search-form,
#search-modal .ct-search-results,
#search-modal .ct-search-results-container,
#search-modal .ct-panel-content,
#search-modal .ct-panel-actions {
    background-color: #000000 !important;
}

/* Search input */
#search-modal input[type="search"] {
    background-color: #000000 !important;
    color: #EBE6CF !important;
    border-color: #EBE6CF !important;
}

/* Placeholder text */
#search-modal input[type="search"]::placeholder {
    color: #EBE6CF !important;
    opacity: 0.8;
}

/* Search icon/button */
#search-modal button,
#search-modal svg {
    color: #EBE6CF !important;
}

/* Hover */
#search-modal button:hover,
#search-modal button:hover svg {
    color: #D6C087 !important;
}

/* Results text */
#search-modal,
#search-modal a,
#search-modal p,
#search-modal span,
#search-modal h1,
#search-modal h2,
#search-modal h3 {
    color: #EBE6CF !important;
}

/* Result links hover */
#search-modal a:hover {
    color: #D6C087 !important;
}

/* OWN search-result cards */
.search-results .entry-card,
.search-results article {
    background-color: #000000 !important;
    color: #EBE6CF !important;
}

.search-results .entry-card a,
.search-results article a,
.search-results .entry-title a {
    color: #D6C087 !important;
}

.search-results .entry-card a:hover,
.search-results article a:hover,
.search-results .entry-title a:hover {
    color: #EBE6CF !important;
}

.search-results .entry-card .entry-excerpt,
.search-results .entry-card .entry-meta {
    color: #EBE6CF !important;
}

/* OWN SEARCH RESULTS PAGE BACKGROUND */

body.search,
body.search #main-container,
body.search #main,
body.search .site-main,
body.search .ct-container {
    background-color: #111111 !important;
}

/* Keep headings/text consistent */
body.search h1,
body.search h2,
body.search h3,
body.search p,
body.search span {
    color: #EBE6CF !important;
}

/* FIX BROKEN CART QUANTITY ICONS */

.woocommerce-cart .quantity .ct-increase,
.woocommerce-cart .quantity .ct-decrease {
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #EBE6CF !important;
    line-height: 1 !important;
}

/* Remove broken icon-font content */
.woocommerce-cart .quantity .ct-increase::before,
.woocommerce-cart .quantity .ct-decrease::before {
    font-family: Arial, sans-serif !important;
}

/* Plus */
.woocommerce-cart .quantity .ct-increase::before {
    content: "+" !important;
}

/* Minus */
.woocommerce-cart .quantity .ct-decrease::before {
    content: "−" !important;
}

/* Hover */
.woocommerce-cart .quantity .ct-increase:hover,
.woocommerce-cart .quantity .ct-decrease:hover {
    color: #D6C087 !important;
}