/* 1Ürün1Gün — Frontend Styles */

/* ── Countdown ── */
.oug-countdown {
    background: #fff;
    border: 1px solid #e8e6e0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.oug-countdown__label {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9a9890;
    margin-bottom: 12px;
}
.oug-countdown__digits {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.oug-countdown__block {
    background: #f5f4f0;
    border: 1px solid #e4e2da;
    border-radius: 10px;
    padding: 10px 14px 8px;
    min-width: 60px;
    text-align: center;
}
.oug-countdown__block span {
    display: block;
    font-family: 'DM Mono', monospace, monospace;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    color: #1a1a1e;
}
.oug-countdown__block small {
    display: block;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9a9890;
    margin-top: 4px;
}
.oug-countdown__block span.is-urgent { color: #d43030; }
.oug-sep { font-size: 22px; color: #ccc; margin-bottom: 8px; }

/* ── Stock Bar ── */
.oug-stock {
    background: #fff;
    border: 1px solid #e8e6e0;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.oug-stock__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.oug-stock__label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9a9890;
}
.oug-stock__count {
    font-family: monospace;
    font-size: 18px;
    color: #1a1a1e;
}
.oug-stock__bar {
    height: 8px;
    background: #f0eee8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.oug-stock__fill {
    height: 100%;
    background: #1a1a1e;
    border-radius: 8px;
    transition: width .6s ease;
}
.oug-stock__tier {
    font-size: 13px;
    color: #6a6860;
}
.oug-stock__tier strong { color: #d4800a; }

/* ── Tier List ── */
.oug-tiers {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    background: #fff;
    border: 1px solid #e8e6e0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.oug-tiers__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid #f0eee8;
    font-size: 13px;
    color: #9a9890;
    transition: background .15s;
}
.oug-tiers__item:last-child { border-bottom: none; }
.oug-tiers__item.is-active {
    background: #fdf8ee;
    color: #1a1a1e;
    font-weight: 600;
}
.oug-tiers__item.is-done { opacity: .45; }
.oug-tiers__bonus { font-family: monospace; color: #d4800a; font-weight: 600; }
.oug-tiers__item.is-done .oug-tiers__bonus { color: #c4a060; }

/* ── Upcoming Products — kart grid ── */
.oug-section-title {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8e8e93;
    margin-bottom: 12px;
    font-weight: 600;
}

.oug-upcoming__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.oug-upcoming__card {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}

.oug-upcoming__card:hover {
    border-color: #c7c7ca;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.oug-upcoming__img {
    aspect-ratio: 1;
    background: #f5f5f7;
    overflow: hidden;
}

.oug-upcoming__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oug-upcoming__img.is-blurred img { filter: blur(12px); transform: scale(1.1); }

.oug-upcoming__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #c7c7ca;
    aspect-ratio: 1;
}

.oug-upcoming__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oug-upcoming__day {
    font-size: 11px;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: .02em;
}

.oug-upcoming__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1e;
    line-height: 1.3;
    margin-bottom: 8px;
}

.oug-reminder-btn {
    display: block;
    width: 100%;
    background: #f5f5f7;
    border: 1px solid #e8e8ea;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #48484a;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    font-family: inherit;
}

.oug-reminder-btn:hover {
    background: #e8f1fd;
    border-color: #93c5fd;
    color: #0071e3;
}

/* ── Past Products — kart grid ── */
.oug-past__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.oug-past__card {
    background: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .15s;
}

.oug-past__card:hover { border-color: #c7c7ca; }

.oug-past__thumb {
    aspect-ratio: 1;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.oug-past__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
}

.oug-past__ended-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(215,0,21,.9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: .03em;
}

.oug-past__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.oug-past__date {
    font-size: 11px;
    color: #8e8e93;
    font-weight: 500;
}

.oug-past__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1e;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.oug-past__bar {
    height: 4px;
    background: #e8e8ea;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.oug-past__fill { height: 100%; background: #0071e3; border-radius: 4px; }
.oug-past__card.is-full .oug-past__fill { background: #1d8348; }

.oug-past__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #8e8e93;
    font-weight: 500;
}

.oug-past__bonus-info { color: #f57c00; font-weight: 700; }
.oug-past__card.is-full .oug-past__stats { color: #1d8348; }

@media (max-width: 500px) {
    .oug-upcoming__grid,
    .oug-past__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── My Account: Credits ── */
.oug-credits-balance {
    background: #fdf8ee;
    border: 1px solid #f0d890;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.oug-credits-balance__amount { font-size: 36px; font-weight: 700; color: #d4800a; font-family: monospace; }
.oug-credits-balance__label  { font-size: 13px; color: #9a9890; }
.oug-credits-history { width: 100%; border-collapse: collapse; font-size: 14px; }
.oug-credits-history th { text-align: left; padding: 8px 12px; border-bottom: 2px solid #e8e6e0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9a9890; }
.oug-credits-history td { padding: 10px 12px; border-bottom: 1px solid #f5f4f0; }
.oug-credits-history .is-pos { color: #2a922a; font-weight: 600; }
.oug-credits-history .is-neg { color: #d43030; }
