/* Secret SHOP 3.4.19 — small UI corrections. */

/* Header search:
   Chromium/Edge add a native X to type=search. The theme already has its own
   explicit close button, so suppress only the native cancel glyph in that panel. */
.ss-search-form input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:none!important;
}
.ss-search-form input[type="search"]::-webkit-search-decoration{
  -webkit-appearance:none!important;
}

/* Product grids / search results:
   Woo adds its own pseudo icon to .added, which clashes with the custom cart SVG.
   Replace the whole state with a single, deliberate check mark. */
.ss-product-card__cart.added{
  position:relative!important;
  background:#241117!important;
  border-color:#7b2034!important;
  color:#fff!important;
}
.ss-product-card__cart.added svg{
  display:none!important;
}
.ss-product-card__cart.added::before{
  content:'✓'!important;
  display:block!important;
  font:700 18px/1 var(--ss-sans)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.ss-product-card__cart.added::after{
  display:none!important;
  content:none!important;
}

/* Woo's "Ver carrinho" link remains useful, but should read as a text action,
   not as a second malformed icon/button. */
.ss-product-card__price-row > a.added_to_cart.wc-forward{
  flex:0 0 auto!important;
  align-self:center!important;
  margin:0 0 0 2px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#f7f7f5!important;
  font:600 11px/1.25 var(--ss-sans)!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  white-space:nowrap!important;
}
.ss-product-card__price-row > a.added_to_cart.wc-forward:hover{
  color:var(--ss-neon)!important;
}

@media(max-width:700px){
  .ss-product-card__price-row > a.added_to_cart.wc-forward{
    font-size:10px!important;
  }
}

/* Secret SHOP 3.4.19 — continuous strip + refined add-to-cart success state. */

/* After Woo confirms an AJAX add, the cart control becomes a compact status mark.
   It stays immediately before the textual "Ver carrinho" action instead of
   looking like a large centered confirmation button. */
.ss-product-card__price-row > .ss-product-card__cart.added{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  margin-left:auto!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:#241117!important;
  box-shadow:inset 0 0 0 1px rgba(123,32,52,.22)!important;
  cursor:default!important;
}
.ss-product-card__price-row > .ss-product-card__cart.added::before{
  font-size:13px!important;
  line-height:1!important;
  transform:none!important;
}
.ss-product-card__price-row > .ss-product-card__cart.added + a.added_to_cart.wc-forward{
  margin-left:7px!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(247,247,245,.45)!important;
  padding-bottom:2px!important;
}
