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

/* Foreground color */


.wp-block-tag-cloud>a,
.wp-block-section:nth-child(even) .wc-block-grid__products .wc-block-grid__product-image:before,
.wp-block-section:nth-child(even) .wc-block-product-template .wc-block-components-product-image:before,
.wp-block-section:nth-child(even) .wc-block-components-review-list>li {
  background-color: var(--wp--preset--color--foreground);
}

.wp-block-quote cite {
  fill: var(--wp--preset--color--color-light);
}


// Dark Color
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.entry-meta a,
td.product-name a,
.wp-block-post-navigation-link .post-navigation-link__label,
.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-drinkify-post-comments input:not([type="submit"]):not([type="checkbox"]),
.comment-form label,
.is-style-drinkify-button .wp-block-button__link,
.is-style-outline .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,
.site-title-section .wp-block-site-title a,
.wp-block-post-title,
.form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:focus,
header .header-with-cart .wp-block-button.my-account a.wp-block-button__link.wp-element-button,
header .header-with-cart .wp-block-button.my-account div.wp-block-button__link.wp-element-button,
.wp-block-quote.is-style-large p,
.wp-block-quote p,
.wp-block-quote.is-large p,
.wp-block-pullquote p,
.wp-block-latest-posts a,
.upper-footer .footer-title,
.bottom-footer.wp-block-site-generator p a,
.footer .wp-block-group a,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.header .dummy-icon.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-post-excerpt__more-link,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation__responsive-container .wp-block-navigation-link a,
.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--dark-color);
}

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

.footer {
  background-color: var(--wp--preset--color--footer-bg-color);
}

