/* Charming Ever — Product list / detail (aligned with home theme) */

:root {
  --ce-sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ce-display: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ce-product-page {
  background: #f7f8fa;
}

.ce-product-page .ce-header {
  position: sticky;
  top: 0;
}

/* ---------- Product page banner (between header & series subnav) ---------- */
.ce-prod-banner {
  position: relative;
  min-height: 280px;
  height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1c20;
}

@media (min-width: 768px) {
  .ce-prod-banner {
    min-height: 480px;
    height: 520px;
  }
}

@media (min-width: 1100px) {
  .ce-prod-banner {
    min-height: 596px;
    height: 596px;
  }
}

@media (min-width: 1100px) and (max-height: 860px) {
  .ce-prod-banner {
    min-height: calc(100vh - 96px);
    height: calc(100vh - 96px);
    max-height: calc(100vh - 96px);
  }

  .ce-prod-banner__content {
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .ce-prod-banner__title {
    font-size: clamp(28px, 3.2vw, 40px);
  }

  .ce-prod-banner__desc {
    margin-top: 10px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.ce-prod-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ce-prod-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.04);
  animation: ce-banner-ken 18s ease-in-out infinite alternate;
}

.ce-prod-banner__mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 19, 22, 0.82) 0%, rgba(18, 19, 22, 0.5) 42%, rgba(18, 19, 22, 0.28) 100%),
    linear-gradient(180deg, rgba(18, 19, 22, 0.35) 0%, transparent 40%, rgba(18, 19, 22, 0.45) 100%);
}

.ce-prod-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 40px;
  color: #fff;
}

@media (min-width: 768px) {
  .ce-prod-banner__content {
    padding-top: 88px;
    padding-bottom: 48px;
  }
}

@media (min-width: 1100px) {
  .ce-prod-banner__content {
    padding-top: 72px;
    padding-bottom: 56px;
  }
}

.ce-prod-banner__float {
  display: block;
  max-width: 720px;
  will-change: transform;
}

.ce-prod-banner__float.is-floating {
  animation: ce-banner-float 4.8s ease-in-out infinite;
}

.ce-prod-banner .ce-eyebrow--light {
  color: var(--ce-orange);
  display: inline-block;
}

.ce-prod-banner__title {
  margin: 12px 0 0;
  max-width: 820px;
  font-family: var(--ce-display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ce-prod-banner__desc {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes ce-banner-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ce-banner-ken {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1.2%, -0.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ce-prod-banner__bg img,
  .ce-prod-banner__float.is-floating {
    animation: none;
  }
}

/* ---------- Series sub-nav (industrial bar, orange active) ---------- */
.ce-prod-subnav {
  display: none;
}

/* ---------- Product list layout: left category sidebar ---------- */
.ce-prod-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.ce-prod-sidebar {
  position: sticky;
  top: 96px;
  z-index: 40;
  background: #fff;
  border: 1px solid rgba(23, 25, 28, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.ce-prod-sidebar__nav,
.ce-prod-sidebar__list {
  overflow: visible;
}

.ce-prod-sidebar__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
}

.ce-prod-sidebar__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #17191c;
  letter-spacing: 0.02em;
}

.ce-prod-sidebar__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17191c;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ce-prod-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ce-prod-sidebar__item {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
}

.ce-prod-sidebar__item:last-child {
  border-bottom: 0;
}

.ce-prod-sidebar__item.has-children:hover,
.ce-prod-sidebar__item.has-children:focus-within {
  z-index: 50;
}

.ce-prod-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: #25282b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.ce-prod-sidebar__link:hover,
.ce-prod-sidebar__item.is-active > .ce-prod-sidebar__link {
  background: #f3f4f5;
  color: #ff6a00;
}

.ce-prod-sidebar__chevron {
  font-size: 18px;
  color: #8a8f96;
  flex: 0 0 auto;
}

.ce-prod-sidebar__sub {
  display: none;
  position: absolute;
  left: calc(100% - 1px);
  top: 0;
  z-index: 60;
  min-width: 280px;
  max-width: 360px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(23, 25, 28, 0.1);
  box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.12);
}

.ce-prod-sidebar__item.has-children:hover > .ce-prod-sidebar__sub,
.ce-prod-sidebar__item.has-children:focus-within > .ce-prod-sidebar__sub {
  display: block;
}

.ce-prod-sidebar__sublink {
  display: block;
  padding: 10px 18px;
  color: #3a3f45;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.ce-prod-sidebar__sublink:hover,
.ce-prod-sidebar__sublink.is-active {
  background: rgba(255, 106, 0, 0.1);
  color: #ff6a00;
}

.ce-prod-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ce-prod-list {
  padding: 40px 0 80px;
}

.ce-prod-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 32px;
}

.ce-prod-list__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
}

@media (max-width: 959px) {
  .ce-prod-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ce-prod-sidebar {
    position: static;
  }

  .ce-prod-sidebar__title {
    display: none;
  }

  .ce-prod-sidebar__toggle {
    display: flex;
  }

  .ce-prod-sidebar__nav {
    display: none;
    border-top: 1px solid rgba(23, 25, 28, 0.08);
  }

  .ce-prod-sidebar.is-open .ce-prod-sidebar__nav {
    display: block;
  }

  .ce-prod-sidebar__sub {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    max-height: none;
    border: 0;
    box-shadow: none;
    background: #f7f8fa;
    padding: 0 0 8px;
  }

  .ce-prod-sidebar__item.is-open > .ce-prod-sidebar__sub,
  .ce-prod-sidebar__item.has-children:hover > .ce-prod-sidebar__sub,
  .ce-prod-sidebar__item.has-children:focus-within > .ce-prod-sidebar__sub {
    display: block;
  }

  .ce-prod-sidebar__chevron {
    transform: rotate(90deg);
  }

  .ce-prod-sidebar__item.is-open > .ce-prod-sidebar__link .ce-prod-sidebar__chevron {
    transform: rotate(-90deg);
  }
}

.ce-prod-sidebar__mail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(23, 25, 28, 0.08);
}

