/* --- Block Color
-------------------------------------------------------- */

// Dark Color

input[type="button"],
input[type="reset"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
.header-media .media-content .wp-block-heading,
.header-media .media-content p,
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.entry-meta a,
td.product-name a,
.woocommerce ul.products li.product .price,
.wp-block-categories-list li,
.wp-block-archives-list li,
.content>.video-play:hover span,
del.wc-block-components-product-price__regular,
.wp-block-post-comments.is-style-pawscentral-post-comments input:not([type="submit"]):not([type="checkbox"]),
.comment-form label,
.is-style-pawscentral-button .wp-block-button__link,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.tnp.tnp-subscription-minimal form,
.wp-block-post-comments .comment-meta .fn,
.comment-author .says,
.wp-block-pullquote cite,
a.comment-reply-link,
.woocommerce div.product span.price,
.wp-block-quote footer,
.wp-block-post-navigation-link a,
.wp-block-widget-area .wp-block-latest-posts__list>li>a,
.wp-block-post-title,
.form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:focus,
header .header-default .wp-block-button.my-account a.wp-block-button__link.wp-element-button,
header .header-default .wp-block-button.my-account div.wp-block-button__link.wp-element-button,
.wp-block-latest-posts a,
.wp-block-post-excerpt__more-link,
.wp-block-button.is-style-pawscentral-button .wp-block-button__link {
  color: var(--wp--preset--color--dark-color);
}

.without-transparent .wp-block-navigation__responsive-container-open svg {
  fill: var(--wp--preset--color--dark-color);
}

.wp-block-post-navigation-link .post-navigation-link__label svg,
.header .wp-block-navigation__responsive-container-close svg,
.header button:not(.wp-block-navigation__responsive-container-close):not(.wp-block-search__button) svg.cross {
  fill: var(--wp--preset--color--dark-color);
}

.wp-block-button.is-style-pawscentral-button .wp-block-button__link:before,
.wp-block-post-excerpt__more-link:before {
  background-color: var(--wp--preset--color--dark-color);
}

// FOOTER BACKGROUND COLOR
.footer {
  background-color: var(--wp--preset--color--footer-bg-color);
}


/* Color Light */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wc-block-components-pagination__page:hover,
.wc-block-components-pagination__page:focus,
.wc-block-components-product-sale-badge span,
.woocommerce #respond input#submit,
.wc-block-components-pagination__page--active[disabled]:focus,
.wc-block-components-pagination__page--active[disabled]:hover,
.wc-block-pagination-page--active.wc-block-components-pagination__page--active,
.woocommerce button.button,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.wc-block-product-search .wc-block-product-search__button,
.woocommerce nav.woocommerce-pagination ul li span.current,
.wp-block-navigation__responsive-container-close,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-previous:focus,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-next:focus,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.is-style-outline>.wp-block-button__link:not(.has-text-color):focus,
.woocommerce span.onsale,
.wc-block-grid__product .wc-block-grid__product-onsale span,
input[type="button"],
input[type="reset"],
.tnp.tnp-subscription-minimal input.tnp-submit,
.wp-block-navigation ul.wp-block-list>li>a,
.upper-footer .footer-title,
input[type="submit"],
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.wp-block-site-generator p a,
.footer .wp-block-group .detail-list li,
.banner .wp-block-post-title,
.footer .wp-block-group p,
.footer .wp-block-group a {
  color: var(--wp--preset--color--color-light);
}

.wp-block-query-pagination>.wp-block-query-pagination-previous:hover:before,
.wp-block-query-pagination>.wp-block-query-pagination-previous:focus:before,
.wp-block-query-pagination>.wp-block-query-pagination-next:hover:before,
.wp-block-query-pagination>.wp-block-query-pagination-next:focus:before {
  border-color: var(--wp--preset--color--color-light);
}

.footer .wp-block-navigation__responsive-container-open svg {
  fill: var(--wp--preset--color--color-light);
}

/* HOVER COLOR */

.wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content:before,
.wp-block-navigation__submenu-container .wp-block-navigation-item.current-nav-item .wp-block-navigation-item__content:before,
.wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content:before {
  background-color: var(--wp--preset--color--hover-color);
}


a:hover svg.icon,
a:focus svg.icon {
  fill: var(--wp--preset--color--hover-color);
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link,
.wp-block-social-links:not(.footer-social-icons) .wp-block-social-link {

  &:hover,
  &:focus {
    svg {
      fill: var(--wp--preset--color--hover-color);
    }
  }
}

.woocommerce ul.products li.product a:hover h2,
.wp-block-page-list>.wp-block-navigation-item.current-menu-item>.wp-block-navigation-item__content,
.wp-block-page-list>.wp-block-navigation-item.current-nav-item>.wp-block-navigation-item__content,
a:hover .post-navigation-link__label,
.wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation__submenu-container .wp-block-navigation-item.current-nav-item .wp-block-navigation-item__content,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce ul.products li.product a:focus h2 {
  color: var(--wp--preset--color--hover-color);
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):hover,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):focus,
.wpcf7 textarea:hover,
.wpcf7 textarea:focus {
  border-color: var(--wp--preset--color--hover-color);
}

/* Body Color */

.wp-block-widget a,
.wp-site-blocks figure figcaption,
figure figcaption,
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-post-navigation-link .post-navigation-link__label {
  color: var(--wp--preset--color--body-text);
}

/* Link hover color */
a,
.wp-block-widget a,
.wp-block-button.is-style-pawscentral-button .wp-block-button__link:hover,
.wp-block-button.is-style-pawscentral-button .wp-block-button__link:focus,
.wp-block-post-comments.is-style-pawscentral-post-comments .comment-metadata a,
.wp-block-post-comments.is-style-pawscentral-post-comments .comment-metadata a,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-post-comments .comment-metadata a,
form .wpcf7-submit,
.price ins,
.wp-block-post-navigation-link a,
a.comment-reply-link,
.wp-block-post-title a,
.post-navigation-link__label,
td.product-name a,
ins,
.wp-block-widget-area .wp-block-latest-posts__list>li>a,
.single .taxonomy-category.wp-block-post-terms>a,
.entry-breadcrumbs span.breadcrumb a,
.wc-block-components-product-title a,
.woocommerce .woocommerce-breadcrumb a,
.single .taxonomy-post_tag.wp-block-post-terms>a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.wc-block-grid .wc-block-grid__products li.wc-block-grid__product:is(:hover, :focus) .added_to_cart,
.wc-block-grid__product-title {

  &:hover,
  &:focus {
    color: var(--wp--preset--color--hover-color);
  }
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-site-title {

  &:hover,
  &:focus {
    color: var(--wp--preset--color--hover-color);
  }
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--wp--preset--color--hover-color);
}

.wp-block-button.is-style-pawscentral-button .wp-block-button__link,
.wp-block-post-excerpt__more-link {

  &:hover,
  &:focus {

    &:before {
      background-color: var(--wp--preset--color--hover-color);
    }
  }
}

.wp-block-button.is-style-pawscentral-button .wp-block-button__link,
.wp-block-post-excerpt__more-link {

  &:hover,
  &:focus {

    &:after {
      border-color: var(--wp--preset--color--hover-color);
    }
  }
}

.wp-block-post-meta>div:hover,
.wp-block-post-meta>div:focus {

  a,
  svg {

    color: var(--wp--preset--color--hover-color);
    fill: var(--wp--preset--color--hover-color);
  }
}

.wp-block-button.is-style-outline .has-background.wp-block-button__link:not(:hover) {
  border-color: inherit;
}

.wp-block-post-excerpt__more-link,
form .wpcf7-submit,
form.wpcf7-form input[type="submit"] {

  &:hover,
  &:focus {
    border-color: var(--wp--preset--color--hover-color);
  }
}

.wp-block-pullquote,
.wp-block-pullquote.has-text-align-left:not(blockquote),
.wp-block-pullquote.has-text-align-right:not(blockquote) {
  border-color: var(--wp--preset--color--button-bg-color);
}


/* Button Background Color */

.tnp.tnp-subscription-minimal input.tnp-submit,
.wp-block-navigation__container>.wp-block-navigation-item:before,
.wc-block-components-pagination__page:hover,
.wc-block-components-pagination__page:focus,
.wc-block-pagination-page--active.wc-block-components-pagination__page--active,
.wc-block-components-pagination__page--active[disabled]:focus,
.wc-block-components-pagination__page--active[disabled]:hover,
.wp-block-query-pagination>.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination>.wp-block-query-pagination-previous:focus,
.wp-block-query-pagination>.wp-block-query-pagination-next:hover,
.wp-block-query-pagination>.wp-block-query-pagination-next:focus,
.wp-block-query-pagination-numbers .page-numbers:not(.dots):hover,
.wp-block-query-pagination-numbers .page-numbers:not(.dots):focus,
.wp-block-query-pagination-numbers .page-numbers:not(.dots).current,
.wp-block-page-list>.wp-block-navigation-item:before,
.wp-block-page-list>.wp-block-navigation-item a::before,
.woocommerce nav.woocommerce-pagination ul li span.current,
input[type="button"],
input[type="reset"],
input[type="submit"],
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.wc-proceed-to-checkout a.checkout-button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link).outlined,
.wp-block-woocommerce-mini-cart-contents .wc-block-components-button,
.wc-block-product-search .wc-block-product-search__button {
  background: var(--wp--preset--color--button-bg-color);
}

