/*
 * Cosmo Brand Colors v1.0.0 - colour-only overrides, site-wide.
 * Charcoal #1F2937 (hover #111827), Coral #E8604C (hover #D14E3B), body text #374151.
 * Mirrors the colour treatment previewed on product 9981. No layout rules.
 * Deactivate the plugin to revert everything.
 */

/* 1. WoodMart tokens */
:root,
body {
  --cbc-charcoal: #1F2937;
  --cbc-charcoal-h: #111827;
  --cbc-coral: #E8604C;
  --cbc-coral-h: #D14E3B;
  --cbc-text: #374151;
  --cbc-muted: #6B7280;
  --cosmo-primary: #E8604C;
  --wd-primary-color: #E8604C;
  --wd-alternative-color: #1F2937;
  --wd-link-color: #1F2937;
  --wd-link-color-hover: #E8604C;
  --wd-title-color: #1F2937;
  --wd-entities-title-color: #1F2937;
  --wd-entities-title-color-hover: #E8604C;
  --wd-text-color: #374151;
  --btn-accented-bgcolor: #E8604C;
  --btn-accented-bgcolor-hover: #D14E3B;
  --btn-accented-color: #fff;
  --btn-accented-color-hover: #fff;
  --btn-default-bgcolor: #1F2937;
  --btn-default-bgcolor-hover: #111827;
  --btn-default-color: #fff;
  --btn-default-color-hover: #fff;
}

