/* Frontend Styles for Daily Random Discounts */
.drd-discount-timer {
    margin-top: 10px;
    padding: 12px 16px;
    background: linear-gradient(90deg, #ffeaa7, #fab1a0);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3436;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.drd-discount-timer.blink {
    animation: blink 1s infinite;
}

.drd-discount-timer.expired {
    background: #ccc;
    color: #666;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.drd-discount-timer .drd-timer-icon {
    font-size: 18px;
}

.drd-discount-timer .drd-timer-phrase {
    margin-right: 8px;
}

.drd-discount-timer .drd-timer {
    font-size: 14px;
}

.drd-timer-divider {
    border: none;
    border-top: 2px solid #e17055;
    margin-top: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.drd-discount-tag {
    display: inline-block;
    background: #e17055;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.drd-deals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.drd-deal-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.drd-deal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.drd-deal-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.drd-deal-item h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #23282d;
}

.drd-deals-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.drd-deal-item-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
}

.drd-deal-item-sidebar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.drd-deal-item-sidebar .drd-timer-small {
    font-weight: bold;
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 5px;
}
?>