header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff; /* solid white */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

header .cart {
  position: relative;
  margin-right: 20px;
}

header .cart .count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

header .login-btn {
  background: #4CAF50;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

header .login-btn:hover {
  background: #388e3c;
}


/* ==============================
   Global WooCommerce Block Buttons
   ============================== */

/* Default Buttons (Add to Cart, Filters, General) */
.wc-block-components-button,
.wc-block-grid__product-add-to-cart .wp-element-button,
.wp-block-button__link {
  background-color: #4CAF50; /* Green */
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
}

.wc-block-components-button:hover,
.wc-block-grid__product-add-to-cart .wp-element-button:hover,
.wp-block-button__link:hover {
  background-color: #388E3C;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}


/* ==============================
   Cart Page (Block)
   ============================== */

/* Proceed to Checkout Button */
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-components-button {
  background-color: #2196F3 !important; /* Blue */
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-components-button:hover {
  background-color: #1976D2 !important; /* Darker Blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}


/* ==============================
   Checkout Page (Block)
   ============================== */

/* Place Order Button */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: #20965F; /* Purple */
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 8px;
  width: 100%; /* Full width */
  transition: all 0.3s ease;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background-color: #20965F;
  transform: translateY(-2px);
}


/* ==============================
   Mini Cart (Block)
   ============================== */

.wc-block-mini-cart__footer .wc-block-components-button {
  background-color: #20965F; /* Orange */
  color: #1a1717 !important;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.wc-block-mini-cart__footer .wc-block-components-button:hover {
  background-color: #20965F;
  color: wheat !important;
}


/* ==============================
   Product Grid (Shop / Category / Tag Pages)
   ============================== */

.wc-block-grid__product .wp-block-button__link {
  background-color: #20965F; /* Teal */
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
}

.wc-block-grid__product .wp-block-button__link:hover {
  background-color: #20965F;
}

/* Remove underline from all links */
a {
  text-decoration: none;
}

/* Ensure no underline even on hover */
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

/* Remove focus outline/box */
a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

header a {
  position: relative;
  text-decoration: none;
  color: #222;
}

header a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 4px;
  background: #4CAF50;
  transition: width 0.3s ease;
}

header a:hover::after {
  width: 100%;
}


/* Style active navigation link */
.wp-block-navigation .wp-block-navigation-item__current-menu-item > a {
  color: #4CAF50;          /* green text */
  font-weight: 600;
  position: relative;
}

/* Add underline effect */
.wp-block-navigation .wp-block-navigation-item__current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: #4CAF50;
  border-radius: 2px;
}


.wp-block-navigation .wp-block-navigation-item_label__current-menu-item > a {
  background: #4CAF50;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
}

