/* Homepage — pixel-matched to 4over4.com layout tokens */

.home,
.page-template-template-home,
.pd-home-page { background: #fff; }

.home #pd-mobile-bottom-nav,
.home .pd-mobile-spacer,
.page-template-template-home #pd-mobile-bottom-nav,
.page-template-template-home .pd-mobile-spacer { display: none !important; }

.pd4-wrap {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 767px) { .pd4-wrap { padding: 0 16px; } }

/* ── Hero row: 280px sidebar + 560px slider ── */
.pd-hero-row {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.pd-hp-sidebar {
  position: absolute;
  top: 0;
  left: 40px;
  z-index: 100;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  min-height: 560px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.pd-hp-sidebar-label {
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  padding: 14px 16px 6px;
}
.pd-hp-sidebar nav { display: flex; flex-direction: column; padding-bottom: 8px; }
.pd-hp-sidebar nav a {
  display: flex;
  align-items: center;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: capitalize;
  border-left: 3px solid transparent;
  box-sizing: border-box;
}
.pd-hp-sidebar nav a:after {
  content: "▸";
  color: #94a3b8;
  margin-left: auto;
  font-size: 10px;
}
.pd-hp-sidebar nav a:hover {
  color: #114b4b;
  background: #f0fdfa;
  border-left-color: #114b4b;
}

.pd-hero-slider {
  margin-left: 280px;
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #0f332c;
}
.pd-hero-track { position: relative; width: 100%; height: 100%; }
.pd-hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  text-decoration: none; color: #fff;
  opacity: 0; z-index: 0; transition: opacity .8s;
}
.pd-hero-slide.is-active { opacity: 1; z-index: 1; }
.pd-hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
}
.pd-hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,24,22,.92) 0%, rgba(8,24,22,.7) 42%, rgba(8,24,22,.22) 70%, transparent 100%);
}
.pd-hero-copy {
  position: relative; z-index: 2; width: 55%;
  padding: 48px 40px 48px 56px;
}
.pd-hero-copy .pd-hero-stars {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: #fbbf24; margin-bottom: 12px;
}
.pd-hero-copy .pd-hero-hl {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800; line-height: 1.05;
  color: #fff; margin: 0 0 16px; letter-spacing: -.02em;
}
.pd-hero-copy p {
  font-size: 1.15rem; font-weight: 400; line-height: 1.5;
  color: #ffffffeb; margin: 0 0 36px; max-width: 32rem;
}
.pd-hero-copy .pd-hero-cta {
  display: inline-flex; font-size: 15px; font-weight: 600; color: #ffffffd9;
}
.pd-hero-copy .pd-hero-cta:hover { color: #fff; }
.pd-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #fff; cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); opacity: .85;
}
.pd-hero-arrow:hover { opacity: 1; }
.pd-hero-arrow.prev { left: 8px; }
.pd-hero-arrow.next { right: 8px; }
.pd-hero-dots { position: absolute; bottom: 16px; left: 56px; z-index: 6; display: flex; gap: 6px; }
.pd-hero-dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.pd-hero-dots button.is-active { background: #fff; width: 22px; }

/* ── Trust ── */
.pd4-trust {
  background: #f0fdfa;
  border: 1px solid #e5e7eb;
  border-top: none;
  max-width: 1800px;
  width: calc(100% - 80px);
  margin: 0 auto;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}
.pd4-trust-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pd4-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #475569; white-space: nowrap;
}
.pd4-trust-item strong { color: #0f172a; }
.pd4-trust-item svg { color: #114b4b; flex-shrink: 0; }

/* ── Explore in 15s ── */
.pd4-stc { box-sizing: border-box; width: 100%; margin: 28px 0; padding: 0 clamp(16px, 4vw, 48px); }
.pd4-stc h2 { letter-spacing: -.02em; color: #16201d; margin: 0 0 16px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; }
.pd4-stc-row { display: flex; gap: 18px; overflow-x: auto; list-style: none; margin: 0; padding: 4px 2px 8px; scrollbar-width: none; }
.pd4-stc-row::-webkit-scrollbar { display: none; }
.pd4-stc-item {
  flex: none; width: 88px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; text-decoration: none; color: inherit; padding: 0;
}
.pd4-stc-ring {
  display: grid; place-items: center; width: 80px; height: 80px;
  border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, #114b4b, #2bb3a3, #8fd694, #2bb3a3, #114b4b);
}
.pd4-stc-item:hover .pd4-stc-ring { filter: brightness(1.06); }
.pd4-stc-thumb {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: #eef3ef; box-shadow: 0 0 0 3px #fff inset; display: grid; place-items: center;
}
.pd4-stc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd4-stc-item span.label {
  color: #16201d; text-align: center; font-size: 12.5px; line-height: 1.25;
  max-width: 88px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Intro ── */
.pd4-intro { max-width: 1800px; margin: 48px auto; padding: 0 40px; }
.pd4-intro h1 { font-size: 32px; font-weight: 800; letter-spacing: -.5px; max-width: 22ch; margin: 0 0 12px; color: #1e293b; }
.pd4-intro p { max-width: 900px; color: #475569; font-size: 1rem; line-height: 1.7; margin: 0; }

/* ── Top categories ── */
.pd4-topcats { padding: 56px 0 48px; }
.pd4-sec-center { text-align: center; margin-bottom: 32px; }
.pd4-sec-center h2 { color: #1e293b; letter-spacing: -.5px; margin: 0 0 12px; font-size: 32px; font-weight: 800; }
.pd4-sec-center p { color: #64748b; margin: 0; font-size: 16px; line-height: 1.5; }
.pd4-topcats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd4-topcat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 24px; min-height: 80px; overflow: hidden;
  border: 1px solid #114b4b; border-radius: 12px; text-decoration: none; color: inherit;
  box-shadow: 0 2px 8px #0000000a; transition: all .15s;
}
.pd4-topcat:hover { box-shadow: 3px 3px 0 #114b4b; color: inherit; }
.pd4-topcat strong { font-size: 16px; font-weight: 700; color: #0f172a; flex: 1; min-width: 0; line-height: 1.3; }
.pd4-topcat img {
  width: 130px; height: 80px; object-fit: contain; object-position: bottom right; flex-shrink: 0;
}

/* ── Trio / quicklinks ── */
.pd4-trio { padding: 48px 0; }
.pd4-trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd4-trio a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 32px 24px; background: #fff; border: 1px solid #114b4b; border-radius: 12px;
  text-decoration: none; color: inherit; box-shadow: 0 2px 8px #0000000a; transition: all .15s;
}
.pd4-trio a:hover { box-shadow: 3px 3px 0 #114b4b; color: inherit; }
.pd4-trio a svg { margin-bottom: 12px; color: #114b4b; }
.pd4-trio a strong { font-size: 1.0625rem; color: #0f172a; }
.pd4-trio a span { font-size: .8125rem; color: #64748b; }

/* ── Popular ── */
.pd4-popular { max-width: 1800px; padding: 0 40px; width: 100%; margin: 48px auto; }
.pd4-tabs {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin: 0 auto 30px; padding: 4px; width: fit-content;
  border: 1px solid #114b4b; border-radius: 50px; list-style: none;
}
.pd4-tab {
  font-weight: 600; font-size: 15px; color: #334155; cursor: pointer;
  padding: 10px 20px; border-radius: 50px; border: none; background: none;
  text-transform: capitalize; transition: all .15s;
}
.pd4-tab:hover { background: #f0fdfa; color: #114b4b; }
.pd4-tab.is-active { background: #114b4b !important; color: #fff !important; }
.pd4-prod-panel { display: none; }
.pd4-prod-panel.is-active {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px;
}
.pd4-prod {
  display: flex; flex-direction: column; background: #fff; min-width: 0;
  border: 1px solid #114b4b; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: all .15s;
}
.pd4-prod:hover { box-shadow: 3px 3px 0 #114b4b; transform: translate(-1px,-1px); color: inherit; }
.pd4-prod-img { height: 184px; background: #f5f5f4; position: relative; }
.pd4-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd4-prod-body { padding: 12px 14px; display: flex; flex-direction: column; flex: 1; }
.pd4-prod-body h3 { font-size: .9375rem; font-weight: 700; margin: 0 0 4px; text-transform: capitalize; line-height: 1.3; color: #1a1a1a; }
.pd4-prod-body ul { list-style: none; margin: 0 0 4px; padding: 0; }
.pd4-prod-body li { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #334155; line-height: 1.8; }
.pd4-prod-body li svg { color: #16a34a; flex-shrink: 0; }
.pd4-prod-bottom { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 10px; }
.pd4-prod-price { font-size: .75rem; color: #6b7280; line-height: 1.3; }
.pd4-prod-price strong { font-size: .875rem; font-weight: 800; color: #114b4b; }
.pd4-prod-rate { font-size: .6875rem; font-weight: 600; color: #334155; margin: 6px 0 8px; display: flex; align-items: center; gap: 4px; }
.pd4-prod-rate svg { color: #fba92c; fill: #fba92c; }
.pd4-shop { display: block; color: #114b4b; font-size: .8125rem; font-weight: 600; }
.pd4-viewall { display: flex; justify-content: center; margin-top: 32px; }
.pd4-viewall a {
  display: block; width: fit-content; background: #114b4b; color: #fff;
  font-weight: 500; font-size: 16px; padding: 18px 24px; border-radius: 8px; text-decoration: none;
}
.pd4-viewall a:hover { background: #0d3d3d; color: #fff; }

/* ── Wide promo ── */
.pd4-wide { max-width: 1800px; margin: 32px auto; padding: 0 40px; }
.pd4-wide a {
  position: relative; display: flex; overflow: hidden; min-height: 225px;
  border-radius: 12px; text-decoration: none; color: #fff;
}
.pd4-wide a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd4-wide-body {
  position: relative; z-index: 1; width: 55%; min-height: 225px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 32px 48px;
  background: linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, transparent 100%);
}
.pd4-wide-body h2 { color: #fff; font-size: 2.5rem; font-weight: 800; line-height: 1.05; margin: 0; }
.pd4-wide-body p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin: 0; max-width: 95%; }
.pd4-wide-body span { font-weight: 700; font-size: .9rem; }

/* ── Templates ── */
.pd4-tmpl { max-width: 1800px; width: 100%; padding: 0 40px; margin: 68px auto; }
.pd4-tmpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd4-tmpl a {
  display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: all .15s;
}
.pd4-tmpl a:hover { box-shadow: 3px 3px 0 #114b4b; border-color: #114b4b; color: inherit; }
.pd4-tmpl img { width: 100%; height: 160px; object-fit: cover; display: block; }
.pd4-tmpl strong { display: block; padding: 12px 14px 4px; font-size: 15px; }
.pd4-tmpl em { display: block; padding: 0 14px 14px; font-size: 12px; color: #6b7280; font-style: normal; }

/* ── Why ── */
.pd4-why { padding: 24px 0 48px; }
.pd4-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd4-why-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.pd4-why-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.pd4-why-card p { font-size: .9rem; color: #6b7280; line-height: 1.55; margin: 0; }
.pd4-why-ico { width: 40px; height: 40px; border-radius: 10px; background: #f0fdfa; color: #114b4b; display: flex; align-items: center; justify-content: center; }

/* ── Reviews ── */
.pd4-reviews { padding: 8px 0 48px; }
.pd4-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd4-rev { border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.pd4-rev p { font-size: 1rem; color: #4b5563; line-height: 1.6; font-style: italic; margin: 10px 0 12px; }
.pd4-rev strong { display: block; font-size: 14px; color: #111827; }
.pd4-rev em { font-size: 13px; color: #9ca3af; font-style: normal; }

/* ── Certs ── */
.pd4-certs { padding: 8px 0 40px; }
.pd4-certs-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pd4-cert { display: flex; align-items: center; gap: 12px; }
.pd4-cert strong { display: block; font-size: 14px; }
.pd4-cert span { font-size: 12px; color: #6b7280; }
.pd4-cert svg { color: #16a34a; }

/* ── FAQ / news ── */
.pd4-faq { padding: 0 0 40px; }
.pd4-faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 900px; margin: 0 auto; }
.pd4-faq-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.pd4-faq-card .pd-faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; text-align: left; font-size: 15px; font-weight: 600; color: #111827;
}
.pd4-faq-card .pd-faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; transition: .25s; }
.pd4-faq-card.open .pd-faq-answer { max-height: 220px; padding-bottom: 16px; }
.pd4-faq-card.open .pd-faq-plus { display: none !important; }
.pd4-faq-card.open .pd-faq-minus { display: block !important; }
.pd4-news { padding: 0 0 48px; }
.pd4-news-inner {
  background: linear-gradient(90deg, #174b42, #0f332c); border-radius: 12px;
  padding: 40px 24px; text-align: center; color: #fff;
}
.pd4-news-inner h2 { color: #fff; font-size: 1.6rem; margin: 0 0 8px; }
.pd4-news-inner p { color: #bfdbfe; margin: 0 0 20px; }
.pd4-news-form { display: flex; gap: 12px; max-width: 28rem; margin: 0 auto; }
.pd4-news-form input { flex: 1; padding: 12px 16px; border-radius: 8px; border: none; font-family: inherit; }
.pd4-news-form button { background: #f97316; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 8px; border: none; }

@media (max-width: 1400px) {
  .pd4-prod-panel.is-active { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .pd4-topcats-grid { grid-template-columns: repeat(3, 1fr); }
  .pd4-tmpl-grid { grid-template-columns: repeat(2, 1fr); }
  .pd4-prod-panel.is-active { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 1024px) {
  .pd4-trio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .pd-hero-row { padding-left: 0; padding-right: 0; }
  .pd-hp-sidebar { display: none; }
  .pd-hero-slider { margin-left: 0; height: 400px; }
  .pd-hero-copy { width: 75%; padding: 48px 28px; }
  .pd-hero-copy p { margin-bottom: 24px; font-size: 14px; }
  .pd4-why-grid, .pd4-rev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pd4-topcats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pd4-trust { width: calc(100% - 32px); }
  .pd4-trust-inner { padding: 0 16px; }
  .pd4-intro, .pd4-popular, .pd4-wide, .pd4-tmpl { padding-left: 16px; padding-right: 16px; }
  .pd4-popular { margin: 16px auto; }
  .pd4-sec-center h2, .pd4-intro h1 { font-size: 24px; }
  .pd4-sec-center p { font-size: 14px; }
  .pd4-tab { padding: 8px 16px; font-size: 14px; }
  .pd4-prod-panel.is-active { gap: 8px; }
  .pd4-wide a { min-height: 175px; }
  .pd4-wide-body { width: 80%; min-height: 175px; padding: 20px; }
  .pd4-wide-body h2 { font-size: 1.5rem; }
  .pd4-viewall a { padding: 12px 24px; font-size: 14px; }
  .pd4-news-form { flex-direction: column; }
  .pd4-trio { padding: 24px 0; }
}
@media (max-width: 600px) {
  .pd-hero-slider { height: 350px; }
  .pd-hero-copy { width: 100%; padding: 32px 16px; }
  .pd4-trust-inner { justify-content: center; }
  .pd4-trio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .pd4-topcats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .pd4-prod-panel.is-active { grid-template-columns: 1fr; }
}