.ce-prod-sidebar__mail strong {
  font-size: 14px;
  font-weight: 700;
  color: #17191c;
}

.ce-prod-sidebar__mail a {
  font-size: 13px;
  line-height: 1.45;
  color: #646566;
  text-decoration: none;
  word-break: break-all;
}

.ce-prod-sidebar__mail a:hover {
  color: var(--ce-orange);
}

/* ---------- Series intro ---------- */
.ce-prod-intro {
  padding: 32px 0 0;
}

.ce-prod-intro__card {
  background: #fff;
  padding: 24px 28px;
  border-radius: var(--ce-radius);
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.05);
}

.ce-prod-intro__card p {
  margin: 10px 0 0;
  max-width: 880px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ce-gray);
}

/* ---------- Product list head (legacy title styles continue below) ---------- */

.ce-prod-list__title {
  margin: 0;
  font-family: var(--ce-display);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ce-orange);
  line-height: 1.15;
}

.ce-prod-list__meta {
  margin: 0;
  font-size: 14px;
  color: #646566;
}

.ce-prod-list__meta span {
  margin-left: 6px;
  font-weight: 600;
  color: var(--ce-dark);
}

.ce-prod-list__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--ce-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: var(--ce-radius);
  transition: background 0.2s ease;
}

.ce-prod-list__cta:hover {
  background: var(--ce-orange-hover);
  color: #fff;
}

.ce-product-card__desc {
  margin: 0;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ce-product-page .ce-product-grid {
  background: transparent;
}

.ce-product-page .ce-product-card {
  background: #fff;
}

/* ---------- Detail ---------- */
.ce-pd {
  padding: 24px 0 48px;
}

.ce-pd .ce-page__breadcrumb {
  margin-bottom: 16px;
}

.ce-pd__toolbar {
  margin-bottom: 24px;
}

.ce-pd__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ce-dark);
}

.ce-pd__back:hover {
  color: var(--ce-orange);
}

.ce-pd__layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .ce-pd__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px;
  }
}

.ce-pd__gallery {
  background: #fff;
  border-radius: var(--ce-radius-lg);
  padding: 20px;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.05);
}

.ce-pd__gallery-main {
  display: grid;
  gap: 14px;
  align-items: start;
}

