/* ==========================================================================
   Polychem – Custom overrides (loaded after main.css)
   ========================================================================== */

/* ── Product Listing Cards (image-based 2-col grid) ───────────────────── */
.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 30px;
}
.product-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}
.product-card-image {
  position: relative;
  overflow: hidden;
  height: 360px;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.06);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.product-card:hover .product-card-overlay {
  opacity: 1;
}
.product-card-content {
  padding: 28px 30px 26px;
}
.product-card-content .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-card-content .title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.product-card-content .title a:hover {
  color: var(--tj-color-theme-primary, #e63946);
}
.product-card-content .desc p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}
@media only screen and (max-width: 767px) {
  .product-card-image { height: 200px; }
  .product-card-content { padding: 20px; }
}

/* ── Footer: Global Offices grid ──────────────────────────────────────── */

/* Remove the hardcoded 230 px cap so cards fill their column */
.footer-offices-grid .footer-widget.footer-contact-infos {
  max-width: 100%;
}

/* Company name: white, small-caps label feel */
.footer-offices-grid .footer-widget.footer-contact-infos .infos-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tj-color-common-white);
  margin-bottom: 10px;
}

/* Address text: slightly softer white */
.footer-offices-grid .footer-widget.footer-contact-infos .infos-item p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
}

/* Email links in offices grid */
.footer-offices-grid .footer-widget.footer-contact-infos .infos-item a {
  font-size: 14px;
  display: inline-block;
  margin-bottom: 2px;
}

/* Horizontal rule between offices and links rows */
.footer-offices-divider {
  border: 0;
  border-top: 1px solid var(--tj-color-border-1);
  margin: 50px 0;
  opacity: 1;
}

/* Reduce the 80 px left-indent on the newsletter col for 3-col layout */
.footer-links-row .footer-widget.footer1-col-4 {
  -webkit-padding-start: 30px;
          padding-inline-start: 30px;
}

@media only screen and (max-width: 991px) {
  .footer-links-row .footer-widget.footer1-col-4 {
    -webkit-padding-start: 0;
            padding-inline-start: 0;
  }
}

/* On md breakpoint offices wrap to 2-per-row — keep them full-width */
@media only screen and (max-width: 767px) {
  .footer-offices-grid .footer-widget.footer-contact-infos {
    max-width: 100%;
  }
}

/* ── Polywax Product Range Cards ──────────────────────────────────────── */
.pw-products-range { margin-bottom: 50px; }

.pw-product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pw-product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.pw-card-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tj-color-theme-primary, #1a1a2e);
  background: rgba(0,0,0,0.04);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.pw-card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: inherit;
}
.pw-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  flex-grow: 1;
  margin-bottom: 18px;
}
.pw-tds-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--tj-color-theme-primary, #1a1a2e);
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}
.pw-tds-btn:hover {
  color: #fff;
  opacity: 0.85;
}
.pw-tds-btn i { font-size: 13px; }

/* ── Polycolors Website CTA Banner ───────────────────────────────────── */
.polycolors-cta {
  margin-bottom: 40px;
}
.polycolors-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 10px;
  padding: 28px 32px;
}
.polycolors-cta-text h5 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.polycolors-cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.6;
}
.polycolors-cta-btn {
  flex-shrink: 0;
  border-color: #fff !important;
}
@media only screen and (max-width: 575px) {
  .polycolors-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px;
  }
}

/* ── Epoxy Info Callout Box ───────────────────────────────────────────── */
.epoxy-info-box {
  background: #f8f8f8;
  border-left: 4px solid var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 20px 0 0;
}
.epoxy-info-box p {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 12px;
}
.epoxy-info-box p:last-child { margin-bottom: 0; }

/* ── Carbon Fibre Weaving Types ───────────────────────────────────────── */
.cf-weave-section { margin-bottom: 40px; }

.cf-weave-card {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 8px;
  padding: 28px;
  height: 100%;
  transition: box-shadow 0.3s ease;
}
.cf-weave-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }

.cf-weave-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cf-weave-header h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.cf-weave-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.cf-weave-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cf-weave-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  padding: 5px 0;
  border-bottom: 1px solid #ececec;
}
.cf-weave-list li:last-child { border-bottom: none; }
.cf-weave-list li i {
  color: var(--tj-color-theme-primary, #1a1a2e);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Polywax Industries & Applications ────────────────────────────────── */
.pw-industries { margin-bottom: 40px; }

.pw-industry-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
  height: 100%;
  transition: background 0.2s ease;
}
.pw-industry-item:hover { background: #f0f0f0; }
.pw-industry-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--tj-color-theme-primary, #1a1a2e);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.pw-industry-text h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.3;
}
.pw-industry-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin: 0;
}
