/* dtqtybuttons – κουμπί «Προσθήκη στο καλάθι» (σελίδα προϊόντος, λίστα, quickview) */
:root { --dt-cart-bg: #00a6d6; --dt-cart-color: #ffffff; }

.add-to-cart.deo-btn-cart,
.product-add-to-cart .add .add-to-cart {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; position: relative;
  background: linear-gradient(180deg, var(--dt-cart-bg) 0%, color-mix(in srgb, var(--dt-cart-bg) 80%, #000) 100%) !important;
  color: var(--dt-cart-color) !important;
  border: 0 !important; border-radius: 6px !important;
  font-weight: 600 !important; letter-spacing: .02em; text-transform: none !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--dt-cart-bg) 35%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
}
.add-to-cart.deo-btn-cart { height: 38px !important; padding: 0 14px !important; font-size: 13px !important; }
.product-add-to-cart .add .add-to-cart { height: 44px !important; padding: 0 28px !important; font-size: 15px !important; }

.add-to-cart.deo-btn-cart:hover, .add-to-cart.deo-btn-cart:focus-visible,
.product-add-to-cart .add .add-to-cart:hover, .product-add-to-cart .add .add-to-cart:focus-visible {
  filter: brightness(1.07); transform: translateY(-1px);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--dt-cart-bg) 45%, transparent);
  outline: none;
}
.add-to-cart.deo-btn-cart:active, .product-add-to-cart .add .add-to-cart:active {
  transform: translateY(0); box-shadow: 0 1px 3px color-mix(in srgb, var(--dt-cart-bg) 40%, transparent);
}

.add-to-cart.deo-btn-cart .content-btn-product { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.add-to-cart.deo-btn-cart .name-btn-product { color: inherit !important; }

/* Εικονίδιο καλαθιού (SVG mask, παίρνει το χρώμα του κειμένου) */
.add-to-cart.deo-btn-cart .icon-cart,
.product-add-to-cart .add .add-to-cart .icon-cart {
  display: inline-block !important; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.9a1.5 1.5 0 0 0 1.5-1.1L22 7H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.9a1.5 1.5 0 0 0 1.5-1.1L22 7H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.add-to-cart .icon-cart::before { content: none !important; }

/* Φόρτωση: κρύβεται το εικονίδιο, δείχνει ο spinner του θέματος */
.add-to-cart.loading .icon-cart { visibility: hidden; }
.add-to-cart.loading { filter: saturate(.7); }

/* Μη διαθέσιμο */
.add-to-cart:disabled, .add-to-cart.disabled {
  background: #c5ccd3 !important; box-shadow: none !important; transform: none !important; filter: none !important;
  cursor: not-allowed;
}

/* ===== Λίστα επιθυμιών ===== */
:root {
  --dt-heart-o: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.3 4.5 6.8 4.5c2.1 0 3.6 1.2 5.2 3 1.6-1.8 3.1-3 5.2-3 3.5 0 5.4 3.5 4.1 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E");
  --dt-heart-f: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.3 4.5 6.8 4.5c2.1 0 3.6 1.2 5.2 3 1.6-1.8 3.1-3 5.2-3 3.5 0 5.4 3.5 4.1 6.8-1.8 4.6-9.3 9.2-9.3 9.2z'/%3E%3C/svg%3E");
  --dt-heart-on: #e0245e;
}

/* Εικονίδιο καρδιάς: περίγραμμα, γεμάτη κόκκινη όταν το προϊόν είναι ήδη στη λίστα (.added του θέματος) */
.deo-wishlist-button .icon-wishlist {
  display: inline-block !important; width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle;
  background: currentColor;
  -webkit-mask: var(--dt-heart-o) center / contain no-repeat; mask: var(--dt-heart-o) center / contain no-repeat;
  transition: transform .15s ease;
}
.deo-wishlist-button .icon-wishlist::before { content: none !important; }
.deo-wishlist-button.added .icon-wishlist {
  -webkit-mask-image: var(--dt-heart-f); mask-image: var(--dt-heart-f); color: var(--dt-heart-on);
}
.deo-wishlist-button.loading .icon-wishlist { display: none !important; }

/* Σελίδα προϊόντος: κουμπί-περίγραμμα δίπλα στο «Προσθήκη στο καλάθι» */
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px !important;
  background: #fff !important; color: var(--dt-cart-bg) !important;
  border: 1.5px solid var(--dt-cart-bg) !important; border-radius: 6px !important;
  font-size: 15px !important; font-weight: 600; letter-spacing: .02em; text-transform: none !important;
  opacity: 1 !important;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button .content-btn-product { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button .name-btn-product { color: inherit !important; }
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button:hover,
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button:focus-visible {
  background: color-mix(in srgb, var(--dt-cart-bg) 10%, #fff) !important; transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--dt-cart-bg) 25%, transparent); outline: none;
}
.product-add-to-cart .btn-wishlist-product-list .btn-product.deo-wishlist-button.added {
  background: color-mix(in srgb, var(--dt-cart-bg) 12%, #fff) !important;
}

/* Λίστα προϊόντων: μόνο η καρδιά, κόκκινη στο hover.
   Το θέμα δίνει στο κουμπί ύψος 35px με line-height· η καρδιά (inline-block 18px) έμενε ψηλά,
   οπότε το κουμπί γίνεται flex και την κεντράρει στην ίδια γραμμή με τη γρήγορη προβολή. */
.thumbnail-container .btn-wishlist-product-list .deo-wishlist-button {
  display: flex !important; align-items: center; justify-content: center; height: 35px; opacity: 1 !important;
}
.thumbnail-container .deo-wishlist-button .content-btn-product { display: flex !important; align-items: center; justify-content: center; }
.thumbnail-container .deo-wishlist-button .icon-wishlist { width: 16px; height: 16px; flex: 0 0 16px; }
.thumbnail-container .deo-wishlist-button:hover { color: var(--dt-heart-on) !important; }
.thumbnail-container .deo-wishlist-button:hover .icon-wishlist { transform: scale(1.15); }
