/* ════════════════════════════════════
   WISHLIST — Heart icon
   ════════════════════════════════════ */
.dakot-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1.5px solid #E5E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.18s;
    backdrop-filter: blur(4px);
    padding: 0;
}
.dakot-wish-btn:hover {
    transform: scale(1.08);
    border-color: #EF4444;
    box-shadow: 0 4px 10px rgba(239,68,68,0.18);
}
.dakot-wish-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #6B7280;
    stroke-width: 2;
    transition: all 0.2s;
}
.dakot-wish-btn.active {
    background: #EF4444;
    border-color: #DC2626;
}
.dakot-wish-btn.active svg {
    fill: #fff;
    stroke: #fff;
}
.dakot-wish-btn.active:hover {
    transform: scale(1.12);
}
/* For card containers — make sure they're position relative */
.jet-woo-products__inner-box,
ul.products li.product,
.dh-pcard,
.du-card {
    position: relative;
}

/* Header wishlist counter */
.dakot-wish-header {
    position: fixed;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    text-decoration: none;
    border: 0;
    padding: 0;
    transition: all 0.2s;
}
.dakot-wish-header:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 6px 18px rgba(239,68,68,0.25);
}
.dakot-wish-header svg {
    width: 22px; height: 22px; fill: #EF4444; stroke: #EF4444;
}
.dakot-wish-header-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.dakot-wish-header.empty { display: none; }

/* Wishlist page modal */
.dakot-wish-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
    backdrop-filter: blur(6px);
}
.dakot-wish-modal.open { display: flex; align-items: center; justify-content: center; padding: 20px; }
.dakot-wish-modal-inner {
    background: #fff;
    border-radius: 22px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    direction: rtl;
}
.dakot-wish-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dakot-wish-modal-header h3 { margin: 0; font-size: 20px; font-weight: 800; color: #1F2937; }
.dakot-wish-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: #F3F4F6; border: none;
    font-size: 18px; cursor: pointer; color: #6B7280;
}
.dakot-wish-list { padding: 16px 24px 24px; }
.dakot-wish-empty { padding: 40px 20px; text-align: center; color: #6B7280; }
.dakot-wish-empty p { font-size: 16px; margin: 0 0 6px; }
.dakot-wish-empty small { font-size: 13px; }
.dakot-wish-item {
    display: flex; gap: 14px; padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    align-items: center;
}
.dakot-wish-item:last-child { border-bottom: none; }
.dakot-wish-item img {
    width: 60px; height: 60px; border-radius: 10px; object-fit: cover;
    background: #F5F0E8;
}
.dakot-wish-item-info { flex: 1; min-width: 0; }
.dakot-wish-item-name {
    font-size: 14px; font-weight: 700; color: #1F2937;
    margin: 0 0 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dakot-wish-item-price { font-size: 14px; color: #1a5f87; font-weight: 700; }
.dakot-wish-item-actions { display: flex; gap: 6px; }
.dakot-wish-item-btn {
    background: #1a5f87; color: #fff; border: none;
    padding: 6px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 700; cursor: pointer;
    text-decoration: none;
    font-family: 'Assistant', sans-serif;
}
.dakot-wish-item-btn.remove { background: #F3F4F6; color: #6B7280; }

/* ════════════════════════════════════
   SALE BADGE — corner ribbon
   ════════════════════════════════════ */
.dakot-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
    letter-spacing: 0.5px;
}


.dakot-wish-btn:focus-visible, .dakot-wish-header:focus-visible,
.dakot-wish-modal button:focus-visible, .dakot-wish-modal a:focus-visible {
    outline: 3px solid #166b90; outline-offset: 3px;
}
.dakot-wish-item-info small { display: block; color: #596573; font-size: 12px; }
@media (max-width: 480px) {
    .dakot-wish-list { padding: 12px 16px; }
    .dakot-wish-item { flex-wrap: wrap; gap: 10px; }
    .dakot-wish-item-info { min-width: 150px; }
    .dakot-wish-item-actions { width: 100%; justify-content: flex-end; }
    .dakot-wish-item-btn { min-height: 44px; display: inline-flex; align-items: center; }
}

.dakot-wish-btn.dakot-wish-single { position: static; margin-right: 10px; flex-shrink: 0; }
