/* ========================================
   STICKY ADD TO CART - Gold Accent with Ribbon
   Mobile Only
   ======================================== */

.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white, #ffffff);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none; /* Hidden by default */
}

/* Only show on mobile (768px and below) */
@media (max-width: 768px) {
    .sticky-cart {
        display: block;
    }
}

.sticky-cart.visible {
    transform: translateY(0);
}

/* Gold accent line at top */
.sticky-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--gold-dark, #a68a42),
        var(--gold-light, #d4b76a),
        var(--gold-dark, #a68a42)
    );
}

/* Diagonal Ribbon */
.sticky-cart__ribbon {
    position: absolute;
    top: 14px;
    right: -32px;
    background: #c44a4a;
    color: #ffffff;
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(196, 74, 74, 0.4);
    z-index: 2;
}

.sticky-cart__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Product Info Section */
.sticky-cart__info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink, #0d1117);
    margin: 0 0 4px 0;
}

.sticky-cart__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sticky-cart__price-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-cart__price {
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-dark, #a68a42);
}

.sticky-cart__price-original {
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 14px;
    color: rgba(13, 17, 23, 0.5);
    text-decoration: line-through;
}

/* Selected Variation - Chip/Tag Style */
.sticky-cart__selected {
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 12px;
    color: var(--ink, #0d1117);
}

/* Actions Section */
.sticky-cart__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sticky-cart__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--ink, #0d1117);
    color: var(--white, #ffffff);
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sticky-cart__btn:hover {
    background: var(--gold, #c4a35a);
    color: var(--ink, #0d1117);
}

.sticky-cart__btn svg {
    width: 18px;
    height: 18px;
}

/* Hide sticky cart when original button is visible */
.sticky-cart--hidden {
    transform: translateY(100%) !important;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .sticky-cart__ribbon {
        top: 10px;
        right: -36px;
        font-size: 9px;
        padding: 5px 40px;
    }

    .sticky-cart__inner {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .sticky-cart__info {
        width: 100%;
        margin-bottom: 12px;
        padding-right: 60px; /* Space for ribbon */
    }

    .sticky-cart__info h3 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sticky-cart__meta {
        gap: 8px;
    }

    .sticky-cart__price {
        font-size: 18px;
    }

    .sticky-cart__price-original {
        font-size: 12px;
    }

    .sticky-cart__selected {
        font-size: 11px;
        padding: 3px 8px;
    }

    .sticky-cart__actions {
        width: 100%;
    }

    .sticky-cart__btn {
        flex: 1;
        justify-content: center;
        padding: 14px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sticky-cart__info {
        padding-right: 50px;
    }

    .sticky-cart__info h3 {
        font-size: 13px;
    }

    .sticky-cart__ribbon {
        top: 8px;
        right: -38px;
        font-size: 8px;
        padding: 4px 40px;
    }
}

/* ========================================
   PRODUCT PAGE PRICE - 70% OFF BADGE
   Light Red Background - Below Price
   ======================================== */
.lw-price-badge {
    display: block;
    width: fit-content;
    background: rgba(196, 74, 74, 0.12);
    color: #c44a4a;
    font-family: 'Jost', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .lw-price-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}
