/* =========================================================
   SHRINGR COMPONENT: WISHLIST CSS
========================================================== */
:root {
  --noir: #0B0A08;
  --noir-soft: #17140F;
  --gold: #B08A45;
  --gold-bright: #D9B876;
  --gold-pale: #F2E4C4;
  --bordeaux: #6E2430;
  --ivory: #FBF8F2;
  --stone: #F1EBDD;
  --line: #E4DAC2;
  --ink: #17140F;
  --ink-muted: #7A7166;
  --shadow-soft: 0 20px 50px rgba(23, 20, 15, 0.06);
  --ease: cubic-bezier(0.25, 1, 0.3, 1);
}

.shringr-wishlist-wrapper {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  box-sizing: border-box;
}

.shringr-wishlist-wrapper * {
  box-sizing: border-box;
}

/* 1. TOOLBAR */
.shringr-wishlist-wrapper .wishlist-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 22px;
  margin-bottom: 30px;
  border-bottom: 1px dashed var(--line);
  gap: 16px;
  flex-wrap: wrap;
}

.shringr-wishlist-wrapper .wishlist-count-badge {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.shringr-wishlist-wrapper .wishlist-count-badge span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.shringr-wishlist-wrapper .wishlist-actions-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.shringr-wishlist-wrapper .btn-text-action {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease);
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.shringr-wishlist-wrapper .btn-text-action:hover {
  color: var(--bordeaux);
  background: rgba(110, 36, 48, 0.05);
}

.shringr-wishlist-wrapper .btn-pill-compact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--noir);
  color: var(--gold-bright);
  padding: 7px 22px 7px 8px;
  border-radius: 40px;
  border: 1px solid var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}

.shringr-wishlist-wrapper .btn-pill-compact .circle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}

.shringr-wishlist-wrapper .btn-pill-compact:hover {
  background: var(--gold);
  color: var(--noir);
  box-shadow: 0 8px 20px rgba(176, 138, 69, 0.3);
}

.shringr-wishlist-wrapper .btn-pill-compact:hover .circle-icon {
  background: var(--noir);
  color: var(--gold-bright);
  transform: rotate(45deg);
}

/* 2. GRID & CARD ARCHITECTURE */
.shringr-wishlist-wrapper .wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.shringr-wishlist-wrapper .wishlist-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

.shringr-wishlist-wrapper .wishlist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 10, 8, 0.08);
  border-color: var(--gold);
}

.shringr-wishlist-wrapper .wishlist-card.removing {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.shringr-wishlist-wrapper .product-img-box {
  position: relative;
  width: 100%;
  height: 310px;
  background: var(--stone);
  overflow: hidden;
}

.shringr-wishlist-wrapper .product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  display: block;
}

.shringr-wishlist-wrapper .wishlist-card:hover .product-img-box img {
  transform: scale(1.05);
}

.shringr-wishlist-wrapper .stock-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 10, 8, 0.85);
  color: var(--gold-pale);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 184, 118, 0.3);
  z-index: 2;
}

.shringr-wishlist-wrapper .remove-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--ink-muted);
  transition: var(--ease);
}

.shringr-wishlist-wrapper .remove-wishlist-btn svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  stroke: #7A7166 !important;
  fill: none !important;
  pointer-events: none;
}

.shringr-wishlist-wrapper .remove-wishlist-btn:hover {
  background: var(--bordeaux);
  color: #fff;
  border-color: var(--bordeaux);
  transform: scale(1.1);
}

.shringr-wishlist-wrapper .remove-wishlist-btn:hover svg {
  stroke: #ffffff !important;
}

.shringr-wishlist-wrapper .product-content {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shringr-wishlist-wrapper .product-category {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.shringr-wishlist-wrapper .product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.3s;
}

.shringr-wishlist-wrapper .product-title:hover {
  color: var(--bordeaux);
}

.shringr-wishlist-wrapper .price-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(228, 218, 194, 0.8);
  gap: 10px;
}

/* 3. DYNAMIC PRICE TYPOGRAPHY & HIERARCHY */
.shringr-wishlist-wrapper .price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.shringr-wishlist-wrapper .current-price {
  display: flex;
  flex-direction: column-reverse; /* Current active sale price stays on top */
  gap: 1px;
}

.shringr-wishlist-wrapper .current-price,
.shringr-wishlist-wrapper .current-price ins,
.shringr-wishlist-wrapper .current-price > .woocommerce-Price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.shringr-wishlist-wrapper .current-price del {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: line-through;
  opacity: 0.75;
  line-height: 1.15;
  white-space: nowrap;
}

.shringr-wishlist-wrapper .current-price del .woocommerce-Price-amount {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

/* 4. QUANTITY PICKER (FIXED) */
.shringr-wishlist-wrapper .qty-picker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: var(--ivory) !important;
  border: 1px solid var(--line) !important;
  border-radius: 30px !important;
  padding: 0 4px !important;
  height: 32px !important;
  width: 90px !important;
  min-width: 90px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  position: relative;
  z-index: 2;
}

.shringr-wishlist-wrapper .qty-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--ink) !important;
  font-size: 1.05rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  transition: var(--ease);
}