/* 2. Links (theme Custom CSS sets a{#0F766E}, a:hover{#115E59}) */
body a { color: #1F2937; }
body a:hover, body a:focus { color: #E8604C; }
body a:focus-visible, body button:focus-visible, body .button:focus-visible,
body input:focus-visible, body select:focus-visible, body textarea:focus-visible {
  outline-color: #E8604C;
}

/* 3. Header: top bar charcoal, main row white, menu + icons */
body .whb-header .whb-top-bar { background-color: #1F2937 !important; border-color: #1F2937 !important; }
body .whb-header .whb-top-bar .wd-header-text,
body .whb-header .whb-top-bar .wd-header-text * { color: #fff !important; }
body .whb-header .whb-top-bar .wd-social-icon,
body .whb-header .whb-top-bar .wd-social-icon .wd-icon { color: #fff !important; }
body .whb-header .whb-top-bar .wd-social-icon:hover,
body .whb-header .whb-top-bar .wd-social-icon:hover .wd-icon { color: #E8604C !important; }
body .whb-header .whb-general-header { background-color: #fff !important; border-bottom-color: #E5E7EB !important; }
body .whb-header .whb-general-header .wd-nav-main > li > a,
body .whb-header .whb-general-header .wd-nav > li > a { color: #1F2937 !important; }
body .whb-header .whb-general-header .wd-nav-main > li > a:hover,
body .whb-header .whb-general-header .wd-nav-main > li.current-menu-item > a,
body .whb-header .whb-general-header .wd-nav-main > li.current-menu-ancestor > a,
body .whb-header .whb-general-header .wd-nav > li > a:hover { color: #E8604C !important; }
body .whb-header .whb-general-header .wd-tools-element > a,
body .whb-header .whb-general-header .wd-tools-element .wd-tools-icon { color: #1F2937 !important; }
body .whb-header .whb-general-header .wd-tools-element > a:hover,
body .whb-header .whb-general-header .wd-tools-element > a:hover .wd-tools-icon { color: #E8604C !important; }

/* 4. Count badges (header, sticky header, mobile toolbar) */
body .wd-tools-count,
body .whb-header .wd-tools-count,
body .wd-header-cart .wd-cart-number > span,
body .wd-toolbar .wd-tools-count {
  background-color: #E8604C !important;
  color: #fff !important;
}

/* 5. Prices */
body .price,
body .price .amount,
body .price bdi,
body .price ins,
body .price ins .amount,
body .woocommerce-variation-price .price,
body .woocommerce-variation-price .amount,
body .summary-inner > p.price,
body .summary-inner > p.price span,
body .wd-entities-title + .price .amount,
body .cart_totals .amount,
body .woocommerce-cart-form .product-price .amount,
body .woocommerce-cart-form .product-subtotal .amount,
body .widget_shopping_cart .amount { color: #E8604C !important; }
body .price del,
body .price del .amount,
body .price del bdi { color: #9CA3AF !important; }

/* 6. Sale badges, title underlines / separators */
body .onsale,
body .product-label.onsale { background-color: #E8604C !important; color: #fff !important; }
body .wd-underline-colored .title:after,
body .wd-underline-colored .title::after,
body .wd-title-style-underlined .title:after,
body .wd-title-style-underlined .title::after,
body .title-after_title:after,
body .wd-title-style-bordered .title:before,
body .wd-title-style-bordered .title:after,
body .widget-title:after,
body .wd-nav-tabs > li.wd-active > a:after,
body .wd-nav-tabs > li > a:hover:after { background-color: #E8604C; border-color: #E8604C; }
body .wd-title-color-primary .title,
body .color-primary { color: #E8604C !important; }

/* 7. Buttons: accented / add-to-basket coral (beats the theme kit's !important; no media query) */
body .btn-color-primary,
body .button,
body button.button,
body .wd-button,
body .btn-style-default.btn-color-primary,
body.woocommerce a.button, body .woocommerce a.button,
body.woocommerce button.button, body .woocommerce button.button,
body .woocommerce input.button,
body .single_add_to_cart_button,
body .single_add_to_cart_button.button,
body .add_to_cart_button,
body .checkout-button,
body .wc-proceed-to-checkout .button,
body .woocommerce-Reviews .submit,
body #review_form #respond input#submit {
  background-color: #E8604C !important;
  border-color: #E8604C !important;
  color: #fff !important;
}
body .btn-color-primary:hover,
body .button:hover, body .button:focus,
body button.button:hover,
body .wd-button:hover,
body.woocommerce a.button:hover, body .woocommerce a.button:hover,
body.woocommerce button.button:hover, body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .single_add_to_cart_button:hover, body .single_add_to_cart_button:focus,
body .single_add_to_cart_button.button:hover,
body .add_to_cart_button:hover,
body .checkout-button:hover,
body .wc-proceed-to-checkout .button:hover,
body .woocommerce-Reviews .submit:hover,
body #review_form #respond input#submit:hover {
  background-color: #D14E3B !important;
  border-color: #D14E3B !important;
  color: #fff !important;
}
/* disabled add-to-cart stays coral at reduced opacity (pale coral) */
body .single_add_to_cart_button.disabled,
body .single_add_to_cart_button:disabled,
body .single_add_to_cart_button.wc-variation-selection-needed {
  background-color: #E8604C !important;
  border-color: #E8604C !important;
  color: #fff !important;
}

/* 8. Buy Now charcoal (higher specificity than the coral .button rules above) */
body .wd-buy-now-btn,
body .wd-buy-now-btn.button,
body .summary-inner .wd-buy-now-btn.button,
body form.cart .wd-buy-now-btn.button {
  background-color: #1F2937 !important;
  border-color: #1F2937 !important;
  color: #fff !important;
}
body .wd-buy-now-btn:hover, body .wd-buy-now-btn:focus,
body .wd-buy-now-btn.button:hover, body .wd-buy-now-btn.button:focus,
body .summary-inner .wd-buy-now-btn.button:hover,
body form.cart .wd-buy-now-btn.button:hover {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}

/* Contact form submit: charcoal */
body.page-id-5288 .wpcf7 input[type="submit"],
body .wpcf7 input[type="submit"].btn-color-black {
  background-color: #1F2937 !important;
  border-color: #1F2937 !important;
  color: #fff !important;
}
body.page-id-5288 .wpcf7 input[type="submit"]:hover,
body .wpcf7 input[type="submit"].btn-color-black:hover { background-color: #111827 !important; border-color: #111827 !important; }

/* 9. Form focus, swatches, quantity */
body .variations_form table.variations select:focus,
body input[type="text"]:focus, body input[type="email"]:focus, body input[type="tel"]:focus,
body input[type="number"]:focus, body input[type="search"]:focus, body textarea:focus, body select:focus {
  border-color: #E8604C !important;
}
body .variations_form .reset_variations { color: #6B7280 !important; }
body .variations_form .reset_variations:hover { color: #E8604C !important; }
body .wd-swatch.wd-active,
body .wd-swatch:hover { border-color: #E8604C !important; color: #E8604C !important; }

/* 10. Breadcrumbs, product meta, wishlist, tabs */
body .woocommerce-breadcrumb a:hover,
body .wd-breadcrumbs a:hover { color: #E8604C !important; }
body .woocommerce-breadcrumb .breadcrumb-last,
body .wd-breadcrumbs .breadcrumb-last { color: #1F2937 !important; }
body .product_meta a:hover,
body .wd-wishlist-btn a:hover,
body .wd-compare-btn a:hover { color: #E8604C !important; }
body .woocommerce-tabs .wd-accordion-title.wd-active { box-shadow: inset 0 -2px 0 #E8604C; }
body .woocommerce-Tabs-panel a { color: #E8604C; }
body .star-rating span::before,
body .stars a,
body .stars a:hover { color: #E8604C !important; }
body .wd-entities-title a { color: #1F2937; }
body .wd-entities-title a:hover { color: #E8604C; }
body .wd-carousel-container .owl-nav > div,
body .wd-carousel-container .owl-nav button { color: #1F2937; }
body .wd-carousel-container .owl-nav > div:hover,
body .wd-carousel-container .owl-nav button:hover { color: #E8604C; }

/* 11. Enquire (Click to Chat style 8 inline buttons): charcoal outline like 9981.
   Floating WhatsApp (.ht-ctc-chat / #25D366) is NOT targeted. */
body .ht-ctc-style-8 .s_8,
body .ht-ctc.ht-ctc-style-8 .s_8,
body .ctc_woo_place .s_8,
body .inline-buttons .s_8 {
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid #1F2937 !important;
  color: #1F2937 !important;
  box-shadow: none !important;
}
body .ht-ctc-style-8 .s_8 .ht-ctc-s8-text,
body .ht-ctc-style-8:hover .s_8 .ht-ctc-s8-text { color: #1F2937 !important; }
body .ht-ctc-style-8 .s_8 svg path,
body .ht-ctc-style-8 .s_8 svg g path,
body .ht-ctc-style-8:hover .s_8 svg g path { fill: #1F2937 !important; }
body .ht-ctc-style-8:hover .s_8,
body .ht-ctc-style-8 .s_8:hover,
body .ht-ctc-style-8 .s_8:focus {
  background: #F9FAFB !important;
  background-color: #F9FAFB !important;
  border-color: #E8604C !important;
  box-shadow: none !important;
}

/* 12. Footer: charcoal, light text (beats Additional CSS #BBC1C4 without editing it) */
body footer.footer-container,
body .footer-container { background-color: #1F2937 !important; color: #D1D5DB !important; }
body footer.footer-container .container.main-footer,
body footer.footer-container .main-footer,
body footer.footer-container .city,
body .footer-container .city { background-color: transparent !important; }
body footer.footer-container h1, body footer.footer-container h2, body footer.footer-container h3,
body footer.footer-container h4, body footer.footer-container h5,
body footer.footer-container .widget-title,
body footer.footer-container .title { color: #fff !important; }
body footer.footer-container h6,
body footer.footer-container .textwidget h6,
body footer.footer-container .wd-text-block h6,
body footer.footer-container p,
body footer.footer-container li,
body footer.footer-container ul,
body footer.footer-container span,
body footer.footer-container label,
body footer.footer-container .wd-text-block,
body footer.footer-container .wd-list-content,
body footer.footer-container .list-icon { color: #D1D5DB !important; }
body footer.footer-container a { color: #D1D5DB !important; }
body footer.footer-container a:hover,
body footer.footer-container a:hover span { color: #E8604C !important; }
body footer.footer-container .widget-title::after,
body footer.footer-container .widget-title:after { background-color: #E8604C; }
body footer.footer-container input[type="email"],
body footer.footer-container input[type="text"] {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #fff !important;
}
body footer.footer-container input::placeholder { color: #9CA3AF !important; }
body footer.footer-container input[type="submit"],
body footer.footer-container .button,
body #mc_embed_signup .button,
body #mc_embed_signup input#mc-embedded-subscribe,
body #mc_embed_signup input[type="submit"] {
  background-color: #E8604C !important;
  border-color: #E8604C !important;
  color: #fff !important;
}
body footer.footer-container input[type="submit"]:hover,
body footer.footer-container .button:hover,
body #mc_embed_signup .button:hover,
body #mc_embed_signup input#mc-embedded-subscribe:hover,
body #mc_embed_signup input[type="submit"]:hover {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}
body .copyrights-wrapper { background-color: #1F2937 !important; border-top-color: #374151 !important; }
body .copyrights-wrapper,
body .copyrights-wrapper p,
body .copyrights-wrapper a,
body .copyrights-wrapper span,
body .copyrights-wrapper strong { color: #9CA3AF !important; }
body .copyrights-wrapper a:hover { color: #E8604C !important; }

/* 13. Dark page-title band (Shop / Basket / archives): keep text readable */
body .page-title.color-scheme-light,
body .page-title.color-scheme-light .title,
body .page-title.color-scheme-light h1 { color: #fff !important; }
body .page-title.color-scheme-light a,
body .page-title.color-scheme-light .wd-checkout-steps li,
body .page-title.color-scheme-light .wd-checkout-steps li span { color: rgba(255,255,255,.65) !important; }
body .page-title.color-scheme-light .wd-checkout-steps li.step-active a,
body .page-title.color-scheme-light .wd-checkout-steps li.step-active span,
body .page-title.color-scheme-light a:hover { color: #fff !important; }
body .page-title.color-scheme-light .wd-checkout-steps li.step-active > a,
body .page-title.color-scheme-light .wd-checkout-steps li.step-active span { border-color: #E8604C !important; text-decoration-color: #E8604C !important; }
body .page-title.color-scheme-light .wd-checkout-steps li.step-active > a:after,
body .page-title.color-scheme-light .wd-checkout-steps li.step-active > span:after { background-color: #E8604C !important; }

/* Footer logo: white card so the dark "COSMO WHOLESALE" text stays readable on charcoal */
body footer.footer-container img[alt="Cosmo Wholesale Logo"] { background:#fff !important; border-radius:12px !important; padding:8px !important; }

/* Footer newsletter placeholder: readable on charcoal */
body footer.footer-container input::placeholder { color:#9CA3AF !important; opacity:1 !important; }