.woocommerce .woocommerce-product-rating .star-rating,
.wc-block-components-product-rating .wc-block-components-product-rating__stars,
.woocommerce .star-rating,
#reviews .star-rating {
  color: var(--wp--preset--color--yellow-color);
}

/* Button Background hover color */

.wc-block-cart__submit-container .wp-element-button,
.woocommerce .woocommerce-cart-form .actions .button,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-mini-cart-contents a.components-button.wc-block-components-button.wp-element-button,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
ul.products li.product .button,
.wc-proceed-to-checkout a.checkout-button.alt,
form.wpcf7-form input[type="submit"],
.woocommerce input[name=submit],
.woocommerce #review_form #respond .form-submit input,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.wc-block-components-button:not(.is-link),
.woocommerce .cart div.quantity .quantity-button--up,
.restore-item,
.woocommerce .cart div.quantity .quantity-button--down,
.wc-block-product-search .wc-block-product-search__button,
.wrap button.wp-block-search__button.has-icon.wp-element-button,
.wp-block-button__link.is-style-outline:not(.has-background) {

  &:hover,
  &:focus {
    background-color: var(--wp--preset--color--hover-color);
    border-color: var(--wp--preset--color--hover-color);
    box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--color-light);
    color: var(--wp--preset--color--color-light);
  }
}

