.decorate-page{ padding-top: 0 }
.decorate-hero{ padding:80px 0 40px; background:linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border-bottom:1px solid #e9ecef; margin-top: calc(var(--header-height, 80px) + 40px) }
@media (max-width: 768px){
  .decorate-hero{ margin-top: calc(var(--header-height, 80px) + 30px); padding:70px 0 32px }
}
.hero-row{ display:flex; align-items:center; justify-content:space-between; gap:16px }
.hero-left{ display:flex; flex-direction:column; gap:6px }
.hero-desc{ color:#666; font-size:14px }
.hero-join-btn{ background:#ff6a00; color:#fff; padding:10px 16px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center }
.hero-join-btn:hover{ filter:brightness(0.98); box-shadow: var(--shadow-light) }

/* 通用按钮样式 */
.btn{ background:#ff6a00; color:#fff; padding:12px 24px; border-radius:999px; border:none; cursor:pointer; transition:all .2s ease }
.btn:hover{ filter:brightness(0.95) }
.btn:disabled{ opacity:0.6; cursor:not-allowed }
.btn.error{ background:#dc3545 }
.btn.error:hover{ filter:brightness(0.9) }

.decorate-filters{ padding:40px 0 20px }
.filter-bar{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom: 20px }
.filter-chip{ background:#fff; border:1px solid var(--border-light); border-radius:999px; padding:8px 14px; cursor:pointer; transition:all .2s ease }
.filter-chip:hover{ border-color:#ff6a00; color:#ff6a00 }
.filter-chip.active{ background:#ff6a00; border-color:#ff6a00; color:#fff; box-shadow:0 6px 18px rgba(255,106,0,.25) }
.filter-chip.has-selection{ border-color:#ff6a00; color:#ff6a00; font-weight:600 }
/* 移除文本型标签样式，恢复按钮外观 */
/* 取消圆形，用文字标签呈现 */

.decorate-list{ display:flex; flex-direction:column; gap:20px }
.decorate-card{ display:grid; grid-template-columns:84px 1fr 180px; gap:20px; align-items:start; border:1px solid #f0f0f0; border-radius:12px; padding:20px 24px; background:#fff; transition: box-shadow .2s ease, transform .2s ease }
.decorate-card:hover{ box-shadow:0 8px 24px rgba(0,0,0,.06); transform: translateY(-2px) }
.decorate-logo{ width:84px; height:84px; border-radius:10px; object-fit:cover; background:#fafafa; margin-top:4px }
.decorate-info{ display:flex; flex-direction:column; gap:8px; min-width:0 }
.decorate-name{ font-size:20px; font-weight:700; line-height:1.3; color:#333; margin-bottom:4px }
.decorate-meta{ display:flex; gap:16px; align-items:center; color:#666; font-size:14px; margin-bottom:8px }
.decorate-rate{ display:flex; gap:3px; align-items:center }
.decorate-rate i{ width:20px; height:20px; display:inline-block; position:relative }
.decorate-rate i.filled::before{ content:'★'; color:#ffa500; font-size:20px; position:absolute; top:0; left:0 }
.decorate-rate i.empty::before{ content:'☆'; color:#ddd; font-size:20px; position:absolute; top:0; left:0 }
.decorate-distance{ white-space:nowrap }
.decorate-tags{ display:flex; gap:8px; flex-wrap:wrap; color:#666; font-size:13px; margin-bottom:12px }
.decorate-tag{ background:#f8f9fa; border:1px solid #e9ecef; border-radius:999px; padding:4px 12px; font-weight:500 }
.decorate-photos{ display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap:12px }
.decorate-photos img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:6px }
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.decorate-photo.loading::after { 
    content: '' !important; 
    position: absolute !important; 
    top: 50% !important; 
    left: 50% !important; 
    width: 20px !important; 
    height: 20px !important; 
    margin: -10px 0 0 -10px !important; 
    border-radius: 50% !important; 
    border: 2px solid rgba(0,0,0,0.12) !important; 
    border-top-color: var(--primary-color) !important; 
    animation: spin 0.9s linear infinite !important; 
    z-index: 2 !important;
    box-sizing: border-box !important;
    aspect-ratio: 1 !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}
.decorate-photo{ position:relative; overflow:hidden; border-radius:6px; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease }
.decorate-photo:hover{ transform:scale(1.02); box-shadow:0 4px 12px rgba(0,0,0,.15) }
.decorate-right{ display:flex; flex-direction:column; gap:12px; align-items:flex-end; justify-content:center; align-self:center }
.decorate-actions{ display:flex; flex-direction:column; gap:8px }
.decorate-btn{ width:160px; text-align:center; padding:12px 14px; border-radius:8px; cursor:pointer; transition: all .2s ease }
.decorate-contact{ background:#ff6a00; color:#fff; border:1px solid #ff6a00; display:inline-flex; align-items:center; justify-content:center; gap:6px; font-weight:600 }
.decorate-contact::before{ content:"\260E"; font-size:14px }
.decorate-contact:hover{ filter:brightness(0.98); box-shadow: var(--shadow-light) }
.decorate-view{ border:1px solid #ddd; background:#fff; color:#666 }
.decorate-view:hover{ border-color:#ff6a00; color:#ff6a00; box-shadow: var(--shadow-light) }

.list-actions{ display:flex; justify-content:center; padding:16px 0 }

/* 选择弹窗 */
.decorate-select-modal{ position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; z-index:9000; padding-top: calc(var(--header-height, 80px) + 120px); padding-bottom:20px; overflow:auto }
.decorate-select-modal.show{ display:flex; align-items:flex-start; justify-content:center }
.select-content{ background:#fff; border-radius:14px; width:min(640px,94vw); max-height: calc(100vh - var(--header-height, 80px) - 140px); overflow:hidden; display:flex; flex-direction:column }
.select-header{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid #f0f0f0 }
.select-body{ padding:16px; overflow:auto }
.select-grid{ display:flex; flex-wrap:wrap; gap:10px }
.select-item{ border:1px solid var(--border-light); padding:8px 12px; border-radius:999px; cursor:pointer }
.select-item.active{ border-color:var(--primary-color); color:var(--primary-color); background:var(--primary-light) }

/* 图片查看器样式 */
.image-viewer-modal{ position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center }
.image-viewer-overlay{ position:absolute; inset:0; background:rgba(0,0,0,.9); cursor:pointer }
.image-viewer-content{ position:relative; max-width:90vw; max-height:90vh; display:flex; flex-direction:column; align-items:center }
.image-viewer-close{ position:absolute; top:-40px; right:0; background:none; border:none; color:#fff; font-size:32px; cursor:pointer; z-index:1 }
.image-viewer-prev, .image-viewer-next{ position:absolute; top:50%; transform:translateY(-50%); background:#fff; border:none; color:#333; font-size:20px; width:50px; height:50px; border-radius:50%; cursor:pointer; z-index:1; transition:all .2s; box-shadow:0 2px 8px rgba(0,0,0,.2); font-weight:bold }
.image-viewer-prev{ left:-60px }
.image-viewer-next{ right:-60px }
.image-viewer-prev:hover, .image-viewer-next:hover{ background:#f8f9fa; transform:translateY(-50%) scale(1.05); box-shadow:0 4px 12px rgba(0,0,0,.3) }
.image-viewer-main{ position:relative; max-width:100%; max-height:80vh; display:flex; align-items:center; justify-content:center }
.image-viewer-img{ max-width:100%; max-height:100%; object-fit:contain; border-radius:8px; user-select:none }
.image-viewer-counter{ color:#fff; font-size:16px; margin-top:20px; text-align:center }
.image-viewer-counter .current{ font-weight:bold }

@media (max-width: 768px){
  .select-content{ width:94vw; max-height: calc(100vh - var(--header-height, 80px) - 120px) }

  /* 收窄左右留白，让列表更贴边 */
  .decorate-page .container{ padding: 0 12px; }

  .decorate-list{ gap:18px; }
  .decorate-card{ 
    grid-template-columns:96px 1fr; 
    gap:12px; 
    padding:16px 14px; 
    align-items:flex-start; 
  }
  .decorate-logo{ width:96px; height:96px; margin-top:0; border-radius:10px; }
  .decorate-info{ gap:12px; }
  .decorate-name{ font-size:18px; line-height:1.25; }
  .decorate-meta{ justify-content: space-between; width:100%; margin-bottom:4px; }
  .decorate-rate i{ width:18px; height:18px; }
  .decorate-rate i.filled::before,
  .decorate-rate i.empty::before{ font-size:18px; }
  .decorate-distance{ font-size:13px; color:#999; }
  .decorate-tags{ gap:6px; margin-bottom:10px; }
  .decorate-tag{ padding:4px 10px; font-size:13px; border-radius:20px; }
  .decorate-photos{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap:10px; }
  .decorate-photos img{ aspect-ratio:1; height:auto; border-radius:6px; }

  .decorate-right{ display:none; }
  
  .image-viewer-prev{ left:10px; top:auto; bottom:20px; transform:none; width:45px; height:45px; font-size:18px }
  .image-viewer-next{ right:10px; top:auto; bottom:20px; transform:none; width:45px; height:45px; font-size:18px }
  .image-viewer-close{ top:10px; right:10px; font-size:28px }
  .image-viewer-content{ max-width:95vw; max-height:95vh }
  .image-viewer-main{ max-height:70vh }
}