@media (min-width: 720px) {
  .ce-pd__gallery-main {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }

  /* 仅 1 张图时不留缩略图列，避免大图被挤进 84px 首列 */
  .ce-pd__gallery[data-gallery-count="0"] .ce-pd__gallery-main,
  .ce-pd__gallery[data-gallery-count="1"] .ce-pd__gallery-main,
  .ce-pd__gallery-main:not(:has(.ce-pd__thumbs)) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ce-pd__gallery[data-gallery-count="0"] .ce-pd__thumbs,
.ce-pd__gallery[data-gallery-count="1"] .ce-pd__thumbs,
.ce-pd__gallery[data-gallery-count="0"] .ce-pd__nav,
.ce-pd__gallery[data-gallery-count="1"] .ce-pd__nav,
.ce-pd__gallery[data-gallery-count="0"] .ce-pd__counter,
.ce-pd__gallery[data-gallery-count="1"] .ce-pd__counter {
  display: none;
}

.ce-pd__stage-wrap {
  position: relative;
  min-width: 0;
}

.ce-pd__stage {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border-radius: var(--ce-radius);
  overflow: hidden;
  cursor: zoom-in;
}

.ce-pd__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.ce-pd__stage:hover img {
  transform: scale(1.03);
}

.ce-pd__zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 19, 22, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.9;
}

.ce-pd__zoom-hint .material-symbols-outlined {
  font-size: 20px;
}

.ce-pd__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ce-dark);
  box-shadow: 0 6px 18px rgba(18, 19, 22, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ce-pd__nav:hover {
  background: var(--ce-orange);
  color: #fff;
}

.ce-pd__nav--prev {
  left: 10px;
}

.ce-pd__nav--next {
  right: 10px;
}

.ce-pd__counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 19, 22, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.ce-pd__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px;
  order: 2;
}

@media (min-width: 720px) {
  .ce-pd__thumbs {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100%;
    scroll-snap-type: y mandatory;
    order: 0;
    align-self: stretch;
  }
}

.ce-pd__thumbs::-webkit-scrollbar {
  display: none;
}

.ce-pd__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--ce-radius);
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
  transition: border-color 0.2s ease;
  scroll-snap-align: start;
}

@media (min-width: 720px) {
  .ce-pd__thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }
}

.ce-pd__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ce-pd__thumb.is-active,
.ce-pd__thumb:hover {
  border-color: var(--ce-orange);
}

.ce-pd__info {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--ce-radius-lg);
  padding: 28px 28px 32px;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.05);
  min-height: 100%;
}

.ce-pd__title {
  margin: 8px 0 10px;
  font-family: var(--ce-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-dark);
  line-height: 1.2;
  text-transform: uppercase;
}

.ce-pd__sku {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-dark);
}

.ce-pd__sizes {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ce-gray);
  text-transform: uppercase;
  letter-spacing: 0;
}

.ce-pd__colours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 20px;
}

.ce-pd__colours-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ce-dark);
}

.ce-pd__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ce-pd__swatch {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #d8dbe2;
  border-radius: 50%;
  background: var(--ce-swatch, #ccc);
  cursor: pointer;
  box-shadow: inset 0 0 0 2px #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ce-pd__swatch:hover {
  transform: scale(1.06);
}

.ce-pd__swatch.is-active {
  border-color: var(--ce-dark);
}

.ce-pd__swatch-check {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ce-pd__swatch.is-active .ce-pd__swatch-check {
  display: inline-flex;
}

.ce-pd__accordion {
  margin: 4px 0 20px;
  border-top: 1px solid #e8eaed;
}

.ce-pd__acc-item {
  border-bottom: 1px solid #e8eaed;
}

.ce-pd__acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-dark);
  text-align: left;
}

.ce-pd__acc-icon {
  font-size: 22px;
  color: var(--ce-gray);
  transition: transform 0.25s ease;
}

.ce-pd__acc-item.is-open .ce-pd__acc-icon {
  transform: rotate(180deg);
}

.ce-pd__acc-panel {
  display: none;
  padding: 0 0 18px;
}

.ce-pd__acc-item.is-open .ce-pd__acc-panel {
  display: block;
}

.ce-pd__acc-body {
  font-size: 14px;
  line-height: 1.7;
  color: #646566;
}

.ce-pd__acc-body ul {
  margin: 0;
  padding-left: 18px;
}

.ce-pd__acc-body li {
  margin: 0 0 8px;
}

.ce-pd__acc-body p {
  margin: 0 0 10px;
}

.ce-pd__acc-body p:last-child,
.ce-pd__acc-body li:last-child {
  margin-bottom: 0;
}

.ce-pd__features {
  list-style: none;
  margin: 0 0 22px;
  padding: 8px 0 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 6px;
  border-top: 1px solid #eef0f3;
}

