/* Client reference direction: quiet grey surfaces, orange actions, open layouts.
   Loaded after the original layout and Safari fallbacks on every standalone page. */
:root {
  --red: #e65b0b;
  --red-dark: #c64b08;
  --ink: #303030;
  --muted: #626262;
  --line: #dcdcdc;
  --paper: #fff;
  --soft: #f1f1f3;
  --surface: #fff;
  --surface-strong: #fff;
  --surface-cool: #f1f1f3;
  --background: #f1f1f3;
  --shadow: 0 5px 14px rgba(30, 30, 30, .06);
  --header-offset: 80px;
  --product-card-gap: 56px;
}
body { font-size: 14px; line-height: 1.65; }
::selection { background: #f5d6c4; color: #303030; }
input, textarea { caret-color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container, .container--catalog, body[data-page="categories"] .container--catalog {
  width: 1180px; width: min(1180px, calc(100% - 112px)); max-width: calc(100% - 112px); margin-inline: auto;
}
.site-header {
  position: absolute; top: 0; left: 0; width: 100%; background: transparent;
  border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.navbar { width: 100%; max-width: 1440px; min-height: 82px; padding: 10px 5%; gap: 42px; grid-template-columns: 112px 1fr 218px; }
.navbar > .brand img { width: 112px; height: 52px; object-fit: cover; border-radius: 0; }
.nav-menu { display: flex; justify-content: space-evenly; gap: 18px; }
.nav-menu a { font-size: 14px; font-weight: 500; padding: 10px 0; white-space: nowrap; color: #303030; }
.nav-menu a::after { display: none; }
.nav-menu a.is-current, .nav-menu a:hover { color: var(--red); background: transparent; }
.nav-search, .category-search { display: flex; align-items: center; gap: 5px; padding: 4px; background: rgba(255,255,255,.88); border: 0; border-radius: 30px; box-shadow: none; }
.nav-search { width: 218px; }
.nav-search input { width: 100%; min-width: 0; padding: 3px 8px; font-size: 12px; background: transparent; }
.nav-search button, .category-search button { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; padding: 4px; border-radius: 50%; }
.nav-search svg, .category-search svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; }
.hero, .page-hero-image-only { aspect-ratio: auto; height: 36.5vw !important; min-height: 330px; max-height: 600px; padding: 0; }
.hero-slide { object-fit: cover; }
.page-hero-image-only.product-page-hero,
.page-hero-image-only.category-page-hero,
.page-hero-image-only.about-page-hero,
.page-hero-image-only.contact-page-hero {
  background: #eaeae8 url("../images/banner/cork-board-workspace-fallback.jpg") center / cover no-repeat;
  background-image: image-set(
    url("../images/banner/cork-board-workspace.webp") type("image/webp"),
    url("../images/banner/cork-board-workspace-fallback.jpg") type("image/jpeg")
  );
}
.hero-controls { opacity: 0; transition: opacity .2s; }
.hero:hover .hero-controls, .hero:focus-within .hero-controls { opacity: 1; }
.hero-control { width: 38px; height: 38px; background: rgba(255,255,255,.9); border: 0; box-shadow: none; }
.notice-bar { border-block: 1px solid #e4e4e4; background: #f7f7f7; }
.notice-inner { min-height: 44px; padding-block: 6px; gap: 14px; }
.notice-tag { padding: 2px 12px; background: var(--red); font-size: 11px; border-radius: 20px; }
.notice-tag svg { width: 14px; height: 14px; }
.notice-item { font-size: 11px; color: #414141; }
.section { padding: 58px 0; }
.soft-section, .home-category-section, .about-section, .about-story-section { background: var(--background); }
.section-heading, .split-heading { max-width: none; margin-bottom: 24px; gap: 20px; align-items: center; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; }
h2 { font-size: 25px; font-weight: 600; }
.eyebrow { color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; margin: 0 0 5px; }
.home-category-section h2 { font-size: 13px; margin: 0; font-weight: 400; }
.btn { border-radius: 22px; padding: 10px 22px; font-size: 13px; font-weight: 500; box-shadow: none; }
.btn-primary { background: var(--red); color: #fff; border: 1px solid var(--red); }
.btn-primary:hover { background: var(--red-dark); box-shadow: none; }
.btn-secondary { color: var(--ink); background: transparent; border: 0; }
.hot-products-actions .btn { padding: 5px 0; font-size: 12px; }
.hot-products-actions .btn::after { content: ' ›'; margin-left: 8px; }
body .product-card, body .category-nav-card { background: #fff; border: 0; border-radius: 6px !important; box-shadow: 0 4px 10px rgba(0,0,0,.055); overflow: hidden; }
body .product-card:hover, body .category-nav-card:hover { transform: translateY(-3px); box-shadow: 0 7px 16px rgba(0,0,0,.09); }
body .product-media, body .home-hot-track .product-media { aspect-ratio: 1 / 1 !important; border-radius: 0 !important; background: #fff; }
body .product-media img { padding: 8%; object-fit: contain; }
body .product-body, .container--catalog .product-body, body[data-page="categories"] .category-nav-card .product-body { padding: 12px 8px; text-align: center; }
body .product-body h3, .container--catalog .product-body h3 { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.5; }
body[data-page="categories"] { --product-card-gap: 28px; }
.home-hot-carousel { margin: 0 auto; }
.home-hot-carousel,
.category-collection-carousel,
#hotProductGrid,
.related-products-carousel {
  width: calc(80% + 24px);
  margin-left: auto;
  margin-right: auto;
}
#categoryProductGrid, #categoryNavGrid, #subcategoryNavGrid {
  width: 90%;
  margin: 0 auto;
}
.container--catalog .home-hot-track { gap: var(--product-card-gap); }
.container--catalog .home-hot-track .product-card { flex: 0 0 calc((100% - 2 * var(--product-card-gap)) / 3); }
.carousel-control, .collection-arrow { width: 40px; height: 40px; color: #616161; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.09); cursor: pointer; }
.carousel-control svg, .collection-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; }
.home-hot-carousel .carousel-control.prev { left: -20px; }
.home-hot-carousel .carousel-control.next { right: -20px; }
.home-promo-banner { margin: 0; padding: 0; border-radius: 0; background: #e9e7e4; }
.home-promo-banner img { width: 100%; height: 32vw; max-height: 490px; object-fit: cover; border-radius: 0; }
.category-collection-carousel { position: relative; }
.container--catalog .home-category-grid { display: flex; gap: var(--product-card-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 12px; }
.container--catalog .home-category-grid::-webkit-scrollbar { display: none; }
.home-category-grid .product-card { flex: 0 0 calc((100% - 2 * var(--product-card-gap)) / 3); scroll-snap-align: start; }
.collection-arrow { display: grid; place-items: center; position: absolute; top: 42%; z-index: 2; transform: translateY(-50%); }
.collection-arrow.prev { left: -20px; }
.collection-arrow.next { right: -20px; }
.collection-arrow:disabled { opacity: .45; cursor: default; }
.cta-band { padding: 30px 0; color: white; background: var(--red); border: 0; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-grid h2 { font-size: 21px; color: white; margin: 0 0 4px; }
.cta-grid .eyebrow { color: #fff; font-size: 12px; }
.cta-grid p { color: #fff; font-size: 12px; margin: 0; }
.cta-grid .btn { flex-shrink: 0; color: var(--red-dark); background: #fff; border: 0; }
.category-section { padding-top: 32px; }
.category-section .section-heading { justify-content: flex-end; margin-bottom: 24px; }
.category-section .section-heading > div { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
.category-search { max-width: 270px; width: 270px; }
.category-search input { padding: 3px 8px; min-width: 0; font-size: 11px; background: transparent; }
body[data-page="categories"] .category-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 52px; }
.category-panel, .contact-category-panel { padding: 4px 0; background: transparent; border: 0; box-shadow: none; gap: 17px; }
.category-button { min-height: 34px; padding: 5px 14px; color: #303030; background: white; border: 0; border-radius: 22px; font-size: 13px; font-weight: 400; }
body[data-page="categories"] .category-button.category-parent {
  min-width: 0;
  padding-right: 38px;
  white-space: normal;
  overflow-wrap: break-word;
}
.category-button.is-active, .category-button:hover, .subcategory-button.is-active { color: var(--red-dark); background: #fbe6d9; }
.subcategory-button { font-size: 12px; font-weight: 400; border-radius: 999px; }
#categoryProductGrid, #categoryNavGrid, #subcategoryNavGrid, #hotProductGrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--product-card-gap); }
body[data-page="categories"] #categoryProductGrid,
body[data-page="categories"] #categoryNavGrid,
body[data-page="categories"] #subcategoryNavGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body[data-page="categories"] .product-media {
  aspect-ratio: 8 / 5 !important;
}
body[data-page="categories"] .product-media img {
  padding: 4%;
}
body[data-page="categories"] .product-body,
body[data-page="categories"] .category-nav-card .product-body {
  padding: 8px;
}
@supports not (aspect-ratio: 1 / 1) {
  body[data-page="categories"] .product-card .product-media {
    padding-bottom: 62.5% !important;
  }
}
@media (max-width: 760px) {
  body[data-page="categories"] #categoryProductGrid,
  body[data-page="categories"] #categoryNavGrid,
  body[data-page="categories"] #subcategoryNavGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.category-breadcrumb { font-size: 12px; margin-bottom: 18px; }
.product-pagination { margin-top: 24px; gap: 6px; }
.product-pagination[hidden] { display: none; }
.pagination-button { min-width: 32px; height: 32px; padding: 0 10px; border: 0; box-shadow: none; font-size: 12px; }
.pagination-button.is-active { background: var(--red); color: #fff; }
.contact-message-section {
  padding: 124px 0 128px;
  background: #eaeae8 url("../images/banner/inquiry-plant-background-fallback.jpg") center bottom / cover no-repeat;
  background-image: image-set(
    url("../images/banner/inquiry-plant-background.webp") type("image/webp"),
    url("../images/banner/inquiry-plant-background-fallback.jpg") type("image/jpeg")
  );
}
.contact-message-layout, .contact-workbench { display: block; }
.contact-message-content { width: 100%; max-width: 550px; margin: auto; }
body .contact-message-form { padding: 0; background: transparent; border: 0; box-shadow: none; }
.contact-message-form-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-bottom: 24px; }
.contact-message-form-head .eyebrow { text-transform: uppercase; margin: 0; font-size: 15px; }
.contact-message-form-head h2 { margin: 0; font-size: 14px; font-weight: 400; }
.contact-message-form-lead { width: 100%; font-size: 13px; margin: 0; color: #424242; }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.contact-form-grid label { font-size: 13px; font-weight: 400; gap: 5px; }
.contact-form-wide { grid-column: auto; }
.contact-message-form input, .contact-message-form textarea { width: 100%; padding: 10px 18px; min-height: 40px; background: #fafafa; border: 1px solid transparent; border-radius: 24px; font-size: 13px; box-shadow: none; }
.contact-message-form textarea { height: 66px; min-height: 66px; resize: vertical; border-radius: 18px; }
.contact-message-form input::placeholder, .contact-message-form textarea::placeholder { color: #707070; }
.contact-message-form input:focus, .contact-message-form textarea:focus { border-color: var(--red); outline: 0; }
.contact-message-form .form-actions { justify-content: flex-end; padding-top: 16px; margin: 0; }
.form-note:empty { display: none; }
.site-footer { background: var(--background); border: 0; }
.footer-grid { grid-template-columns: 1.25fr 1fr; grid-template-areas: 'nav nav' 'contact description'; gap: 42px 100px; padding: 32px 0 65px; }
.footer-grid > :nth-child(1) { grid-area: description; }
.footer-grid > :nth-child(2) { grid-area: nav; display: flex; gap: 48px; justify-content: flex-end; align-items: center; }
.footer-grid > :nth-child(3) { grid-area: contact; }
.site-footer .footer-brand { display: none; }
.site-footer a, .site-footer p { font-size: 12px; line-height: 1.9; margin: 0; color: #393939; }
.footer-grid > :nth-child(2) a { font-size: 13px; white-space: nowrap; }
.footer-grid > :nth-child(2) a:first-of-type { color: var(--red); }
.footer-grid > :nth-child(3) p { margin-bottom: 3px; }
.footer-socials { gap: 12px; margin-top: 16px; }
.footer-socials a { width: 22px; height: 22px; flex-basis: 22px; background: transparent; border: 0; box-shadow: none; }
.footer-socials img { width: 17px; height: 17px; filter: grayscale(1); }
.footer-bottom { width: calc(100% - 112px); max-width: 1180px; margin: auto; padding: 10px 0 14px; font-size: 13px; font-weight: 700; border-top: 1px solid #bfbfbf; }
.about-editorial, .about-grid, .global-presence { color: var(--ink); }
.about-facts > div, .global-presence-panel, .company-card, .detail-tab-card { background: transparent; box-shadow: none; }
.about-story-section p, .about-section p { color: #454545; }
.about-facts, .about-side-photo, .about-editorial-banner { box-shadow: none; }
.global-presence-section { background: var(--background); }
.global-presence-map { background: transparent; border: 0; box-shadow: none; }
.detail-main { padding-top: 82px; }
body .gallery, body .detail-tabs > article { box-shadow: none; border: 0; background: #fff; }
.detail-tab-button.is-active { color: var(--red); border-color: var(--red); }
.mobile-sticky-link.primary { background: var(--red); }
.reveal-on-scroll { opacity: 1; transform: none; filter: none; }
@media (min-width: 761px) {
  .category-panel { position: static; }
  .footer-grid > div { border: 0; padding: 0; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .navbar { grid-template-columns: 90px 1fr 160px; gap: 22px; padding-inline: 4%; }
  .navbar > .brand img { width: 90px; }
  .nav-menu { gap: 12px; }
  .nav-menu a { font-size: 12px; }
  .nav-search { width: 160px; }
  .container, .container--catalog, body[data-page="categories"] .container--catalog { width: calc(100% - 80px); max-width: calc(100% - 80px); }
  body[data-page="categories"] .category-layout { grid-template-columns: 170px minmax(0,1fr); gap: 30px; }
  .footer-grid { gap: 30px 50px; }
}
@media (max-width: 760px) {
  .container, .container--catalog, body[data-page="categories"] .container--catalog { width: calc(100% - 40px); max-width: calc(100% - 40px); }
  .site-header { background: rgba(250,250,250,.97); }
  .navbar { min-height: 68px; padding: 8px 20px; grid-template-columns: 84px 1fr 38px; gap: 12px; }
  .navbar > .brand img { width: 84px; height: 44px; }
  .nav-toggle { grid-column: 3; grid-row: 1; width: 36px; height: 36px; padding: 8px; border: 0; background: transparent; }
  .nav-toggle span { background: #444; }
  .nav-search { grid-column: 2; grid-row: 1; width: 100%; max-width: 220px; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 16px 24px; background: #fafafa; border-bottom: 1px solid #ddd; box-shadow: 0 10px 18px rgba(0,0,0,.06); }
  .navbar.is-open .nav-menu { display: flex; flex-direction: column; gap: 0; }
  .nav-menu a { width: 100%; padding: 10px 0; }
  .hero, .page-hero-image-only { margin-top: 68px; height: 48vw !important; min-height: 180px; max-height: none; }
  .hero-controls { opacity: 1; }
  .hero-control { width: 30px; height: 30px; }
  .hero-control svg { width: 14px; height: 14px; }
  .section { padding: 34px 0; }
  .notice-inner { gap: 8px; min-height: 40px; }
  .notice-item { font-size: 10px; }
  .notice-tag { padding: 3px 8px; font-size: 10px; }
  .notice-tag svg { display: none; }
  .eyebrow { font-size: 13px; }
  .section-heading, .split-heading { margin-bottom: 18px; }
  .hot-products-actions .btn { font-size: 10px; }
  .home-category-section h2 { font-size: 11px; }
  body .product-body h3, .container--catalog .product-body h3 { font-size: 11px; }
  .home-hot-track .product-card { border-radius: 6px !important; }
  .home-promo-banner img { height: 48vw; }
  :root { --product-card-gap: 28px; }
  body[data-page="categories"] { --product-card-gap: 14px; }
  .home-hot-carousel, .category-collection-carousel, #hotProductGrid, .related-products-carousel {
    width: calc(80% + 6px);
  }
  .home-category-grid .product-card { flex-basis: calc((100% - var(--product-card-gap)) / 2); }
  .collection-arrow, .carousel-control { width: 30px; height: 30px; }
  .collection-arrow.prev, .home-hot-carousel .carousel-control.prev { left: -12px; }
  .collection-arrow.next, .home-hot-carousel .carousel-control.next { right: -12px; }
  .cta-band { padding: 26px 0; }
  .cta-grid { align-items: flex-start; flex-direction: column; gap: 18px; }
  .cta-grid h2 { font-size: 19px; }
  .cta-grid p { font-size: 11px; }
  .cta-grid .btn { padding: 8px 20px; }
  .category-section .section-heading { margin-bottom: 16px; }
  .category-search { width: 100%; max-width: none; }
  .category-mobile-toolbar { margin-bottom: 18px; }
  .category-mobile-trigger { background: #fff; border: 0; border-radius: 6px; padding: 12px 16px; box-shadow: none; }
  .category-mobile-trigger strong { font-size: 14px; font-weight: 500; }
  .category-mobile-trigger small { font-size: 11px; margin-top: 3px; color: #626262; }
  body[data-page="categories"] .category-layout { display: block; }
  .category-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px,90vw); max-height: 100dvh; background: #f1f1f3; padding: 25px 20px; z-index: 3000; overflow-y: auto; }
  .category-panel .category-panel-head { display: flex; margin-bottom: 22px; }
  .category-panel .category-button { margin-bottom: 10px; min-height: 40px; }
  #categoryProductGrid, #categoryNavGrid, #subcategoryNavGrid, #hotProductGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-message-section { padding: 68px 0; }
  .contact-message-form-head h2 { font-size: 13px; }
  .contact-message-form-lead { font-size: 12px; }
  .contact-message-form .contact-form-grid { gap: 14px; }
  .footer-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: 'nav' 'contact' 'description'; gap: 26px; padding: 28px 0 36px; }
  .footer-grid > :nth-child(2) { gap: 10px 22px; flex-wrap: wrap; justify-content: flex-start; }
  .footer-grid > :nth-child(2) a { font-size: 11px; }
  .site-footer a, .site-footer p { font-size: 11px; }
  .footer-bottom { width: calc(100% - 40px); }
  .detail-main { padding-top: 68px; }
  .detail-layout { gap: 24px; }
  .mobile-sticky-actions { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-category-grid { scroll-behavior: auto; }
}
/* Resolve inherited mobile drawer and footer rules without changing their behavior. */
.eyebrow, .nav-menu a.is-current, .nav-menu a:hover { color: var(--red-dark); }
.cta-grid .eyebrow { color: #fff; }
.contact-message-form-head { padding-bottom: 0; border: 0; }
@media (max-width: 760px) {
  body .nav-toggle, body .navbar.is-open .nav-toggle { position: static; top: auto; right: auto; left: auto; transform: none; min-width: 36px; width: 36px; height: 36px; margin: 0; color: #444; box-shadow: none; }
  body .navbar::before, body .nav-menu::before, body .nav-menu::after { display: none; }
  body .nav-menu { width: 100%; max-width: none; height: auto; transform: none; border-radius: 0; }
  body .navbar.is-open .nav-menu { transform: none; gap: 0; }
  body .navbar.is-open .nav-search { display: flex; }
  body .nav-menu a { justify-content: flex-start; min-height: 40px; background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; }
  body[data-page="categories"] .category-panel { left: auto; visibility: hidden; transform: translateX(105%); border-radius: 0 !important; box-shadow: none; }
  body[data-page="categories"] .category-panel.is-open { visibility: visible; transform: translateX(0); box-shadow: -8px 0 30px rgba(0,0,0,.12); }
  body[data-page="categories"] .category-search { flex-direction: row; padding: 4px; }
  body[data-page="categories"] .category-search input { padding: 7px 10px; }
  body[data-page="categories"] .category-search button { padding: 4px; flex: 0 0 26px; width: 26px; height: 26px; }
  body .footer-grid > div:nth-child(2) { display: flex; gap: 10px 20px; }
  body .footer-grid > div:first-child { display: block; }
  body .footer-grid > div:first-child p, body .footer-grid > div:nth-child(3) p:first-of-type { display: block; overflow: visible; -webkit-line-clamp: unset; line-height: 1.9; }
  body .contact-message-form .form-actions { display: flex; }
  body .contact-message-form .form-actions .btn { width: auto; }
}
@media (max-width: 760px) {
  body .navbar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 36px; height: 68px; }
  body .nav-search { min-width: 0; width: 100%; }
  body .nav-search input { min-width: 0; width: 100%; }
  body .notice-tag { flex: 0 0 auto; width: auto; min-width: 0; height: auto; padding: 3px 9px; }
  body .notice-tag span { display: inline; }
  body .split-heading { display: flex; flex-direction: row; text-align: left; }
  body .split-heading .hot-products-actions { margin: 0; }
  body .home-hot-viewport { width: 100%; margin: 0; padding: 6px 0 16px; }
  body .container--catalog .home-hot-track .product-card { flex: 0 0 52vw; opacity: 1; filter: none; transform: none; pointer-events: auto; box-shadow: 0 4px 10px rgba(0,0,0,.055); }
  .related-products-track .product-card { flex-basis: 36vw; }
  .container--catalog .home-hot-track,
  body .home-hot-carousel.is-coverflow .home-hot-track { gap: var(--product-card-gap); }
  body .home-hot-track .product-body h3 { font-size: 12px; }
}
body .cta-grid > .btn { width: auto; height: auto; min-height: 36px; max-height: none; padding: 9px 24px; border-radius: 24px; box-shadow: none; }
body .footer-grid > div:nth-child(2) { display: flex; flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
body .footer-grid > div:nth-child(3) { display: block; }
body .cta-grid > .btn { aspect-ratio: auto; flex: 0 0 auto; align-self: center; }
@media (max-width: 760px) {
  body .footer-grid > div:nth-child(2) { justify-content: flex-start; }
  body .cta-grid > .btn { align-self: flex-start; }
}
/* Tablet and notebook widths keep the full navigation and product split view.
   The inherited 1100px breakpoint must not switch these components to mobile. */
@media (min-width: 761px) {
  body .navbar { display: grid; flex-wrap: nowrap; }
  body .nav-toggle { display: none; }
  body .navbar .nav-menu,
  body .navbar.is-open .nav-menu { display: flex; flex-direction: row; flex-basis: auto; }
  body .navbar .nav-search,
  body .navbar.is-open .nav-search { display: flex; flex-basis: auto; margin-bottom: 0; }
  body .navbar.is-open .nav-menu a { padding: 10px 0; }
  body .detail-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .detail-layout > * { min-width: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  body .detail-layout { gap: 28px; }
  body .detail-panel { padding: 12px 0; }
  body .detail-panel h1 { font-size: 26px; line-height: 1.3; }
  body .gallery { padding: 12px; }
}
body .detail-tab-button.is-active { color: #fff; background: var(--red); }
body .detail-panel h1 { white-space: normal; overflow-wrap: break-word; }

/* Stronger navigation labels and the client-requested brighter orange accent. */
body .navbar .nav-menu a { font-weight: 700; }
body .navbar .nav-menu a.is-current,
body .navbar .nav-menu a:hover { color: #df5709; }
/* Compact contact pictograms replace visible field labels in the shared footer. */
body .footer-contact-list .footer-contact-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 5px; }
.footer-contact-row > img { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; object-fit: contain; }
.footer-contact-row > span { min-width: 0; }
body .footer-contact-row a { display: inline; margin: 0; font: inherit; line-height: inherit; }

/* Product overview and its gallery use the same image set at both breakpoints. */
.product-detail-page .site-header {
  background: #d5d8dc;
}

.product-detail-page .detail-hero {
  padding-top: 30px;
  padding-bottom: 54px;
}

.product-detail-page .back-link {
  margin-bottom: 34px;
  color: var(--red-dark);
  font-weight: 700;
}

.product-detail-page .detail-panel {
  padding: 0;
}

.product-detail-page .detail-panel .eyebrow {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail-page .detail-panel h1 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 700;
}

.product-detail-page .detail-panel .spec-list {
  gap: 0;
  margin: 17px 0 30px;
}

.product-detail-page .spec-list > div {
  grid-template-columns: minmax(76px, 22%) minmax(0, 1fr);
  gap: 14px;
  padding: 9px 0;
  border-color: #d6d6d6;
}

.product-detail-page .spec-list dt {
  color: var(--ink);
  font-weight: 700;
}

.product-detail-page .detail-panel .detail-description-richtext {
  min-height: 19.8em;
  min-height: 12lh;
  margin-top: 28px;
  color: var(--ink);
  line-height: 1.65;
}

.product-detail-page .detail-panel .detail-description-richtext p {
  margin-bottom: 16px;
}

.product-detail-page .detail-panel .detail-description-richtext p:last-child {
  margin-bottom: 0;
}

.product-detail-page .detail-content {
  padding: 18px 0 26px;
  background: #f7f8f9;
}

.product-detail-page .related-products-block {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-detail-page .related-products-block h2 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.product-detail-page .related-products-track .product-card {
  border: 1px solid var(--line);
}

.product-detail-page .related-products-viewport {
  --related-gap: var(--product-card-gap);
}

.detail-gallery-scroll {
  display: none;
}

@media (min-width: 761px) {
  .product-detail-page .detail-layout {
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    gap: clamp(28px, 4vw, 60px);
  }

  .product-detail-page .gallery.has-vertical-gallery {
    padding: 0;
  }

  .has-vertical-gallery > .image-zoom,
  .has-vertical-gallery > .detail-thumb-carousel {
    display: none;
  }

  .detail-gallery-scroll {
    --detail-photo-height: clamp(220px, 28vw, 400px);
    --detail-preview-height: clamp(46px, 6vw, 78px);
    position: relative;
    display: block;
    height: calc(var(--detail-photo-height) + var(--detail-preview-height) + var(--detail-preview-height) + 24px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  }

  .detail-gallery-scroll::-webkit-scrollbar {
    display: none;
  }

  .detail-gallery-slide,
  .detail-gallery-preview {
    position: relative;
    display: block;
    width: 84%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #f1efec;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
  }

  .detail-gallery-scroll > button + button {
    margin-top: 12px;
  }

  .detail-gallery-slide {
    height: var(--detail-photo-height);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transition: width 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .detail-gallery-slide.is-current {
    width: 100%;
  }

  .detail-gallery-preview {
    height: var(--detail-preview-height);
  }

  .detail-gallery-scroll img {
    display: block;
    width: 100%;
    height: var(--detail-photo-height);
    object-fit: cover;
  }

  .detail-gallery-preview.before img {
    position: absolute;
    bottom: 0;
  }

  .detail-gallery-scroll button:focus-visible {
    outline-offset: -3px;
  }
}

@media (max-width: 760px) {
  .product-detail-page .detail-hero {
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .product-detail-page .back-link {
    margin-bottom: 20px;
  }

  .product-detail-page .detail-panel .spec-list {
    margin: 12px 0 20px;
  }

  .product-detail-page .detail-panel .detail-description-richtext {
    margin-top: 22px;
  }

  .product-detail-page .related-products-block {
    padding: 16px 12px 0;
  }

  .product-detail-page .related-products-carousel.is-coverflow .related-products-track {
    gap: var(--related-gap);
  }
}
