/* ================================================================
   GRAND LIGHTING — SCHEME 3
   Alibaba-style B2B supplier storefront

   EASY EDITING:
   - Brand colors are stored in :root below.
   - Product information is stored in script.js.
   - Banner images are defined in index.html.
   ================================================================ */

:root {
  --orange: #ff6a00;
  --orange-dark: #e85f00;
  --black: #111111;
  --gray-900: #282828;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #d8d8d8;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --blue: #0b4b83;
  --image-border: #b9c0c7;
  --store-width: 1200px;
  --shadow: 0 8px 28px rgba(0,0,0,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gray-900); background: #fff; font-family: Arial, "Microsoft YaHei", sans-serif; line-height: 1.55; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.store-container { width: min(var(--store-width), calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.orange-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 25px; border: 0; border-radius: 3px; color: #fff; background: var(--orange); font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.orange-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.orange-button.compact { min-height: 38px; padding-inline: 20px; }
.orange-button.large { min-width: 190px; min-height: 50px; }
.orange-label { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

/* ---------- Alibaba-style supplier top bars ---------- */
.utility-bar { color: #fff; background: #666; font-size: 12px; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; }
.supplier-name, .utility-links { display: flex; align-items: center; gap: 12px; }
.years-badge { padding: 3px 9px; border-radius: 12px; color: #555; background: #fff; font-weight: 700; }
.verified { color: #ffe5c9; }
.utility-links a:hover { text-decoration: underline; }
.store-header { background: #fff; }
.brand-row { display: flex; align-items: center; min-height: 126px; }
.brand-logo { width: 135px; flex: 0 0 135px; }
.brand-logo img { width: 100%; }
.brand-copy { display: grid; justify-items: start; gap: 5px; margin-left: 28px; }
.brand-copy strong { display: block; color: var(--blue); font-size: 46px; line-height: 1; white-space: nowrap; }
.brand-copy span { display: block; color: var(--gray-700); font-size: 16px; line-height: 1.2; letter-spacing: .07em; }
.brand-row>.orange-button { margin-left: auto; }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 48px; border-top: 1px solid var(--gray-200); }
.service-strip>div { display: flex; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid var(--gray-200); }
.service-strip>div:last-child { border-right: 0; }
.service-strip b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--gray-700); border-radius: 50%; font-size: 12px; }
.service-strip span { display: grid; gap: 1px; line-height: 1.08; }
.service-strip strong { font-size: 11px; }
.service-strip small { color: var(--gray-500); font-size: 9px; }
.store-nav-wrap { position: sticky; z-index: 70; top: 0; color: #fff; background: var(--black); }
.store-nav-row { display: flex; align-items: center; min-height: 52px; }
.store-nav { display: flex; align-items: stretch; align-self: stretch; }
.store-nav a { display: flex; align-items: center; padding: 0 22px; font-size: 14px; }
.store-nav a:hover, .store-nav a.active { background: #333; }
.store-search { display: flex; width: 330px; height: 34px; margin-left: auto; }
.store-search input { flex: 1; min-width: 0; padding: 0 12px; border: 0; outline: 0; }
.store-search button { width: 72px; border: 0; color: #fff; background: var(--orange); font-size: 12px; font-weight: 700; }
.mobile-menu { display: none; border: 0; color: #fff; background: transparent; font-weight: 700; }

/* ---------- Hero banner ---------- */
.store-hero { position: relative; width: min(1200px, 100%); height: auto; aspect-ratio: 24/7; margin: auto; background: #111; overflow: hidden; }
.hero-track { display: flex; width: 100%; height: 100%; transform: translateX(-100%); transition: transform .65s ease-in-out; will-change: transform; }
.hero-track.no-transition { transition: none; }
.hero-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.hero-slide>img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 max(40px, calc((100% - 1120px)/2)); color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.12) 72%); }
.hero-overlay>div { max-width: 630px; }
.hero-overlay p { margin: 0 0 9px; color: #ffc08f; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.hero-overlay h1, .hero-overlay h2 { margin: 0 0 15px; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; }
.hero-overlay span { display: block; max-width: 540px; margin-bottom: 25px; color: #e6e6e6; font-size: 17px; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; width: 42px; height: 60px; border: 0; color: #fff; background: rgba(0,0,0,.35); font-size: 36px; transform: translateY(-50%); }
.hero-arrow:hover { background: var(--orange); }
.hero-arrow.previous { left: 14px; }.hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; z-index: 3; bottom: 17px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; }
.hero-dots button.active { background: #fff; }

/* ---------- Shared sections ---------- */
.store-section { padding: 48px 0; }
.store-title { margin-bottom: 24px; text-align: center; }
.store-title h2 { margin: 0; font-size: 29px; letter-spacing: .03em; }
.store-title h2::after { content: ""; display: block; width: 54px; height: 3px; margin: 9px auto; background: var(--orange); }
.store-title p { margin: 0; color: var(--gray-500); }

/* ---------- Latest products ---------- */
.latest-products-section { padding: 14px 0 24px; background: #f6f7f9; }
.latest-products-section .store-title,
.categories-section .store-title,
.certificates-section .store-title { margin-bottom: 17px; }
.latest-products-section .store-title { margin-bottom: 10px; }
.latest-products-section .store-title h2::after { margin: 5px auto; }
.latest-products-section .store-title p { line-height: 1.3; }
.latest-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.latest-product-card { position: relative; overflow: hidden; border: 1px solid #eceff3; border-radius: 11px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.06), 0 10px 24px rgba(15,23,42,.08); transition: box-shadow .2s ease, transform .2s ease; }
.latest-product-card::before { content: ""; position: absolute; z-index: 2; top: 17px; right: 12px; width: 46px; aspect-ratio: 767/541; background: url("assets/images/ce-mark.png") center/contain no-repeat; pointer-events: none; }
.latest-product-card:hover { box-shadow: 0 4px 10px rgba(15,23,42,.08), 0 16px 32px rgba(15,23,42,.12); transform: translateY(-3px); }
.latest-product-card>img { width: calc(100% - 16px); margin: 8px; outline: 1px solid var(--image-border); outline-offset: -1px; aspect-ratio: 1/1; object-fit: cover; background: #fafafa; }
.latest-product-card>div { padding: 13px 14px 15px; }
.latest-product-card span { display: block; margin-bottom: 4px; color: var(--gray-500); font-size: 11px; }
.latest-product-card h3 { margin: 0 0 7px; font-size: 15px; line-height: 1.35; }
.latest-product-card p { margin: 0; color: var(--gray-700); font-size: 12px; line-height: 1.45; }
.latest-product-card-specs>div { height: 132px; overflow: hidden; padding: 8px 12px 7px; }
.latest-product-card-specs span { margin-bottom: 2px; color: #111; font-size: 11.5px; font-weight: 700; line-height: 1.08; }
.latest-product-card-specs h3 { margin: 0 0 3px; color: #111; font-size: 14px; line-height: 1.12; }
.latest-product-card-specs p { color: #3d3d3d; font-size: 11.2px; line-height: 1.12; }
.latest-product-card-specs p em { color: var(--blue); font-style: normal; }
.latest-product-card-specs p strong { color: #111; }
.latest-product-card-specs-long span { margin-bottom: 2px; font-size: 11.5px; line-height: 1.08; }
.latest-product-card-specs-long h3 { margin-bottom: 3px; font-size: 13px; line-height: 1.12; }
.latest-product-card-specs-long h3 b { color: #e4a63a; }
.latest-product-card-specs-long p { font-size: 11.2px; line-height: 1.12; letter-spacing: 0; }

/* ---------- Product categories ---------- */
.categories-section { padding: 14px 0 24px; background: #fff; }
.categories-section .store-title { margin-bottom: 10px; }
.categories-section .store-title h2::after { margin: 5px auto; }
.categories-section .store-title p { line-height: 1.3; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--gray-200); background: #fff; transition: box-shadow .2s, transform .2s; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.category-card>a { display: block; color: inherit; text-decoration: none; }
.category-card>a:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.category-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--gray-100); }
.category-card h3 { min-height: 50px; margin: 0; padding: 13px 14px; font-size: 14px; line-height: 1.35; }

/* ---------- Product grid ---------- */
.products-section { background: var(--gray-100); }
.products-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.products-heading h2 { margin: 0 0 5px; font-size: 28px; }
.products-heading p { margin: 0; color: var(--gray-500); font-size: 13px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.category-tabs button { padding: 8px 13px; border: 1px solid var(--gray-300); color: var(--gray-700); background: #fff; font-size: 12px; }
.category-tabs button.active, .category-tabs button:hover { border-color: var(--orange); color: #fff; background: var(--orange); }
.search-result { display: none; margin: -10px 0 20px; padding: 10px 13px; border-left: 3px solid var(--orange); background: #fff; font-size: 13px; }
.search-result.show { display: block; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--gray-200); background: #fff; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-image { position: relative; display: block; aspect-ratio: 1/1; padding: 10px; background: #f9f9f9; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-badge { position: absolute; top: 10px; left: 10px; padding: 4px 7px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 700; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.product-info h3 { min-height: 44px; margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.product-info h3 a:hover { color: var(--gray-700); }
.product-model { color: var(--gray-500); font-size: 11px; }
.product-rating { margin: 7px 0; color: var(--gray-700); font-size: 12px; }
.product-price { margin: 3px 0; color: var(--gray-700); font-size: 12px; }
.product-price b { color: var(--gray-700); font-size: 15px; }
.product-moq { margin: 0 0 13px; color: var(--gray-500); font-size: 11px; }
.product-actions { display: grid; grid-template-columns: 1fr 42px; gap: 7px; margin-top: auto; }
.product-actions a { display: grid; place-items: center; min-height: 36px; border: 1px solid var(--orange); color: var(--gray-700); font-size: 12px; font-weight: 700; }
.product-actions a:first-child:hover { color: #fff; background: var(--orange); }
.product-actions a:last-child { color: #fff; background: var(--orange); font-size: 17px; }
.empty-state { padding: 60px; border: 1px dashed var(--gray-300); background: #fff; text-align: center; }

/* ---------- Company and certificates ---------- */
.company-section { padding: 32px 0 34px; background: var(--gray-100); }
.company-section .store-container { width: min(var(--store-width), calc(100% - 36px)); }
.company-profile-box { display: grid; grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr); aspect-ratio: 8/3; overflow: hidden; border: 1px solid #1d2530; background: #fff; }
.company-video { min-height: 0; background: #060b13; }
.company-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.company-copy { display: flex; height: 100%; flex-direction: column; justify-content: center; overflow: hidden; padding: 20px 24px 18px; border-left: 1px solid #1d2530; font-size: 14px; line-height: 1.26; }
.company-copy h2 { margin: 5px 0 9px; color: var(--blue); font-size: 24px; line-height: 1.12; }
.company-copy p { margin: 0; color: #202936; }
.company-copy strong { color: #111827; }
.company-lead { margin-bottom: 8px !important; }
.company-subtitle { margin: 0 0 5px; color: #111827; font-size: 15px; }
.company-strengths { display: grid; gap: 4px; }
.company-strengths div { display: grid; gap: 1px; }
.company-strengths span { color: #354253; }
.company-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.company-facts div { display: grid; align-content: center; gap: 2px; min-width: 0; padding: 8px 7px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.company-facts b { color: var(--blue); font-size: 15px; line-height: 1.1; }
.company-facts span { color: var(--gray-500); font-size: 10px; line-height: 1.15; }
.company-mission { margin-top: 8px !important; padding-top: 7px; border-top: 1px solid var(--gray-200); font-weight: 700; }
.company-contact-line { display: flex; flex-wrap: wrap; gap: 4px 7px; margin-top: 7px; font-size: 11px; }
.company-contact-line a { color: #075fbd; text-decoration: underline; text-underline-offset: 2px; }
.company-contact-line span { color: var(--gray-400); }
.certificates-section { padding: 30px 0 34px; background: var(--gray-100); }
.certificate-viewport { width: 100%; overflow: hidden; }
.certificate-track { display: flex; gap: 14px; transform: translateX(0); transition: transform .6s ease-in-out; will-change: transform; }
.certificate-track.no-transition { transition: none; }
.certificate-track figure { flex: 0 0 calc((100% - 56px) / 5); height: 310px; margin: 0; padding: 8px; border: 1px solid var(--gray-200); background: #fff; }
.certificate-track img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Contact section ---------- */
.contact-section { color: #fff; background: #252525; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; }
.contact-grid h2 { margin: 8px 0 15px; font-size: 35px; }
.contact-grid>div>p { color: #c9c9c9; }
.contact-grid ul { margin: 25px 0 0; padding: 0; list-style: none; }
.contact-grid li { padding: 8px 0; border-bottom: 1px solid #444; }
.inquiry-form { display: grid; gap: 14px; padding: 28px; color: var(--gray-900); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--gray-300); outline: 0; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,106,0,.12); }
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 170px; }
.form-note { margin: 0; color: var(--gray-500); font-size: 11px; }
/* ---------- Footer ---------- */
.store-footer { color: #bdbdbd; background: #111; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1.2fr; gap: 50px; padding: 55px 0; }
.footer-grid>div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid>div:first-child { display: block; }
.footer-grid img { width: 215px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-grid p, .footer-grid a { margin: 0; color: #999; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-grid h3 { margin: 0 0 10px; color: #fff; font-size: 13px; }
.footer-bottom { border-top: 1px solid #333; }
.footer-bottom .store-container { padding: 16px 0; color: #777; font-size: 11px; }

/* ---------- Product detail page ---------- */
.detail-page { background: #fff; }
.detail-breadcrumb { display: flex; gap: 8px; padding-top: 22px; padding-bottom: 22px; color: var(--gray-500); font-size: 12px; }
.detail-main { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 65px; }
.detail-image { display: grid; place-items: center; min-height: 520px; padding: 25px; border: 1px solid var(--gray-200); background: var(--gray-100); }
.detail-image img { width: 100%; max-height: 480px; object-fit: contain; }
.detail-gallery>p { color: var(--gray-500); font-size: 11px; }
.detail-category { display: inline-block; padding: 5px 9px; color: var(--orange); background: #fff0e5; font-size: 11px; font-weight: 700; }
.detail-information h1 { margin: 12px 0 5px; font-size: 34px; line-height: 1.22; }
.detail-code { margin: 0; color: var(--gray-500); }
.supplier-rating { margin: 16px 0; padding: 10px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); font-size: 12px; }
.supplier-rating span { color: var(--orange); }
.detail-description { color: var(--gray-700); }
.detail-trade { margin: 22px 0; background: #fff6ef; }
.detail-trade>div { display: grid; grid-template-columns: 140px 1fr; padding: 11px 15px; border-bottom: 1px solid #f7dac5; }
.detail-trade span { color: var(--gray-500); font-size: 12px; }
.detail-trade b { color: var(--orange); }
.detail-benefits { margin: 20px 0 25px; padding: 0; list-style: none; }
.detail-benefits li { padding: 6px 0; }
.detail-benefits li::before { content: "✓"; margin-right: 8px; color: var(--orange); font-weight: 700; }
.detail-tabs { position: sticky; z-index: 40; top: 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: #fff; }
.detail-tabs nav { display: flex; }
.detail-tabs a { padding: 16px 26px; border-right: 1px solid var(--gray-200); font-size: 13px; font-weight: 700; }
.detail-tabs a.active { color: var(--orange); border-top: 2px solid var(--orange); }
.detail-content { max-width: 950px; }
.detail-content h2 { margin-top: 0; font-size: 27px; }
.detail-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-feature-grid article { padding: 25px; border: 1px solid var(--gray-200); }
.detail-feature-grid b { color: var(--orange); font-size: 20px; }
.detail-feature-grid h3 { margin: 8px 0; font-size: 16px; }
.detail-feature-grid p { margin: 0; color: var(--gray-500); font-size: 13px; }
.specifications { background: var(--gray-100); }
.specifications table { width: 100%; border-collapse: collapse; background: #fff; }
.specifications th, .specifications td { padding: 14px 16px; border: 1px solid var(--gray-200); font-size: 13px; text-align: left; }
.specifications th { width: 30%; background: #fafafa; }
.supplier-section { background: #fffaf6; }
.supplier-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #f2d5bf; }
.supplier-cards div { display: grid; padding: 24px; border-right: 1px solid #f2d5bf; text-align: center; }
.supplier-cards div:last-child { border-right: 0; }
.supplier-cards b { color: var(--orange); font-size: 25px; }
.supplier-cards span { color: var(--gray-500); font-size: 11px; }
.detail-content details { border-bottom: 1px solid var(--gray-200); }
.detail-content summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.detail-content details p { color: var(--gray-700); }

/* ---------- Dedicated product category page ---------- */
.catalog-body { background: #fff; }
.catalog-intro { padding: 30px 0 5px; border-bottom: 1px solid var(--gray-200); background: #fff; text-align: center; }
.catalog-intro h1 { margin: 5px 0 5px; color: var(--gray-900); font-size: 31px; line-height: 1.2; }
.catalog-intro p { max-width: 780px; margin: 0 auto; color: var(--gray-500); font-size: 13px; }
.catalog-jump { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 4px; margin-top: 17px; overflow-x: auto; padding-bottom: 0; }
.catalog-jump a { flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--blue); color: #fff; background: var(--blue); font-size: 10px; font-weight: 700; transition: border-color .2s, background .2s; }
.catalog-jump a:hover { border-color: var(--orange); color: #fff; background: var(--orange); }
.catalog-page { padding: 8px 0 50px; }
.catalog-category-section { padding-top: 26px; scroll-margin-top: 62px; }
.catalog-category-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-900); }
.catalog-category-heading h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.catalog-category-heading span { color: var(--gray-500); font-size: 12px; }
.category-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--gray-200); background: #fff; transition: box-shadow .2s, transform .2s; }
.category-product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.category-product-card>img { width: calc(100% - 16px); margin: 8px; outline: 1px solid var(--image-border); outline-offset: -1px; aspect-ratio: 1/1; object-fit: contain; background: #fafafa; }

.category-product-grid .category-product-card { position: relative; }
.category-product-grid .category-product-card::before { content: ""; position: absolute; z-index: 2; top: 17px; right: 12px; width: 46px; aspect-ratio: 767/541; background: url("assets/images/ce-mark.png") center/contain no-repeat; pointer-events: none; }
.category-product-grid .product-card-logo-overlay { position: absolute; z-index: 2; top: 11px; left: 13px; width: clamp(44px, 4vw, 56px); aspect-ratio: 2.55/1; background: url("assets/images/logo.webp") left top/contain no-repeat; pointer-events: none; }
.category-product-grid .product-card-model-overlay { position: absolute; z-index: 2; top: calc(66.666% - 18px); right: 13px; color: #666; font-size: clamp(8px, .72vw, 10px); line-height: 1; pointer-events: none; }
.category-product-grid .category-product-card.has-cb::after { content: ""; position: absolute; z-index: 2; top: 17px; right: 62px; width: 46px; aspect-ratio: 767/541; background: url("assets/images/cb-mark.svg?v=20261028a") center/contain no-repeat; pointer-events: none; }
/* Product text grows with its content so the complete description remains visible. */
.category-product-info { display: flex; flex-direction: column; min-height: 0; overflow: visible; padding: 8px 11px 12px; }
.category-product-info>span { overflow: visible; color: #111; font-size: 13px; font-weight: 600; line-height: 1.2; text-overflow: clip; white-space: normal; }
.product-model-patent { margin-left: 6px; color: #e4a63a; font-style: normal; font-weight: 600; }
.category-product-info h3 { margin: 1px 0; color: #111; font-size: 14px; line-height: 1.1; }
.category-product-info p { display: block; margin: 0; overflow: visible; color: #3f3f3f; font-size: 13px; line-height: 1.16; -webkit-box-orient: initial; -webkit-line-clamp: unset; }
.category-product-card.compact-description .category-product-info { padding: 8px 11px 12px; }
.category-product-card.compact-description .category-product-info p { font-size: 13px; line-height: 1.06; letter-spacing: normal; }
.category-product-card.tight-letter-description .category-product-info { padding: 4px 11px 10px; }
.category-product-card.tight-letter-description .category-product-info>span { font-size: 13px; line-height: 1.05; }
.category-product-card.tight-letter-description .category-product-info h3 { margin: 0; font-size: 13.5px; line-height: 1.03; }
.category-product-card.tight-letter-description .category-product-info p { font-size: 12.5px; line-height: 1.05; letter-spacing: -0.2px; }
.category-product-card.tight-letter-description .product-description-lead,
.category-product-card.tight-letter-description .product-description-details { line-height: inherit; letter-spacing: inherit; word-spacing: 0; vertical-align: baseline; }
.category-product-card.wide-cable-description .category-product-info { padding: 3px 5px; }
.category-product-card.wide-cable-description .category-product-info p { line-height: 1.12; letter-spacing: -0.1px; }
.category-product-card.relaxed-description .category-product-info p { line-height: 1.15; }
.category-product-card.accessory-long-description .category-product-info { padding: 5px 9px 3px; }
.category-product-card.accessory-long-description .category-product-info>span { font-size: 12.5px; line-height: 1.05; }
.category-product-card.accessory-long-description .category-product-info h3 { margin: 0; font-size: 13.5px; line-height: 1.02; }
.category-product-card.accessory-long-description .category-product-info p { font-size: 12.3px; line-height: 1.02; letter-spacing: -.18px; }
.product-description-lead { color: #0b4b83; font-weight: 400; }
.product-description-details { color: #3d3d3d; font-weight: 500; }
.product-description-manual-bold { color: inherit; font-weight: 700; }
.product-text-blue { color: #0b4b83; }
.product-text-black { color: #111; }
.product-text-darkgray { color: #3d3d3d; }
.product-text-gray { color: #777; }

/* ---------- All products page: five cards per row on desktop ---------- */
.all-products-page { padding: 26px 0 50px; }
.all-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.all-product-grid .category-product-card { position: relative; }
.all-product-grid .category-product-card::before { content: ""; position: absolute; z-index: 2; top: 14px; right: 10px; width: 38px; aspect-ratio: 767/541; background: url("assets/images/ce-mark.png") center/contain no-repeat; pointer-events: none; }
.all-product-grid .product-card-logo-overlay { position: absolute; z-index: 2; top: 3%; left: 4%; width: 15.5%; aspect-ratio: 2.55/1; background: url("assets/images/logo.webp") left top/contain no-repeat; pointer-events: none; }
.all-product-grid .product-card-model-overlay { position: absolute; z-index: 2; top: calc(66.666% - 15px); right: 4%; color: #666; font-size: clamp(7px, .6vw, 9px); line-height: 1; pointer-events: none; }
.all-product-grid .category-product-card.has-cb::after { content: ""; position: absolute; z-index: 2; top: 14px; right: 52px; width: 38px; aspect-ratio: 767/541; background: url("assets/images/cb-mark.svg?v=20261028a") center/contain no-repeat; pointer-events: none; }
.category-product-grid .category-product-card.ce-hidden::before,
.all-product-grid .category-product-card.ce-hidden::before { display: none; }
.latest-product-card::before,
.category-product-grid .category-product-card::before,
.category-product-grid .category-product-card.has-cb::after,
.all-product-grid .category-product-card::before,
.all-product-grid .category-product-card.has-cb::after { filter: invert(48%); }
.all-product-grid .category-product-info { --all-card-text-scale: 1; min-height: 0; overflow: visible; padding: 6px 7px 10px; }
.all-product-grid .category-product-info>span { overflow: visible; font-size: calc(11px * var(--all-card-text-scale)); line-height: 1.06; text-overflow: clip; white-space: normal; }
.all-product-grid .category-product-info h3 { margin: 1px 0; font-size: calc(12px * var(--all-card-text-scale)); line-height: 1.05; }
.all-product-grid .category-product-info p { display: block; overflow: visible; font-size: calc(11px * var(--all-card-text-scale)); line-height: 1.06; -webkit-box-orient: initial; -webkit-line-clamp: unset; }
.all-products-count { margin-top: 12px; color: var(--gray-500); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .brand-copy { margin-left: 20px; }
  .brand-copy strong { font-size: 34px; }
  .brand-copy span { font-size: 13px; }
  .store-nav a { padding-inline: 14px; }
  .store-search { width: 260px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .latest-product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .certificate-track figure { flex-basis: calc((100% - 42px) / 4); }
  .category-product-grid { gap: 14px; }
  .category-product-info { padding: 8px 10px; }
  .category-product-info h3 { font-size: 14px; }
  .category-product-info p { font-size: 13px; }
  .company-copy { padding: 20px; font-size: 13px; line-height: 1.3; }
  .company-copy h2 { font-size: 22px; }
  .company-strengths { gap: 5px; }
  .company-facts { margin-top: 11px; }
  .company-mission { margin-top: 10px !important; padding-top: 8px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid>div:last-child { grid-column: 1/-1; }
}

@media (min-width: 801px) and (max-width: 1300px) {
  .company-copy { padding: 13px 17px 11px; font-size: 12px; line-height: 1.18; }
  .company-copy h2 { margin-bottom: 6px; font-size: 20px; }
  .company-lead { margin-bottom: 5px !important; }
  .company-subtitle { margin-bottom: 3px; font-size: 13px; }
  .company-strengths { gap: 2px; }
  .company-facts { margin-top: 6px; }
  .company-facts div { padding: 5px 4px; }
  .company-facts b { font-size: 13px; }
  .company-facts span { font-size: 9px; }
  .company-mission { margin-top: 5px !important; padding-top: 5px; }
  .company-contact-line { margin-top: 4px; font-size: 10px; }
}

@media (max-width: 800px) {
  .utility-inner { justify-content: center; }
  .utility-links, .verified { display: none; }
  .brand-row { min-height: 92px; }
  .brand-logo { width: 95px; flex-basis: 95px; }
  .brand-copy { display: none; }
  .service-strip { grid-template-columns: repeat(2, 1fr); }
  .service-strip>div { min-height: 48px; border-bottom: 1px solid var(--gray-200); }
  .service-strip>div:nth-child(2) { border-right: 0; }
  .mobile-menu { display: block; }
  .store-nav { position: absolute; top: 52px; left: 0; width: min(330px, 90vw); display: none; padding: 12px; background: #111; box-shadow: var(--shadow); }
  .store-nav.open { display: block; }
  .store-nav a { display: block; padding: 13px; border-bottom: 1px solid #333; }
  .store-search { width: min(260px, 65vw); }
  .store-hero { height: auto; aspect-ratio: 24/7; }
  .hero-overlay { padding-inline: 35px; }
  .hero-overlay h1, .hero-overlay h2 { font-size: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .products-heading { display: block; }
  .category-tabs { margin-top: 18px; }
  .company-profile-box, .contact-grid, .detail-main { grid-template-columns: 1fr; }
  .company-profile-box { aspect-ratio: auto; }
  .company-video { min-height: 0; aspect-ratio: 16/9; }
  .company-copy { order: initial; height: auto; overflow: visible; padding: 24px; border-top: 1px solid #1d2530; border-left: 0; font-size: 14px; line-height: 1.4; }
  .company-copy h2 { font-size: 24px; }
  .company-facts { grid-template-columns: repeat(2, 1fr); }
  .certificate-track figure { flex-basis: calc((100% - 28px) / 3); height: 235px; }
  .category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .all-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-product-info { padding: 8px 11px; }
  .category-product-info h3 { font-size: 14px; }
  .category-product-info p { font-size: 13px; }
  .floating-contact { display: none; }
  .detail-image { min-height: 400px; }
  .detail-feature-grid { grid-template-columns: 1fr; }
  .supplier-cards { grid-template-columns: repeat(2, 1fr); }
  .supplier-cards div:nth-child(2) { border-right: 0; }
  .supplier-cards div:nth-child(-n+2) { border-bottom: 1px solid #f2d5bf; }
}

@media (max-width: 540px) {
  .store-container { width: calc(100% - 24px); }
  .brand-row>.orange-button { display: none; }
  .service-strip { width: 100%; }
  .service-strip small { display: none; }
  .store-search { width: calc(100% - 90px); }
  .store-search button { width: 60px; }
  .store-hero { height: auto; aspect-ratio: 24/7; }
  .hero-overlay { padding-inline: 24px; background: rgba(0,0,0,.62); }
  .hero-overlay h1, .hero-overlay h2 { font-size: 33px; }
  .hero-arrow { display: none; }
  .store-section { padding: 55px 0; }
  .company-section, .certificates-section { padding: 26px 0 30px; }
  .latest-products-section { padding: 12px 0 22px; }
  .categories-section { padding: 12px 0 22px; }
  .latest-products-section .store-title, .categories-section .store-title, .certificates-section .store-title { margin-bottom: 18px; }
  .latest-product-grid, .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card h3 { min-height: 56px; padding: 10px; font-size: 12px; }
  .certificate-track { gap: 10px; }
  .certificate-track figure { flex-basis: calc((100% - 10px) / 2); height: 220px; }
  .catalog-intro { padding: 24px 0 5px; }
  .catalog-intro h1 { font-size: 25px; }
  .catalog-jump { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .catalog-jump a { flex: 0 0 auto; }
  .catalog-page { padding-bottom: 38px; }
  .catalog-category-section { padding-top: 22px; }
  .catalog-category-heading h2 { font-size: 18px; }
  .category-product-grid { grid-template-columns: 1fr; gap: 13px; }
  .all-product-grid { grid-template-columns: 1fr; gap: 13px; }
  .product-image { aspect-ratio: 1.12/1; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid>div:last-child { grid-column: auto; }
  .detail-information h1 { font-size: 28px; }
  .detail-trade>div { grid-template-columns: 110px 1fr; }
  .detail-tabs { overflow-x: auto; }
  .detail-tabs nav { width: max-content; }
  .supplier-cards { grid-template-columns: 1fr; }
  .supplier-cards div { border-right: 0; border-bottom: 1px solid #f2d5bf; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none!important; animation: none!important; }
  .hero-track { transition: transform .65s ease-in-out!important; }
  .hero-track.no-transition { transition: none!important; }
}