@media (min-width: 480px) {
  .ce-pd__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .ce-pd__features {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ce-pd__feature {
  margin: 0;
  text-align: center;
}

.ce-pd__feature img {
  width: 100%;
  max-width: 110px;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.ce-pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 0;
}

.ce-pd__actions .ce-btn {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 379px) {
  .ce-pd__actions .ce-btn {
    flex: 1 1 100%;
  }
}

.ce-pd__detail-box {
  margin-top: 32px;
  background: #fff;
  border-radius: var(--ce-radius-lg);
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.05);
}

.ce-pd__detail-box--panel {
  margin-top: 24px;
  flex: 1;
  background: #f7f8fa;
  box-shadow: none;
  padding: 20px;
  border-radius: var(--ce-radius);
}

@media (min-width: 640px) {
  .ce-pd__detail-box:not(.ce-pd__detail-box--panel) {
    padding: 32px 36px;
  }
}

.ce-pd__detail-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ce-border);
}

.ce-pd__detail-box--panel .ce-pd__detail-head {
  border-bottom-color: #e2e5eb;
}

.ce-pd__detail-head h2 {
  margin: 6px 0 0;
  font-family: var(--ce-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-dark);
}

.ce-pd__detail-lead {
  margin: 10px 0 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ce-gray);
}

.ce-pd__detail-body {
  font-size: 14px;
  line-height: 1.7;
  color: #323233;
}

.ce-pd__detail-body p {
  margin: 0 0 0.9em;
}

.ce-pd__detail-body ul {
  margin: 0 0 0.5em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ce-pd__detail-body li {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--ce-radius);
  border-left: 3px solid var(--ce-orange);
  font-size: 13px;
  line-height: 1.5;
  color: #565b65;
}

.ce-pd__detail-body li strong {
  color: var(--ce-dark);
}

.ce-product-page .ce-logo {
  z-index: 5;
  cursor: pointer;
}

/* Product image lightbox */
.ce-pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ce-pd-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ce-pd-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.ce-pd-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(980px, 100%);
  max-height: 90vh;
}

.ce-pd-lightbox__figure {
  margin: 0;
  max-width: min(720px, calc(100% - 120px));
  text-align: center;
}

.ce-pd-lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  background: #111;
}

.ce-pd-lightbox__figure figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.ce-pd-lightbox__close,
.ce-pd-lightbox__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ce-pd-lightbox__close:hover,
.ce-pd-lightbox__nav:hover {
  background: var(--ce-orange);
}

.ce-pd-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
}

@media (max-width: 719px) {
  .ce-pd-lightbox__dialog {
    flex-wrap: wrap;
  }

  .ce-pd-lightbox__nav--prev { order: 2; }
  .ce-pd-lightbox__nav--next { order: 3; }
  .ce-pd-lightbox__figure { order: 1; width: 100%; max-width: 100%; }
  .ce-pd-lightbox__close { top: 8px; right: 8px; }
}

body.ce-pd-lb-open {
  overflow: hidden;
}

.ce-btn--ghost-dark {
  background: transparent;
  color: var(--ce-dark);
  border: 1px solid var(--ce-border);
}

.ce-btn--ghost-dark:hover {
  border-color: var(--ce-orange);
  color: var(--ce-orange);
}

.ce-pd-recommend {
  padding: 24px 0 80px;
  background: #f7f8fa;
}

/* ---------- Buy modal ---------- */
.ce-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ce-buy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ce-buy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 22, 0.55);
}

.ce-buy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: var(--ce-radius-lg);
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(18, 19, 22, 0.22);
}

@media (min-width: 640px) {
  .ce-buy-modal__dialog {
    padding: 32px;
  }
}

.ce-buy-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: var(--ce-dark);
  cursor: pointer;
}

.ce-buy-modal__close:hover {
  background: #e6e8ec;
}

.ce-buy-modal__head {
  margin-bottom: 20px;
  padding-right: 36px;
}

.ce-buy-modal__head h2 {
  margin: 6px 0 8px;
  font-family: var(--ce-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ce-dark);
}

.ce-buy-modal__head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ce-gray);
}

.ce-buy-modal .ce-form__row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 560px) {
  .ce-buy-modal .ce-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.ce-buy-modal .ce-field {
  margin-bottom: 12px;
}

.ce-buy-modal .ce-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-dark);
}

.ce-buy-modal .ce-field input,
.ce-buy-modal .ce-field textarea {
  width: 100%;
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius);
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ce-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.ce-buy-modal .ce-field input:focus,
.ce-buy-modal .ce-field textarea:focus {
  border-color: var(--ce-orange);
}

