/* Mobile presentation only. Existing desktop stylesheet remains unchanged. */
@media (max-width: 900px) {
  .site-header .topbar { display: none; }
  .site-header .mainnav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding: 8px 16px; }
  .mainnav .brand { margin: 0; flex: 0 0 auto; }
  .mainnav .brand img { width: auto; height: 30px; }
  .mainnav .nav-actions { margin: 0 0 0 auto; gap: 8px; }
  .mainnav .search-trigger { width: 44px; height: 44px; }
  .mainnav .quote { width: auto; min-height: 44px; padding: 10px; font-size: 14px; }
  .mobile-menu-toggle, .mobile-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--wine); font: inherit; font-size: 24px; cursor: pointer; }
  .mainnav .navlinks { order: 4; display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; width: 100%; min-width: 0; gap: 0; white-space: normal; }
  .mobile-nav-ready .navlinks:not(.mobile-menu-open) { display: none; }
  .mainnav .nav-item { display: flex; flex-wrap: wrap; align-items: center; width: 100%; border-top: 1px solid var(--line); }
  .mainnav .nav-link { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 48px; padding: 12px 4px; font-size: 14px; white-space: normal; }
  .mainnav .nav-dropdown, .mainnav .nav-item:hover .nav-dropdown, .mainnav .nav-item:focus-within .nav-dropdown { position: static; inset: auto; display: grid; grid-template-columns: 1fr; flex-basis: 100%; width: 100%; min-width: 0; max-width: 100%; padding: 4px 12px 16px; gap: 12px; visibility: visible; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; }
  .mobile-nav-ready .nav-item .nav-dropdown:not(.mobile-submenu-open) { display: none; }
  .mainnav .nav-dropdown a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; white-space: normal; font-size: 15px; line-height: 1.5; }
  .mainnav .nav-dropdown-column { min-width: 0; }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--paper); }
  .search-panel { max-width: 100%; }
  .search-form { min-width: 0; }
  .search-form input { width: 100%; min-width: 0; font-size: 16px; }
  .search-close { min-width: 44px; min-height: 44px; }
  :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
  :is(input, select, textarea) { max-width: 100%; font-size: 16px; }
  :is(main, section, article, aside, figure, .listing-results) { min-width: 0; }
  :is(.hero-buttons, .b2b-actions, .solution-actions, .footer-buttons, .mq-hero-actions) { flex-wrap: wrap; }
  :is(.btn, .product-inquiry-btn, .footer-buttons a, .collection-detail-actions a) { max-width: 100%; min-height: 48px; height: auto; padding-block: 13px; white-space: normal; text-align: center; line-height: 1.4; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px; }
  .footer-cta { max-width: 100%; }
  .footer-column a { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom { flex-wrap: wrap; padding: 20px; line-height: 1.6; }
  .footer-bottom p { overflow-wrap: anywhere; }
  .footer-socials a { width: 44px; height: 44px; }
  .product-detail-breadcrumb, .product-breadcrumb { max-width: 100%; flex-wrap: wrap; gap: 8px; white-space: normal; font-size: 14px; line-height: 1.5; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .product-detail-info h1 { font-size: clamp(30px, 5vw, 38px); line-height: 1.15; }
  .product-spec-list div { grid-template-columns: 1fr; gap: 8px; }
  .product-spec-list dd { font-size: 16px; line-height: 1.6; }
  .product-detail-thumbs { overscroll-behavior-x: contain; }
  .product-detail-thumbs button { flex: 0 0 72px; height: 72px; }
  .listing-layout { grid-template-columns: minmax(0, 1fr); }
  .listing-filter { display: block; padding: 0; }
  .listing-filter [data-filter-toggle] { width: 100%; min-height: 48px; text-align: left; }
  .listing-filter.mobile-filter-collapsed .filter-options { display: none; }
  .listing-filter label { min-height: 44px; align-items: center; font-size: 16px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .listing-card-title { white-space: normal; line-height: 1.45; font-size: 16px; }
  .mq-material-comparison-card { min-width: 0; }
  .mq-material-comparison-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
  .mq-material-comparison-table { min-width: 680px; }
  .mq-material-comparison-table-wrap::before { content: "Swipe to compare materials →"; display: block; padding: 12px; color: var(--wine); font-size: 14px; }
  summary { min-height: 48px; white-space: normal; line-height: 1.5; cursor: pointer; }
  summary::after { flex-shrink: 0; }
  .b2b-faq summary { padding-block: 16px; }
  .b2b-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .b2b-hero .b2b-hero-copy { order: 0; width: 100%; max-width: none; padding: 48px 20px 32px; }
  .b2b-hero .b2b-hero-media { order: 1; position: relative; inset: auto; min-height: 0; height: auto; width: 100%; margin: 0; }
  .b2b-hero .b2b-hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .b2b-hero h1 { font-size: clamp(30px, 5.5vw, 40px); line-height: 1.12; }
  .b2b-hero .b2b-lead { font-size: 16px; line-height: 1.6; }
  .mq-hero { display: flex; flex-direction: column; height: auto; min-height: 0; background: var(--paper); color: var(--wine); }
  .mq-hero::after { display: none; }
  .mq-hero .mq-hero-copy { order: 0; width: 100%; padding: 48px 20px 32px; }
  .mq-hero h1 { color: var(--wine); font-size: clamp(30px, 5.5vw, 40px); text-shadow: none; }
  .mq-hero .mq-hero-copy > p { color: var(--ink); font-size: 16px; text-shadow: none; }
  .mq-hero .mq-hero-media { order: 1; position: relative; inset: auto; z-index: auto; width: 100%; }
  .mq-hero .mq-hero-media img { height: auto; aspect-ratio: 16 / 9; }
  .mq-quality-control-grid { grid-template-columns: 1fr; }
  .mq-quality-control-card-copy { position: relative; min-height: 0; margin: 0; padding: 20px 0; border-radius: 0; transform: none; }
  .mq-quality-control-card-copy h3 { font-size: 22px; }
  .mq-quality-control-card-copy p { font-size: 16px; line-height: 1.6; }
}

@media (max-width: 700px) {
  .mainnav .quote { max-width: 112px; font-size: 13px; }
  .mainnav .brand img { height: 26px; }
  .home-hero { min-height: 0; background-image: none; }
  .home-hero .hero-copy { width: 100%; max-width: none; padding: 44px 20px 32px; }
  .home-hero h1 { font-size: clamp(30px, 8.2vw, 40px); line-height: 1.15; }
  .home-hero .eyebrow { font-size: 14px; line-height: 1.5; }
  .home-hero .intro { width: 100%; margin: 22px 0 26px; font-size: 16px; line-height: 1.6; }
  .home-hero::after { content: ""; display: block; width: 100%; aspect-ratio: 16 / 9; background: url("assets/home/hero-banner.webp") center / cover no-repeat; }
  .hero-buttons, .b2b-actions, .solution-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .home-hero .hero-buttons .btn, .b2b-actions .btn { width: 100%; min-height: 48px; height: auto; font-size: 16px; }
  .listing-page, .product-detail-page { padding-inline: 16px; }
  .listing-page h1 { padding: 36px 0 28px; font-size: 32px; line-height: 1.2; }
  .listing-page h1:has(+ .listing-intro) { padding-bottom: 12px; }
  .listing-intro { margin-bottom: 28px; font-size: 16px; line-height: 1.6; }
  .listing-grid { grid-template-columns: minmax(0, 1fr); }
  .listing-card :is(h2,h3) { font-size: 20px; line-height: 1.4; white-space: normal; }
  .listing-card-button { min-height: 44px; font-size: 16px; }
  .product-detail-main-image { aspect-ratio: 1; }
  .product-detail-main-image img { width: 100%; height: 100%; object-fit: contain; }
  .b2b-section { padding: 56px 20px; }
  .b2b-section :is(.b2b-card-grid, .b2b-compare-grid, .b2b-steps) { grid-template-columns: 1fr; }
  .b2b-section-head h2 { font-size: 30px; line-height: 1.2; }
  .b2b-section :is(p,li), .set-series-text, .capability-card-copy p { font-size: 16px; line-height: 1.6; }
  .b2b-link-card { min-width: 0; }
  .b2b-link-card img { aspect-ratio: 1; object-fit: contain; }
  .b2b-link-card span { display: flex; align-items: center; min-height: 44px; }
  .footer-cta h2 { font-size: 26px; line-height: 1.3; }
  .footer-buttons { flex-direction: column; gap: 12px; }
  .footer-buttons a { width: 100%; }
  .set-series h2 { font-size: 30px; }
  .projects-collections-inner { padding: 56px 20px; }
  .christmas-featured-card h4 { white-space: normal; line-height: 1.4; }
  .lunar-showcase-grid img { width: 100%; }
  .mq-material-heading h2, .mq-material-comparison-heading h2, .mq-factory-heading h2, .mq-quality-control-heading h2 { font-size: 30px; line-height: 1.2; }
  .mq-quality-control { padding: 56px 20px; }
  .mq-quality-control-media { aspect-ratio: 16 / 10; border-radius: 6px; }
  .mq-quality-control-card-copy { margin: 0; min-height: 0; padding: 20px 0; border-radius: 0; }
}

@media (max-width: 900px) {
  .mainnav .nav-actions { width: auto; justify-content: flex-end; }
  .mainnav .brand { transform: none; }
  .mainnav .navlinks { transform: none; }
  .site-footer .footer-socials { min-width: 0; width: 100%; max-width: 100%; transform: none; justify-content: flex-start; gap: 16px; }
  .site-footer .footer-socials a { flex: 0 0 44px; }
  .site-footer .footer-socials::after { text-align: left; overflow-wrap: anywhere; }
  .home-hero h1 { white-space: normal; overflow-wrap: normal; }
}
@media (max-width: 900px) {
  .about-stats dl > div:nth-child(even) { transform: none; }
  .about-stats dt, .about-stats dd, .about-stats-global, .about-stats-serve { white-space: normal; overflow: visible; -webkit-line-clamp: unset; }
  .christmas-story { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 20px; }
  .christmas-story-copy { width: 100%; max-width: 100%; }
  .christmas-story img { max-width: 100%; height: auto; }
}
@media (max-width: 900px) {
  .mainnav .nav-actions { display: contents; }
  .mainnav .brand { margin-right: auto; }
  .mainnav .search-trigger { order: 1; }
  .mainnav .mobile-menu-toggle { order: 2; }
  .mainnav .navlinks { order: 3; overflow: visible; }
  .mainnav .quote { order: 4; width: 100%; max-width: none; margin: 0 0 8px; font-size: 16px; }
  .mobile-nav-ready:not(:has(.mobile-menu-open)) .quote { display: none; }
  .b2b-page .b2b-hero h1 { font-size: clamp(30px, 5.5vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
  .b2b-page .b2b-hero-copy { padding: 44px 20px 32px; }
  .b2b-page .b2b-hero-copy .b2b-lead { margin-block: 24px; }
  .b2b-hero .b2b-actions { margin-top: 4px; }
  .mq-hero .mq-hero-actions { width: 100%; margin-top: 26px; }
  .mq-hero .btn.primary { width: 100%; height: auto; min-height: 48px; padding: 14px 16px; font-size: 16px; }
  .collection-detail-page:not(.christmas-collection-page) .collection-detail-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 20px; }
  .collection-detail-page:not(.christmas-collection-page) .collection-detail-copy { min-width: 0; }
  .collection-detail-page:not(.christmas-collection-page) .collection-detail-copy h1 { font-size: 34px; line-height: 1.2; }
  .collection-detail-page:not(.christmas-collection-page) .collection-detail-copy p { font-size: 16px; line-height: 1.6; }
  .collection-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .collection-detail-actions a { flex: 1 1 220px; }
  .mq-material-steps { grid-template-columns: 1fr; counter-reset: mobile-process; }
  .mq-material-steps li { counter-increment: mobile-process; padding-left: 20px; border-left: 1px solid var(--line); }
  .mq-material-step-copy h4 { min-height: 0; font-size: 22px; line-height: 1.3; }
  .mq-material-step-copy h4::before { content: counter(mobile-process, decimal-leading-zero) " / "; color: var(--wine-soft); }
  .mq-material-step-media { height: auto; }
  .mq-material-step-copy p { font-size: 16px; line-height: 1.6; }
  .mq-faq-question { min-height: 48px; }
  .mq-faq-question > span:first-child { flex: 1; min-width: 0; font-size: 18px; line-height: 1.5; }
  .mq-faq-icon { flex-shrink: 0; }
  .filter-toggle-icon { margin-right: 4px; }
  .listing-filter.mobile-filter-collapsed .filter-toggle-icon { transform: rotate(45deg); }
  .whatsapp-contact { width: 48px; height: 48px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .whatsapp-contact svg { width: 28px; height: 28px; }
}
@media (max-width: 900px) {
  .b2b-page .b2b-hero { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .b2b-page .b2b-hero-copy { height: auto; min-height: 0; }
  .b2b-page .b2b-hero :is(h1, .b2b-eyebrow) { transform: none; }
  .b2b-page .b2b-hero .b2b-eyebrow { font-size: 14px; line-height: 1.5; letter-spacing: .1em; }
  .b2b-page .b2b-hero-media { aspect-ratio: auto; max-height: none; }
  .christmas-collection-page .collection-detail-hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .christmas-collection-page .collection-detail-copy { order: 0; position: relative; inset: auto; width: 100%; height: auto; min-height: 0; padding: 44px 20px 32px; }
  .christmas-collection-page .collection-detail-hero > img { order: 1; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .christmas-collection-page .collection-detail-copy h1 { font-size: clamp(30px, 5.5vw, 40px); line-height: 1.15; transform: none; }
  .christmas-collection-page .christmas-hero-kicker { font-size: 14px; line-height: 1.5; transform: none; }
  .christmas-collection-page .christmas-hero-note { width: 100%; font-size: 16px; line-height: 1.6; transform: none; }
  .christmas-collection-page .collection-detail-actions { margin-top: 24px; }
  .christmas-featured-tabs button, .projects-collections-tabs button, .mq-material-tab { min-height: 44px; }
}
@media (max-width: 900px) {
  /* Hide only the duplicate floating contact control while navigation/search is open. */
  body:has(.mobile-menu-open) .whatsapp-contact, body.search-open .whatsapp-contact { visibility: hidden; }
  .mobile-enhanced .mainnav .navlinks:not(.mobile-menu-open),
  .mobile-enhanced .mainnav:not(:has(.mobile-menu-open)) .quote { display: none; }
}
@media (max-width: 900px) {
  .listing-card h2 { display: block; overflow: visible; -webkit-line-clamp: unset; }
  .listing-card, .listing-card-media { max-width: 100%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle, .mobile-submenu-toggle, .product-detail-thumbs, .mq-material-comparison-table-wrap { scroll-behavior: auto; transition: none; }
}
