/* Project additions required by the SOP-compliant contact, catalogue and
   product-detail rules. Loaded after the approved theme styles so the original
   interface keeps its approved proportions. */

/* Elementor containers reproduce the approved sections edge to edge. */
.lingshan-elementor-stack { gap: 0; }
.lingshan-elementor-stack > .elementor-widget { width: 100%; }
.elementor-widget-container { position: relative; }
body[class*="elementor-kit-"] { font-family: var(--sans); }

/* Phone, email and address stay selectable plain text; only WhatsApp is a link. */
.footer-contact__text { display: block; color: rgba(255, 255, 255, .62); font-size: .78rem; }
.footer-contact__text--strong { color: var(--white); }
.footer-contact__whatsapp {
  margin-top: 4px;
  padding-bottom: 2px;
  color: var(--gold-pale);
  border-bottom: 1px solid rgba(199, 163, 93, .45);
  font-size: .78rem;
}
.footer-contact__whatsapp:hover { color: var(--white); }
.contact-details__whatsapp { margin-bottom: 25px; }

/* Catalogue filters are links so category pages are crawlable and shareable. */
.filter-bar .filter-link {
  display: flex;
  padding: 16px 25px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.filter-bar .filter-link small { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.filter-bar .filter-link:hover { color: var(--red); }
.filter-bar .filter-link.is-active { color: var(--red); border-bottom-color: var(--red); }
.catalog-pagination { display: flex; margin-top: 60px; justify-content: center; gap: 10px; }
.catalog-pagination .page-numbers {
  padding: 10px 16px;
  color: inherit;
  border: 1px solid var(--line);
  font-size: .74rem;
  letter-spacing: .06em;
}
.catalog-pagination .page-numbers.current,
.catalog-pagination .page-numbers:hover { color: var(--white); background: var(--red); border-color: var(--red); }
.empty-state { padding: 60px 0; text-align: center; }
.empty-state h2 { margin-bottom: 12px; font-size: 2.4rem; }
.empty-state p { margin: 0 0 26px; color: var(--muted); }

/* Product detail: hero, selling points, gallery, specification table. */
.page-hero__grid--product { align-items: center; }
.page-hero--product { min-height: 0; padding-bottom: 90px; }
.product-hero__media { position: relative; padding: 20px; background: var(--ivory); box-shadow: 0 40px 90px rgba(0, 0, 0, .38); }
.product-hero__media img { width: 100%; max-height: 520px; object-fit: contain; }
.breadcrumb { display: flex; margin-bottom: 22px; flex-wrap: wrap; gap: 8px; color: rgba(255, 255, 255, .5); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--gold-pale); }
.page-hero--product h1 { margin-bottom: 12px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.page-hero--product .hero__actions { margin-top: 30px; }

.highlight-grid { display: grid; margin-top: 60px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.highlight-card { position: relative; min-height: 220px; padding: 30px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(238, 231, 217, .7); }
.highlight-card::after { position: absolute; top: 0; right: 0; width: 26px; height: 26px; content: ""; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
.highlight-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.highlight-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.product-detail__subtitle { margin: 0 0 14px; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.product-detail__label { margin-bottom: 18px; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-gallery { display: grid; margin: 70px 0 0; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.product-gallery__main { display: grid; padding: 24px; place-items: center; border: 1px solid var(--line); background: #fff; }
.product-gallery__main img { width: 100%; max-height: 620px; object-fit: contain; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-gallery__thumb { padding: 10px; border: 1px solid var(--line); background: #fff; transition: border-color .3s; }
.product-gallery__thumb:hover,
.product-gallery__thumb.is-active { border-color: var(--red); }
.product-gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-video { margin-top: 40px; }
.product-video video { width: 100%; }
.product-detail__grid { display: grid; margin-top: 70px; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.product-detail__body p { color: var(--muted); }
.product-downloads { margin: 0; padding: 0; list-style: none; }
.product-downloads li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-downloads a { color: var(--red); font-size: .85rem; font-weight: 700; }
.product-specs dl { margin: 0; border-top: 1px solid var(--line); }
.product-specs dl > div { display: grid; padding: 14px 0; border-bottom: 1px solid var(--line); grid-template-columns: 160px 1fr; }
.product-specs dt { color: var(--red); font-size: .66rem; font-weight: 800; letter-spacing: .1em; }
.product-specs dd { margin: 0; font-size: .85rem; }
.product-specs__empty { color: var(--muted); font-size: .85rem; }
.final-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* 404 helper links: a way back to every main section. */
.error-page__links { display: flex; margin: 34px 0 0; flex-wrap: wrap; justify-content: center; gap: 26px; }

@media (max-width: 1024px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .product-gallery,
  .product-detail__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .product-specs dl > div { grid-template-columns: 110px 1fr; }
  .product-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
}
