.wp-social-link-chain .wp-block-social-link-anchor svg {
  display: none !important;
}

.wp-social-link-chain .wp-block-social-link-anchor::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('https://skutelis.lv/wp-content/uploads/2025/06/applemusic-logo-sku.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
li.additional_information_tab {
    display: none !important;
}
/* Hide the original tab label */
li.description_tab a {
    font-size: 0 !important; /* makes text disappear */
}

/* Add your custom label */
li.description_tab a::after {
    content: "# Papildu informācija"; /* ← change this to your new label */
    font-size: 18px !important; 
    color: inherit; /* keeps the same color */
}

/* Only hide empty title area on the front page */
.home.page .entry-header {
  display: none;
}

.home.page .entry-content {
  margin-top: 0;
  padding-top: 0;
}

/* ===== Buttons: Add to cart + Read more (sold out) ===== */
.single_add_to_cart_button,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed,
.single_add_to_cart_button.wc-variation-is-unavailable,
.add_to_cart_button,
.wp-block-button__link.add_to_cart_button,
a.product_type_simple:not(.add_to_cart_button) {
  position: relative;
  background: #D4CFC8 !important;
  background-color: #D4CFC8 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-decoration: none !important;
  opacity: 1 !important;          /* theme often fades the disabled button */
  filter: none !important;
  box-shadow: none !important;
  min-width: 180px;
}

/* Same look in every state */
.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus,
.single_add_to_cart_button:active,
.single_add_to_cart_button.disabled:hover,
.add_to_cart_button:hover,
.add_to_cart_button:focus,
.add_to_cart_button:active,
.wp-block-button__link.add_to_cart_button:hover,
.wp-block-button__link.add_to_cart_button:focus,
.wp-block-button__link.add_to_cart_button:active,
a.product_type_simple:not(.add_to_cart_button):hover,
a.product_type_simple:not(.add_to_cart_button):focus,
a.product_type_simple:not(.add_to_cart_button):active {
  background: #D4CFC8 !important;
  background-color: #D4CFC8 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1 !important;
}

/* Visible button text */
.single_add_to_cart_button::after,
.add_to_cart_button::after,
.wp-block-button__link.add_to_cart_button::after,
a.product_type_simple:not(.add_to_cart_button)::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15151C;
  -webkit-text-fill-color: #15151C;
  font-size: 16px; /* match your theme's button text size */
  white-space: nowrap;
  text-decoration: none;
  opacity: 1;
}

/* Texts */
.single_add_to_cart_button::after,
.add_to_cart_button::after,
.wp-block-button__link.add_to_cart_button::after {
  content: "Pievienot grozam";
}
a.product_type_simple:not(.add_to_cart_button)::after {
  content: "Izpārdots";           /* Read more */
}

/* Underline on hover (not when the button is disabled) */
.single_add_to_cart_button:not(.disabled):hover::after,
.add_to_cart_button:hover::after,
.wp-block-button__link.add_to_cart_button:hover::after,
a.product_type_simple:not(.add_to_cart_button):hover::after {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Stock labels ===== */
.stock.in-stock,
.stock.out-of-stock {
  position: relative;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.stock.in-stock::after,
.stock.out-of-stock::after {
  position: absolute;
  left: 0;
  top: 0;
  color: #15151C;
  -webkit-text-fill-color: #15151C;
  white-space: nowrap;
}
.stock.in-stock::after {
  content: "→ Ir pieejams";
}
.stock.out-of-stock::after {
  content: "→ Izpārdots";
}

/* ===== Select options -> Izpārdots ===== */
a.product_type_variable {
  position: relative;
  background: #D4CFC8 !important;
  background-color: #D4CFC8 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  min-width: 180px;
}

a.product_type_variable:hover,
a.product_type_variable:focus,
a.product_type_variable:active {
  background: #D4CFC8 !important;
  background-color: #D4CFC8 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1 !important;
}

a.product_type_variable::after {
  content: "Izpārdots";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15151C;
  -webkit-text-fill-color: #15151C;
  font-size: 16px; /* match your theme's button text size */
  white-space: nowrap;
  text-decoration: none;
}

a.product_type_variable:hover::after {
  text-decoration: underline;
  text-underline-offset: 3px;
}