/*
Theme Name: YEYI Global
Theme URI: https://yeyienterprise.com
Author: Hubei Yeyi Industry & Trade Co., Ltd.
Description: Custom B2B theme for YEYI tactical and outdoor gear.
Version: 1.8.2
Text Domain: yeyi-global
*/

:root {
  --yeyi-olive: #59613b;
  --yeyi-olive-dark: #3f4728;
  --yeyi-ink: #171817;
  --yeyi-muted: #666b62;
  --yeyi-line: #dedfd8;
  --yeyi-surface: #f5f5f2;
  --yeyi-white: #ffffff;
  --yeyi-radius: 18px;
  --yeyi-shadow: 0 18px 55px rgba(23, 24, 23, 0.09);
  --yeyi-container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yeyi-ink);
  background: var(--yeyi-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yeyi-olive); }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--yeyi-container)); margin-inline: auto; }
.section { padding: 62px 0; }
.section--surface { background: var(--yeyi-surface); }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.section-heading p { margin: 0; color: var(--yeyi-muted); font-size: 1.08rem; }
.eyebrow { color: var(--yeyi-olive); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--yeyi-ink); border-radius: 999px;
  background: var(--yeyi-ink); color: var(--yeyi-white); font-weight: 750; transition: .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--yeyi-olive); border-color: var(--yeyi-olive); color: #fff; }
