/* =========================
   Camo Matrix – Price Drops
   ========================= */

/* Container */
.cmup-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background-color: #3e3e3e;
    border-radius: 6px;
}

/* Page Title */
.cmup-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #ffffff;
}

/* Subtitle */
.cmup-subtitle {
    text-align: center;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Section Headings (per-day) */
.cmup-headline {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 25px 0 12px;
}

/* List wrapper */
.cmup-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Individual price drop row */
.cmup_update {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    background-color: #2b2b2b;
    border-radius: 6px;
    border-left: 4px solid #555;
    transition: background-color 0.2s ease-in-out;
}

.cmup_update:hover {
    background-color: #333;
}

/* Thumbnail / logo */
.cmup_logo img {
    width: 72px;          /* sweet spot between 60–80 */
    max-width: 72px;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Content area */
.cmup_content {
    flex: 1;
    min-width: 0; /* prevents overflow on long names */
}

/* Meta line (brand + % off) */
.cmup-meta {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Product headline */
.cmup_headline {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.cmup_headline a {
    color: #ffffff;
    text-decoration: none;
}

.cmup_headline a:hover {
    text-decoration: underline;
}

/* Action buttons */
.cmup_actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.cmup_btn {
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

/* View product button */
.cmup_btn_shop {
    background-color: #d9534f;
    color: #ffffff;
}

.cmup_btn_shop:hover {
    background-color: #b52b27;
}

/* Footer/source note */
.cmup-container .cmup-meta:last-of-type {
    margin-top: 35px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* =========================
   Mobile adjustments
   ========================= */
@media (max-width: 768px) {

    .cmup-container {
        padding: 16px;
    }

    .cmup_update {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .cmup_logo img {
        width: 80px;
        max-width: 80px;
        margin-bottom: 6px;
    }

    .cmup_headline {
        font-size: 17px;
    }

    .cmup_actions {
        justify-content: center;
    }

    .cmup_btn {
        width: 100%;
        max-width: 260px;
    }
}
/* Category badge */
.cmup-category {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #555;
    color: #eee;
    margin-bottom: 6px;
    opacity: 0.9;
}
/* =========================
   Price Drop Category Filter
   ========================= */

.cmup-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 25px;
    padding: 12px 16px;
    background: #2b2b2b;
    border: 1px solid #555;
    border-radius: 8px;
    max-width: 420px;
}

.cmup-filter label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.cmup-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #666;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    min-width: 180px;
    cursor: pointer;
}

/* Chevron indicator */
.cmup-filter select {
    background-image:
      linear-gradient(45deg, transparent 50%, #ccc 50%),
      linear-gradient(135deg, #ccc 50%, transparent 50%);
    background-position:
      calc(100% - 18px) calc(50% - 4px),
      calc(100% - 12px) calc(50% - 4px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* =========================
   Mobile emphasis
   ========================= */
@media (max-width: 768px) {

    .cmup-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-width: 100%;
        margin: 20px 0 30px;
    }

    .cmup-filter label {
        font-size: 15px;
        text-align: center;
    }

    .cmup-filter select {
        width: 100%;
        font-size: 16px; /* prevents iOS zoom */
        padding: 12px 14px;
    }
}
