/* ============================================================
   Deal Card for Elementor — deal-card.css v1.0.0
   ============================================================ */

/* ── Card shell ── */
.dc-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .10);
    max-width: 420px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

/* ── Image wrap ── */
.dc-image-wrap {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: 16 / 9;
}
.dc-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.dc-card:hover .dc-product-img {
    transform: scale(1.04);
}

/* ── HOT DEAL badge ── */
.dc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ff6b35;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px 6px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    animation: dcBadgePop .4s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes dcBadgePop {
    from { transform: scale(.6); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}
.dc-badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Wishlist button ── */
.dc-wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    z-index: 2;
    transition: transform .2s ease, box-shadow .2s ease;
}
.dc-wishlist-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.dc-wishlist-btn svg { width: 18px; height: 18px; }
.dc-wishlist-btn.is-wishlisted svg path {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* ── Timer pill ── */
.dc-timer {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .95);
    border: 1.5px solid #2ecc71;
    color: #2a7a4b;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px 5px 8px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}
.dc-timer-icon {
    width: 14px;
    height: 14px;
    color: #2ecc71;
}

/* ── Body ── */
.dc-body {
    padding: 16px 18px 14px;
}

/* ── Category & Brand tags ── */
.dc-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.dc-category,
.dc-brand {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: .02em;
}
.dc-category {
    background: #1a5f5e;
    color: #fff;
}
.dc-brand {
    background: #1a5f5e;
    color: #fff;
}

/* ── Title ── */
.dc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0 0 7px;
}

/* ── Description ── */
.dc-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 14px;
}

/* ── Pricing box ── */
.dc-pricing-box {
    background: #fff3f0;
    border: 1.5px solid #ffb89a;
    border-radius: 12px;
    padding: 12px 14px;
}

/* ── Action row (Verified + Share) — top of pricing box ── */
.dc-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffd5c2;
    flex-wrap: wrap;
}
.dc-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1.5px solid #2ecc71;
    color: #2a7a4b;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    background: #f0fdf4;
}
.dc-verified svg { width: 14px; height: 14px; flex-shrink: 0; }

.dc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background .2s ease;
}
.dc-share-btn:hover { background: #2d2d4a; }
.dc-share-btn svg   { width: 14px; height: 14px; }

/* ── Prices row ── */
.dc-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}
.dc-original-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.dc-sale-price {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b35;
    line-height: 1;
}

/* ── Discount + Coupon row ── */
.dc-pricing-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dc-discount {
    font-size: 22px;
    font-weight: 800;
    color: #ff6b35;
}
.dc-coupon-btn {
    background: #2ecc71;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background .2s ease, transform .15s ease;
    position: relative;
}
.dc-coupon-btn:hover { background: #27ae60; transform: translateY(-1px); }
.dc-coupon-btn.copied {
    background: #16a34a;
}
.dc-coupon-btn .dc-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
}
.dc-coupon-btn.copied .dc-tooltip { display: block; }

/* ── Footer ── */
.dc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 14px;
    gap: 10px;
}
.dc-store {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 7px 14px;
    min-width: 0;
    flex-shrink: 0;
}
.dc-store-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.dc-store-name-text {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}

/* ── CTA ── */
.dc-cta-wrap {
    display: flex;
    align-items: stretch;
    flex: 1;
}
.dc-cta-btn {
    background: #ff4757;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    transition: background .2s ease;
    white-space: nowrap;
}
.dc-cta-btn:hover { background: #e8394a; color: #fff; }
.dc-cta-badge {
    border: 2px dashed #ff4757;
    color: #ff4757;
    font-size: 11px;
    font-weight: 700;
    padding: 0 10px;
    border-radius: 0 10px 10px 0;
    border-left: none;
    background: #fff;
    white-space: nowrap;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .dc-sale-price { font-size: 22px; }
    .dc-discount   { font-size: 18px; }
    .dc-cta-btn    { font-size: 12px; padding: 10px 14px; }
}
