wishlist-button:disabled {
  opacity: 0.5;
}

wishlist-button,
wishlist-button--pdp {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
}
wishlist-button-pdp.fish-no-label .fish-pdp-label {
  display: none;
}
wishlist-button-pdp {
  padding: 5px;
  width: fit-content;
}
wishlist-button-pdp.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
wishlist-button-pdp.disabled.fsb__button {
  opacity: 0.2;
}
wishlist-button.position-absolute,
wishlist-button-pdp.position-absolute {
  position: absolute;
  z-index: 10;
}

wishlist-button.top-left,
wishlist-button-pdp.top-left {
  top: 0;
  left: 0;
}

wishlist-button.top-right,
wishlist-button-pdp.top-right {
  top: 0;
  right: 0;
}

wishlist-button.bottom-left,
wishlist-button-pdp.bottom-left {
  bottom: 0;
  left: 0;
}

wishlist-button.bottom-right,
wishlist-button.bottom-right-pdp {
  bottom: 0;
  right: 0;
}

wishlist-button[data-is-added="true"] .added-state,
wishlist-button-pdp[data-is-added="true"] .added-state,
wishlist-button-social-proof[data-is-added="true"] .added-state {
  display: flex !important;
}

wishlist-button[data-is-added="true"] .empty-state,
wishlist-button-pdp[data-is-added="true"] .empty-state,
wishlist-button-social-proof[data-is-added="true"] .empty-state  {
  display: none;
}

