/* 🔹 Shopping Summary Sidebar */
.shopping-summary {
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-size: 14px;
    max-width: 350px;
    width: 100%;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.shopping-summary h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* 🔹 Shopping Button */
.shopping-item {
    margin: 10px 0;
    display: flex;
    justify-content: center; /* 🔹 Centers buttons */
}

.shopping-button {
    display: inline-block;
    width: 90%; /* 🔹 Widen button */
    max-width: 300px; /* 🔹 Controls max width */
    background: #228800;
    border: 1px solid #228800;
    color: white;
    font-weight: 600;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 15px;
    transition: 0.3s;
}

.shopping-button:hover {
    background: #1a6600;
}

/* 🔹 Special Styling for Financing Button */
.shopping-button.financing {
    background: black;
    border: 1px solid white;
    color: white;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* 🔹 Financing Hover Effects */
.shopping-button.financing:hover {
    background: #333;
    transform: scale(1.1) rotate(-3deg); /* 🔹 Slight turn & enlarge */
    box-shadow: 3px 3px 10px rgba(181, 219, 92, 0.3); /* 🔹 Subtle glow */
}

/* 🔹 Hide Tooltip Initially */
/* 🔹 Tooltip Container */
.tooltip-js {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px;
    font-size: 12px;
    border-radius: 5px;
    max-width: 250px; /* 🔹 Prevents overflow */
    white-space: normal; /* 🔹 Allows line breaks */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
    pointer-events: none; /* Prevents flickering */
}

/* 🔹 Tooltip List */
.tooltip-js ul {
    list-style-type: disc; /* Adds bullet points */
    padding-left: 15px; /* Indents the list */
    margin: 0;
}

/* 🔹 Tooltip Arrow */
.tooltip-js::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

/* 🔹 Buy Now Tooltip (Hidden by Default) */
.buy-now-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    display: none; /* 🔹 Hidden by default */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    text-align: center;
}

/* 🔹 Tooltip Arrow */
.buy-now-tooltip::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
}

/* 🔹 Countdown Timer Text */
.buy-now-tooltip .countdown {
    font-size: 14px;
    font-weight: bold;
    color: #FFD700;
}

/* 🔹 Ensure Tooltip Appears Near Buy Now Header */
#buy-now-header {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