.wp-block-post-navigation-link .post-navigation-link__label svg,
.header .wp-block-navigation__responsive-container-close svg,
.transparent-header .header button:not(.wp-block-navigation__responsive-container-close):not(.wp-block-search__button) svg.cross {
  fill: var(--wp--preset--color--dark-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,
.woocommerce ul.products li.product .button,
.wp-block-navigation__responsive-container-close,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-previous:focus,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button,
.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,
.wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link,
.woocommerce span.onsale,
.wc-block-grid__product .wc-block-grid__product-onsale span,
input[type="button"],
input[type="reset"],
.wc-block-components-button:not(.is-link).outlined,
.wc-block-mini-cart__button span.wc-block-mini-cart__badge,
.tnp.tnp-subscription-minimal input.tnp-submit,
input[type="submit"] {
  color: var(--wp--preset--color--color-light);
}

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

/* Tertiary Color */
.wp-block-button.is-style-drinkify-button .wp-block-button__link {
  color: var(--wp--preset--color--tertiary);
}

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

.woocommerce nav.woocommerce-pagination ul li span.current,
.wc-block-grid .wc-block-grid__product .wc-block-grid__product-onsale,
.wc-block-grid .wc-block-grid__product .wc-block-grid__product-image .wc-block-grid__product-onsale,
.wc-block-components-product-sale-badge,
.woocommerce span.onsale,
.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 .wp-block-navigation-item__content:before {
  background-color: var(--wp--preset--color--hover-color);
}

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

.wp-block-navigation ul>li>.wp-block-navigation-item__content:hover+button svg,
.wp-block-navigation ul>li>.wp-block-navigation-item__content:focus+button svg,
.wp-block-navigation ul>li.current-menu-item>.wp-block-navigation-item__content+button svg {
  stroke: var(--wp--preset--color--hover-color);
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {

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

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

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

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

.is-style-outline>.wp-block-button__link:not(.has-text-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 */

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,
.wp-block-widget a,
.wp-site-blocks figure figcaption,
figure figcaption,
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-code>code,
.wp-block-navigation .wp-block-navigation__submenu-icon {
  color: var(--wp--preset--color--body-text);
}

/* Link hover color */
a,
.wp-block-widget a,
.wp-block-button.is-style-drinkify-button .wp-block-button__link:hover,
.wp-block-button.is-style-drinkify-button .wp-block-button__link:focus,
.wp-block-post-comments.is-style-drinkify-post-comments .comment-metadata a,
.wp-block-post-comments.is-style-drinkify-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-social-links .wp-block-social-link .wp-block-social-link-anchor,
.wp-block-post-navigation-link a,
a.comment-reply-link,
.wp-block-post-title a,
.wp-block-site-title a,
.post-navigation-link__label,
.wp-block-site-generator p 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,
.footer-title+p a,
.wc-block-components-product-title a,
.woocommerce .woocommerce-breadcrumb a,
td.product-name a,
.bottom-footer .wp-block-navigation ul:not(.wp-block-navigation__submenu-container)>li>a,
.single .taxonomy-post_tag.wp-block-post-terms>a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {

  &: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-drinkify-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-drinkify-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-fill .wp-block-button__link,
.wp-block-post-excerpt__more-link,
form .wpcf7-submit,
form.wpcf7-form input[type="submit"],
.wp-block-button.is-style-fill .wp-block-button__link {

  &:hover,
  &:focus {
    border-color: var(--wp--preset--color--button-bg-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,

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,
.wp-block-button__link,
ul.products li.product .button,
.wc-proceed-to-checkout a.checkout-button.alt,
.wp-block-button.is-style-fill .wp-block-button__link,
.woocommerce ul.products li.product .button,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.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,
.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-components-pagination__page--active[disabled]:focus,
.wc-block-components-pagination__page--active[disabled]:hover,
.wc-block-product-search .wc-block-product-search__button,
.wc-block-components-pagination__page:hover,
.wc-block-components-pagination__page:focus,
.wc-block-pagination-page--active.wc-block-components-pagination__page--active,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.is-style-outline>.wp-block-button__link:not(.has-text-color):focus,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
  background-color: var(--wp--preset--color--button-bg-color);
}

.woocommerce .woocommerce-product-rating .star-rating,
#reviews .star-rating {
  color: var(--wp--preset--color--button-bg-color);
}

/* Button Background hover color */

.wp-block-search__button,
.woocommerce .woocommerce-cart-form .actions .button,
.wc-block-components-button:not(.is-link).outlined,
.wc-block-components-button:not(.is-link).contained,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button,
.tnp.tnp-subscription-minimal input.tnp-submit,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-button.is-style-fill .wp-block-button__link,
ul.products li.product .button,
.wc-proceed-to-checkout a.checkout-button.alt,
.wp-block-button:not(.is-style-drinkify-button):not(.is-style-outline) .wp-block-button__link,
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],
.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 {
    border-color: transparent;
    color: var(--wp--preset--color--color-light);
    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,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link,
.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,
textarea,
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 *,
input[type="button"],
input[type="reset"],
input[type="submit"],
.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-drinkify-post-author-card,
.wp-block-post-comments.is-style-drinkify-post-comments .comment-respond,
.wpcf7 form,
.wp-block-post-comments.is-style-drinkify-post-comments .comment-respond,
.is-style-drinkify-post-author-card,
form.wpcf7-form textarea,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wp-block-fse-pro-header-social .social-container {
  border-color: var(--wp--preset--color--border-color);
}


.wp-block-post-meta a,
.bottom-footer .wp-block-navigation .wp-block-navigation__container:not(.wp-block-navigation__submenu-container)>div>a,
.wp-block-site-generator p,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.product_meta,
.woocommerce-variation-description,
.comment-metadata a,
.bottom-footer .wp-block-navigation ul:not(.wp-block-navigation__submenu-container)>li>a,
.upper-footer .wp-block-navigation .wp-block-navigation-item__content,
.wp-block-post-author__content .wp-block-post-author__name {
  color: var(--wp--preset--color--secondary-text-color);
}

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

.wp-block-navigation__container>.wp-block-navigation-item:before,
.wp-block-navigation__container>.wp-block-navigation-item a:before,
.wp-block-page-list>.wp-block-navigation-item:before,
.wp-block-page-list>.wp-block-navigation-item a::before {
  background-color: var(--wp--preset--color--background);
}

/* Secondary Background color */

.wp-block-section:nth-child(even),
.wp-block-section:nth-child(odd) .wc-block-components-review-list>li,
.wc-block-grid__product-image:before,
.wc-block-components-product-image:before,
.wp-block-section:nth-child(odd) .wc-block-grid__products .wc-block-grid__product-image:before,
.wp-block-section:nth-child(odd) .wc-block-product-template .wc-block-components-product-image:before,
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.comment-respond,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open,
pre,
.is-style-drinkify-post-author-card,
.is-style-drinkify-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,
.without-transparent,
.single .taxonomy-post_tag.wp-block-post-terms>a:focus .wp-block-fse-pro-header-social .wp-block-social-links {
  background-color: var(--wp--preset--color--secondary-bg-color);
}

/* Title color */

.wp-block-post-title a,
.price ins,
.price,
.amount,
.wp-block-group:not(.transparent-header) .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);
}
