/* ========== Detail Page Styles ========== */

/* Detail Container (white panel inside centered container) */
.detail-container {
  background: #fff;
  border: 1px solid #eee;
}

/* Breadcrumb */
.location {
  height: 55px;
  line-height: 55px;
  padding-left: 25px;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23f78015" stroke-width="2"><path d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/></svg>') 5px center no-repeat;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
}
.location a { color: #666; }
.location a:hover { color: #f78015; }
.location code { color: #ccc; margin: 0 5px; font-style: normal; }

/* Detail Layout */
.detail-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

/* Left Column */
.detail-left {
  flex: 0 0 700px;
  background: #fff;
  border: 1px solid #eee;
  padding-bottom: 15px;
}

/* Title Bar */
.detail-title-bar {
  padding: 20px 20px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.detail-title-bar .info-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}
.detail-meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-meta span { display: inline-block; }
.detail-meta .actions { margin-left: auto; }
.detail-meta .actions a {
  color: #999;
  margin: 0 5px;
  font-size: 12px;
}
.detail-meta .actions a:hover { color: #f78015; }
.detail-meta .actions a.top { color: #f00; }

/* Image + Contact Area */
.detail-extra {
  display: flex;
  padding: 20px;
  gap: 25px;
}
.detail-image-box {
  flex: 0 0 300px;
}
.detail-main-img {
  width: 300px;
  height: 225px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8f0, #fff);
  overflow: hidden;
}
.detail-main-img .big-icon {
  font-size: 100px;
  opacity: 0.8;
}
.detail-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}
.detail-thumbs .thumb {
  width: 50px;
  height: 42px;
  border: 2px solid #f78015;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  background: #fff8f0;
}

/* Contact Box */
.detail-contact {
  flex: 1;
  padding-top: 5px;
}
.detail-contact .price-row {
  font-size: 16px;
  color: #f00;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}
.detail-contact .price-row .label { color: #999; font-weight: normal; font-size: 14px; }
.detail-contact .contact-item {
  line-height: 32px;
  font-size: 14px;
  color: #333;
}
.detail-contact .contact-item .label { color: #999; }
.detail-contact .contact-item .value { font-weight: bold; }
.detail-contact .contact-item .value.red { color: #f00; }
.detail-contact .notice {
  margin-top: 15px;
  padding: 10px 12px;
  background: #fffaf0;
  border: 1px solid #ffe4b5;
  border-radius: 4px;
  font-size: 12px;
  color: #b8860b;
  line-height: 1.6;
}
.detail-contact .notice strong { color: #cc8800; }

/* Content Tabs */
.detail-tabs {
  border-bottom: 2px solid #f78015;
  margin: 0 20px;
}
.detail-tabs ul { display: flex; }
.detail-tabs li {
  padding: 0 25px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.detail-tabs li.active {
  color: #f78015;
  border-bottom: 2px solid #f78015;
}

/* Content Body */
.detail-content {
  padding: 20px;
  line-height: 1.9;
  font-size: 14px;
  color: #333;
}
.detail-content p { margin-bottom: 12px; }
.detail-content .section-head {
  font-size: 15px;
  font-weight: bold;
  color: #f78015;
  margin: 15px 0 8px;
}
.detail-content .content-img {
  text-align: center;
  margin: 15px 0;
}
.detail-content .content-img .big-icon {
  font-size: 120px;
  display: block;
  margin: 20px auto;
}
.detail-bottom-tip {
  padding: 10px 20px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #bbb;
  text-align: center;
}

/* Right Sidebar */
.detail-right {
  flex: 0 0 270px;
}
.sidebar-title {
  height: 40px;
  line-height: 40px;
  padding-left: 15px;
  background: #f78015;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}
.sidebar-list {
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
}
.sidebar-list li {
  display: flex;
  padding: 12px 10px;
  border-bottom: 1px solid #f5f5f5;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-list li:hover { background: #fffaf0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list .thumb-box {
  flex: 0 0 80px;
  width: 80px;
  height: 60px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #fff8f0;
}
.sidebar-list .info-box { flex: 1; overflow: hidden; }
.sidebar-list .info-box a {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sidebar-list .info-box a:hover { color: #f78015; }
.sidebar-list .info-box .desc {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .detail-wrapper { flex-direction: column; }
  .detail-left { flex: 1; }
  .detail-right { flex: 1; }
  .detail-extra { flex-direction: column; }
  .detail-image-box { flex: 1; }
  .detail-main-img { width: 100%; height: 250px; }
}
@media (max-width: 768px) {
  .detail-left { padding: 0; }
  .detail-title-bar { padding: 15px; }
  .detail-extra { padding: 15px; }
  .detail-content { padding: 15px; }
  .detail-main-img { height: 200px; }
  .detail-main-img .big-icon { font-size: 70px; }
}