.ce-buy-modal .ce-form__msg {
  margin: 12px 0 0;
  font-size: 13px;
  min-height: 1.2em;
}

.ce-buy-modal .ce-form__msg.is-ok {
  color: #1b7a3d;
}

.ce-buy-modal .ce-form__msg.is-err {
  color: #c0392b;
}

body.ce-buy-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .ce-pd {
    padding: 12px 0 36px;
  }

  .ce-pd__gallery {
    padding: 12px;
    border-radius: 12px;
  }

  .ce-pd__info {
    padding: 18px 16px 22px;
    border-radius: 12px;
  }

  .ce-pd__title {
    font-size: 24px;
    margin: 6px 0 10px;
  }

  .ce-pd__price {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .ce-pd__desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .ce-pd__spec-row {
    grid-template-columns: minmax(96px, 38%) 1fr;
    padding: 10px 12px;
    gap: 8px;
  }

  .ce-pd__spec-row dt {
    font-size: 12px;
  }

  .ce-pd__spec-row dd {
    font-size: 13px;
  }

  .ce-pd__content {
    margin-top: 20px;
    border-radius: 8px;
  }

  .ce-pd__content-body {
    padding: 20px 14px 24px;
  }

  .ce-pd__content-title {
    font-size: 18px;
  }

  .ce-pd__content-lead {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .ce-pd__detail-box--panel {
    padding: 16px;
    margin-top: 20px;
  }

  .ce-pd__detail-head h2 {
    font-size: 18px;
  }

  .ce-pd__nav {
    width: 34px;
    height: 34px;
  }

  .ce-pd__nav--prev {
    left: 6px;
  }

  .ce-pd__nav--next {
    right: 6px;
  }

  .ce-prod-list__title {
    font-size: 28px;
  }

  .ce-faq-intro h1,
  .ce-faq-row__q {
    font-size: 20px;
  }

  .ce-faq-stage {
    padding: 36px 0 56px;
  }

  .ce-faq-board {
    border-radius: 12px;
  }

  .ce-faq-row summary {
    padding: 16px 14px;
  }

  .ce-faq-row__a {
    padding: 0 14px 18px 14px;
    font-size: 14px;
  }

  .ce-news-detail__article {
    padding: 20px 16px 28px;
    border-radius: 12px;
  }

  .ce-news-detail__title {
    font-size: 24px;
  }

  .ce-news-side {
    padding: 18px 16px;
  }
}

@media (max-width: 639px) {
  .ce-prod-subnav__item {
    min-width: 140px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .ce-pd__info {
    padding: 16px 14px 20px;
  }
}

/* ---------- Inner pages (factory / news / FAQ / contact) ---------- */
.ce-inner-page {
  background: #f7f8fa;
}

.ce-inner-page .ce-header {
  position: sticky;
  top: 0;
}

/* ---------- Trade show / news editorial list ---------- */
.ce-news-list {
  counter-reset: ce-show;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.ce-news-row {
  counter-increment: ce-show;
  background: transparent;
  border-bottom: 1px solid rgba(18, 19, 22, 0.1);
}

.ce-news-row:first-child {
  border-top: 1px solid rgba(18, 19, 22, 0.1);
}

.ce-news-row > a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 28px 0;
  color: inherit;
}

@media (min-width: 768px) {
  .ce-news-row > a {
    grid-template-columns: minmax(280px, 42%) 1fr;
    gap: 40px;
    padding: 36px 0;
  }
}

.ce-news-row__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #1a1c20;
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .ce-news-row:first-child .ce-news-row__media {
    aspect-ratio: 16 / 11;
    min-height: 380px;
  }
}

.ce-news-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ce-news-row:hover .ce-news-row__media img {
  transform: scale(1.05);
}

.ce-news-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0 8px;
}

.ce-news-row__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ce-news-row__no {
  font-family: var(--ce-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-orange);
}

.ce-news-row__no::before {
  content: counter(ce-show, decimal-leading-zero);
}

.ce-news-row__body time {
  font-family: var(--ce-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #999;
}

.ce-news-row__body h2 {
  margin: 0 0 12px;
  font-family: var(--ce-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ce-dark);
}

.ce-news-row:first-child h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

.ce-news-row__body p {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: #646566;
}

.ce-news-row__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ce-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-orange);
}

.ce-news-row__more .material-symbols-outlined {
  font-size: 18px;
}

.ce-news-row:hover h2 {
  color: var(--ce-orange);
}

