/* Ticker Wrapper */
.odm-ticker-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #fffbf0, #fff);
    border: 1px solid #e8dcb5;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 15px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.odm-icon { margin-right: 10px; display: flex; align-items: center; }

/* Ticker Content */
.odm-ticker-content {
    flex-grow: 1;
    height: 20px; /* Exact height of one item */
    overflow: hidden;
    position: relative;
}

.odm-ticker-slide {
    display: flex;
    flex-direction: column;
    /* CSS Animation removed. Controlled by JS now */
    transition: transform 0.5s ease-in-out; /* Smooth JS movement */
}

.odm-tick-item {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.odm-trigger {
    font-size: 12px;
    color: #bfa058;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 10px;
}

/* Popup Overlay */
.odm-sheet-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999999 !important; /* Force on top */
    align-items: flex-end; /* Mobile bottom sheet style */
    justify-content: center;
}

.odm-sheet {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    animation: odmSheetUp 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes odmSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.odm-sheet-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px;
}
.odm-sheet-header h3 { margin: 0; font-size: 18px; color: #333; }
.odm-close { font-size: 24px; cursor: pointer; color: #999; }

/* Accordion Cards */
.odm-offer-card {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.odm-offer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fffef9; /* Slight gold tint */
    cursor: pointer;
    transition: background 0.2s;
}

.odm-offer-head:hover { background: #fdf8e6; }

.odm-head-left { display: flex; align-items: flex-start; }
.odm-gold-icon { color: #d4af37; margin-right: 12px; font-size: 18px; }
.odm-offer-head h4 { margin: 0; font-size: 18px; color: #222; font-weight: 600; }
.odm-offer-head small { color: #666; font-size: 16px; display: block; margin-top: 2px; }

.odm-head-right { padding-left: 10px; }
.odm-accordion-arrow {
    display: inline-block;
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.odm-offer-card.active .odm-accordion-arrow { transform: rotate(180deg); }

.odm-offer-desc {
    padding: 0 15px 15px 15px; /* Side padding matches header */
    color: #555;
    font-size: 17px;
    line-height: 1.5;
    background: #fffef9;
    border-top: 1px dashed #eee;
}
