/* ============================================
   Wanyan Baihuo - Main Stylesheet
   Design: warm white + soft green, wooden toy shop
   ============================================ */

:root {
  --wy-green: #3a8f5f;
  --wy-green-dark: #2d6f49;
  --wy-green-light: #e8f3ec;
  --wy-orange: #e8873a;
  --wy-gray-1: #666;
  --wy-gray-2: #999;
  --wy-gray-3: #ccc;
  --wy-bg: #fff;
  --wy-bg-soft: #f5f6f5;
  --wy-line: #e8e8e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  color: var(--wy-gray-8);
  background: var(--wy-bg);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; outline: none; }

.wy-container { width: 1200px; margin: 0 auto; }

/* ---------- Header ---------- */
.wy-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.wy-header-inner { display: flex; align-items: center; height: 78px; }
.wy-logo { display: flex; align-items: center; gap: 10px; }
.wy-logo img { height: 54px; width: auto; }
.wy-nav { margin-left: auto; display: flex; align-items: center; }
.wy-nav > ul { display: flex; gap: 4px; }
.wy-nav > ul > li { position: relative; }
.wy-nav > ul > li > a {
  display: block; padding: 10px 16px; font-size: 15px; color: #333;
  border-radius: 6px; transition: all .2s;
}
.wy-nav > ul > li:hover > a,
.wy-nav > ul > li.wy-active > a { color: var(--wy-green); background: var(--wy-green-light); font-weight: 600; }
.wy-nav .wy-sub {
  position: absolute; left: 0; top: 100%; min-width: 128px; background: #fff;
  border: 1px solid var(--wy-line); border-radius: 8px; padding: 8px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.08); display: none; z-index: 50;
}
.wy-nav > ul > li:hover .wy-sub { display: block; }
.wy-sub a { display: block; padding: 8px 18px; font-size: 13px; color: var(--wy-gray-8); }
.wy-sub a:hover { color: var(--wy-green); background: var(--wy-green-light); }
.wy-cart-link { margin-left: 14px; display: flex; align-items: center; gap: 6px; color: #333; font-size: 14px; }
.wy-cart-link:hover { color: var(--wy-green); }
.wy-cart-count {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px;
  background: var(--wy-orange); color: #fff; font-size: 11px; text-align: center;
  border-radius: 9px; padding: 0 5px;
}

/* Mobile hamburger */
.wy-hamburger { display: none; margin-left: auto; width: 40px; height: 40px; border: none; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.wy-hamburger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; }

/* ---------- Footer ---------- */
.wy-footer { background: #fff; border-top: 2px solid var(--wy-bg-soft); margin-top: 0; }
.wy-footer-top { display: flex; gap: 60px; padding: 44px 0 34px; border-bottom: 1px solid var(--wy-line); }
.wy-footer-col h4 { font-size: 15px; color: #333; margin-bottom: 18px; font-weight: 700; }
.wy-footer-col p { color: var(--wy-gray-2); font-size: 13px; margin-bottom: 8px; }
.wy-footer-col a { display: block; color: var(--wy-gray-2); font-size: 13px; margin-bottom: 8px; }
.wy-footer-col a:hover { color: var(--wy-green); }
.wy-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.wy-footer-bottom {
  padding: 18px 0 26px; text-align: center; font-size: 12px; color: var(--wy-gray-2);
}
.wy-footer-bottom .wy-icp { display: inline-block; color: var(--wy-gray-2); margin: 0 10px; }
.wy-footer-bottom .wy-icp:hover { color: var(--wy-green); }

/* ---------- Page banner (inner pages) ---------- */
.wy-page-banner { height: 220px; background: linear-gradient(120deg, var(--wy-green) 0%, #5fb183 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; position: relative; overflow: hidden; }
.wy-page-banner::after { content: ""; position: absolute; inset: 0; background: url("../img/banners/banner_3.jpg") center/cover no-repeat; opacity: .18; }
.wy-page-banner h1 { font-size: 32px; letter-spacing: 4px; position: relative; z-index: 1; }
.wy-page-banner p { font-size: 14px; letter-spacing: 3px; opacity: .85; margin-top: 10px; text-transform: uppercase; position: relative; z-index: 1; }

/* ---------- Section title ---------- */
.wy-sec-title { text-align: center; padding: 52px 0 6px; }
.wy-sec-title h2 { font-size: 22px; color: #333; letter-spacing: 3px; }
.wy-sec-title h2 em { font-style: normal; color: var(--wy-green); }
.wy-sec-title .wy-sub-en { color: var(--wy-gray-3); font-size: 13px; letter-spacing: 4px; text-transform: uppercase; margin-top: 4px; }
.wy-sec-title .wy-sec-line { width: 46px; height: 2px; background: var(--wy-green); margin: 14px auto 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.wy-btn { display: inline-block; padding: 10px 28px; border-radius: 6px; font-size: 14px; transition: all .2s; border: 1px solid transparent; cursor: pointer; }
.wy-btn-green { background: var(--wy-green); color: #fff !important; }
.wy-btn-green:hover { background: var(--wy-green-dark, #2f6f49); }
.wy-btn-outline { border-color: var(--wy-green); color: var(--wy-green) !important; background: transparent; }
.wy-btn-outline:hover { background: var(--wy-green); color: #fff !important; }

/* ---------- Homepage ---------- */
.wy-hero { position: relative; overflow: hidden; }
.wy-hero-slider { position: relative; }
.wy-hero-slide { width: 100%; position: relative; display: none; }
.wy-hero-slide.wy-on { display: block; }
.wy-hero-slide img { width: 100%; height: 600px; object-fit: cover; }
.wy-hero-caption { position: absolute; top: 50%; left: 8%; transform: translateY(-50%); z-index: 5; max-width: 480px; }
.wy-hero-caption .wy-hero-en { color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.wy-hero-caption h2 { color: #fff; font-size: 34px; margin: 12px 0 14px; line-height: 1.35; }
.wy-hero-caption p { color: rgba(255,255,255,.92); font-size: 15px; }
.wy-hero-nav { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 6; }
.wy-hero-nav button { width: 26px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.wy-hero-nav button.wy-on { background: var(--wy-green); width: 40px; }

.wy-hotbar { background: #fff; padding: 20px 0; border-bottom: 1px solid var(--wy-line); }
.wy-hotbar .wy-container { display: flex; align-items: center; gap: 18px; }
.wy-hotbar span { font-size: 14px; font-weight: 700; color: #333; }
.wy-hotbar a { color: var(--wy-gray-8); font-size: 14px; }
.wy-hotbar a:hover { color: var(--wy-green); }
.wy-hotbar .wy-divider { width: 1px; height: 12px; background: var(--wy-line); }

.wy-adv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; padding: 34px 0 8px; }
.wy-adv-item { text-align: center; background: #fff; border: 1px solid var(--wy-line); border-radius: 12px; padding: 22px 12px; transition: all .25s; }
.wy-adv-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.06); border-color: var(--wy-green); }
.wy-adv-item .wy-adv-ic { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; background: var(--wy-green-light); color: var(--wy-green); display: flex; align-items: center; justify-content: center; }
.wy-adv-item h3 { font-size: 14px; color: #333; margin-bottom: 8px; }
.wy-adv-item p { font-size: 12px; color: var(--wy-gray-2); line-height: 1.6; }

.wy-products-band { background: #fff; padding-bottom: 46px; }
.wy-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 30px 0 10px; }
.wy-prod-card { background: #fff; border: 1px solid var(--wy-line); border-radius: 10px; overflow: hidden; transition: all .25s; }
.wy-prod-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-5px); border-color: var(--wy-green); }
.wy-prod-card .wy-prod-img { position: relative; overflow: hidden; background: #fafafa; }
.wy-prod-card .wy-prod-img img { width: 100%; height: 264px; object-fit: cover; transition: transform .4s; }
.wy-prod-card:hover .wy-prod-img img { transform: scale(1.05); }
.wy-prod-card .wy-prod-tag { position: absolute; top: 12px; left: 12px; background: var(--wy-green); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.wy-prod-card .wy-prod-body { padding: 16px 18px 20px; }
.wy-prod-card h3 { font-size: 15px; color: #333; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wy-prod-card .wy-prod-cat { font-size: 12px; color: var(--wy-gray-3); margin-bottom: 8px; }
.wy-prod-card .wy-prod-price { display: flex; align-items: baseline; gap: 8px; }
.wy-prod-card .wy-prod-price .wy-now { color: var(--wy-orange); font-size: 18px; font-weight: 700; }
.wy-prod-card .wy-prod-price .wy-old { color: var(--wy-gray-3); font-size: 12px; text-decoration: line-through; }

.wy-export-band { background: var(--wy-green); padding: 54px 0; color: #fff; }
.wy-export-band .wy-container { display: flex; align-items: center; gap: 70px; }
.wy-export-text h3 { font-size: 26px; font-weight: 700; margin-bottom: 14px; letter-spacing: 2px; }
.wy-export-text p { font-size: 15px; opacity: .92; line-height: 1.9; }

.wy-about-band { padding: 0 0 54px; }
.wy-about-grid { display: grid; grid-template-columns: 460px 1fr; gap: 48px; align-items: center; padding: 30px 0 0; }
.wy-about-grid .wy-about-img { border-radius: 12px; overflow: hidden; }
.wy-about-grid .wy-about-img img { width: 100%; height: 340px; object-fit: cover; }
.wy-about-text h3 { font-size: 20px; color: #333; margin-bottom: 14px; }
.wy-about-text h3 em { color: var(--wy-green); font-style: normal; }
.wy-about-text p { color: var(--wy-gray-2); font-size: 14px; line-height: 2; margin-bottom: 16px; text-align: justify; }
.wy-about-text .wy-btn { margin-top: 6px; }

.wy-news-band { background: var(--wy-bg-soft); padding: 6px 0 50px; }
.wy-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 30px 0 10px; }
.wy-news-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--wy-line); transition: all .25s; }
.wy-news-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-4px); }
.wy-news-card .wy-news-img { height: 180px; overflow: hidden; }
.wy-news-card .wy-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wy-news-card:hover .wy-news-img img { transform: scale(1.06); }
.wy-news-card .wy-news-body { padding: 16px 18px 20px; }
.wy-news-card .wy-news-date { font-size: 12px; color: var(--wy-gray-3); margin-bottom: 8px; }
.wy-news-card h3 { font-size: 15px; color: #333; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wy-news-card h3:hover { color: var(--wy-green); }
.wy-news-card p { font-size: 13px; color: var(--wy-gray-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- Inner page common ---------- */
.wy-crumb { padding: 14px 0; font-size: 13px; color: var(--wy-gray-2); border-bottom: 1px solid var(--wy-line); }
.wy-crumb a:hover { color: var(--wy-green); }
.wy-page-main { padding: 40px 0 60px; }

/* About / company pages */
.wy-prose { color: var(--wy-gray-8); line-height: 2.1; text-align: justify; }
.wy-prose p { margin-bottom: 16px; text-indent: 2em; font-size: 14px; }
.wy-prose strong { color: #333; }
.wy-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.wy-feature-item { display: flex; gap: 18px; background: var(--wy-bg-soft); border-radius: 12px; padding: 24px; border: 1px solid transparent; transition: all .25s; }
.wy-feature-item:hover { border-color: var(--wy-green); background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.wy-feature-item .wy-fe-ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: var(--wy-green-light); color: var(--wy-green); display: flex; align-items: center; justify-content: center; }
.wy-feature-item h3 { font-size: 15px; color: #333; margin-bottom: 8px; }
.wy-feature-item p { font-size: 13px; color: var(--wy-gray-2); line-height: 1.8; }

/* Contact */
.wy-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.wy-contact-info h3 { font-size: 18px; color: #333; margin-bottom: 22px; }
.wy-contact-row { display: flex; gap: 14px; margin-bottom: 20px; }
.wy-contact-row .wy-ic { flex: 0 0 42px; width: 42px; height: 42px; background: var(--wy-green-light); color: var(--wy-green); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.wy-contact-row h4 { font-size: 14px; color: #333; }
.wy-contact-row p { font-size: 13px; color: var(--wy-gray-2); }
.wy-contact-form { background: var(--wy-bg-soft); border-radius: 12px; padding: 30px; }
.wy-contact-form h3 { font-size: 18px; color: #333; margin-bottom: 20px; }
.wy-form-row { margin-bottom: 16px; }
.wy-form-row label { display: block; font-size: 13px; color: var(--wy-gray-8); margin-bottom: 6px; }
.wy-form-row input, .wy-form-row textarea {
  width: 100%; border: 1px solid var(--wy-line); border-radius: 8px; padding: 10px 14px; font-size: 14px; background: #fff; transition: border-color .2s;
}
.wy-form-row input:focus, .wy-form-row textarea:focus { border-color: var(--wy-green); }
.wy-form-row textarea { height: 110px; resize: vertical; }

/* Product detail */
.wy-prod-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.wy-prod-gallery .wy-prod-main { border: 1px solid var(--wy-line); border-radius: 12px; overflow: hidden; background: #fafafa; }
.wy-prod-gallery .wy-prod-main img { width: 100%; height: 460px; object-fit: cover; }
.wy-prod-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.wy-prod-thumbs img { width: 82px; height: 82px; object-fit: cover; border: 2px solid transparent; border-radius: 8px; cursor: pointer; }
.wy-prod-thumbs img.wy-on { border-color: var(--wy-green); }
.wy-prod-info h1 { font-size: 24px; color: #333; margin-bottom: 12px; }
.wy-prod-info .wy-prod-meta { font-size: 13px; color: var(--wy-gray-2); margin-bottom: 16px; }
.wy-prod-info .wy-price-box { background: var(--wy-bg-soft); border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.wy-prod-info .wy-price-box .wy-now { color: var(--wy-orange); font-size: 26px; font-weight: 700; }
.wy-prod-info .wy-price-box .wy-old { color: var(--wy-gray-3); text-decoration: line-through; font-size: 14px; }
.wy-prod-info .wy-spec { margin-bottom: 22px; }
.wy-prod-info .wy-spec li { display: flex; font-size: 14px; padding: 9px 0; border-bottom: 1px dashed var(--wy-line); }
.wy-prod-info .wy-spec li span { color: var(--wy-gray-2); width: 100px; flex: 0 0 100px; }
.wy-prod-info .wy-spec li b { font-weight: 500; color: #333; }
.wy-prod-actions { display: flex; gap: 14px; }
.wy-prod-desc { margin-top: 40px; }
.wy-prod-desc h3 { font-size: 18px; color: #333; padding-bottom: 12px; border-bottom: 2px solid var(--wy-green); display: inline-block; margin-bottom: 20px; }
.wy-prod-desc p { color: var(--wy-gray-2); line-height: 2; margin-bottom: 14px; text-align: justify; }
.wy-prod-desc ul { padding-left: 20px; }
.wy-prod-desc ul li { list-style: disc; color: var(--wy-gray-2); margin-bottom: 8px; line-height: 1.9; }

/* Cart / checkout / pay */
.wy-cart-box { background: #fff; border: 1px solid var(--wy-line); border-radius: 12px; overflow: hidden; }
.wy-cart-head, .wy-cart-row { display: grid; grid-template-columns: 90px 1fr 130px 130px 90px 50px; gap: 12px; align-items: center; padding: 14px 20px; }
.wy-cart-head { background: var(--wy-bg-soft); font-size: 13px; color: var(--wy-gray-2); font-weight: 600; }
.wy-cart-row { border-top: 1px solid var(--wy-line); font-size: 14px; color: #333; }
.wy-cart-row img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.wy-cart-row .wy-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--wy-line); border-radius: 6px; overflow: hidden; width: 86px; }
.wy-cart-row .wy-qty button { width: 26px; height: 28px; border: none; background: var(--wy-bg-soft); cursor: pointer; font-size: 14px; }
.wy-cart-row .wy-qty input { width: 32px; border: none; text-align: center; font-size: 13px; height: 28px; }
.wy-cart-row .wy-rm { color: var(--wy-gray-3); cursor: pointer; font-size: 18px; }
.wy-cart-row .wy-rm:hover { color: #e5484d; }
.wy-cart-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-top: 1px solid var(--wy-line); background: var(--wy-bg-soft); }
.wy-cart-foot .wy-total { font-size: 15px; color: #333; }
.wy-cart-foot .wy-total b { color: var(--wy-orange); font-size: 22px; }
.wy-empty { text-align: center; padding: 60px 0; color: var(--wy-gray-2); }
.wy-empty .wy-btn { margin-top: 18px; }

.wy-checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.wy-panel { background: #fff; border: 1px solid var(--wy-line); border-radius: 12px; padding: 26px; }
.wy-panel h3 { font-size: 16px; color: #333; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--wy-line); }
.wy-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--wy-gray-8); margin-bottom: 12px; }
.wy-summary-total { display: flex; justify-content: space-between; font-size: 15px; color: #333; font-weight: 700; padding-top: 14px; border-top: 1px dashed var(--wy-line); }
.wy-summary-total b { color: var(--wy-orange); font-size: 22px; }
.wy-pay-methods { display: flex; gap: 14px; }
.wy-pay-method { flex: 1; border: 1px solid var(--wy-line); border-radius: 10px; padding: 16px; text-align: center; cursor: pointer; transition: all .2s; font-size: 14px; color: #333; }
.wy-pay-method.wy-on { border-color: var(--wy-green); background: var(--wy-green-light); color: var(--wy-green); font-weight: 600; }

.wy-result-box { max-width: 560px; margin: 30px auto; text-align: center; background: #fff; border: 1px solid var(--wy-line); border-radius: 16px; padding: 50px 40px; }
.wy-result-box .wy-ok-ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--wy-green-light); color: var(--wy-green); display: flex; align-items: center; justify-content: center; }
.wy-result-box .wy-fail-ic { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #fdeeee; color: #e5484d; display: flex; align-items: center; justify-content: center; }
.wy-result-box h2 { font-size: 22px; color: #333; margin-bottom: 10px; }
.wy-result-box p { color: var(--wy-gray-2); font-size: 14px; margin-bottom: 6px; }
.wy-result-box .wy-order-no { color: var(--wy-green); font-weight: 700; }
.wy-result-box .wy-btn { margin: 18px 8px 0; }

/* Legal pages */
.wy-legal { max-width: 900px; margin: 0 auto; }
.wy-legal h2 { font-size: 20px; color: #333; margin: 28px 0 12px; }
.wy-legal p { color: var(--wy-gray-2); font-size: 14px; line-height: 2; margin-bottom: 12px; text-align: justify; }
.wy-legal ul { padding-left: 20px; }
.wy-legal ul li { list-style: decimal; color: var(--wy-gray-2); line-height: 2; font-size: 14px; }

/* News list (vertical) */
.wy-news-list { padding: 6px 0 10px; }
.wy-news-item { display: flex; gap: 24px; background: #fff; border: 1px solid var(--wy-line); border-radius: 12px; overflow: hidden; margin-bottom: 20px; padding: 18px; transition: all .25s; }
.wy-news-item:hover { box-shadow: 0 10px 26px rgba(0,0,0,.07); border-color: var(--wy-green); transform: translateY(-3px); }
.wy-news-item-img { flex: 0 0 240px; width: 240px; height: 150px; border-radius: 8px; overflow: hidden; }
.wy-news-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wy-news-item:hover .wy-news-item-img img { transform: scale(1.05); }
.wy-news-item-body { flex: 1; padding: 4px 0; }
.wy-news-item-body .wy-news-date { font-size: 12px; color: var(--wy-gray-3); margin-bottom: 8px; }
.wy-news-item-body h3 { font-size: 17px; color: #333; margin-bottom: 10px; }
.wy-news-item-body h3:hover { color: var(--wy-green); }
.wy-news-item-brief { font-size: 13px; color: var(--wy-gray-2); line-height: 1.8; margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wy-news-more { font-size: 13px; color: var(--wy-green); }
.wy-news-item:hover .wy-news-more { text-decoration: underline; }

/* News detail */
.wy-news-detail { max-width: 860px; margin: 0 auto; }
.wy-news-detail h1 { font-size: 24px; color: #333; margin-bottom: 12px; line-height: 1.5; }
.wy-news-detail .wy-news-meta { font-size: 13px; color: var(--wy-gray-3); padding-bottom: 16px; border-bottom: 1px solid var(--wy-line); margin-bottom: 22px; }
.wy-news-detail .wy-news-content { line-height: 2.1; color: var(--wy-gray-8); }
.wy-news-detail .wy-news-content p { margin-bottom: 16px; text-align: justify; text-indent: 2em; }
.wy-news-detail .wy-news-content h3 { font-size: 17px; color: #333; margin: 22px 0 12px; }
.wy-news-detail .wy-news-content img { margin: 18px auto; border-radius: 10px; }
.wy-news-detail .wy-news-nav { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--wy-line); font-size: 14px; color: var(--wy-gray-2); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.wy-news-detail .wy-news-nav a { color: var(--wy-green); }
.wy-news-detail .wy-news-nav a:hover { text-decoration: underline; }

/* Pagination */
.wy-pager { display: flex; justify-content: center; gap: 8px; padding: 30px 0 10px; }
.wy-pager a, .wy-pager span { display: inline-block; min-width: 36px; height: 36px; line-height: 36px; text-align: center; border: 1px solid var(--wy-line); border-radius: 8px; font-size: 13px; color: var(--wy-gray-8); background: #fff; }
.wy-pager a:hover { border-color: var(--wy-green); color: var(--wy-green); }
.wy-pager .wy-on { background: var(--wy-green); color: #fff !important; border-color: var(--wy-green); }

/* Responsive */
@media (max-width: 1240px) {
  .wy-container { width: auto; margin: 0 20px; }
  .wy-hero-slide img { height: 480px; }
}
@media (max-width: 992px) {
  .wy-adv-grid { grid-template-columns: repeat(3, 1fr); }
  .wy-prod-grid { grid-template-columns: repeat(3, 1fr); }
  .wy-news-grid { grid-template-columns: repeat(2, 1fr); }
  .wy-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .wy-export-band .wy-container { flex-direction: column; gap: 24px; text-align: center; }
  .wy-contact-grid { grid-template-columns: 1fr; }
  .wy-checkout-grid { grid-template-columns: 1fr; }
  .wy-prod-detail { grid-template-columns: 1fr; }
  .wy-feature-list { grid-template-columns: 1fr; }
  .wy-cart-table, .wy-cart-row { grid-template-columns: 80px 1fr 110px 90px 50px; }
  .wy-cart-head .wy-hide-sm, .wy-cart-row .wy-hide-sm { display: none; }
}
@media (max-width: 768px) {
  .wy-header-inner { height: 60px; }
  .wy-logo img { height: 40px; }
  .wy-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 12px 20px 20px; }
  .wy-nav.wy-open { display: block; }
  .wy-nav > ul { flex-direction: column; gap: 0; }
  .wy-nav > ul > li > a { padding: 12px 8px; border-bottom: 1px solid var(--wy-line); border-radius: 0; }
  .wy-nav .wy-sub { position: static; display: block; border: none; box-shadow: none; padding: 0 0 0 20px; }
  .wy-sub a { padding: 8px 8px; }
  .wy-hamburger { display: flex; }
  .wy-cart-btn { margin-left: 10px; }
  .wy-hero-slide img { height: 320px; }
  .wy-hero-caption { left: 6%; max-width: 88%; }
  .wy-hero-caption h2 { font-size: 22px; }
  .wy-hero-caption p { font-size: 13px; }
  .wy-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .wy-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .wy-prod-card .wy-prod-img img { height: 190px; }
  .wy-news-grid { grid-template-columns: 1fr; }
  .wy-footer-top { flex-direction: column; gap: 26px; padding: 30px 0 24px; }
  .wy-page-banner { height: 160px; }
  .wy-page-banner h1 { font-size: 22px; }
  .wy-page-banner p { font-size: 12px; }
  .wy-cart-table, .wy-cart-row { grid-template-columns: 64px 1fr 90px; }
  .wy-cart-head { display: none; }
  .wy-cart-row { padding: 14px; position: relative; }
  .wy-cart-row .wy-prod-name { grid-column: 2; }
  .wy-cart-row .wy-rm { position: absolute; top: 10px; right: 12px; }
  .wy-prod-gallery .wy-prod-main img { height: 320px; }
  .wy-result-box { padding: 36px 22px; }
  .wy-sec-title { padding: 36px 0 4px; }
  .wy-news-item { flex-direction: column; gap: 14px; padding: 14px; }
  .wy-news-item-img { flex: 0 0 auto; width: 100%; height: 180px; }
  .wy-news-detail h1 { font-size: 19px; }
  .wy-honor-grid { grid-template-columns: 1fr !important; }
}