.ce-factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .ce-factory-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.ce-factory-shot {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.05);
}

.ce-factory-shot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.ce-factory-shot figcaption {
  padding: 12px 16px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #646566;
}

.ce-contact-address {
  font-style: normal;
  margin: 24px 0;
  color: #646566;
  line-height: 1.7;
}

.ce-contact-address p {
  margin: 0 0 16px;
}

.ce-contact-address a {
  color: var(--ce-dark);
}

.ce-contact-address a:hover {
  color: var(--ce-orange);
}

.ce-page-article {
  max-width: 860px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 36px;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.05);
}

@media (min-width: 768px) {
  .ce-page-article {
    padding: 40px 44px 48px;
  }
}

.ce-page-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-orange);
}

.ce-page-article__cover {
  margin: 20px 0 24px;
}

.ce-page-article__cover img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.ce-page-prose {
  font-size: 15px;
  line-height: 1.85;
  color: #646566;
}

.ce-page-prose p {
  margin: 0 0 16px;
}

.ce-page-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- FAQ page ---------- */
.ce-faq-stage {
  background: #f7f8fa;
  padding: 56px 0 80px;
}

@media (min-width: 1024px) {
  .ce-faq-stage {
    padding: 80px 0 112px;
  }
}

.ce-faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ce-faq-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
    gap: 64px;
  }

  .ce-faq-intro {
    position: sticky;
    top: 104px;
  }
}

.ce-faq-intro h1 {
  margin: 12px 0 16px;
  font-family: var(--ce-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  color: var(--ce-dark);
}

.ce-faq-intro > p {
  font-size: 16px;
  line-height: 1.75;
  color: #646566;
  max-width: 420px;
}

.ce-faq-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 32px 0 36px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.05);
}

@media (min-width: 640px) {
  .ce-faq-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ce-faq-facts {
    grid-template-columns: 1fr;
  }
}

.ce-faq-facts li {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(18, 19, 22, 0.08);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ce-faq-facts li:not(:last-child) {
    border-right: 1px solid rgba(18, 19, 22, 0.08);
    border-bottom: 0;
  }
}

.ce-faq-facts li:last-child {
  border-bottom: 0;
}

.ce-faq-facts strong {
  display: block;
  font-family: var(--ce-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ce-orange);
}

.ce-faq-facts span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #646566;
}

.ce-faq-board {
  counter-reset: ce-faq;
  background: #fff;
  box-shadow: 0 12px 40px rgba(18, 19, 22, 0.06);
}

.ce-faq-row {
  counter-increment: ce-faq;
  border-bottom: 1px solid rgba(18, 19, 22, 0.08);
}

.ce-faq-row:last-child {
  border-bottom: 0;
}

.ce-faq-row summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 12px;
  align-items: center;
  padding: 26px 28px;
}

.ce-faq-row summary::-webkit-details-marker {
  display: none;
}

.ce-faq-row__no {
  font-family: var(--ce-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-orange);
}

.ce-faq-row__no::before {
  content: counter(ce-faq, decimal-leading-zero);
}

.ce-faq-row__q {
  font-family: var(--ce-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  color: var(--ce-dark);
}

.ce-faq-row summary::after {
  content: "+";
  justify-self: end;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--ce-orange);
}

.ce-faq-row[open] summary::after {
  content: "-";
}

.ce-faq-row[open] summary {
  background: #fffaf6;
}

.ce-faq-row__a {
  padding: 0 28px 28px 96px;
  font-size: 16px;
  line-height: 1.8;
  color: #646566;
}

.ce-faq-row__a p {
  margin: 0 0 12px;
}

@media (max-width: 639px) {
  .ce-faq-row summary {
    grid-template-columns: 40px 1fr 24px;
    padding: 20px 18px;
  }

  .ce-faq-row__a {
    padding: 0 18px 22px 18px;
  }
}

.ce-page-band {
  background: #16181d;
  padding: 56px 0;
}

.ce-page-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ce-page-band h2 {
  margin: 10px 0 0;
  max-width: 640px;
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Contact page ---------- */
.ce-contact-offices {
  background: #fff;
  padding: 56px 0 24px;
}

@media (min-width: 1024px) {
  .ce-contact-offices {
    padding: 80px 0 32px;
  }
}

.ce-contact-offices__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .ce-contact-offices__head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 48px;
    margin-bottom: 48px;
  }
}