.shringr-wishlist-wrapper .qty-btn:hover {
  background: var(--gold) !important;
  color: var(--noir) !important;
}

.shringr-wishlist-wrapper .qty-input {
  width: 28px !important;
  min-width: 28px !important;
  height: auto !important;
  text-align: center !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  opacity: 1 !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

/* 5. ADD TO BAG BUTTON */
.shringr-wishlist-wrapper .add-to-cart-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  background: var(--ivory);
  color: var(--ink);
  padding: 5px 22px 5px 5px;
  border-radius: 40px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ease);
  font-family: 'Jost', sans-serif;
  position: relative;
}

.shringr-wishlist-wrapper .add-to-cart-btn span:not(.hero-btn-circle-gold) {
  flex-grow: 1;
  text-align: center;
  padding-right: 10px;
}

.shringr-wishlist-wrapper .hero-btn-circle-gold {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
  flex-shrink: 0;
}

.shringr-wishlist-wrapper .add-to-cart-btn:hover {
  background: var(--noir);
  border-color: var(--noir);
  color: var(--gold-bright);
  box-shadow: 0 10px 25px rgba(176, 138, 69, 0.25);
}

.shringr-wishlist-wrapper .add-to-cart-btn:hover .hero-btn-circle-gold {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--noir);
}

.shringr-wishlist-wrapper .product-date-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.6px;
  margin-top: 14px;
  font-weight: 400;
}

.shringr-wishlist-wrapper .product-date-footer svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* 6. EMPTY STATE */
.shringr-wishlist-wrapper .empty-wishlist {
  display: none;
  text-align: center;
  padding: 70px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  max-width: 580px;
  margin: 20px auto 0;
}

.shringr-wishlist-wrapper .empty-wishlist.active {
  display: block;
}

.shringr-wishlist-wrapper .empty-icon-seal {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shringr-wishlist-wrapper .empty-icon-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  transform: rotate(45deg);
  border-radius: 4px;
}

.shringr-wishlist-wrapper .empty-icon-seal svg {
  position: relative;
  z-index: 2;
  color: var(--gold);
}

.shringr-wishlist-wrapper .empty-wishlist h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.shringr-wishlist-wrapper .empty-wishlist p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 26px;
  font-weight: 300;
}

.shringr-wishlist-wrapper .btn-gold-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--noir);
  color: var(--gold-bright);
  padding: 6px 26px 6px 8px;
  border-radius: 40px;
  border: 1px solid var(--gold);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--ease);
  text-decoration: none;
}

.shringr-wishlist-wrapper .btn-gold-action .circle-gold {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}

.shringr-wishlist-wrapper .btn-gold-action:hover {
  background: var(--gold);
  color: var(--noir);
  box-shadow: 0 10px 25px rgba(176, 138, 69, 0.35);
}

.shringr-wishlist-wrapper .btn-gold-action:hover .circle-gold {
  transform: rotate(45deg);
  background: var(--noir);
  color: var(--gold-bright);
}

/* 7. TOAST NOTIFICATION WITH DYNAMIC SVG ICONS */
.shringr-toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(11, 10, 8, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.76rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  z-index: 999999;
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
  text-align: center;
  line-height: 1.35;
}

.shringr-toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.shringr-toast-notice .toast-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.shringr-toast-notice .toast-icon-wrap svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

.shringr-toast-notice .toast-facet-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .shringr-wishlist-wrapper .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .shringr-wishlist-wrapper .product-img-box { height: 280px; }
}

@media (max-width: 768px) {
  .shringr-wishlist-wrapper .wishlist-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
	.shringr-wishlist-wrapper {padding: 10px 5px 80px;}
  .shringr-wishlist-wrapper .wishlist-grid { grid-template-columns: 1fr; gap: 20px; }
  .shringr-wishlist-wrapper .product-img-box { height: 290px; }
}

@media (max-width: 480px) {
  .shringr-wishlist-wrapper .wishlist-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .shringr-wishlist-wrapper .wishlist-actions-bar {
    width: 100%;
    justify-content: space-between;
	gap: 10px;
  }
  .shringr-wishlist-wrapper .btn-pill-compact {
    padding: 6px 14px 6px 6px;
    font-size: 0.7rem;
    gap: 8px;
  }
  .shringr-wishlist-wrapper .btn-pill-compact .circle-icon {
    width: 24px;
    height: 24px;
  }
  .shringr-wishlist-wrapper .btn-text-action {
    font-size: 0.72rem;
  }
	
}

@media (max-width: 420px) {
  .shringr-wishlist-wrapper .product-img-box { height: 260px; }
  .shringr-wishlist-wrapper .product-content { padding: 18px 16px 16px; }
  .shringr-wishlist-wrapper .product-title { font-size: 1.28rem; }
  .shringr-wishlist-wrapper .current-price { font-size: 1.25rem; }
  .shringr-wishlist-wrapper .add-to-cart-btn { padding: 4px 14px 4px 5px; font-size: 0.72rem; }
  .shringr-wishlist-wrapper .hero-btn-circle-gold { width: 30px; height: 30px; }
  .shringr-wishlist-wrapper .hero-btn-circle-gold svg { width: 12px; height: 12px; }
}