.wp-block-button__link,
.wp-block-woocommerce-customer-account {

  &:hover,
  &:focus {
    border-color: var(--wp--preset--color--hover-color);
    box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--color-light);
  }
}

.wp-block-woocommerce-customer-account {

  &:hover,
  &:focus {
    background-color: var(--wp--preset--color--hover-color);
  }
}

/* Border Color */
.woocommerce table.shop_table td,
.woocommerce table.shop_table,
.woocommerce div.product div.images .flex-control-thumbs li,
.single .taxonomy-category.wp-block-post-terms>a,
.single .taxonomy-post_tag.wp-block-post-terms>a,
.header .search-container form .wp-block-search__inside-wrapper button[type="submit"],
.header .search-container form .wp-block-search__inside-wrapper input[type="search"],
.header .search-container .wp-block-search__inside-wrapper input[type="search"],
.woocommerce-info,
.wc-block-product-search .wc-block-product-search__field input,
.wc-block-product-search .wc-block-product-search__field,
.woocommerce-billing-fields__field-wrapper input,
.woocommerce-billing-fields__field-wrapper select,
select,
.select2-container--default .select2-selection--single,
.woocommerce .quantity .qty,
.woocommerce table.variations select,
.woocommerce-message,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
form.woocommerce-ordering select,
.wp-block-table td,
.wp-block-table th,
.wp-block-table thead,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.tnp.tnp-subscription-minimal form,
.wp-block-table .has-fixed-layout *,
.wp-block-sidebar .wp-block-latest-posts__list>li:not(:last-child),
.wp-block-search .wp-block-search__inside-wrapper,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.is-style-pawscentral-post-author-card,
.wp-block-post-comments.is-style-pawscentral-post-comments .comment-respond,
.wpcf7 form,
.wp-block-post-comments.is-style-pawscentral-post-comments .comment-respond,
.is-style-pawscentral-post-author-card {
  border-color: var(--wp--preset--color--border-color);
}

.wp-block-post-meta a,
.wp-block-site-generator p,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.product_meta,
.woocommerce-variation-description {
  color: var(--wp--preset--color--secondary-text-color);
}

.wp-block-post-meta svg {
  fill: var(--wp--preset--color--secondary-text-color);
}

/* Secondary Background color */

.wc-block-grid__product-image:before,
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open,
pre,
.is-style-pawscentral-post-author-card,
.is-style-pawscentral-post-author-card,
.wp-block-post-container,
.single .taxonomy-category.wp-block-post-terms>a:hover,
.single .taxonomy-category.wp-block-post-terms>a:focus,
.single .taxonomy-post_tag.wp-block-post-terms>a:hover,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background-color: var(--wp--preset--color--secondary-bg-color);
}

/* Title color */

.wp-block-post-title a,
.editor-styles-wrapper .wp-block-site-title a,
.wc-block-grid__product-title,
.wc-block-featured-product__description,
.price ins,
.price,
.amount,
.wc-block-featured-product .wc-block-featured-product__title,
.wp-block-group.header .my-account .wp-block-button__link a,
.wc-block-components-product-title a,
.wc-block-components-review-list-item__author {
  color: var(--wp--preset--color--title-color);
}