.ce-contact-offices__head p {
  font-size: 16px;
  line-height: 1.75;
  color: #646566;
}

.ce-office-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .ce-office-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.ce-office-card {
  background: #f7f8fa;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(18, 19, 22, 0.05);
}

.ce-office-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1c20;
}

.ce-office-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ce-office-card__body {
  padding: 28px 28px 32px;
}

.ce-office-card__body h2 {
  margin: 10px 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0;
  text-transform: none;
}

.ce-office-card__body p {
  font-size: 15px;
  line-height: 1.7;
  color: #646566;
}

.ce-office-card__hours {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-dark);
}

.ce-contact-direct {
  background: #fff;
  padding: 32px 0 56px;
}

.ce-contact-direct__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--ce-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ce-dark);
}

.ce-contact-direct__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 8px 12px;
}

@media (min-width: 768px) {
  .ce-contact-direct__panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 8px;
  }
}

@media (min-width: 1100px) {
  .ce-contact-direct__panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 28px 8px;
  }
}

.ce-contact-direct__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
}

@media (min-width: 1100px) {
  .ce-contact-direct__item {
    padding: 8px 20px;
    border-right: 1px solid rgba(18, 19, 22, 0.08);
  }

  .ce-contact-direct__item:last-child {
    border-right: 0;
  }
}

.ce-contact-direct__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ce-orange);
}

.ce-contact-direct__icon .material-symbols-outlined {
  font-size: 32px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.ce-contact-direct__item div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ce-contact-direct__item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ce-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ce-dark);
}

.ce-contact-direct__item a,
.ce-contact-direct__item span,
.ce-contact-direct__item em {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  color: #646566;
  word-break: break-word;
}

.ce-contact-direct__item a:hover {
  color: var(--ce-orange);
}

.ce-contact-form-stage {
  background: #f7f8fa;
  padding: 56px 0 88px;
}

@media (min-width: 1024px) {
  .ce-contact-form-stage {
    padding: 72px 0 112px;
  }
}

.ce-contact-form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ce-contact-form-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}

.ce-form--xl {
  padding: 32px 28px;
}

@media (min-width: 768px) {
  .ce-form--xl {
    padding: 44px 40px;
  }
}

.ce-contact-form-intro .ce-section-title {
  font-size: 32px;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 16px;
}

.ce-contact-form-intro > p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ce-gray);
}

.ce-contact-form-intro .ce-rfq__list {
  gap: 20px;
  margin-bottom: 0;
}

.ce-contact-form-intro .ce-rfq__list li {
  font-size: 16px;
  line-height: 1.5;
  gap: 12px;
}

.ce-contact-form-intro .ce-rfq__list .material-symbols-outlined {
  font-size: 22px;
}

@media (min-width: 1024px) {
  .ce-contact-form-layout {
    align-items: stretch;
  }

  .ce-contact-form-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 8px 20px 0;
  }

  .ce-contact-form-intro .ce-eyebrow {
    font-size: 13px;
  }

  .ce-contact-form-intro .ce-section-title {
    font-size: 40px;
    margin-bottom: 22px;
  }

  .ce-contact-form-intro > p {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .ce-contact-form-intro .ce-rfq__list {
    gap: 28px;
  }

  .ce-contact-form-intro .ce-rfq__list li {
    font-size: 17px;
  }

  .ce-contact-form-intro .ce-rfq__list .material-symbols-outlined {
    font-size: 24px;
  }
}

/* ---------- News detail (wide editorial + SEO cross-links) ---------- */
.ce-news-detail {
  padding: 32px 0 56px;
  background: #f7f8fa;
}

@media (min-width: 1024px) {
  .ce-news-detail {
    padding: 40px 0 80px;
  }
}

.ce-news-detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1100px) {
  .ce-news-detail__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .ce-news-detail__aside {
    position: sticky;
    top: 104px;
  }
}

.ce-news-detail__article {
  max-width: none;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 36px;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.05);
}

@media (min-width: 768px) {
  .ce-news-detail__article {
    padding: 40px 48px 48px;
  }
}

@media (min-width: 1200px) {
  .ce-news-detail__article {
    padding: 48px 56px 56px;
  }
}

.ce-news-detail__title {
  margin: 0;
  font-family: var(--ce-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ce-dark);
}

.ce-news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #999;
}

.ce-news-detail__meta em,
.ce-news-detail__meta time {
  font-style: normal;
  color: #646566;
}

.ce-news-detail__inquire {
  margin-top: 20px;
}

