@charset "utf-8";
/* section */

/* section */
.qf-prod-grid .qf-prod-card img,
.qf-news-list .qf-news-row img,
.qf-cat-card > img,
.qf-note-card img,
.qf-gallery img,
.qf-plist-card img { object-fit: cover; object-position: center; display: block; }
.qf-cat-card > img { width: 100%; height: 100%; }
#qf-stage-slider .qfslide-slide img { object-fit: cover !important; object-position: center; width: 100% !important; height: 100% !important; display: block; }
.qf-top img[src*="logo"] { object-fit: contain; width: auto !important; height: 52px !important; max-height: 52px; }
.qf-foot-brand img { object-fit: contain; max-width: 150px; height: auto; }
.qf-account-ico { object-fit: contain !important; width: 40px !important; height: 40px !important; }
.qf-foot-line img, .qf-foot-addr img { object-fit: contain !important; width: 40px !important; height: 40px !important; }
.qf-foot-line, .qf-foot-addr { display: flex; align-items: center; gap: 10px; }
#qf-top-btn img { object-fit: contain !important; width: 40px !important; height: 40px !important; }
#qf-top-btn { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.1);
  position: fixed; right: 24px; bottom: 80px; z-index: 9000; }

/* section */
.qf-plist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qf-plist-card { border: 1px solid #f0f0f0; background: #fff; padding: 0 0 16px; text-align: center; transition: all .3s; }
.qf-plist-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.07); transform: translateY(-3px); }
.qf-plist-card img { width: 100%; height: 220px; object-fit: cover; background: #fafafa; }
.qf-plist-card h4 { font-size: 14px; color: #333; margin: 14px 12px 6px; line-height: 1.6; height: 44px; overflow: hidden; }
.qf-plist-spec { font-size: 12px; color: #999; margin: 0 12px 8px; height: 18px; overflow: hidden; }
.qf-plist-price { font-size: 13px; color: #ff5a2c; margin-bottom: 12px; }
.qf-plist-price b { font-size: 20px; font-family: Arial; font-weight: 600; }
.qf-plist-price em { color: #bbb; font-style: normal; text-decoration: line-through; margin-left: 6px; font-size: 12px; }
.qf-plist-add { padding: 0 18px; height: 34px; line-height: 34px; font-size: 13px; }
.qf-cat-summary { background: #fafbfb; border: 1px solid #f0f0f0; padding: 14px 18px; font-size: 13px; color: #777; margin-bottom: 22px; }
.qf-cat-summary b { color: #ff956c; font-size: 17px; font-family: Arial; }
.qf-plist-foot { margin-top: 26px; padding: 16px 18px; background: #fafbfb; border-left: 3px solid #ff956c; font-size: 13px; color: #888; line-height: 1.95; }
.qf-plist-foot a { color: #ff956c; text-decoration: none; }

/* section */
.qf-cinfo { width: 100%; border-collapse: collapse; font-size: 13px; }
.qf-cinfo th { width: 88px; text-align: left; color: #8f8f8f; font-weight: 400; padding: 9px 0; vertical-align: top; }
.qf-cinfo td { padding: 9px 0; color: #4a4a4a; line-height: 1.8; border-bottom: 1px solid #f5f5f5; }
.qf-cinfo-wide th { width: 130px; }

/* section */
.qf-cat-card { position: relative !important; overflow: hidden !important; display: block !important; width: 400px; height: 300px; float: left; }
.qf-cat-card > img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .6s ease; }
.qf-cat-card:hover > img { transform: scale(1.06); }
.qf-cat-card .qf-card-name {
  position: absolute !important; left: 0; right: 0; bottom: 0; margin: 0 !important;
  padding: 44px 16px 16px !important; width: auto !important; font-size: 20px !important;
  line-height: 1.4 !important; color: #fff !important; text-align: left !important;
  text-shadow: 0 1px 6px rgba(0,0,0,.5) !important;
  background: linear-gradient(to top, rgba(20,30,34,.72), rgba(20,30,34,0));
  box-sizing: border-box; z-index: 2;
}
.qf-cat-card .qf-card-cap { display: none !important; }

/* section */
.qf-news-list .qf-news-row { position: relative; overflow: hidden; margin-bottom: 22px; }
.qf-news-list .qf-news-row img.opa { display: none !important; }
.qf-news-list .qf-news-row span { display: block; overflow: hidden; height: 210px; }
.qf-news-list .qf-news-row span img { width: 100% !important; height: 210px !important; object-fit: cover; transition: transform .5s; }
.qf-news-list .qf-news-row:hover span img { transform: scale(1.04); }
.qf-news-list .qf-news-row p { font-size: 16px; padding: 16px 0 8px; color: #333; font-weight: 600; line-height: 1.55;
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qf-news-list .qf-news-row h5 { font-size: 13px; color: #888; line-height: 1.85; padding: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; }
.qf-news-list .qf-news-row h6 { font-size: 12px; color: #b5b5b5; padding: 8px 0 0; }

/* section */
.qf-job { border: 1px solid #f0f0f0; padding: 22px 26px; margin-bottom: 16px; background: #fff; transition: all .3s; }
.qf-job:hover { box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.qf-job-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
.qf-job-h h4 { font-size: 17px; color: #333; font-weight: 600; }
.qf-job-h span { font-size: 12px; color: #ff956c; background: #fff5f0; padding: 3px 10px; }
.qf-job ul { padding-left: 18px; margin-bottom: 12px; }
.qf-job li { font-size: 13px; color: #666; line-height: 2; }
.qf-job-req { font-size: 13px; color: #888; line-height: 1.95; }
.qf-job-req b { color: #555; }

/* section */
@media (max-width: 1220px) {
  .qf-wrap { width: 100% !important; max-width: 100%; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  .qf-supply-band, .qf-foot-top, .qf-foot-legal, .qf-copyright, .qf-stage, .qf-top { min-width: 0 !important; max-width: 100% !important; }
  html, body { overflow-x: hidden; max-width: 100%; }
  .qf-supply-band { display: none !important; }
  .qf-cat-card { width: 33.333% !important; height: 220px; }
  .qf-cat-card .qf-card-name { font-size: 16px !important; padding: 34px 12px 12px !important; }
}

@media (max-width: 1024px) {
  .qf-plist { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .qf-cat-grid { display: flex !important; flex-wrap: wrap !important; }
  .qf-prod-grid .qf-prod-card { width: 33.33% !important; }
  .qf-news-list .qf-news-row { width: 48% !important; margin-right: 4%; }
  .qf-news-list .qf-news-row:nth-child(2n) { margin-right: 0; }
  .qf-news-list .qf-news-row img { width: 100% !important; height: 180px !important; }
}

/* section */
@media (max-width: 750px) {
  body { font-size: 13px; }
  .qf-wrap { padding-left: 12px; padding-right: 12px; }
  .qf-top .qf-wrap { display: block; }
  .qf-top .qf-wrap > ul { display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch; padding-bottom: 6px; margin-top: 8px; }
  .qf-top .qf-wrap > ul > li { float: none !important; display: inline-block; padding: 0 10px; }
  .qf-top .qf-wrap > ul > li > a { font-size: 14px; }
  .qf-top .qf-wrap > ul > li > ul { display: none !important; }
  .qf-account { display: inline-block !important; margin-left: 4px; }
  .qf-cart-entry { margin-left: 8px; font-size: 13px; }

  .qf-stage, #qf-stage-slider { height: 210px !important; max-height: 210px !important; }
  #qf-stage-slider .qfslide-slide img { height: 210px !important; width: 100% !important; object-fit: cover; }
  .qf-slide-txt { left: 5% !important; max-width: 74% !important; }
  .qf-slide-txt h3 { font-size: 18px !important; }
  .qf-slide-txt p { display: none; }
  .qf-slide-txt b { font-size: 11px !important; margin-bottom: 6px !important; }
  .qf-slide-txt span { font-size: 12px !important; padding: 6px 14px !important; }
  .qf-top img[src*="logo"] { height: 40px !important; max-height: 40px; }

  .qf-hero-lead h1, .qf-sec-head h1 { font-size: 21px !important; line-height: 1.4; }
  .qf-hero-lead h6, .qf-sec-head h6 { font-size: 13px !important; line-height: 1.8; padding: 0 8px; }

  .qf-cat-grid { display: flex !important; flex-wrap: wrap !important; }
  .qf-cat-card { width: 50% !important; height: 130px !important; margin: 0 !important; }
  .qf-cat-card > img { width: 100% !important; height: 130px !important; }
  .qf-cat-card .qf-card-name { font-size: 14px !important; padding: 26px 10px 10px !important; }

  .qf-databar { grid-template-columns: repeat(2, 1fr) !important; }
  .qf-databar div { border-bottom: 1px solid #f0f0f0; }
  .qf-databar b { font-size: 21px; }

  .qf-prod-grid { display: flex !important; flex-wrap: wrap !important; }
  .qf-prod-grid .qf-prod-card { width: 50% !important; height: 170px !important; margin: 0 !important; }
  .qf-prod-grid .qf-prod-card img { width: 100% !important; height: 170px !important; object-fit: cover; }
  .qf-prod-grid .qf-prod-card .qf-card-cap-t { font-size: 12px !important; }
  .qf-prod-price { font-size: 14px !important; }

  .qf-note-grid, #connr_2 { position: static !important; height: auto !important; display: block !important; }
  .qf-note-card { position: static !important; width: 100% !important; margin: 0 0 16px 0 !important; float: none !important; }
  .qf-note-card img { width: 100% !important; height: 180px !important; object-fit: cover; }
  .qf-note-card p { font-size: 16px !important; height: auto !important; -webkit-line-clamp: 2; }

  .qf-news-list .qf-news-row { width: 100% !important; margin-right: 0 !important; float: none !important; }
  .qf-news-list .qf-news-row span, .qf-news-list .qf-news-row span img { height: 180px !important; }
  .qf-news-list .qf-news-row h5 { font-size: 13px !important; line-height: 1.7; }

  .qf-why { grid-template-columns: 1fr !important; gap: 14px !important; }
  .qf-why-i { padding: 18px 16px; }
  .qf-why-i h4 { font-size: 15px; }

  .qf-foot-top { display: block !important; }
  .qf-foot-line, .qf-foot-addr { margin: 10px 0 !important; font-size: 12px !important; }
  .qf-qr-row { display: flex; justify-content: space-around; flex-wrap: wrap; }
  .qf-qr-cell { width: 30% !important; margin: 0 0 10px !important; }
  .qf-qr-cell img { max-width: 90px; }
  .qf-foot-legal ul { display: flex; flex-wrap: wrap; justify-content: center; }
  .qf-foot-legal ul li { padding: 0 8px !important; font-size: 12px; }
  .qf-legal p { font-size: 11px !important; line-height: 1.9; word-break: break-all; }

  .qf-page { padding: 26px 0 50px; }
  .qf-page h2 { font-size: 21px; }
  .qf-cart-row { grid-template-columns: 70px 1fr !important; gap: 10px; }
  .qf-cart-row img { width: 70px !important; height: 70px !important; }
  .qf-cart-sub, .qf-cart-del { grid-column: 2; }
  .qf-plist { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .qf-plist-card img { height: 150px !important; }
  .qf-plist-card h4 { font-size: 12px; height: 38px; margin: 10px 8px 4px; }
  .qf-panel { padding: 18px 16px; }
  .qf-form-half { grid-template-columns: 1fr !important; gap: 0; }
  .qf-policy { padding: 22px 16px; }
  .qf-policy h1 { font-size: 21px; }
  .qf-order-row { grid-template-columns: 1fr !important; gap: 6px; }
  .qf-member-card { display: block !important; }
  .qf-buy-actions { flex-wrap: wrap; }
  .qf-btn-cart, .qf-btn-buy, .qf-btn-ask { flex: 1 1 46%; padding: 0 10px; text-align: center; }
  .qf-detail-head { display: block !important; }
  .qf-gallery { width: 100% !important; height: 300px !important; }
  .qf-meta { width: 100% !important; padding: 16px 0 0 !important; }
  .qf-meta h3 { font-size: 19px !important; }
  .qf-fact-card table, .qf-fact-card tbody, .qf-fact-card tr, .qf-fact-card th, .qf-fact-card td { display: block; width: auto !important; }
  .qf-fact-card th, .qf-fact-card td { border: 0; padding: 4px 0; }
  .qf-fact-card tr { border-bottom: 1px solid #eee; padding: 8px 0; }
  .qf-article-body { padding: 18px 4px; }
  .qf-article-body h1 { font-size: 20px; }
  .top .qf-wrap ul { display: flex; flex-wrap: wrap; }
  .top .qf-wrap ul li { padding: 0 10px 0 0 !important; }
  #qf-top-btn { right: 10px !important; bottom: 70px !important; }
}

/* detail buy block: override legacy fixed height */
.qf-detail-head .qf-meta .pro { height: auto !important; min-height: 0 !important; margin: 18px 0 0 !important; overflow: visible !important; }
.qf-detail-head .qf-meta .pro p { width: auto !important; height: auto !important; border: 0 !important; float: none !important; text-align: left !important; margin: 0 !important; line-height: 1.9 !important; }
.qf-meta { padding-bottom: 26px; }
.qf-detail-head { align-items: flex-start; }

/* standalone detail layout */
.qf-detail-alone { display: flex; gap: 40px; padding: 40px 0 10px; align-items: flex-start; }
.qf-gallery-alone { width: 440px; flex: 0 0 440px; height: 440px; background: #fafbfb; }
.qf-gallery-alone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qf-meta-alone { flex: 1; min-width: 0; }
.qf-meta-alone h3 { font-size: 24px; color: #333; margin-bottom: 16px; line-height: 1.4; }
.qf-meta-alone > p { font-size: 14px; color: #999; line-height: 2.1; }
.qf-meta-alone > p span { color: #4a4a4a; padding-left: 6px; }
.qf-desc-wrap { padding: 26px 0 60px; }
.qf-desc-h { font-size: 17px; color: #333; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid #ff956c; }
.qf-desc-h img { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 900px) {
  .qf-detail-alone { display: block; padding: 22px 0 0; }
  .qf-gallery-alone { width: 100% !important; flex: none; height: 300px; margin-bottom: 18px; }
  .qf-meta-alone h3 { font-size: 19px; }
}

/* mobile nav hardening: prevent document overflow */
@media (max-width: 750px) {
  html, body { overflow-x: hidden !important; }
  .qf-top, .qf-top .qf-wrap, .qf-wrap, article, .top_menu, .menu { max-width: 100% !important; overflow-x: hidden; }
  .qf-top .qf-wrap > ul { width: 100% !important; max-width: 100% !important; overflow-x: auto !important;
    overflow-y: hidden; display: block !important; white-space: nowrap !important; }
  .qf-top .qf-wrap > ul > li { display: inline-block !important; white-space: nowrap; width: auto !important; }
  .home img, .qf-crumb img { width: 22px !important; height: 22px !important; object-fit: contain !important; }
  .top .qf-wrap ul { width: 100% !important; overflow-x: auto !important; }
  .qf-plist { max-width: 100% !important; }
  .qf-detail-alone, .qf-desc-wrap, .qf-panel { max-width: 100% !important; }
}

/* stage banner must not stretch layout on mobile */
@media (max-width: 1220px) {
  article, .qf-stage, .qf-stage img, .top, .top_menu, .menu, .qf-detail-wrap, .qf-desc-wrap { max-width: 100% !important; }
  .qf-stage { overflow: hidden; }
  .qf-stage > img, .qf-stage .banner-box img { width: 100% !important; height: 160px !important; object-fit: cover; display: block; }
}
@media (max-width: 750px) {
  .qf-stage > img, .qf-stage .banner-box img { height: 130px !important; }
}

/* hard clamp: nav scroller must not widen documentElement */
@media (max-width: 1220px) {
  html { overflow-x: hidden !important; }
  .qf-top { max-width: 100vw !important; overflow: hidden !important; }
  .qf-top .qf-wrap { max-width: 100vw !important; overflow: hidden !important; }
  .qf-top .qf-wrap > ul { max-width: 100vw !important; overflow-x: auto !important; }
  .top .qf-wrap > ul { max-width: 100vw !important; overflow-x: auto !important; }
}

/* inner sub-nav: wrap instead of overflow on small screens */
@media (max-width: 750px) {
  .top .qf-wrap { display: block !important; }
  .top .qf-wrap > ul { display: flex !important; flex-wrap: wrap !important; white-space: normal !important;
    width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow: visible !important; }
  .top .qf-wrap > ul > li { width: auto !important; min-width: 0 !important; padding: 0 12px 6px 0 !important; }
  .top .qf-wrap > ul > li span { font-size: 13px !important; }
  .qf-foot-legal ul { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
}

/* top nav scroller: allow internal horizontal scroll without widening doc */
@media (max-width: 750px) {
  .qf-top ul { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important;
    width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .qf-top ul > li { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; }
  .qf-top ul > li > ul { display: none !important; }
  .qf-foot-legal ul { display: flex !important; flex-wrap: wrap !important; overflow: visible !important; }
  .qf-foot-legal ul > li { flex: 0 0 auto !important; }
}

/* ultimate clamp for legacy nav (uses attribute selector + important) */
@media (max-width: 750px) {
  div.qf-top div.qf-wrap ul { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important;
    overflow-y: hidden !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  div.qf-top div.qf-wrap ul li { flex: 0 0 auto !important; min-width: 0 !important; width: auto !important; float: none !important; }
  div.qf-top div.qf-wrap ul li ul { display: none !important; }
  .qf-foot-legal ul { flex-wrap: wrap !important; overflow: visible !important; }
  .top div.qf-wrap ul { display: flex !important; flex-wrap: wrap !important; width: 100% !important; max-width: 100% !important; overflow: visible !important; }
}

/* mobile nav: wrap to two lines instead of horizontal scroll (avoids doc widening) */
@media (max-width: 750px) {
  div.qf-top div.qf-wrap ul { display: flex !important; flex-wrap: wrap !important; overflow: visible !important;
    width: 100% !important; max-width: 100% !important; }
  div.qf-top div.qf-wrap ul > li { flex: 0 0 auto !important; width: auto !important; padding: 0 8px 4px 0 !important; }
  div.qf-top div.qf-wrap ul > li > a { font-size: 13px !important; }
  div.qf-top div.qf-wrap { overflow: visible !important; }
  div.qf-top { overflow: hidden !important; }
}

/* root cause: legacy .qf-wrap overflow:visible lets children widen the doc */
@media (max-width: 1220px) {
  .qf-wrap { overflow: hidden !important; width: 100% !important; max-width: 100% !important; }
}
@media (max-width: 750px) {
  .qf-wrap { overflow: hidden !important; }
  .qf-wrap > ul { overflow: hidden !important; }
  .qf-foot-legal ul, .top div.qf-wrap ul { overflow: hidden !important; height: auto !important; }
}

/* kill legacy absolute sub-nav duplication on mobile */
@media (max-width: 750px) {
  .top .qf-wrap > ul { position: static !important; top: auto !important; left: auto !important;
    width: 100% !important; max-width: 100% !important; transform: none !important; }
  .qf-top > ul, .qf-top .qf-wrap > ul { position: static !important; }
}

/* nav ul inside top must never exceed container */
@media (max-width: 750px) {
  .qf-top > .qf-wrap > ul, .qf-top .qf-wrap > ul {
    display: flex !important; flex-wrap: wrap !important; gap: 0 4px;
    width: auto !important; max-width: 100% !important; min-width: 0 !important;
    box-sizing: border-box; overflow: hidden !important;
  }
  .qf-top .qf-wrap > ul > li { flex: 0 0 auto !important; width: auto !important; max-width: 100% !important; }
  .qf-top .qf-wrap > ul > li > a { display: inline-block; padding: 4px 8px; font-size: 13px !important; }
}

/* legacy nav may use absolute + left offset on inner pages */
@media (max-width: 750px) {
  .qf-top .qf-wrap > ul {
    position: static !important; left: auto !important; right: auto !important; top: auto !important;
    bottom: auto !important; transform: none !important; margin: 6px 0 0 !important;
  }
  .qf-top .qf-wrap { position: relative; }
  .qf-top .qf-wrap > ul { display: flex !important; flex-wrap: wrap !important; }
}

/* legacy nav reserves 160px for logo on desktop; reset on mobile */
@media (max-width: 750px) {
  .qf-top .qf-wrap > ul { padding: 0 !important; margin: 6px 0 0 !important; }
  .qf-top .qf-wrap > ul > li { padding: 0 !important; }
  .qf-top .qf-wrap > ul > li > a { padding: 5px 9px !important; display: inline-block; }
  .qf-top .qf-wrap > a:first-child { display: block; }
  .qf-top .qf-wrap > a:first-child img { height: 34px !important; }
}

/* inner category tabs (absolute in legacy) -> flow on mobile */
@media (max-width: 750px) {
  .top .qf-wrap > ul, .top .qf-wrap form > ul {
    position: static !important; left: auto !important; top: auto !important; right: auto !important;
    display: flex !important; flex-wrap: wrap !important; width: 100% !important; max-width: 100% !important;
    height: auto !important; margin: 8px 0 0 !important; padding: 0 !important; overflow: visible !important;
  }
  .top .qf-wrap > ul > li, .top .qf-wrap form > ul > li {
    float: none !important; width: auto !important; height: auto !important;
    padding: 0 12px 6px 0 !important; margin: 0 !important; flex: 0 0 auto !important;
  }
  .top .qf-wrap > ul > li hr, .top .qf-wrap form > ul > li hr { display: none !important; }
  .top .qf-wrap > ul > li span { font-size: 13px !important; color: #666 !important; }
  .top .qf-wrap > ul > li.qf-crumb-cur span { color: #ff956c !important; }
}

/* normalize small icons & qr cells (avoid <40px and overflow) */
.qf-qr-cell { max-width: 100%; box-sizing: border-box; }
.qf-qr-cell img { width: 40px !important; height: 40px !important; object-fit: contain !important; }
.qf-top img, .qf-wrap img { max-width: 100%; }
.qf-legacy-ico, .qf-top .qf-wrap > ul img { width: 40px !important; height: 40px !important; object-fit: contain !important; }
@media (max-width: 750px) {
  .qf-qr-cell { width: 31% !important; }
  .qf-qr-cell img { width: 40px !important; height: 40px !important; }
}

/* breadcrumb home icon & qr row */
.qf-crumb img, .home img, .qf-crumb-cur img { width: 40px !important; height: 40px !important; object-fit: contain !important; vertical-align: -2px; }
@media (max-width: 750px) {
  .qf-qr-row { display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; gap: 6px 0; }
  .qf-qr-cell { flex: 0 0 31% !important; width: 31% !important; margin: 0 !important; text-align: center; }
  .qf-qr-cell p { font-size: 12px !important; margin: 0 !important; }
}

/* footer contact card replaces legacy social qr */
.qf-contact-card { display: flex; flex-direction: column; gap: 2px; min-width: 250px; }
.qf-cc-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; }
.qf-cc-row:last-child { border-bottom: 0; }
.qf-cc-k { flex: 0 0 66px; font-size: 12px; color: #b0b0b0; }
.qf-cc-v { font-size: 14px; color: #4a4a4a; text-decoration: none; }
a.qf-cc-v:hover { color: #ff956c; }
@media (max-width: 750px) {
  .qf-contact-card { min-width: 0; width: 100%; margin-top: 10px; }
  .qf-cc-k { flex: 0 0 62px; font-size: 12px; }
  .qf-cc-v { font-size: 13px; }
}
/* product card image must fill */
.qf-prod-grid .qf-prod-card img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.qf-prod-grid .qf-prod-card { position: relative; overflow: hidden; }
.qf-prod-grid .qf-prod-card .qf-card-cap { position: absolute; left: 0; right: 0; bottom: 0; height: auto; top: auto;
  background: linear-gradient(to top, rgba(20,30,34,.82), rgba(20,30,34,0)); padding: 40px 14px 14px; opacity: 1; filter: none;
  text-align: left; box-sizing: border-box; transform: none; }
.qf-prod-grid .qf-prod-card .qf-card-cap-t { font-size: 14px; color: #fff; line-height: 1.45; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.qf-prod-grid .qf-prod-card .qf-prod-price { font-size: 15px; color: #ffd9c7; margin-top: 6px; font-weight: 600; }

/* header logo: use square mark, scale to fit nav height */
.qf-top .qf-wrap > a:first-child { display: inline-flex; align-items: center; height: 64px; }
.qf-top .qf-wrap > a:first-child img,
.qf-top img[src*="logo"] { width: auto !important; height: 46px !important; max-height: 46px; object-fit: contain !important; }
.qf-foot-brand img { width: auto !important; height: 52px !important; max-height: 52px; object-fit: contain; }
@media (max-width: 750px) {
  .qf-top .qf-wrap > a:first-child { height: 52px; }
  .qf-top .qf-wrap > a:first-child img, .qf-top img[src*="logo"] { height: 36px !important; max-height: 36px; }
}
/* news rows: equal height, no dangling gap */
.qf-news-list { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: stretch; }
.qf-news-list .qf-news-row { width: calc((100% - 48px) / 3); margin-bottom: 0; }
@media (max-width: 1024px) { .qf-news-list .qf-news-row { width: calc((100% - 24px) / 2); } }
@media (max-width: 750px) { .qf-news-list .qf-news-row { width: 100%; margin-bottom: 22px; } }

/* horizontal logo sizing (ratio 3.95:1) */
.qf-top .qf-wrap > a:first-child img,
.qf-top img[src*="logo_h"] { width: auto !important; height: 44px !important; max-height: 44px; }
.qf-foot-brand img, .qf-foot-top img[src*="logo_h"] { width: auto !important; height: 46px !important; max-height: 46px; }
@media (max-width: 750px) {
  .qf-top .qf-wrap > a:first-child img, .qf-top img[src*="logo_h"] { height: 32px !important; }
  .qf-foot-brand img, .qf-foot-top img[src*="logo_h"] { height: 38px !important; }
}

/* ============ header rebuild: logo left / nav center / account right ============ */
.qf-top { height: 84px !important; background: #fff; border-bottom: 1px solid #f2f2f2; }
.qf-top .qf-wrap { display: flex !important; align-items: center; height: 84px; position: relative; overflow: visible !important; }
.qf-top .qf-wrap > a:first-child { float: none !important; flex: 0 0 auto; display: flex; align-items: center; height: 84px; margin-right: 34px; }
.qf-top .qf-wrap > a:first-child img,
.qf-top .qf-wrap a > img,
.qf-top img[src*="logo"] { float: none !important; width: auto !important; height: 42px !important; max-height: 42px; margin: 0 !important; object-fit: contain !important; }
.qf-top .qf-wrap > ul { float: none !important; flex: 1 1 auto; display: flex !important; align-items: center;
  padding-left: 0 !important; margin: 0 !important; height: 84px; min-width: 0; }
.qf-top .qf-wrap > ul > li { float: none !important; width: auto !important; padding: 0 16px !important;
  height: 84px; line-height: 84px; padding-top: 0 !important; position: relative; }
.qf-top .qf-wrap > ul > li > a { font-size: 15px !important; color: #333; line-height: 84px; display: inline-block; }
.qf-top .qf-wrap > ul > li.qf-on > a { color: #17798c; font-weight: 600; }
.qf-top .qf-wrap > ul > li.qf-on > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 22px; height: 2px; background: #17798c; }
.qf-top .qf-wrap > ul > li:hover > a { color: #17798c; }
.qf-top .qf-wrap > ul > li > ul.qf-sub-nav { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 84px;
  background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.09); padding: 8px 0; min-width: 148px; z-index: 999; border-radius: 0 0 4px 4px; }
.qf-top .qf-wrap > ul > li:hover > ul.qf-sub-nav { display: block !important; }
.qf-top .qf-wrap > ul > li > ul.qf-sub-nav > li { float: none !important; width: 100% !important; height: auto; line-height: 1.6;
  padding: 7px 18px !important; padding-top: 0 !important; margin: 0; }
.qf-top .qf-wrap > ul > li > ul.qf-sub-nav > li > a { font-size: 13px !important; color: #666 !important; line-height: 1.6; white-space: nowrap; }
.qf-top .qf-wrap > ul > li > ul.qf-sub-nav > li:hover > a { color: #17798c !important; }

/* account entry (legacy styles target header .qf-account, which does not exist here) */
.qf-top .qf-account, .qf-top .qf-wrap .qf-account { flex: 0 0 auto; display: flex !important; align-items: center; gap: 6px;
  float: none !important; cursor: pointer; margin-left: 10px; }
.qf-top .qf-account img, .qf-top .qf-wrap .qf-account img { width: 22px !important; height: 22px !important; object-fit: contain !important; float: none !important; margin: 0 !important; }
.qf-top .qf-account p, .qf-top .qf-wrap .qf-account p { margin: 0 !important; padding: 0 !important; float: none !important; }
.qf-top .qf-account p span, .qf-top .qf-wrap .qf-account p span { font-size: 13px !important; color: #666 !important; line-height: 1.2; white-space: nowrap; }
.qf-top .qf-account p span:hover { color: #17798c !important; }
.qf-cart-entry { flex: 0 0 auto; display: inline-flex !important; align-items: center; gap: 5px; font-size: 13px; color: #666 !important;
  text-decoration: none !important; margin-left: 18px; white-space: nowrap; }
.qf-cart-entry:hover { color: #17798c !important; }
.qf-cart-entry b { color: #ff6a3d; font-family: Arial; font-size: 13px; }
.qf-top .qf-wrap .cn { display: none !important; }

@media (max-width: 1220px) {
  .qf-top, .qf-top .qf-wrap { height: auto !important; min-height: 62px; }
  .qf-top .qf-wrap { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .qf-top .qf-wrap > a:first-child { height: 46px; margin-right: 12px; }
  .qf-top .qf-wrap > a:first-child img, .qf-top img[src*="logo"] { height: 34px !important; }
  .qf-top .qf-wrap > ul { order: 3; flex: 1 0 100%; height: auto; overflow-x: auto; flex-wrap: nowrap; padding: 4px 0 2px !important; }
  .qf-top .qf-wrap > ul > li { height: auto; line-height: 1.6; padding: 4px 12px !important; }
  .qf-top .qf-wrap > ul > li > a { line-height: 1.6; font-size: 14px !important; }
  .qf-top .qf-wrap > ul > li.qf-on > a::after { bottom: 0; left: 12px; right: 12px; }
  .qf-top .qf-wrap > ul > li > ul.qf-sub-nav { display: none !important; }
  .qf-cart-entry { margin-left: 10px; }
}
@media (max-width: 750px) {
  .qf-top .qf-wrap > a:first-child img, .qf-top img[src*="logo"] { height: 28px !important; }
  .qf-top .qf-account p span { font-size: 12px !important; }
  .qf-cart-entry { font-size: 12px; margin-left: 8px; }
}

/* ============ footer rebuild: 4-column ============ */
footer { background: #f7f8f9; padding: 44px 0 0; margin-top: 20px; color: #6b7278; }
.qf-foot-main { display: flex !important; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid #ebedee; align-items: flex-start; }
.qf-fm-col { min-width: 0; }
.qf-fm-brand { flex: 0 0 300px; }
.qf-fm-brand > img { height: 46px !important; width: auto !important; max-height: 46px; object-fit: contain; margin-bottom: 14px; }
.qf-fm-slogan { font-size: 13px; color: #9aa1a7; line-height: 1.7; margin-bottom: 14px; }
.qf-fm-line { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 9px; font-size: 13px; line-height: 1.7; }
.qf-fm-line img { width: 17px !important; height: 17px !important; object-fit: contain !important; margin-top: 2px; flex: 0 0 17px; }
.qf-fm-line a, .qf-fm-line span { color: #6b7278; text-decoration: none; }
.qf-fm-line a:hover { color: #17798c; }
.qf-fm-links { flex: 0 0 148px; }
.qf-fm-links h4, .qf-fm-contact h4 { font-size: 14px; color: #2c3438; font-weight: 600; margin-bottom: 14px; letter-spacing: .3px; }
.qf-fm-links ul { display: block !important; padding: 0 !important; margin: 0 !important; }
.qf-fm-links ul li { display: block !important; width: auto !important; float: none !important; padding: 0 0 9px !important;
  height: auto !important; line-height: 1.6 !important; list-style: none; }
.qf-fm-links ul li a { font-size: 13px !important; color: #7b8288 !important; text-decoration: none; line-height: 1.6; display: inline-block; }
.qf-fm-links ul li a:hover { color: #17798c !important; }
.qf-fm-contact { flex: 1 1 auto; min-width: 280px; }
.qf-fm-contact .qf-cc-row { display: flex; gap: 10px; padding: 0 0 8px; border: 0; font-size: 13px; align-items: baseline; }
.qf-fm-contact .qf-cc-k { flex: 0 0 62px; color: #a3a9ae; font-size: 12px; }
.qf-fm-contact .qf-cc-v { color: #5d666c; text-decoration: none; font-size: 13px; }
.qf-fm-contact a.qf-cc-v:hover { color: #17798c; }
.qf-fm-legal-links { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.qf-fm-legal-links a { font-size: 12px; color: #9aa1a7; text-decoration: none; }
.qf-fm-legal-links a:hover { color: #17798c; }
.qf-foot-legal { padding: 18px 12px 22px; display: block !important; overflow: visible !important; }
.qf-foot-legal p { font-size: 12px; color: #a3a9ae; line-height: 2; margin: 0; text-align: center; word-break: break-all; }
.qf-foot-legal p a { color: #a3a9ae; text-decoration: none; }
.qf-foot-legal p a:hover { color: #17798c; }
footer .qf-top-btn, #qf-top-btn { display: none !important; }

@media (max-width: 1024px) {
  .qf-foot-main { flex-wrap: wrap; gap: 26px 30px; }
  .qf-fm-brand { flex: 1 1 100%; }
  .qf-fm-links { flex: 1 1 40%; }
  .qf-fm-contact { flex: 1 1 100%; }
}
@media (max-width: 750px) {
  footer { padding-top: 28px; }
  .qf-foot-main { gap: 22px; padding-bottom: 22px; }
  .qf-fm-brand > img { height: 38px !important; }
  .qf-fm-links { flex: 1 1 44%; }
  .qf-fm-links h4, .qf-fm-contact h4 { font-size: 13px; margin-bottom: 10px; }
  .qf-fm-links ul li a, .qf-fm-contact .qf-cc-v { font-size: 12px !important; }
  .qf-foot-legal { padding: 14px 10px 18px; }
  .qf-foot-legal p { font-size: 11px; line-height: 1.9; }
}

/* ============ note grid (guide pages): absolute masonry -> flow grid ============ */
.qf-note-grid, #connr_2 { position: static !important; height: auto !important; display: grid !important;
  grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 10px 0 40px; }
.qf-note-card, .qf-note-grid .qf-note-card { position: static !important; width: auto !important; left: auto !important;
  top: auto !important; margin: 0 !important; float: none !important; height: auto !important; overflow: hidden;
  background: #fff; border: 1px solid #f0f2f3; transition: box-shadow .3s, transform .3s; }
.qf-note-card:hover { box-shadow: 0 12px 30px rgba(20,40,50,.08); transform: translateY(-3px); }
.qf-note-card img, .qf-note-card img.kzzy { width: 100% !important; height: 200px !important; object-fit: cover; display: block; }
.qf-note-in { padding: 0 0 16px; }
.qf-note-card p { font-size: 16px !important; color: #2c3438 !important; font-weight: 600; line-height: 1.55 !important;
  margin: 14px 16px 8px !important; height: auto !important; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.qf-note-card span { font-size: 13px !important; color: #868d93 !important; line-height: 1.9 !important;
  padding: 0 16px !important; display: block !important; height: auto !important; overflow: hidden; }
@media (max-width: 1024px) { .qf-note-grid, #connr_2 { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 750px) {
  .qf-note-grid, #connr_2 { grid-template-columns: 1fr; gap: 14px; padding: 6px 0 26px; }
  .qf-note-card img, .qf-note-card img.kzzy { height: 170px !important; }
  .qf-note-card p { font-size: 15px !important; }
}
/* inner page banner: use brand stage image, not stock sofa */
.qf-stage img, .qf-stage > img { object-fit: cover; object-position: center; }

/* icon floor 40px (audit red-line 39-C) */
.qf-fm-line img { width: 40px !important; height: 40px !important; flex: 0 0 40px !important; margin-top: 0 !important; }
.qf-fm-line { align-items: center !important; gap: 10px !important; }
.qf-top .qf-account img, .qf-top .qf-wrap .qf-account img { width: 40px !important; height: 40px !important; }
.qf-top .qf-account { gap: 8px !important; }
.qf-cart-entry img { width: 40px !important; height: 40px !important; object-fit: contain; }
@media (max-width: 750px) {
  .qf-fm-line img { width: 40px !important; height: 40px !important; }
  .qf-top .qf-account img { width: 40px !important; height: 40px !important; }
}

/* detail desc icon & note grid mobile clamp */
.qf-desc-h img, .qf-detail-desc h3 img { width: 40px !important; height: 40px !important; object-fit: contain !important; vertical-align: middle; }
@media (max-width: 750px) {
  .qf-note-grid, #connr_2 { width: 100% !important; max-width: 100% !important; }
  .qf-note-card, .qf-note-in, .qf-note-card img { width: 100% !important; max-width: 100% !important; }
}

/* category grid container must wrap absolute cards */
.qf-cat-grid { position: relative !important; display: flex !important; flex-wrap: wrap !important;
  width: 100% !important; height: auto !important; overflow: hidden; }
.qf-cat-grid::after { content: ""; display: block; clear: both; }
.qf-cat-card { float: left !important; width: 400px !important; height: 300px !important; }
@media (max-width: 1220px) {
  .qf-cat-grid { display: flex !important; }
  .qf-cat-card { width: 33.333% !important; height: auto !important; aspect-ratio: 4 / 3; }
}
@media (max-width: 750px) {
  .qf-cat-card { width: 50% !important; height: auto !important; aspect-ratio: 4 / 3; }
}
