/*
 Theme Name:   Envo Shop Child
 Theme URI:    https://www.bizdata360.com/
 Description:  Child theme for Envo Shop
 Author:       Bizdata
 Template:     envo-shop
 Version:      1.0.0
 Text Domain:  envo-shop-child
*/

/* =========== Your custom CSS starts below =========== */

/* Shop/archive cards + widgets */
.woocommerce ul.products li.product a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 28px !important;   /* keeps the oval shape */
}

/* Single product page */
.single-product .single_add_to_cart_button.button {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 28px !important;
}

/* Hover/focus */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single-product .single_add_to_cart_button.button:hover {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  filter: brightness(0.92);
  color: #ffffff !important;
}

/* === Sidebar "Recent Posts" (Latest Posts block) === */
.widget .wp-block-latest-posts__list a.wp-block-latest-posts__post-title,
.wp-block-latest-posts__list a.wp-block-latest-posts__post-title {
  color: #0ea5e9 !important;          /* link color */
  text-decoration: none;               /* optional: remove underline */
}

.widget .wp-block-latest-posts__list a.wp-block-latest-posts__post-title:hover,
.wp-block-latest-posts__list a.wp-block-latest-posts__post-title:hover {
  color: #0ea5e9 !important;          /* hover color */
  text-decoration: underline;          /* optional: show underline on hover */
}

/* If your theme adds a small accent line/border to each item, recolor it too */
.wp-block-latest-posts__list li {
  border-color: #0ea5e9 !important;    /* affects the faint divider line if present */
}

/* === Sidebar: Archives (block) === */
.widget .wp-block-archives-list a,
.wp-block-archives-list a,
.widget .wp-block-archives a,
.wp-block-archives a {
  color: #0ea5e9 !important;
}
.widget .wp-block-archives-list a:hover,
.wp-block-archives-list a:hover,
.widget .wp-block-archives a:hover,
.wp-block-archives a:hover {
  color: #0ea5e9 !important;
  text-decoration: underline; /* optional */
}

/* === Sidebar: Categories (block) === */
.widget .wp-block-categories-list a,
.wp-block-categories-list a,
.widget .wp-block-categories a,
.wp-block-categories a,
.widget .cat-item a,
.cat-item a {
  color: #0ea5e9 !important;
}
.widget .wp-block-categories-list a:hover,
.wp-block-categories-list a:hover,
.widget .wp-block-categories a:hover,
.wp-block-categories a:hover,
.widget .cat-item a:hover,
.cat-item a:hover {
  color: #0ea5e9 !important;
  text-decoration: underline; /* optional */
}

/* Optional: thin divider under each list item */
.wp-block-archives-list li,
.wp-block-categories-list li {
  border-color: #0ea5e9 !important;
}
/* Sidebar > WooCommerce "Products" widget: product title link color */
.woocommerce .widget_products .product_list_widget .product-title,
.widget.woocommerce .product_list_widget .product-title,
.woocommerce ul.product_list_widget li a .product-title {
  color: #0ea5e9 !important;
}

/* Hover/focus state */
.woocommerce ul.product_list_widget li a:hover .product-title,
.woocommerce ul.product_list_widget li a:focus .product-title {
  color: #0ea5e9 !important;
  text-decoration: underline; /* optional */
}

/* === Sidebar Search (Gutenberg "Search" block) === */

/* Filled style (default) */
.widget .wp-block-search .wp-block-search__button,
.widget .wp-block-search .wp-element-button {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 20px !important; /* keeps the pill/oval look */
}

/* If the block uses the Outline style */
.widget .wp-block-search.is-style-outline .wp-block-search__button {
  background-color: transparent !important;
  color: #0ea5e9 !important;
  border: 2px solid #0ea5e9 !important;
}

/* Hover/focus states */
.widget .wp-block-search .wp-block-search__button:hover,
.widget .wp-block-search .wp-element-button:hover {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
  filter: brightness(0.92);
}

/* Input focus accent */
.widget .wp-block-search .wp-block-search__input:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, #0ea5e9 30%, transparent);
}


/* WooCommerce Product Search widget (classic) */
.woocommerce .widget_product_search .search-form .search-submit,
.widget_product_search .search-form .search-submit,
.widget_search .search-form .search-submit {
  background-color: #0ea5e9 !important;
  border: 2px solid #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 12px !important;  /* keep the rounded pill */
  padding: 6px 14px !important;
}

/* Hover/focus */
.woocommerce .widget_product_search .search-form .search-submit:hover,
.widget_product_search .search-form .search-submit:hover,
.widget_search .search-form .search-submit:hover {
  filter: brightness(0.92);
}

/* Input focus accent */
.woocommerce .widget_product_search .search-form .search-field:focus,
.widget_product_search .search-form .search-field:focus,
.widget_search .search-form .search-field:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, #0ea5e9 30%, transparent);
}


/* === 1) Mini-cart product title link ("Single Shirt") === */
.woocommerce .widget_shopping_cart .cart_list .mini_cart_item a:not(.remove),
.woocommerce .widget_shopping_cart .woocommerce-mini-cart .mini_cart_item a:not(.remove) {
  color: #0ea5e9 !important;
}
.woocommerce .widget_shopping_cart .cart_list .mini_cart_item a:not(.remove):hover {
  color: #0ea5e9 !important;
  text-decoration: underline; /* optional */
}

/* Optional: mini-cart price color, if it's yellow too */
.woocommerce .widget_shopping_cart .mini_cart_item .woocommerce-Price-amount {
  color: #0ea5e9 !important;
}

/* === 2) Sidebar Search button (ensure high specificity) === */
.widget_search .wp-block-search .wp-block-search__button,
.widget_search .wp-block-search .wp-element-button,
.widget .wp-block-search .wp-block-search__button,
.widget .wp-block-search .wp-element-button {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #ffffff !important;
  border-radius: 20px !important; /* keep the pill look */
}


/* Single product meta (SKU / Category / Tag) — link only in the product details page*/
body.single-product div.product .summary .product_meta,
body.single-product div.product .summary .product_meta span {
  color: inherit !important;                  /* reset labels/text */
}

body.single-product div.product .summary .product_meta a,
body.single-product div.product .summary .product_meta a:link,
body.single-product div.product .summary .product_meta a:visited {
  color: #0ea5e9 !important;                  /* link color */
}

body.single-product div.product .summary .product_meta a:hover,
body.single-product div.product .summary .product_meta a:focus {
  color: #0ea5e9 !important;
  text-decoration: underline;                 /* optional */
}


 /* WooCommerce Product Detail Page Tabs Color CSS */
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-description > a,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-reviews > a {
  color: #ED1D26 !important;
}
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-description.active > a,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-reviews.active > a,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-description > a:hover,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-reviews > a:hover {
  color: #0ea5e9 !important;
}
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-description > a::after,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-reviews > a::after {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
}
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-description,
body.single-product div.product .woocommerce-tabs ul.wc-tabs li#tab-title-reviews {
  border-bottom-color: #0ea5e9 !important;
}
body.single-product div.product .woocommerce-tabs ul.wc-tabs li > a {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