.ce-news-detail__inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
}

.ce-news-detail__inquire-btn .material-symbols-outlined {
  font-size: 20px;
}

.ce-news-detail__lead {
  margin: 24px 0 0;
  max-width: 920px;
  font-size: 17px;
  line-height: 1.7;
  color: #646566;
}

.ce-news-detail__article .ce-page-article__cover {
  margin: 28px 0 28px;
}

.ce-news-detail__article .ce-page-prose {
  font-size: 16px;
  line-height: 1.85;
  color: #3a3f48;
}

.ce-news-detail__article .ce-page-prose h2,
.ce-news-detail__article .ce-page-prose h3 {
  margin: 28px 0 12px;
  color: var(--ce-dark);
}

.ce-news-pager {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(18, 19, 22, 0.08);
}

@media (min-width: 700px) {
  .ce-news-pager {
    grid-template-columns: 1fr 1fr;
  }
}

.ce-news-pager__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #f7f8fa;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ce-news-pager__link:hover {
  background: #fff4eb;
  transform: translateY(-1px);
}

.ce-news-pager__link--next {
  text-align: right;
}

.ce-news-pager__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-orange);
}

.ce-news-pager__link strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ce-dark);
  line-height: 1.4;
}

.ce-news-side {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.05);
  margin-bottom: 16px;
}

.ce-news-side:last-child {
  margin-bottom: 0;
}

.ce-news-side__title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ce-dark);
}

.ce-news-side__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ce-news-side__links a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  background: #f7f8fa;
  transition: background 0.2s ease;
}

.ce-news-side__links a:hover {
  background: #fff4eb;
}

.ce-news-side__links .material-symbols-outlined {
  color: var(--ce-orange);
  font-size: 22px;
  margin-top: 2px;
}

.ce-news-side__links strong {
  display: block;
  font-size: 14px;
  color: var(--ce-dark);
  line-height: 1.35;
}

.ce-news-side__links em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: #646566;
}

.ce-news-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ce-news-side__list a {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ce-news-side__list img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f0f1f3;
}

.ce-news-side__list strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ce-dark);
}

.ce-news-side__list a:hover strong {
  color: var(--ce-orange);
}

.ce-news-side__list time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

.ce-news-side__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ce-orange);
}

.ce-news-side__more .material-symbols-outlined {
  font-size: 16px;
}

.ce-news-related {
  padding: 56px 0 72px;
  background: #fff;
}

@media (min-width: 1024px) {
  .ce-news-related {
    padding: 72px 0 96px;
  }
}

.ce-news-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .ce-news-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.ce-news-related__card {
  margin: 0;
  background: #f7f8fa;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ce-news-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(18, 19, 22, 0.08);
}

.ce-news-related__card a {
  display: block;
  color: inherit;
}

.ce-news-related__card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eaee;
}

.ce-news-related__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ce-news-related__card:hover img {
  transform: scale(1.04);
}

.ce-news-related__card > a > div {
  padding: 18px 18px 22px;
}

.ce-news-related__card time {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-orange);
}

.ce-news-related__card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ce-dark);
}

.ce-news-related__card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #646566;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ce-news-related__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ce-orange);
}

.ce-news-related__more .material-symbols-outlined {
  font-size: 16px;
}

.ce-news-detail__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Mobile polish for product / news lists */
@media (max-width: 767px) {
  .ce-prod-banner {
    min-height: 200px;
    height: 240px;
  }

  .ce-prod-banner__title {
    font-size: 26px;
  }

  .ce-prod-banner__desc {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ce-product-page .ce-product-grid,
  .ce-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ce-news-row > a {
    padding: 18px 0;
    gap: 12px;
  }

  .ce-news-row__body h2,
  .ce-news-row:first-child h2 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .ce-news-row__body p {
    display: none;
  }

  .ce-news-row__meta {
    margin-bottom: 8px;
  }

  .ce-tech-hub,
  .ce-tech-show {
    padding: 28px 0 48px;
  }

  .ce-tech-hub__intro h1,
  .ce-tech-show__title {
    font-size: 22px;
  }

  .ce-tech-hub__intro p,
  .ce-tech-show__lead {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ce-tech-grid {
    gap: 12px;
  }

  .ce-tech-card__body {
    padding: 14px;
  }

  .ce-tech-card__body h2 {
    font-size: 16px;
  }

  .ce-tech-card__body p {
    display: none;
  }
}

