:root {
    --miromax-green: #008763;
    --miromax-green-dark: #006f52;
    --miromax-mint: #e9fbf5;
    --miromax-ink: #06142e;
    --miromax-muted: #53657c;
    --miromax-line: rgba(0, 135, 99, 0.16);
    --miromax-bg: #f6fbf8;
}

.miromax-auctions-page,
.miromax-auction-detail,
.miromax-my-bids {
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 20px 70px;
    color: var(--miromax-ink);
    font-family: inherit;
}

.miromax-auctions-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eafbf5 100%);
    border: 1px solid var(--miromax-line);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 54px);
    margin-bottom: 34px;
    box-shadow: 0 20px 60px rgba(8, 44, 37, 0.08);
}

.miromax-auctions-hero span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #dff8ee;
    color: var(--miromax-green);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 14px;
}

.miromax-auctions-hero h1,
.miromax-auction-detail h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--miromax-ink);
}

.miromax-auctions-hero p {
    margin: 0;
    color: var(--miromax-muted);
    font-size: 18px;
    line-height: 1.65;
    max-width: 760px;
}

.miromax-auctions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.miromax-auction-card {
    background: #ffffff;
    border: 1px solid rgba(6, 20, 46, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(6, 20, 46, 0.08);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.miromax-auction-image {
    display: flex;
    height: 220px;
    background: linear-gradient(135deg, #07322b, #0b2447);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

.miromax-auction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.miromax-auction-card:hover .miromax-auction-image img {
    transform: scale(1.035);
}

.miromax-auction-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.miromax-auction-status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: #dff8ee;
    color: var(--miromax-green);
    margin-bottom: 14px;
}

.miromax-auction-status.is-ended,
.miromax-auction-status.is-cancelled {
    background: #f1f4f7;
    color: #64748b;
}

.miromax-auction-status.is-scheduled {
    background: #fff2d6;
    color: #9a6700;
}

.miromax-auction-card h2 {
    margin: 0 0 12px;
    font-size: clamp(21px, 2vw, 30px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em;
    color: var(--miromax-ink);
    overflow-wrap: anywhere;
}

.miromax-auction-card h2 a {
    color: inherit;
    text-decoration: none;
}

.miromax-auction-card h2 a:hover {
    color: var(--miromax-green);
}

.miromax-auction-card p {
    color: var(--miromax-muted);
    line-height: 1.55;
    margin: 0 0 18px;
}

.miromax-auction-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(6, 20, 46, 0.08);
    padding-top: 14px;
    margin-top: auto;
}

.miromax-auction-meta span {
    color: var(--miromax-muted);
    font-weight: 700;
    font-size: 14px;
}

.miromax-auction-meta strong {
    color: var(--miromax-green);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.miromax-auction-meta.is-small {
    border-top: 0;
    padding-top: 8px;
    margin-top: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.miromax-auction-meta.is-small span {
    font-size: 13px;
}

.miromax-auction-button,
.miromax-bid-form button,
.miromax-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--miromax-green);
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none !important;
    border: 0;
    margin-top: 18px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 135, 99, 0.18);
    transition: transform 0.18s ease, background 0.18s ease;
}

.miromax-auction-button:hover,
.miromax-bid-form button:hover,
.miromax-back-link:hover {
    background: var(--miromax-green-dark);
    transform: translateY(-1px);
}

.miromax-back-link {
    background: #ffffff;
    color: var(--miromax-green) !important;
    border: 1px solid var(--miromax-line);
    box-shadow: none;
    margin: 0 0 22px;
}

.miromax-auction-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: 28px;
    align-items: start;
}

.miromax-auction-detail-grid.is-lower {
    margin-top: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.miromax-auction-gallery,
.miromax-auction-summary,
.miromax-auction-description,
.miromax-bid-panel {
    background: #ffffff;
    border: 1px solid rgba(6, 20, 46, 0.08);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 46px rgba(6, 20, 46, 0.07);
}

.miromax-auction-gallery {
    padding: 0;
    overflow: hidden;
}

.miromax-auction-gallery img,
.miromax-auction-placeholder {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #07322b, #0b2447);
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
}

.miromax-price-box {
    background: var(--miromax-mint);
    border: 1px solid var(--miromax-line);
    border-radius: 20px;
    padding: 18px;
    margin: 20px 0;
}

.miromax-price-box span {
    display: block;
    color: var(--miromax-muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.miromax-price-box strong {
    color: var(--miromax-green);
    font-size: 34px;
    font-weight: 950;
}

.miromax-auction-facts {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid rgba(6, 20, 46, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.miromax-auction-facts li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(6, 20, 46, 0.08);
}

.miromax-auction-facts li:last-child {
    border-bottom: 0;
}

.miromax-auction-facts span {
    color: var(--miromax-muted);
    font-weight: 700;
}

.miromax-auction-facts strong {
    color: var(--miromax-ink);
    text-align: right;
}

.miromax-safe-note,
.miromax-bid-disclaimer {
    background: #e9fbf5;
    border: 1px solid var(--miromax-line);
    border-radius: 16px;
    padding: 14px 16px;
    color: #105c49;
    font-weight: 700;
}

.miromax-auction-description h2,
.miromax-bid-panel h2,
.miromax-my-bids h1 {
    margin-top: 0;
    color: var(--miromax-ink);
    letter-spacing: -0.03em;
}

.miromax-bid-form label {
    display: block;
    color: var(--miromax-ink);
    font-weight: 800;
    margin-bottom: 14px;
}

.miromax-bid-form input,
.miromax-bid-form textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid rgba(6, 20, 46, 0.16);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 16px;
    box-sizing: border-box;
    background: #ffffff;
}

.miromax-bid-form input:focus,
.miromax-bid-form textarea:focus {
    outline: 2px solid rgba(0, 135, 99, 0.16);
    border-color: var(--miromax-green);
}

.miromax-notice {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 800;
}

.miromax-notice.success {
    background: #e9fbf5;
    color: #105c49;
    border: 1px solid var(--miromax-line);
}

.miromax-notice.error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.miromax-empty-state {
    background: #ffffff;
    border: 1px solid rgba(6, 20, 46, 0.08);
    border-radius: 26px;
    padding: 44px;
    text-align: center;
    box-shadow: 0 18px 46px rgba(6, 20, 46, 0.07);
}

.miromax-my-bids table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.miromax-my-bids th,
.miromax-my-bids td {
    padding: 14px;
    border-bottom: 1px solid rgba(6, 20, 46, 0.08);
    text-align: left;
}

.miromax-my-bids th {
    background: #f6fbf8;
    color: var(--miromax-ink);
}

@media (max-width: 1020px) {
    .miromax-auctions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .miromax-auction-detail-grid,
    .miromax-auction-detail-grid.is-lower {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .miromax-auctions-page,
    .miromax-auction-detail,
    .miromax-my-bids {
        padding: 28px 14px 48px;
    }

    .miromax-auctions-grid {
        grid-template-columns: 1fr;
    }

    .miromax-auction-card h2 {
        font-size: 24px !important;
    }

    .miromax-auction-gallery img,
    .miromax-auction-placeholder {
        min-height: 280px;
    }
}
