@charset "utf-8";
/**
 * 恢复页通用样式（白屏修复阶段的最小可用版皮肤）
 * 著作权所有：深圳市爱租网络有限公司 2016-2026
 * Shenzhen iZucn Network Co.,Ltd. 2016-2026
 *
 * 作用域：body.recovery-page，仅服务以下 14 个补模板的页面
 *   receive / myship / catalog / tag_cloud / comment_repay / compare / gallery
 *   take_view / presale_area / quotation / brand_list / brandn_index / brandn_new / brandn_hot
 * 后续各页做专属设计时，在该页 dwt 换挂专属 css，本文件可逐段移除。
 * 颜色一律走 CSS 变量并带兜底，跟随站点主题配色。
 */

.recovery-page {
    background: #f5f5f5;
    color: var(--color-price, #2f2f34);
}

.recovery-page .content {
    padding: 20px 0 40px;
}

/* ---------- 通用卡片 / 面板 ---------- */
.recovery-page .rc-panel {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.recovery-page .rc-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary, #232f3e);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.recovery-page .rc-panel-title .rc-sub {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-inline-start: 8px;
}

/* ---------- 结果提示（确认收货 / 领取成功等） ---------- */
.recovery-page .rc-result {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 56px 24px 48px;
    text-align: center;
}

.recovery-page .rc-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--color-promo, #febd69);
    color: var(--color-primary, #232f3e);
    font-size: 34px;
    line-height: 1;
}

.recovery-page .rc-result-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary, #232f3e);
    margin-bottom: 12px;
    line-height: 1.5;
}

.recovery-page .rc-result-desc {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
}

.recovery-page .rc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---------- 按钮 ---------- */
.recovery-page .rc-btn {
    display: inline-block;
    min-width: 120px;
    padding: 0 22px;
    height: 38px;
    line-height: 36px;
    border: 1px solid var(--color-primary, #232f3e);
    border-radius: 3px;
    background: var(--color-primary, #232f3e);
    color: #fff;
    font-size: 14px;
    text-align: center;
    transition: opacity .2s;
}

.recovery-page .rc-btn:hover {
    opacity: .86;
    color: #fff;
}

.recovery-page .rc-btn-ghost {
    background: #fff;
    border-color: #ccc;
    color: var(--color-price, #2f2f34);
}

.recovery-page .rc-btn-ghost:hover {
    border-color: var(--color-primary, #232f3e);
    color: var(--color-primary, #232f3e);
}

.recovery-page .rc-btn-sm {
    min-width: 0;
    height: 30px;
    line-height: 28px;
    padding: 0 14px;
    font-size: 12px;
}

/* ---------- 筛选栏 ---------- */
.recovery-page .rc-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px 20px;
    margin-bottom: 16px;
}

.recovery-page .rc-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.recovery-page .rc-input,
.recovery-page .rc-select {
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    font-size: 13px;
    color: var(--color-price, #2f2f34);
    min-width: 120px;
}

.recovery-page .rc-input:focus,
.recovery-page .rc-select:focus {
    border-color: var(--color-primary, #232f3e);
    outline: none;
}

/* ---------- 商品网格 ---------- */
.recovery-page .rc-goods-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.recovery-page .rc-goods-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    transition: box-shadow .2s, border-color .2s;
}

.recovery-page .rc-goods-item:hover {
    border-color: var(--color-promo, #febd69);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.recovery-page .rc-goods-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 8px;
    text-align: center;
    overflow: hidden;
}

.recovery-page .rc-goods-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recovery-page .rc-goods-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-price, #2f2f34);
    margin-bottom: 6px;
}

.recovery-page .rc-goods-name {
    font-size: 12px;
    line-height: 1.5;
    height: 36px;
    overflow: hidden;
    color: #666;
}

.recovery-page .rc-goods-name a {
    color: #666;
}

.recovery-page .rc-goods-name a:hover {
    color: var(--color-primary, #232f3e);
}

/* ---------- 空状态 ---------- */
.recovery-page .rc-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

.recovery-page .rc-empty-text {
    font-size: 14px;
    color: #999;
}

/* ---------- 表格 ---------- */
.recovery-page .rc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}

.recovery-page .rc-table th,
.recovery-page .rc-table td {
    padding: 12px 14px;
    border: 1px solid #eee;
    text-align: start;
    vertical-align: top;
    line-height: 1.6;
}

.recovery-page .rc-table th {
    background: #fafafa;
    font-weight: 700;
    color: var(--color-primary, #232f3e);
    white-space: nowrap;
}

.recovery-page .rc-table tr:hover td {
    background: #fffdf7;
}

.recovery-page .rc-table .rc-td-name {
    min-width: 180px;
}

/* ---------- 标签云 ---------- */
.recovery-page .rc-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: baseline;
    padding: 20px 4px;
}

.recovery-page .rc-tag {
    line-height: 1.4;
    text-decoration: none;
    transition: opacity .2s;
}

.recovery-page .rc-tag:hover {
    opacity: .7;
    text-decoration: underline;
}

/* ---------- 分类目录 ---------- */
.recovery-page .rc-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.recovery-page .rc-cat-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px 16px;
}

.recovery-page .rc-cat-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.recovery-page .rc-cat-card h3 a {
    color: var(--color-primary, #232f3e);
}

.recovery-page .rc-cat-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.recovery-page .rc-cat-card li a {
    font-size: 12px;
    color: #666;
}

.recovery-page .rc-cat-card li a:hover {
    color: var(--color-primary, #232f3e);
}

/* ---------- 品牌页头 ---------- */
.recovery-page .rc-brand-head {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.recovery-page .rc-brand-logo {
    width: 120px;
    height: 80px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.recovery-page .rc-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recovery-page .rc-brand-info h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary, #232f3e);
    margin-bottom: 8px;
}

.recovery-page .rc-brand-info p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
}

/* ---------- 相册 ---------- */
.recovery-gallery {
    background: #1b1b1b;
    color: #ddd;
    min-height: 100vh;
}

.recovery-gallery .rg-head {
    padding: 18px 24px;
    font-size: 15px;
    color: #eee;
    border-bottom: 1px solid #333;
}

.recovery-gallery .rg-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 24px;
}

.recovery-gallery .rg-stage img {
    max-width: 92vw;
    max-height: 74vh;
    object-fit: contain;
}

.recovery-gallery .rg-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 24px 28px;
}

.recovery-gallery .rg-thumbs a {
    display: block;
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    overflow: hidden;
}

.recovery-gallery .rg-thumbs a.is-active,
.recovery-gallery .rg-thumbs a:hover {
    border-color: var(--color-promo, #febd69);
}

.recovery-gallery .rg-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
    .recovery-page .rc-goods-list { grid-template-columns: repeat(4, 1fr); }
    .recovery-page .rc-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 900px) {
    .recovery-page .rc-goods-list { grid-template-columns: repeat(3, 1fr); }
    .recovery-page .rc-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 640px) {
    .recovery-page .rc-goods-list { grid-template-columns: repeat(2, 1fr); }
    .recovery-page .rc-cat-grid { grid-template-columns: 1fr; }
    .recovery-page .rc-brand-head { flex-direction: column; align-items: flex-start; }
}