.button--outline { background: transparent; color: var(--yeyi-ink); }
.button--outline:hover { color: #fff; }
.button--light { background: #fff; border-color: #fff; color: var(--yeyi-ink); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--yeyi-line); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 112px; display: grid; grid-template-columns: 260px 1fr 260px; align-items: center; gap: 24px; }
.site-brand, .custom-logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.site-brand img, .custom-logo-link img, .custom-logo { width: 170px; height: 86px; max-height: 86px; object-fit: contain; object-position: left center; }
.site-brand__text { font-size: 1.2rem; font-weight: 850; letter-spacing: -.02em; }
.site-navigation { grid-column: 2; }
.primary-menu { display: flex; align-items: center; justify-content: center; gap: clamp(48px, 5vw, 82px); margin: 0; padding: 0; list-style: none; font-size: 1.16rem; font-weight: 780; white-space: nowrap; }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--yeyi-olive); }
.products-menu-item { position: relative; display: flex; align-items: center; gap: 7px; }
.products-menu-toggle { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.products-menu-toggle::after { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid currentColor; transition: transform .2s ease; }
.products-menu-item.is-open .products-menu-toggle::after { transform: rotate(180deg); }
.products-submenu { display: none; position: absolute; top: calc(100% + 18px); left: 50%; z-index: 70; width: 280px; max-height: 430px; overflow-y: auto; margin: 0; padding: 12px; transform: translateX(-50%); border: 1px solid var(--yeyi-line); border-radius: 14px; background: #fff; box-shadow: var(--yeyi-shadow); list-style: none; font-size: .94rem; white-space: normal; }
.products-menu-item.is-open .products-submenu { display: block; }
.products-submenu li { margin: 0; padding: 0; list-style: none; }
.products-submenu .children { margin: 3px 0 3px 12px; padding-left: 10px; border-left: 1px solid var(--yeyi-line); }
.products-submenu a { display: block; padding: 9px 11px; border-radius: 8px; }
.products-submenu a:hover { background: var(--yeyi-surface); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--yeyi-line); border-radius: 50%; background: #fff; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--yeyi-ink); }

.hero {
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(247,247,243,.82) 0%, rgba(247,247,243,.70) 48%, rgba(247,247,243,.42) 100%),
    url("assets/images/tactical-hero-background-final.png");
  background-size: cover;
  background-position: center;
}
.hero__inner { min-height: 710px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero h1 { max-width: 760px; margin: 16px 0 20px; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.hero__lead { max-width: 650px; color: var(--yeyi-muted); font-size: 1.16rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero__visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--yeyi-olive); opacity: .12; }
.hero__visual img { position: relative; z-index: 1; width: min(100%, 520px); filter: drop-shadow(0 25px 35px rgba(23,24,23,.18)); }
.hero__badge { position: absolute; right: 0; bottom: 60px; z-index: 2; padding: 18px 20px; border: 1px solid var(--yeyi-line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--yeyi-shadow); font-weight: 800; }
.hero__visual--photo { min-height: 0; aspect-ratio: 1.14 / 1; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 24px; background: rgba(255,255,255,.56); box-shadow: var(--yeyi-shadow); backdrop-filter: blur(4px); }
.hero__visual--photo::before { display: none; }
.hero__visual--photo img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; filter: none; }

.trust-strip { border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); background: var(--yeyi-olive); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid--four { grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 36px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.22); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-top: 3px; font-size: 1.72rem; line-height: 1.2; }
.trust-item span { color: rgba(255,255,255,.78); font-size: 1.05rem; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--yeyi-line); border-radius: var(--yeyi-radius); background: #fff; transition: .2s ease; }
.category-card:hover { transform: translateY(-4px); border-color: var(--yeyi-olive); box-shadow: var(--yeyi-shadow); }
.category-card span { color: var(--yeyi-muted); font-size: .86rem; }
.category-card strong { margin-top: 7px; font-size: 1.24rem; line-height: 1.25; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--yeyi-line); border-radius: var(--yeyi-radius); background: #fff; transition: .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--yeyi-shadow); }
.product-card__link { display: block; height: 100%; }
.product-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--yeyi-surface); }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__body { padding: 17px 19px; }
.product-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; font-size: 1.12rem; line-height: 1.3; }
.product-card__arrow { width: 0; height: 0; flex: 0 0 auto; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid var(--yeyi-olive); opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .2s ease; }
.product-card:hover .product-card__arrow, .product-card__link:focus-visible .product-card__arrow { opacity: 1; transform: translateX(0); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.split__panel { padding: 46px; border-radius: 24px; background: var(--yeyi-ink); color: #fff; }
.split__panel h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.split__panel p { color: #c9cbc5; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; margin-right: 9px; color: #aeb98a; font-weight: 900; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: process; }
.process-step { counter-increment: process; padding: 25px 20px; border-top: 2px solid var(--yeyi-olive); background: #fff; }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 24px; color: var(--yeyi-olive); font-size: .8rem; font-weight: 900; }
.process-step h3 { margin: 0 0 7px; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--yeyi-muted); font-size: .9rem; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-card, .video-card, .leader-card, .testimonial-card { overflow: hidden; border: 1px solid var(--yeyi-line); border-radius: var(--yeyi-radius); background: #fff; }
.media-card__visual, .leader-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: #ebece6; }
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #fff; }
.leader-card__image img { width: 100%; height: 100%; object-fit: cover; }
.media-card h3, .video-card h3 { margin: 0; padding: 20px 22px; font-size: 1.12rem; }
.media-placeholder { width: 100%; height: 100%; min-height: 230px; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, #eceee6, #f8f8f5); color: var(--yeyi-muted); text-align: center; }
.subsection-heading { margin: 52px 0 24px; }
.subsection-heading h3 { margin: 8px 0 0; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.2; }
.subsection-heading--primary h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; text-transform: none; }
.video-card__embed { aspect-ratio: 16 / 9; overflow: hidden; background: #ebece6; }
.video-card__embed iframe, .video-card__embed video { width: 100%; height: 100%; border: 0; }
.video-card__embed > a { height: 100%; display: grid; place-items: center; padding: 24px; color: var(--yeyi-olive-dark); font-weight: 800; text-align: center; }
.video-card .media-placeholder { min-height: 0; }

.eyebrow--large { font-size: .95rem; letter-spacing: .19em; }
.testimonial-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.testimonial-card { min-height: 280px; padding: 26px 22px; display: flex; flex-direction: column; }
.testimonial-card__mark { color: var(--yeyi-olive); font-family: Georgia, serif; font-size: 3.6rem; line-height: .8; }
.testimonial-card blockquote { margin: 20px 0; color: #363a33; font-size: .96rem; }
.testimonial-card cite { margin-top: auto; color: var(--yeyi-olive-dark); font-size: .82rem; font-style: normal; font-weight: 800; }

.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader-card__image { aspect-ratio: 4 / 4.5; }
.leader-card__body { padding: 22px; }
.leader-card h3 { margin: 0; font-size: 1.35rem; }
.leader-card__role { margin-top: 4px; color: var(--yeyi-olive); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.leader-card p { margin: 14px 0 0; color: var(--yeyi-muted); font-size: .93rem; }

.cta { margin-bottom: 52px; padding: 64px 0; background: #fff; color: var(--yeyi-ink); border-top: 1px solid var(--yeyi-line); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px; border: 1px solid var(--yeyi-line); border-radius: 24px; background: var(--yeyi-surface); }
.cta h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.cta .button--light { background: var(--yeyi-olive); border-color: var(--yeyi-olive); color: #fff; }
.cta .button--light:hover { background: var(--yeyi-olive-dark); border-color: var(--yeyi-olive-dark); }

.page-hero { padding: 82px 0 58px; background: var(--yeyi-surface); border-bottom: 1px solid var(--yeyi-line); }
.page-hero h1 { max-width: 900px; margin: 12px 0 0; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.page-hero--photo { position: relative; min-height: 410px; display: flex; align-items: center; overflow: hidden; background-image: linear-gradient(90deg, rgba(247,247,243,.84), rgba(247,247,243,.62)), var(--page-hero-image); background-size: cover; background-position: center; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.18)); pointer-events: none; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__description { max-width: 660px; margin-top: 18px; color: #3f433d; }
.page-hero--products { min-height: 300px; padding: 52px 0 38px; background-image: linear-gradient(90deg, rgba(247,247,243,.64), rgba(247,247,243,.48)), var(--page-hero-image); background-position: center 52%; }
.page-hero--process { min-height: 300px; padding: 52px 0 38px; background-image: linear-gradient(90deg, rgba(247,247,243,.50), rgba(247,247,243,.34)), var(--page-hero-image); background-position: center 50%; }
.page-hero--products::before, .page-hero--process::before { background: rgba(255,255,255,.03); }
.page-hero--contact { background-position: center 48%; }
.entry-content { max-width: 850px; margin: 0 auto; padding: 70px 0 100px; }
.entry-content h2 { margin-top: 2.4em; font-size: 2rem; }
.entry-content--contact { max-width: 940px; }

.archive-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.archive-toolbar a { padding: 8px 15px; border: 1px solid var(--yeyi-line); border-radius: 999px; font-size: .88rem; font-weight: 700; }
.archive-toolbar a:hover, .archive-toolbar a.is-active { background: var(--yeyi-olive); color: #fff; border-color: var(--yeyi-olive); }
.product-catalog-bar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.product-catalog-download { min-height: 46px; background: var(--yeyi-olive); border-color: var(--yeyi-olive); }
.product-catalog-download:hover { background: var(--yeyi-olive-dark); border-color: var(--yeyi-olive-dark); }
.product-catalog-download span { font-size: .78rem; letter-spacing: .06em; }
.product-archive-section { padding-top: 42px; }
.category-buying-guide { max-width: 980px; margin: 58px auto 0; padding: 34px 38px; border-top: 3px solid var(--yeyi-olive); background: #f6f6f2; }
.category-buying-guide h2 { margin: 0 0 16px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.category-buying-guide p { margin: 0 0 13px; color: var(--yeyi-text-muted); line-height: 1.75; }
.category-buying-guide p:last-child { margin-bottom: 0; }
.category-buying-guide a { color: var(--yeyi-olive-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.pagination { margin-top: 42px; }
.pagination .nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--yeyi-line); border-radius: 50%; background: #fff; color: var(--yeyi-ink); font-size: 1.12rem; font-weight: 800; line-height: 1; transition: .2s ease; }
.pagination a.page-numbers:hover, .pagination .page-numbers.current { border-color: var(--yeyi-olive); background: var(--yeyi-olive); color: #fff; }
.pagination .prev, .pagination .next { border-color: transparent; font-size: 1.25rem; }

.workflow-section { padding-top: 48px; background: #fff; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.workflow-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--yeyi-line); border-radius: var(--yeyi-radius); background: #fff; box-shadow: 0 12px 34px rgba(23,24,23,.06); }
.workflow-card__number { padding: 22px 24px 0; color: var(--yeyi-olive); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.workflow-card__body { min-height: 178px; padding: 12px 24px 22px; }
.workflow-card h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.2; }
.workflow-card p { margin: 0; color: var(--yeyi-muted); font-size: .93rem; }
.workflow-card__image { margin-top: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--yeyi-surface); }
.workflow-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.product-detail { padding: 72px 0 100px; }
.product-detail__top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-detail__image { overflow: hidden; border-radius: 22px; background: var(--yeyi-surface); }
.product-detail__image img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.product-detail h1 { margin: 12px 0 16px; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.product-detail__summary { color: var(--yeyi-muted); font-size: 1.08rem; }
.product-detail__specifications { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--yeyi-ink); }
.product-detail__specifications h2 { margin: 0 0 12px; font-size: 1.35rem; }
.product-detail__quote { margin-top: 28px; }
.product-detail__content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 70px; }
.product-detail__content--single.is-one-column { grid-template-columns: minmax(0, 1fr); max-width: 850px; }
.detail-block { padding-top: 24px; border-top: 2px solid var(--yeyi-ink); }
.detail-block h2 { margin: 0 0 16px; font-size: 1.45rem; }
.detail-block ul { padding-left: 20px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 0; border-bottom: 1px solid var(--yeyi-line); text-align: left; }
.spec-table th { width: 40%; color: var(--yeyi-muted); font-weight: 600; }
.product-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.product-gallery__button { display: block; padding: 0; overflow: hidden; border: 1px solid var(--yeyi-line); border-radius: 12px; background: var(--yeyi-surface); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.product-gallery__button:hover, .product-gallery__button.is-active { border-color: var(--yeyi-olive); box-shadow: 0 0 0 2px rgba(89,97,59,.16); }
.product-gallery__button img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--yeyi-surface); }

.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form__full { grid-column: 1 / -1; }
.inquiry-form label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 750; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width: 100%; padding: 13px 14px; border: 1px solid #cfd1c8; border-radius: 9px; background: #fff; }
.inquiry-form textarea { min-height: 145px; resize: vertical; }
.form-notice { margin-bottom: 22px; padding: 14px 17px; border-radius: 9px; background: #e9f4e5; color: #2f5b28; }

.site-footer { padding: 38px 0 18px; background: var(--yeyi-olive-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: .75fr 1.2fr .75fr 1.2fr; gap: 38px; align-items: start; }
.footer-brand > img { width: 150px; margin: 0; background: transparent; border-radius: 0; filter: grayscale(1) invert(1) brightness(2.4) contrast(8); mix-blend-mode: screen; }
.footer-title { margin: 0 0 12px; font-size: .78rem; color: #dce2c8; letter-spacing: .15em; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: 5px; }
.footer-contact-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-contact-list li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.86); }
.footer-icon { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.footer-icon svg, .social-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-links a { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; color: #fff; font-size: .82rem; font-weight: 700; }
.social-links a:hover { background: #fff; color: var(--yeyi-olive-dark); }
.social-links svg { width: 19px; height: 19px; }
.social-links .icon-cut { fill: var(--yeyi-olive-dark); stroke: none; }
.site-info { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.64); font-size: .78rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-header__inner { display: flex; min-height: 94px; }
  .menu-toggle { margin-left: auto; }
  .site-navigation { display: none; position: absolute; top: 94px; left: 0; right: 0; padding: 20px; background: #fff; border-bottom: 1px solid var(--yeyi-line); }
  .site-navigation.is-open { display: block; }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 4px; }
  .primary-menu a { display: block; padding: 10px; }
  .products-menu-item { display: block; }
  .products-menu-toggle { position: absolute; top: 8px; right: 8px; }
  .products-submenu { position: static; width: 100%; max-height: none; margin: 4px 0 8px; transform: none; border-radius: 9px; box-shadow: none; }
  .hero__inner, .split, .product-detail__top { grid-template-columns: 1fr; }
  .hero__inner { padding: 80px 0; }
  .hero__visual { min-height: 390px; }
  .hero__visual--photo { min-height: 0; width: min(100%, 620px); justify-self: center; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid, .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--yeyi-container)); }
  .section { padding: 48px 0; }
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { min-height: 78px; }
  .site-navigation { top: 78px; }
  .site-brand img, .custom-logo-link img, .custom-logo { width: 126px; height: 64px; max-height: 64px; }
  .hero__inner { gap: 28px; padding: 62px 0; }
  .hero h1 { font-size: 3.2rem; }
  .hero__visual { min-height: 300px; }
  .hero__badge { bottom: 16px; right: 5px; }
  .trust-grid, .category-grid, .product-grid, .process-grid, .product-detail__content, .media-grid, .testimonial-grid, .leadership-grid, .workflow-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--yeyi-line); }
  .trust-item:last-child { border-bottom: 0; }
  .split__panel { padding: 30px 24px; }
  .check-list { grid-template-columns: 1fr; }
  .cta__inner { align-items: flex-start; flex-direction: column; }
  .cta { margin-bottom: 32px; padding: 42px 0; }
  .cta__inner { padding: 30px 24px; }
  .page-hero--photo { min-height: 280px; }
  .page-hero--products, .page-hero--process { min-height: 250px; padding: 42px 0 30px; }
  .product-archive-section { padding-top: 34px; }
  .category-buying-guide { margin-top: 42px; padding: 26px 22px; }
  .product-catalog-bar { justify-content: stretch; }
  .product-catalog-download { width: 100%; }
  .pagination .page-numbers { min-width: 42px; height: 42px; font-size: 1rem; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form__full { grid-column: auto; }
  .product-detail__quick { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .social-links { grid-template-columns: 1fr; }
}
