/* ====== Reset & Base ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, button { font-family: inherit; font-size: inherit; outline: none; border: none; }

/* ====== Colors ====== */
:root {
  --primary: #1a5fb4;
  --primary-dark: #0d3b7a;
  --accent: #e8a020;
  --gray-50: #f8f9fa;
  --gray-100: #f0f1f3;
  --gray-200: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
}

/* ====== Top Bar ====== */
.topbar { background: linear-gradient(90deg, #0d3b7a, #1a5fb4); font-size: 0.88rem; color: rgba(255,255,255,0.9); padding: 8px 0; letter-spacing: 0.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .welcome { display: flex; align-items: center; gap: 10px; }
.topbar .welcome::before { content: ''; display: inline-block; width: 4px; height: 18px; background: var(--accent); border-radius: 2px; }
.topbar a { color: rgba(255,255,255,0.9); margin-left: 8px; transition: color 0.2s; }
.topbar a:hover { color: var(--accent); }

/* ====== Header ====== */
.header { padding: 16px 0; background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 48px; }
.header-contact { text-align: right; display: flex; align-items: center; gap: 10px; }
.header-contact .phone-icon { width: 38px; height: 38px; }
.header-contact strong { font-family: "Georgia", "Times New Roman", serif; font-size: 1.55rem; color: var(--primary); letter-spacing: 1px; font-weight: 700; }

/* ====== Navigation ====== */
.nav { display: flex; gap: 0; }
.nav a { padding: 10px 22px; font-size: 0.95rem; font-weight: 500; color: #444; border-radius: var(--radius); transition: all 0.2s; }
.nav a:hover, .nav a.active { color: var(--primary); background: rgba(26,95,180,0.06); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 26px; height: 3px; background: #333; border-radius: 3px; transition: 0.3s; }

/* ====== Banner ====== */
#bannerContainer { min-height: 200px; background: var(--primary-dark); }
.banner { position: relative; overflow: hidden; }
.banner .swiper-slide { height: 650px; background-size: cover; background-position: center; display: flex; align-items: center; }
.banner .swiper-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%); }

.banner-text { position: relative; z-index: 2; color: #fff; max-width: 720px; }
.banner-text .banner-tag { display: inline-block; padding: 6px 20px; border: 1px solid rgba(255,255,255,0.5); border-radius: 20px; font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(4px); background: rgba(255,255,255,0.1); }
.banner-text h2 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,0.4); letter-spacing: 2px; }
.banner-text h2 .highlight { color: var(--accent); }
.banner-text .banner-line { width: 60px; height: 3px; background: var(--accent); margin-bottom: 20px; border-radius: 2px; }
.banner-text p { font-size: 1.15rem; opacity: 0.92; line-height: 1.8; margin-bottom: 28px; }

/* Banner slide text animations */
.banner .swiper-slide-active .banner-text { animation: bannerFadeUp 0.8s ease-out both; }
.banner .swiper-slide-active .banner-tag { animation: bannerFadeUp 0.6s ease-out 0.2s both; }
.banner .swiper-slide-active h2 { animation: bannerFadeUp 0.7s ease-out 0.3s both; }
.banner .swiper-slide-active .banner-line { animation: bannerLineGrow 0.8s ease-out 0.5s both; }
.banner .swiper-slide-active p { animation: bannerFadeUp 0.7s ease-out 0.6s both; }
.banner .swiper-slide-active .banner-btns { animation: bannerFadeUp 0.7s ease-out 0.8s both; }

@keyframes bannerFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bannerLineGrow {
  from { width: 0; }
  to { width: 60px; }
}

.banner-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-btns .btn-banner { padding: 12px 32px; border-radius: 30px; font-size: 1rem; font-weight: 600; letter-spacing: 1px; transition: all 0.3s; cursor: pointer; }
.banner-btns .btn-banner-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.banner-btns .btn-banner-primary:hover { background: #d4901c; border-color: #d4901c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); }
.banner-btns .btn-banner-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.banner-btns .btn-banner-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }

@media (max-width: 768px) {
  .banner .swiper-slide { height: 400px; }
  .banner-text h2 { font-size: 1.8rem; letter-spacing: 1px; }
  .banner-text p { font-size: 0.95rem; }
  .banner-btns .btn-banner { padding: 10px 24px; font-size: 0.85rem; }
  .page-banner-overlay { bottom: 20px; }
  .page-banner-overlay h1 { font-size: 0.95rem; padding: 8px 20px; }
}

/* ====== Container & Section ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-gray { background: var(--gray-50); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: #222; }
.section-title p { font-size: 0.95rem; color: #888; margin-top: 8px; }
.section-title .line { width: 50px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

/* ====== Product Card ====== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .card-img-wrap { position: relative; overflow: hidden; height: 220px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; }
.product-card .card-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s; }
.product-card:hover .card-img-wrap img { transform: scale(1.05); }
.product-card .card-img-wrap .card-model-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; padding: 3px 10px; border-radius: 3px; font-family: monospace; letter-spacing: 0.5px; }

/* ====== Product Card (legacy) ====== */
.product-grid .product-card > img { width: 100%; height: 220px; object-fit: contain; }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; line-height: 1.5; color: #222; text-align: left; max-height: 3em; overflow: hidden; }
.product-card-body 
.product-card-body 
.product-card-body 
.product-card-body 
.product-card-body .btn { margin-top: auto; }

/* ====== About Section ====== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h3 { font-size: 1.5rem; color: #222; margin-bottom: 16px; }
.about-text p { color: #666; margin-bottom: 12px; }
.about-links { display: flex; gap: 24px; margin-top: 24px; }
.about-link { text-align: center; padding: 16px 24px; border-radius: var(--radius); background: var(--gray-50); transition: 0.3s; }
.about-link:hover { background: var(--primary); color: #fff; }
.about-link .icon-img { width: 40px; height: 40px; margin: 0 auto 6px; }
.about-link:hover .icon-img { filter: brightness(0) invert(1); }
.about-link span { display: block; margin-top: 6px; font-size: 0.9rem; }

/* ====== Contact Block ====== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-card { text-align: center; padding: 28px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card .icon-img { width: 50px; height: 50px; margin: 0 auto 12px; }
.contact-card h5 { font-size: 0.9rem; color: #888; margin-bottom: 4px; }
.contact-card p { font-weight: 600; color: #333; }

/* ====== News List ====== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card-body { padding: 16px; }
.news-card-body .date { font-size: 0.78rem; color: #888; margin-bottom: 6px; }
.news-card-body h4 { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.5; }
.news-card-body p { font-size: 0.85rem; color: #888; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ====== Products Page Sidebar ====== */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.pro-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.pro-sidebar .sidebar-header { padding: 16px 20px 12px; background: linear-gradient(135deg, #0d3b7a, #1a5fb4); color: #fff; }
.pro-sidebar .sidebar-header h4 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; letter-spacing: 1px; }
.pro-sidebar .sidebar-header .sub { font-size: 0.7rem; opacity: 0.7; letter-spacing: 2px; text-transform: uppercase; }
.pro-sidebar a { display: flex; align-items: baseline; gap: 8px; padding: 10px 20px; font-size: 0.88rem; color: #666; border-bottom: 1px solid #f0f0f0; transition: all 0.2s; line-height: 1.4; }
.pro-sidebar a::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-top: 7px; opacity: 0.5; transition: all 0.2s; }
.pro-sidebar a:hover, .pro-sidebar a.active { color: var(--primary); background: rgba(26,95,180,0.04); }
.pro-sidebar a:hover::before, .pro-sidebar a.active::before { opacity: 1; transform: scale(1.4); background: var(--accent); }
.pro-sidebar .sidebar-total { padding: 10px 20px; font-size: 0.82rem; color: #888; background: #f8f9fa; }
.pro-products-area { display: flex; flex-direction: column; max-height: calc(100vh - 140px); overflow: hidden; position: sticky; top: 100px; }
.pro-products-area .product-grid { overflow-y: auto; flex: 1; padding: 0; }
.pro-products-area .pro-page-nav { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 16px 0 0; flex-shrink: 0; }
.pro-page-nav button { min-width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; font-size: 0.85rem; color: #333; transition: all 0.2s; }
.pro-page-nav button:hover { background: #eef4fb; border-color: var(--primary); }
.pro-page-nav button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pro-page-nav button { color: #666; }
.pro-page-nav button:disabled { color: #ccc; cursor: not-allowed; pointer-events: none; }
.pro-page-nav .page-info { font-size: 0.82rem; color: #888; margin: 0 8px; }
@media (max-width: 1100px) { .products-layout { grid-template-columns: 1fr; } .pro-sidebar { position: static; max-height: 300px; overflow-y: auto; } .pro-products-area { position: static; max-height: none; overflow: visible; }
  .pro-products-area .product-grid { overflow-y: visible; flex: none; display: grid; } }

/* ====== Floating Search Box ====== */
.floating-search { position: fixed; right: 24px; top: 120px; z-index: 50; display: flex; align-items: center; background: #fff; border-radius: 30px; box-shadow: 0 4px 24px rgba(0,0,0,0.15); padding: 4px 6px 4px 20px; transition: all 0.3s; }
.floating-search:hover { box-shadow: 0 6px 30px rgba(0,0,0,0.2); }
.floating-search .search-icon { width: 18px; height: 18px; opacity: 0.4; flex-shrink: 0; }
.floating-search input { border: none; outline: none; padding: 10px 8px; width: 200px; font-size: 0.9rem; color: #333; background: transparent; }
.floating-search input::placeholder { color: #bbb; }
.floating-search button { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; font-size: 1rem; flex-shrink: 0; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.floating-search button:hover { background: var(--primary-dark); }
.floating-search .search-clear { display: none; width: 24px; height: 24px; border-radius: 50%; border: none; background: #eee; color: #888; cursor: pointer; font-size: 0.8rem; margin-right: 4px; }
.floating-search .search-clear.show { display: flex; align-items: center; justify-content: center; }
.floating-search .search-count { font-size: 0.78rem; color: #888; white-space: nowrap; margin-right: 10px; }
@media (max-width: 768px) { .floating-search { right: 12px; top: 100px; padding: 4px 4px 4px 14px; } .floating-search input { width: 140px; } }

/* ====== Product Detail Page ====== */
.detail-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.detail-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; }
.detail-sidebar .sidebar-header { padding: 14px 18px; background: linear-gradient(135deg, #0d3b7a, #1a5fb4); color: #fff; font-weight: 700; font-size: 0.95rem; letter-spacing: 1px; }
.detail-sidebar .sidebar-header .sub { font-size: 0.68rem; opacity: 0.65; letter-spacing: 2px; font-weight: 400; }
.detail-sidebar .sidebar-list { flex: 1; overflow-y: auto; }
.detail-sidebar .sidebar-list a { display: flex; align-items: baseline; gap: 6px; padding: 9px 18px; font-size: 0.84rem; color: #666; border-bottom: 1px solid #f5f5f5; transition: all 0.2s; line-height: 1.4; text-decoration: none; }
.detail-sidebar .sidebar-list a::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; margin-top: 5px; opacity: 0.4; }
.detail-sidebar .sidebar-list a:hover { color: var(--primary); background: rgba(26,95,180,0.04); }
.detail-sidebar .sidebar-list a.active { color: var(--primary); background: rgba(26,95,180,0.06); font-weight: 600; }
.detail-sidebar .sidebar-list a.active::before { opacity: 1; background: var(--accent); }
.detail-content-area { min-width: 0; }
.detail-body { line-height: 2; font-size: 0.95rem; color: #666; }
.detail-body p { margin-bottom: 16px; }
.detail-body img { border-radius: 6px; margin: 12px 0; max-width: 100%; height: auto; }
@media (max-width: 992px) { .detail-layout { grid-template-columns: 1fr; } .detail-sidebar { position: static; max-height: 260px; } }

/* ====== Footer ====== */
.footer { background: #1a1f2b; color: #bbb; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer p, .footer a { font-size: 0.85rem; line-height: 2; color: #bbb; }
.footer a:hover { color: var(--accent); }
.footer-qr img { width: 100px; border-radius: 6px; border: 2px solid #444; }
.footer-qr span { display: block; font-size: 0.78rem; margin-top: 6px; color: #888; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--accent); }

/* ====== Page Banner Overlay (inner pages on top of swiper) ====== */
.page-banner-overlay { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 10; }
.page-banner-overlay-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-banner-overlay h1 { display: inline-block; font-size: 1.1rem; font-weight: 500; color: #fff; background: rgba(0,0,0,0.45); padding: 10px 28px; border-radius: 30px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.15); }
.page-banner-overlay h1 a { color: #fff; }
.page-banner-overlay h1 a:hover { text-decoration: underline; }

/* ====== Buttons ====== */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-weight: 500; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ====== Forms ====== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: #666; margin-bottom: 4px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 0.9rem; transition: border-color 0.3s; background: #fafafa; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ====== Sidebar nav for products ====== */
.sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sidebar h4 { padding: 16px; background: var(--primary); color: #fff; font-size: 1rem; }
.sidebar a { display: block; padding: 12px 20px; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; transition: 0.2s; }
.sidebar a:hover, .sidebar a.active { background: rgba(26,95,180,0.05); color: var(--primary); padding-left: 24px; }

/* ====== Detail page ====== */
.detail-header { padding: 32px 0; border-bottom: 1px solid #eee; margin-bottom: 32px; }
.detail-header h2 { font-size: 1.6rem; margin-bottom: 8px; }
.detail-header .meta { font-size: 0.85rem; color: #888; }
.detail-body { line-height: 1.9; }
.detail-body p { margin-bottom: 16px; color: #666; }
.detail-body img { border-radius: var(--radius); margin: 16px auto; }

/* ====== Helper ====== */
.text-center { text-align: center; }

.mt-40 { margin-top: 40px; }

/* ====== Swiper Override ====== */
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 24px !important; }

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card .card-img-wrap { height: 320px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 10px 12px; font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .header-contact, .topbar 
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid #f0f0f0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .card-img-wrap { height: 220px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .banner .swiper-slide { height: 350px; }
  .banner-text h2 { font-size: 1.6rem; letter-spacing: 0; }
  .banner-text p { font-size: 0.85rem; }
  .banner-text .banner-tag { font-size: 0.72rem; padding: 3px 14px; }
  .page-banner-overlay h1 { font-size: 0.85rem; padding: 6px 16px; }
  .page-banner-overlay { bottom: 16px; }
  /* Product-detail: stack image+text vertically on mobile */
  .detail-content-area > div:first-child { grid-template-columns: 1fr !important; gap: 20px !important; }
  /* Hide footer about/news/products on mobile */
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(4) { display: none; }
  /* Ensure product-card images are contained */
  .product-card .card-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card .card-img-wrap { height: 280px; }
}

/* Honor grid */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 992px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .honor-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
.honor-item { text-align: center; position: relative; }

.honor-title {
  margin-top: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #333;
}

/* ====== Generic Image Zoom (reusable: honor + product-detail) ====== */
.img-zoom-wrap {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}
.img-zoom-wrap img {
  display: block;
  width: 100%;
}
.img-zoom-lens {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 120px; height: 120px;
  border: 1px solid #aaa;
  background: rgba(255,255,255,0.4);
  pointer-events: none;
  z-index: 10;
}
.img-zoom-panel {
  display: none;
  position: absolute;
  z-index: 20;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  background: #fff;
}
.img-zoom-view {
  width: 100%; height: 100%;
  background-repeat: no-repeat;
}

/* Honor overrides — panel positioned relative to .honor-item */
.honor-item .img-zoom-wrap {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.honor-item .img-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.honor-item .img-zoom-panel {
  top: 0;
  left: calc(100% + 12px);
  width: 280px; height: 373px;
}

/* Honor: flip panel for last column */
@media (min-width: 993px) {
  .honor-item:nth-child(3n) .img-zoom-panel {
    left: auto;
    right: calc(100% + 12px);
  }
}
@media (max-width: 992px) {
  .honor-item .img-zoom-panel { width: 220px; height: 293px; }
  .honor-item:nth-child(2n) .img-zoom-panel {
    left: auto;
    right: calc(100% + 12px);
  }
  .honor-item:nth-child(3n) .img-zoom-panel {
    left: calc(100% + 12px);
    right: auto;
  }
}
@media (max-width: 640px) {
  .honor-item .img-zoom-panel {
    top: calc(100% + 8px);
    left: 0 !important;
    right: auto !important;
    width: 100%; height: 0;
    padding-bottom: 133%;
  }
  .honor-item .img-zoom-view {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
  }
}

/* Product detail zoom panel */
.detail-zoom-wrapper {
  position: relative;
}
.detail-zoom-wrapper .img-zoom-wrap {
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.detail-zoom-wrapper .img-zoom-panel {
  top: 0;
  left: calc(100% + 12px);
  width: 420px; height: 420px;
  border-radius: 8px;
}
@media (max-width: 992px) {
  .detail-zoom-wrapper .img-zoom-panel {
    top: calc(100% + 8px);
    left: 0 !important;
    width: 100%;
    height: 320px;
  }
}

