/*
Theme Name: Huifeng Components
Theme URI: https://example.com/huifeng-components
Author: Huifeng
Description: A bilingual product catalogue theme for Ningbo Huifeng Electrical Appliance Co., Ltd.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: huifeng
*/

:root {
  --ink: #172c3d;
  --muted: #65727c;
  --line: #dce3e7;
  --paper: #ffffff;
  --canvas: #f3f6f7;
  --navy: #102d45;
  --orange: #f47721;
  --red: #e9342b;
  --green: #19735f;
  --content: 1240px;
  --font: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { overflow: hidden; }
.container { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 2px; background: currentColor; content: ""; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.section-heading p { max-width: 440px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-weight: 750; }
.text-link::after { content: "↗"; font-size: 18px; }

.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 30px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; min-width: 210px; gap: 12px; }
.brand img { width: 128px; height: 58px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.22; }
.brand-text strong { font-size: 15px; }
.brand-text span { color: var(--muted); font-size: 10px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); margin-left: auto; }
.main-nav a { color: #3b4b58; font-size: 14px; font-weight: 650; transition: color .18s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .button { white-space: nowrap; flex-shrink: 0; }
.header-phone { color: var(--navy); font-size: 13px; font-weight: 750; white-space: nowrap; }
.language-switch { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--line); }
.language-switch button { min-width: 34px; min-height: 32px; padding: 0 8px; border: 0; background: #fff; color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.language-switch button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--orange); outline-offset: 2px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover, .button:focus-visible { background: var(--red); }
.button--outline { border-color: rgba(255,255,255,.55); background: transparent; }
.button--outline:hover, .button--outline:focus-visible { border-color: #fff; background: #fff; color: var(--navy); }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { position: relative; background: var(--navy); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; min-height: 550px; }
.hero-copy { position: relative; z-index: 1; padding: 70px 0 74px; }
.hero .eyebrow { color: #ff8c3b; }
.hero h1 { max-width: 670px; margin: 0; font-size: 62px; font-weight: 780; line-height: 1.07; }
.hero h1 span { display: block; margin-top: 13px; color: #ff8c3b; font-size: .52em; font-weight: 650; line-height: 1.35; }
.hero-copy > p { max-width: 520px; margin: 24px 0 30px; color: #d3dce3; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 42px; color: #cad5dc; font-size: 12px; }
.hero-meta strong { color: #fff; }
.hero-meta span + span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); }
.hero-visual { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 430px; }
.hero-visual img { position: relative; width: min(92%, 600px); height: min(440px, 78%); object-fit: contain; }
.hero-index { position: absolute; right: 4px; bottom: 34px; color: #aab8c1; font-size: 12px; font-weight: 750; letter-spacing: 0; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; min-height: 118px; align-items: center; gap: 14px; padding: 18px 22px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 24px; line-height: 1.2; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.trust-number { color: var(--orange); font-size: 13px; font-weight: 800; }

.featured-section { padding: 84px 0 52px; background: #f2f5f4; }
.featured-heading { margin-bottom: 38px; align-items: center; }
.featured-heading h2 { font-size: 40px; }
.featured-heading__intro { max-width: 400px; }
.featured-heading__intro p { font-size: 14px; }
.featured-heading__intro .text-link { margin-top: 12px; font-size: 12px; }
.featured-carousel { position: relative; }
.featured-carousel__stage { position: relative; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-y; }
.featured-slide { position: relative; display: flex; flex: 0 0 52%; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dce4e3; }
.featured-slide__visual { position: relative; display: flex; flex: 1; min-height: 0; align-items: center; justify-content: center; overflow: hidden; background: #e9eeed; }
.featured-slide__visual img { width: 100%; height: 100%; min-height: 0; padding: 44px 40px 24px; object-fit: contain; mix-blend-mode: multiply; }
.featured-slide__number { position: absolute; top: 16px; left: 22px; z-index: 1; color: var(--orange); font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.featured-slide__tag { position: absolute; top: 18px; right: 22px; color: #667976; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.featured-slide__body { display: flex; flex: 0 0 108px; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; }
.featured-slide__body > div { min-width: 0; }
.featured-slide__body p { margin: 0 0 1px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.featured-slide__body h3 { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.2; }
.featured-slide__body > div > span { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.featured-slide__link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 14px; color: var(--orange); font-size: 12px; font-weight: 750; }
.featured-slide__link span { font-size: 21px; }
.featured-slide__select { position: absolute; inset: 0; display: none; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.featured-slide.is-prev .featured-slide__select { right: 50%; width: 50%; }
.featured-slide.is-next .featured-slide__select { left: 50%; width: 50%; }
.featured-carousel.is-ready .featured-carousel__stage { display: block; height: clamp(390px, 42vw, 570px); overflow: hidden; }
.featured-carousel.is-ready .featured-slide { position: absolute; top: 0; left: 50%; width: 52%; height: 100%; opacity: 0; visibility: hidden; transform: translateX(-50%) scale(.8); transition: transform .55s ease, opacity .45s ease, visibility .55s; }
.featured-carousel.is-ready .featured-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); box-shadow: 0 14px 32px rgba(16,45,69,.09); }
.featured-carousel.is-ready .featured-slide.is-prev { z-index: 1; opacity: .72; visibility: visible; transform: translateX(-110%) scale(.8); }
.featured-carousel.is-ready .featured-slide.is-next { z-index: 1; opacity: .72; visibility: visible; transform: translateX(10%) scale(.8); }
.featured-carousel.is-ready .featured-slide.is-prev:hover, .featured-carousel.is-ready .featured-slide.is-next:hover { opacity: 1; }
.featured-slide.is-prev .featured-slide__select, .featured-slide.is-next .featured-slide__select { display: block; }
.featured-carousel__arrows { position: absolute; top: 0; right: -22px; bottom: 58px; left: -22px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.featured-carousel__arrow { z-index: 3; display: grid; width: 46px; height: 46px; place-items: center; padding: 0 0 3px; border: 1px solid #bdccca; background: #fff; color: var(--navy); font-size: 25px; cursor: pointer; pointer-events: auto; }
.featured-carousel__arrow:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.featured-carousel__footer { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 58px; padding-top: 16px; }
.featured-carousel__count { min-width: 56px; color: #556762; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.featured-carousel__dots { display: flex; align-items: center; gap: 2px; }
.featured-carousel__dot { display: grid; width: 24px; height: 30px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.featured-carousel__dot::before { width: 6px; height: 6px; border-radius: 50%; background: #bdcac6; content: ""; transition: width .2s ease, background .2s ease; }
.featured-carousel__dot[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--orange); }
.featured-carousel__toggle { padding: 6px 0; border: 0; background: transparent; color: #536760; font-size: 11px; cursor: pointer; }
.featured-carousel [hidden] { display: none; }
.featured-carousel :is(a, button):focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.featured-carousel:not(.is-ready) .featured-slide__visual { aspect-ratio: 1.45; }
.featured-carousel:not(.is-ready) .featured-slide__select { display: none; }
.catalog-section { padding: 76px 0 96px; background: var(--canvas); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); background: #fff; color: #42515b; font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.catalog-search { display: flex; align-items: center; width: min(290px, 100%); min-width: 200px; border-bottom: 1px solid #aeb9bf; }
.catalog-search input { width: 100%; height: 42px; padding: 0 8px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.catalog-search span { padding-right: 5px; color: var(--muted); font-size: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { min-width: 0; background: #fff; }
.product-card__image { position: relative; display: grid; aspect-ratio: 1.18 / 1; place-items: center; overflow: hidden; background: #fff; }
.product-card__image img { width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: transform .25s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800; }
.product-card__body { padding: 15px 16px 17px; }
.product-card__series { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.product-card__series span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__code { display: block; margin: 6px 0 12px; font-size: 18px; font-weight: 780; line-height: 1.2; overflow-wrap: anywhere; }
.product-card__note { margin: -4px 0 12px; color: var(--muted); font-size: 11px; }
.product-card__inquiry { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #edf0f2; color: var(--red); font-size: 12px; font-weight: 750; }
.product-card__inquiry::after { content: "↗"; font-size: 16px; }
.catalog-empty { grid-column: 1 / -1; margin: 0; padding: 38px 20px; background: #fff; color: var(--muted); text-align: center; }
.catalog-count { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.catalog-count strong { color: var(--ink); }

.about-section { padding: 94px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 70px; }
.company-gallery { min-width: 0; }
.company-gallery__figure { position: relative; margin: 0; overflow: hidden; background: #edf1f3; }
.company-gallery__viewport { aspect-ratio: 4 / 3; }
.company-gallery__full { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.company-gallery__full img { width: 100%; height: 100%; object-fit: contain; }
.company-gallery__caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 13px 18px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 650; }
.company-gallery__caption [data-gallery-caption] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-gallery__count { flex-shrink: 0; color: #ffab6d; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.company-gallery__controls { position: absolute; inset: 0 0 54px; display: flex; align-items: center; justify-content: space-between; padding: 12px; pointer-events: none; }
.company-gallery__controls[hidden] { display: none; }
.company-gallery__arrow { display: grid; width: 40px; height: 40px; padding: 0 0 3px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(16,45,69,.82); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; pointer-events: auto; }
.company-gallery__arrow:hover { background: var(--orange); }
.company-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.company-gallery__thumb { display: flex; aspect-ratio: 4 / 3; min-width: 0; align-items: center; justify-content: center; padding: 3px; border: 2px solid transparent; background: #edf1f3; transition: border-color .15s ease; }
.company-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.company-gallery__thumb:hover, .company-gallery__thumb[aria-current="true"] { border-color: var(--orange); }
.company-gallery a:focus-visible, .company-gallery button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.about-copy h2 { margin: 0 0 22px; font-size: 36px; line-height: 1.15; }
.about-copy > p { margin: 0 0 20px; color: #52616c; }
.about-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 26px 0 0; border-top: 1px solid var(--line); }
.about-lines div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-lines dt { color: var(--muted); font-size: 11px; }
.about-lines dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 750; }

.contact-section { padding: 66px 0; background: #f4f6f7; }
.contact-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
.contact-copy h2 { max-width: 720px; margin: 0; font-size: 32px; line-height: 1.2; }
.contact-copy p { margin: 10px 0 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .button--dark { background: var(--navy); }
.contact-actions .button--dark:hover { background: var(--red); }
.contact-action-group { display: grid; gap: 12px; }
.contact-details { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.contact-details a { overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--red); }

.site-footer { background: #0c2234; color: #eef3f5; }
.footer-main { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 48px; padding: 52px 0 42px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 138px; height: 62px; padding: 4px; background: #fff; object-fit: contain; }
.footer-brand strong { display: block; font-size: 15px; }
.footer-brand span { display: block; margin-top: 4px; color: #9cabb6; font-size: 11px; }
.footer-heading { margin: 2px 0 13px; color: #ff8a3a; font-size: 12px; font-weight: 800; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; color: #d2dce2; font-size: 13px; }
.footer-contact { display: grid; gap: 7px; color: #d2dce2; font-size: 13px; overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); color: #9cabb6; font-size: 11px; }
.footer-bottom a { color: #d6e0e5; }
.floating-contact { position: fixed; right: 20px; bottom: 22px; z-index: 8; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 8px 24px rgba(12,34,52,.2); }
.floating-contact:hover { background: #145e4d; }

@media (max-width: 1000px) {
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .brand img { width: 112px; height: 52px; }
  .header-phone { display: none; }
  .main-nav { gap: 18px; }
  .hero-inner { min-height: 500px; }
  .hero h1 { font-size: 54px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { gap: 40px; }
}
@media (max-width: 720px) {
  .container { width: min(var(--content), calc(100% - 32px)); }
  .header-inner { position: relative; min-height: 68px; gap: 8px; }
  .brand img { width: 100px; height: 48px; }
  .brand-text strong { font-size: 13px; }
  .brand-text span { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .language-switch button { min-width: 30px; min-height: 30px; padding: 0 6px; }
  .mobile-menu-toggle { display: block; flex: 0 0 42px; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: -16px; left: -16px; display: none; align-items: stretch; gap: 0; padding: 8px 16px 14px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 10px 18px rgba(16,45,69,.1); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid #edf0f2; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 54px 0 28px; }
  .hero h1 { max-width: 570px; font-size: 44px; }
  .hero-copy > p { margin: 18px 0 22px; font-size: 15px; }
  .hero-meta { gap: 11px; margin-top: 28px; font-size: 10px; }
  .hero-meta span + span { padding-left: 11px; }
  .hero-visual { min-height: 280px; margin-bottom: 18px; }
  .hero-visual img { height: 250px; }
  .hero-index { bottom: 12px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 92px; padding: 13px 12px; }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-item strong { font-size: 20px; }
  .catalog-section, .about-section { padding: 60px 0; }
  .featured-section { padding: 56px 0 24px; }
  .featured-heading { gap: 18px; margin-bottom: 26px; }
  .featured-heading h2 { font-size: 30px; }
  .featured-carousel.is-ready .featured-carousel__stage { height: clamp(330px, 104vw, 500px); margin-inline: -16px; }
  .featured-carousel.is-ready .featured-slide { width: 82%; }
  .featured-carousel.is-ready .featured-slide.is-prev { transform: translateX(-100%) scale(.86); }
  .featured-carousel.is-ready .featured-slide.is-next { transform: translateX(0) scale(.86); }
  .featured-slide__visual img { padding: 42px 20px 14px; }
  .featured-slide__number { top: 16px; left: 16px; font-size: 21px; }
  .featured-slide__tag { right: 16px; font-size: 9px; }
  .featured-slide__body { flex-basis: 100px; gap: 10px; padding: 14px 16px; }
  .featured-slide__body h3 { font-size: 24px; }
  .featured-slide__link { gap: 6px; font-size: 11px; }
  .featured-carousel__arrows { right: -10px; left: -10px; bottom: 90px; }
  .featured-carousel__arrow { width: 38px; height: 44px; font-size: 22px; }
  .featured-carousel__footer { flex-wrap: wrap; gap: 0 14px; min-height: 86px; padding-top: 12px; }
  .featured-carousel__dots { order: -1; flex-basis: 100%; justify-content: center; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-heading h2, .about-copy h2 { font-size: 29px; }
  .section-heading p { font-size: 14px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column-reverse; gap: 14px; }
  .catalog-search { width: 100%; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card__image { aspect-ratio: 1 / 1; }
  .product-card__image img { padding: 10px; }
  .product-card__body { padding: 12px; }
  .product-card__code { font-size: 16px; }
  .product-card__series { font-size: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-gallery__caption { padding: 12px 14px; }
  .company-gallery__thumbs { gap: 6px; margin-top: 10px; }
  .company-gallery__thumb { padding: 2px; }
  .contact-section { padding: 50px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .contact-copy h2 { font-size: 27px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 38px 0 30px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 520px) {
  .brand-text { max-width: 130px; }
  .header-actions .button { display: none; }
}
@media (max-width: 390px) {
  .brand { gap: 4px; }
  .brand img { width: 78px; }
  .brand-text { max-width: 96px; }
  .brand-text strong { font-size: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .button { padding: 0 8px; }
  .contact-details { flex-direction: column; gap: 4px; }
  .hero h1 { font-size: 39px; }
  .product-card__inquiry { font-size: 11px; }
}
@media (max-width: 350px) {
  .brand img { width: 70px; }
  .brand-text { max-width: 84px; }
  .brand-text span { display: none; }
  .mobile-menu-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .language-switch button { min-width: 27px; padding: 0 4px; }
  .header-actions .button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-carousel.is-ready .featured-slide, .featured-carousel__dot::before { transition: none; }
}