.atw-drawer__close,
.wishlists-drawer__close {
  display: inline-block;
  padding: 0;
  min-width: 34px;
  min-height: 34px;
  box-shadow: 0 0 0 .2rem rgba(var(--color-button), 0);
  position: absolute;
  top: 10px;
  right: -10px;
  color: rgb(var(--color-foreground));
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atw-drawer__close svg {
  height: 13px;
  width: 13px;
}

.atw-drawer__heading,
.wishlists-drawer__heading {
  margin: 0 0 0;
  font-size: 28px;
  padding: 0;
}

.atw-drawer__header,
.wishlists-drawer__header {
  position: relative;
  padding: 15px 0 5px;
  display: flex;
  align-items: center;
}

.customer-login-banner {
  line-height: 1.5;
  text-align: center;
  padding: 10px;
}

.customer-login-banner p {
  margin: 0;
}

.customer-login-banner a {
  text-decoration: underline;
}

.customer-login-banner a:hover,
.atw-drawer__item-cta open-wishlists-button:hover {
  opacity: 0.75;
}

.wishlist-card:not(.wishlist-card--wishlist) {
  /* margin-top: 30px; */
}

.wishlist-card:not(.wishlist-card--wishlist) .button--cta-remove,
.wishlist-card:not(.wishlist-card--wishlist) .wishlist-drawer__delete-button {
  display: none !important;
}

.wishlists-drawer--single-wishlist wishlist-element {
  padding: 0;
  border: none;
  box-shadow: none;
  max-height: 100%;
}

.wishlists-drawer__wishlists-container.with-email-consent {
  max-height: calc(100% - 150px);
  overflow: auto;
}

.wishlist-drawer__wishlist-items-cards-container {
  margin-bottom: 10px;
}

.wishlists-drawer--single-wishlist .expanded .wishlist-card--wishlist .wishlist-drawer__wishlist-items-cards-container {
  max-height: calc(100vh - 90px);
}

.wishlists-drawer--single-wishlist .wishlist-card--wishlist .wishlist-drawer__item-header {
  display: none;
}

.wishlists-drawer--single-wishlist .wishlist-card--wishlist .wishlist-drawer__bottom-row {
  display: none
}

.wishlists-drawer--single-wishlist .wishlist-card--wishlist .wishlist-drawer__wishlist-items-cards-container {
  max-height: calc(100vh - 180px);
}

.marketing-form .field-row {
  display: flex;
  align-items: center;
  justify-content: left;
}

form.marketing-form {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
  margin-top: 20px;
}

.marketing-form input[type="submit"].button--link {
  background: transparent;
  border: none;
  text-decoration: underline;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  margin-left: auto;
}
.marketing-form .success-message { 
  padding: 0;
  margin: 0;
}
.marketing-form .success-message.hidden {
  display: none;
}

.marketing-form .success-message:not(.hidden) ~ *{
  opacity: 0;
  visibility: hidden;
  display: none;
} 

.marketing-form label {
  cursor: pointer;
  line-height: 1.25;
}

wishlist-button > * {
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

marketing-opt-in form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

marketing-opt-in.marketing-form button {
  margin: 0 auto;
  margin-top: 10px;
  padding: 10px 20px;
}

marketing-opt-in {
  margin: auto 0 0;
}

button[is="open-wishlists-button"],
open-wishlists-button {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
}

[data-block-handle="open-wishlists-button"].shopify-app-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

[data-block-handle="open-wishlists-button"] open-wishlists-button{
  position: relative;
}

[data-block-handle="open-wishlists-button"] open-wishlists-button, 
[data-block-handle="open-wishlists-button"] open-wishlists-button svg {
  /* max-width: 42px; */
  max-height: 42px;
}

wishlist-button svg  {
  max-width: 36px;
  max-height: 36px;
}

wishlist-button-pdp svg  {
  max-width: 32px;
  max-height: 32px;
}

.wishlist-card {
  padding: 8px;
}

.wishlist-variant-selector__images img,
wishlist-item__placeholder img,
.item-card__image img,
wishlist-toast .fish-toast__product-image img {
  padding: 0;
  border: 1px solid rgb(16 16 16 / 7%);
  border-radius: 5px;
  box-shadow: rgba(26, 26, 26, 0.07) 0px 3px 1px -1px;
}

a.button--link.link--text.button--cta-remove:hover {
  color: currentColor;
}

a.fish-wishlist-button--link,
open-wishlists-button.fish-wishlist-button--link {
  font-size: 14px;
  letter-spacing: 0;
  text-decoration: underline;
  cursor: pointer !important;
}

wishlist-button-pdp {
  cursor: pointer;
}

wishlist-button-pdp {
  display: flex;
  align-items: center;
  justify-content: center;
}

wishlist-button-pdp span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.wishlist-count-bubble {
  position: absolute;
  background-color: currentColor;
  height: 17px;
  width: 17px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  left: 22px;
  line-height: 10px;
  transform: translateY(6px);
}

.wishlist-count-bubble span{
  color: white;
}

.wishlist-count-bubble:empty {
  display: none;
}

wishlist-button-social-proof .empty-state,
wishlist-button .empty-state,
wishlist-button-pdp .empty-state{
  display: flex;
  height: auto;
  margin: auto;
  padding: 0;
  gap: 5px;
}

request-quote-button {
  text-align: center;
}

request-quote-button.submitted, request-quote-button.submitting {
  pointer-events: none;
}

.fish-wishlist-button {
  position: relative;
  transition: all .3s;
  cursor: pointer;
}

.fish-wishlist-button.submitting span{
  opacity: 0;
}

a.fish-wishlist--url {
  padding: 10px;
  font-size: 12px;
  background: #d3d3d35e;
  border-radius: 3px;
  margin-top: 4px;
  margin-bottom: 4px;
  color: black;
}

.header__icons .shopify-app-block {
  display: flex;
  position: relative;
  overflow: visible;
}

quote-quantity-picker button {
  border: none;
  background: none;
  cursor: pointer;
}

quote-quantity-picker .current {
  font-size: 14px;
}

quote-quantity-picker {
  border: 1px solid rgb(16 16 16 / 7%);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 5px;
  border-radius: 4px;
  max-width: 60px;
  margin: 5px 0;
}

request-quote-button, share-wishlist-button {
  margin-bottom: 8px;
}

.fish-wishlist-button.submitting::before {
  opacity: 1;
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  box-shadow: -1px 0 0 currentColor;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  margin: 0;
  transform-origin: center;
  z-index: 2;
  position: absolute;
  top: calc(50% - 9px);
  left: calc(50% - 9px);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

fish-wishlist-share-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

fish-wishlist-share-button > * {
  flex: 1;
}

button.fish-wishlist-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

button.fish-wishlist-share-button svg {
  min-width: 20px;
  max-width: 20px;
  max-height: 12px;
}

.item-card__details .product-option {
  font-size: 1.4rem;
  word-break: break-word;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
}

.item-card__details .product-option * {
  display: inline;
  margin: 0;
  font-size: 13px;
}

.item-card__details .product-option+.product-option {
  margin-top: 0;
}

[data-block-handle="atw-button-pdp"] {
  width: 100%;
}

.fish-toast__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.fish-toast__product-image img {
  max-width: 60px;
}

p.fish-toast__message {
  margin: 0;
  line-height: 1.25;
  font-size: 14px;
}

.fish-toast__product-image {
  display: flex;
}

/* Fly to cart animation */
fly-to-cart {
  position: fixed;
  width: 40px;
  height: 40px;
  left: 0;
  top: 0;
  border-radius: 50%;
  z-index: calc(infinity);
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
  transition: opacity 0.3s ease;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--color-foreground);
  transform: translate(var(--x, 0), var(--y, 0)) scale(var(--scale, 1));
}

.fish-textarea.quote-note {
  margin: 12px 0;
  padding: 6px;
  font-size: 14px;
}