/* ============================================================
   SGLS EXPIRED PRODUCT PAGE — redesigned
   Add to: wp-content/themes/sgls-child-fixed/sgls-expired.css
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.sgls-product-expired {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px 60px;
}

/* ── Two-column layout ───────────────────────────────────── */
.sgls-product-expired__wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

/* ── Status banner ───────────────────────────────────────── */
.sgls-product-expired__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    color: #92400E;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* ── Product title ───────────────────────────────────────── */
.sgls-product-expired__title {
    font-family: "Merriweather", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* ── Meta grid ───────────────────────────────────────────── */
.sgls-product-expired__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #E5EDE7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.sgls-product-expired__meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    border-bottom: 1px solid #E5EDE7;
    border-right: 1px solid #E5EDE7;
}

.sgls-product-expired__meta-item:nth-child(even) {
    border-right: none;
}

.sgls-product-expired__meta-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.sgls-product-expired__meta-label {
    font-family: "Source Sans 3", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.sgls-product-expired__meta-value {
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
}

.sgls-product-expired__meta-value--expired {
    color: #A32D2D;
    font-weight: 600;
}

/* ── Body text ───────────────────────────────────────────── */
.sgls-product-expired__body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* ── Action buttons ──────────────────────────────────────── */
.sgls-product-expired__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sgls-product-expired__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.sgls-product-expired__sidebar-box {
    background: #F9FBF9;
    border: 1px solid #C0DEC8;
    border-radius: 12px;
    padding: 18px 20px;
}

.sgls-product-expired__sidebar-box--muted {
    background: #FAFAFA;
    border-color: #E5E5E5;
}

.sgls-product-expired__sidebar-title {
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.sgls-product-expired__sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sgls-product-expired__sidebar-list li::before {
    content: "→ ";
    color: #007A3D;
    font-weight: 600;
}

.sgls-product-expired__sidebar-list a {
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    color: #007A3D;
    text-decoration: none;
    font-weight: 500;
}

.sgls-product-expired__sidebar-list a:hover {
    text-decoration: underline;
}

.sgls-product-expired__sidebar-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.sgls-product-expired__contact-link {
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    color: #007A3D;
    font-weight: 600;
    text-decoration: none;
}

.sgls-product-expired__contact-link:hover {
    text-decoration: underline;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .sgls-product-expired__wrap {
        grid-template-columns: 1fr;
    }

    .sgls-product-expired__sidebar {
        position: static;
    }

    .sgls-product-expired__title {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .sgls-product-expired {
        padding: 0 16px 40px;
    }

    .sgls-product-expired__meta {
        grid-template-columns: 1fr;
    }

    .sgls-product-expired__meta-item {
        border-right: none;
    }

    .sgls-product-expired__meta-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #E5EDE7;
    }

    .sgls-product-expired__meta-item:last-child {
        border-bottom: none;
    }

    .sgls-product-expired__actions {
        flex-direction: column;
    }
}
